@font-face {
  font-family: "Inter";
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f7f6f3;
  --ink: #0a0a0a;
  --rust: #c94e1f;
  --mist: #dedcd6;
  --white: #ffffff;
  --muted: #5f5d58;
  --sky-top: #c3c3be;
  --sky-mid: #d9d8d3;
  --sky-low: #ebeae5;
  --line: rgba(10, 10, 10, 0.16);
  --soft-line: rgba(10, 10, 10, 0.08);
  --shadow: 0 26px 80px rgba(10, 10, 10, 0.14);
  --radius: 24px;
  --shell: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 40px);
  overflow-x: clip;
  background: var(--sky-top);
}
[id] { scroll-margin-top: calc(var(--nav-h) + 40px); }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.5;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-low) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 5.8vw, 5.2rem); font-weight: 760; letter-spacing: -0.05em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -0.035em; }
p { margin: 0; }
a { color: inherit; }
img, svg, video, iframe { max-width: 100%; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; z-index: 2; padding-block: clamp(64px, 10vh, 120px); }
.section-head { display: grid; gap: 1rem; max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-width: 52ch; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 60;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--paper);
  transform: translateY(-120%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- O mundo atrás de tudo ---------- */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.world__ridges { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
main, .footer { position: relative; z-index: 2; }

/* ---------- Cabeçalho de vidro ---------- */
.nav {
  position: fixed; top: 16px; z-index: 40;
  left: max(var(--gutter), env(safe-area-inset-left));
  right: max(var(--gutter), env(safe-area-inset-right));
  height: var(--nav-h); max-width: var(--shell); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(247, 246, 243, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.08);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; text-decoration: none;
}
.brand svg { width: 22px; height: 22px; display: block; }
.nav__links { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; }
.nav__links a { color: var(--ink); opacity: 0.72; text-decoration: none; padding: 0.3rem 0; transition: opacity 0.2s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
/* 17/09: o padding do .nav__links a (mais específico) zerava o espaço à esquerda e o idioma ficava a 1 px da barra.
   O idioma agora é a bandeira em pixel art (bandeiras-pixel.py): 15 px de altura, um pixel da arte por pixel da tela */
.nav__links a.nav__lang { display: inline-flex; align-items: center; padding-left: clamp(16px, 1.7vw, 26px); border-left: 1px solid var(--line); }
.nav__lang svg { display: block; width: auto; height: 15px; transition: transform 0.2s var(--ease); }
.nav__links a.nav__lang:hover svg, .nav__links a.nav__lang:focus-visible svg { transform: translateY(-1px); }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 48px; padding: 0 1.35rem; border-radius: 12px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn__wa { width: 1.15em; height: 1.15em; flex: none; } /* 17/09: "Falar agora" leva o símbolo do WhatsApp */
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #262626; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(247, 246, 243, 0.6); }
.btn--ghost:hover { background: rgba(247, 246, 243, 0.95); }
.nav .btn { min-height: 44px; border-radius: 999px; }

/* ---------- vidro (16/09, pedido do Fábio): cabeçalho escuro translúcido e botões translúcidos nos três produtos ----------
   Contraste medido para texto claro: o vidro do cabeçalho a 62% sobre branco puro dá cinza ~104 (contraste 5,6:1);
   os botões do hero sobre neve clara a 60% dão ~5:1. Os botões dos cards e do fecho continuam sólidos. */
.nav {
  background: rgba(12, 12, 14, 0.62);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(247, 246, 243, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}
/* 17/09: no cabeçalho a marca é só o recorte branco (sem o triângulo escuro), e o hover não a escurece sobre o vidro */
.nav .brand, .nav .brand:hover { color: var(--paper); }
.nav__links a { color: var(--paper); opacity: 0.8; }
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__links a.nav__lang { border-left-color: rgba(247, 246, 243, 0.22); opacity: 1; }
.nav .btn, .nav .btn--primary {
  background: rgba(247, 246, 243, 0.16); color: var(--paper);
  border: 1px solid rgba(247, 246, 243, 0.42);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.nav .btn:hover, .nav .btn--primary:hover { background: rgba(247, 246, 243, 0.28); }
/* hero sobre cena clara (neve): vidro escuro, texto claro */
.hero__actions .btn {
  background: rgba(12, 12, 14, 0.6); color: var(--paper);
  border: 1px solid rgba(247, 246, 243, 0.26);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hero__actions .btn--primary { background: rgba(12, 12, 14, 0.72); border-color: rgba(247, 246, 243, 0.55); font-weight: 700; }
.hero__actions .btn:hover { background: rgba(12, 12, 14, 0.82); }
summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.footer a:hover, .brand:hover { color: var(--ink); }

/* ---------- Hero: o cume, quadro gerado e filme pela rolagem ---------- */
.hero-track { height: 250svh; }
/* Sites (body.topo, 16/09): o .hero-track envolve hero + subida; o hero gruda, fica parado durante a pausa e a subida
   passa por cima. Escopado porque /marketing/ usa o mesmo .hero-track e o mesmo .ascent para o filme pela rolagem. */
.topo .hero-track { height: auto; position: relative; }
.hero-pausa { height: 160svh; pointer-events: none; } /* rolagem em que o hero fica parado na tela antes de a subida chegar */
.hero {
  position: sticky; top: 0; isolation: isolate;
  height: 100svh;
  display: grid; align-items: center;
  overflow: hidden;
}
.scene { position: absolute; inset: 0; z-index: 0; }
.scene__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__poster, .hero__film {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 70% 50%;
}
/* com quadro/filme, a cena começa abaixo do cabeçalho: bandeira inteira e o alto do cenário no enquadramento */
.hero.has-poster .scene { background: linear-gradient(180deg, #e3e5e5 0%, #dcdfe1 100%); }
.hero.has-poster .hero__poster, .hero.has-poster .hero__film {
  top: calc(var(--nav-h) + 28px); height: calc(100% - var(--nav-h) - 28px);
  object-position: 70% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 64px);
}
.hero__film { opacity: 0; transition: opacity 0.4s var(--ease); }
.hero.has-poster .scene__svg { display: none; }
.hero.has-film .hero__film { opacity: 1; }
.hero.has-film .hero__poster { opacity: 0; transition: opacity 0.4s var(--ease); }
.hero.has-film .motion-toggle, .hero.has-poster .motion-toggle { display: none; }
.hero.has-film.film-plays .motion-toggle { display: inline-flex; }
/* névoa baixa: funde o filme com a página e suaviza o canto inferior direito */
.hero__wash {
  position: absolute; inset: 0; pointer-events: none; display: none;
  background:
    linear-gradient(to top, #f3f2ee 0%, rgba(243, 242, 238, 0.7) 10%, rgba(243, 242, 238, 0) 30%),
    radial-gradient(220px 150px at 91% 84%, rgba(243, 242, 238, 0.92), rgba(243, 242, 238, 0) 72%);
}
.hero.has-poster .hero__wash, .hero.has-film .hero__wash { display: block; }
/* janela mais larga que a tela cheia (navegador fora da tela cheia): o filme guarda o enquadramento da tela cheia,
   cortando embaixo no máximo o mesmo que em 1920×1080 (1080 ÷ 988 = 1,0932), e encosta à direita;
   a sobra à esquerda vira névoa com as cores da borda esquerda do filme, entre o filme e a névoa baixa */
@media (min-width: 761px) {
  .hero.has-poster .scene { --film-w: min(100%, calc((100svh - var(--nav-h) - 28px) * 1.0932 * 16 / 9)); }
  .hero.has-poster .hero__poster, .hero.has-poster .hero__film { left: auto; right: 0; width: var(--film-w); }
  .hero.has-poster .scene::before {
    content: ""; position: absolute; z-index: 1; left: 0; bottom: 0;
    top: calc(var(--nav-h) + 28px);
    width: calc((100% - var(--film-w)) * 1.5);
    background: linear-gradient(180deg, rgba(229, 235, 242, 0) 0, #e5ebf2 64px, #e0ecf2 21.9%, #dce7ef 32.8%, #d1dee8 43.7%, #c5d5e3 54.7%, #c2d3e0 65.6%, #bfcfdd 76.5%, #b4c5d3 87.5%, #b0c0ce 98.4%);
    -webkit-mask-image: linear-gradient(to right, #000 66.6%, transparent);
    mask-image: linear-gradient(to right, #000 66.6%, transparent);
    pointer-events: none;
  }
  .hero.has-poster .hero__wash { z-index: 2; }
}
.hero .shell { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.hero__copy { pointer-events: auto; }

.motion-toggle {
  position: absolute; top: calc(var(--nav-h) + 32px); right: var(--gutter); z-index: 4;
  min-height: 40px; padding: 0 0.95rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(247, 246, 243, 0.84);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--ink); cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.motion-toggle:hover { background: var(--paper); }
.hero.is-paused .fog, .hero.is-paused .summit { animation-play-state: paused; }

.fog { will-change: transform; }
.hero.is-visible .fog--1 { animation: drift 34s ease-in-out infinite alternate; }
.hero.is-visible .fog--2 { animation: drift 42s ease-in-out infinite alternate-reverse; }
.hero.is-visible .fog--3 { animation: drift 26s ease-in-out infinite alternate; }
.hero.is-visible .fog--4 { animation: drift 30s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  from { transform: translateX(-90px); }
  to { transform: translateX(90px); }
}
.summit { transform-box: fill-box; transform-origin: 50% 100%; }
.hero.is-visible .summit { animation: float 6.5s ease-in-out infinite; }
@keyframes float {
  50% { transform: translateY(-5px); }
}

.hero__copy {
  position: relative; z-index: 1;
  display: grid; gap: 1.5rem;
  max-width: min(700px, 54%);
  padding-block: calc(var(--nav-h) + 56px) clamp(56px, 10vh, 120px);
}
.hero__copy h1 { text-shadow: 0 1px 18px rgba(247, 246, 243, 0.55); }
.hero__copy p {
  color: var(--ink); font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 42ch; font-weight: 500;
  text-shadow: 0 1px 14px rgba(247, 246, 243, 0.7);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Subida: palco preso à rolagem ---------- */
.ascent { position: relative; z-index: 2; }
.topo .ascent { background: linear-gradient(180deg, #f3f2ee 0%, #e4e3de 34%, var(--sky-low) 100%); }
/* borda de cima da subida em degradê: quando ela chega, sobe um véu das cores dela por cima do filme já enevoado */
.topo .ascent::before { content: ""; position: absolute; left: 0; right: 0; top: -55vh; height: 55vh; pointer-events: none;
  background: linear-gradient(180deg, rgba(243, 242, 238, 0) 0%, rgba(243, 242, 238, 0.55) 45%, #f3f2ee 100%); }
/* parallax do hero de Sites: névoa (atrás do título) e cordilheira da frente (na frente dele) sobem com a rolagem */
.topo .scene, .topo .hero__copy { will-change: transform; }
.topo .hero__nevoa { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; will-change: opacity;
  /* névoa nas cores do topo da subida (#f3f2ee embaixo, #e9e8e3 em cima): no fim da pausa cobre o filme quase todo */
  background: linear-gradient(0deg, #f3f2ee 0%, rgba(243, 242, 238, 0.97) 28%, rgba(238, 237, 232, 0.88) 62%, rgba(233, 232, 227, 0.74) 100%); }

.ascent__track { height: 640vh; }
.ascent__stage {
  --p: 0;
  position: sticky; top: 0; height: 100dvh; overflow: hidden;
  /* começa na cor da névoa baixa do hero e vai para o céu da página: sem emenda entre as duas cenas */
  background: linear-gradient(180deg, #f3f2ee 0%, #e4e3de 34%, rgba(228, 227, 222, 0) 70%);
}
.route-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.route-line {
  fill: none; stroke: var(--ink); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.route-ghost {
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 12;
  stroke-linecap: round; opacity: 0.35;
}
.camp-node circle { fill: var(--paper); stroke: var(--ink); stroke-width: 3; transition: fill 0.3s var(--ease); }
.camp-node.is-on circle { fill: var(--ink); }
.camp-node text {
  font-family: Inter, system-ui, sans-serif; font-size: 22px; font-weight: 600;
  fill: var(--ink); letter-spacing: -0.01em;
}
.summit-flag { transform-box: fill-box; transform-origin: 0% 100%; transform: scaleX(0); transition: transform 0.7s var(--ease); }
.ascent__stage.is-summit .summit-flag { transform: scaleX(1); }

.stage-fog {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 30% 40%, rgba(241, 240, 236, 0.98), rgba(241, 240, 236, 0) 70%),
    radial-gradient(60% 50% at 75% 65%, rgba(241, 240, 236, 0.98), rgba(241, 240, 236, 0) 70%);
  opacity: calc(0.96 - var(--p) * 0.9);
}

.camps {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 40px);
  width: min(500px, calc(100% - 2 * var(--gutter)));
  min-height: 240px;
}
.camp {
  position: absolute; left: 0; right: 0; top: 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
  padding: 1rem 1.2rem 1.2rem; border-radius: 18px; background: rgba(247, 246, 243, 0.74);
}
.camp.is-active { opacity: 1; transform: none; pointer-events: auto; }
.camp__name { font-size: 0.85rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.camp h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); margin: 0.45rem 0 0.7rem; }
.camp p { color: var(--ink); max-width: 40ch; font-size: clamp(1rem, 1.25vw, 1.15rem); }

/* ---------- Rotas: três cards, âncora à frente, um castor por plano ---------- */
.plans { padding-top: clamp(40px, 8vh, 96px); }
.plans__grid {
  display: grid; grid-template-columns: 1fr 1.14fr 1fr; align-items: start;
  margin-top: clamp(96px, 11vw, 150px);
}
.plans__grid--single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.plans__grid--single .plan-slot--anchor { margin-inline: 0; transform: none; }
.plans__grid--single .plan-slot__mascot { right: 7%; height: clamp(150px, 15vw, 220px); }
.plans__grid--single .plan-card { padding: clamp(26px, 3vw, 40px); }
.plan-slot { position: relative; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.plan-slot--side { z-index: 1; transform: translateY(34px); }
.plan-slot--anchor { z-index: 2; margin-inline: -26px; transform: translateY(-14px); }
.plan-slot__mascot {
  position: absolute; z-index: 0; bottom: calc(100% - 48px);
  height: clamp(120px, 12vw, 176px); width: auto; pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(10, 10, 10, 0.2));
}
.plan-slot--left .plan-slot__mascot { left: 9%; }
.plan-slot--anchor .plan-slot__mascot { right: 6%; height: clamp(140px, 14vw, 206px); }
.plan-slot--right .plan-slot__mascot { left: 50%; transform: translateX(-50%); }
.plan-card {
  position: relative; z-index: 1; display: grid; gap: 0.9rem; align-content: start;
  padding: clamp(22px, 2.6vw, 34px);
  background: rgba(247, 246, 243, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(10, 10, 10, 0.16);
}
.plan-slot--left .plan-card { border-radius: 22px 12px 12px 22px; }
.plan-slot--right .plan-card { border-radius: 12px 22px 22px 12px; }
.plan-card--anchor {
  background: var(--paper); border-color: var(--ink);
  box-shadow: 0 50px 110px rgba(10, 10, 10, 0.26);
}
.plan-card__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap;
}
.plan-card__n { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-card__short { color: var(--muted); min-height: 3em; }
.plan-card__price { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-card__price em { font-style: normal; font-size: 0.5em; margin-right: 0.15em; font-weight: 600; }
.plan-card__price small { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 0.35rem; }
.plan-card__desde { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 0.3rem; }
.plan-card ul { margin: 0.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.plan-card li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.3rem; font-size: 0.97rem; }
.plan-card li::before { content: "\21B3"; color: var(--muted); }
.plan-card .btn { justify-self: start; margin-top: 0.6rem; }
.plans:not(.is-in) .plan-slot { opacity: 0; transform: translateY(80px); }
.plans.is-in .plans__grid--single .plan-slot--anchor { transform: none; }
.plans.is-in .plan-slot--anchor { transition-delay: 0s; }
.plans.is-in .plan-slot--left { transition-delay: 0.18s; }
.plans.is-in .plan-slot--right { transition-delay: 0.3s; }
.ledger-note { margin: 2rem auto 0; font-size: 0.9rem; color: var(--muted); max-width: 70ch; text-align: center; }

/* ---------- Painéis de gelo ---------- */
.panel {
  background: rgba(247, 246, 243, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: var(--shadow);
}

/* ---------- Perguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); }
.faq .section-head { margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 2.4rem 1.3rem 0; position: relative;
  font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 1.15rem; color: var(--muted); font-size: 1.3rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 1.4rem; max-width: 56ch; }

/* ---------- Final: a nevasca à noite ---------- */
.final { position: relative; z-index: 2; overflow: hidden; background: rgba(10, 10, 10, 0.92); color: var(--paper); }
.final .shell { position: relative; z-index: 1; display: grid; gap: 1.4rem; padding-block: clamp(96px, 16vh, 180px) clamp(72px, 12vh, 140px); }
.final h2 { max-width: 14ch; }
.final p { color: rgba(247, 246, 243, 0.72); max-width: 46ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.final .btn--primary { background: var(--paper); color: var(--ink); justify-self: start; }
.final .btn--primary:hover { background: var(--white); }
.final__peak { position: absolute; right: -4%; bottom: 0; width: min(56vw, 720px); height: auto; opacity: 0.9; pointer-events: none; }

.footer { padding: 2rem 0 3rem; background: rgba(10, 10, 10, 0.92); color: rgba(247, 246, 243, 0.7); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; font-size: 0.9rem; }
.footer .brand { color: var(--paper); font-size: 1rem; }
.footer .brand svg polygon { fill: var(--ink); }
.footer a { color: rgba(247, 246, 243, 0.7); }
.footer a:hover, .footer .brand:hover { color: var(--paper); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .nav { grid-template-columns: auto auto; justify-content: space-between; }
  .nav__links { display: none; }
  .plans__grid { grid-template-columns: 1fr; gap: 3.6rem; align-items: stretch; max-width: 560px; margin-inline: auto; margin-top: 90px; }
  .plan-slot--side, .plan-slot--anchor, .plans.is-in .plan-slot--side, .plans.is-in .plan-slot--anchor { transform: none; margin-inline: 0; }
  /* 17/09: no celular os planos ficam na ordem 01, 02, 03 (o recomendado primeiro fazia ler "Tudo do Essencial" antes do Essencial) */
  .plan-slot__mascot, .plan-slot--anchor .plan-slot__mascot { height: 120px; bottom: calc(100% - 40px); }
  .plan-slot--left .plan-card, .plan-slot--right .plan-card { border-radius: 22px; }
  .plans:not(.is-in) .plan-slot { transform: translateY(40px); }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-track { height: auto; }
  .hero-pausa { height: 110svh; }
  .hero { position: relative; height: auto; min-height: 100svh; align-items: start; }
  .topo .hero { position: sticky; top: 0; }
  .scene { position: relative; inset: auto; z-index: 0; height: 46svh; min-height: 330px; margin-top: calc(var(--nav-h) + 24px); }
  .hero__poster, .hero__film, .hero.has-poster .hero__poster, .hero.has-poster .hero__film {
    top: 0; height: 100%; object-position: 68% 24%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__copy { max-width: none; padding-block: 1.2rem 2.4rem; gap: 1.1rem; }
  .hero__copy p { max-width: none; }
  .motion-toggle { top: calc(var(--nav-h) + 24px + 46svh - 52px); }
  .btn { flex: 1 1 auto; justify-content: center; }
  .nav .btn { flex: 0 0 auto; }

  .ascent__track { height: 380vh; }
  .ascent__stage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .route-scene {
    position: relative;
    inset: auto;
    width: 100%;
    height: 52svh;
    margin-top: calc(var(--nav-h) + 6px);
    flex-shrink: 0;
  }
  .camp-node circle { r: 18px; stroke-width: 4px; }
  .camp-node text { font-size: 36px; font-weight: 700; }
  .route-line { stroke-width: 6px; }
  .route-ghost { stroke-width: 4px; stroke-dasharray: 6 16; }
  .camps {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    flex: 1;
    min-height: 160px;
    padding: 0 var(--gutter) 1.5rem;
  }
  .camp {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 1.5rem;
    top: auto;
    background: rgba(247, 246, 243, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(10, 10, 10, 0.1);
    padding: 1.1rem 1.3rem;
  }
  .camp h2 { font-size: clamp(1.55rem, 6.5vw, 1.85rem); margin: 0.15rem 0 0.4rem; }
  .camp p { font-size: clamp(0.92rem, 3.8vw, 1rem); line-height: 1.45; }
  .final__peak { width: 90vw; right: -20%; opacity: 0.5; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fog, .summit { animation: none !important; }
  .hero-track { height: auto; }
  .hero-pausa { display: none; }
  .topo .hero__nevoa, .topo .ascent::before { display: none; }
  .hero { position: relative; height: auto; min-height: 100svh; }
  .hero__film { display: none; }
  .ascent__track { height: auto; }
  .ascent__stage { position: relative; height: auto; overflow: visible; --p: 1; display: grid; }
  .route-scene { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; margin-top: calc(var(--nav-h) + 24px); }
  .stage-fog { display: none; }
  .motion-toggle { display: none; }
  .camps { position: relative; left: auto; top: auto; width: auto; display: grid; gap: 1.6rem; padding: 2rem var(--gutter) 3rem; }
  .camp { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; transition: none; }
  .summit-flag { transform: none; transition: none; }
  .camp-node circle { fill: var(--ink); }
  .plan-slot, .plans:not(.is-in) .plan-slot { opacity: 1; transition: none; }
  .plans:not(.is-in) .plan-slot--side { transform: translateY(34px); }
  .plans:not(.is-in) .plan-slot--anchor { transform: translateY(-14px); }
}
