/* =========================================================
   EXE Smart Cities — estilos
   ========================================================= */

:root {
  /* Paleta */
  --petroleo: #0C4547;      /* base escura */
  --petroleo-2: #0F5759;
  --teal: #358D91;          /* cor da marca */
  --areia: #E6D3AE;         /* traço do logo */
  --chave: #F2961C;         /* laranja das chaves da campanha */
  --mineral: #EDF2F0;       /* fundo claro */
  --tinta: #10302F;         /* texto */
  --tinta-suave: #4A6463;
  --linha: rgba(16, 48, 47, .14);

  /* Tipografia */
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-text: "Instrument Sans", system-ui, sans-serif;

  /* Escala (base 1.125rem, razão ~1.333) */
  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-xl: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  --t-hero: clamp(2.5rem, min(7vw, 12.5svh), 7rem);

  /* Espaço */
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --max: 1240px;

  --radius-s: 6px;
  --radius-l: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--mineral);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 3px solid var(--chave);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--chave);
  color: var(--tinta);
  font-weight: 600;
  border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

/* ---------- Ícones ---------- */
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -.2em;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }

.btn--key { background: var(--chave); color: var(--tinta); }
.btn--key:hover { background: #FFAA35; }

.btn--ghost { border-color: rgba(230, 211, 174, .6); color: var(--areia); }
.btn--ghost:hover { background: rgba(230, 211, 174, .12); border-color: var(--areia); }

.btn--ink { background: var(--tinta); color: var(--mineral); }
.btn--ink:hover { background: var(--petroleo); }

.btn--block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--mineral);
}
/* O fundo com desfoque fica numa camada própria: backdrop-filter direto no
   cabeçalho prenderia o menu mobile (position: fixed) dentro da altura dele. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  background: rgba(12, 69, 71, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(230, 211, 174, .15);
  transition: opacity .3s;
}
.site-header.is-solid::before { opacity: 1; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1rem var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand img { width: 68px; height: 68px; border-radius: 14px; transition: width .3s var(--ease), height .3s var(--ease); }
/* ao rolar, o cabeçalho fica mais compacto e a logo diminui um pouco */
.site-header.is-solid .brand img { width: 54px; height: 54px; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.01em;
}
.brand__name span { font-weight: 400; color: var(--areia); }

.main-nav { margin-left: auto; }
.main-nav__extra { display: none; }
.main-nav ul { display: flex; gap: 1.75rem; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  opacity: .85;
  padding-block: .25rem;
  background: linear-gradient(var(--chave), var(--chave)) 0 100% / 0 2px no-repeat;
  transition: opacity .2s, background-size .25s var(--ease);
}
.main-nav a:hover { opacity: 1; background-size: 100% 2px; }

.header-cta { min-height: 44px; padding: .6rem 1.2rem; font-size: .95rem; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--mineral);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--mineral);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 60%;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 69, 71, .5) 0%, rgba(12, 69, 71, 0) 22%),
    linear-gradient(90deg, rgba(12, 69, 71, .94) 0%, rgba(12, 69, 71, .78) 34%, rgba(12, 69, 71, .15) 62%, rgba(12, 69, 71, 0) 80%),
    linear-gradient(0deg, rgba(12, 69, 71, .6) 0%, rgba(12, 69, 71, 0) 35%);
}

.hero__mark {
  position: absolute;
  right: clamp(-6rem, -4vw, 0rem);
  top: 50%;
  transform: translateY(-50%);
  height: min(86svh, 760px);
  width: auto;
  z-index: -1;
  overflow: visible;
}
.hero__mark .stroke {
  fill: none;
  stroke: var(--areia);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: .55;
  animation: draw 1.6s var(--ease) forwards;
}
.hero__mark .s1 { animation-delay: .1s; }
.hero__mark .s3 { animation-delay: .35s; }
.hero__mark .s4 { animation-delay: .55s; }
.hero__mark .s5 { animation-delay: .8s; opacity: .3; }
.hero__mark .s6 { animation-delay: 1s; opacity: .3; }
.hero__mark .s2 { animation-delay: 1.15s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__content {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 8rem var(--gutter) clamp(3rem, 8vh, 6rem);
}
.hero__title {
  font-size: var(--t-hero);
  line-height: .94;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
}
.hero__lead {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: var(--t-md);
  line-height: 1.5;
  color: rgba(237, 242, 240, .86);
}
.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero__title,
.hero__lead,
.hero__actions {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .9s var(--ease) forwards;
}
.hero__lead { animation-delay: .25s; }
.hero__actions { animation-delay: .4s; }

@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sobre ---------- */
.about { padding-block: var(--section) calc(var(--section) * .8); }

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about__title {
  font-size: var(--t-xl);
  color: var(--petroleo);
  max-width: 16ch;
}
.about__text {
  display: grid;
  gap: 1.25rem;
  max-width: 38rem;
  padding-top: .5rem;
  color: var(--tinta-suave);
  font-size: 1.125rem;
}

.pillars {
  margin-top: clamp(3.5rem, 8vw, 7rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.9rem, .8rem + 3.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--teal);
}
.pillars li { display: flex; align-items: center; }
.pillars li:not(:last-child)::after {
  content: "";
  width: .55em; height: .62em;
  margin-inline: .35em;
  background: var(--areia);
  /* o X da marca em miniatura */
  clip-path: polygon(0 0, 100% 0, 100% 8%, 58% 50%, 100% 92%, 100% 100%, 0 100%, 0 92%, 42% 50%, 0 8%);
}

/* ---------- Residencial ---------- */
.residencial {
  background: var(--petroleo);
  color: var(--mineral);
  padding-block: var(--section);
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
}

.residencial__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.residencial__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-bottom: 1rem;
}
.residencial__place { color: var(--areia); font-weight: 500; }

/* selo "obras em andamento" com ponto pulsando: indica algo acontecendo agora */
.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .95rem .4rem .8rem;
  border-radius: 999px;
  background: rgba(242, 150, 28, .14);
  border: 1px solid rgba(242, 150, 28, .55);
  color: #FFC170;
  font-weight: 600;
  font-size: var(--t-sm);
}
.status__dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--chave);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--chave);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .8; }
  to { transform: scale(3); opacity: 0; }
}
.residencial__title { font-size: var(--t-xl); }
.residencial__tagline {
  margin-top: 1rem;
  font-size: var(--t-md);
  color: rgba(237, 242, 240, .72);
}

.residencial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

/* no desktop a foto acompanha a altura do quadro de especificações */
.gallery { display: flex; flex-direction: column; }
.gallery__frame {
  position: relative;
  flex: 1;
  min-height: 380px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #F0F0F0;
}
.gallery__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.gallery__img--contain { object-fit: contain; background: #F0F0F0; }
.gallery__img--obra { object-position: 40% 75%; }
.gallery__caption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  margin-right: 1rem;
  padding: .5rem .9rem;
  border-radius: var(--radius-s);
  background: rgba(12, 69, 71, .88);
  backdrop-filter: blur(6px);
  color: var(--mineral);
  font-size: var(--t-sm);
  font-weight: 500;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gallery__caption.is-active { opacity: 1; }
.gallery__img.is-active { opacity: 1; transform: none; }

.gallery__tabs {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.gallery__tabs button {
  font: 500 .95rem/1 var(--f-text);
  color: var(--mineral);
  background: transparent;
  border: 1.5px solid rgba(237, 242, 240, .25);
  border-radius: 999px;
  padding: .7rem 1.15rem;
  min-height: 44px;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.gallery__tabs button:hover { border-color: var(--areia); }
.gallery__tabs button[aria-selected="true"] {
  background: var(--areia);
  border-color: var(--areia);
  color: var(--petroleo);
}

.specs {
  background: var(--petroleo-2);
  border: 1px solid rgba(230, 211, 174, .18);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.75rem;
}
.specs__title { font-size: var(--t-lg); }
.specs__list li {
  position: relative;
  padding-left: 1.4rem;
  padding-block: .7rem;
  border-bottom: 1px solid rgba(237, 242, 240, .1);
}
.specs__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.3rem;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--chave);
  transform: rotate(45deg);
}
.specs__list strong { color: var(--areia); font-weight: 600; }

.mcmv {
  background: var(--areia);
  color: var(--petroleo);
  border-radius: var(--radius-s);
  padding: 1.25rem 1.4rem;
}
.mcmv__label { font-weight: 600; font-size: var(--t-sm); }
.mcmv__value {
  font-family: var(--f-display);
  font-size: 1.6rem;
  line-height: 1.15;
  margin-top: .35rem;
  letter-spacing: -.02em;
}
.mcmv__value strong { font-weight: 800; white-space: nowrap; }
.mcmv__note { font-size: var(--t-sm); margin-top: .2rem; }

/* Próximo empreendimento: papel de projeto quadriculado */
.soon {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1.5px dashed rgba(230, 211, 174, .45);
  border-radius: var(--radius-l);
  background-color: #0A3C3E;
  background-image:
    linear-gradient(rgba(230, 211, 174, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 211, 174, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.soon__mark { width: 100%; height: auto; max-height: 300px; }
.soon__mark path {
  fill: none;
  stroke: var(--areia);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 9;
  opacity: .8;
}
.soon__body { position: relative; max-width: 36rem; }
.soon__badge {
  display: inline-block;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--chave);
  color: var(--tinta);
  font-weight: 600;
  font-size: var(--t-sm);
}
.soon__title {
  margin-top: 1.1rem;
  font-size: var(--t-xl);
  max-width: 14ch;
}
.soon__place {
  margin-top: .75rem;
  color: var(--areia);
  font-weight: 500;
}
.soon__text {
  margin: 1.25rem 0 2rem;
  color: rgba(237, 242, 240, .78);
  font-size: 1.125rem;
}

/* ---------- Investir ---------- */
.invest {
  background: var(--petroleo);
  color: var(--mineral);
  padding-bottom: var(--section);
}
.invest .container {
  border-top: 1px solid rgba(230, 211, 174, .2);
  padding-top: var(--section);
}
.invest__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.invest__title {
  font-size: var(--t-xl);
  color: var(--areia);
  max-width: 12ch;
}
.invest__intro p {
  max-width: 36rem;
  color: rgba(237, 242, 240, .78);
  font-size: 1.125rem;
}

.commitments {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.commitments li {
  border-top: 2px solid var(--teal);
  padding-top: 1.5rem;
}
.commitments h3 {
  font-size: var(--t-lg);
  margin-bottom: .85rem;
  max-width: 14ch;
}
.commitments p { color: rgba(237, 242, 240, .72); max-width: 32ch; }

/* ---------- Como comprar + pré-análise ---------- */
.buy { padding-block: var(--section); }
.buy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.buy__title { font-size: var(--t-xl); color: var(--petroleo); max-width: 12ch; }
.buy__lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--tinta-suave);
}

/* passos: é uma sequência real, por isso numerados e ligados por uma linha */
.steps {
  counter-reset: passo;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  max-width: 34rem;
}
.steps li {
  counter-increment: passo;
  position: relative;
  padding: 0 0 2.25rem 4.25rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(passo);
  position: absolute;
  left: 0; top: -.2rem;
  width: 2.75rem; height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--petroleo);
  color: var(--areia);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.steps li:last-child::before { background: var(--chave); color: var(--tinta); }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.375rem - 1px); top: 2.8rem; bottom: .4rem;
  width: 2px;
  background: repeating-linear-gradient(var(--teal) 0 6px, transparent 6px 12px);
}
.steps h3 { font-size: var(--t-md); color: var(--petroleo); letter-spacing: -.015em; }
.steps p { margin-top: .4rem; color: var(--tinta-suave); }

/* formulário */
.precheck {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -40px rgba(12, 69, 71, .45);
}
.precheck__title { font-size: var(--t-lg); color: var(--petroleo); }
.precheck__hint { margin-top: -.5rem; font-size: var(--t-sm); color: var(--tinta-suave); }

.field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label,
.field legend {
  font-weight: 600;
  font-size: .95rem;
  color: var(--tinta);
  padding: 0;
}
.field legend { margin-bottom: .45rem; line-height: 1.4; }
.field input[type="text"],
.field select {
  width: 100%;
  min-height: 50px;
  padding: .7rem .95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--tinta);
  background: var(--mineral);
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: border-color .2s, background-color .2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230C4547' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field input[type="text"]:focus,
.field select:focus { outline: none; border-color: var(--teal); background-color: #fff; }
.field [aria-invalid="true"] { border-color: #C2410C; background-color: #FFF7ED; }
.field__error { font-size: var(--t-sm); color: #B43C0B; }

.choice__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice__opts label { position: relative; cursor: pointer; }
.choice__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__opts span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--linha);
  font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice__opts label:hover span { border-color: var(--teal); }
.choice__opts input:checked + span { background: var(--petroleo); border-color: var(--petroleo); color: var(--mineral); }
.choice__opts input:focus-visible + span { outline: 3px solid var(--chave); outline-offset: 2px; }

/* ---------- Dúvidas ---------- */
.faq { padding-bottom: var(--section); }
.faq .container {
  border-top: 1px solid var(--linha);
  padding-top: var(--section);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq__title { font-size: var(--t-xl); color: var(--petroleo); max-width: 10ch; }
.faq__lead { margin-top: 1.25rem; color: var(--tinta-suave); font-size: 1.125rem; }
.faq__lead a { color: var(--petroleo); font-weight: 600; text-underline-offset: 4px; }
.wa-link .ico { margin-right: .3em; color: #1DA851; }

.faq__list details { border-bottom: 1px solid var(--linha); }
.faq__list details:first-child { border-top: 1px solid var(--linha); }
.faq__list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--t-md);
  letter-spacing: -.015em;
  color: var(--tinta);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "";
  flex: none;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--petroleo), var(--petroleo)) center / 12px 2px no-repeat,
    linear-gradient(var(--petroleo), var(--petroleo)) center / 2px 12px no-repeat,
    var(--mineral);
  border: 1.5px solid var(--linha);
  transition: transform .3s var(--ease), background-color .2s;
}
.faq__list summary:hover { color: var(--petroleo); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p {
  padding: 0 3.5rem 1.5rem 0;
  max-width: 44rem;
  color: var(--tinta-suave);
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--tinta);
  color: var(--mineral);
  padding-top: var(--section);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}
.site-footer__cta h2 {
  font-size: var(--t-xl);
  max-width: 15ch;
}
.site-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  margin-top: 2rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem);
  letter-spacing: -.02em;
  color: var(--chave);
  text-decoration: none;
  line-height: 1;
}
.site-footer__phone .ico { width: .8em; height: .8em; }
.site-footer__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-footer__cta p { margin-top: .75rem; color: rgba(237, 242, 240, .65); }

.site-footer__links { display: grid; }
.site-footer__links li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(237, 242, 240, .12);
}
.site-footer__links li:first-child { border-top: 1px solid rgba(237, 242, 240, .12); }
.site-footer__links span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(237, 242, 240, .55);
  font-size: var(--t-sm);
}
.site-footer__links span .ico { width: 1.25rem; height: 1.25rem; color: var(--areia); }
.site-footer__links a { text-decoration: none; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.site-footer__links a:hover { color: var(--areia); }

.site-footer__base {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-block: 1.75rem;
  border-top: 1px solid rgba(237, 242, 240, .12);
  font-size: var(--t-sm);
  color: rgba(237, 242, 240, .55);
}
.site-footer__base img { width: 56px; height: 56px; border-radius: 12px; }

/* ---------- WhatsApp flutuante ---------- */
/* aparece só depois que a pessoa passa do topo, para não cobrir os botões do hero */
.wa-float {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 40;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 12px 28px -10px rgba(16, 48, 47, .6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s var(--ease);
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.wa-float.is-visible:hover { transform: scale(1.06); }
.wa-float { color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================
   Responsivo
   Monitores grandes  ≥ 1600px
   Notebook           ≤ 1180px
   Tablet             ≤ 880px
   Celular            ≤ 640px / ≤ 400px
   ========================================================= */

@media (min-width: 1600px) {
  :root { --max: 1400px; }
  body { font-size: 1.125rem; }
}

@media (max-width: 1180px) {
  .main-nav ul { gap: 1.25rem; }
  .header-cta { display: none; }

  /* galeria em largura total, especificações logo abaixo em duas colunas */
  .residencial__grid { grid-template-columns: 1fr; }
  .gallery__frame { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .specs {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
  }
  .specs__title { grid-column: 1 / -1; }
  .specs__list { grid-column: 1; grid-row: 2 / span 2; }
  .mcmv { grid-column: 2; grid-row: 2; }
  .specs .btn { grid-column: 2; grid-row: 3; }
}

@media (max-width: 880px) {
  .menu-toggle { display: block; }

  /* Menu do celular: abre num círculo a partir do botão e os itens entram em sequência */
  .main-nav {
    --origem: calc(100% - var(--gutter) - 22px) 44px;
    position: fixed;
    inset: 0;
    z-index: -1;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 7.5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
    background-color: var(--petroleo);
    background-image:
      radial-gradient(120% 80% at 100% 0%, rgba(53, 141, 145, .35), transparent 60%),
      linear-gradient(rgba(230, 211, 174, .05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(230, 211, 174, .05) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
    clip-path: circle(0 at var(--origem));
    visibility: hidden;
    transition: clip-path .55s cubic-bezier(.7, 0, .3, 1), visibility 0s .55s;
  }
  .main-nav.is-open {
    clip-path: circle(150vmax at var(--origem));
    visibility: visible;
    transition: clip-path .65s cubic-bezier(.7, 0, .3, 1), visibility 0s;
  }

  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li,
  .main-nav__extra {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .3s, transform .3s var(--ease);
  }
  .main-nav.is-open li,
  .main-nav.is-open .main-nav__extra {
    opacity: 1;
    transform: none;
    transition: opacity .5s var(--ease), transform .6s var(--ease);
    transition-delay: calc(.18s + var(--i) * .06s);
  }

  .main-nav li { border-bottom: 1px solid rgba(230, 211, 174, .14); }
  .main-nav li:first-child { border-top: 1px solid rgba(230, 211, 174, .14); }
  .main-nav a {
    display: flex;
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: 1rem 0;
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -.02em;
    opacity: 1;
    background: none;
    transition: color .2s, padding-left .3s var(--ease);
  }
  .main-nav a:hover,
  .main-nav a:focus-visible { color: var(--areia); padding-left: .4rem; }
  .main-nav a .ico { width: .7em; height: .7em; color: var(--areia); }

  .main-nav__extra { display: grid; gap: 1.25rem; }
  .main-nav__extra .btn {
    font-family: var(--f-text);
    font-size: 1rem;
    padding: .85rem 1.6rem;
    width: 100%;
    color: var(--tinta);
    background: var(--chave);
  }
  .main-nav__extra .btn:hover { padding-left: 1.6rem; color: var(--tinta); background: #FFAA35; }
  .main-nav__extra .btn .ico { width: 1.15em; height: 1.15em; color: currentColor; }
  .main-nav__social { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
  .main-nav__social a {
    width: auto;
    padding: .4rem 0;
    font-family: var(--f-text);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(237, 242, 240, .8);
  }
  .main-nav__social a .ico { width: 1.15rem; height: 1.15rem; }

  .about__grid,
  .invest__intro,
  .buy__grid,
  .faq__grid,
  .site-footer__grid { grid-template-columns: 1fr; }
  .precheck { position: static; max-width: 600px; }
  .main-nav { overflow-y: auto; }
  .faq__grid { gap: 1.5rem; }
  .invest__intro { gap: 1.5rem; }
  .about__grid { gap: 1.5rem; }

  .hero__mark { opacity: .6; right: -25%; }
  .hero__bg { object-position: 60% 50%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(12, 69, 71, .55) 0%, rgba(12, 69, 71, 0) 20%),
      linear-gradient(0deg, rgba(12, 69, 71, .97) 10%, rgba(12, 69, 71, .7) 45%, rgba(12, 69, 71, .05) 75%);
  }

  .soon { grid-template-columns: 1fr; }
  .soon__mark {
    position: absolute;
    right: -50px; bottom: -50px;
    width: 240px; height: auto;
    opacity: .3;
  }
}

@media (max-width: 700px) {
  .commitments { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand__name span { display: none; }
  .brand img,
  .site-header.is-solid .brand img { width: 52px; height: 52px; border-radius: 12px; }
  .brand__name { font-size: 1.3rem; }

  .hero__mark { opacity: .4; right: -45%; height: 70svh; }
  .hero__actions .btn { flex: 1 1 100%; }

  .specs { grid-template-columns: 1fr; }
  .specs__list,
  .mcmv,
  .specs .btn { grid-column: auto; grid-row: auto; }

  .gallery__frame { aspect-ratio: 4 / 3; border-radius: 12px; }

  .site-footer__links li { flex-direction: column; gap: .25rem; }
  .site-footer__links a { text-align: left; }
  .site-footer__base { padding-bottom: 5.5rem; } /* espaço para o botão do WhatsApp */
  .faq__list details p { padding-right: 0; }
  .steps li { padding-left: 3.75rem; }

  .wa-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
  .wa-float svg { width: 27px; height: 27px; }
}

@media (max-width: 400px) {
  :root { --gutter: 1rem; }
  .main-nav { padding-top: 6rem; gap: 1.5rem; }
  .main-nav li a { font-size: 1.6rem; padding-block: .7rem; }
  .main-nav__extra { gap: .9rem; }
  .gallery__tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .gallery__caption { font-size: .8rem; left: .75rem; bottom: .75rem; }
  .soon { padding: 1.5rem; }
  .specs { padding: 1.25rem; }
}

/* celular deitado e telas muito baixas */
@media (max-height: 540px) and (orientation: landscape) {
  .site-header__inner { padding-block: .6rem; }
  .brand img,
  .site-header.is-solid .brand img { width: 44px; height: 44px; }
  .hero { min-height: auto; }
  .hero__content { padding: 6rem var(--gutter) 2.5rem; }
  .hero__title { font-size: clamp(2rem, 5.5vw, 3rem); }
  .hero__lead { margin-top: 1rem; font-size: 1rem; max-width: 30rem; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__actions .btn { flex: 0 1 auto; min-height: 46px; }
  .hero__mark { display: none; }
  .main-nav { justify-content: flex-start; padding-top: 4.5rem; }
  .main-nav li a { font-size: 1.4rem; padding-block: .55rem; }
  .main-nav__extra { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status__dot::after { display: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
  }
}
