/* ==========================================================================
   Mariana Ribeiro · Psicóloga e Mentora
   Design system "A Travessia": da noite (navy) ao amanhecer (bege).
   Toda cor do site vem da paleta da marca ou de misturas dela.
   ========================================================================== */

/* ---------- 01. Fontes (self-hosted, variáveis) ----------
   Boska e Switzer são da Indian Type Foundry (Fontshare), licença ITF FFL:
   uso comercial e self-hosting permitidos (cópia em tools/). */
@font-face {
  font-family: "Boska";
  src: url("../assets/fonts/Boska-Variable.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Boska";
  src: url("../assets/fonts/Boska-VariableItalic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- 02. Tokens ---------- */
:root {
  /* Paleta da marca */
  --navy: #243746;          /* Pantone 7546 C */
  --abyss: #19322F;         /* Pantone 5467 C */
  --beige: #E1C19E;         /* Pantone 726 C */
  --terracotta: #9A552B;    /* Pantone 7516 C */
  --white: #FFFFFF;

  /* Misturas da própria paleta (nenhuma cor nova) */
  --linen: color-mix(in oklab, var(--beige) 14%, var(--white));
  --sand: color-mix(in oklab, var(--beige) 42%, var(--white));
  --navy-2: color-mix(in oklab, var(--navy) 92%, var(--white));
  --navy-deep: color-mix(in oklab, color-mix(in oklab, var(--navy) 78%, var(--abyss)) 88%, #000);
  --dawn: color-mix(in oklab, var(--navy) 50%, var(--beige));

  /* Tipografia */
  --serif: "Boska", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-d1: clamp(2.9rem, 1.4rem + 3.6vw, 5rem);
  --fs-d2: clamp(2.5rem, 1.6rem + 3.3vw, 4.6rem);
  --fs-d3: clamp(1.95rem, 1.45rem + 1.9vw, 3.1rem);
  --fs-d4: clamp(1.5rem, 1.28rem + .85vw, 2.05rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
  --fs-body: clamp(1.0625rem, 1rem + .22vw, 1.1875rem);
  --fs-small: clamp(.95rem, .92rem + .12vw, 1.02rem);
  --fs-label: .75rem;

  /* Espaço */
  --gutter: clamp(1.5rem, 4vw, 3rem);
  --maxw: 1240px;
  --section: clamp(5.5rem, 10vw, 10rem);
  --bridge: clamp(3rem, 7vw, 7.5rem);   /* quanto a "ponte" invade a seção anterior */
  --header-h: 76px;

  /* Movimento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --t-fast: 220ms;
  --t-med: 480ms;
  --t-slow: 1100ms;

  --z-header: 50;
  --z-float: 40;
  --z-menu: 60;
  --z-skip: 100;
}

/* ---------- 03. Temas de seção ----------
   Cada seção declara data-theme. As variáveis abaixo trocam juntas, então
   qualquer componente funciona em qualquer fundo.
   Contrastes conferidos: ver LEIA-ME, seção "Cores". */
[data-theme="night"], [data-theme="abyss"], [data-theme="night-2"] {
  --bg: var(--navy);
  --fg: var(--white);
  --fg-2: color-mix(in oklab, var(--white) 78%, var(--navy));   /* 8.1:1 */
  --accent: var(--beige);                                        /* 7.2:1 */
  --line: color-mix(in oklab, var(--beige) 28%, transparent);
  --line-strong: color-mix(in oklab, var(--beige) 55%, transparent);
  --btn-bg: var(--beige);
  --btn-fg: var(--navy);
  --focus: var(--beige);
  color-scheme: dark;
}
[data-theme="night-2"] { --bg: var(--navy-2); }
[data-theme="abyss"] { --bg: var(--navy-deep); }

[data-theme="linen"], [data-theme="white"], [data-theme="sand"] {
  --bg: var(--linen);
  --fg: var(--navy);                                             /* 11.5:1 */
  --fg-2: color-mix(in oklab, var(--navy) 80%, var(--linen));    /* ~6:1 */
  --accent: var(--terracotta);                                   /* 5.3:1 */
  --line: color-mix(in oklab, var(--navy) 16%, transparent);
  --line-strong: color-mix(in oklab, var(--navy) 38%, transparent);
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --focus: var(--terracotta);
  color-scheme: light;
}
[data-theme="white"] { --bg: var(--white); }
[data-theme="sand"] {
  --bg: var(--sand);
  --fg-2: color-mix(in oklab, var(--navy) 86%, var(--sand));
  --accent: var(--terracotta);                                   /* 4.6:1 */
}

[data-theme] { background-color: var(--bg); color: var(--fg); }

/* ---------- 04. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--navy);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  color: var(--fg, var(--navy));
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
::selection { background: var(--beige); color: var(--navy); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--focus, var(--beige));
  outline-offset: 3px;
  border-radius: 2px;
}

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }   /* símbolos embutidos (tools/inline_icons.py) */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: var(--z-skip);
  padding: 12px 20px; background: var(--beige); color: var(--navy);
  font-weight: 600; font-size: var(--fs-small); text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: none; }

/* Textura: grão fino de papel sobre a tela inteira. Une as fotos de estúdio
   e de celular e tira o ar "digital" das cores chapadas. É um SVG de ruído
   embutido (sem arquivo extra), fixo na tela e transparente a cliques. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: var(--grain, .055);
  transform: translateZ(0);
}

/* ---------- 05. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }

/* ---------- 06. Tipografia ----------
   Sem enunciados (eyebrows) acima dos títulos: o título abre a seção.
   Assinaturas e legendas usam a serifa em itálico, em caixa normal. */
.cite {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
  line-height: 1.4;
  color: var(--fg-2);
  font-variant-numeric: lining-nums;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.018em;
  color: var(--fg);
  text-wrap: balance;
}
.display em, .quote em, .accent {
  font-style: italic;
  color: var(--accent);
}
.d1 { font-size: var(--fs-d1); line-height: 1.02; }
.d2 { font-size: var(--fs-d2); }
.d3 { font-size: var(--fs-d3); line-height: 1.12; }
.d4 { font-size: var(--fs-d4); line-height: 1.2; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 38em;
}
.muted { color: var(--fg-2); }
.measure { max-width: 36em; }
.small { font-size: var(--fs-small); }

.display, .quote, .stat__value, .relato__text, .qa__a, .path__title, .spec__value, .trail__step h3, .get strong, .hero__meta strong, .num, .belief__text, .faq summary, .pillar h3, .phase h3, .lk-row__t {
  font-variant-numeric: lining-nums tabular-nums;
}
.num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- 07. Botões ---------- */
.btn {
  --_bg: var(--btn-bg);
  --_fg: var(--btn-fg);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  min-height: 54px;
  padding: .95rem 1.75rem;
  border: 1px solid var(--_bg);
  border-radius: 999px;
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-fast) var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--_fg);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform var(--t-med) var(--ease);
}
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--t-med) var(--ease); }
@media (hover: hover) {
  .btn:hover { color: var(--_bg); }
  .btn:hover::before { transform: none; }
  .btn:hover .icon--go { transform: translateX(4px); }
}
.btn:active { transform: scale(.98); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost::before { background: var(--fg); }
@media (hover: hover) { .btn--ghost:hover { color: var(--bg); border-color: var(--fg); } }

.btn--terracotta { --_bg: var(--terracotta); --_fg: var(--white); }
.btn--block { width: 100%; }

.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn[aria-busy="true"]::after {
  content: ""; width: 1rem; height: 1rem; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--fg);
  padding-block: .6rem;
  min-height: 44px;
}
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t-med) var(--ease); padding-bottom: 2px; }
.link-arrow .icon { color: var(--accent); transition: transform var(--t-med) var(--ease); }
@media (hover: hover) {
  .link-arrow:hover span { background-size: 100% 1px; }
  .link-arrow:hover .icon { transform: translateX(5px); }
}

.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; }

/* ---------- 08. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  color: var(--white);
  transition: background-color var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.site-header[data-theme] { background-color: transparent; }
.site-header[data-tone="light"]:not(.is-solid) { color: var(--navy); --btn-bg: var(--navy); --btn-fg: var(--white); --focus: var(--terracotta); }
.site-header[data-tone="light"]:not(.is-solid) .brand,
.site-header[data-tone="light"]:not(.is-solid) .menu-toggle { color: var(--navy); }
.site-header[data-tone="light"]:not(.is-solid) .nav__links a { color: var(--navy); }
.site-header[data-tone="light"]:not(.is-solid) .nav__links a::after { background: var(--terracotta); }
.site-header[data-tone="light"]:not(.is-solid) .nav__links a[aria-current="page"] { color: var(--terracotta); }
.site-header .brand, .site-header .nav__links a, .site-header .menu-toggle { transition: color var(--t-med) var(--ease); }
.site-header.is-solid {
  background: color-mix(in oklab, var(--navy) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--beige) 18%, transparent);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .85rem;
  color: var(--beige); text-decoration: none;
  min-height: 44px;
}
/* Logos em <img> SVG já coloridas (assets/brand/*-navy.svg e *-beige.svg):
   funcionam até abrindo o HTML direto do disco. Nos heros claros o topo usa
   a versão navy até a página rolar. */
.brand__symbol { width: 38px; height: 38px; }
.brand__word { width: auto; height: 18px; }
.brand .on-light { display: none; }
.site-header[data-tone="light"]:not(.is-solid) .brand .on-light { display: block; }
.site-header[data-tone="light"]:not(.is-solid) .brand .on-dark { display: none; }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  position: relative;
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: color-mix(in oklab, var(--white) 86%, var(--navy));
  padding-block: .8rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 1px;
  background: var(--beige); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--beige); }
.nav .btn { min-height: 46px; padding: .7rem 1.3rem; font-size: .7rem; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -10px;
  border: 0; background: none; color: var(--beige);
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 28px; height: 28px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--navy);
  color: var(--white);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) max(2rem, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__links { margin-top: 6vh; display: grid; gap: .25rem; }
.mobile-menu__links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .7rem 0;
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.1;
  text-decoration: none; color: var(--white);
  border-bottom: 1px solid color-mix(in oklab, var(--beige) 18%, transparent);
  transform: translateY(14px); opacity: 0;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease);
}
.mobile-menu__links a .num { font-size: 1rem; }
.mobile-menu.is-open .mobile-menu__links a { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 120ms; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: 180ms; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 1.25rem; padding-top: 2rem; }
.mobile-menu__foot p { font-size: var(--fs-small); color: color-mix(in oklab, var(--white) 70%, var(--navy)); margin: 0; }

body.menu-open { overflow: hidden; }

/* ---------- 09. Hero ----------
   A foto é o fundo inteiro da dobra, com a Mariana no centro-direita.
   Um véu na cor da seção (linho nos heros claros, navy nos escuros) cobre
   a esquerda e vai abrindo até a direita: o texto vive na parte coberta. */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vh, 3rem));
  padding-bottom: clamp(3rem, 7vh, 5rem);
  display: flex; align-items: center;
  overflow: clip;
  isolation: isolate;
  --scrim: color-mix(in oklab, var(--bg) 94%, transparent);
  --scrim-mid: color-mix(in oklab, var(--bg) 62%, transparent);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim) 24%, var(--scrim-mid) 42%, transparent 64%);
}
.hero[data-theme="night"]::before {
  background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim) 30%, var(--scrim-mid) 50%, transparent 72%);
}
.hero--plain::before { display: none; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: var(--pos, 72% 30%); }
.hero__grid { display: block; }
.hero__copy { position: relative; z-index: 2; max-width: 41rem; }
.hero__copy .display { margin-bottom: clamp(1.1rem, 2.4vh, 1.6rem); }
.hero__copy .lead { margin-bottom: clamp(1.5rem, 3.4vh, 2.4rem); max-width: 31em; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .75rem 0;
  margin-top: clamp(2rem, 4.5vh, 3.25rem); padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}
.hero__meta li {
  padding-right: 1.4rem; margin-right: 1.4rem;
  border-right: 1px solid var(--line);
  font-size: .78rem; line-height: 1.35; color: var(--fg-2);
}
.hero__meta li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__meta strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.65rem; line-height: 1.05; color: var(--fg); letter-spacing: -.01em; margin-bottom: .15rem; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: clamp(1rem, 3vh, 2rem);
  display: none;
}

/* Céu: lua, brilho e estrelas */
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent 96%); mask-image: linear-gradient(#000 55%, transparent 96%); }
.sky__glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--beige) 16%, transparent), transparent 70%);
}
.sky__stars { position: absolute; inset: 0; opacity: .55; }
.sky__stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--beige);
  animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
.moon {
  position: absolute; z-index: 3;
  width: clamp(72px, 9vw, 128px);
  color: var(--beige);
  will-change: transform;
}

/* ---------- 10. Fotos de seção (retângulo com filete deslocado) ---------- */
.photo { position: relative; aspect-ratio: 4 / 5; isolation: isolate; }
.photo__img {
  position: absolute; inset: 0;
  overflow: hidden;
  background: color-mix(in oklab, var(--beige) 30%, var(--navy));
}
.photo__img img, .photo__img picture { display: block; width: 100%; height: 100%; }
.photo__img img { object-fit: cover; }
.photo--frame::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--line-strong);
}
.photo--wide { aspect-ratio: 16 / 9; }

/* ---------- 11. Transições: corte seco e ponte ----------
   As seções trocam de cor sem degradê, como páginas de uma revista.
   Nas viradas principais da noite para o dia, um elemento atravessa a
   divisa: a foto do "sobre" (Home) sobe para a seção escura e o formulário
   da aplicação começa sobre o céu. */
.about.about--bridge { align-items: start; }
.about--bridge .about__media {
  margin-top: calc((var(--section) + var(--bridge)) * -1);
  position: sticky; top: calc(var(--header-h) + 2rem);
}
.page-hero.page-hero--bridge { padding-bottom: calc(clamp(3rem, 6vw, 5rem) + var(--bridge)); }
.form-shell--bridge { top: calc(var(--bridge) * -1); margin-bottom: calc(var(--bridge) * -1); }   /* deslocamento relativo: não colapsa margem com a seção */

/* Foto-sombra (Club): foto do banco em duotone azul, só de fundo, como uma
   sombra. Fica atrás dos títulos grandes e se esfuma para o lado do texto
   miúdo, que fica sobre o azul liso. Imagens: duo-* (tools/build_images.py). */
.has-shade { isolation: isolate; overflow: clip; }
.shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shade picture, .shade img { display: block; width: 100%; height: 100%; }
.shade img { object-fit: cover; object-position: var(--shade-pos, 50% 25%); }
.shade--left {
  right: auto; width: 52%;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 96%);
  mask-image: linear-gradient(90deg, #000 30%, transparent 96%);
}
.shade--top {
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 10%, transparent 72%);
}
@media (max-width: 1024px) {
  .shade--left {
    width: 100%; height: 75%;
    -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 95%);
    mask-image: linear-gradient(180deg, #000 25%, transparent 95%);
  }
}

/* Grafismo: o símbolo da marca (veleiro e lua), grande e bem suave, ocupa
   o espaço sob os títulos das colunas fixas e fica atrás do CTA final. */
.deco-mark { display: block; width: min(64%, 280px); height: auto; margin-top: clamp(2.5rem, 5vw, 4.5rem); opacity: .1; pointer-events: none; user-select: none; }
[data-theme="night"] .deco-mark, [data-theme="night-2"] .deco-mark { opacity: .16; }
.dawn { isolation: isolate; overflow: clip; }
.deco-mark--bg {
  position: absolute; z-index: -1; left: 50%; top: 50%; margin: 0;
  width: min(92vw, 620px); translate: -50% -50%; opacity: .07;
}
@media (max-width: 1024px) {
  .sticky > .deco-mark, .split > div > .deco-mark { display: none; }
}

/* ---------- 12. Títulos de seção ---------- */
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 46rem; }
.section-head--center { text-align: center; justify-items: center; margin-inline: auto; }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end; gap: 2rem 4rem;
}

/* ---------- 13. Caminhos (Home) ---------- */
.paths { border-top: 1px solid var(--line); }
.path {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--fg);
  isolation: isolate;
}
.path::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: color-mix(in oklab, var(--beige) 6%, transparent);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.path__num { font-size: clamp(2.6rem, 4vw, 3.6rem); }
.path__title { font-family: var(--serif); font-size: var(--fs-d3); line-height: 1.05; }
.path__desc { color: var(--fg-2); font-size: clamp(1rem, .95rem + .2vw, 1.1rem); line-height: 1.7; max-width: 30rem; }
.path__go {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.path__go .icon { width: 22px; height: 22px; }
.path__cta { display: none; }
@media (hover: hover) and (min-width: 1025px) {
  .path:hover::before { opacity: 1; }
  .path:hover .path__go { background: var(--beige); color: var(--navy); border-color: var(--beige); transform: rotate(-45deg); }
}

/* ---------- 14. Sobre / números ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.about__media { width: min(100%, 460px); justify-self: center; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  margin-block: 2.5rem;
}
.stat { padding: 1.5rem 1.25rem 1.5rem 0; }
.stat dd, .stat dt { margin: 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat__value { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--fg); }
.stat__value em { font-style: italic; color: var(--accent); }
.stat__label { display: block; margin-top: .6rem; font-size: .78rem; letter-spacing: .06em; color: var(--fg-2); line-height: 1.45; }
.creds { display: grid; gap: 0; border-top: 1px solid var(--line); }
.creds li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-small); color: var(--fg-2);
}
.creds li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; border: 1px solid var(--accent); translate: 0 -2px; }

/* ---------- 15. Citação ---------- */
.quote {
  font-family: var(--serif);
  font-size: var(--fs-d2);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--fg);
}
.quote--md { font-size: var(--fs-d3); }
.quote-block { position: relative; text-align: center; max-width: 60rem; margin-inline: auto; }
.quote-block .quote::before {
  content: "\201C"; display: block;
  font-size: 1.6em; line-height: .6; height: .45em;
  color: var(--accent); font-style: italic;
}
.quote-block figcaption { margin-top: 2rem; }
.quote-mark { width: 44px; height: auto; margin: 0 auto 1.5rem; color: var(--accent); }

/* ---------- 16. Relatos ---------- */
.relatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.relato {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}
.relato__text {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + .7vw, 1.65rem);
  line-height: 1.32;
  color: var(--fg);
}
.relato__text mark { background: none; color: var(--accent); font-style: italic; }
.relato__who { margin-top: auto; font-size: .78rem; letter-spacing: .08em; color: var(--fg-2); }
.relato__who strong { display: block; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; color: var(--fg); margin-bottom: .2rem; }

/* Relato em pergunta → resposta (Programa) */
.qa { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.qa__item {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1rem 3rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}
.qa__q { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; color: var(--fg-2); font-weight: 500; }
.qa__q span { display: block; margin-bottom: .75rem; }
.qa__a { font-family: var(--serif); font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); line-height: 1.35; }
.qa__a p + p { margin-top: 1rem; }
.qa__a .tag { display: block; margin-top: 1.25rem; font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; color: var(--fg-2); }

/* ---------- 17. Diário dos encontros (galeria) ---------- */
.diary {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1.3fr 1fr;
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  align-items: center;
  width: min(100vw - var(--gutter) * 2, 1520px);
  margin-inline: calc((min(100vw - var(--gutter) * 2, 1520px) - 100%) / -2);
}
.diary figure:nth-child(odd) { translate: 0 var(--lift, 0); }
.diary figure:nth-child(1) { --lift: -1.5rem; }
.diary figure:nth-child(5) { --lift: 1.5rem; }
.diary figure { position: relative; overflow: hidden; border-radius: 2px; }
.diary figure:nth-child(odd) { aspect-ratio: 4 / 5; }
.diary figure:nth-child(even) { aspect-ratio: 3 / 2.4; }
.diary img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .diary figure:hover img { transform: scale(1.04); } }
.diary figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem .8rem;
  background: linear-gradient(transparent, color-mix(in oklab, var(--navy) 72%, transparent));
  color: var(--white); font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.3;
}

/* ---------- 18. Lista com filetes ---------- */
.lined { border-top: 1px solid var(--line); }
.lined li {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  line-height: 1.5;
}
.lined li > .num { font-size: 1.5rem; }   /* 24px: texto grande (3:1), também sobre a areia com o grão */
.lined--check li { grid-template-columns: 1.75rem minmax(0, 1fr); }
.lined--check .icon { color: var(--accent); width: 1.2rem; height: 1.2rem; translate: 0 3px; }

/* ---------- 19. Duas colunas genéricas ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.split--center { align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split--wide-right { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 2rem); }

/* ---------- 20. Crenças riscadas (Liberta Club) ---------- */
.beliefs { border-top: 1px solid var(--line); counter-reset: b; }
.belief {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: baseline; gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.belief .num { font-size: 1.4rem; }
.belief__text {
  justify-self: start;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1.25;
  color: var(--fg);
  transition: color var(--t-slow) var(--ease);
}
/* O risco é um fundo no texto inline: em frases de duas linhas ele risca a
   primeira linha e depois continua na segunda, como uma caneta. */
.strike {
  --strike: 1;
  background-image: linear-gradient(var(--beige), var(--beige));
  background-repeat: no-repeat;
  background-position: 0 60%;
  background-size: calc(var(--strike) * 100%) 1.5px;
  transition: background-size 1200ms var(--ease);
}
.js .belief .strike { --strike: 0; }
.js .belief.is-struck .strike { --strike: 1; }
.belief.is-struck .belief__text, html:not(.js) .belief__text { color: var(--fg-2); }

/* ---------- 21. A Trilha (rota com veleiro) ---------- */
.trail { position: relative; --p: 1; }
.js .trail { --p: 0; }
.trail__list {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 5.5rem;
}
.trail__track {
  position: absolute; left: 0; right: 0; top: 2.6rem; height: 1px;
  background: var(--line);
}
.trail__track::before {
  content: ""; position: absolute; inset: 0;
  background: var(--beige);
  transform: scaleX(var(--p)); transform-origin: left;
}
.trail__boat {
  position: absolute; top: calc(2.6rem - 34px); left: 0;
  width: 40px; height: 40px; color: var(--beige);
  left: calc(var(--p) * (100% - 40px));
}
.trail__step { position: relative; padding-right: .5rem; }
.trail__step::before {
  content: ""; position: absolute; left: 0; top: calc(-5.5rem + 2.6rem - 4px);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--beige);
  transition: background-color var(--t-med) var(--ease);
}
.trail__step.is-on::before { background: var(--beige); }
.trail__step .num { font-size: 2.6rem; display: block; margin-bottom: .9rem; }
.trail__step h3 { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); line-height: 1.1; margin-bottom: .7rem; }
.trail__step p { color: var(--fg-2); font-size: var(--fs-small); line-height: 1.7; }
.trail__order { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); }
.trail__order .icon { width: 1rem; height: 1rem; color: var(--accent); }

/* ---------- 22. Ficha técnica ---------- */
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.spec__item { padding: 2rem 1.5rem 2rem 0; }
.spec dt, .spec dd { margin: 0; }
.spec__item + .spec__item { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.spec__item .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 1.5rem; }
.spec__label { display: block; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); margin-bottom: .5rem; font-weight: 500; }
.spec__value { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); line-height: 1.15; }
.promise {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0 0 clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--accent);
  max-width: 52rem;
}
.promise p:not(.small) { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); line-height: 1.3; }

/* ---------- 23. Tags e profissões ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .45rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .82rem; color: var(--fg); line-height: 1.3;
}
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.4rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); white-space: nowrap; color: var(--fg); display: inline-flex; align-items: center; gap: 3rem; }
.marquee__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 24. Pilares (Casa) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.pillar .photo { margin-bottom: 1.75rem; }
.pillar h3 { font-family: var(--serif); font-size: var(--fs-d3); line-height: 1; margin-bottom: .75rem; display: flex; align-items: baseline; gap: .8rem; }
.pillar h3 .num { font-size: .55em; }
.pillar p { color: var(--fg-2); }

/* Itens "o que você recebe" */
.gets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.get { padding: 2rem 1.25rem 2rem 0; }
.get + .get { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.get .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 1.25rem; }
.get strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin-bottom: .4rem; }
.get span { font-size: var(--fs-small); color: var(--fg-2); line-height: 1.6; display: block; }

.band { position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden; }
.band img, .band picture { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band figcaption {
  position: absolute; left: var(--gutter); bottom: 1.25rem;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1rem + .3vw, 1.3rem); color: var(--white);
  text-shadow: 0 1px 14px color-mix(in oklab, var(--abyss) 85%, transparent);
}

/* ---------- 25. Fases da lua (Programa) ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.phase { border-top: 1px solid var(--line-strong); padding-top: 2rem; }
.phase__moons { display: flex; gap: clamp(.4rem, 1vw, .8rem); margin-bottom: 2rem; }
.phase__moons svg { width: clamp(30px, 3.6vw, 46px); height: auto; color: var(--accent); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .phase__moons svg { opacity: .15; transform: translateY(6px); }
.js .phase.is-in .phase__moons svg { opacity: 1; transform: none; }
.phase.is-in .phase__moons svg:nth-child(2) { transition-delay: 120ms; }
.phase.is-in .phase__moons svg:nth-child(3) { transition-delay: 240ms; }
.phase.is-in .phase__moons svg:nth-child(4) { transition-delay: 360ms; }
.phase h3 { font-family: var(--serif); font-size: var(--fs-d3); line-height: 1; margin-bottom: .6rem; display: flex; align-items: baseline; gap: .8rem; }
.phase h3 .num { font-size: .55em; }
.phase__range { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--accent); margin-bottom: 1rem; }
.phase p { color: var(--fg-2); }

/* ---------- 26. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 72px; padding: 1.25rem 0;
  font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); line-height: 1.25;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--accent); transition: transform var(--t-med) var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__a { padding: 0 3rem 1.75rem 0; color: var(--fg-2); max-width: 46rem; }

/* ---------- 27. CTA final (o amanhecer, em cor chapada) ---------- */
.dawn { position: relative; text-align: center; }
.dawn .display { margin-inline: auto; max-width: 15em; }
.dawn .lead { margin: 1.5rem auto 2.5rem; }
.dawn .actions { justify-content: center; }

/* ---------- 28. Rodapé ---------- */
.site-footer { padding-top: clamp(4.5rem, 8vw, 7rem); padding-bottom: max(2rem, env(safe-area-inset-bottom)); color: var(--fg-2); }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .7fr));
  gap: 3rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.footer__brand { display: grid; gap: 1.5rem; align-content: start; color: var(--beige); }
.footer__logo { width: min(100%, 250px); height: auto; }
.footer__brand p { color: var(--fg-2); font-size: var(--fs-small); max-width: 22rem; }
.footer__col h2 { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--beige); margin-bottom: 1.25rem; font-weight: 500; font-family: var(--sans); }
.footer__col li a {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 40px; text-decoration: none; font-size: var(--fs-small);
  color: color-mix(in oklab, var(--white) 80%, var(--abyss));
  transition: color var(--t-fast) var(--ease);
}
.footer__col li a:hover { color: var(--beige); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding-top: 2rem; font-size: .78rem; line-height: 1.6;
}
.footer__credit { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; min-height: 44px; }
.footer__credit img { height: 18px; width: auto; opacity: .55; transition: opacity var(--t-fast) var(--ease); }
.footer__credit:hover img { opacity: 1; }

/* ---------- 29. Barra de CTA fixa (mobile) e WhatsApp flutuante ---------- */
.sticky-cta {
  position: fixed; z-index: var(--z-float); left: 0; right: 0; bottom: 0;
  padding: .75rem var(--gutter) max(.75rem, env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--navy) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid color-mix(in oklab, var(--beige) 20%, transparent);
  display: none; gap: .75rem; align-items: center;
  transform: translateY(110%);
  transition: transform var(--t-med) var(--ease);
}
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 50px; padding-inline: 1rem; }
.sticky-cta .wa-mini {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, var(--beige) 45%, transparent);
  color: var(--beige);
}
.sticky-cta .wa-mini .icon { width: 24px; height: 24px; }

.wa-float {
  position: fixed; z-index: var(--z-float); right: 18px; bottom: max(18px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--beige); color: var(--navy);
  box-shadow: 0 10px 30px -10px color-mix(in oklab, var(--abyss) 70%, transparent);
  transform: scale(.6); opacity: 0; pointer-events: none;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.wa-float.is-on { transform: none; opacity: 1; pointer-events: auto; }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- 30. Formulários ---------- */
.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
}
.form-progress { margin-bottom: 2.5rem; }
.form-progress__bar { height: 1px; background: var(--line); position: relative; margin-top: 1rem; }
.form-progress__bar i { position: absolute; inset: 0; background: var(--terracotta); transform: scaleX(var(--step-p, .25)); transform-origin: left; transition: transform var(--t-med) var(--ease); height: 2px; top: -.5px; }
.form-progress__meta { margin: 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.form-progress__meta strong { color: var(--fg); font-weight: 600; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step + .step { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.js-steps .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
.js-steps .step[hidden] { display: none; }
.step__title { font-family: var(--serif); font-size: var(--fs-d3); line-height: 1.1; margin-bottom: .5rem; padding: 0; }
.step__intro { color: var(--fg-2); margin-bottom: 2rem; font-size: var(--fs-small); }
.step:focus { outline: none; }

.fields { display: grid; gap: 1.75rem; }
.fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: .55rem; align-content: start; }
.field > label, .field legend, .field__label {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg); padding: 0;
}
.field .req { color: var(--terracotta); margin-left: .2em; }
.field__hint { font-size: .85rem; color: var(--fg-2); line-height: 1.55; margin: 0; }
.input, .select, .textarea {
  width: 100%;
  min-height: 54px;
  padding: .9rem 1.1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--navy);
  background: var(--linen);
  border: 1px solid color-mix(in oklab, var(--navy) 62%, var(--white));  /* >= 3:1, WCAG 1.4.11 */
  border-radius: 2px;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  padding-right: 3rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.input::placeholder, .textarea::placeholder { color: color-mix(in oklab, var(--navy) 74%, var(--linen)); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--terracotta) 28%, transparent);
}
.was-validated .input:invalid, .was-validated .select:invalid, .was-validated .textarea:invalid,
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--terracotta); }
.field__error { display: none; font-size: .85rem; color: var(--terracotta); font-weight: 500; }
.field.is-invalid .field__error, .choices.is-invalid > .field__error { display: block; }
.choices.is-invalid .choice label { border-color: color-mix(in oklab, var(--terracotta) 70%, transparent); }
html:not(.js) [data-next] { display: none; }

.choices { display: grid; gap: .6rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { margin-bottom: .9rem; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; gap: .9rem;
  min-height: 54px; padding: .8rem 1.1rem;
  border: 1px solid color-mix(in oklab, var(--navy) 62%, var(--white));
  background: var(--linen);
  font-size: .95rem; line-height: 1.4; color: var(--navy);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.choice label::before {
  content: ""; flex: none; width: 18px; height: 18px;
  border: 1px solid color-mix(in oklab, var(--navy) 62%, var(--white));
  border-radius: 50%; background: var(--white) center / 10px no-repeat;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.choice input[type="checkbox"] + label::before { border-radius: 3px; }
.choice label:hover { border-color: var(--navy); }
.choice input:checked + label { border-color: var(--navy); background: var(--white); }
.choice input:checked + label::before {
  background-color: var(--terracotta); border-color: var(--terracotta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
}
.choice input:focus-visible + label { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.consent { display: flex; gap: .9rem; align-items: flex-start; font-size: .88rem; line-height: 1.6; color: var(--fg-2); }
.consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--terracotta); flex: none; }
.form-nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.form-nav .btn--ghost { color: var(--navy); }
.form-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.5rem; font-size: .82rem; color: var(--fg-2); line-height: 1.55; }
.form-note .icon { color: var(--terracotta); width: 1.1rem; height: 1.1rem; margin-top: .15rem; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: .9rem; color: var(--terracotta); min-height: 1.5em; }

/* ---------- 31. Páginas internas (hero menor) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: clip; isolation: isolate; }
.page-hero .display { margin-bottom: 1.5rem; }
.hero-note { display: flex; align-items: center; gap: .65rem; margin-top: 2rem; font-size: var(--fs-small); color: var(--fg-2); }
.hero-note .icon { width: 1.15rem; height: 1.15rem; color: var(--accent); }

.prose { max-width: 44rem; }
.prose h2 { font-family: var(--serif); font-size: var(--fs-d4); margin: 2.75rem 0 1rem; color: var(--fg); }
.prose h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 1.75rem 0 .5rem; }
.prose p, .prose li { color: var(--fg-2); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.prose ul li { margin-bottom: .4rem; }
.prose a { color: var(--accent); }
mark.todo { background: color-mix(in oklab, var(--terracotta) 18%, transparent); color: inherit; padding: 0 .2em; }

/* ---------- 32. /links ----------
   Foto clara da Mariana na metade direita (fixa) e fundo claro liso na
   esquerda, sem cenário. O veleiro do logo fica na divisa e balança de leve.
   Os caminhos são cards com miniatura, número, público, título e seta; eles
   sobem de leve ao abrir a página (só movimento: nada fica escondido se a
   animação não rodar). No celular a foto cobre o alto da tela e a folha clara
   sobe por cima. */
.lk { position: relative; min-height: 100svh; isolation: isolate; }
.lk__photo { position: fixed; inset: 0; z-index: 0; background: var(--sand); }
.lk__photo picture, .lk__photo img { display: block; width: 100%; height: 100%; }
.lk__photo img { object-fit: cover; object-position: 50% 18%; }
.lk__sheet {
  position: relative; z-index: 1; margin-top: 56svh;
  padding: 4rem clamp(1.25rem, 5vw, 2rem) max(1.5rem, env(safe-area-inset-bottom));
  background: var(--bg);
  display: flex; flex-direction: column;
}
.lk__head, .lk__list, .lk__social, .lk__foot { width: 100%; max-width: 560px; margin-inline: auto; }
.lk__seal {
  position: absolute; z-index: 3; left: 50%; top: 0; translate: -50% -50%; margin: 0;
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--beige); box-shadow: 0 0 0 6px var(--bg);
}
.lk__seal img { width: 54px; height: 54px; animation: sail 6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes sail {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-3px) rotate(2deg); }
}

.lk__word { display: block; width: min(100%, 400px); height: auto; }
.lk__tagline { display: block; width: min(62%, 270px); height: auto; margin-top: 1rem; }
.lk__rule { display: block; width: 56px; height: 1px; background: var(--terracotta); margin: 1.5rem 0 1.2rem; }
.lk__intro { margin: 0; font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); line-height: 1.5; color: var(--fg-2); }
.lk__intro strong { color: var(--fg); font-weight: 500; }

.lk__list { display: grid; gap: .75rem; margin-top: 1.75rem; }
.lk-row {
  --row-c: var(--terracotta);
  position: relative;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center;
  padding: .75rem 1.4rem .75rem .75rem;
  background: var(--white); border: 1px solid var(--line);
  color: var(--fg); text-decoration: none;
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.lk-row--b { --row-c: var(--navy); }
.lk-row::before { content: ""; position: absolute; left: -1px; bottom: -1px; width: 2px; height: 40%; background: var(--row-c); }
.lk-row__img { display: block; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.lk-row__img picture, .lk-row__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lk-row__body { display: grid; gap: .15rem; min-width: 0; }
.lk-row__for { display: flex; align-items: baseline; gap: .7rem; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--row-c); }
.lk-row__n { font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--fg-2); }
.lk-row__t { font-family: var(--serif); font-size: clamp(1.55rem, 1.35rem + .6vw, 1.9rem); line-height: 1.08; }
.lk-row__d { font-size: .92rem; line-height: 1.5; color: var(--fg-2); }
.lk-row__go { width: 24px; height: 24px; color: var(--row-c); transition: transform var(--t-med) var(--ease); }
.lk-row:active { transform: scale(.99); }
@media (hover: hover) {
  .lk-row:hover { border-color: var(--line-strong); box-shadow: 0 14px 30px -22px color-mix(in oklab, var(--navy) 55%, transparent); }
  .lk-row:hover .lk-row__img img { transform: scale(1.08); }
  .lk-row:hover .lk-row__go { transform: translateX(6px); }
}
/* entrada: os cards sobem um a um (só posição, a opacidade fica sempre 1) */
@media (prefers-reduced-motion: no-preference) {
  .lk-row { animation: rise 900ms var(--ease) both; animation-delay: calc(250ms + var(--i, 0) * 110ms); }
  .lk__head { animation: rise 900ms var(--ease) both; }
}
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

.lk__social { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1.1rem; }
.lk__social .btn { min-height: 50px; padding-inline: 1rem; gap: .6rem; }
.lk__social .btn:first-child { grid-column: 1 / -1; }

.lk__foot {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 1.5rem;
  font-size: .74rem; letter-spacing: .04em; color: var(--fg-2);
}
.lk__foot p { margin: 0; }
.lk__foot a { color: inherit; }
.lk__foot .footer__credit img { filter: brightness(.25); opacity: .7; }

@media (max-width: 480px) {
  .lk-row { grid-template-columns: 60px minmax(0, 1fr) auto; gap: .85rem; padding: .7rem 1rem .7rem .7rem; }
  .lk-row__img { width: 60px; }
  .lk-row__for { gap: .5rem; font-size: .62rem; letter-spacing: .14em; }
}
@media (min-width: 1025px) {
  .lk__photo { left: 50%; }
  .lk__photo img { object-position: 50% 28%; }
  .lk__sheet { width: 50%; min-height: 100svh; margin: 0; padding: clamp(3rem, 8vh, 6rem) clamp(2.5rem, 5vw, 5.5rem) 1.5rem; }
  .lk__seal { position: fixed; top: 50%; width: 104px; height: 104px; }
  .lk__seal img { width: 64px; height: 64px; }
  .lk__social { grid-template-columns: auto auto auto; justify-content: start; }
  .lk__social .btn:first-child { grid-column: auto; }
  .lk__foot { margin-top: auto; }
  .lk__social { margin-bottom: 2.5rem; }
}

/* ---------- 33. Revelações (só com JS e sem reduced-motion) ----------
   Pouca coisa se move, e devagar. Títulos e citações se abrem de cima para
   baixo, como uma cortina descendo pelo texto (linha a linha); fotos abrem de
   baixo para cima; relatos, galeria e faixa só acendem. Parágrafos, listas,
   botões e formulários ficam parados. */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1100ms var(--ease) var(--d, 0ms), transform 1100ms var(--ease) var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Antes de entrar o título só fica transparente (um recorte total impede o
   Chrome de avisar que ele entrou na tela); a cortina é uma animação que
   começa quando ele entra. */
.js :is(h1, h2, h3, .quote-block)[data-reveal] { transition: none; }
.js :is(h1, h2, h3, .quote-block)[data-reveal].is-in { animation: curtain 1400ms var(--ease) var(--d, 0ms) both; }
.js [data-reveal].is-in.is-done { animation: none; transition: none; opacity: 1; transform: none; clip-path: none; }
.js [data-reveal="photo"].is-in.is-done .photo__img { transition: none; clip-path: none; }
.js [data-reveal="photo"].is-in.is-done .photo__img img { transition: none; transform: none; }
@keyframes curtain {
  from { opacity: 1; clip-path: inset(-.4em -.4em 100% -.4em); transform: translateY(.2em); }
  to { opacity: 1; clip-path: inset(-.4em -.4em -.5em -.4em); transform: none; }
}
.js .relato[data-reveal] { transform: translateY(12px); }

/* A foto do hero assenta devagar quando a página abre. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__bg img { animation: settle 2.2s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
.js [data-reveal="photo"] { opacity: 1; transform: none; }
.js [data-reveal="photo"] .photo__img { clip-path: inset(100% 0 0 0); transition: clip-path 1300ms var(--ease) var(--d, 0ms); }
.js [data-reveal="photo"] .photo__img img { transform: scale(1.12); transition: transform 1800ms var(--ease) var(--d, 0ms); }
.js [data-reveal="photo"].is-in .photo__img { clip-path: inset(0 0 0 0); }
.js [data-reveal="photo"].is-in .photo__img img { transform: none; }
.js [data-reveal="photo"]::before { opacity: 0; transition: opacity 1200ms var(--ease) calc(var(--d, 0ms) + 500ms); }
.js [data-reveal="photo"].is-in::before { opacity: 1; }

/* ---------- 34. Responsivo ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 1.4rem; }
  .gets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gets .get:nth-child(4) { padding-left: 0; border-left: 0; }
  .gets .get:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .nav__links, .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand__symbol { width: 34px; height: 34px; }
  .brand__word { height: 15px; }

  /* No celular a foto vem primeiro (recorte vertical) e o texto entra
     por cima do degradê, sobre a cor da seção. */
  .hero { display: block; min-height: 0; padding: 0; }
  .hero::before { display: none; }
  .hero__bg { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 4 / 5; max-height: 78svh; }
  .hero__bg img { object-position: var(--pos-m, 50% 18%); }
  .hero__bg::before, .hero__bg::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
  .hero__bg::before { top: 0; height: 28%; background: linear-gradient(color-mix(in oklab, var(--bg) 75%, transparent), transparent); }
  .hero__bg::after { bottom: -1px; height: 42%; background: linear-gradient(transparent, var(--bg) 92%); }
  .hero__grid { position: relative; z-index: 1; margin-top: -4.5rem; padding-bottom: 3.5rem; }
  .hero--plain .hero__grid { margin-top: 0; padding-top: calc(var(--header-h) + 3rem); }

  .path { grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: start; }
  .path__desc { grid-column: 2 / -1; }
  .path__go { width: 52px; height: 52px; grid-row: 1; grid-column: 3; }

  .about, .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .about--bridge .about__media { position: relative; top: auto; width: min(86%, 420px); }
  .section-head--split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .relatos { grid-template-columns: 1fr; gap: 0; }
  .relato { padding-block: 2rem; }
  .qa__item { grid-template-columns: 1fr; }

  .trail__list { grid-template-columns: 1fr; padding-top: 0; padding-left: 3.5rem; gap: 2.25rem; }
  .trail__track { left: 1rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .trail__track::before { transform: scaleY(var(--p)); transform-origin: top; }
  .trail__boat { left: calc(1rem - 20px); top: calc(var(--p) * (100% - 40px)); }
  .trail__step::before { left: calc(-3.5rem + 1rem - 4px); top: .9rem; }

  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promise { grid-template-columns: 1fr; }

  .pillars { grid-template-columns: 1fr; gap: 3rem; }
  .pillar { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.75rem; align-items: end; }
  .pillar .photo { margin-bottom: 0; }

  .phases { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .sticky-cta { display: flex; }
  .wa-float { display: grid; }
  body.has-sticky .wa-float { display: none; }
  body.has-sticky .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) {
  /* números do hero numa linha só, em três colunas iguais; o rótulo quebra
     embaixo do número */
  .hero__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: none; }
  .hero__meta li { margin: 0; padding: 0 .75rem; border-right: 0; }
  .hero__meta li:first-child { padding-left: 0; }
  .hero__meta li + li { border-left: 1px solid var(--line); }
  .hero__meta strong { font-size: 1.2rem; white-space: nowrap; }
  .diary {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none; align-items: stretch;
  }
  .diary::-webkit-scrollbar { display: none; }
  .diary figure { flex: 0 0 72%; scroll-snap-align: center; aspect-ratio: 4 / 5 !important; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding-right: .75rem; }
  .stat + .stat { padding-left: .9rem; }
  .stat__value { font-size: 2.1rem; }
  .stat__label { font-size: .7rem; }
  .fields--2, .choices--2 { grid-template-columns: 1fr; }
  .gets { grid-template-columns: 1fr 1fr; }
  .gets .get { padding: 1.5rem 1rem 1.5rem 0; }
  .gets .get:nth-child(n) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .gets .get:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .gets .get:nth-child(-n+2) { border-top: 0; }
  .gets .get:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pillar { grid-template-columns: 1fr; }
  .pillar .photo { width: 82%; }
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer__bottom { flex-direction: column; }
  .faq .faq__a { padding-right: 0; }
}

@media (max-width: 420px) {
  .spec { grid-template-columns: 1fr; }
  .spec__item, .spec__item + .spec__item { padding: 1.5rem 0; border-left: 0; }
  .spec__item + .spec__item { border-top: 1px solid var(--line); }
  .path { grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1rem; }
  .path__num { font-size: 2.2rem; }
}

/* ---------- 35. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-reveal="photo"] .photo__img, .js [data-reveal="photo"] .photo__img img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .js .belief .strike { --strike: 1; }
  .js .phase__moons svg { opacity: 1; transform: none; }
  .js .trail { --p: 1; }
}

/* ---------- 36. Impressão ---------- */
@media print {
  .site-header, .sticky-cta, .wa-float, .sky, .hero__scroll, body::after { display: none !important; }
  [data-theme] { background: #fff !important; color: #000 !important; }
}

/* Relatos em duas colunas (Casa) */
.relatos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(2.5rem, 4vw, 3.5rem); }
@media (max-width: 1024px) { .relatos--2 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { justify-content: center; gap: 1rem 2.5rem; }
  .marquee__track span:nth-child(n+6) { display: none; }
  .marquee { mask-image: none; }
}
