/* =====================================================================
   Landing Metodologia Atina (MCA)
   Sistema visual de marca comprometido: Rubik · roxo #432272 ·
   lavanda #e7e1ef · laranja #f68f28. Chapado, sóbrio, respiro alto.
   ===================================================================== */

/* ---------- Fallback metric-matched para reduzir CLS ---------- */
@font-face {
  font-family: "Rubik Fallback";
  src: local("Arial");
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --roxo: #432272;
  --roxo-700: #371b5f;
  --roxo-900: #261243;
  --lavanda: #e7e1ef;
  --lavanda-soft: #f3f0f8;
  --laranja: #f68f28;
  --laranja-700: #d9761a;
  --teal: #00aca5;        /* par institucional do roxo (brandbook) */
  --teal-ink: #00736e;    /* teal como texto sobre claro (branco e lavanda-soft), AA >= 4.5:1 */
  --teal-deep: #006f6a;
  --teal-on-roxo: #1bb8b0; /* teal como texto/kicker sobre roxo, AA >= 4.5:1 */
  --branco: #ffffff;
  --tinta: #1c1230;
  --tinta-suave: #4a4458;
  --tinta-on-roxo: rgba(255, 255, 255, 0.86);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --maxw: 1140px;
  --measure: 66ch;

  --fs-display: clamp(2.6rem, 6vw, 5.4rem);
  --fs-h2: clamp(1.8rem, 3.7vw, 3.35rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.45rem);
  --fs-lead: clamp(1.075rem, 1.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-num: clamp(2.6rem, 5.8vw, 4.9rem);

  --space-section: clamp(4rem, 9vw, 8rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-quint-ish */
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo: entrada decidida do hero */

  --z-sticky: 50;
  --z-topbar: 60;
  --z-skip: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (max-width: 640px) { html { scroll-padding-top: 1rem; } } /* sem topbar fixa no mobile */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Rubik", "Rubik Fallback", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.section { padding-block: var(--space-section); }
/* Seção branca seguida de outra branca: colapsa o padding duplicado (que sem
   mudança de cor vira respiro cavernoso) para um respiro único e consistente. */
.section:not([class*="panel"]) + .section:not([class*="panel"]) { padding-top: 0; }
.section__head { max-width: 56ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--fs-h2); letter-spacing: -0.02em; color: var(--tinta); }
.section__title--light { color: #fff; }
.section__sub { font-size: var(--fs-lead); color: var(--tinta-suave); margin-top: 1rem; font-weight: 400; }
.section__sub--light { color: var(--tinta-on-roxo); }
.lead { font-size: var(--fs-lead); color: var(--tinta-suave); margin-top: 1rem; max-width: var(--measure); }
/* Banda de foto real (acervo Bahia), para humanizar seções editoriais */
.photo-band { margin-top: clamp(2rem, 4vw, 3rem); }
.photo-band img { width: 100%; max-height: 440px; object-fit: cover; object-position: center 38%; border-radius: var(--radius-lg); display: block; box-shadow: 0 24px 50px -34px rgba(38, 18, 67, 0.5); }
.photo-band figcaption { margin-top: 0.85rem; font-size: 0.875rem; color: var(--tinta-suave); text-align: center; }
.block__title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.block__title--light { color: #fff; }
.note { font-size: 0.9375rem; color: var(--tinta-suave); margin-top: 1rem; }
/* Kicker teal + filete: dispositivo de marca (brandbook), usado com parcimônia */
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 0.9rem; }
.kicker::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.kicker--on-roxo { color: var(--teal-on-roxo); }

/* ---------- Panels ---------- */
.panel--roxo { background: var(--roxo); color: #fff; }
.panel--roxo p { color: var(--tinta-on-roxo); }
.panel--lavanda { background: var(--lavanda); }
.panel--lavanda-soft { background: var(--lavanda-soft); }
.panel--teal { background: var(--teal); color: var(--roxo-900); }
.panel--teal p { color: var(--roxo-900); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: var(--z-skip);
  background: var(--roxo); color: #fff; padding: 0.6rem 1rem;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--roxo); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.85rem 1.55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 500; line-height: 1.1;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--roxo); --btn-fg: #fff; }
.btn--primary:hover { background: var(--roxo-700); }
.btn--accent { --btn-bg: var(--laranja); --btn-fg: #2a1606; box-shadow: 0 8px 24px -10px rgba(246, 143, 40, 0.7); }
.btn--accent:hover { background: var(--laranja-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--ghost.btn--on-light { --btn-fg: var(--roxo); border-color: rgba(67, 34, 114, 0.35); }
.btn--ghost.btn--on-light:hover { background: rgba(67, 34, 114, 0.06); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--roxo); border-color: var(--roxo); }
.btn--outline:hover { background: var(--roxo); color: #fff; }
.btn--sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* ---------- Topbar (desktop, pós-hero) ---------- */
.topbar {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: var(--z-topbar);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.6rem clamp(1.25rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(67, 34, 114, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease);
}
.topbar[data-hidden="false"] { transform: translateY(0); }
.topbar__brand { display: inline-flex; }
.topbar__nav { display: none; gap: 1.5rem; margin-inline-start: auto; }
.topbar__nav a { text-decoration: none; color: var(--tinta-suave); font-weight: 500; font-size: 0.95rem; padding-block: 0.5rem; }
.topbar__nav a:hover { color: var(--roxo); }
.topbar .btn { margin-inline-start: auto; }
@media (min-width: 880px) {
  .topbar__nav { display: inline-flex; }
  .topbar .btn { margin-inline-start: 0; }
}
@media (max-width: 640px) { .topbar { display: none; } } /* mobile usa sticky-cta */

/* ---------- Sticky CTA (mobile thumb-zone) ---------- */
.sticky-cta {
  position: fixed; inset-inline: 1rem; inset-block-end: 1rem; z-index: var(--z-sticky);
  display: none; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.9rem 1.5rem;
  background: var(--laranja); color: #2a1606; font-weight: 600;
  text-decoration: none; border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(38, 18, 67, 0.55);
  opacity: 0; transform: translateY(120%);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.sticky-cta[data-show="true"] { opacity: 1; transform: translateY(0); }
@media (max-width: 640px) { .sticky-cta { display: inline-flex; } }

/* ---------- Reveal motion ----------
   Conteúdo é VISÍVEL por padrão. O estado oculto só é aplicado quando há JS
   (html.js), e só então a entrada é animada. Sem JS, em crawler, aba oculta ou
   render headless, nada fica escondido: o reveal apenas enriquece o default. */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(22px); will-change: opacity, transform; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Entrada-assinatura do hero: o unico momento coreografado da pagina.
   Cascata uma vez, no load (nao em scroll). A foto "assenta" com um leve
   recuo de escala. Tudo atras de html.js (classe posta no <head>, sem FOUC)
   e de no-preference (reduced-motion ve o hero estatico e legivel). */
@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  html.js .hero__inner--enter > * { opacity: 0; animation: heroRise 0.72s var(--ease-hero) both; }
  html.js .hero__inner--enter > .hero__logo      { animation-delay: 0.08s; }
  html.js .hero__inner--enter > .hero__title     { animation-delay: 0.20s; }
  html.js .hero__inner--enter > .hero__sub       { animation-delay: 0.34s; }
  html.js .hero__inner--enter > .hero__actions   { animation-delay: 0.48s; }
  html.js .hero__inner--enter > .hero__signature { animation-delay: 0.60s; }
  html.js .hero__media img { animation: heroSettle 1.7s var(--ease-hero) both; transform-origin: center 30%; }
}

/* ============================ HERO ============================ */
.hero {
  position: relative; isolation: isolate;
  display: grid; place-items: center; text-align: center;
  min-height: clamp(560px, 92vh, 900px);
  padding-block: clamp(4rem, 12vh, 8rem);
  background: var(--roxo-900);
}
/* Foto humanizada por baixo + véu roxo para legibilidade AA do texto */
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(38, 18, 67, 0.78) 0%, rgba(38, 18, 67, 0.84) 55%, rgba(38, 18, 67, 0.92) 100%);
}
.hero__inner { max-width: min(760px, 92vw); padding-inline: clamp(1.25rem, 5vw, 3rem); }
.hero__logo { width: clamp(108px, 12vw, 140px); height: auto; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); }
.hero__title { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.045em; color: #fff; max-width: 15ch; margin-inline: auto; }
.hero__sub {
  max-width: 46ch; margin: 1.5rem auto 0; font-size: var(--fs-lead);
  color: var(--tinta-on-roxo); line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 2.25rem; }
.hero__signature {
  max-width: 52ch; margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  font-size: 0.9375rem; color: rgba(255, 255, 255, 0.84); line-height: 1.6;
}

/* ============================ CRED ============================ */
.cred { padding-block: clamp(2rem, 4vw, 3rem); border-top: 3px solid var(--teal); }
.cred__list {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  list-style: none; display: grid; gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.cred__item { display: flex; flex-direction: column; gap: 0.35rem; }
.cred__num { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--roxo); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cred__label { font-size: 0.9375rem; color: var(--tinta-suave); line-height: 1.45; }

/* ============================ PROBLEMA ============================ */
.problema__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 800px) { .problema__grid { grid-template-columns: 1fr 1fr; } }
.problema__col > p:first-of-type { color: var(--tinta-suave); }
/* Indicadores diretos: número protagonista + rótulo curto + fonte como tag */
.stats { margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.stat { display: grid; gap: 0.35rem; background: #fff; border: 1px solid rgba(67, 34, 114, 0.1); border-radius: var(--radius); padding: 1.15rem 1.3rem; box-shadow: 0 12px 26px -20px rgba(38, 18, 67, 0.3); }
.stat__num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; color: var(--roxo); font-variant-numeric: tabular-nums; }
.stat__unit { font-size: 0.36em; font-weight: 600; color: var(--tinta-suave); letter-spacing: 0; vertical-align: baseline; }
.stat__label { color: var(--tinta); max-width: 34ch; font-size: 0.95rem; }
.stat__src { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal-ink); }

/* Barra de comparação (Brasil x OCDE) */
.gap { margin-top: 0.35rem; display: grid; gap: 0.5rem; max-width: 360px; }
.gap__row { display: grid; grid-template-columns: 3.4rem 1fr 2.6rem; align-items: center; gap: 0.7rem; font-size: 0.82rem; }
.gap__k { color: var(--tinta-suave); font-weight: 500; }
.gap__bar { height: 0.6rem; background: rgba(67, 34, 114, 0.1); border-radius: 999px; overflow: hidden; }
.gap__fill { display: block; height: 100%; background: var(--roxo); border-radius: 999px; transform-origin: left; }
.gap__fill--ref { background: var(--laranja); }
.gap__v { text-align: end; font-weight: 700; color: var(--tinta); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-visible .gap__fill { animation: gapGrow 0.9s var(--ease) both; }
  @keyframes gapGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.problema__callout { margin-top: 1.5rem; padding: 1.15rem 1.3rem; background: var(--lavanda-soft); border-radius: var(--radius); color: var(--tinta); }
.problema__callout .stat__src { display: block; margin-top: 0.65rem; }

/* ============================ VIRADA ============================ */
.virada { display: grid; place-items: center; text-align: center; padding-block: clamp(5rem, 14vw, 9rem); }
.virada__line {
  max-width: 17ch; margin-inline: auto; font-size: clamp(2.1rem, 5.6vw, 4.1rem);
  font-weight: 800; letter-spacing: -0.035em; color: var(--roxo-900); line-height: 1.08;
}

/* ============================ BIG IDEA ============================ */
.bigidea__grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: 1fr; max-width: 920px; margin-inline: auto; }
@media (min-width: 760px) { .bigidea__grid { grid-template-columns: 1fr 1fr; } }
.bigidea__sense { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.bigidea__icon { display: inline-flex; width: 52px; height: 52px; color: var(--roxo); margin-bottom: 1rem; }
.bigidea__icon svg { width: 100%; height: 100%; }
.bigidea__sense:nth-child(2) .bigidea__icon { color: var(--teal-ink); }
.bigidea__close {
  max-width: 18ch; margin: clamp(3rem, 8vw, 5.5rem) auto 0; text-align: center;
  font-size: clamp(2rem, 5.4vw, 3.8rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.035em; color: var(--roxo); text-wrap: balance;
}
.bigidea__cta { text-align: center; margin-top: 2.25rem; }

/* ============================ MÉTODO ============================ */
.metodo__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .metodo__grid { grid-template-columns: 1.4fr 1fr; } }
.metodo__body > p { margin-top: 1rem; max-width: var(--measure); color: var(--tinta); }
.metodo__body i[lang="la"] { font-style: italic; }
.dim { margin-top: 1.75rem; }
.metodo__cycle { margin-top: 1.75rem; font-size: var(--fs-lead); }
.metodo__cycle strong { color: var(--roxo); }
.metodo__proof {
  position: sticky; top: 5rem;
  background: var(--lavanda-soft); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); text-align: center;
}
.bookcard { margin-bottom: 1.25rem; }
.bookcard img {
  width: min(220px, 70%); margin-inline: auto; border-radius: 6px;
  box-shadow: 0 18px 40px -16px rgba(38, 18, 67, 0.45);
}
.metodo__proof-text { font-size: 0.95rem; color: var(--tinta-suave); text-align: start; }
@media (max-width: 899px) { .metodo__proof { position: static; } }

/* ============================ COMPETÊNCIAS ============================ */
.comp__grid {
  list-style: none; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.comp__item { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid rgba(67, 34, 114, 0.08); }
.comp__item h3 { font-size: 1.1rem; font-weight: 600; color: var(--roxo); }
.comp__item p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--tinta-suave); }
.comp__src { display: inline-block; margin-top: 0.85rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--roxo); opacity: 0.7; }
.comp__synthesis {
  max-width: 60ch; margin: clamp(2rem, 5vw, 3rem) auto 0; text-align: center;
  font-size: var(--fs-lead); color: var(--tinta);
}
.comp__synthesis strong { color: var(--roxo); }
.seals { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.5rem; }
.seals li { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink); padding: 0.4rem 0.85rem; border: 1px solid rgba(0, 172, 165, 0.4); border-radius: 999px; }

/* ============================ BAHIA ============================ */
.bignums { display: grid; gap: clamp(2rem, 4.5vw, 3.75rem); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-block: clamp(1rem, 3vw, 2rem); }
.bignum { text-align: center; }
.bignum__n { display: block; font-size: var(--fs-num); font-weight: 800; line-height: 0.92; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bignum__l { display: block; margin-top: 0.75rem; font-size: 0.95rem; color: var(--tinta-on-roxo); line-height: 1.4; }
.credit { margin-top: 2rem; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.74); }
.credit--light { color: rgba(255,255,255,0.7); text-align: start; }

/* ============================ FEBRACE ============================ */
.febrace__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.proofblock { background: var(--lavanda-soft); border-radius: var(--radius); padding: 1.6rem; }
.proofblock p { color: var(--tinta-suave); font-size: 0.97rem; margin-top: 0.4rem; }
.proofblock--feature { background: var(--roxo); color: #fff; grid-column: 1 / -1; padding: clamp(1.6rem, 3vw, 2.4rem); }
.proofblock--feature p { color: var(--tinta-on-roxo); }
.proofblock__lead { font-size: var(--fs-lead); }
.growth { margin-top: 1rem; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; color: #fff; line-height: 1.2; }
.growth__from { color: rgba(255,255,255,0.6); }
.growth__to { color: var(--laranja); }
.mechanism { max-width: var(--measure); margin: clamp(2rem,4vw,3rem) auto 0; color: var(--tinta-suave); }

/* ============================ MAGALU (bipartido) ============================ */
.magalu { display: grid; grid-template-columns: 1fr; }
@media (min-width: 920px) { .magalu { grid-template-columns: 1fr 1fr; } }
.magalu__media { position: relative; min-height: 320px; }
.magalu__media img { width: 100%; height: 100%; object-fit: cover; }
.magalu__panel { padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem); display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.magalu__panel .section__head { margin-bottom: 0.5rem; }
.magalu__nums { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; margin-block: 0.75rem; }
@media (max-width: 460px) { .magalu__nums { grid-template-columns: 1fr; } }
.magalu__nums .bignum__n { font-size: clamp(2rem, 5vw, 3rem); }
.magalu__nums li:nth-child(-n + 2) .bignum__n { color: var(--laranja); }
.magalu__panel .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ============================ AUTORIDADE ============================ */
.autoridade__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .autoridade__grid { grid-template-columns: 0.85fr 1.15fr; } }
.autoridade__photo img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4 / 5; }
.autoridade__body > p { margin-top: 1rem; max-width: var(--measure); color: var(--tinta); }
.autoridade__name { font-size: 1.3rem; font-weight: 700; color: var(--roxo); margin-top: 1.5rem !important; }
.autoridade__role { color: var(--tinta-suave) !important; font-size: 0.97rem; margin-top: 0.25rem !important; }

/* ---------- Disclosure (progressive) ---------- */
.disclosure { margin-top: 1.75rem; border-top: 1px solid rgba(67,34,114,0.15); }
.disclosure summary {
  list-style: none; cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--roxo);
  display: flex; align-items: center; gap: 0.5rem;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; margin-inline-start: auto; font-size: 1.4rem; font-weight: 400; transition: transform 0.25s var(--ease); }
.disclosure[open] summary::after { transform: rotate(45deg); }
.disclosure__list { list-style: none; padding-bottom: 1rem; display: grid; gap: 0.5rem; }
.disclosure__list li { font-size: 0.95rem; color: var(--tinta-suave); }
.disclosure__list strong { color: var(--tinta); }

/* ============================ SISTEMA ============================ */
.pilares { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pilar { position: relative; background: var(--lavanda-soft); border-radius: var(--radius); padding: 1.75rem; }
.pilar--featured { background: var(--roxo); color: #fff; }
.pilar--featured p { color: var(--tinta-on-roxo); }
.pilar--featured .pilar__n { color: var(--laranja); }
.pilar__n { display: block; font-size: 1.5rem; font-weight: 700; color: var(--roxo); opacity: 0.5; margin-bottom: 0.5rem; }
.pilar h3 { font-size: 1.1rem; font-weight: 600; }
.pilar p { margin-top: 0.5rem; font-size: 0.95rem; }
.sistema__close { max-width: 60ch; margin: clamp(2rem,4vw,3rem) auto 0; text-align: center; font-size: var(--fs-lead); color: var(--tinta); }

/* ============================ LIVRO ============================ */
/* Bipartite imersivo: a composição capa + pranchas ocupa a metade inteira */
.livro { display: grid; grid-template-columns: 1fr; background: var(--lavanda); }
@media (min-width: 920px) { .livro { grid-template-columns: 1.06fr 0.94fr; align-items: stretch; } }
.livro__media { position: relative; overflow: hidden; min-height: clamp(420px, 58vw, 640px); background: radial-gradient(125% 120% at 28% 18%, var(--lavanda) 0%, var(--lavanda-soft) 65%, #e9e2f0 100%); }
.livro__stack { position: absolute; inset: 0; }
.livro__stack > img { position: absolute; border-radius: 5px; box-shadow: 0 34px 70px -28px rgba(38, 18, 67, 0.62); }
.livro__prancha--a { width: 86%; top: -5%; left: 24%; transform: rotate(6deg); z-index: 1; }
.livro__prancha--b { width: 84%; top: 60%; left: -16%; transform: rotate(-6deg); z-index: 2; }
.livro__capa { width: 74%; top: 21%; left: 14%; transform: rotate(-2deg); z-index: 3; }
.livro__body { background: var(--lavanda); padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.livro__body > p { max-width: var(--measure); }
.livro__facets { margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.livro__facets p { color: var(--tinta); }
.livro__facets strong { color: var(--roxo); }
.livro__cta { margin-top: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.livro__cta-note { font-size: 0.875rem; color: var(--tinta-suave); max-width: 40ch; }

/* ============================ MOBILIZA ============================ */
/* Showcase como colagem editorial: superfícies/personas diferentes, formatos variados */
.mobiliza__showcase { display: grid; gap: 0.85rem; grid-template-columns: 1fr; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.mob-tile { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 18px 42px -26px rgba(38, 18, 67, 0.45); }
.mob-tile > img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.mob-tile--phone { aspect-ratio: 3 / 4; }
.mob-tile--phone > img { object-position: center 22%; }
.mob-tile figcaption { position: absolute; left: 0.7rem; bottom: 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: #fff; background: rgba(38, 18, 67, 0.82); padding: 0.34rem 0.66rem; border-radius: 999px; }
@media (min-width: 860px) {
  .mobiliza__showcase {
    grid-template-columns: 1fr 1fr 0.82fr;
    grid-template-areas: "dash dash phone" "home aluno phone";
  }
  .mob-tile--dash { grid-area: dash; aspect-ratio: 16 / 9; }
  .mob-tile--phone { grid-area: phone; aspect-ratio: auto; }
  .mob-tile--home { grid-area: home; }
  .mob-tile--aluno { grid-area: aluno; }
}
.mobiliza__roles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.role { background: var(--lavanda-soft); border-radius: var(--radius); padding: 1.5rem; }
.role h3 { font-size: 1.1rem; font-weight: 600; color: var(--teal-ink); }
.role p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--tinta-suave); }
.mobiliza__seal { margin-top: clamp(2rem, 4vw, 3rem); background: var(--teal); color: var(--tinta); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.25rem); display: grid; gap: 1.75rem 2.75rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .mobiliza__seal { grid-template-columns: 1.7fr auto; } }
.mobiliza__seal-kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--roxo-900); }
.mobiliza__seal-dot { width: 0.6rem; height: 0.6rem; border-radius: 999px; background: var(--roxo); box-shadow: 0 0 0 3px rgba(38, 18, 67, 0.18); animation: sealPulse 2.6s var(--ease) infinite; }
@keyframes sealPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(38, 18, 67, 0.2); } 50% { box-shadow: 0 0 0 7px rgba(38, 18, 67, 0.05); } }
@media (prefers-reduced-motion: reduce) { .mobiliza__seal-dot { animation: none; } }
.mobiliza__seal-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--roxo-900); margin: 0.75rem 0 0.6rem; }
.mobiliza__seal p { color: var(--tinta); max-width: 60ch; font-size: 1.0625rem; }
.mobiliza__seal strong { color: var(--roxo-900); }
.mobiliza__seal .btn { align-self: center; }

/* ============================ LEGAL ============================ */
.legal__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.legalcard { background: #fff; border: 1px solid rgba(67,34,114,0.16); border-radius: var(--radius); padding: 1.6rem; }
.legalcard h3 { font-size: 1.1rem; font-weight: 600; color: var(--roxo); }
.legalcard p { margin-top: 0.6rem; font-size: 0.92rem; color: var(--tinta-suave); }
.legal__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.legal__foot .note { margin: 0; }

/* ============================ LEGADO ============================ */
.fases { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.fase { background: #fff; border-radius: var(--radius); padding: 1.6rem; }
.fase__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--roxo); color: #fff; font-weight: 700; margin-bottom: 0.85rem; }
.fase h3 { font-size: 1.1rem; font-weight: 600; color: var(--roxo); }
.fase p { margin-top: 0.5rem; font-size: 0.93rem; color: var(--tinta-suave); }
.legado__outcome { margin-top: clamp(2rem, 4vw, 3rem); max-width: 760px; }
.ticks { list-style: none; display: grid; gap: 0.75rem; margin-top: 1rem; }
.ticks li { position: relative; padding-inline-start: 1.9rem; color: var(--tinta); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.4em; width: 0.85rem; height: 0.5rem; border-inline-start: 2.5px solid var(--laranja); border-block-end: 2.5px solid var(--laranja); transform: rotate(-45deg); }
.legado__close { margin-top: 1.75rem; font-size: var(--fs-lead); font-weight: 600; color: var(--roxo); }

/* ============================ CTA FINAL ============================ */
.ctafinal { background: linear-gradient(180deg, #fff 0%, var(--lavanda-soft) 100%); }
.ctafinal__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .ctafinal__grid { grid-template-columns: 1.1fr 0.9fr; } }
.passos { list-style: none; display: grid; gap: 1.25rem; margin-top: 2rem; }
.passo { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.passo__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--roxo); color: #fff; font-weight: 700; }
.passo h3 { font-size: 1.1rem; font-weight: 600; color: var(--tinta); }
.passo p { margin-top: 0.35rem; font-size: 0.95rem; color: var(--tinta-suave); }
.reforco { margin-top: 1.75rem; padding: 1.1rem 1.35rem; background: rgba(67,34,114,0.06); border-radius: var(--radius); font-size: 0.95rem; color: var(--tinta); }

.ctafinal__form { position: sticky; top: 5rem; }
@media (max-width: 919px) { .ctafinal__form { position: static; } }
.form { background: #fff; border: 1px solid rgba(67,34,114,0.14); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 30px 60px -40px rgba(38,18,67,0.5); }
.form__title { font-size: 1.35rem; font-weight: 700; color: var(--roxo); }
.form__sub { font-size: 0.92rem; color: var(--tinta-suave); margin-top: 0.35rem; margin-bottom: 1.25rem; }

/* Formulário em 2 passos */
.form__progress { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1.25rem; }
.form__progress-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: rgba(67, 34, 114, 0.2); transition: background 0.25s var(--ease); }
.form__progress-dot.is-active { background: var(--roxo); width: 1.5rem; }
.form__progress-label { margin-inline-start: 0.4rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tinta-suave); }
@media (prefers-reduced-motion: no-preference) {
  .form__step:not([hidden]) { animation: stepIn 0.35s var(--ease) both; }
  @keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
}
.form__row { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.85rem; }
.field select { width: 100%; font: inherit; padding: 0.75rem 0.9rem; border: 1.5px solid rgba(67, 34, 114, 0.22); border-radius: var(--radius-sm); background-color: #fff; color: var(--tinta); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%234a4458' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.65rem center; background-size: 0.72rem; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.field--uf select { text-transform: uppercase; padding-inline: 0.6rem 1.6rem; }
.field select:focus { outline: none; border-color: var(--roxo); box-shadow: 0 0 0 3px rgba(67, 34, 114, 0.15); }
.field select[aria-invalid="true"] { border-color: #c0392b; }
.form__back { margin-top: 0.85rem; width: 100%; background: none; border: 0; font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--tinta-suave); cursor: pointer; padding: 0.5rem; border-radius: var(--radius-sm); }
.form__back:hover { color: var(--roxo); }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--tinta); }
.field input {
  font: inherit; padding: 0.75rem 0.9rem; border: 1.5px solid rgba(67,34,114,0.22);
  border-radius: var(--radius-sm); background: #fff; color: var(--tinta);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus { outline: none; border-color: var(--roxo); box-shadow: 0 0 0 3px rgba(67,34,114,0.15); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.field__error { font-size: 0.8rem; color: #c0392b; min-height: 1em; }
.form .btn { margin-top: 0.5rem; }
.form__ok { margin-top: 1rem; padding: 0.85rem 1rem; background: rgba(67,34,114,0.08); border-radius: var(--radius-sm); color: var(--roxo); font-weight: 500; font-size: 0.95rem; }
.form__whats { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; font-size: 0.92rem; font-weight: 500; color: var(--roxo); text-decoration: none; }
.form__whats:hover { text-decoration: underline; }
.form__whats-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #25d366; color: #fff; flex-shrink: 0; }
.form__whats-ic svg { width: 18px; height: 18px; }
.form__whats { margin-top: 0; }
.form__consent { margin-top: 0.85rem; font-size: 0.8rem; color: var(--tinta-suave); line-height: 1.45; }
.form__err { margin-top: 1rem; padding: 0.85rem 1rem; background: rgba(165, 40, 27, 0.08); border-radius: var(--radius-sm); color: #a5281b; font-weight: 500; font-size: 0.95rem; }
.form__contact { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(67, 34, 114, 0.12); display: flex; align-items: center; gap: 1rem; }
.form__contact-photo { width: 66px; height: 66px; border-radius: 999px; object-fit: cover; flex-shrink: 0; border: 2px solid var(--lavanda); }
.form__contact-info { display: grid; gap: 0.12rem; }
.form__contact-name { font-weight: 700; color: var(--roxo); }
.form__contact-role { font-size: 0.85rem; color: var(--tinta-suave); }

/* ============================ FOOTER ============================ */
.footer { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.25rem); border-top: 3px solid var(--teal); }
.footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1.35fr; } }
.footer__brand img { width: 120px; margin-bottom: 1rem; }
.footer__slogan { color: #fff; font-weight: 600; font-size: 1.05rem; }
.footer__cred { font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); margin-top: 0.6rem; max-width: 42ch; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.footer__social a { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 999px; color: var(--tinta-on-roxo); border: 1px solid rgba(255, 255, 255, 0.2); transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.footer__social a:hover { color: var(--roxo); background: #fff; border-color: #fff; }
.footer__social svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.footer__col-title { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-on-roxo); margin-bottom: 0.9rem; }
.footer__nav { display: grid; gap: 0.2rem; align-content: start; }
.footer__nav a { color: var(--tinta-on-roxo); text-decoration: none; font-weight: 500; display: inline-block; padding-block: 0.35rem; width: fit-content; }
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__org { display: grid; gap: 0.85rem; align-content: start; }
.footer__address { font-style: normal; font-size: 0.9rem; line-height: 1.65; color: var(--tinta-on-roxo); }
.footer__links { display: flex; flex-direction: column; gap: 0.35rem; }
.footer__links a { color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 500; width: fit-content; }
.footer__links a:hover { text-decoration: underline; }
.footer__bottom { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; }
.footer__bottom p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

/* extra bottom room so sticky-cta never covers footer links on mobile */
@media (max-width: 640px) { .footer { padding-bottom: 6rem; } }

/* =====================================================================
   DELIGHT — toques refinados, registro institucional (sofisticação sutil)
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .stat, .comp__item, .pilar, .role, .legalcard, .fase { transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease); }
  .mob-tile > img { transition: transform 0.5s var(--ease); }
  .mob-tile:hover > img { transform: scale(1.045); }
  .kicker::before { transform-origin: left; transition: transform 0.6s var(--ease) 0.12s; }
  html.js .reveal:not(.is-visible) .kicker::before { transform: scaleX(0); }
  .form__ok:not([hidden]) { animation: okPop 0.45s var(--ease); }
  @keyframes okPop { from { opacity: 0; transform: translateY(5px) scale(0.97); } to { opacity: 1; transform: none; } }
}
.form__ok:not([hidden]) { display: flex; align-items: center; gap: 0.55rem; }
.form__ok::before {
  content: ""; flex-shrink: 0; width: 1.3rem; height: 1.3rem; border-radius: 999px;
  background: var(--roxo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 0.78rem no-repeat;
}

/* =====================================================================
   AJUSTES DO CRITIQUE (P3/P4/P5)
   ===================================================================== */

/* P4/clarify: o que o solicitante recebe, perto do titulo do form. */
.form__deliver { font-size: 0.88rem; color: var(--tinta); line-height: 1.5; margin-top: 0.5rem; padding: 0.6rem 0.8rem; border-left: 3px solid var(--teal); background: var(--lavanda-soft, #f3eef9); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* P5/polish: o lift dos cards so em desktop com mouse, e mais sutil
   (no touch, hover nao se aplica; o -4px universal era o reflexo generico). */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .stat:hover, .comp__item:hover, .pilar:hover, .role:hover, .legalcard:hover, .fase:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(38, 18, 67, 0.34); }
}

/* P3/onboard: barra de progresso de leitura (CSS puro via scroll-timeline).
   So aparece onde ha suporte; degrada para nada no resto. */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    display: block; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
    transform-origin: left center; transform: scaleX(0); background: var(--teal);
    animation: scrollProgress linear both; animation-timeline: scroll(root);
  }
  @keyframes scrollProgress { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }
