/*
  Landing page estática de Anselmo Pedroso Imóveis.
  As variáveis abaixo concentram cores e medidas para facilitar ajustes futuros.
*/
:root {
  --color-black: #0b0d10;
  --color-navy: #101d2f;
  --color-blue: #163253;
  --color-gold: #c5a45d;
  --color-gold-light: #f0c24b;
  --color-gold-text: #8a650f;
  --color-gold-on-dark: #ffd45f;
  --color-white: #ffffff;
  --color-soft: #f5f6f8;
  --color-gray: #69717d;
  --color-border: #dce0e6;
  --shadow-soft: 0 18px 50px rgba(11, 13, 16, 0.14);
  --max-width: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-black);
  background: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

/* Cabeçalho fixo para manter o CTA visível durante a navegação. */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  color: var(--color-white);
  background: rgba(11, 13, 16, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: var(--color-navy);
  border: 2px solid var(--color-gold-light);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.brand__text {
  display: grid;
  min-width: 0;
}

.brand__text strong {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.1;
}

.brand__text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--color-gold-light);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  color: var(--color-black);
  background: var(--color-gold);
}

.button--primary {
  color: var(--color-black);
  background: var(--color-gold);
  box-shadow: 0 12px 26px rgba(197, 164, 93, 0.2);
}

.button--primary:hover,
.button--small:hover {
  background: var(--color-gold-light);
}

.button--secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary:hover {
  border-color: var(--color-gold);
}

/* Imagem local do topo para a publicação não depender de arquivos externos. */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 62px) 0 54px;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.86) 0%, rgba(16, 29, 47, 0.72) 44%, rgba(16, 29, 47, 0.22) 100%),
    url("hero-imovel.jpg") center/cover;
}

.hero__overlay {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(11, 13, 16, 0.76), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--color-gold-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .section-label {
  color: var(--color-gold-on-dark);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 16px;
  margin: 52px 0 0;
}

.hero__facts div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__facts dt {
  color: var(--color-gold-on-dark);
  font-size: 1.4rem;
  font-weight: 800;
}

.hero__facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section--compact {
  padding: 58px 0;
}

.section--muted {
  background: var(--color-soft);
}

.section--dark {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(11, 13, 16, 0.95), rgba(16, 29, 47, 0.96)),
    var(--color-navy);
}

.intro-grid,
.decision-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.decision-copy h2,
.contact-copy h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid p:not(.section-label),
.decision-copy p,
.contact-copy p {
  margin: 0;
  color: var(--color-gray);
  font-size: 1.04rem;
}

.section--dark .contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.decision-copy .section-label {
  color: var(--color-gold-text);
}

.section--dark .contact-copy .section-label {
  color: var(--color-gold-on-dark);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 245px;
  padding: 26px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 29, 47, 0.06);
}

.service-card__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--color-black);
  background: #f4cf64;
  border: 1px solid #9a7418;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(138, 101, 15, 0.18);
  font-weight: 900;
  font-size: 0.82rem;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--color-gray);
  font-size: 0.98rem;
}

.decision-copy {
  max-width: 640px;
}

.decision-copy p {
  margin-top: 20px;
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-item {
  padding: 24px;
  color: var(--color-white);
  background: var(--color-navy);
  border-left: 4px solid var(--color-gold);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.reason-item strong,
.reason-item span {
  display: block;
}

.reason-item strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.reason-item span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-copy {
  align-self: start;
}

.phone-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--color-gold-on-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--color-black);
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row--full {
  grid-column: 1 / -1;
}

.form-row label {
  color: #222935;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--color-black);
  background: #fbfcfd;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 164, 93, 0.18);
}

.floating-whatsapp {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: #1f9d55;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 16px 30px rgba(11, 13, 16, 0.28);
  transition: transform 180ms ease, background 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  background: #168247;
}

.floating-whatsapp__icon {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--color-black);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-content strong {
  color: var(--color-white);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-link {
    display: none;
  }

  .hero {
    min-height: 88vh;
    background-position: 62% center;
  }

  .intro-grid,
  .decision-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__text small {
    display: none;
  }

  .button--small {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 90vh;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .hero__actions {
    display: grid;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 36px;
  }

  .hero__facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
  }

  .section {
    padding: 64px 0;
  }

  .section--compact {
    padding: 46px 0;
  }

  .services-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}
