/* ==========================================================================
   Rosainer Simas | Psicóloga (CRP 04/83300) · ABA & Modelo Denver
   Sistema Visual nas Cores Oficiais da Logo:
   Obsidiana (#0E121B), Dourado 24k (#D9AE4A), Marfim (#FAF8F3) & 6 Cores Puzzle
   ========================================================================== */

:root {
  /* Paleta Base extraída da Logo Oficial */
  --cream: #F4F1E8;
  --cream-hi: #FAF9F4;
  --cream-lo: #E5DEC9;
  --plum-deep: #0E121B;
  --noir-card: #151B29;
  --ink: #161A26;
  --ink-soft: #50576B;
  --gold: #D9AE4A;
  --gold-bright: #F1CC68;
  --gold-deep: #A67B1E;
  --heart-pink: #EE6B9E;

  /* As 6 Cores Exatas do Cérebro de Quebra-Cabeça & Mãozinhas da Logo */
  --clay-blue: #368CE7;
  --clay-pink: #EC4E67;
  --clay-green: #3EAD54;
  --clay-orange: #F28C28;
  --clay-purple: #8F5AE3;
  --clay-yellow: #F6C634;
  --clay-cyan: #3CB4D9;

  --sky-lilac: #E5F0FD;
  --sky-mint: #EAF4FB;

  /* Tema dinâmico por frente clínica no Hero */
  --stage-accent: #F6C634;
  --stage-accent-edge: #B68A12;
  --stage-accent-ink: #111520;
  --stage-tag-bg: rgba(246, 198, 52, 0.18);
  --stage-tag-ink: #FFE082;
  --stage-glow: rgba(217, 174, 74, 0.28);

  /* Tipografia */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  /* Curvas */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --pad-x: clamp(20px, 4.8vw, 76px);
  --header-h: 84px;
}

body[data-stage="1"] {
  --stage-accent: #368CE7;
  --stage-accent-edge: #1A5CA8;
  --stage-accent-ink: #FFFFFF;
  --stage-tag-bg: rgba(54, 140, 231, 0.22);
  --stage-tag-ink: #9BCEFF;
  --stage-glow: rgba(54, 140, 231, 0.26);
}

body[data-stage="2"] {
  --stage-accent: #8F5AE3;
  --stage-accent-edge: #5C2EA8;
  --stage-accent-ink: #FFFFFF;
  --stage-tag-bg: rgba(143, 90, 227, 0.24);
  --stage-tag-ink: #D8BEFF;
  --stage-glow: rgba(143, 90, 227, 0.26);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.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;
}

:focus-visible {
  outline: 3px solid var(--clay-blue);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ==========================================================================
   Abertura Cinematográfica (Obsidiana + Logo Dourada Oficial)
   ========================================================================== */
.intro { display: none; }

.js-anim .intro {
  position: fixed;
  inset: 0 0 -84px 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px 24px 108px;
  text-align: center;
  color: var(--cream-hi);
  background:
    radial-gradient(55% 50% at 50% 42%, rgba(217, 174, 74, 0.20) 0%, rgba(14, 18, 27, 0) 70%),
    linear-gradient(180deg, #121726 0%, #0B0E15 100%);
  border-radius: 0 0 50% 50% / 0 0 76px 76px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  will-change: transform;
}

.intro__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 680px;
}

.intro__mark {
  width: clamp(130px, 15vw, 190px);
  height: auto;
  margin-bottom: 4px;
  opacity: 0;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.55));
}

.intro__kicker {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  opacity: 0;
}

.intro__line {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 96;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.06;
  color: var(--cream-hi);
}

.intro__ch {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.intro__sub {
  margin: 4px 0 0;
  max-width: 42ch;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(250, 249, 244, 0.78);
  opacity: 0;
}

.js-anim [data-reveal],
.js-anim .hero__title,
.js-anim .scene__floor,
.js-anim .scene .layer__in {
  opacity: 0;
}

/* ==========================================================================
   Header Flutuante (Contraste Automático no Hero Escuro + Morph no Scroll)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 16px);
  height: var(--header-h);
  padding: 0 var(--pad-x);
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  flex-shrink: 0;
  color: #FAF9F4;
  transition: background-color 280ms var(--ease-out), color 240ms ease, box-shadow 280ms var(--ease-out), padding 280ms var(--ease-out);
}

.brand__mark {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  transition: transform 280ms var(--ease-spring);
}

.brand__text {
  display: grid;
  line-height: 1.16;
  max-width: 260px;
  overflow: hidden;
  transition: max-width 340ms var(--ease-out), opacity 220ms ease, transform 280ms var(--ease-out);
}

.brand__name {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 48;
  font-weight: 800;
  font-size: 1.24rem;
  color: var(--gold-bright);
  white-space: nowrap;
}

.brand__role {
  font-size: 0.77rem;
  font-weight: 700;
  color: rgba(250, 249, 244, 0.82);
  white-space: nowrap;
}

@media (min-width: 1281px) {
  .site-header.is-stuck .brand {
    padding: 7px 11px;
    background: rgba(17, 21, 32, 0.94);
    border: 1px solid rgba(217, 174, 74, 0.35);
    box-shadow: 0 8px 24px rgba(10, 13, 20, 0.22);
    backdrop-filter: blur(10px);
    gap: 0;
  }
  .site-header.is-stuck .brand__text {
    max-width: 0;
    opacity: 0;
    transform: translateX(-8px);
  }
}

@media (max-width: 1280px) {
  .site-header.is-stuck .brand {
    background: rgba(17, 21, 32, 0.94);
    border: 1px solid rgba(217, 174, 74, 0.35);
    box-shadow: 0 6px 20px rgba(10, 13, 20, 0.2);
    backdrop-filter: blur(10px);
  }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 5px 6px;
  list-style: none;
  background: rgba(18, 23, 36, 0.88);
  border: 1px solid rgba(217, 174, 74, 0.26);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.nav__list a {
  display: block;
  padding: 0.52em 0.92em;
  font-size: 0.89rem;
  font-weight: 800;
  color: rgba(250, 249, 244, 0.92);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-spring);
}

@media (hover: hover) and (pointer: fine) {
  .nav__list a:hover {
    background: rgba(217, 174, 74, 0.18);
    color: var(--gold-bright);
    transform: translateY(-1px);
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__portal-mobile { display: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(11, 14, 21, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 200ms ease;
}
.nav-backdrop.is-open { opacity: 1; }

/* ==========================================================================
   Botões Táteis
   ========================================================================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream-hi);
  --btn-edge: #07090E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58em;
  padding: 0.9em 1.48em;
  font: inherit;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--btn-edge), 0 12px 22px rgba(10, 14, 22, 0.18);
  cursor: pointer;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(4px) scale(0.98);
  box-shadow: 0 1px 0 var(--btn-edge);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 0 var(--btn-edge), 0 16px 26px rgba(10, 14, 22, 0.22);
  }
}

.btn__icon { width: 1.28em; height: 1.28em; flex: none; }

.btn--wa {
  --btn-bg: #22A453;
  --btn-fg: #fff;
  --btn-edge: #136B33;
}

.btn--soft {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-edge: #D4CBB8;
}

.btn--gold {
  --btn-bg: linear-gradient(180deg, #F5D271 0%, #DBAA3B 100%);
  --btn-fg: #12100A;
  --btn-edge: #9A6F14;
}

.btn--outline-gold {
  --btn-bg: rgba(217, 174, 74, 0.12);
  --btn-fg: #F5D57A;
  --btn-edge: rgba(217, 174, 74, 0.35);
  border: 1.5px solid rgba(241, 204, 104, 0.55);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}

.btn--prof {
  --btn-bg: rgba(18, 23, 36, 0.92);
  --btn-fg: #F5D57A;
  --btn-edge: #07090E;
  padding: 0.76em 1.15em;
  font-size: 0.84rem;
  border: 1px solid rgba(217, 174, 74, 0.45);
}

.header__portal {
  padding: 0.78em 1.25em;
  font-size: 0.88rem;
}

.btn--lg { padding: 1.05em 1.75em; font-size: 1.04rem; }

/* ==========================================================================
   1. HERO — OBSIDIANA + DOURADO 24K + LOGO OFICIAL COMPLETA EM DESTAQUE
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(24px, 3.6vw, 56px);
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(18px, 3vh, 36px)) var(--pad-x) clamp(76px, 9vh, 110px);
  color: var(--cream-hi);
  background:
    radial-gradient(52% 62% at 74% 48%, rgba(217, 174, 74, 0.18) 0%, rgba(14, 18, 27, 0) 72%),
    radial-gradient(45% 45% at 18% 22%, rgba(54, 140, 231, 0.10) 0%, rgba(14, 18, 27, 0) 70%),
    linear-gradient(160deg, #0B0E15 0%, #121827 56%, #0D111A 100%);
  overflow: hidden;
}

/* Faixa luminosa nas 6 cores do quebra-cabeça da logo na base do Hero */
.hero__spectrum-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg,
    #368CE7 0%,
    #F6C634 20%,
    #EC4E67 40%,
    #8F5AE3 60%,
    #3CB4D9 80%,
    #3EAD54 100%);
  z-index: 4;
}

.hero__ambient {
  position: absolute;
  right: 3%;
  top: 8%;
  width: min(56vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--stage-glow) 0%, rgba(14, 18, 27, 0) 70%);
  pointer-events: none;
  transition: background 450ms ease;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
  will-change: transform;
}

.stage-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.2rem;
  padding: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 174, 74, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.44em 0.96em;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  color: rgba(250, 249, 244, 0.75);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-spring);
}

.stage-tab__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 8px var(--dot);
}

.stage-tab.is-active {
  color: #111520;
  background: var(--gold-bright);
  box-shadow: 0 3px 12px rgba(241, 204, 104, 0.35);
}

.hero__title {
  margin: 0 0 0.34em;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  font-weight: 850;
  font-size: clamp(2.85rem, 5.6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #FAF9F4;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding: 0.08em 0.1em 0.16em;
  margin: -0.08em -0.1em -0.1em;
}
.hero__line-in { display: block; }
.word { display: inline-block; white-space: nowrap; }

.word--badge {
  position: relative;
  padding: 0.02em 0.28em 0.08em;
  margin-left: 0.04em;
  color: var(--stage-accent-ink);
  background: var(--stage-accent);
  border-radius: 0.34em;
  box-shadow: 0 0.065em 0 var(--stage-accent-edge), 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
  transition: background-color 320ms ease, color 320ms ease, box-shadow 320ms ease, transform 240ms var(--ease-spring);
}

.ch {
  display: inline-block;
  transform-origin: 50% 90%;
  transition: transform 200ms var(--ease-spring);
  will-change: transform;
}

.hero__lede {
  max-width: 50ch;
  margin: 0 0 1.45rem;
  font-size: clamp(1.02rem, 1.16vw, 1.15rem);
  font-weight: 600;
  line-height: 1.62;
  color: rgba(250, 249, 244, 0.84);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}
.hero__lede strong { color: var(--gold-bright); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-bottom: 1.45rem;
}

.stage-card {
  max-width: 530px;
  margin-bottom: 1.3rem;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 174, 74, 0.28);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  transition: transform 240ms var(--ease-spring);
}

.stage-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.stage-card__tag {
  display: inline-block;
  padding: 0.28em 0.85em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--stage-tag-ink);
  background: var(--stage-tag-bg);
  border-radius: 999px;
  transition: background-color 260ms ease, color 260ms ease;
}

.stage-card__nav { display: flex; gap: 6px; }

.stage-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(217, 174, 74, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 180ms var(--ease-spring), background-color 150ms ease;
}
.stage-arrow svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .stage-arrow:hover { transform: scale(1.12); background: rgba(217, 174, 74, 0.25); }
}

.stage-card__focus {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.48;
  color: rgba(250, 249, 244, 0.92);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.is-switching { opacity: 0; transform: translateY(5px); }

.hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.hero__place {
  display: flex;
  align-items: flex-start;
  gap: 0.48em;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(250, 249, 244, 0.76);
}
.hero__place svg {
  width: 1.18em;
  height: 1.18em;
  margin-top: 2px;
  color: var(--heart-pink);
  flex: none;
}

.hero__ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--gold-bright);
  background: rgba(217, 174, 74, 0.12);
  border: 1px solid rgba(217, 174, 74, 0.32);
  border-radius: 999px;
  transition: background-color 180ms ease, transform 180ms var(--ease-spring);
}
.hero__ig svg { width: 16px; height: 16px; color: var(--heart-pink); }
.hero__ig:hover { background: rgba(217, 174, 74, 0.24); transform: translateY(-1px); }

/* Palco Nobre da Logo Oficial no Hero */
.hero__art {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.scene--brand-logo {
  position: relative;
  width: min(100%, 60vh, 560px);
  aspect-ratio: 1 / 1;
}

.scene__floor {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0%;
  height: 12%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(217, 174, 74, 0.32) 0%, rgba(217, 174, 74, 0) 100%);
  filter: blur(12px);
  pointer-events: none;
}

.logo-halo-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid rgba(217, 174, 74, 0.22);
  box-shadow: inset 0 0 60px rgba(217, 174, 74, 0.08);
  pointer-events: none;
  animation: slowSpin 38s linear infinite;
}
.logo-halo-ring--inner {
  inset: 11%;
  border-style: dashed;
  border-color: rgba(217, 174, 74, 0.14);
  animation-direction: reverse;
  animation-duration: 52s;
}

.layer {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w, auto);
  will-change: transform;
}

.brand-medallion {
  position: relative;
  padding: clamp(18px, 2.8vw, 32px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, #090B10 0%, #0D111A 66%, rgba(13, 17, 26, 0) 100%);
}

.brand-medallion img {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 18px 36px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 38px rgba(217, 174, 74, 0.22));
  animation: breathe 5.4s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

.puzzle-orb {
  display: block;
  width: var(--sz, 14px);
  height: var(--sz, 14px);
  border-radius: 5px;
  transform: rotate(18deg);
  background: var(--orb, #368CE7);
  box-shadow: 0 0 18px var(--orb, #368CE7);
  animation: bob var(--dur, 5s) ease-in-out var(--delay, 0s) infinite;
}

.hero-crp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  font-size: 0.81rem;
  font-weight: 700;
  color: rgba(250, 249, 244, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 174, 74, 0.3);
  border-radius: 999px;
  text-align: center;
}
.hero-crp-pill strong { color: var(--gold-bright); }
.hero-crp-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3EAD54;
  box-shadow: 0 0 10px #3EAD54;
  flex: none;
}

@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(14deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(28deg); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018) translateY(-3px); }
}
@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Menu Gaveta Mobile / Tablet (<= 1280px)
   ========================================================================== */
.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #151B29;
  border: 1px solid rgba(217, 174, 74, 0.45);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2.5px;
  margin-left: -10px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 150ms ease;
}
.menu-toggle__bars { top: 50%; margin-top: -1.25px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; }
.menu-toggle__bars::before { transform: translateY(-6.5px); }
.menu-toggle__bars::after { transform: translateY(6.5px); }
.site-header[data-open] .menu-toggle__bars { background: transparent; }
.site-header[data-open] .menu-toggle__bars::before { transform: rotate(45deg); }
.site-header[data-open] .menu-toggle__bars::after { transform: rotate(-45deg); }

@media (max-width: 1280px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: block; }
  .header__actions { display: none; }

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 4px);
    right: var(--pad-x);
    width: min(340px, calc(100vw - 2 * var(--pad-x)));
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms var(--ease-out);
  }
  .site-header[data-open] .nav {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #121726;
    border: 1px solid rgba(217, 174, 74, 0.4);
    border-radius: 26px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  }
  .nav__list a {
    padding: 0.82em 1.1em;
    font-size: 1rem;
    border-radius: 16px;
  }
  .nav__portal-mobile { display: block; }
  .nav__portal-mobile a {
    background: var(--gold-bright);
    color: #111520;
    text-align: center;
    margin-top: 8px;
  }
  .nav__admin-mobile a {
    background: rgba(217, 174, 74, 0.16);
    color: var(--gold-bright);
    border: 1px solid rgba(217, 174, 74, 0.4);
  }
}

/* ==========================================================================
   Utilitários de Seção
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  position: relative;
  padding: clamp(72px, 10.5vh, 124px) 0;
}
.section--ivory { background: var(--cream-hi); }
.section--cream { background: var(--cream); }
.section--obsidian {
  color: var(--cream-hi);
  background:
    radial-gradient(60% 70% at 85% 25%, rgba(217, 174, 74, 0.14) 0%, rgba(14, 18, 27, 0) 70%),
    linear-gradient(165deg, #0E121C 0%, #151B2A 100%);
}

.section--slant-top {
  clip-path: polygon(0 clamp(18px, 2.6vw, 40px), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * clamp(18px, 2.6vw, 40px));
  padding-top: calc(clamp(72px, 10vh, 120px) + clamp(18px, 2.6vw, 40px));
}

.section--slant-both {
  clip-path: polygon(0 clamp(18px, 2.4vw, 38px), 100% 0, 100% calc(100% - clamp(18px, 2.4vw, 38px)), 0 100%);
  padding-top: calc(clamp(72px, 10vh, 120px) + 24px);
  padding-bottom: calc(clamp(72px, 10vh, 120px) + 24px);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 0.38em 1em;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 999px;
  background: #FFF3CF;
  color: #7A5400;
}
.pill-tag--blue { background: #E3F0FD; color: #19539E; }
.pill-tag--green { background: #E1F6E6; color: #1D632D; }
.pill-tag--gold { background: #FFF2CA; color: #734F00; }
.pill-tag--plum-gold {
  background: rgba(217, 174, 74, 0.16);
  color: #F5D57A;
  border: 1px solid rgba(217, 174, 74, 0.38);
}

.sec-title {
  margin: 0 0 0.45em;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 96;
  font-weight: 840;
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sec-title--hero { font-size: clamp(2.25rem, 4.3vw, 3.8rem); }
.sec-title--light { color: var(--cream-hi); }

.sec-lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.62;
  color: var(--ink-soft);
}
.sec-lead--center {
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
}

/* ==========================================================================
   2. QUANDO PROCURAR — Baralho Pinado nas 6 Cores da Logo
   ========================================================================== */
.sky-journey {
  position: relative;
  background-color: var(--sky-lilac);
  transition: background-color 120ms linear;
}

.sky-journey__slant { display: none; }

.sky-journey__intro {
  position: relative;
  z-index: 3;
  padding-top: clamp(58px, 8vh, 96px);
  padding-bottom: clamp(10px, 2vh, 22px);
  text-align: center;
}

.deck-stage {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 610px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) * 0.45) 16px 18px;
}

.deck-stage__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sky-cloud {
  position: absolute;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 12px 24px rgba(22, 26, 38, 0.06));
  will-change: transform;
}
.sky-cloud--1 { width: clamp(160px, 19vw, 270px); left: -3%; top: 22%; }
.sky-cloud--2 { width: clamp(140px, 16vw, 220px); right: 4%; top: 16%; }
.sky-cloud--3 { width: clamp(150px, 18vw, 250px); left: 11%; bottom: 7%; }

.deck-center {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 100%;
}

.card-stack {
  position: relative;
  width: min(86vw, 430px);
  height: min(64svh, 508px);
  min-height: 416px;
}

.pathway-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 3.2vw, 36px) clamp(22px, 2.8vw, 32px);
  text-align: center;
  border-radius: 34px;
  box-shadow:
    0 22px 46px rgba(17, 21, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform-origin: 50% 55%;
  will-change: transform;
  user-select: none;
}

.pathway-card[data-rest-rot="0"] { transform: rotate(0deg); }
.pathway-card[data-rest-rot="-8.5"] { transform: rotate(-8.5deg); }
.pathway-card[data-rest-rot="7.5"] { transform: rotate(7.5deg); }
.pathway-card[data-rest-rot="-4.2"] { transform: rotate(-4.2deg); }
.pathway-card[data-rest-rot="5.2"] { transform: rotate(5.2deg); }
.pathway-card[data-rest-rot="-2.6"] { transform: rotate(-2.6deg); }

/* As 6 Cores Oficiais do Cérebro de Quebra-Cabeça da Logo */
.pathway-card--blue { background: #368CE7; color: #FFFFFF; }
.pathway-card--blue h3 { color: #FFF8DB; }
.pathway-card--blue .pathway-card__eyebrow { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }

.pathway-card--purple { background: #8F5AE3; color: #FFFFFF; }
.pathway-card--purple h3 { color: #FFE896; }
.pathway-card--purple .pathway-card__eyebrow { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }

.pathway-card--coral { background: #EC4E67; color: #FFFFFF; }
.pathway-card--coral h3 { color: #FFF6E5; }
.pathway-card--coral .pathway-card__eyebrow { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }

.pathway-card--green { background: #3EAD54; color: #FFFFFF; }
.pathway-card--green h3 { color: #FFF8DB; }
.pathway-card--green .pathway-card__eyebrow { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }

.pathway-card--cyan { background: #2EA6CC; color: #FFFFFF; }
.pathway-card--cyan h3 { color: #FFF9E6; }
.pathway-card--cyan .pathway-card__eyebrow { background: rgba(255, 255, 255, 0.22); color: #FFFFFF; }

.pathway-card--gold { background: #F6C634; color: #111520; }
.pathway-card--gold h3 { color: #111520; }
.pathway-card--gold .pathway-card__eyebrow { background: rgba(17, 21, 32, 0.12); color: #111520; }

.pathway-card__top { display: grid; justify-items: center; gap: 8px; }

.pathway-card__eyebrow {
  display: inline-block;
  padding: 0.26em 0.85em;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 999px;
}

.pathway-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72;
  font-weight: 830;
  font-size: clamp(1.48rem, 2.2vw, 1.92rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 18ch;
}

.pathway-card__art {
  display: grid;
  place-items: center;
  width: 170px;
  height: 112px;
  flex: none;
}

.emblem-svg { width: 100%; height: 100%; overflow: visible; }
.emblem-orb--l { animation: orbLeft 3.2s ease-in-out infinite; }
.emblem-orb--r { animation: orbRight 3.2s ease-in-out infinite; }
.emblem-ball { animation: ballHop 2.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.emblem-spin { animation: slowSpin 14s linear infinite; }
.emblem-needle { animation: needleRock 3.6s ease-in-out infinite; }
.emblem-puzzle-l { animation: puzzleL 3.4s ease-in-out infinite; }
.emblem-puzzle-r { animation: puzzleR 3.4s ease-in-out infinite; }
.emblem-heart { animation: heartPulse 2.6s ease-in-out infinite; transform-origin: 90px 68px; }

@keyframes orbLeft { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@keyframes orbRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
@keyframes ballHop { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(28px, -14px); } }
@keyframes needleRock { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(24deg); } }
@keyframes puzzleL { 0%, 100% { transform: translateX(-5px) rotate(-2deg); } 50% { transform: translateX(2px) rotate(0deg); } }
@keyframes puzzleR { 0%, 100% { transform: translateX(5px) rotate(2deg); } 50% { transform: translateX(-2px) rotate(0deg); } }
@keyframes heartPulse { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.1) translateY(-4px); } }

.pathway-card__desc {
  margin: 0;
  max-width: 31ch;
  font-size: clamp(0.95rem, 1.08vw, 1.03rem);
  font-weight: 700;
  line-height: 1.48;
}

.deck-hud {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(17, 21, 32, 0.12);
  backdrop-filter: blur(8px);
}

.deck-hud__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--cream);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms var(--ease-spring), background-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .deck-hud__arrow:hover { transform: scale(1.12); background: var(--clay-yellow); }
}

.deck-hud__dots { display: flex; align-items: center; gap: 6px; }
.deck-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 26, 38, 0.22);
  cursor: pointer;
  transition: width 220ms var(--ease-spring), background-color 200ms ease;
}
.deck-dot.is-active { width: 24px; background: var(--ink); }
.deck-hud__count { font-size: 0.78rem; font-weight: 800; color: var(--ink); min-width: 44px; text-align: center; }

/* ==========================================================================
   2B. Manifesto Cinético (Frase Autoral de Rosainer Simas)
   ========================================================================== */
.manifesto-sky {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vh, 130px) 0 clamp(84px, 13vh, 140px);
  text-align: center;
}
.manifesto-sky__inner { position: relative; z-index: 2; }

.manifesto-text {
  margin: 0 auto 32px;
  max-width: 24ch;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  font-weight: 860;
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.m-word {
  display: inline-block;
  margin: 0 0.11em;
  will-change: opacity, transform;
}

.m-word--grow {
  display: inline-flex;
  align-items: baseline;
  padding: 0 0.22em 0.06em;
  color: #111520;
  background: var(--clay-yellow);
  border-radius: 0.3em;
  box-shadow: 0 5px 0 #B68A12;
}

.grow-ch {
  display: inline-block;
  font-size: calc(1em * var(--gs, 1));
  line-height: 0.92;
  transform-origin: 50% 90%;
  will-change: transform;
}

.manifesto-sky__cta { display: flex; justify-content: center; }

/* ==========================================================================
   3. Playground de Física (Matter.js nas Cores da Logo)
   ========================================================================== */
.physics-band {
  position: relative;
  padding: 28px 0 0;
  background: linear-gradient(180deg, #EAF4FB 0%, #F4F1E8 100%);
  overflow: hidden;
}

.physics-band__head {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.physics-band__quote {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 800;
  font-size: clamp(1.12rem, 1.75vw, 1.4rem);
  color: var(--ink);
}

.btn-mini {
  padding: 0.56em 1.15em;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 4px 0 #D4CBB8, 0 8px 18px rgba(17, 21, 32, 0.08);
  cursor: pointer;
  transition: transform 160ms var(--ease-spring);
}

.physics-stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 48vh, 460px);
  max-width: 1440px;
  margin: 0 auto;
  touch-action: pan-y;
  user-select: none;
}

.p-chip {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  will-change: transform;
}
.p-chip:active { cursor: grabbing; }

.p-chip--giant {
  padding: 0.24em 0.68em 0.32em;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  font-weight: 860;
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--fg);
  background: var(--bg);
  border-radius: 999px;
  box-shadow: 0 8px 0 var(--edge), 0 18px 34px rgba(17, 21, 32, 0.16);
}

.physics-stage.is-static {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: auto;
  padding: 28px var(--pad-x) 52px;
}
.physics-stage.is-static .p-chip { position: static; cursor: default; }

/* ==========================================================================
   4. ESPECIALIDADES CIENTÍFICAS: ABA & MODELO DENVER (#abordagens)
   ========================================================================== */
.approaches-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vh, 54px);
}

.approaches-head__lead {
  margin: 0 auto;
  max-width: 58ch;
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(250, 249, 244, 0.8);
}

.approaches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.approach-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top: 6px solid var(--ap-accent, var(--gold));
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 240ms var(--ease-spring), background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .approach-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
  }
}

.approach-card__tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 13px;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--gold-bright);
  background: rgba(217, 174, 74, 0.15);
  border: 1px solid rgba(217, 174, 74, 0.32);
  border-radius: 999px;
}

.approach-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.18;
  color: #FAF9F4;
}

.approach-card p {
  margin: 0 0 16px;
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(250, 249, 244, 0.82);
}

.approach-list {
  margin: auto 0 0;
  padding: 16px 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
  font-size: 0.91rem;
  font-weight: 600;
  color: rgba(250, 249, 244, 0.86);
}
.approach-list strong { color: #FFF; }

/* ==========================================================================
   5. Como Funciona (Os 4 Degraus)
   ========================================================================== */
.steps-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(24px, 4vh, 38px);
}

.steps-intro__art {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.steps-intro__art img {
  width: 100%;
  max-width: 410px;
  height: auto;
  box-shadow: 0 18px 36px rgba(17, 21, 32, 0.1);
}

.stairs-progress {
  width: 100%;
  height: 10px;
  margin-bottom: 26px;
  background: rgba(22, 26, 38, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.stairs-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #368CE7 0%, #8F5AE3 34%, #3EAD54 68%, #E5B94E 100%);
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0.15);
  will-change: transform;
}

.stairs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border-top: 8px solid var(--step-accent);
  border-radius: 26px;
  box-shadow: 0 6px 0 #E0D9C7, 0 16px 30px rgba(17, 21, 32, 0.07);
  transition: transform 240ms var(--ease-spring), box-shadow 240ms var(--ease-out);
  will-change: transform;
}

@media (min-width: 1025px) {
  .step-card:nth-child(1) { margin-top: 54px; }
  .step-card:nth-child(2) { margin-top: 36px; }
  .step-card:nth-child(3) { margin-top: 18px; }
  .step-card:nth-child(4) { margin-top: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 0 #D8D0BC, 0 24px 38px rgba(17, 21, 32, 0.12);
  }
}

.step-card__num {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 0.3em 0.85em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--step-ink);
  background: var(--step-bg);
  border-radius: 999px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1.2;
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ==========================================================================
   6. Sobre Rosainer Simas (Texto Oficial + Formação Acadêmica + Citação)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(32px, 5vw, 68px);
}

.about-photo {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.about-photo__frame {
  overflow: hidden;
  border-radius: 42px 42px 42px 16px;
  border: 6px solid #fff;
  box-shadow: 0 10px 0 #DFD7C4, 0 26px 50px rgba(17, 21, 32, 0.14);
  transform: rotate(-1.5deg);
  will-change: transform;
}
.about-photo__frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  will-change: transform;
}

.about-photo__badge {
  position: relative;
  z-index: 2;
  display: inline-grid;
  margin: -26px 0 0 22px;
  padding: 12px 22px;
  background: var(--plum-deep);
  color: var(--cream-hi);
  border: 1px solid rgba(217, 174, 74, 0.45);
  border-radius: 20px;
  box-shadow: 0 6px 0 #07090E, 0 14px 26px rgba(17, 21, 32, 0.24);
}
.about-photo__badge strong { font-family: var(--font-display); font-size: 1.1rem; }
.about-photo__badge span { font-size: 0.82rem; font-weight: 800; color: var(--gold-bright); }

.about-credentials {
  margin: 22px 0 0;
  padding: 20px 22px;
  list-style: none;
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid #E5DEC9;
  border-radius: 24px;
  box-shadow: 0 6px 0 #E3DBC8;
}
.about-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink);
}
.cred-dot {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  flex: none;
}

.about-copy__lead {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}

.about-copy p {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.66;
}
.about-copy p strong { color: var(--ink); }

.about-quote {
  margin: 22px 0 26px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.38;
  color: #FAF9F4;
  background: linear-gradient(135deg, #111624 0%, #1B2236 100%);
  border-left: 6px solid var(--gold-bright);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(17, 21, 32, 0.14);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   7. Vitrine da Área dos Pais & Área Profissional
   ========================================================================== */
.portal-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 11vh, 128px) 0;
  color: var(--cream-hi);
  background:
    radial-gradient(65% 75% at 80% 45%, rgba(217, 174, 74, 0.18) 0%, rgba(14, 18, 27, 0) 70%),
    linear-gradient(160deg, #0D111A 0%, #151C2B 100%);
}

.portal-showcase__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.portal-showcase__lead {
  margin: 0 0 26px;
  font-size: 1.06rem;
  font-weight: 600;
  color: rgba(250, 249, 244, 0.82);
}

.portal-features { display: grid; gap: 14px; margin-bottom: 30px; }

.portal-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  transition: transform 220ms var(--ease-spring), background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .portal-feat:hover { transform: translateX(6px); background: rgba(255, 255, 255, 0.1); }
}

.portal-feat__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 12px;
  flex: none;
}
.portal-feat h3 { margin: 0 0 3px; font-size: 1.04rem; font-weight: 800; color: #fff; }
.portal-feat p { margin: 0; font-size: 0.92rem; color: rgba(250, 249, 244, 0.78); }

.portal-showcase__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.portal-showcase__visual { will-change: transform; }

.portal-art-card {
  margin: 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 174, 74, 0.26);
  border-radius: 34px;
  transform: rotate(1.2deg);
  transition: transform 260ms var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .portal-art-card:hover { transform: rotate(0deg) scale(1.015); }
}
.portal-art-card img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 18px;
}

.portal-mock-mini {
  padding: 16px 20px;
  color: var(--ink);
  background: var(--cream-hi);
  border-radius: 22px;
  box-shadow: 0 6px 0 #D6CEBC;
}
.portal-mock-mini__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.portal-mock-mini__pill { padding: 3px 10px; font-size: 0.74rem; font-weight: 800; background: #E3F0FD; color: #19539E; border-radius: 999px; }
.portal-mock-mini__status { font-size: 0.75rem; font-weight: 800; color: var(--clay-green); }
.portal-mock-mini strong { display: block; font-size: 0.98rem; }
.portal-mock-mini p { margin: 2px 0 0; font-size: 0.86rem; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   8. Cantinho dos Pais (Artigos)
   ========================================================================== */
.blog-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}
.blog-head__art { margin: 0; display: flex; align-items: center; justify-content: center; will-change: transform; }
.blog-head__art img { width: 100%; max-width: 350px; height: auto; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.filter-pill {
  padding: 0.52em 1.1em;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-spring);
}
.filter-pill.is-active {
  color: var(--gold-bright);
  background: var(--plum-deep);
  box-shadow: 0 3px 0 #07090E;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: #fff;
  border-top: 7px solid var(--art-color, var(--clay-blue));
  border-radius: 28px;
  box-shadow: 0 6px 0 #E0D9C7, 0 16px 32px rgba(17, 21, 32, 0.07);
  transition: transform 240ms var(--ease-spring), box-shadow 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 0 #D8D0BC, 0 22px 40px rgba(17, 21, 32, 0.11);
  }
}

.article-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.article-card__cat { padding: 0.28em 0.85em; font-size: 0.78rem; font-weight: 800; background: var(--cream); color: var(--ink); border-radius: 999px; }
.article-card__time { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.article-card h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; line-height: 1.2; }
.article-card p { margin: 0 0 20px; color: var(--ink-soft); font-weight: 600; font-size: 0.96rem; }

.article-card__btn {
  align-self: flex-start;
  padding: 0.62em 1.2em;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--cream);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 3px 0 #D4CBB8;
  cursor: pointer;
  transition: transform 160ms var(--ease-spring), background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .article-card__btn:hover { background: var(--clay-yellow); transform: translateY(-2px); }
}

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.faq-wrap { max-width: 880px; }
.faq-head { text-align: center; margin-bottom: 32px; }
.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 5px 0 #E0D9C7, 0 12px 26px rgba(17, 21, 32, 0.06);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  font-family: var(--font-display);
  font-weight: 780;
  font-size: 1.14rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--cream);
  border-radius: 50%;
  flex: none;
  transition: transform 200ms var(--ease-spring), background-color 180ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--clay-yellow); }
.faq-item__body { padding: 0 26px 22px; color: var(--ink-soft); font-weight: 600; }
.faq-item__body p { margin: 0; }

/* ==========================================================================
   10. Contato + Rodapé Obsidiana & Dourado 24k
   ========================================================================== */
.section--footer-stage {
  background: linear-gradient(180deg, var(--cream) 0%, #E7E0CE 100%);
  padding-bottom: clamp(44px, 6vh, 72px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 48px);
}

.contact-card {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 0 #D8D0BC, 0 22px 44px rgba(17, 21, 32, 0.09);
}

.contact-info { display: grid; gap: 16px; margin: 26px 0 30px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-row__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  flex: none;
}
.contact-row__icon svg { width: 22px; height: 22px; }
.contact-row strong { display: block; font-size: 0.95rem; }
.contact-row span { display: block; font-weight: 700; color: var(--ink-soft); }
.contact-row small { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.map-card {
  min-height: 420px;
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 32px;
  box-shadow: 0 8px 0 #D8D0BC, 0 22px 44px rgba(17, 21, 32, 0.09);
}
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.site-footer {
  position: relative;
  padding: 12px 0 0;
  background: #E7E0CE;
  overflow: hidden;
}

.site-footer__card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 54px) clamp(24px, 4vw, 52px) 0;
  color: var(--cream-hi);
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(217, 174, 74, 0.16) 0%, rgba(14, 18, 27, 0) 70%),
    linear-gradient(180deg, #131826 0%, #0B0E15 100%);
  border-top: 2px solid rgba(217, 174, 74, 0.36);
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -14px 44px rgba(10, 13, 20, 0.22);
  will-change: transform;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand img { width: 70px; height: auto; }
.site-footer__brand strong { display: block; font-family: var(--font-display); font-size: 1.32rem; color: var(--gold-bright); }
.site-footer__brand span { display: block; font-size: 0.86rem; font-weight: 800; color: #FAF9F4; }
.site-footer__brand small { font-size: 0.8rem; color: rgba(250, 249, 244, 0.7); font-weight: 700; }

.site-footer__nav-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.93rem; font-weight: 800; }
.site-footer__links a { text-decoration: none; color: rgba(250, 249, 244, 0.88); transition: color 160ms ease; }
.site-footer__links a:hover { color: var(--gold-bright); }

.site-footer__ethics {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(250, 249, 244, 0.72);
  font-weight: 600;
}
.site-footer__ethics strong { color: var(--gold-bright); }
.site-footer__ethics p { margin: 0; max-width: 102ch; }

.site-footer__signature {
  position: relative;
  margin-top: clamp(22px, 3.5vh, 36px);
  padding-top: 12px;
  text-align: center;
  user-select: none;
}

.site-footer__wordmark {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  font-weight: 900;
  font-size: clamp(3rem, 10.6vw, 9.2rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #F5D57A 0%, #B88924 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(8%);
}

/* ==========================================================================
   Modal de Leitura de Artigos
   ========================================================================== */
.article-modal {
  width: min(740px, calc(100vw - 28px));
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(10, 14, 22, 0.45);
}
.article-modal::backdrop { background: rgba(11, 14, 21, 0.62); backdrop-filter: blur(4px); }
.article-modal__sheet { padding: clamp(24px, 4vw, 44px); overflow-y: auto; max-height: 88vh; }
.article-modal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.article-modal__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}
.article-modal__title { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.15; }
.article-modal__meta { margin: 0 0 22px; font-size: 0.86rem; font-weight: 700; color: var(--ink-soft); }
.article-modal__content h3 { margin: 22px 0 8px; font-family: var(--font-display); font-size: 1.22rem; color: var(--clay-blue); }
.article-modal__content p, .article-modal__content li { color: var(--ink-soft); font-weight: 600; line-height: 1.7; }
.article-modal__cta {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.article-modal__cta p { margin: 0; font-weight: 800; max-width: 34ch; }

/* ==========================================================================
   Responsividade & Fallback de Movimento Reduzido
   ========================================================================== */
@media (max-width: 1024px) {
  .approaches-grid,
  .steps-intro,
  .about-grid,
  .portal-showcase__grid,
  .blog-head,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stairs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-grid { grid-template-columns: 1fr; }
  .portal-art-card { transform: none; max-width: 540px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding-bottom: 72px;
  }
  .hero__art { order: -1; }
  .scene--brand-logo { width: min(78vw, 370px); }
  .hero__copy { max-width: 600px; }
  .hero__title { font-size: clamp(2.5rem, 10.5vw, 4rem); }
}

@media (max-width: 640px) {
  .brand__mark { width: 34px; }
  .brand__name { font-size: 1.08rem; }
  .brand__role { font-size: 0.7rem; }
  .hero__actions .btn { width: 100%; }
  .stage-tabs { width: 100%; justify-content: space-between; }
  .stage-tab { flex: 1; justify-content: center; padding: 0.45em 0.45em; font-size: 0.76rem; }
  .deck-stage { min-height: 550px; padding-top: 24px; }
  .card-stack { width: min(88vw, 342px); height: min(61svh, 434px); min-height: 382px; }
  .pathway-card { padding: 22px 20px; border-radius: 28px; }
  .pathway-card__art { width: 136px; height: 88px; }
  .physics-stage { height: clamp(300px, 44vh, 380px); }
  .stairs-grid { grid-template-columns: 1fr; }
  .contact-cta .btn, .about-actions .btn, .portal-showcase__cta .btn { width: 100%; }
}

.deck-stage.is-static-deck { height: auto; min-height: 0; padding: 24px var(--pad-x) 56px; }
.deck-stage.is-static-deck .card-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1120px;
  height: auto;
  min-height: 0;
}
.deck-stage.is-static-deck .pathway-card { position: relative; inset: auto; min-height: 360px; transform: none !important; }
.deck-stage.is-static-deck .deck-hud { display: none; }

@media (prefers-reduced-motion: reduce) {
  .brand-medallion img,
  .puzzle-orb,
  .logo-halo-ring,
  .emblem-orb--l, .emblem-orb--r, .emblem-ball, .emblem-spin, .emblem-needle, .emblem-puzzle-l, .emblem-puzzle-r, .emblem-heart {
    animation: none !important;
  }
  .word--badge { transform: none !important; }
}

/* ==========================================================================
   Botão Flutuante de WhatsApp (Mobile & Scroll) + Aviso Discreto LGPD
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 88;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #0D2215;
  font-weight: 900;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 5px 0 #158B42, 0 16px 32px rgba(13, 16, 24, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 18px, 0) scale(0.92);
  transition: opacity 220ms ease, transform 240ms var(--ease-spring), visibility 220ms ease;
}
.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}
.wa-float:hover {
  transform: translate3d(0, -3px, 0) scale(1.03);
}
.wa-float svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 89;
  max-width: min(460px, calc(100vw - 40px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 20px;
  background: rgba(16, 20, 31, 0.95);
  color: #FAF9F4;
  border: 1px solid rgba(217, 174, 74, 0.38);
  box-shadow: 0 18px 42px rgba(10, 13, 20, 0.38);
  backdrop-filter: blur(8px);
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(250, 249, 244, 0.88);
}
.cookie-bar a {
  color: var(--gold-bright);
  font-weight: 800;
  text-decoration: underline;
}
.cookie-bar__btn {
  flex: none;
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  color: #111520;
  background: linear-gradient(180deg, #F6D575 0%, #D4A537 100%);
  cursor: pointer;
}

@media (max-width: 640px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 13px 16px;
    font-size: 0.86rem;
  }
  .cookie-bar {
    left: 14px;
    right: 14px;
    bottom: 78px;
    max-width: none;
  }
}
