/* Isekai Consultoria — build 5 — tipografia: Archivo + Inter (escala recalibrada) */
/* ============================================================
   ISEKAI CONSULTORIA — style.css (versão 2)
   Direção: dark-first, cinematográfica. Fotos em tela cheia,
   serifa de exibição (Instrument Serif) + Inter para texto.
   Cada seção é um "capítulo" numerado.
   ============================================================ */

/* 1. Tokens ----------------------------------------------------- */
:root {
  --color-primary: #1C2B3E;
  --color-secondary: #3C678E;
  --color-soft: #9BB8D4;
  --color-background: #0E1726;     /* fundo dominante */
  --color-surface: #16233A;        /* painéis */
  --color-surface-2: #1E2E48;
  --color-paper: #FFFFFF;          /* seções claras */
  --color-paper-2: #EEF2F6;
  --color-text: #F3F6FA;
  --color-text-dark: #0E1726;
  --color-muted: #9AA7B8;
  --color-muted-dark: #5F6C7A;
  --color-line: rgba(255, 255, 255, .12);
  --color-line-dark: rgba(14, 23, 38, .12);
  --color-whatsapp: #25D366;

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --text-xl: clamp(1.4rem, 1.2rem + .9vw, 1.95rem);
  --text-2xl: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
  --text-3xl: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --space-9: 6rem; --space-10: 9rem;
  --section-y: clamp(5rem, 4rem + 5vw, 9rem);

  --wrap: 1320px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 88px;
  --header-h-compact: 64px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --dur: 320ms;
  --dur-slow: 900ms;
}

/* 2. Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--color-soft); outline-offset: 3px; }
::selection { background: var(--color-secondary); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; top: -100%; left: var(--space-4); z-index: 200;
  padding: var(--space-3) var(--space-4); background: #fff; color: var(--color-text-dark);
}
.skip-link:focus { top: var(--space-4); }

/* 3. Botões ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 1.75rem;
  font-size: var(--text-sm); font-weight: 500; letter-spacing: .02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--light { background: #fff; color: var(--color-text-dark); border-color: #fff; }
.btn--light:hover { background: var(--color-soft); border-color: var(--color-soft); }
.btn--outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); }
.plans .btn--outline { color: var(--color-text-dark); border-color: var(--color-text-dark); }
.plans .btn--outline:hover { background: var(--color-text-dark); color: #fff; }
.btn--text { padding-inline: var(--space-3); color: #fff; }
.btn--text::after { content: ""; width: 24px; height: 1px; background: currentColor; margin-left: var(--space-2); transition: width var(--dur) var(--ease); }
.btn--text:hover::after { width: 40px; }
.btn--sm { min-height: 42px; padding: 0 1.25rem; }
.btn--lg { min-height: 60px; padding: 0 2.25rem; font-size: var(--text-base); }
.btn--block { width: 100%; }

/* 4. Header ----------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: height var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
  color: #fff;
}
.header.is-scrolled {
  height: var(--header-h-compact);
  background: rgba(14, 23, 38, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--color-line);
}
.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  padding-inline: var(--gutter);
}
.header__logo { height: 40px; width: auto; transition: height var(--dur) var(--ease); }
.header.is-scrolled .header__logo { height: 32px; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav__list { display: flex; gap: var(--space-6); }
.nav__link {
  font-size: var(--text-sm); font-weight: 500; color: rgba(255, 255, 255, .72); padding: var(--space-2) 0;
  transition: color var(--dur);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__cta { color: #fff; }
.menu-toggle {
  display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.menu-toggle__bar { width: 26px; height: 1.5px; background: #fff; transition: transform var(--dur) var(--ease); }
.header.is-menu-open .menu-toggle__bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.header.is-menu-open .menu-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + var(--space-6)) var(--gutter) var(--space-7);
  background: var(--color-background);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.header.is-menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease), visibility 0s; }
.mobile-menu__list li { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-expo), transform var(--dur-slow) var(--ease-expo); }
.header.is-menu-open .mobile-menu__list li { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i, 0) * 60ms); }
.mobile-menu__link {
  display: block; padding: var(--space-3) 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.875rem, 9vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; color: #fff;
}
.mobile-menu__footer { display: grid; gap: var(--space-4); }
.mobile-menu__note { font-size: var(--text-sm); color: var(--color-muted); }

/* 5. Capítulos (padrão de título) -------------------------------- */
.section { padding-block: var(--section-y); }
.chapter { position: relative; max-width: 56rem; margin-bottom: var(--space-8); }
.chapter--tight { margin-bottom: var(--space-7); }
.chapter--center { margin-inline: auto; text-align: center; }
.chapter__num {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: var(--text-lg); color: var(--color-secondary);
  margin-bottom: var(--space-4);
}
.chapter__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-2xl); line-height: 1.06; letter-spacing: -0.03em;
}
.chapter__title em { color: var(--color-soft); }
.chapter__text {
  margin-top: var(--space-5); max-width: 46ch;
  font-size: var(--text-md); line-height: 1.7; color: var(--color-muted);
}
.chapter--center .chapter__text { margin-inline: auto; }

/* Seções claras herdam cores escuras */
.on-paper, .problem, .plans, .partners { background: var(--color-paper); color: var(--color-text-dark); }
.problem .chapter__text, .plans .chapter__text, .partners .chapter__text { color: var(--color-muted-dark); }
.problem .chapter__title em, .plans .chapter__title em, .partners .chapter__title em { color: var(--color-secondary); }

/* 6. Hero ------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + var(--space-8)) var(--gutter) var(--space-7);
  overflow: hidden;
  color: #fff;
}
.hero__media, .services__bg, .cta__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img, .services__bg img, .cta__media img {
  position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform;
}
.hero__media img { animation: heroZoom 2.4s var(--ease-expo) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 23, 38, .6) 0%, rgba(14, 23, 38, .35) 30%, rgba(14, 23, 38, .9) 82%, var(--color-background) 100%),
    linear-gradient(90deg, rgba(14, 23, 38, .88) 0%, rgba(14, 23, 38, .55) 45%, rgba(14, 23, 38, .15) 100%);
}
.hero__content { position: relative; max-width: var(--wrap); width: 100%; margin-inline: auto; }
.hero__kicker { font-size: var(--text-sm); letter-spacing: .12em; text-transform: none; color: var(--color-soft); margin-bottom: var(--space-5); }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero__line { display: block; }
.hero__line--italic { font-style: italic; color: var(--color-soft); }
.hero__lead { margin-top: var(--space-6); max-width: 44ch; font-size: var(--text-md); color: rgba(255, 255, 255, .82); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-7); }

/* entrada do hero (uma única coreografia) */
[data-hero-line] { opacity: 0; transform: translateY(28px); animation: heroIn 1.1s var(--ease-expo) forwards; }
[data-hero-line]:nth-of-type(1) { animation-delay: .25s; }
[data-hero-line]:nth-of-type(2) { animation-delay: .4s; }
.hero__lead[data-hero-line] { animation-delay: .6s; }
.hero__actions[data-hero-line] { animation-delay: .75s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__bottom {
  position: relative; max-width: var(--wrap); width: 100%; margin: var(--space-9) auto 0;
  padding-top: var(--space-5); border-top: 1px solid var(--color-line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5);
}
.hero__caption { max-width: 34ch; font-size: var(--text-sm); color: var(--color-muted); }
.hero__scroll {
  font-size: var(--text-xs); letter-spacing: .14em; color: var(--color-muted);
  display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-2);
}
.hero__scroll::after { content: ""; width: 1px; height: 36px; background: var(--color-soft); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* 7. O problema — trilho horizontal ----------------------------- */
.problem { padding-bottom: var(--section-y); }
.rail { position: relative; margin-block: var(--space-6) var(--space-8); }
.rail__track {
  display: flex; gap: var(--space-4);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-bottom: var(--space-4);
  scrollbar-width: none; cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ticket {
  flex: 0 0 min(300px, 76vw); aspect-ratio: 1 / 1.1;
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--space-5);
  background: var(--color-paper-2);
  border-radius: 16px;
  transition: background-color var(--dur) var(--ease);
}
.ticket:hover { background: #E4EAF1; }
.ticket__status { font-size: var(--text-xs); letter-spacing: .1em; color: var(--color-secondary); }
.ticket__text { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.12; letter-spacing: -0.025em; }
.ticket__idx { align-self: flex-end; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--text-lg); color: var(--color-muted-dark); }
.ticket--photo { padding: 0; overflow: hidden; background: var(--color-primary); flex-basis: min(400px, 84vw); aspect-ratio: auto; align-self: stretch; }
.ticket--photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.rail__hint { padding-inline: var(--gutter); font-size: var(--text-xs); letter-spacing: .1em; color: var(--color-muted-dark); }
.problem__closing {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.18; letter-spacing: -0.025em; max-width: 30ch;
}
.problem__closing em { color: var(--color-secondary); }

/* 8. A Isekai — split fixo ------------------------------------- */
.about { padding: 0; background: var(--color-background); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.about__media {
  position: sticky; top: 0; align-self: start;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; transform: scale(1.06); transition: transform 1.6s var(--ease-expo); }
.about__media.is-visible img { transform: scale(1); }
.about__media::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, rgba(14, 23, 38, 0), rgba(14, 23, 38, .8));
  pointer-events: none;
}
.about__figcap {
  position: absolute; z-index: 1; left: var(--gutter); bottom: var(--space-7);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--text-lg); color: #fff;
  padding-left: var(--space-4); border-left: 1px solid var(--color-soft);
}
.about__body { padding: var(--section-y) var(--gutter); align-self: center; }
.pillars { display: grid; }
.pillar {
  display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-5);
  padding: var(--space-5) 0; border-top: 1px solid var(--color-line);
}
.pillar:last-child { border-bottom: 1px solid var(--color-line); }
.pillar dt { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.02em; }
.pillar dd { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.6; padding-top: 3px; }

/* 9. Como funciona — painéis empilhados ------------------------- */
.how { background: var(--color-background); padding-bottom: var(--space-6); }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.how__sticky, .panels, .panel { min-width: 0; }
.panel__title, .chapter__title, .hero__title, .cta__title { overflow-wrap: break-word; }
.how__sticky { position: sticky; top: calc(var(--header-h-compact) + var(--space-6)); }
.how__sticky .chapter { margin-bottom: var(--space-7); }
.how__progress { width: 100%; max-width: 280px; height: 1px; background: var(--color-line); position: relative; }
.how__progress-bar { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--color-soft); transition: width .4s var(--ease); }

.panels { display: grid; gap: var(--space-4); padding-bottom: var(--space-6); }
.panel {
  position: sticky; top: calc(var(--header-h-compact) + var(--space-6) + var(--i) * 1.25rem);
  min-height: 260px;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  display: grid; grid-template-rows: auto 1fr auto;
  transition: transform var(--dur-slow) var(--ease-expo), opacity var(--dur-slow) var(--ease-expo);
}
.panel:nth-child(2) { background: #182741; }
.panel:nth-child(3) { background: #1B2B47; }
.panel:nth-child(4) { background: #1E2F4D; }
.panel:nth-child(5) { background: #223454; }
.panel__num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--text-lg); color: var(--color-soft); }
.panel__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); line-height: 1.02; letter-spacing: -0.028em; align-self: end; }
.panel__text { margin-top: var(--space-5); color: var(--color-muted); max-width: 36ch; }
.panel.is-past { transform: scale(.96); opacity: .5; }

/* 10. Serviços — camadas sobre o edifício ----------------------- */
.services { position: relative; overflow: hidden; }
.services__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--color-background) 0%, rgba(14, 23, 38, .68) 26%, rgba(14, 23, 38, .72) 74%, var(--color-background) 100%),
    radial-gradient(60% 40% at 50% 22%, rgba(14, 23, 38, .55), transparent 70%);
}
.services__bg img { filter: grayscale(1) brightness(1.15) contrast(.9); object-position: center 30%; }
.services .wrap { position: relative; }
.strata { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.stratum {
  padding: var(--space-6);
  background: rgba(14, 23, 38, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--color-line);
  border-radius: 20px;
}
.stratum__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.05; letter-spacing: -0.022em; padding-bottom: var(--space-5); border-bottom: 1px solid var(--color-line); }
.stratum__list li {
  display: flex; gap: var(--space-4); align-items: baseline;
  padding: var(--space-4) 0; border-bottom: 1px solid var(--color-line);
  font-size: var(--text-base);
}
.stratum__list li:last-child { border-bottom: 0; }
.stratum__list span { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--color-soft); min-width: 2ch; }

/* 11. Planos — matriz comparativa ------------------------------- */
.plans { background: var(--color-paper); }
.matrix { border-top: 1px solid var(--color-text-dark); }
.matrix__head, .matrix__foot, .mrow {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
}
.matrix__plan, .matrix__price, .mrow__cell { padding: var(--space-5); }
.matrix__plan { border-left: 1px solid var(--color-line-dark); }
.matrix__plan--featured, .matrix__price--featured, .mrow__cell--f { background: var(--color-primary); color: #fff; }
.matrix__plan--featured { border-left-color: transparent; border-radius: 16px 16px 0 0; margin-top: calc(-1 * var(--space-4)); padding-top: calc(var(--space-5) + var(--space-4)); }
.matrix__price--featured { border-radius: 0 0 16px 16px; }
.matrix__tier { font-size: var(--text-xs); letter-spacing: .1em; color: var(--color-secondary); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; min-height: 2.5rem; }
.matrix__plan--featured .matrix__tier { color: var(--color-soft); }
.matrix__flag { flex: 1 1 100%; font-size: var(--text-xs); letter-spacing: 0; color: #fff; padding-left: var(--space-4); border-left: 1px solid var(--color-soft); }
.matrix__name { margin-top: var(--space-3); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1; letter-spacing: -0.025em; }
.matrix__tag { margin-top: var(--space-2); font-weight: 500; font-size: var(--text-sm); }
.matrix__for { margin-top: var(--space-3); font-size: var(--text-sm); line-height: 1.6; color: var(--color-muted-dark); }
.matrix__plan--featured .matrix__for { color: var(--color-soft); }

.mrow { border-top: 1px solid var(--color-line-dark); }
.mrow__label { padding: var(--space-4) var(--space-5) var(--space-4) 0; font-size: var(--text-sm); font-weight: 500; }
.mrow__cell { padding-block: var(--space-4); border-left: 1px solid var(--color-line-dark); font-size: var(--text-sm); color: var(--color-text-dark); }
.mrow__cell--f { border-left-color: transparent; color: #fff; }
.mrow__cell--no { color: var(--color-muted-dark); }
.mrow__cell--f.mrow__cell--no { color: rgba(255, 255, 255, .35); }
.mrow__cell--yes::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); margin-right: var(--space-2); }
.mrow__cell--f.mrow__cell--yes::before { background: var(--color-soft); }
.fn a { color: var(--color-secondary); font-weight: 600; margin-left: 2px; }

.matrix__foot { border-top: 1px solid var(--color-line-dark); }
.matrix__price { border-left: 1px solid var(--color-line-dark); display: grid; gap: var(--space-5); align-content: start; }
.matrix__price--featured { border-left-color: transparent; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 2.125rem; line-height: 1; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 2px; }
.price__cur { font-size: var(--text-md); font-family: var(--font-body); margin-right: 4px; }
.price__cents { font-size: var(--text-md); font-family: var(--font-body); }
.price__per { font-size: var(--text-sm); font-family: var(--font-body); color: var(--color-muted-dark); margin-left: 6px; }
.matrix__price--featured .price__per { color: var(--color-soft); }
.price--text { font-size: 1.5rem; font-style: italic; font-weight: 500; }

.notes { margin-top: var(--space-7); display: grid; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-muted-dark); max-width: 72ch; }
.notes span { color: var(--color-secondary); font-weight: 600; margin-right: 4px; }

/* 12. Parceiros — órbita de rótulos ----------------------------- */
.partners { background: var(--color-paper-2); }
.orbit { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); max-width: 60rem; margin-inline: auto; }
.orbit__link {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-text-dark); border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1; letter-spacing: -0.02em;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.orbit__link:hover, .orbit__link:focus-visible { background: var(--color-text-dark); color: #fff; transform: translateY(-2px); }
.orbit__link:focus-visible { outline-color: var(--color-secondary); }
.orbit__arrow {
  font-size: var(--text-sm); line-height: 1;
  opacity: 0; width: 0; margin-left: calc(-1 * var(--space-3));
  overflow: hidden;
  transition: opacity var(--dur) var(--ease), width var(--dur) var(--ease), margin var(--dur) var(--ease), transform var(--dur) var(--ease);
  transform: translateX(-4px);
}
.orbit__link:hover .orbit__arrow, .orbit__link:focus-visible .orbit__arrow { opacity: 1; width: 1em; margin-left: 0; transform: none; }
.orbit__note {
  margin-top: var(--space-6); text-align: center;
  font-size: var(--text-sm); color: var(--color-muted-dark);
}

/* 13. CTA ------------------------------------------------------- */
.cta { position: relative; overflow: hidden; min-height: 80vh; display: flex; align-items: center; color: #fff; }
.cta__media img { filter: grayscale(1); }
.cta__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 23, 38, .75), rgba(14, 23, 38, .92)); }
.cta__inner { position: relative; text-align: center; }
.cta__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch; margin-inline: auto; }
.cta__title em { color: var(--color-soft); }
.cta__text { margin: var(--space-6) auto 0; max-width: 40ch; font-size: var(--text-md); color: var(--color-muted); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-7); }

/* 14. Footer ---------------------------------------------------- */
.footer { background: var(--color-background); border-top: 1px solid var(--color-line); padding-top: var(--space-8); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--space-7); padding-bottom: var(--space-8); }
.footer__brand img { width: 168px; }
.footer__tagline { margin-top: var(--space-5); color: var(--color-muted); font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); letter-spacing: -0.02em; }
.footer__nav ul { display: grid; gap: var(--space-2); }
.footer__nav a, .footer__contact a { color: #fff; transition: color var(--dur); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--color-soft); }
.footer dl { display: grid; gap: var(--space-4); }
.footer dt { font-size: var(--text-xs); letter-spacing: .08em; color: var(--color-muted); margin-bottom: 2px; }
.footer dd { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: var(--text-xs); }
.footer__top { color: #fff; }
.footer__alt { display: inline-block; margin-top: 2px; font-size: var(--text-xs); color: var(--color-muted) !important; }
.footer__alt:hover { color: var(--color-soft) !important; }

/* 15. Revelação ------------------------------------------------- */
[data-reveal], [data-reveal-group] > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-expo), transform var(--dur-slow) var(--ease-expo);
}
.is-visible[data-reveal], .is-visible[data-reveal-group] > * { opacity: 1; transform: none; }
[data-reveal-group] > :nth-child(2) { transition-delay: 80ms; }
[data-reveal-group] > :nth-child(3) { transition-delay: 160ms; }
[data-reveal-group] > :nth-child(4) { transition-delay: 240ms; }
[data-reveal-group] > :nth-child(5) { transition-delay: 320ms; }
[data-reveal-group] > :nth-child(6) { transition-delay: 400ms; }
.no-js [data-reveal], .no-js [data-reveal-group] > *, .no-js [data-hero-line] { opacity: 1; transform: none; animation: none; }

/* 16. Responsivo ------------------------------------------------ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .how__sticky { position: static; }
  .how__progress { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav__cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: 92svh; }
  .hero__bottom { flex-direction: column; align-items: flex-start; margin-top: var(--space-8); }
  .hero__scroll { display: none; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { position: relative; height: 62vw; min-height: 260px; }
  .about__body { padding-block: var(--space-8); }
  .pillar { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }

  .panel { position: relative; top: auto; min-height: 0; }
  .panel__title { font-size: clamp(1.5rem, 7vw, 1.875rem); }
  .panel__text { max-width: none; }
  .panel.is-past { transform: none; opacity: 1; }

  .strata { grid-template-columns: minmax(0, 1fr); }

  /* Matriz: planos empilhados + comparativo em lista */
  .matrix { display: grid; gap: var(--space-5); border-top: 0; }
  .matrix__head, .matrix__foot { display: contents; }
  .matrix__corner { display: none; }
  .matrix__plan { border: 1px solid var(--color-line-dark); border-radius: 16px 16px 0 0; }
  .matrix__plan--featured { margin-top: 0; padding-top: var(--space-5); border-color: var(--color-primary); }
  .matrix__price { border: 1px solid var(--color-line-dark); border-top: 0; border-radius: 0 0 16px 16px; margin-top: calc(-1 * var(--space-5)); }
  .matrix__price--featured { border-color: var(--color-primary); }
  .matrix__plan:nth-child(2) { order: 1; } .matrix__price:nth-child(2) { order: 2; }
  .matrix__plan:nth-child(3) { order: 3; } .matrix__price:nth-child(3) { order: 4; }
  .matrix__plan:nth-child(4) { order: 5; } .matrix__price:nth-child(4) { order: 6; }

  .matrix__body { order: 7; border-top: 1px solid var(--color-line-dark); }
  .mrow { display: block; padding-block: var(--space-5); }
  .mrow__label { padding: 0 0 var(--space-3); font-weight: 600; font-size: var(--text-base); }
  .mrow__cell {
    display: flex; justify-content: space-between; gap: var(--space-4);
    padding: var(--space-2) 0; border-left: 0; background: none !important; color: var(--color-text-dark);
    text-align: right;
  }
  .mrow__cell::after { font-weight: 500; color: var(--color-muted-dark); order: -1; text-align: left; }
  .mrow__cell:nth-child(2)::after { content: "Essencial"; }
  .mrow__cell:nth-child(3)::after { content: "Plus"; }
  .mrow__cell:nth-child(4)::after { content: "Premium"; }
  .mrow__cell--f { font-weight: 600; }
  .mrow__cell--f.mrow__cell--no { color: var(--color-muted-dark); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --header-h-compact: 56px; }
  .header__logo { height: 32px; }
  .hero__title { max-width: none; font-size: clamp(2.125rem, 9vw, 2.75rem); }
  .hero__actions .btn--light { width: 100%; }
  .chapter__title { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .ticket { aspect-ratio: 1 / 1.2; }
  .orbit__link { font-size: var(--text-md); padding: var(--space-3) var(--space-5); }
  .orbit__arrow { opacity: 1; width: 1em; margin-left: 0; transform: none; }
  .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .footer__bottom { flex-direction: column; }
}

/* 17. Movimento reduzido ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-reveal], [data-reveal-group] > *, [data-hero-line] { opacity: 1; transform: none; }
  .about__media img { transform: none; }
  .panel.is-past { transform: none; opacity: 1; }
}
