@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 750;
  font-style: normal;
  font-display: swap;
}
/* Fonte local com as medidas da Inter, para o texto não pular quando a Inter carrega. */
@font-face {
  font-family: "Inter fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 107%;
  ascent-override: 90.5%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-bold-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Layout: faixas inteiras que alternam a vitrine escura (abertura, planos, estacionamento e cadastro) e o
   papel claro para leitura; o detalhe próprio da unidade é a linha de luz de LED do teto, usada só nas
   faixas escuras. Todo texto tem contraste de pelo menos 7:1 (WCAG AAA); bordas de controles, 3:1. */
:root {
  color-scheme: light;
  --ink: #0c120e;
  --ink-2: #151d18;
  --forest: #0f2a1d;
  --forest-2: #16382a;
  --paper: #f5f6ef;
  --paper-2: #eaeee4;
  --text: #0d130f;
  --muted: #39443c;
  --green-ink: #145325;
  --brand: #2fb633;
  --mint: #84e979;
  --on-dark: #f4f7f1;
  --on-dark-muted: #c4d1c6;
  --on-brand: #06100a;
  --border-dark: #7f9483;
  --border-light: #6f7d72;
  --rule-light: #c6cfc4;
  --rule-dark: #34443a;
  --whatsapp: #138a47;
  --whatsapp-hover: #0f733b;
  --error-dark: #ffc2bd;
  --success-dark: #aeefa7;

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
  --body: Inter, "Inter fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 2.6vw, 2.5rem);
  --step-4: clamp(3rem, 6vw, 5.75rem);
  --step-5: clamp(4.4rem, 9.6vw, 10.5rem);

  --gutter: clamp(1rem, 5vw, 5.5rem);
  --width: 85rem;
  --radius: .9rem;
  --header-h: 4.5rem;
  --led: 0 0 .45rem rgb(132 233 121 / 60%), 0 0 1.5rem rgb(47 182 51 / 40%);
  font-family: var(--body);
  font-synthesis: none;
}
@media (min-width: 120rem) {
  :root { font-size: clamp(100%, min(.833333vw, 1.6vh), 200%); }
}

/* Cada faixa define as próprias cores de texto, link, foco e divisória. */
body, .tema-papel, .tema-papel-2 {
  --bg: var(--paper);
  --fg: var(--text);
  --fg-2: var(--muted);
  --link: var(--green-ink);
  --focus: var(--green-ink);
  --line: var(--border-light);
  --rule: var(--rule-light);
}
.tema-papel-2 { --bg: var(--paper-2); }
.tema-escuro, .tema-floresta, .site-header, .site-footer, .checkout-page, .photo-viewer {
  --bg: var(--ink);
  --fg: var(--on-dark);
  --fg-2: var(--on-dark-muted);
  --link: var(--mint);
  --focus: var(--mint);
  --line: var(--border-dark);
  --rule: var(--rule-dark);
  color-scheme: dark;
}
.tema-floresta { --bg: var(--forest); }
.tema-papel, .tema-papel-2, .tema-escuro, .tema-floresta { color: var(--fg); background: var(--bg); }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scroll-padding-bottom: 6rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; cursor: help; }

h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); line-height: 1.3; text-wrap: balance; }
h1 em { display: block; color: var(--mint); font-style: italic; }

.wrap {
  --gutter-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  width: min(var(--width), calc(100% - var(--gutter-l) - var(--gutter-r)));
  margin-inline: max(var(--gutter-l), (100% - var(--width)) / 2) max(var(--gutter-r), (100% - var(--width)) / 2);
}
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section-space { padding-block: clamp(3.5rem, 6.3vw, 6.5rem); }
.skip-link {
  position: fixed;
  left: calc(1rem + env(safe-area-inset-left, 0px));
  top: .6rem;
  z-index: 30;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  border-radius: .5rem;
  color: var(--text);
  background: #fff;
  font-weight: 650;
}
.skip-link:focus { transform: none; }

.icone {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow, .unit-label {
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--link);
}
.eyebrow span, .unit-label span { color: var(--fg-2); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head-stack { display: grid; justify-content: start; align-content: start; gap: 1rem; margin-bottom: 0; }
.lead { max-width: 36rem; font-size: var(--step-1); line-height: 1.5; color: var(--fg-2); }
.status { margin-top: 1rem; line-height: 1.55; color: var(--fg-2); }
.status[data-kind="error"], .status[data-kind="verification"] { color: var(--error-dark); font-weight: 600; }
.status[data-kind="success"] { color: var(--success-dark); font-weight: 650; }
.demo-note {
  justify-self: start;
  padding: .3rem .75rem;
  border: 1px dashed var(--line);
  border-radius: .4rem;
  color: var(--fg-2);
  font-size: .9375rem;
}

/* Botões e links de ação: área de toque de pelo menos 44 px (WCAG 2.5.5). */
.button, .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button { min-height: 3rem; padding: .75rem 1.5rem; font-size: 1rem; }
.button-bright { background: var(--brand); color: var(--on-brand); }
.button-bright:hover { background: var(--mint); }
.button-ghost { border-color: var(--border-dark); color: var(--on-dark); background: transparent; }
.button-ghost:hover { border-color: var(--mint); color: var(--mint); }
.button-dark { background: var(--text); color: var(--paper); }
.button-dark:hover { background: var(--green-ink); }
.button-line { border-color: var(--border-light); color: var(--text); background: transparent; }
.button-line:hover { border-color: var(--text); }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--link);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--on-dark);
  background: var(--ink);
  background: rgb(12 18 14 / 96%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.header-content { display: flex; align-items: center; gap: 1.25rem clamp(1rem, 2.4vw, 2.25rem); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; margin-right: auto; }
.brand-logo { width: 7.5rem; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-muted);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover { color: var(--mint); text-decoration: underline; }
.header-cta { min-height: 44px; padding: .55rem 1.25rem; font-size: .9375rem; white-space: nowrap; background: var(--brand); color: var(--on-brand); }
.header-cta:hover { background: var(--mint); }
.menu-toggle { display: none; }

/* Abertura */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; display: block; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
/* O escurecimento acompanha a coluna de texto (que começa na margem da .wrap e tem até 38rem), para o
   texto manter 7:1 mesmo sobre a parte mais clara da foto; à direita, a foto aparece quase inteira. */
.hero::before {
  --texto-fim: calc(max(var(--gutter), (100% - var(--width)) / 2) + 38rem);
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(6 12 9 / 95%) 0, rgb(6 12 9 / 90%) var(--texto-fim), rgb(6 12 9 / 30%) calc(var(--texto-fim) + 22rem), rgb(6 12 9 / 8%) 100%),
    linear-gradient(0deg, rgb(6 12 9 / 80%) 0%, transparent 34%);
}
.hero-inner { display: flex; align-items: center; min-height: clamp(34rem, 44vw, 46rem); padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 4vw, 3.5rem); }
@media (min-width: 101rem) {
  .hero-inner { min-height: clamp(46rem, min(40vw, 70svh), 92rem); }
}
.hero-copy { display: grid; justify-items: start; gap: 1.35rem; max-width: 38rem; }
.hero h1 { font-size: var(--step-5); line-height: .84; }
.hero-lifefit { display: block; font-size: .46em; margin-bottom: .1em; }
.hero-local { display: block; margin-top: .32em; font-size: .3em; line-height: 1.1; letter-spacing: 0; }
.hero-intro { max-width: 31rem; font-size: var(--step-1); line-height: 1.5; }
.hero-offer {
  display: grid;
  gap: .1rem;
  padding: .7rem 1rem .75rem;
  border-left: 3px solid var(--mint);
  background: rgb(6 12 9 / 72%);
  color: var(--on-dark-muted);
  line-height: 1.35;
}
.hero-offer strong { color: var(--on-dark); font-size: var(--step-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-offer span { font-size: .9375rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.hero-facts {
  position: relative;
  background: rgb(8 14 10 / 88%);
}
.hero-facts::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint) 18%, var(--mint) 82%, transparent);
  box-shadow: var(--led);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 2rem;
  padding: 1.35rem 0;
  list-style: none;
}
.facts li { display: flex; align-items: flex-start; gap: .85rem; min-width: 0; color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.45; }
.facts strong { display: block; color: var(--on-dark); font-weight: 650; }
.facts .icone { width: 1.6rem; height: 1.6rem; margin-top: .05rem; color: var(--mint); }

/* Modalidades */
.modalidades {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.modalidade { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.modalidade-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--ink-2);
}
.modalidade-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.modalidade-foto-energy { object-position: 54% 50%; }
.modalidade-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(5 10 7 / 82%) 0%, rgb(5 10 7 / 34%) 30%, transparent 56%);
}
.modalidade-logo { position: absolute; left: 1rem; bottom: 1rem; width: clamp(6.5rem, 9vw, 8.75rem); height: auto; }
.modalidade-media-breve {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 115%, rgb(47 182 51 / 38%), transparent 62%), var(--ink-2);
}
.modalidade-media-breve::after { content: none; }
.modalidade-wordmark { width: min(76%, 15rem); }
.selo-foto, .selo-breve {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.3;
}
.selo-foto { color: var(--on-dark); background: rgb(12 18 14 / 88%); }
.selo-breve { color: var(--on-brand); background: var(--mint); }
.modalidade-texto { display: grid; justify-items: start; gap: .5rem; }
.modalidade h3 { font-family: var(--display); font-size: var(--step-3); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.modalidade p { max-width: 34ch; color: var(--fg-2); }
.link-foto {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-weight: 650;
}

/* Estrutura */
.estrutura-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.estrutura {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.estrutura li {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 550;
  line-height: 1.4;
}
.estrutura .icone { width: 1.75rem; height: 1.75rem; color: var(--green-ink); }
.estrutura a { display: inline-flex; align-items: center; min-height: 44px; }

/* Planos */
.plans-section { position: relative; }
.plans-section::before, .estacionamento::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint) 15%, var(--mint) 85%, transparent);
  box-shadow: var(--led);
}
.plans-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 2rem 4rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.passos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.passos li {
  display: grid;
  align-content: start;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--rule);
  font-weight: 600;
  line-height: 1.4;
}
.passo-numero { font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--mint); }
.catalog { min-width: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1.25rem; }
.plan-grid:has(> .plan:only-child) { grid-template-columns: minmax(0, 38rem); }
.plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: 1.1rem;
  background: var(--ink-2);
}
.plan-destaque { border-color: var(--mint); box-shadow: 0 0 0 1px rgb(132 233 121 / 55%), 0 0 2.5rem rgb(47 182 51 / 16%); }
.plan-badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  color: var(--on-brand);
  background: var(--mint);
  font-size: .875rem;
  font-weight: 700;
}
.plan h3 { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; text-transform: uppercase; }
.plan-description { margin: .75rem 0 1.5rem; color: var(--fg-2); }
.plan-highlights { display: grid; gap: .45rem; margin: -.5rem 0 1.5rem; padding: 0; list-style: none; }
.plan-highlights li { position: relative; padding-left: 1.4rem; line-height: 1.45; }
.plan-highlights li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--mint); }
/* O preço vem logo após a descrição; o espaço que sobra num cartão mais curto fica acima do botão. */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; margin-bottom: 1.25rem; }
.price strong { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--fg-2); }
.price-note { margin: -.75rem 0 1.25rem; font-weight: 600; line-height: 1.45; }
.plan-details { margin-bottom: 1.25rem; border-top: 1px solid var(--rule); }
.plan-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding-top: .5rem;
  font-weight: 650;
  list-style: none;
}
.plan-details summary::-webkit-details-marker { display: none; }
.plan-details summary::after {
  content: "";
  flex: none;
  width: .6rem;
  height: .6rem;
  margin-right: .35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
}
.plan-details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.plan-details summary:hover { color: var(--mint); }
.plan-details-text { display: grid; gap: .6rem; margin-top: .5rem; color: var(--fg-2); font-size: .9375rem; line-height: 1.55; }
.plan .button { width: 100%; margin-top: auto; }
.plans-help { margin-top: clamp(1.75rem, 3vw, 2.5rem); color: var(--fg-2); }

/* Unidade */
.unit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: center; }
.unit-photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.unit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.unit-photo-salao { display: none; }
.unit-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 3rem 1.25rem 1rem;
  color: var(--on-dark);
  font-size: .9375rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgb(5 10 7 / 90%) 55%);
}
.unit-copy { display: grid; justify-items: start; gap: 1.5rem; min-width: 0; }
.unit-copy address { font-size: var(--step-1); line-height: 1.5; }
.acessos { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.acessos li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: .9rem; line-height: 1.5; }
.placa {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex: none;
  padding: .2rem .55rem .15rem;
  border: 2px solid currentColor;
  border-radius: .35rem;
  color: var(--link);
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1.1;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.links-mapa { display: flex; flex-wrap: wrap; gap: .75rem; }
.unit-copy > h3 { margin: .5rem 0 -.9rem; }
.hours { width: 100%; max-width: 32rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .75rem; border-bottom: 1px solid var(--rule); }
.hours dd { font-weight: 650; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.link-whatsapp { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }

/* Estacionamento */
.estacionamento { position: relative; }
.estacionamento-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 2.5rem clamp(2rem, 7vw, 7rem); align-items: center; }
.estacionamento-texto { display: grid; justify-items: start; gap: 1.25rem; }
.estacionamento-texto > p:not(.placa) { max-width: 44ch; font-size: var(--step-1); line-height: 1.55; }
.estacionamento-video { width: min(100%, 22rem); }
.estacionamento-video video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius); background: var(--ink); }
.estacionamento-video figcaption { margin-top: .85rem; color: var(--fg-2); font-size: .9375rem; line-height: 1.55; }

/* Perguntas frequentes */
.perguntas-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: .9rem;
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: var(--green-ink);
  background:
    linear-gradient(currentColor, currentColor) center / .75rem 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px .75rem no-repeat;
}
.faq details[open] summary::after { background-size: .75rem 2px, 2px 0; }
.faq summary:hover { color: var(--green-ink); }
.faq details p { max-width: 62ch; padding-bottom: 1.25rem; color: var(--fg-2); }

/* Cadastro */
.interest-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem clamp(2.5rem, 7vw, 7rem); align-items: start; }
.interest-copy { display: grid; justify-items: start; gap: 1.25rem; }
.interest-copy h2 { font-size: clamp(4rem, 7.6vw, 8rem); line-height: .86; }
.interest-copy h2 em { display: block; color: var(--mint); font-style: italic; }
.interest-copy > p:not(.demo-note) { max-width: 30rem; font-size: var(--step-1); line-height: 1.5; color: var(--fg-2); }
.interest-points { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.interest-points li { display: flex; align-items: flex-start; gap: .75rem; max-width: 32rem; line-height: 1.5; }
.interest-points .icone { width: 1.4rem; height: 1.4rem; margin-top: .1rem; color: var(--mint); stroke-width: 2.25; }
.interest-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: 1.1rem;
  background: var(--ink-2);
}
.form-note { color: var(--fg-2); font-size: .9375rem; }
.field { display: grid; align-content: start; gap: .45rem; min-width: 0; }
.field label { font-weight: 650; }
.interest-form input:not([type="checkbox"]), .interest-form select {
  width: 100%;
  min-height: 3.25rem;
  padding: .7rem .9rem;
  color: var(--on-dark);
  background: var(--forest-2);
  border: 1px solid var(--border-dark);
  border-radius: .55rem;
}
.interest-form input:not([type="checkbox"]):hover, .interest-form select:hover { border-color: var(--on-dark-muted); }
.interest-form input:user-invalid { border: 2px solid var(--error-dark); }
.field-help { color: var(--fg-2); font-size: .9375rem; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.website-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Consentimento em destaque (LGPD, art. 8º, § 1º): caixa própria, junto do botão, sempre desmarcada. */
.interest-form .consent-box {
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--mint);
  border-left-width: .4rem;
  border-radius: .5rem;
  background: rgb(132 233 121 / 8%);
}
.consent-title { margin: 0 0 .7rem; color: var(--mint); font-size: 1.05rem; font-weight: 750; }
.consent-title span {
  margin-inline-start: .4rem;
  padding: .1rem .5rem;
  border-radius: 999px;
  color: var(--on-brand);
  background: var(--mint);
  font-size: .8125rem;
  font-weight: 650;
  vertical-align: .1em;
}
.interest-form .marketing-choice { display: flex; align-items: flex-start; gap: .8rem; font-weight: 600; line-height: 1.5; cursor: pointer; }
.interest-form input[type="checkbox"] {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin: .05rem 0 0;
  accent-color: var(--mint);
  cursor: pointer;
}
.consent-help { margin: .65rem 0 0 2.3rem; color: var(--fg-2); font-size: .9375rem; line-height: 1.5; }
.interest-form > .button { width: 100%; }
.privacy { color: var(--fg-2); font-size: .9375rem; line-height: 1.55; }
.interest-form .status { margin-top: 0; }

/* Visualizador de fotos */
.photo-viewer {
  width: 96vw;
  height: 94vh;
  height: 94dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: .65rem;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--ink);
}
.photo-viewer[open] { display: flex; flex-direction: column; }
.photo-viewer::backdrop { background: rgb(3 8 5 / 90%); }
.photo-toolbar { display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem; }
.photo-toolbar h2 { margin-right: auto; font: 650 1rem/1.35 var(--body); text-transform: none; letter-spacing: normal; }
.photo-toolbar button { min-height: 44px; padding: .45rem 1rem; border: 2px solid var(--border-dark); border-radius: 99px; background: transparent; color: inherit; font-weight: 600; }
.photo-toolbar button:hover, .photo-toolbar button[aria-pressed="true"] { border-color: var(--mint); background: var(--mint); color: var(--on-brand); }
.photo-stage { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.photo-stage img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.photo-stage.zoomed img { width: auto; height: auto; margin-inline: auto; }
.photo-stage:focus-visible { outline-offset: -3px; }

/* Rodapé */
.site-footer { color: var(--on-dark); background: var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 1.25fr);
  gap: 2rem;
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; justify-items: start; gap: .75rem; align-content: start; }
.footer-brand p, .footer-grid address, .footer-grid p { color: var(--on-dark-muted); line-height: 1.6; }
.footer-title {
  margin-bottom: .75rem;
  color: var(--on-dark);
  font: 700 .875rem/1.3 var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-links { display: grid; margin: -.35rem 0 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }
.footer-links a:hover { color: var(--mint); }
.footer-legal { padding-block: 1.25rem; border-top: 1px solid var(--rule); color: var(--on-dark-muted); font-size: .875rem; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding-block: 1.6rem; }
.footer-content .text-link { font-size: .9375rem; }

/* Botão flutuante do WhatsApp. O verde é mais escuro que o da marca (#25d366) para o símbolo branco
   ter contraste de 4,5:1 e o botão se destacar tanto no papel quanto nas faixas escuras. */
.whatsapp-fixed {
  position: fixed;
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 9;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 4px 18px rgb(12 18 14 / 40%), 0 0 0 2px rgb(255 255 255 / 85%);
}
.whatsapp-fixed:hover { background: var(--whatsapp-hover); }
.whatsapp-fixed.whatsapp-recolhido { visibility: hidden; opacity: 0; transform: translateY(1rem) scale(.9); }
.whatsapp-fixed:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.whatsapp-fixed svg { width: 1.95rem; height: 1.95rem; }
/* No fim da página, o rodapé sobe acima do botão para não esconder os links. */
body:has(.whatsapp-fixed) .site-footer { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }

/* Política de privacidade, matrícula de demonstração e painel */
.policy { max-width: 48rem; line-height: 1.65; }
.policy h1, .admin-page h1 { font-size: clamp(2.9rem, 6vw, 5rem); }
.policy h2 { margin-top: 1.6rem; font-size: 2rem; }
.policy p { max-width: 68ch; margin-top: .9rem; }
.policy mark { padding: .1em .2em; background: var(--mint); color: var(--text); }

.checkout-page { min-height: 100vh; color: var(--on-dark); background: var(--ink); }
.checkout-layout { display: grid; grid-template-columns: 1.1fr .9fr; margin-block: clamp(1.5rem, 5vw, 6rem); border-radius: 1rem; overflow: hidden; background: var(--forest); }
.checkout-card { align-self: center; padding: clamp(1.5rem, 5vw, 5.5rem); }
.checkout-card h1 { margin: 1.5rem 0; font-size: clamp(4rem, 6.8vw, 7.5rem); line-height: .88; }
.checkout-card h2 { font-size: 2rem; }
.checkout-card #summary { padding-top: 1.1rem; border-top: 1px solid #536b58; }
.checkout-card .price { margin: .5rem 0 1rem; font-size: 1.5rem; font-weight: 650; }
.checkout-card .button { margin-top: 1.25rem; }
.checkout-photo img { width: 100%; height: 100%; min-height: 27rem; object-fit: cover; object-position: center top; }

.admin-page h2 { margin-top: 2rem; font-size: clamp(2.3rem, 4vw, 3.2rem); }
#admin-status, #lead-count { margin-block: .75rem; line-height: 1.5; }
.admin-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; margin-block: 1rem; }
.admin-controls label { display: grid; gap: .35rem; max-width: 100%; font-weight: 650; }
.admin-controls input, .admin-controls select {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid var(--border-light);
  border-radius: .4rem;
  background: #fff;
  color: var(--text);
}
.admin-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.admin-summary > section { padding: 1rem; border: 1px solid var(--rule-light); border-radius: .65rem; background: #fff; overflow-wrap: anywhere; }
.admin-summary ul { margin-bottom: 0; padding-inline-start: 1.25rem; }
.admin-summary li, .admin-summary p { margin-top: .4rem; line-height: 1.45; }
.admin-table { overflow-x: auto; }
.admin-table table { width: 100%; border-collapse: collapse; text-align: left; background: #fff; }
.admin-table caption { padding-block: .5rem; text-align: left; }
.admin-table th { color: var(--on-dark); background: var(--forest); }
.admin-table th, .admin-table td { min-width: 8rem; padding: .75rem; border-bottom: 1px solid var(--rule-light); vertical-align: top; overflow-wrap: anywhere; }
.admin-table .lead-highlight { background: #e6f4e8; }
.admin-table td:first-child { min-width: 12rem; }
.admin-table .button { display: flex; min-height: 44px; margin-block: .35rem; padding: .4rem .75rem; }

/* Até 1079 px: tablet */
@media (max-width: 1079px) {
  .modalidades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modalidade-media { aspect-ratio: 4 / 3; }
  .modalidade-foto-energy { object-position: 50% 50%; }
  .estrutura-layout, .plans-head, .perguntas-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* No tablet o texto ocupa quase toda a largura: o escurecimento fica forte em toda a foto. */
  .hero::before {
    background:
      linear-gradient(90deg, rgb(6 12 9 / 95%) 0%, rgb(6 12 9 / 88%) 62%, rgb(6 12 9 / 74%) 100%),
      linear-gradient(0deg, rgb(6 12 9 / 80%) 0%, transparent 34%);
  }
  .hero-copy { max-width: 34rem; }
  .unit-layout { align-items: start; }
}

/* Até 980 px: menu recolhido no botão */
@media (max-width: 980px) {
  .main-nav { order: 4; flex-wrap: wrap; width: 100%; gap: 0 1.25rem; }
  .site-header.menu-ready .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .25rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1rem max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--ink);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 1.5rem 2rem rgb(0 0 0 / 35%);
  }
  .site-header.menu-ready.menu-open .main-nav { display: flex; }
  .site-header.menu-ready .main-nav a { min-height: 3.25rem; border-bottom: 1px solid var(--rule); color: var(--on-dark); font-size: 1.125rem; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--border-dark);
    border-radius: 50%;
    color: var(--on-dark);
    background: transparent;
  }
  .menu-toggle span, .menu-toggle span::after { width: 18px; height: 2px; background: currentColor; }
  .menu-toggle span { position: relative; transform: translateY(-3px); }
  .menu-toggle span::after { content: ""; position: absolute; left: 0; top: 6px; }
  .menu-open .menu-toggle span { transform: rotate(45deg); }
  .menu-open .menu-toggle span::after { top: 0; transform: rotate(90deg); }
}

/* Até 860 px */
@media (max-width: 860px) {
  .interest-layout { grid-template-columns: minmax(0, 1fr); }
  .estrutura { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estacionamento-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); }
}

/* Até 660 px: celular */
@media (max-width: 660px) {
  :root { --header-h: 3.75rem; }
  .brand-logo { width: 6rem; }
  .header-content { gap: 0 .6rem; }
  .header-cta { padding-inline: 1rem; }
  .section-head { display: grid; gap: .75rem; }

  /* A fachada ocupa o topo; o texto começa onde a foto já está 88% escurecida (7:1 garantido). */
  .hero-media { bottom: auto; height: min(100vw, 30rem); }
  .hero-media img { object-position: 50% 100%; }
  .hero::before {
    background: linear-gradient(180deg, transparent 0, transparent min(25vw, 7.5rem), rgb(12 18 14 / 40%) min(45vw, 13.5rem),
      rgb(12 18 14 / 88%) min(62vw, 18.6rem), var(--ink) min(80vw, 24rem));
  }
  .hero-inner { align-items: flex-end; min-height: 0; padding-block: min(62vw, 18.6rem) 2rem; }
  .hero h1 { font-size: clamp(4.1rem, 18vw, 6.4rem); }
  .hero-copy { gap: 1.1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 auto; padding-inline: 1.2rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; padding-block: 1.25rem; }
  .facts li { flex-direction: column; gap: .4rem; font-size: .875rem; }

  .modalidades { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .modalidade { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: start; gap: 1rem; }
  .modalidade-media { aspect-ratio: 4 / 5; border-radius: .7rem; }
  .modalidade-logo { left: 50%; bottom: .5rem; width: 78%; transform: translateX(-50%); }
  .selo-foto, .selo-breve { top: .45rem; left: .45rem; padding: .2rem .5rem; font-size: .75rem; }
  .modalidade h3 { font-size: 1.85rem; }
  .modalidade-texto { gap: .35rem; }

  .estrutura { gap: 0 1rem; }
  .estrutura li { flex-direction: column; align-items: flex-start; gap: .5rem; font-size: 1rem; }
  .passos { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .passos li { grid-template-columns: 2.25rem 1fr; align-items: baseline; gap: .75rem; padding-top: .75rem; }
  .passo-numero { font-size: 2rem; }
  .plan .button { white-space: normal; }

  .unit-layout { grid-template-columns: minmax(0, 1fr); }
  .unit-photo-fachada { display: none; }
  .unit-photo-salao { display: block; }
  .unit-photo-salao img { aspect-ratio: 4 / 3; }

  .estacionamento-layout { grid-template-columns: minmax(0, 1fr); }
  .estacionamento-video { width: min(100%, 20rem); }
  .links-mapa .button { flex: 1 1 100%; }

  .form-columns { grid-template-columns: minmax(0, 1fr); }
  .consent-help { margin-left: 0; }
  .photo-viewer { width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); margin-block: 1.25rem; }
  .checkout-photo { height: 12rem; }
  .checkout-photo img { min-height: 0; object-position: 50% 47%; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .brand-logo { width: 5.25rem; }
  .header-cta { padding-inline: .85rem; }
  .interest-form { padding: 1rem; }
  .estrutura { grid-template-columns: minmax(0, 1fr); }
  .estrutura li { flex-direction: row; align-items: center; }
  .modalidade { grid-template-columns: minmax(0, 1fr); }
  .modalidade-media { aspect-ratio: 4 / 3; }
  .modalidade-logo { left: 1rem; bottom: 1rem; width: 40%; transform: none; }
}

/* Movimento: só com a preferência do sistema liberada (WCAG 2.3.3). */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .header-cta, .main-nav a, .photo-toolbar button {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  }
  /* Ao sumir, a visibilidade muda só no fim do esmaecimento; ao voltar, muda na hora. */
  .whatsapp-fixed { transition: background-color .2s ease, opacity .25s ease, transform .25s ease, visibility 0s linear 0s; }
  .whatsapp-fixed.whatsapp-recolhido { transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
  .modalidade-foto { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  @media (hover: hover) {
    .modalidade:hover .modalidade-foto { transform: scale(1.04); }
  }
  /* A abertura se assenta no lugar e a linha de LED acende uma vez. O texto nunca fica invisível. */
  .hero-copy > * { animation: assentar .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(n + 3) { animation-delay: .12s; }
  .hero-facts::before { transform-origin: 50% 50%; animation: acender 1.4s .2s cubic-bezier(.3, .6, .2, 1) both; }
  @keyframes assentar {
    from { transform: translateY(1.1rem); }
    to { transform: none; }
  }
  @keyframes acender {
    from { transform: scaleX(0); opacity: .3; }
    to { transform: none; opacity: 1; }
  }
}
@media (min-width: 661px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero { view-timeline-name: --hero; }
    .hero-media {
      animation: hero-drift auto linear both;
      animation-timeline: --hero;
      animation-range: exit 0% exit 100%;
    }
    @keyframes hero-drift {
      from { transform: translateY(0); }
      to { transform: translateY(10%); }
    }
  }
}

@media (forced-colors: active) {
  .hero-facts::before, .plans-section::before, .estacionamento::before { display: none; }
  .faq summary::after { forced-color-adjust: none; color: CanvasText; border-color: CanvasText; }
}
@media print {
  .whatsapp-fixed, .menu-toggle, .hero-media, .estacionamento-video { display: none; }
  .site-header { position: static; }
}
