/* ==========================================================================
   Galápagos 302D — Praia dos Carneiros
   Identidade: verde-petróleo #035354 + branco, fotografia como cor.
   Display: Fraunces · Texto/UI: Manrope
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* cor */
  --ink:          #04211F;
  --ink-soft:     #41544F;
  --petrol:       #035354;
  --petrol-deep:  #022F31;
  --petrol-lite:  #0E7C7B;
  --white:        #FFFFFF;
  --surface:      #FFFFFF;
  --surface-2:    #EEF4F2;
  --line:         #D9E4E0;
  --line-dark:    rgba(255,255,255,.18);

  /* tipografia */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui:      "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(3.1rem, 10.5vw, 8rem);
  --fs-h2:      clamp(2rem, 4.2vw, 3.25rem);
  --fs-h3:      clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-lead:    clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-label:   0.75rem;

  /* espaço */
  --s1: .5rem;  --s2: 1rem;   --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem;   --s6: 4rem;   --s7: 6rem;
  --section-y: clamp(4rem, 8.5vw, 7.5rem);
  --wrap: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* forma e movimento */
  --r-sm: 2px;
  --r-md: 3px;
  --shadow: 0 18px 50px -18px rgba(3,47,49,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 260ms;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

p { margin: 0 0 var(--s3); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection { background: var(--petrol); color: var(--white); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--petrol-lite);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--petrol); color: var(--white);
  padding: var(--s2) var(--s3); font-weight: 600;
}
.skip:focus { left: var(--s2); top: var(--s2); }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 var(--s3);
  color: var(--petrol);
}
.eyebrow--light { color: rgba(255,255,255,.72); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink);
}

.muted { color: var(--ink-soft); }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 4. Seções ---------- */
.section { padding-block: var(--section-y); }
/* compensa o cabeçalho fixo ao pular por links âncora */
.section[id], [id="topo"], [id="reservar"] { scroll-margin-top: 84px; }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--petrol-deep); color: var(--white); }
.section--dark .muted { color: rgba(255,255,255,.7); }
.section--dark .lead { color: rgba(255,255,255,.88); }

.section__head { max-width: 62ch; margin-bottom: var(--s6); }
.section__head h2 { font-size: var(--fs-h2); margin-bottom: var(--s3); }
.section__head p:last-child { margin-bottom: 0; }

/* ---------- 5. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .85em 1.7em;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--petrol-lite); }

.btn--ghost { background: transparent; color: var(--petrol); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--petrol); background: var(--surface-2); }

.btn--light { background: var(--white); color: var(--petrol-deep); }
.btn--light:hover { background: rgba(255,255,255,.86); }

.btn--block { width: 100%; }

/* ---------- 6. Cabeçalho ---------- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 90;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.header__bar {
  display: flex; align-items: center; gap: var(--s4);
  min-height: 74px;
}
.header__brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; margin-inline-end: auto;
}
.plate {
  display: grid; place-items: center; align-content: center;
  width: 44px; height: 44px; flex: none;
  border: 1px solid currentColor;
  font-family: var(--font-display);
  line-height: .98;
}
.plate b { font-weight: 400; font-size: .95rem; letter-spacing: .01em; }
.plate i {
  font-style: normal; font-size: .58rem;
  letter-spacing: .18em; text-indent: .18em; opacity: .78;
}
.header__name { display: grid; line-height: 1.25; }
.header__name b {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.15rem; letter-spacing: -.01em;
}
.header__name span {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  opacity: .72;
}

.nav { display: flex; align-items: center; gap: var(--s4); }
.nav a {
  font-size: var(--fs-sm); text-decoration: none;
  padding-block: .35em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  opacity: .85;
}
.nav a:hover { opacity: 1; border-bottom-color: currentColor; }

/* estado sobre a foto do hero */
.header[data-mode="over"] { color: var(--white); }
.header[data-mode="over"] .btn--primary { background: var(--white); color: var(--petrol-deep); }
.header[data-mode="over"] .btn--primary:hover { background: rgba(255,255,255,.85); }

/* estado após rolagem */
.header[data-mode="solid"] {
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.header__cta { display: inline-flex; }

@media (max-width: 940px) {
  .nav, .header__cta { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex; align-items: flex-end;
  isolation: isolate;
  padding-block: 8rem var(--s6);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top,
      rgba(2,32,34,.94) 0%, rgba(2,32,34,.86) 18%,
      rgba(2,32,34,.62) 40%, rgba(2,32,34,.24) 62%, rgba(2,32,34,.04) 80%),
    linear-gradient(to bottom, rgba(2,32,34,.55) 0%, transparent 24%);
}
@media (max-width: 760px) {
  .hero__scrim {
    background:
      linear-gradient(to top,
        rgba(2,32,34,.95) 0%, rgba(2,32,34,.9) 30%,
        rgba(2,32,34,.7) 52%, rgba(2,32,34,.3) 72%, rgba(2,32,34,.06) 88%),
      linear-gradient(to bottom, rgba(2,32,34,.6) 0%, transparent 22%);
  }
}
.hero__inner { position: relative; }

.hero__title {
  font-size: var(--fs-display);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  letter-spacing: -.035em;
  margin-bottom: var(--s3);
  text-wrap: balance;
}
.hero__title .sub {
  display: block;
  font-family: var(--font-ui);
  font-size: clamp(.72rem, 1.35vw, .88rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-top: var(--s3);
  color: rgba(255,255,255,.88);
  max-width: 46ch;
  text-wrap: balance;
}

.hero__lead {
  max-width: 56ch;
  margin-bottom: var(--s3);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(255,255,255,.9);
}
@media (max-width: 760px) {
  .hero__lead { font-size: .9rem; margin-bottom: var(--s2); }
}

.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  list-style: none; margin: 0; padding: 0;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.9);
}
.hero__facts li { display: flex; align-items: center; gap: .55rem; }
.hero__facts li + li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.45); margin-inline-end: .35rem;
}

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: var(--s6);
  writing-mode: vertical-rl;
  font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: var(--s2);
  text-decoration: none;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
}
@media (max-width: 940px) { .hero__scroll { display: none; } }

/* ---------- 8. Consulta de disponibilidade ---------- */
.avail-shell { position: relative; z-index: 5; margin-top: -3.25rem; }
.avail {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: var(--s4);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr)) auto;
  gap: var(--s3);
  align-items: end;
}
.field { display: grid; gap: .4rem; min-width: 0; }
.field > label {
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .72rem .85rem;
  min-height: 48px;
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--petrol-lite); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(14,124,123,.16);
}
.field__help { font-size: .8rem; color: var(--ink-soft); }
.field__error { font-size: .8rem; color: #B4231F; font-weight: 600; min-height: 0; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select { border-color: #B4231F; }

.avail__note {
  grid-column: 1 / -1;
  font-size: .8rem; color: var(--ink-soft);
  margin: 0; padding-top: var(--s1);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .avail { grid-template-columns: 1fr 1fr; }
  .avail .field--guests { grid-column: 1 / -1; }
  .avail .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .avail-shell { margin-top: -1.5rem; }
  .avail { grid-template-columns: 1fr; padding: var(--s3); }
}

/* ---------- 9. Resposta direta + specs ---------- */
.answer { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s6); align-items: start; }
@media (max-width: 900px) { .answer { grid-template-columns: 1fr; gap: var(--s5); } }

.answer h2 { font-size: var(--fs-h2); margin-bottom: var(--s4); text-wrap: balance; }

.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3);
  padding-block: .85rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.specs dt, .specs .k { color: var(--ink-soft); }
.specs .v { font-weight: 600; text-align: right; }

/* ---------- 10. A régua de distâncias (elemento-assinatura) ---------- */
.scale { margin-top: var(--s6); }
.scale__track {
  position: relative;
  height: 244px;
  margin-top: var(--s4);
}

/* faixa "à beira-mar" — acima dos números, sem colidir com os rótulos */
.scale__zone {
  position: absolute; top: 0; left: 0; width: 17%; height: 16px;
  background: rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.45);
  border-right: 1px dashed rgba(255,255,255,.28);
}
.scale__zone span {
  position: absolute; top: 0; left: calc(100% + .8rem);
  line-height: 16px;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); white-space: nowrap;
}

/* marcas menores a cada 100 m */
.scale__minor {
  position: absolute; top: 96px; left: 0; right: 0; height: 8px;
  background-image: repeating-linear-gradient(
    to right, rgba(255,255,255,.34) 0 1px, transparent 1px 20%);
}

.scale__line {
  position: absolute; inset-inline: 0; top: 104px; height: 1px;
  background: rgba(255,255,255,.4);
  transform-origin: left center;
}
.scale__stop { position: absolute; top: 0; left: var(--at); width: 0; }
.scale__tick {
  position: absolute; top: 90px; left: 0; width: 1px; height: 29px;
  background: rgba(255,255,255,.9);
}
.scale__m {
  position: absolute; top: 40px; left: 0;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1;
  white-space: nowrap;
}
.scale__label {
  position: absolute; top: 130px; left: 0;
  transform: translateX(-50%);
  width: 17ch; text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: rgba(255,255,255,.78);
}
.scale__stop--start .scale__m,
.scale__stop--start .scale__label { transform: none; text-align: left; }
.scale__stop--end .scale__m,
.scale__stop--end .scale__label { transform: translateX(-100%); text-align: right; }

/* 400 m e 500 m ficam a 20% de distância: escalona o rótulo do meio
   para os dois caberem sem colidir */
.scale__stop--mid .scale__label { top: 176px; }
.scale__stop--mid .scale__tick { height: 78px; }

.scale__foot {
  margin-top: var(--s4);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.72);
}

@media (max-width: 780px) {
  .scale__track { height: auto; margin-top: var(--s4); padding-left: 1.5rem; }
  .scale__line { top: 0; bottom: 0; left: 0; right: auto; width: 1px; height: auto; }
  .scale__minor { display: none; }
  .scale__zone {
    position: relative; top: 0; left: 0; width: auto; height: auto;
    border: 0; background: none;
    padding: 0 0 1.25rem;
  }
  .scale__zone span {
    position: static; display: block; left: auto; line-height: 1.5;
    white-space: normal;
  }
  .scale__stop {
    position: relative; left: 0 !important; width: auto;
    padding: 0 0 1.75rem;
    display: grid; gap: .15rem;
  }
  .scale__stop--mid .scale__label { top: auto; }
  .scale__tick,
  .scale__stop--mid .scale__tick { top: .8rem; left: -1.5rem; width: 1rem; height: 1px; }
  .scale__m, .scale__label {
    position: static; transform: none !important; text-align: left !important;
    width: auto;
  }
  .scale__m { font-size: 1.6rem; }
}

/* ---------- 11. Galeria ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s5); }
.tab {
  appearance: none; background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .6rem 1.15rem;
  min-height: 44px;
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.tab:hover { border-color: var(--petrol); color: var(--petrol); }
.tab[aria-selected="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--white); }

/* Mosaico de linhas fixas: a altura vem do número de linhas ocupadas,
   nunca de aspect-ratio no item (que brigaria com o grid-row: span). */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(132px, 13.5vw, 205px);
  gap: var(--s2);
}
.mosaic figure {
  margin: 0; position: relative; overflow: hidden;
  background: var(--surface-2);
  grid-column: span 1; grid-row: span 1;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.mosaic figure:hover img { transform: scale(1.035); }
.mosaic figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.75rem 1rem .85rem;
  font-size: .8rem; letter-spacing: .04em;
  color: var(--white);
  background: linear-gradient(to top, rgba(2,32,34,.82), rgba(2,32,34,.35) 55%, transparent);
}
.mosaic .t-2 { grid-column: span 2; }
.mosaic .t-3 { grid-column: span 3; }
.mosaic .r-2 { grid-row: span 2; }

/* Tablet: grade uniforme de 2 colunas — todos os tiles 1x1, sem buracos
   de posicionamento automático. */
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 24vw, 215px); }
  .mosaic .t-2, .mosaic .t-3 { grid-column: span 1; }
  .mosaic .r-2 { grid-row: span 1; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mosaic figure {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 4 / 3;
  }
  .mosaic .m-portrait { aspect-ratio: 3 / 4; }
}

.gallery__panel[hidden] { display: none; }

/* ---------- 12. Listas de itens (amenidades / lazer) ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s5) var(--s4); }

.group h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--s2);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}
.section--dark .group h3 { border-bottom-color: var(--line-dark); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.ticks svg { width: 15px; height: 15px; flex: none; margin-top: .35em; color: var(--petrol-lite); }

/* ---------- 13. Cards de destaque (condomínio) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s2); }
.feature {
  position: relative; overflow: hidden;
  /* isolation cria o contexto de empilhamento do card: sem isso os filhos
     com z-index negativo ficam atrás do fundo da seção e somem */
  isolation: isolate;
  aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end;
  color: var(--white);
  text-decoration: none;
  background: var(--petrol-deep);
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease); }
.feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(2,32,34,.85) 8%, rgba(2,32,34,.15) 60%, transparent);
}
.feature:hover img { transform: scale(1.04); }
.feature__body { padding: var(--s3); position: relative; }
.feature__body h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.feature__body p { font-size: var(--fs-sm); color: rgba(255,255,255,.82); margin: 0; }

/* ---------- 14. Bloco dividido (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--s4); }
  .split__media img { aspect-ratio: 4/3; }
}

/* ---------- 15. Anfitriões ---------- */
.hosts { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s6); align-items: center; }
@media (max-width: 900px) { .hosts { grid-template-columns: 1fr; gap: var(--s4); } }
.hosts__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-top: var(--s4);
}
.hosts__meta { font-size: .82rem; color: var(--ink-soft); margin-top: var(--s2); }

/* ---------- 16. FAQ ---------- */
.faq { max-width: 62rem; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3);
  padding-block: 1.35rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-top: .45em;
  width: 13px; height: 13px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--petrol); }
.faq__a { padding-bottom: 1.5rem; }
.faq__a p { font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- 17. CTA final ---------- */
.cta-final { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
@media (max-width: 900px) { .cta-final { grid-template-columns: 1fr; gap: var(--s5); } }
.cta-final h2 { font-size: var(--fs-h2); margin-bottom: var(--s3); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.section--dark .field > label { color: rgba(255,255,255,.72); }
.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea {
  background: rgba(255,255,255,.06);
  border-color: var(--line-dark);
  color: var(--white);
}
.section--dark .field input::placeholder,
.section--dark .field textarea::placeholder { color: rgba(255,255,255,.45); }
.section--dark .field input:focus,
.section--dark .field select:focus,
.section--dark .field textarea:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,.14);
}
.section--dark .field__help { color: rgba(255,255,255,.6); }
.section--dark .field option { color: var(--ink); }

.contact-list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.contact-list a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list svg { width: 17px; height: 17px; flex: none; opacity: .75; }

/* ---------- 18. Rodapé ---------- */
.footer { background: var(--petrol-deep); color: rgba(255,255,255,.72); padding-block: var(--s6) var(--s5); font-size: var(--fs-sm); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid var(--line-dark); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: var(--s4); } }
.footer h3 {
  font-family: var(--font-ui); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--white);
  margin-bottom: var(--s2);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__brand { display: flex; align-items: center; gap: .75rem; color: var(--white); margin-bottom: var(--s3); text-decoration: none; }
.footer__bottom { padding-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); justify-content: space-between; font-size: .8rem; }

/* ---------- 19. Barra fixa mobile ---------- */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  display: none;
  gap: var(--s2);
  padding: .7rem var(--s2) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.dock .btn { flex: 1; padding-inline: .8em; font-size: .875rem; white-space: nowrap; }
@media (max-width: 940px) {
  .dock { display: flex; }
  body { padding-bottom: 86px; }
}

/* ---------- 20. Revelações em scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* o prefixo .js garante que nada fica invisível se o site.js não carregar */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: var(--delay, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .scale__line { transform: scaleX(0); transition: transform 1100ms var(--ease) 120ms; }
  .js .is-in .scale__line, .js .scale.is-in .scale__line { transform: scaleX(1); }

  .hero__title, .hero__facts, .hero .eyebrow {
    animation: rise 900ms var(--ease) both;
  }
  .hero .eyebrow { animation-delay: 60ms; }
  .hero__title { animation-delay: 140ms; }
  .hero__facts { animation-delay: 320ms; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- 21. Impressão ---------- */
@media print {
  .header, .dock, .hero__scroll, .avail-shell { display: none !important; }
  body { color: #000; }
  .section--dark { background: #fff; color: #000; }
}
