/* Residencial Arcanjo Miguel — landing page
   Mobile-first: estilos base valem para ~390px; media queries ampliam. */

/* Fonte hospedada no próprio site (Montserrat, licença OFL): o visitante não é enviado ao Google Fonts. */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reserva com as medidas da Montserrat: enquanto a fonte baixa, o texto já ocupa o mesmo espaço e nada pula.
   Valores calculados a partir dos arquivos das fontes (largura média e altura das letras). */
@font-face {
  font-family: "Montserrat Reserva"; font-weight: 100 549;
  src: local("Arial"), local("ArialMT");
  size-adjust: 112.44%; ascent-override: 86.09%; descent-override: 22.32%; line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Reserva"; font-weight: 550 900;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 110.57%; ascent-override: 87.55%; descent-override: 22.70%; line-gap-override: 0%;
}

:root {
  --ink: #2b2622;
  --ink-soft: #5c534b;
  --paper: #fbf9f6;
  --sand: #f2ece4;
  --line: #e2d9ce;
  --taupe: #776658;
  --bronze: #4a3d33;
  --dark: #221e1b;
  --wa: #0f7a4a;        /* verde WhatsApp escurecido: contraste AA com texto branco */
  --wa-hover: #0b6640;
  --error: #b3261e;

  --radius: 14px;
  --gutter: 20px;
  --max: 1160px;
  --font: "Montserrat", "Montserrat Reserva", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--taupe); outline-offset: 3px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: .8em;
}
.eyebrow--light { color: #e6d9cb; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 22px; height: 22px; flex: none; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--bronze); }
.btn--ghost-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"] .btn__label::after {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-block; padding: 12px 0 4px; /* área de toque ≥ 44px */
  font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--line);
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { border-color: var(--taupe); }

/* ---------- 1. Topo ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: flex; flex-direction: column;
  color: #fff; background: var(--dark);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
}
.hero::before {  /* escurece a base para garantir contraste do texto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(20,17,15,.55) 0%, rgba(20,17,15,0) 22%),
    linear-gradient(to top, rgba(20,17,15,.92) 0%, rgba(20,17,15,.7) 45%, rgba(20,17,15,.1) 75%);
}
.hero__nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.hero__logo { width: 64px; height: auto; }
.hero__links { display: none; list-style: none; margin: 0; padding: 0; gap: 28px; }
.hero__links a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; }
.hero__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.hero__content { margin-top: auto; padding-bottom: 40px; padding-top: 120px; }
.hero__content h1 { max-width: 15ch; text-wrap: balance; }
.hero__sub { font-size: 1.05rem; max-width: 38rem; color: #f1ebe4; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 26px; }

.seals { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seals li {
  font-size: .82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}

/* ---------- Seções ---------- */
.section { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--dark); color: #f1ebe4; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 40rem; margin-bottom: 36px; }
.section__head p:last-child { color: var(--ink-soft); }

.split { display: grid; gap: 36px; align-items: center; }
.split__text > p { color: var(--ink-soft); }
.section--dark .split__text > p { color: #d9cfc4; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Localização: vista aérea com marcações + mapa, em abas */
.loc-tabs { display: none; }
.js .loc-tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 12px;
  background: var(--sand); border: 1px solid var(--line); border-radius: 999px;
}
.js .loc-tabs[hidden] { display: none; }
.loc-tabs button {
  min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .88rem/1 var(--font); color: var(--ink-soft); background: transparent;
}
.loc-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }

.geo { position: relative; border: 1px solid var(--line); }
.geo > img { aspect-ratio: 4 / 5; object-fit: cover; }
.geo-credit { margin: 8px 2px 0; font-size: .68rem; color: var(--ink-soft); }

/* Etiqueta de ponto de interesse: marcador no ponto + haste + cartão (ícone, nome, distância).
   --x/--y posicionam o ponto em % da imagem; tag--up/down/left/right escolhem o lado do cartão.
   O cartão fica sempre centrado na haste. */
.tag { --len: 22px; position: absolute; left: var(--x); top: var(--y); z-index: 1; }
/* marcador e haste centralizados pelo mesmo método (translate), para não desalinharem no arredondamento de subpixel */
.tag::before {  /* marcador */
  content: ""; position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-strong, #8c6a4f); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.tag::after {  /* haste */
  content: ""; position: absolute; background: #fff; box-shadow: 0 0 3px rgba(0,0,0,.35);
}
.tag--up::after, .tag--down::after { left: 0; width: 2px; height: var(--len); transform: translateX(-50%); }
.tag--left::after, .tag--right::after { top: 0; height: 2px; width: var(--len); transform: translateY(-50%); }
.tag--up::after { bottom: 6px; }
.tag--down::after { top: 6px; }
.tag--left::after { right: 6px; }
.tag--right::after { left: 6px; }
.tag__card {
  position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 4px 10px 4px 4px; border-radius: 999px;
  background: rgba(251,249,246,.97); color: var(--ink); box-shadow: 0 4px 14px rgba(20,17,15,.28);
}
.tag--up .tag__card, .tag--down .tag__card { left: 0; transform: translateX(-50%); }
.tag--up .tag__card { bottom: calc(var(--len) + 6px); }
.tag--down .tag__card { top: calc(var(--len) + 6px); }
.tag--left .tag__card, .tag--right .tag__card { top: 0; transform: translateY(-50%); }
.tag--left .tag__card { right: calc(var(--len) + 6px); }
.tag--right .tag__card { left: calc(var(--len) + 6px); }

/* Haste em L: ponto (tag--dot) ligado ao cartão (tag--elbow) por uma linha que vai na horizontal e depois sobe.
   .elbow é a caixa entre o canto do cartão (--x/--y) e o ponto (--x + --w, --y + --h); desenha a borda esquerda e a de baixo. */
.elbow {
  position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-1px, 1px);
  filter: drop-shadow(0 0 1.5px rgba(0,0,0,.45));
}
.tag--dot::after, .tag--elbow::before, .tag--elbow::after { display: none; }
.tag--elbow .tag__card { left: 0; bottom: 0; transform: translateX(-50%); }
.tag__more { display: none; }  /* no celular o nome curto cabe sem cobrir o Koch */
.tag__icon {
  flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%;
  background: var(--sand); color: #8c6a4f;
}
.tag__text { display: flex; flex-direction: column; line-height: 1.15; }
.tag__text strong { font-size: .7rem; font-weight: 700; }
.tag__text em { font-style: normal; font-size: .66rem; font-weight: 600; color: #8c6a4f; }

/* o prédio: anel em volta do lote + cartão escuro com o logo */
.tag--hero { --len: 16px; }
.tag--hero::before {
  width: 42px; height: 42px; background: transparent; border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 0 8px rgba(0,0,0,.35); animation: pulse 2.2s ease-out infinite;
}
.tag--hero { --ring: 42px; }
.tag--hero::before { width: var(--ring); height: var(--ring); }
.tag--hero.tag--down::after { top: calc(var(--ring) / 2); }
.tag--hero.tag--down .tag__card { top: calc(var(--len) + var(--ring) / 2); }
.geo--map .tag--hero { --ring: 28px; }  /* no mapa o lote é pequeno e o Koch fica perto */
.tag--hero .tag__card { gap: 8px; padding: 7px 8px; border-radius: 12px; background: var(--ink); color: #fff; }
.tag--hero .tag__text strong { font-size: .78rem; }
.tag--hero .tag__text em { font-size: .66rem; }
.tag--hero .tag__text em { color: #d9cfc4; font-weight: 500; }
.tag .tag__logo { width: 22px; height: auto; aspect-ratio: auto; flex: none; }
.tag__badge {
  font-size: .56rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 5px; background: #c8925f; color: var(--ink);
}
@keyframes pulse { to { box-shadow: 0 0 0 20px rgba(255,255,255,0), 0 0 8px rgba(0,0,0,.35); } }
@media (prefers-reduced-motion: reduce) { .tag--hero::before { animation: none; } }

/* ponto fora do quadro: cartão encostado na borda, com seta indicando a direção */
.tag-edge {
  position: absolute; left: 10px; top: 36%; z-index: 1; display: flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 6px; border-radius: 999px; white-space: nowrap;
  background: rgba(251,249,246,.97); color: var(--ink); box-shadow: 0 4px 14px rgba(20,17,15,.28);
}
.tag-edge__arrow { width: 16px; height: 16px; color: var(--ink); }

@media (min-width: 600px) {
  .tag__text strong { font-size: .82rem; }
  .tag__text em { font-size: .76rem; }
  .tag--hero .tag__card { gap: 10px; padding: 8px 10px; }
  .tag--hero .tag__text strong { font-size: .95rem; }
  .tag--hero .tag__text em { font-size: .74rem; }
  .tag .tag__logo { width: 26px; }
  .tag__badge { font-size: .62rem; padding: 4px 7px; }
  .tag__icon { width: 32px; height: 32px; padding: 7px; }
  .tag__card { gap: 8px; padding: 5px 12px 5px 5px; }
  .tag__more { display: inline; }
}

/* ---------- Quem somos ---------- */
.about { padding: 56px 0; border-bottom: 1px solid var(--line); }
.about__inner { display: grid; gap: 20px; align-items: center; max-width: 880px; }
.about__logo { width: 64px; height: auto; }
.about h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.about p:last-child { color: var(--ink-soft); margin: 0; }
@media (min-width: 700px) {
  .about { padding: 72px 0; }
  .about__inner { grid-template-columns: 110px 1fr; gap: 40px; }
  .about__logo { width: 96px; }
}

/* ---------- 2. Localização ---------- */
.distances { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.distances li { background: var(--paper); padding: 18px 16px; display: flex; flex-direction: column; }
.distances strong { font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.distances span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- 3. O imóvel ---------- */
.types { display: grid; gap: 16px; margin-bottom: 40px; }
.type-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.type-card__tag { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: .4em; }
.type-card h3 { margin-bottom: .2em; }
.type-card { display: flex; flex-direction: column; }
.type-card__plan {
  position: relative; display: block; margin: -26px -24px 20px; padding: 10px;
  background: #fff; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
  cursor: zoom-in; overflow: hidden;
}
.type-card__plan img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; transition: transform .5s ease; }
.type-card__plan:hover img { transform: scale(1.03); }

.type-card__area { font-size: 2rem; font-weight: 600; margin-bottom: .6em; line-height: 1.1; }
.type-card ul { list-style: none; margin: 0; padding: 0; color: var(--ink-soft); font-size: .95rem; }
.type-card li { padding: 6px 0 6px 22px; position: relative; border-top: 1px solid var(--line); }
.type-card li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); }

.plan { margin: 0 auto 40px; max-width: 920px; }
.plan__open { display: block; position: relative; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; cursor: zoom-in; }
.plan__open img { width: 100%; }
.plan__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; background: rgba(34,30,27,.88); color: #fff; padding: 8px 14px; border-radius: 999px; }
.plan__zoom .icon { width: 16px; height: 16px; }
.plan figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }

/* Carrossel dos ambientes. Sem JS: faixa com rolagem lateral. Com JS: troca suave automática. */
.carousel { position: relative; max-width: 920px; margin: 0 auto 40px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px;
}
.carousel__slide { margin: 0; scroll-snap-align: start; }
.carousel__slide a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.carousel__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.carousel__slide a:hover img { transform: scale(1.02); }
.carousel__slide figcaption { font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin-top: 10px; }
.carousel__btn, .carousel__dots { display: none; }

.js .carousel__track { display: grid; grid-template-areas: "slide"; grid-template-columns: 100%; overflow: visible; margin: 0; padding: 0; gap: 0; }
.js .carousel__slide {
  grid-area: slide; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.js .carousel__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.js .carousel__btn {
  display: grid; place-items: center; position: absolute; top: calc(50% - 40px); z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(251,249,246,.92); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.js .carousel__btn svg { width: 22px; height: 22px; }
.js .carousel__btn--prev { left: 10px; }
.js .carousel__btn--next { right: 10px; }
.js .carousel__dots { display: flex; justify-content: center; gap: 0; margin-top: 2px; }
.carousel__dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .3s, width .3s; }
.carousel__dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--taupe); }
@media (prefers-reduced-motion: reduce) { .js .carousel__slide { transition: none; } }

/* ---------- 4. Diferenciais ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.features li {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff;
  display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; align-items: start;
}
.features li > :not(svg) { grid-column: 2; }
.feature-icon { width: 34px; height: 34px; color: var(--taupe); grid-row: span 2; }
.features h3 { margin-bottom: .35em; }
.features p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- 5. Condições ---------- */
.section--dark .btn { margin-top: 8px; }

/* ---------- 6. A obra ---------- */
.obra-update {
  display: inline-block; margin-top: 4px; padding: 6px 12px; border-radius: 999px;
  background: var(--sand); color: var(--ink); font-size: .82rem; font-weight: 600;
}
.stages { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: etapa; }
.stages li { position: relative; border-radius: var(--radius); overflow: hidden; counter-increment: etapa; background: var(--dark); }
.stages a { display: block; cursor: zoom-in; }
.stages a[hidden] { display: none; }
.stages img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.stages a:hover img { transform: scale(1.03); }
.stage__text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; pointer-events: none;
  display: flex; flex-direction: column; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.stage__text strong { font-size: 1rem; font-weight: 600; }
.stage__text strong::before { content: "0" counter(etapa) " · "; opacity: .7; }
.stage__text em { font-style: normal; font-size: .8rem; opacity: .85; margin-top: 2px; }
.plan__more { display: table; margin-top: 2px; }
.video { margin: 0; max-width: 360px; justify-self: center; width: 100%; }
.video video { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius); background: var(--dark); object-fit: cover; }
.video figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- 7. Formulário ---------- */
.form-wrap { max-width: 640px; }
.lead-form, .form-success { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--taupe); box-shadow: 0 0 0 3px rgba(119,102,88,.25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .85rem; margin: 6px 0 0; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.field--check label { font-weight: 400; font-size: .9rem; margin: 0; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: .9rem; color: var(--error); }
.form-success { text-align: center; }
.form-success h3 { font-size: 1.4rem; }

/* ---------- 8. Rodapé ---------- */
.footer { background: var(--dark); color: #cfc5ba; padding: 56px 0 110px; font-size: .9rem; }
.footer__grid { display: grid; gap: 28px; }
.footer__grid img { width: 56px; margin-bottom: 14px; }
.footer__name { color: #fff; font-weight: 600; margin-bottom: .3em; }
.footer p { margin-bottom: 0; }
.footer a, .footer__link { display: inline-block; padding: 10px 0; text-decoration: none; }  /* área de toque ≥ 44px */
.footer p { line-height: 1.5; }
.footer a:hover { text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 22px; font-size: .78rem; color: #a99e93; }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px;
  padding: 16px 18px; border-radius: 14px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(20,17,15,.22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 12px; font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }
.cookie-banner a { color: var(--ink); font-weight: 600; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-banner .btn { min-height: 44px; padding: 10px 16px; font-size: .92rem; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--taupe); }
@media (min-width: 640px) { .cookie-banner { left: 24px; bottom: 24px; } }
.footer__link { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer__link:hover { text-decoration: underline; }

/* ---------- WhatsApp fixo ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-hover); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Janelas flutuantes (visualizador de imagens e "Ver plantas") ----------
   Abrem no centro, sem cobrir a tela toda; clicar fora ou no × fecha. */
.viewer, .sheet {
  margin: auto; padding: 0; border: 0; border-radius: 18px; overflow: hidden;
  background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(20,17,15,.35);
}
.viewer::backdrop, .sheet::backdrop { background: rgba(20,17,15,.6); backdrop-filter: blur(3px); }
.viewer[open], .sheet[open] { display: flex; flex-direction: column; animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .viewer[open], .sheet[open] { animation: none; } }
html:has(dialog[open]) { overflow: hidden; }

.viewer { width: min(94vw, 1100px); height: min(80dvh, 820px); }
@media (max-width: 600px) { .viewer { height: min(62dvh, 480px); } }
.viewer__top {
  order: -1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line);
}
.viewer__caption { margin: 0; font-weight: 600; font-size: .9rem; }
.viewer__tools { display: flex; gap: 6px; flex: none; }
.viewer__tools button, .viewer__nav, .sheet__close {
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--sand); color: var(--ink); font: 500 1.4rem/1 var(--font);
  display: grid; place-items: center;
}
.viewer__tools button:hover, .sheet__close:hover { background: var(--line); }
.viewer__stage {
  position: relative; flex: 1; overflow: hidden; touch-action: none; cursor: zoom-in; background: #f6f2ec;
}
.viewer__stage.is-zoomed { cursor: grab; }
.viewer__stage.is-dragging { cursor: grabbing; }
.viewer__img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain;
  transform-origin: 0 0; user-select: none; -webkit-user-drag: none;
}
.viewer__img.is-animating { transition: transform .25s ease; }
.viewer__nav {
  position: absolute; top: calc(50% + 6px); background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.viewer__nav:hover { background: #fff; }
.viewer__nav svg { width: 22px; height: 22px; }
.viewer__nav--prev { left: 10px; }
.viewer__nav--next { right: 10px; }
.viewer__nav[hidden] { display: none; }
.viewer__hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0;
  font-size: .76rem; padding: 5px 12px; border-radius: 999px; background: rgba(43,38,34,.82); color: #fff;
  white-space: nowrap; pointer-events: none; transition: opacity .4s;
}
.viewer__hint.is-hidden { opacity: 0; }

/* "Ver plantas": janela com a planta e a descrição de cada tipo, rolando por dentro */
.sheet { width: min(94vw, 760px); max-height: min(86dvh, 900px); }
.sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 12px 14px 22px; border-bottom: 1px solid var(--line);
}
.sheet__head h2 { margin: 0; font-size: 1.15rem; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 22px 22px; }
.sheet__unit { padding: 20px 0; border-bottom: 1px solid var(--line); }
.sheet__unit:last-of-type { border-bottom: 0; }
.sheet__plan { display: block; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; cursor: zoom-in; }
.sheet__plan img { width: 100%; max-height: 300px; object-fit: contain; }
.sheet__unit h3 { margin: 14px 0 2px; font-size: 1.05rem; }
.sheet__meta { margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.sheet__unit p:last-child { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.sheet__foot { display: grid; gap: 10px; padding-top: 16px; }
.sheet__foot p { margin: 0; font-size: .82rem; color: var(--ink-soft); text-align: center; }

/* ---------- Revisão: ?revisar=1 destaca o que falta confirmar ---------- */
.revisar [data-confirmar] { outline: 2px dashed #e07b00; outline-offset: 2px; position: relative; }
.revisar [data-confirmar]::after {
  content: "CONFIRMAR: " attr(data-confirmar);
  display: block; margin-top: 4px; font: 600 .7rem/1.3 var(--font); letter-spacing: .02em;
  color: #fff; background: #e07b00; padding: 3px 6px; border-radius: 4px; width: fit-content;
}
.revisar .features li[data-confirmar]::after { grid-column: 1 / -1; margin-top: 10px; }

/* ================= Telas maiores ================= */
@media (min-width: 600px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .distances { grid-template-columns: repeat(4, 1fr); }
  .types { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features li { display: block; padding: 24px; }
  .feature-icon { margin-bottom: 14px; }
  .carousel__track { grid-auto-columns: 46%; }
  .js .carousel__slide img { aspect-ratio: 16 / 10; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .lead-form, .form-success { padding: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .section { padding: 104px 0; }
  .hero__links { display: flex; }
  .hero__logo { width: 76px; }
  .hero__content { padding-bottom: 72px; }
  .hero__links a { display: inline-block; padding: 12px 0; }  /* área de toque ≥ 44px */
  .hero__sub { font-size: 1.15rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__media { order: -1; }
  .distances { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .carousel__track { grid-auto-columns: 31%; }
  .js .carousel__btn--prev { left: -22px; }
  .js .carousel__btn--next { right: -22px; }
  .video { max-width: 380px; }
  .stages { grid-template-columns: repeat(4, 1fr); }
  .stages img { aspect-ratio: 4 / 5; }
}

/* Notebooks com tela baixa: topo mais compacto, para os botões aparecerem sem rolar */
@media (min-width: 900px) and (max-height: 760px) {
  .hero__content { padding-top: 96px; padding-bottom: 32px; }
  .hero__content h1 { font-size: clamp(2rem, 6.2vh, 3rem); margin-bottom: .4em; }
  .hero__sub { font-size: 1.05rem; margin-bottom: 0; }
  .hero__ctas { margin: 20px 0 18px; }
}
