/* ==========================================================================
   HARMOS — Tokens e base
   Fonte Inter (SIL OFL 1.1) hospedada no próprio site. Nenhum recurso remoto.
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Cores da marca (símbolo: verde #107565 + prata #BDBDBD) */
  --green-950: #04201b;
  --green-900: #073530;
  --green-800: #0a4a40;
  --green-700: #107565;
  --green-600: #158572;
  --green-500: #1f9a84;
  --green-300: #7cc5b5;
  --green-100: #dcefe9;
  --green-50: #eef7f4;
  --silver-50: #f7f7f6;
  --silver-100: #eeeeec;
  --silver-200: #e0e0dd;
  --silver-300: #cfcfcc;
  --silver-400: #bdbdbd;
  --silver-600: #8b8f8d;

  --paper: #f6f7f5;
  --surface: #ffffff;
  --ink: #0b1513;
  --ink-2: #26322f;
  --muted: #56625e;
  --line: #e1e4e0;
  --line-strong: #cdd2cd;
  --on-dark: #f3f6f5;
  --on-dark-muted: #b3c4bf;
  --line-dark: rgba(255, 255, 255, .13);

  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  /* Escala tipográfica fluida: grande e nítida em Full HD, confortável no celular */
  --fs-xs: 14px;
  --fs-sm: 15.5px;
  --fs-body: clamp(17px, .3vw + 15.9px, 19px);
  --fs-lead: clamp(19px, .55vw + 16.8px, 23px);
  --fs-h3: clamp(22px, .75vw + 17.5px, 30px);
  --fs-h2: clamp(38px, 3.4vw + 14px, 76px);
  --fs-h1: clamp(48px, 6vw + 12px, 118px);
  --fs-display: clamp(64px, 9vw, 168px);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --container: 1400px;
  --gutter: clamp(20px, 4.2vw, 72px);
  --header-h: 84px;
  --section: clamp(96px, 11vw, 176px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --shadow-sm: 0 1px 2px rgba(6, 30, 26, .06), 0 2px 8px rgba(6, 30, 26, .05);
  --shadow-md: 0 10px 30px -10px rgba(6, 30, 26, .18), 0 2px 6px rgba(6, 30, 26, .05);
  --shadow-lg: 0 40px 80px -30px rgba(4, 32, 27, .35), 0 12px 24px -12px rgba(4, 32, 27, .15);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: clip;
}
body.is-modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
button, summary, a, input, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img, svg, video, picture { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--green-700); color: #fff; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 4px; border-radius: 6px; }
.on-dark :focus-visible, .site-header.is-overlay :focus-visible { outline-color: var(--silver-300); }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.on-dark { background: var(--green-900); color: var(--on-dark); }

/* Tipografia utilitária */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 26px; line-height: 1.3;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .eyebrow.is-light { color: var(--green-300); }
.h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.04em; }
.h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.025em; }
.h2 em, .h1 em, h2 em, h1 em { font-style: normal; color: var(--green-700); }
.on-dark h2 em, .on-dark h1 em, .on-dark .h2 em { color: var(--silver-300); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); letter-spacing: -.012em; }
.on-dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); line-height: 1.6; }
.tabular { font-variant-numeric: tabular-nums; }

.icon { width: 22px; height: 22px; flex: 0 0 auto; }

.skip-link {
  position: fixed; top: 12px; left: 16px; z-index: 10000; padding: 14px 22px; border-radius: 999px;
  background: var(--green-700); color: #fff; font-weight: 600; transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ==========================================================
   HARMOS — Loader de entrada e transição entre telas
   ========================================================== */
:root{
  --hl-green-900:#073d35;
  --hl-green-800:#0a4d43;
  --hl-green-700:#0d6456;
  --hl-green-600:#107565;
  --hl-silver-100:#f2f2f2;
  --hl-silver-300:#d6d6d6;
  --hl-silver-500:#bdbdbd;
  --hl-ease-out:cubic-bezier(.16,1,.3,1);
  --hl-ease-inout:cubic-bezier(.76,0,.24,1);
}

/* Só existe com JS ativo: sem JS o site aparece direto */
.hl-loader{display:none}
.js .hl-loader{
  position:fixed;inset:0;z-index:9999;
  display:grid;place-items:center;
  pointer-events:all;
  isolation:isolate;
}
.hl-loader__panel{
  position:absolute;inset:0;
  background:
    radial-gradient(120% 90% at 50% 45%, var(--hl-green-600) 0%, var(--hl-green-800) 58%, var(--hl-green-900) 100%);
  clip-path:inset(0 0 0 0);
  z-index:-1;
}
.hl-loader__panel--trail{
  background:var(--hl-silver-300);
  z-index:-2;
}
/* grão sutil para dar profundidade ao fundo */
.hl-loader__panel::after{
  content:"";position:absolute;inset:0;opacity:.07;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hl-loader__stage{
  display:flex;flex-direction:column;align-items:center;gap:clamp(22px,3vh,34px);
  transition:opacity .5s var(--hl-ease-out), transform .9s var(--hl-ease-inout);
}
.hl-loader__emblem{
  position:relative;
  width:clamp(128px,17vmin,188px);aspect-ratio:1;
}
.hl-loader__emblem svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}

/* anel de progresso */
.hl-ring__track{fill:none;stroke:rgba(255,255,255,.10);stroke-width:1.1}
.hl-ring__bar{
  fill:none;stroke:url(#hlSilver);stroke-width:1.6;stroke-linecap:round;
  stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--hl-progress,0));
  transform:rotate(-90deg);transform-box:fill-box;transform-origin:center;
  transition:stroke-dashoffset .6s var(--hl-ease-out);
  filter:drop-shadow(0 0 2px rgba(255,255,255,.35));
}

/* símbolo: contorno desenhado + preenchimento */
.hl-mark__line{
  fill:none;stroke:var(--hl-silver-100);stroke-width:.45;stroke-linejoin:round;
  stroke-dasharray:1;stroke-dashoffset:1;
  animation:hl-draw 1.5s var(--hl-ease-inout) .15s forwards;
}
.hl-mark__fill{
  fill:url(#hlSilver);
  opacity:0;transform:scale(.94);transform-box:fill-box;transform-origin:center;
  animation:hl-fill .9s var(--hl-ease-out) 1.15s forwards;
}
.hl-mark__shine{
  fill:url(#hlShine);
  transform:translateX(-140px) skewX(-18deg);
  animation:hl-sweep 2.8s var(--hl-ease-inout) 1.7s infinite;
}

/* marca nominativa */
.hl-loader__word{
  font:600 clamp(14px,1.1vw,17px)/1 var(--font);
  letter-spacing:.62em;text-indent:.62em;
  color:var(--hl-silver-300);text-transform:uppercase;
  display:flex;overflow:hidden;
}
.hl-loader__word span{
  display:inline-block;transform:translateY(110%);opacity:0;
  animation:hl-letter .9s var(--hl-ease-out) forwards;
}
.hl-loader__word span:nth-child(1){animation-delay:.90s}
.hl-loader__word span:nth-child(2){animation-delay:.96s}
.hl-loader__word span:nth-child(3){animation-delay:1.02s}
.hl-loader__word span:nth-child(4){animation-delay:1.08s}
.hl-loader__word span:nth-child(5){animation-delay:1.14s}
.hl-loader__word span:nth-child(6){animation-delay:1.20s}
.hl-loader__meta{
  font:500 13px/1 var(--font);
  color:rgba(255,255,255,.55);letter-spacing:.18em;
  font-variant-numeric:tabular-nums;
  opacity:0;animation:hl-fade .6s ease 1.3s forwards;
}

/* ---------- estados ---------- */
/* saída: cortina sobe revelando o site */
.hl-loader.is-leaving{pointer-events:none}
.hl-loader.is-leaving .hl-loader__stage{opacity:0;transform:translateY(-6vh) scale(.96)}
.hl-loader.is-leaving .hl-loader__panel{
  transition:clip-path 1s var(--hl-ease-inout) .18s;clip-path:inset(0 0 100% 0);
}
.hl-loader.is-leaving .hl-loader__panel--trail{transition-delay:.3s}
.hl-loader.is-hidden{visibility:hidden}

/* transição entre telas: cortina desce e cobre a página */
.hl-loader.is-covering .hl-loader__panel{clip-path:inset(100% 0 0 0)}
.hl-loader.is-covering.is-in .hl-loader__panel{
  transition:clip-path .7s var(--hl-ease-inout);clip-path:inset(0 0 0 0);
}
.hl-loader.is-covering.is-in .hl-loader__panel--trail{transition-delay:0s}
.hl-loader.is-covering .hl-loader__panel:not(.hl-loader__panel--trail){transition-delay:.08s}
.hl-loader.is-covering .hl-loader__stage{opacity:0}
.hl-loader.is-covering.is-in .hl-loader__stage{opacity:1;transition:opacity .4s ease .45s}
.hl-loader.is-quick .hl-mark__line{animation-duration:.8s;animation-delay:0s}
.hl-loader.is-quick .hl-mark__fill{animation-delay:.45s}
.hl-loader.is-quick .hl-loader__word span{animation-delay:.2s}
.hl-loader.is-quick .hl-loader__meta{animation-delay:.3s}

/* conteúdo entra suavemente após o loader */
.hl-booting body{overflow:hidden}
/* Failsafe: mesmo que o JavaScript falhe, o site aparece em até 9s */
.js .hl-loader{animation:hl-failsafe 0s linear 9s forwards}
@keyframes hl-failsafe{to{visibility:hidden;opacity:0;pointer-events:none}}
.hl-booting body{animation:hl-unlock 0s linear 9s forwards}
@keyframes hl-unlock{to{overflow:auto}}

@keyframes hl-draw{to{stroke-dashoffset:0}}
@keyframes hl-fill{to{opacity:1;transform:scale(1)}}
@keyframes hl-sweep{0%{transform:translateX(-140px) skewX(-18deg)}55%,100%{transform:translateX(140px) skewX(-18deg)}}
@keyframes hl-letter{to{transform:none;opacity:1}}
@keyframes hl-fade{to{opacity:1}}

@media (prefers-reduced-motion: reduce){
  .hl-mark__line{animation:none;stroke-dashoffset:0}
  .hl-mark__fill{animation:none;opacity:1;transform:none}
  .hl-mark__shine{animation:none;display:none}
  .hl-loader__word span,.hl-loader__meta{animation:none;opacity:1;transform:none}
  .hl-loader.is-leaving .hl-loader__panel,.hl-loader.is-covering.is-in .hl-loader__panel{transition:opacity .3s ease;clip-path:none}
  .hl-loader.is-leaving{opacity:0;transition:opacity .35s ease}
}
.hl-loader.is-covering .hl-loader__meta{visibility:hidden}
.hl-loader.is-covering,.hl-loader.is-leaving,.hl-loader.is-hidden{animation:none}

/* ==========================================================================
   Componentes: botões, header, marca, reveal, footer, barras fixas
   ========================================================================== */

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--green-700); --btn-fg: #fff; --btn-hover: var(--green-800); --btn-border: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 0 30px; border-radius: 999px;
  border: 1.5px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
  font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--btn-hover); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(4, 32, 27, .55); }
.btn:active { transform: translateY(0) scale(.985); }
.btn .icon { width: 20px; height: 20px; transition: transform .45s var(--ease-out); }
.btn:hover .icon { transform: translate(3px, -3px); }
.btn .icon-arrow { transition: transform .45s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--green-900); --btn-hover: var(--silver-100); }
.btn-silver { --btn-bg: var(--silver-300); --btn-fg: var(--green-950); --btn-hover: #fff; }
.btn-ghost { --btn-bg: rgba(255,255,255,.04); --btn-fg: #fff; --btn-hover: rgba(255,255,255,.14); --btn-border: rgba(255,255,255,.34); backdrop-filter: blur(10px); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--green-800); --btn-hover: var(--green-50); --btn-border: var(--line-strong); }
.btn-lg { min-height: 64px; padding: 0 36px; font-size: 17.5px; }
.btn-sm { min-height: 48px; padding: 0 22px; font-size: 15.5px; gap: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .6; }
.btn.is-loading .icon { animation: spin 1s linear infinite; }

.text-link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-weight: 600; font-size: 17px; color: var(--green-800);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s ease;
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link .icon { width: 20px; height: 20px; transition: transform .45s var(--ease-out); }
.text-link:hover .icon { transform: translateX(5px); }
.on-dark .text-link { color: var(--silver-200); }

.plain-button { border: 0; background: none; padding: 8px 0; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 4px; color: inherit; }
.icon-button {
  width: 52px; height: 52px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
  transition: background .3s ease, transform .4s var(--ease-out);
}
.icon-button:hover { background: rgba(255,255,255,.1); transform: scale(1.05); }
.rotate-back { transform: rotate(180deg); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; }
.brand-mark { width: 42px; height: 42px; color: var(--green-700); transition: color .4s ease, transform .8s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word strong { font-size: 21px; font-weight: 600; letter-spacing: .26em; margin-right: -.26em; }
.brand-word small { font-size: 10.5px; font-weight: 600; letter-spacing: .38em; margin-top: 6px; opacity: .72; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  color: var(--ink);
  transition: transform .6s var(--ease-out), background-color .5s ease, color .5s ease, box-shadow .5s ease, backdrop-filter .5s ease;
}
.site-header.is-overlay { color: #fff; }
.site-header.is-overlay .brand-mark { color: #fff; }
.site-header.is-solid {
  color: var(--ink); background: rgba(246, 247, 245, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(12, 30, 26, .08);
}
.site-header.is-solid .brand-mark { color: var(--green-700); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.desktop-nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.desktop-nav a {
  position: relative; padding: 10px 16px; border-radius: 999px; font-size: 16px; font-weight: 500;
  opacity: .86; transition: opacity .3s ease, background-color .3s ease;
}
.desktop-nav a:hover, .desktop-nav a.is-active { opacity: 1; background: rgba(127, 140, 136, .14); }
.desktop-nav a[aria-current="page"] { opacity: 1; }
.nav-tag { margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; background: var(--green-700); color: #fff; vertical-align: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
.site-header.is-overlay .header-cta { --btn-bg: #fff; --btn-fg: var(--green-900); --btn-hover: var(--silver-100); }
.reading-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left;
  background: linear-gradient(90deg, var(--green-700), var(--green-300)); transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .3s;
}
.site-header.is-solid .reading-progress { opacity: 1; }

.menu-toggle {
  display: none; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid currentColor;
  background: transparent; align-items: center; justify-content: center; opacity: .9;
}
.menu-toggle span { position: relative; display: block; width: 20px; height: 1.8px; background: currentColor; transition: transform .45s var(--ease-out), background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-toggle span::before { transform: translateY(-6.5px); }
.menu-toggle span::after { transform: translateY(6.5px); }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: rotate(45deg); }
.menu-open .menu-toggle span::after { transform: rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 0; z-index: 55; background: var(--green-950); color: var(--on-dark);
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
}
.menu-open .mobile-panel { clip-path: inset(0); visibility: visible; transition: clip-path .75s var(--ease-in-out), visibility 0s; }
.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .brand-mark { color: #fff; }
.mobile-panel nav { display: flex; flex-direction: column; }
.mobile-panel nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(28px, 7vw, 40px); font-weight: 500; letter-spacing: -.03em;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.menu-open .mobile-panel nav a { opacity: 1; transform: none; }
.menu-open .mobile-panel nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-panel nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-panel nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-panel nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-panel nav a:nth-child(6) { transition-delay: .25s; }
.menu-open .mobile-panel nav a:nth-child(7) { transition-delay: .3s; }
.mobile-panel nav a .icon { width: 26px; height: 26px; opacity: .6; }
.mobile-panel-footer { margin-top: auto; display: grid; gap: 12px; }
.mobile-panel-footer p { color: var(--on-dark-muted); font-size: var(--fs-sm); }

/* ---------- Reveal ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal].is-inview { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-stagger].is-inview > * { opacity: 1; transform: none; }
[data-stagger].is-inview > :nth-child(2) { transition-delay: calc(var(--d, 0s) + .08s); }
[data-stagger].is-inview > :nth-child(3) { transition-delay: calc(var(--d, 0s) + .16s); }
[data-stagger].is-inview > :nth-child(4) { transition-delay: calc(var(--d, 0s) + .24s); }
[data-stagger].is-inview > :nth-child(5) { transition-delay: calc(var(--d, 0s) + .32s); }
[data-stagger].is-inview > :nth-child(6) { transition-delay: calc(var(--d, 0s) + .40s); }
[data-stagger].is-inview > :nth-child(7) { transition-delay: calc(var(--d, 0s) + .48s); }
[data-stagger].is-inview > :nth-child(8) { transition-delay: calc(var(--d, 0s) + .56s); }
.delay-1 { --d: .1s; } .delay-2 { --d: .2s; } .delay-3 { --d: .3s; } .delay-4 { --d: .4s; }

/* Títulos com linhas mascaradas */
.split-lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-lines .line > span { display: block; }
.js .split-lines .line > span { transform: translate3d(0, 110%, 0); transition: transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js .split-lines.is-inview .line > span { transform: none; }
.split-lines.is-inview .line:nth-child(2) > span { transition-delay: calc(var(--d, 0s) + .09s); }
.split-lines.is-inview .line:nth-child(3) > span { transition-delay: calc(var(--d, 0s) + .18s); }
.split-lines.is-inview .line:nth-child(4) > span { transition-delay: calc(var(--d, 0s) + .27s); }

/* Imagem que revela com cortina */
.js .img-reveal { clip-path: inset(8% 8% 8% 8% round var(--r-lg)); transition: clip-path 1.5s var(--ease-out); transition-delay: var(--d, 0s); }
.js .img-reveal img { transform: scale(1.18); transition: transform 2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .img-reveal.is-inview { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .img-reveal.is-inview img { transform: scale(1); }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: var(--on-dark); padding: clamp(80px, 9vw, 130px) 0 36px; position: relative; overflow: hidden; }
.footer-mark { position: absolute; right: -8vw; bottom: -14vw; width: 48vw; max-width: 760px; color: rgba(255,255,255,.035); pointer-events: none; }
.footer .brand-mark { color: var(--silver-400); width: 50px; height: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 48px; position: relative; }
.footer-brand p { margin-top: 26px; color: var(--on-dark-muted); max-width: 320px; font-size: 17px; }
.footer h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--green-300); font-weight: 600; margin-bottom: 22px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-col a { color: var(--on-dark); opacity: .86; font-size: 17px; padding: 5px 0; transition: opacity .3s, transform .4s var(--ease-out); }
.footer-col a:hover { opacity: 1; transform: translateX(4px); }
.footer-24 { font-size: 64px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.footer-24 span { font-size: 28px; color: var(--green-300); margin-left: 4px; }
.footer-col p { color: var(--on-dark-muted); font-size: var(--fs-sm); margin-top: 10px; max-width: 250px; }
.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-links a { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-dark); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.social-links a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.footer-bottom { position: relative; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; color: var(--on-dark-muted); font-size: 15px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }
.back-to-top { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-dark); transition: transform .4s var(--ease-out), background .3s; }
.back-to-top .icon { transform: rotate(-90deg); }
.back-to-top:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }

/* ---------- WhatsApp flutuante e barra mobile ---------- */
.floating-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; display: flex; align-items: center; gap: 0;
  height: 60px; padding: 0 17px; border-radius: 999px; background: var(--green-700); color: #fff;
  box-shadow: 0 18px 40px -16px rgba(4,32,27,.6); transition: gap .5s var(--ease-out), padding .5s var(--ease-out), transform .5s var(--ease-out), opacity .4s;
}
.floating-whatsapp .icon { width: 26px; height: 26px; }
.floating-whatsapp span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 16px; transition: max-width .6s var(--ease-out); }
.floating-whatsapp:hover { gap: 12px; padding-right: 24px; transform: translateY(-3px); }
.floating-whatsapp:hover span { max-width: 200px; }
.page-tour .floating-whatsapp, .page-matricula .floating-whatsapp { display: none; }
.mobile-bottom-bar { display: none; }

/* ---------- Consentimento ---------- */
.consent-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 70; width: min(460px, calc(100% - 32px));
  padding: 28px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); animation: rise .7s var(--ease-out);
}
.consent-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.consent-top .icon { color: var(--green-700); }
.consent-top h2 { font-size: 21px; letter-spacing: -.02em; }
.consent-top .icon-button { margin-left: auto; width: 42px; height: 42px; border-color: var(--line); }
.consent-banner p { font-size: var(--fs-sm); color: var(--muted); }
.consent-banner p a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.consent-options { display: grid; gap: 10px; margin-top: 18px; }
.consent-options label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); }
.consent-options strong { display: block; font-size: 16px; }
.consent-options small { display: block; font-size: 14px; color: var(--muted); }
.consent-options input { width: 22px; height: 22px; accent-color: var(--green-700); }
.consent-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.consent-buttons .btn { min-height: 50px; padding: 0 22px; font-size: 15.5px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Páginas legais / erro ---------- */
.legal-page { padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 var(--section); }
.legal-page .h1 { font-size: clamp(44px, 5vw, 84px); margin-bottom: 28px; }
.legal-content { max-width: 780px; margin-top: 56px; }
.legal-content h2 { font-size: clamp(24px, 2vw, 32px); margin: 48px 0 14px; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: var(--ink-2); font-size: var(--fs-body); }
.legal-content a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.legal-content .btn { margin-top: 36px; }
.back-link { margin-bottom: 36px; }
.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.error-page .h1 { font-size: clamp(44px, 6vw, 96px); margin-bottom: 24px; }
.error-page .lead { max-width: 620px; margin: 0 auto 36px; }
.error-page .eyebrow { justify-content: center; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.error-mark { width: 88px; height: 88px; margin: 0 auto 36px; color: var(--green-700); }

/* ---------- Responsivo global ---------- */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .header-cta { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-word strong { font-size: 18px; }
  .brand-word small { font-size: 9.5px; }
  .btn { min-height: 56px; padding: 0 24px; font-size: 16px; }
  .btn-lg { min-height: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 84px; }
  .floating-whatsapp { display: none; }
  .mobile-bottom-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 10px; padding: 8px;
    border-radius: 999px; background: rgba(4, 32, 27, .9); backdrop-filter: blur(16px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
    transform: translateY(140%); transition: transform .6s var(--ease-out);
  }
  .mobile-bottom-bar.is-visible { transform: none; }
  .mobile-bottom-bar .btn { flex: 1; min-height: 52px; }
  .mobile-whatsapp { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
  .page-tour .mobile-bottom-bar, .page-matricula .mobile-bottom-bar { display: none; }
  .consent-banner { left: 16px; bottom: 16px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-stagger] > *, .js .split-lines .line > span, .js .img-reveal, .js .img-reveal img { opacity: 1; transform: none; clip-path: none; }
}

/* ==========================================================================
   Página inicial
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--green-950); }
.hero-media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 40%; transform: scale(1.14); transition: transform 2.6s var(--ease-out); }
.hl-ready .hero-media img, .no-loader .hero-media img { transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 28, 24, .92) 0%, rgba(4, 28, 24, .78) 32%, rgba(4, 28, 24, .30) 62%, rgba(4, 28, 24, .10) 100%),
    linear-gradient(0deg, rgba(4, 26, 22, .88) 0%, rgba(4, 26, 22, 0) 45%),
    linear-gradient(180deg, rgba(4, 26, 22, .55) 0%, rgba(4, 26, 22, 0) 22%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding-top: calc(var(--header-h) + 60px); padding-bottom: 36px; }
.hero-copy { max-width: 900px; }
.hero .hero-eyebrow { color: var(--silver-200); margin-bottom: 30px; }
.hero-eyebrow::before { display: none; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2.4s ease-out infinite; }
.hero-title { color: #fff; margin-left: -.04em; }
.hl-ready .hero-title .line > span { transform: none; transition-delay: .05s; }
.hl-ready .hero-title .line:nth-child(2) > span { transition-delay: .14s; }
.hl-ready .hero-title .line:nth-child(3) > span { transition-delay: .23s; }
.hero-title em { color: var(--silver-300); }
.hero-lead { max-width: 560px; margin-top: 30px; color: #d5e1dd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.js [data-hero-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out); }
.hl-ready [data-hero-reveal] { opacity: 1; transform: none; }
.hl-ready .hero-lead { transition-delay: .35s; }
.hl-ready .hero-actions { transition-delay: .45s; }
.hl-ready .hero-tour { transition-delay: .6s; }
.hl-ready .hero-bottom { transition-delay: .75s; }
.hero-tour { position: relative; width: 172px; height: 172px; display: grid; place-items: center; color: #fff; margin-bottom: 8px; }
.hero-tour-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero-tour-ring text { fill: currentColor; font-size: 13.5px; font-weight: 600; }
.hero-tour-play {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(12px);
  transition: transform .6s var(--ease-out), background .4s ease;
}
.hero-tour-play .icon { width: 28px; height: 28px; fill: currentColor; transform: translateX(2px); }
.hero-tour:hover .hero-tour-play { transform: scale(1.1); background: rgba(255,255,255,.22); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 34px; color: #c9d6d2; font-size: var(--fs-sm); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.scroll-cue-line { position: relative; width: 1.5px; height: 44px; background: rgba(255,255,255,.22); overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: scroll-cue 2.2s var(--ease-in-out) infinite; }

/* ---------- Números ---------- */
.facts { background: var(--green-800); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; gap: 20px; padding: 42px 28px; border-left: 1px solid var(--line-dark); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-number { font-size: clamp(44px, 4vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: #fff; display: inline-flex; align-items: baseline; }
.fact-number small { font-size: .45em; color: var(--green-300); margin-left: 3px; letter-spacing: -.02em; }
.fact-text strong { display: block; font-size: 17px; font-weight: 600; color: #fff; line-height: 1.3; }
.fact-text span { display: block; font-size: 15px; color: var(--on-dark-muted); line-height: 1.4; margin-top: 2px; }

/* ---------- Experiência ---------- */
.experience-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.experience-visual { position: relative; }
.experience-image { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--silver-100); }
.experience-image picture, .experience-image img { width: 100%; height: 100%; }
.experience-image img { object-fit: cover; object-position: 45% 50%; }
.experience-card {
  position: absolute; right: -28px; bottom: 48px; display: flex; align-items: center; gap: 18px;
  padding: 24px 30px 24px 24px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-lg);
  font-size: 23px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15;
}
.experience-card-mark { width: 56px; height: 56px; color: var(--green-700); }
.image-caption { position: absolute; top: 20px; left: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(4, 28, 24, .62); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.experience-copy .lead { margin-top: 28px; max-width: 560px; }
.value-list { margin: 40px 0 30px; max-width: 600px; }
.value-list li { display: flex; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); }
.value-list li:last-child { border-bottom: 1px solid var(--line); }
.value-number { font-size: 15px; font-weight: 600; color: var(--green-700); padding-top: 4px; min-width: 26px; }
.value-list h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.3; }
.value-list p { color: var(--muted); margin-top: 6px; font-size: 17px; }

/* ---------- Tour teaser ---------- */
.tour-teaser { padding-top: 0; }
.tour-card { position: relative; display: grid; min-height: clamp(560px, 70vh, 760px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--green-950); }
.tour-card-media { position: absolute; inset: -14% 0; z-index: -2; }
.tour-card-media picture, .tour-card-media img { width: 100%; height: 100%; }
.tour-card-media img { object-fit: cover; transition: transform 1.8s var(--ease-out); }
.tour-card:hover .tour-card-media img { transform: scale(1.05); }
.tour-card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(4,28,24,.94) 0%, rgba(4,28,24,.72) 40%, rgba(4,28,24,.25) 75%), linear-gradient(0deg, rgba(4,28,24,.6), transparent 50%); }
.tour-card-content { align-self: end; padding: clamp(32px, 5vw, 72px); max-width: 760px; }
.tour-card-content .lead { margin: 24px 0 36px; max-width: 540px; }
.tour-card-content .btn .icon { fill: currentColor; width: 16px; height: 16px; }
.tour-card-chapters { position: absolute; right: clamp(32px, 5vw, 72px); bottom: clamp(32px, 5vw, 72px); display: grid; gap: 4px; }
.tour-card-chapters li { display: flex; gap: 16px; align-items: center; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); font-size: 16px; color: #e8efed; transition: transform .6s var(--ease-out), background .4s; }
.tour-card-chapters li span { color: var(--green-300); font-size: 14px; font-weight: 600; }
.tour-card:hover .tour-card-chapters li { transform: translateX(-6px); }
.tour-card:hover .tour-card-chapters li:nth-child(2) { transition-delay: .04s; }
.tour-card:hover .tour-card-chapters li:nth-child(3) { transition-delay: .08s; }
.tour-card:hover .tour-card-chapters li:nth-child(4) { transition-delay: .12s; }
.tour-card:hover .tour-card-chapters li:nth-child(5) { transition-delay: .16s; }
.tour-card-badge { position: absolute; top: 28px; right: 28px; display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.tour-card-badge .icon { width: 18px; height: 18px; }

/* ---------- Galeria ---------- */
.gallery-section { background: var(--silver-50); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-heading > .lead { max-width: 420px; }
.gallery-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.gallery-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--green-950); aspect-ratio: 16 / 9; box-shadow: var(--shadow-md); }
.gallery-frame picture, .gallery-frame img { width: 100%; height: 100%; }
.gallery-frame img { object-fit: cover; transition: opacity .5s ease, transform 1.4s var(--ease-out); }
.gallery-frame img.is-swapping { opacity: 0; transform: scale(1.04); }
.gallery-expand { position: absolute; top: 18px; right: 18px; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(4, 28, 24, .55); color: #fff; backdrop-filter: blur(10px); font-size: 15px; font-weight: 600; transition: background .3s; }
.gallery-expand:hover { background: rgba(4, 28, 24, .85); }
.gallery-expand .icon { width: 18px; height: 18px; }
.gallery-frame-label { position: absolute; left: 18px; bottom: 18px; display: inline-flex; gap: 14px; padding: 10px 16px; border-radius: 999px; background: rgba(4, 28, 24, .62); backdrop-filter: blur(10px); color: #fff; font-size: 14px; font-weight: 500; }
.gallery-frame-label > span + span { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); }
.gallery-credit { margin-top: 16px; color: var(--muted); }
.gallery-selectors { display: flex; flex-direction: column; }
.gallery-selector {
  display: flex; align-items: center; gap: 22px; width: 100%; padding: 24px 4px; text-align: left;
  border: 0; border-bottom: 1px solid var(--line); background: none; position: relative;
}
.gallery-selector::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--green-700); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.gallery-selector.is-active::after { transform: scaleX(1); }
.gallery-number { font-size: 14px; font-weight: 600; color: var(--silver-600); align-self: flex-start; padding-top: 5px; }
.gallery-selector-text strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; transition: color .3s; }
.gallery-selector-text small { display: block; font-size: 16px; color: var(--muted); margin-top: 4px; }
.gallery-selector > .icon { margin-left: auto; opacity: .25; transition: opacity .3s, transform .5s var(--ease-out); }
.gallery-selector:hover > .icon, .gallery-selector.is-active > .icon { opacity: 1; transform: translate(3px, -3px); color: var(--green-700); }
.gallery-selector.is-active .gallery-number, .gallery-selector:hover strong { color: var(--green-700); }
.gallery-tour-link { margin-top: 28px; }
.noscript-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }

.lightbox { width: min(1400px, calc(100% - 32px)); max-height: 94svh; padding: 28px 32px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: var(--green-950); color: #fff; }
.lightbox[open] { animation: rise .6s var(--ease-out); }
.lightbox::backdrop { background: rgba(2, 18, 15, .88); backdrop-filter: blur(12px); }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.lightbox .eyebrow { margin-bottom: 8px; }
.lightbox h2 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.03em; }
.lightbox-stage { display: grid; grid-template-columns: 52px 1fr 52px; gap: 20px; align-items: center; }
.lightbox-stage img { width: 100%; height: min(68svh, 760px); object-fit: contain; border-radius: var(--r-sm); }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox-bottom { display: flex; justify-content: space-between; margin: 18px 72px 0; color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Planos ---------- */
.plans-section { background: var(--paper); }
.centered-heading { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 5vw, 80px); }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading .lead { margin-top: 22px; }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; gap: 28px; align-items: stretch; }
.plan-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 30px;
  padding: clamp(32px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan-featured { background: radial-gradient(120% 90% at 100% 0%, var(--green-700) 0%, var(--green-900) 55%, var(--green-950) 100%); border-color: transparent; }
.plan-watermark { position: absolute; right: -90px; top: -90px; width: 340px; height: 340px; color: rgba(255,255,255,.05); pointer-events: none; transition: transform 1.6s var(--ease-out); }
.plan-card:hover .plan-watermark { transform: rotate(-18deg) scale(1.05); }
.plan-badge-ghost { visibility: hidden; }
.plan-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.plan-badge .icon { width: 16px; height: 16px; }
.plan-tagline { display: block; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 12px; }
.plan-featured .plan-tagline { color: var(--green-300); }
.plan-heading .h3 { font-size: clamp(28px, 2.4vw, 36px); }
.plan-heading p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.plan-featured .plan-heading p, .plan-featured .price-note, .plan-featured .plan-footer { color: var(--on-dark-muted); }
.plan-pricing { padding-top: 26px; border-top: 1px solid var(--line); }
.plan-featured .plan-pricing { border-color: var(--line-dark); }
.price-label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan-featured .price-label { color: var(--on-dark-muted); }
.price { display: flex; align-items: flex-start; margin-top: 10px; line-height: 1; }
.price-currency { font-size: 24px; font-weight: 600; margin: 12px 8px 0 0; }
.price strong { font-size: clamp(76px, 7vw, 104px); font-weight: 600; letter-spacing: -.06em; }
.price-cents { font-size: 30px; font-weight: 600; margin-top: 12px; letter-spacing: -.03em; }
.price-period { align-self: flex-end; font-size: 18px; margin: 0 0 14px 6px; opacity: .75; }
.price-note { margin-top: 12px; color: var(--muted); font-size: 17px; }
.enrollment-fee { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--silver-100); font-size: 14.5px; font-weight: 500; }
.plan-featured .enrollment-fee { background: rgba(255,255,255,.1); }
.plan-benefits { display: grid; gap: 14px; }
.plan-benefits li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.plan-benefits .icon { width: 22px; height: 22px; color: var(--green-700); margin-top: 2px; }
.plan-featured .plan-benefits .icon { color: var(--green-300); }
.plan-extra { font-weight: 600; }
.plan-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--muted); }
.plan-featured .plan-footer { border-color: var(--line-dark); }
.plan-footer .icon { width: 20px; height: 20px; }
.plans-fineprint { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; max-width: 1068px; margin-inline: auto; }

/* ---------- Passos da matrícula ---------- */
.steps-section { background: var(--surface); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 28px 36px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .6s var(--ease-out), background .5s, border-color .5s; }
.step:hover { transform: translateY(-6px); background: var(--green-50); border-color: var(--green-100); }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.step-number { font-size: 15px; font-weight: 600; color: var(--green-700); }
.step-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--green-700); }
.step h3 { font-size: 23px; letter-spacing: -.025em; }
.step p { color: var(--muted); margin-top: 10px; font-size: 16.5px; }
.steps-note { margin-top: 32px; }

/* ---------- Modalidades ---------- */
.activities { background: var(--green-900); overflow: hidden; }
.activities-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.activities-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.activities-copy .lead { margin: 28px 0 38px; max-width: 520px; }
.activities-note { color: var(--on-dark-muted); margin-top: 16px; }
.class-list { border-top: 1px solid var(--line-dark); }
.class-group { border-bottom: 1px solid var(--line-dark); }
.class-group summary { list-style: none; display: flex; align-items: center; gap: 24px; padding: 30px 0; cursor: pointer; }
.class-group summary::-webkit-details-marker { display: none; }
.class-index { font-size: 15px; font-weight: 600; color: var(--green-300); min-width: 28px; }
.class-title { font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; transition: transform .6s var(--ease-out); }
.class-group summary:hover .class-title { transform: translateX(8px); }
.class-toggle { margin-left: auto; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-dark); transition: transform .6s var(--ease-out), background .4s, border-color .4s; }
.class-group[open] .class-toggle { transform: rotate(45deg); background: #fff; color: var(--green-900); border-color: #fff; }
.class-body { padding: 0 0 32px 52px; }
.class-body p { color: var(--on-dark-muted); font-size: 18px; }
.class-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.class-tags span { padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 16px; font-weight: 500; background: rgba(255,255,255,.04); }
.class-group[open] .class-body, .faq-item[open] .faq-answer { animation: open-down .6s var(--ease-out); }

/* ---------- Localização ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.location-copy .lead { margin-top: 26px; max-width: 520px; }
.contact-list { margin: 40px 0; display: grid; gap: 0; }
.contact-list li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 26px; height: 26px; color: var(--green-700); margin-top: 2px; }
.contact-list strong { display: block; font-size: 19px; letter-spacing: -.015em; }
.contact-list span { display: block; color: var(--muted); font-size: 16px; margin-top: 2px; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.location-photo { position: relative; display: block; aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); overflow: hidden; }
.location-photo picture, .location-photo img { width: 100%; height: 100%; }
.location-photo img { object-fit: cover; object-position: 55% 50%; transition: transform 1.6s var(--ease-out); }
.location-photo:hover img { transform: scale(1.04); }
.location-pin { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: var(--shadow-md); }
.location-pin > .icon:first-child { width: 28px; height: 28px; color: var(--green-700); }
.location-pin strong { display: block; font-size: 18px; }
.location-pin small { display: block; font-size: 15px; color: var(--muted); }
.location-pin > .icon:last-child { margin-left: auto; transition: transform .5s var(--ease-out); }
.location-photo:hover .location-pin > .icon:last-child { transform: translate(3px, -3px); }

/* ---------- FAQ ---------- */
.faq { background: var(--silver-50); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro .lead { margin: 26px 0 22px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .5s, border-color .5s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; cursor: pointer; font-size: 19.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; background: var(--silver-100); transition: transform .6s var(--ease-out), background .4s, color .4s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--green-700); color: #fff; }
.faq-answer { padding: 0 28px 28px; }
.faq-answer p { color: var(--muted); font-size: 17.5px; max-width: 680px; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; padding-block: clamp(110px, 13vw, 200px); background: radial-gradient(90% 120% at 85% 10%, var(--green-700) 0%, var(--green-900) 50%, var(--green-950) 100%); }
.final-cta-mark { position: absolute; right: -6vw; top: 50%; width: min(58vw, 820px); height: auto; aspect-ratio: 1; transform: translateY(-50%); color: rgba(255,255,255,.05); animation: slow-turn 60s linear infinite; }
.final-cta-inner { position: relative; }
.final-cta .h1 { color: #fff; max-width: 1100px; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(74,222,128,0); } }
@keyframes scroll-cue { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes open-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes slow-turn { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tour-card-chapters { display: none; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-tour { position: absolute; right: 0; top: calc(var(--header-h) + 24px); width: 128px; height: 128px; }
  .hero-tour-play { width: 68px; height: 68px; }
  .hero-tour-ring text { font-size: 15px; }
  .experience-grid, .gallery-grid, .activities-grid, .location-grid, .faq-grid { grid-template-columns: 1fr; }
  .experience-card { right: 16px; bottom: -28px; }
  .experience-visual { margin-bottom: 20px; }
  .activities-copy, .faq-intro { position: static; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 22px; }
  .plans-grid { grid-template-columns: minmax(0, 560px); }
  .location-photo { aspect-ratio: 4 / 3.4; order: -1; }
}
@media (max-width: 760px) {
  .hero { min-height: max(680px, 100svh); }
  .hero-media img { object-position: 64% 40%; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,26,22,.96) 0%, rgba(4,26,22,.75) 45%, rgba(4,26,22,.35) 75%, rgba(4,26,22,.55) 100%); }
  .hero-inner { padding-top: calc(var(--header-h) + 170px); padding-bottom: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-bottom { display: none; }
  .hero-tour { top: calc(var(--header-h) + 18px); right: -6px; width: 118px; height: 118px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 16px; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact-text strong { font-size: 16px; }
  .fact-text span { font-size: 14px; }
  .experience-card { font-size: 19px; padding: 18px 22px 18px 18px; }
  .experience-card-mark { width: 44px; height: 44px; }
  .tour-card { min-height: 620px; border-radius: var(--r-lg); }
  .tour-card-badge { top: 18px; right: 18px; }
  .gallery-selector { padding: 20px 2px; }
  .gallery-selector-text strong { font-size: 19px; }
  .gallery-frame-label { font-size: 13px; }
  .gallery-expand span { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step-top { margin-bottom: 28px; }
  .class-body { padding-left: 0; }
  .class-group summary { gap: 16px; padding: 24px 0; }
  .faq-item summary { padding: 22px 20px; font-size: 17.5px; }
  .faq-answer { padding: 0 20px 22px; }
  .lightbox { padding: 18px; }
  .lightbox-stage { grid-template-columns: 1fr; }
  .lightbox-stage .icon-button { display: none; }
  .lightbox-bottom { margin: 14px 0 0; }
  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .price strong { font-size: 84px; }
}

/* ==========================================================================
   Tour 3D imersivo (/tour/)
   ========================================================================== */
.page-tour { background: var(--green-950); }
.page-tour main { background: var(--paper); }
.tour-playing .site-header { transform: translateY(-100%); }

.tour-stage {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate;
  background: #020f0d; color: #fff; outline: none; user-select: none; -webkit-user-select: none;
}
.tour-stage.is-pseudo-full { position: fixed; inset: 0; z-index: 200; height: 100%; }
.tour-stage:fullscreen { height: 100%; }

/* Camadas da câmera */
.tour-viewport { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 50%; cursor: grab; touch-action: pan-y; }
.tour-stage.is-dragging .tour-viewport { cursor: grabbing; }
.tour-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease-soft), filter 1.4s var(--ease-soft), visibility 0s linear 1.4s; }
.tour-scene.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease-soft), filter 1.2s var(--ease-soft), visibility 0s; }
.tour-scene.is-leaving { opacity: 0; filter: blur(10px) brightness(1.25); visibility: visible; }
.tour-scene.is-entering { filter: blur(6px); }
.tour-plane { position: absolute; inset: -6%; transform-style: preserve-3d; will-change: transform; transform-origin: 50% 50%; backface-visibility: hidden; }
.tour-plane picture, .tour-plane img { width: 100%; height: 100%; }
.tour-plane img { object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.tour-video, .tour-embed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.tour-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(0,0,0,.55) 100%), linear-gradient(0deg, rgba(2,15,13,.82) 0%, transparent 34%), linear-gradient(180deg, rgba(2,15,13,.6) 0%, transparent 20%); }
.tour-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .06; mix-blend-mode: overlay; animation: grain 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-tour-mode="embed"] .tour-vignette, [data-tour-mode="embed"] .tour-grain, [data-tour-mode="embed"] .tour-caption, [data-tour-mode="embed"] .tour-controls, [data-tour-mode="embed"] .tour-hint, [data-tour-mode="embed"] .tour-counter { display: none; }

/* Barra superior */
.tour-topbar { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: calc(env(safe-area-inset-top) + 22px) var(--gutter) 0; transition: opacity .6s ease, transform .6s var(--ease-out); }
.tour-back { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); font-size: 16px; font-weight: 500; transition: background .3s; }
.tour-back:hover { background: rgba(255,255,255,.2); }
.tour-counter { margin-left: auto; font-size: 16px; font-weight: 600; letter-spacing: .06em; opacity: .85; }
.tour-icon-btn { width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); backdrop-filter: blur(14px); color: #fff; transition: background .3s, transform .4s var(--ease-out); }
.tour-icon-btn:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.tour-icon-btn .icon { width: 22px; height: 22px; }

/* Legenda do ambiente */
.tour-caption { position: absolute; left: var(--gutter); bottom: 150px; z-index: 4; display: flex; gap: 26px; align-items: flex-start; max-width: 720px; transition: opacity .6s ease, transform .6s var(--ease-out); }
.tour-caption-index { font-size: 16px; font-weight: 600; color: var(--green-300); padding-top: 14px; }
.tour-caption-title { font-size: clamp(40px, 5vw, 88px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.tour-caption-text { margin-top: 16px; font-size: var(--fs-lead); color: #d8e3e0; max-width: 560px; }
.tour-caption.is-changing .tour-caption-title, .tour-caption.is-changing .tour-caption-text, .tour-caption.is-changing .tour-caption-index { animation: caption-in 1.1s var(--ease-out) both; }
.tour-caption.is-changing .tour-caption-text { animation-delay: .12s; }

/* Controles */
.tour-controls { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 34px); z-index: 5; display: flex !important; align-items: center; gap: 12px; transition: opacity .6s ease, transform .6s var(--ease-out); }
.js .tour-controls { display: flex !important; }
.tour-play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 0; background: #fff; color: var(--green-950); transition: transform .4s var(--ease-out); }
.tour-play:hover { transform: scale(1.07); }
.tour-play .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.tour-play .is-play { fill: currentColor; transform: translateX(2px); opacity: 0; }
.tour-stage.is-paused .tour-play .is-play { opacity: 1; }
.tour-stage.is-paused .tour-play .icon:not(.is-play) { opacity: 0; }
.tour-chapters { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-left: 18px; }
.tour-chapters button { width: 100%; padding: 10px 0; border: 0; background: none; color: #fff; text-align: left; display: grid; gap: 10px; }
.tour-chapter-label { font-size: 14.5px; font-weight: 500; opacity: .55; transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-chapters button:hover .tour-chapter-label, .tour-chapters button[aria-current] .tour-chapter-label { opacity: 1; }
.tour-chapter-bar { position: relative; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.tour-chapter-bar span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.tour-chapters li.is-done .tour-chapter-bar span { transform: scaleX(1); }

.tour-hint { position: absolute; left: 50%; top: 50%; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: 999px; background: rgba(2,15,13,.55); backdrop-filter: blur(12px); font-size: 16px; font-weight: 500; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.tour-hint.is-visible { opacity: 1; }
.tour-hint .icon { width: 26px; height: 26px; animation: hint-drag 2.2s var(--ease-in-out) infinite; }

/* Ocioso: esconde a interface durante a reprodução */
.tour-stage.is-idle { cursor: none; }
.tour-stage.is-idle .tour-controls, .tour-stage.is-idle .tour-topbar { opacity: 0; transform: translateY(12px); }
.tour-stage.is-idle .tour-topbar { transform: translateY(-12px); }

/* Abertura e encerramento */
.tour-intro, .tour-end { position: absolute; inset: 0; z-index: 8; display: grid; align-items: end; padding: calc(var(--header-h) + 40px) var(--gutter) clamp(48px, 8vh, 96px); background: linear-gradient(90deg, rgba(2,15,13,.9) 0%, rgba(2,15,13,.62) 45%, rgba(2,15,13,.2) 100%), linear-gradient(0deg, rgba(2,15,13,.85), transparent 60%); transition: opacity 1s var(--ease-out), visibility 0s linear 1s; }
.tour-intro.is-gone { opacity: 0; visibility: hidden; }
.tour-intro-inner, .tour-end-inner { max-width: 820px; }
.tour-intro-mark { width: 64px; height: 64px; color: var(--silver-300); margin-bottom: 32px; }
.tour-intro .lead { margin: 26px 0 38px; color: #d4e0dc; max-width: 600px; }
.tour-intro-actions, .tour-end-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tour-intro-actions .icon, .tour-end-actions .icon { width: 20px; height: 20px; }
#tour-start .icon { fill: currentColor; width: 16px; height: 16px; }
.tour-intro-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.tour-intro-list li { display: flex; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 15px; color: #dfe8e5; }
.tour-intro-list span { color: var(--green-300); font-weight: 600; }
.js .tour-intro-inner > * { animation: caption-in 1.2s var(--ease-out) both; }
.js .tour-intro-inner > :nth-child(2) { animation-delay: .08s; }
.js .tour-intro-inner > :nth-child(3) { animation-delay: .16s; }
.js .tour-intro-inner > :nth-child(4) { animation-delay: .24s; }
.js .tour-intro-inner > :nth-child(5) { animation-delay: .32s; }
.js .tour-intro-inner > :nth-child(6) { animation-delay: .40s; }
.hl-booting .tour-intro-inner > * { animation-play-state: paused; }
.tour-end { background: rgba(2,15,13,.78); backdrop-filter: blur(6px); align-items: center; animation: fade-in 1s var(--ease-out); }
.tour-end .text-link { margin-top: 28px; color: var(--silver-200); }
.tour-end .h2 { margin-bottom: 36px; color: #fff; }

.tour-below { padding-block: clamp(64px, 8vw, 112px); }
.tour-below-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.tour-below .lead { max-width: 680px; color: var(--ink-2); }
.tour-credit { margin-top: 14px; }
.tour-below-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

@keyframes caption-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
@keyframes hint-drag { 0%, 100% { transform: translateX(-8px) rotate(-8deg); } 50% { transform: translateX(8px) rotate(8deg); } }

@media (max-width: 900px) {
  .tour-chapter-label { display: none; }
  .tour-caption { bottom: 128px; right: var(--gutter); }
  .tour-below-grid { grid-template-columns: 1fr; }
  .tour-below-actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .tour-back span { display: none; }
  .tour-back { padding: 0 14px; }
  .tour-caption { bottom: 118px; gap: 14px; }
  .tour-caption-text { font-size: 17px; margin-top: 10px; }
  .tour-controls { bottom: calc(env(safe-area-inset-bottom) + 24px); gap: 8px; }
  .tour-controls .tour-icon-btn { width: 46px; height: 46px; }
  .tour-play { width: 56px; height: 56px; }
  .tour-chapters { margin-left: 6px; gap: 5px; }
  .tour-intro-actions, .tour-end-actions { flex-direction: column; align-items: stretch; }
  .tour-intro-list { display: none; }
  .tour-hint { font-size: 14.5px; white-space: nowrap; }
}
/* Interface do player só aparece após iniciar */
.js .tour-stage:not(.is-started) .tour-caption,
.js .tour-stage:not(.is-started) .tour-controls,
.js .tour-stage:not(.is-started) .tour-topbar { opacity: 0; pointer-events: none; }
html:not(.js) .tour-caption, html:not(.js) .tour-topbar .tour-counter { display: none; }

/* ==========================================================================
   Matrícula online (/matricula/) e retorno
   ========================================================================== */
.page-matricula main { background: var(--paper); }
.enroll { padding: calc(var(--header-h) + clamp(40px, 5vw, 72px)) 0 var(--section); }
.enroll-head { margin-bottom: clamp(36px, 4vw, 56px); }
.enroll-head .back-link { margin-bottom: 26px; font-size: 16px; }
.enroll-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(28px, 4vw, 64px); align-items: start; }

/* Stepper */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 28px; }
.stepper-item { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 18px; color: var(--muted); font-size: 16px; font-weight: 500; }
.stepper-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line); }
.stepper-item::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--green-700); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.stepper-item.is-done::after, .stepper-item.is-current::after { transform: scaleX(1); }
.stepper-item.is-current::after { opacity: .55; }
.stepper-dot { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-size: 15px; font-weight: 600; background: var(--surface); transition: background .4s, color .4s, border-color .4s; }
.stepper-item.is-current { color: var(--ink); }
.stepper-item.is-current .stepper-dot { border-color: var(--green-700); color: var(--green-700); }
.stepper-item.is-done .stepper-dot { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* Formulário */
.enroll-form { position: relative; }
.enroll-step { border: 0; margin: 0; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.enroll-step.is-active { animation: step-in .7s var(--ease-out); }
.enroll-step.is-back { animation: step-back .7s var(--ease-out); }
.step-title { float: left; width: 100%; padding: 0; margin-bottom: 26px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.step-title + * { clear: both; }
.step-kicker { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); margin-bottom: 12px; }
.step-intro { color: var(--muted); margin: -8px 0 28px; max-width: 640px; }
.step-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.step-actions > :only-child { margin-left: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-option { position: relative; display: flex; gap: 16px; padding: 26px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .4s, background .4s, box-shadow .5s, transform .5s var(--ease-out); }
.plan-option:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option:has(input:checked) { border-color: var(--green-700); background: var(--green-50); box-shadow: 0 0 0 4px rgba(16, 117, 101, .12); }
.plan-option:has(input:focus-visible) { outline: 3px solid var(--green-500); outline-offset: 3px; }
.plan-option-body { display: grid; gap: 10px; flex: 1; }
.plan-option-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-option-top strong { font-size: 22px; letter-spacing: -.025em; }
.plan-option-tag { padding: 4px 10px; border-radius: 999px; background: var(--green-700); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan-option-desc { color: var(--muted); font-size: 16px; }
.plan-option-price { font-size: 30px; font-weight: 600; letter-spacing: -.035em; }
.plan-option-price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-option-list { display: grid; gap: 6px; font-size: 15.5px; }
.plan-option-list span { display: flex; gap: 8px; align-items: center; }
.plan-option-list .icon { width: 18px; height: 18px; color: var(--green-700); }
.plan-option-radio { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.plan-option:has(input:checked) .plan-option-radio { border-color: var(--green-700); box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 13px var(--green-700); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field[data-field="name"], .field[data-field="email"] { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: 16px; font-weight: 600; }
.field input {
  width: 100%; min-height: 60px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface);
  font-size: 18px; transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder { color: #9aa4a1; }
.field input:hover { border-color: var(--silver-600); }
.field input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(16, 117, 101, .14); }
.field.is-invalid input { border-color: #c2412d; box-shadow: 0 0 0 4px rgba(194, 65, 45, .1); }
.field.is-valid input { border-color: var(--green-600); }
.field-hint { color: var(--muted); font-size: 14.5px; }
.field-error { color: #b3361f; font-size: 14.5px; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }

.check { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; font-size: 16.5px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--green-700); }
.check a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.notice { display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: var(--silver-50); color: var(--muted); font-size: 15.5px; }
.notice .icon { width: 22px; height: 22px; color: var(--green-700); margin-top: 1px; }
.notice a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

.review { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.review div { padding: 16px 20px; background: var(--paper); }
.review dt { font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.review dd { margin: 4px 0 0; font-size: 17.5px; font-weight: 500; word-break: break-word; }
.terms-box { margin-top: 8px; }

.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-method { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--paper); }
.pay-method .icon { width: 28px; height: 28px; color: var(--green-700); }
.pay-method strong { display: block; font-size: 18px; }
.pay-method span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.pay-secure { display: flex; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--green-50); color: var(--green-900); font-size: 15.5px; }
.pay-secure .icon { width: 22px; height: 22px; color: var(--green-700); }
.pay-help { margin-top: 18px; font-size: 16px; }

.enroll-alert { display: flex; gap: 14px; margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: #fff6e5; color: #6b4a07; border: 1px solid #f3dca8; font-size: 16px; }
.enroll-alert.is-error { background: #fdeeea; color: #7c2412; border-color: #f5c9bd; }
.enroll-alert.is-info { background: var(--green-50); color: var(--green-900); border-color: var(--green-100); }
.enroll-alert .icon { width: 24px; height: 24px; flex: 0 0 24px; }
.enroll-alert strong { display: block; margin-bottom: 4px; }
.enroll-alert a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.enroll-alert .btn { margin-top: 12px; }

/* Resumo */
.enroll-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-card { position: relative; overflow: hidden; padding: 36px; border-radius: var(--r-xl); background: radial-gradient(120% 90% at 100% 0%, var(--green-700) 0%, var(--green-900) 55%, var(--green-950) 100%); box-shadow: var(--shadow-lg); }
.summary-mark { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; color: rgba(255,255,255,.06); }
.summary-kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-300); }
.summary-plan { font-size: 32px; letter-spacing: -.035em; margin-top: 10px; color: #fff; }
.summary-tagline { color: var(--on-dark-muted); margin-top: 6px; font-size: 16.5px; }
.summary-lines { margin: 28px 0 0; display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.summary-lines div { display: flex; justify-content: space-between; gap: 16px; font-size: 16.5px; }
.summary-lines dt { color: var(--on-dark-muted); }
.summary-lines dd { margin: 0; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.summary-total span { color: var(--on-dark-muted); font-size: 16px; }
.summary-total strong { font-size: 34px; letter-spacing: -.035em; color: #fff; }
.summary-note { margin-top: 12px; font-size: 14px; color: var(--on-dark-muted); }
.summary-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.summary-perks li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 14.5px; }
.summary-perks .icon { width: 17px; height: 17px; color: var(--green-300); }
.summary-help { margin-top: 18px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.summary-help .text-link { font-size: 15.5px; }
.summary-card.is-bump { animation: bump .6s var(--ease-out); }

/* Retorno */
.return-card { max-width: 760px; margin: 0 auto; text-align: center; }
.return-icon { width: 96px; height: 96px; margin: 0 auto 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); }
.return-icon .icon { width: 44px; height: 44px; }
.return-card .lead { margin: 20px auto 32px; max-width: 620px; }
.return-steps { display: grid; gap: 12px; text-align: left; margin: 36px 0; }
.return-steps li { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.return-steps .icon { color: var(--green-700); }

@keyframes step-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.015); } 100% { transform: scale(1); } }

@media (max-width: 1100px) {
  .enroll-grid { grid-template-columns: 1fr; }
  .enroll-summary { position: static; order: -1; }
  .summary-card { padding: 28px; }
  .summary-lines, .summary-note, .summary-perks { display: none; }
  .summary-card.is-expanded .summary-lines { display: grid; }
}
@media (max-width: 760px) {
  .stepper-label { display: none; }
  .stepper-item.is-current .stepper-label { display: inline; }
  .plan-options, .field-grid, .pay-methods, .review { grid-template-columns: 1fr; }
  .enroll-step { padding: 24px 20px; border-radius: var(--r-lg); }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
  .summary-total strong { font-size: 28px; }
}
