/* ==========================================================
   A Jornada do Avatar — estilos
   ========================================================== */
:root {
  --papel: #F4EDE0;
  --papel-claro: #FBF7EF;
  --tinta: #1D2A5C;
  --tinta-suave: #3B4778;
  --cobalto: #3352A6;
  --cobalto-escuro: #24397E;
  --ceu: #8EC3E8;
  --verde-agua: #77C3B3;
  --lavanda: #B7A3DA;
  --pessego: #F2B48F;
  --dourado: #E3B23C;
  --indigo: #3D2F86;
  --magenta: #A9479A;
  --e1: #3F8DC4;
  --e2: #D98C6F;
  --e3: #7650B8;
  --e4: #2F4FA2;

  --serifa: 'Playfair Display', Georgia, serif;
  --italica: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mao: 'Caveat', 'Segoe Print', cursive;

  --topo: 76px;
  --lateral: clamp(16px, 6vw, 96px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--tinta);
  background-color: var(--papel);
  background-image: url('../assets/img/papel.jpg');
  background-size: 512px 512px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body, main { overflow-x: clip; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }

[hidden] { display: none !important; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.defs { position: absolute; }

.pular {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.pular:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; border-radius: 6px; }

/* ---------- tipografia comum ---------- */
.sobretitulo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--tinta);
}
h2 {
  font-family: var(--serifa);
  font-size: clamp(2.1rem, 3.5vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.curso {
  font-family: var(--serifa);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  color: var(--tinta-suave);
}

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--cobalto);
  color: #fff;
  font-family: var(--sans); font-weight: 500; font-size: .98rem;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(20, 30, 80, .18), 0 10px 24px -12px rgba(36, 57, 126, .6);
  transition: background .25s, box-shadow .25s;
}
.botao:hover { background: var(--cobalto-escuro); box-shadow: 0 2px 0 rgba(20, 30, 80, .18), 0 14px 28px -12px rgba(36, 57, 126, .7); }
.botao span { transition: transform .25s; }
.botao:hover span { transform: translateX(3px); }
.botao--pequeno { padding: .6em 1.25em; font-size: .9rem; }
.botao--claro { background: var(--papel-claro); color: var(--tinta); font-size: 1.1rem; padding: .9em 2em; }
.botao--claro:hover { background: #fff; }

.link-seta { font-weight: 600; color: var(--cobalto); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topo);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 var(--lateral);
  transition: background .35s, box-shadow .35s, height .35s;
}
.topo.rolou {
  background: rgba(246, 240, 228, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(29, 42, 92, .08);
  height: 64px;
}
.marca {
  display: inline-flex; align-items: center; gap: .45rem;
  text-decoration: none; color: var(--cobalto);
  font-family: var(--serifa); font-weight: 600; font-size: 1.7rem; letter-spacing: -.01em;
}
.marca span { color: var(--tinta); }
.marca__logo { height: 70px; width: auto; display: block; transition: height .35s; }
.topo.rolou .marca__logo { height: 56px; }
.rodape .marca__logo { height: 70px; }
.menu { display: flex; gap: 2.2rem; margin-left: auto; margin-right: 1rem; }
.menu a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--dourado); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.menu a:hover::after, .menu a[aria-current="true"]::after { transform: scaleX(1); }
.menu-botao { display: none; }

/* ---------- trilha de progresso ---------- */
.trilha {
  position: fixed; z-index: 40;
  left: clamp(14px, 2.2vw, 34px); top: 50%;
  height: min(62vh, 520px);
  transform: translateY(-50%);
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.trilha.ativa { opacity: 1; visibility: visible; }
.trilha__linha { position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: rgba(51, 82, 166, .2); border-radius: 2px; }
.trilha__preenchido { position: absolute; inset: 0; background: var(--cobalto); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; }
.trilha ol { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.trilha a { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.trilha__ponto {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--cobalto); background: var(--papel-claro);
  transition: background .3s, transform .3s;
}
.trilha a.ativo .trilha__ponto, .trilha a.passou .trilha__ponto { background: var(--cobalto); }
.trilha a.ativo .trilha__ponto { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(51, 82, 166, .15); }
.trilha__rotulo {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; white-space: nowrap;
  background: var(--papel-claro); padding: .3em .7em; border-radius: 999px;
  box-shadow: 0 4px 14px -6px rgba(29, 42, 92, .35);
  opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.trilha a:hover .trilha__rotulo, .trilha a:focus-visible .trilha__rotulo { opacity: 1; transform: none; }
.barra-progresso { display: none; }

/* ==========================================================
   CABEÇAS EM CAMADAS
   ========================================================== */
.cabeca { position: relative; width: 100%; aspect-ratio: 1; }
.camada {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
}
.enfeite, .primeiro-plano, .nuvens { pointer-events: none; -webkit-user-select: none; user-select: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: max(100vh, 700px);
  min-height: max(100svh, 700px);
  padding: calc(var(--topo) + 4vh) var(--lateral) 0;
  display: grid;
  grid-template-columns: minmax(300px, 38%) 1fr;
  align-items: start;
  z-index: 2;
}
.hero__texto { position: relative; z-index: 6; padding-top: clamp(40px, 11vh, 140px); }
.hero__titulo {
  position: relative;
  font-family: var(--italica);
  font-style: italic; font-weight: 500;
  font-size: clamp(5rem, 11vw, 10.5rem);
  line-height: .85;
  color: var(--cobalto);
  letter-spacing: -.02em;
  margin: .05em 0 .35em -.04em;
  display: inline-block;
}
.traco-ouro { display: block; width: 92%; height: 26px; margin-top: -2px; overflow: visible; }
.traco-ouro path {
  fill: none; stroke: var(--dourado); stroke-width: 6; stroke-linecap: round;
  filter: url(#pincel);
}
.hero__sub { max-width: 23em; font-size: 1.12rem; margin-bottom: 2rem; color: var(--tinta); text-shadow: 0 0 10px var(--papel), 0 0 4px var(--papel), 0 0 2px var(--papel); }
.hero__arte {
  position: relative; z-index: 1;
  width: min(100%, 78vh, 820px);
  justify-self: end;
  margin-top: -2vh;
}
.hero__plano {
  position: absolute; z-index: 4;
  left: -1vw; bottom: -2vw;
  width: min(66vw, 960px, 118vh);
}
.hero__passaro { position: absolute; width: clamp(34px, 3.4vw, 52px); top: 22%; right: 6%; z-index: 2; }

/* ==========================================================
   ETAPAS (rolagem com cena fixa)
   ========================================================== */
.etapa { position: relative; height: 270vh; }
.etapa .cena {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 36%) 1fr;
  align-items: center;
  padding: var(--topo) var(--lateral) 0 calc(var(--lateral) + 40px);
  overflow: hidden;
  z-index: 1;
}
@supports (overflow: clip) { .etapa .cena { overflow: clip; overflow-clip-margin: 0; } }
.etapa__texto { position: relative; z-index: 4; display: grid; gap: .55rem; align-content: center; max-width: 25rem; }
.etapa__texto h2 { margin-top: .35rem; }
.etapa__frase { margin-top: .6rem; font-size: 1.08rem; max-width: 21em; }
.etapa__arte {
  position: relative; z-index: 2;
  width: min(100%, 76vh, 760px);
  justify-self: center;
  margin-top: -4vh;
}
.aura {
  position: absolute; inset: -10% -5%; z-index: 0; pointer-events: none;
  opacity: .55;
  mix-blend-mode: multiply;
}
.etapa--1 .aura { background: radial-gradient(42% 46% at 68% 48%, rgba(142, 195, 232, .35), transparent 70%), radial-gradient(30% 30% at 82% 85%, rgba(119, 195, 179, .25), transparent 70%); }
.etapa--2 .aura { background: radial-gradient(40% 44% at 66% 48%, rgba(242, 180, 143, .30), transparent 70%), radial-gradient(34% 36% at 80% 30%, rgba(183, 163, 218, .32), transparent 70%); }
.etapa--3 .aura { background: radial-gradient(44% 46% at 66% 46%, rgba(118, 80, 184, .22), transparent 70%), radial-gradient(28% 30% at 50% 82%, rgba(169, 71, 154, .14), transparent 70%); }
.etapa--4 .aura { background: radial-gradient(46% 48% at 64% 46%, rgba(142, 195, 232, .38), transparent 72%); }

/* faixas de nuvem que costuram uma etapa na outra */
.nuvens {
  position: absolute; z-index: 6;
  left: -4vw; width: 108vw; max-width: none;
  height: clamp(200px, 25vw, 400px); object-fit: fill;
  top: 0; translate: 0 -50%;
}
.nuvens--lavanda { opacity: .96; height: clamp(160px, 19vw, 300px); }
.nuvens--violeta { height: clamp(160px, 19vw, 300px); }
.nuvens--violeta { filter: hue-rotate(18deg) saturate(1.25); scale: -1 1; }
.nuvens--espelho { scale: -1 1; }

.primeiro-plano { position: absolute; z-index: 5; max-width: none; }
.enfeite { position: absolute; z-index: 5; max-width: none; }

/* etapa 1 */
.e1__plano { width: min(44vw, 620px); left: calc(var(--lateral) + 16vw); bottom: -1vh; }
.e1__passaro1 { width: clamp(30px, 3vw, 46px); top: 10%; right: 4%; }
.e1__passaro2 { width: clamp(26px, 2.6vw, 40px); top: 4%; right: 16%; }
.e1__salvia { width: clamp(70px, 8vw, 120px); right: 3vw; bottom: 4vh; rotate: 18deg; }

/* etapa 2 */
.e2__plano { width: min(66vw, 980px); left: 33vw; bottom: -9vh; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 90%, transparent); }
.folha { width: clamp(28px, 3vw, 46px); }
.e2__folha1 { top: 8%; left: 2%; }
.e2__folha2 { top: 16%; right: 0; }
.e2__folha3 { top: 30%; left: -8%; }

/* etapa 3 */
.ondas { position: absolute; inset: 0; z-index: 0; }
.ondas img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: 49.5% 42%;
  opacity: 0;
  filter: saturate(.8) brightness(1.2);
  mix-blend-mode: multiply;
}
.e3__plano { width: min(48vw, 700px); left: calc(var(--lateral) + 14vw); bottom: -2vh; }
.e3__galho { width: clamp(70px, 8vw, 120px); right: 2vw; bottom: 8vh; rotate: -24deg; }

/* etapa 4 */
.cabeca--enso { width: 92%; margin: 0 auto; }
.e4__plano { width: min(60vw, 880px); left: 66%; translate: -50% 0; bottom: -5vh; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* turmas dentro de cada etapa */
.turmas { margin-top: 1.3rem; display: grid; gap: .35rem; }
.turmas__titulo { font-family: var(--mao); font-size: 1.45rem; line-height: 1; color: var(--cobalto); transform: rotate(-2deg); transform-origin: left; margin-bottom: .2rem; }
.turmas ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.turmas li { display: flex; gap: .55rem; align-items: baseline; font-size: .92rem; }
.turmas li b { font-weight: 600; min-width: 7.6em; }
.turmas li span { color: var(--tinta-suave); }
.turmas a { font-size: .9rem; margin-top: .35rem; justify-self: start; }

/* ==========================================================
   ENCERRAMENTO
   ========================================================== */
.final {
  position: relative; z-index: 3;
  margin-top: 0;
  padding: clamp(150px, 22vw, 300px) var(--lateral) clamp(110px, 14vw, 180px);
  text-align: center;
  color: #fff;
  isolation: isolate;
}
.final__fundo {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2A4A9C;
  --rasgo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='40' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H600V22L588 25 579 21 566 27 552 23 541 29 527 24 515 30 501 25 489 28 476 22 462 27 449 24 437 31 423 26 410 29 398 23 384 28 371 25 357 32 344 26 331 30 318 24 304 27 291 22 277 28 263 25 250 31 237 26 224 29 210 23 197 27 183 24 170 30 156 25 143 28 130 22 116 27 103 24 89 31 76 26 62 29 49 23 35 28 22 25 9 30 0 26Z'/%3E%3C/svg%3E");
  -webkit-mask: var(--rasgo) left bottom / 900px 40px repeat-x, linear-gradient(#000, #000) left top / 100% calc(100% - 39px) no-repeat;
  mask: var(--rasgo) left bottom / 900px 40px repeat-x, linear-gradient(#000, #000) left top / 100% calc(100% - 39px) no-repeat;
}
.final__fundo img { width: 100%; height: 118%; object-fit: cover; max-width: none; }
.nuvens--final { z-index: 2; translate: 0 -46%; scale: -1 1; }
.final__etapas {
  list-style: none; margin: 0 auto clamp(30px, 5vw, 60px); padding: 0;
  display: flex; justify-content: center; gap: clamp(12px, 3vw, 44px);
  position: relative; z-index: 3;
}
.final__etapas li { display: grid; justify-items: center; gap: .5rem; width: clamp(70px, 10vw, 140px); }
.final__etapas img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: radial-gradient(closest-side, rgba(251, 247, 239, .96) 78%, rgba(251, 247, 239, 0) 100%);
  border-radius: 50%; padding: 10%;
}
.final__etapas span { font-family: var(--italica); font-style: italic; font-size: clamp(.95rem, 1.3vw, 1.2rem); color: #EAF1FF; }
.final__titulo {
  position: relative; z-index: 3;
  font-family: var(--italica); font-style: italic; font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.08;
  text-shadow: 0 2px 30px rgba(10, 20, 60, .35);
}
.traco-ouro--final { position: relative; z-index: 3; width: min(420px, 70vw); margin: .6rem auto 2.2rem; }
.final .botao { position: relative; z-index: 3; }

/* ==========================================================
   CURSOS 2027
   ========================================================== */
.cursos { position: relative; padding: clamp(80px, 10vw, 140px) var(--lateral) clamp(60px, 8vw, 110px); }
.cursos__cabeca { text-align: center; display: grid; gap: .8rem; justify-items: center; margin-bottom: 2.2rem; }
.cursos__cabeca h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.cursos__intro { max-width: 34em; color: var(--tinta-suave); }
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: clamp(30px, 5vw, 56px); }
.filtros button {
  font: 500 .92rem var(--sans); color: var(--tinta);
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1.15em; border-radius: 999px; cursor: pointer;
  background: rgba(251, 247, 239, .7); border: 1.5px solid rgba(29, 42, 92, .18);
  transition: background .2s, border-color .2s, color .2s;
}
.filtros button:hover { border-color: var(--cobalto); }
.filtros button[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.ponto { width: .7em; height: .7em; border-radius: 50%; display: inline-block; flex: none; }
.ponto--1 { background: var(--e1); } .ponto--2 { background: var(--e2); }
.ponto--3 { background: var(--e3); } .ponto--4 { background: var(--e4); }

.agenda { max-width: 980px; margin: 0 auto; position: relative; z-index: 2; }
.mes { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem 2rem; padding: 1.4rem 0; }
.mes + .mes { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='6' viewBox='0 0 600 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 C 60 1, 120 5, 200 3 S 340 1, 420 3.5 S 540 5, 600 2.5' fill='none' stroke='%231D2A5C' stroke-opacity='.22' stroke-width='1.4'/%3E%3C/svg%3E") top left / 100% 6px no-repeat; }
.mes__nome { font-family: var(--italica); font-style: italic; font-weight: 600; font-size: 2rem; line-height: 1.1; color: var(--cobalto); }
.mes__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.evento {
  display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 1.2rem; align-items: center;
  padding: .75rem 1rem; border-radius: 14px;
  transition: background .2s;
}
.evento:hover { background: rgba(251, 247, 239, .75); }
.evento__data { font-family: var(--serifa); font-weight: 600; font-size: 1.12rem; white-space: nowrap; }
.evento__nome { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.evento__nome strong { font-family: var(--serifa); font-weight: 600; font-size: 1.12rem; }
.evento__nome em { font-family: var(--italica); font-size: 1.15rem; color: var(--tinta-suave); }
.evento__nome .ponto { align-self: center; }
.evento__local {
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  padding: .35em .9em; border-radius: 999px;
  background: rgba(51, 82, 166, .09); color: var(--cobalto-escuro);
}
.evento__local--presencial { background: rgba(227, 178, 60, .2); color: #6E4E08; }
.evento__local--definir { background: transparent; border: 1.5px dashed rgba(29, 42, 92, .3); color: var(--tinta-suave); }
.evento--proximo .evento__data::after {
  content: 'próxima turma'; display: block;
  font-family: var(--mao); font-weight: 500; font-size: 1.1rem; color: var(--dourado); line-height: 1;
}
.agenda__vazio { text-align: center; color: var(--tinta-suave); }
.cursos__flores { width: clamp(60px, 9vw, 150px); left: 1vw; bottom: 6%; transform: rotate(-8deg); opacity: .95; }
.cursos__margaridas { width: clamp(60px, 9vw, 140px); right: 1vw; top: 16%; transform: rotate(10deg); opacity: .95; }

/* ==========================================================
   SOBRE e DEPOIMENTOS
   ========================================================== */
.sobre {
  display: grid; grid-template-columns: minmax(220px, 40%) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center;
  padding: clamp(50px, 8vw, 120px) var(--lateral);
  max-width: 1200px; margin: 0 auto;
}
.sobre__arte img { width: 100%; max-width: 460px; margin-left: auto; }
.sobre__texto { display: grid; gap: 1rem; max-width: 34rem; }
.sobre__texto p:not(.sobretitulo) { font-size: 1.08rem; }

.depoimentos { padding: clamp(40px, 7vw, 100px) var(--lateral) clamp(80px, 10vw, 140px); text-align: center; display: grid; gap: .9rem; justify-items: center; }
.depo__lista { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); width: min(100%, 1100px); }
.depo { text-align: left; padding: 1.8rem 1.6rem; border-radius: 18px; background: rgba(251, 247, 239, .7); display: grid; gap: 1rem; align-content: start; }
.depo blockquote { margin: 0; font-family: var(--italica); font-style: italic; font-size: 1.3rem; line-height: 1.35; }
.depo p { font-weight: 600; font-size: .9rem; color: var(--tinta-suave); }
.depo--vazio { border: 1.5px dashed rgba(29, 42, 92, .28); background: transparent; color: var(--tinta-suave); }

/* ---------- rodapé ---------- */
.rodape {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding: 2.2rem var(--lateral);
  border-top: 1px solid rgba(29, 42, 92, .12);
  padding-bottom: 96px;
}
.rodape nav { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-left: auto; }
.rodape nav a { text-decoration: none; font-size: .92rem; }
.rodape__ramo { position: absolute; right: -10px; bottom: -40px; width: 90px; opacity: .5; transform: rotate(-30deg); pointer-events: none; }

/* ==========================================================
   WHATSAPP
   ========================================================== */
.ico-whats { width: 1.15em; height: 1.15em; flex: none; }
.botao--whats { margin-top: .6rem; justify-self: start; font-size: 1.02rem; }
.botao--whats .ico-whats { width: 1.35em; height: 1.35em; }
.whats-flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85em 1.3em .85em 1em; border-radius: 999px;
  background: var(--cobalto); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem;
  box-shadow: 0 14px 30px -12px rgba(20, 30, 80, .6);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .35s, visibility .35s, transform .35s, background .25s;
}
.whats-flutuante.visivel { opacity: 1; visibility: visible; transform: none; }
.whats-flutuante:hover { background: var(--cobalto-escuro); }
.whats-flutuante .ico-whats { width: 26px; height: 26px; }
.sem-gsap .whats-flutuante { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================
   ABERTURA (Lao-Tsé)
   ========================================================== */
.abertura {
  position: relative; z-index: 3;
  padding: clamp(170px, 20vw, 290px) var(--lateral) clamp(80px, 10vw, 140px);
  display: grid; justify-items: center; gap: 1.3rem; text-align: center;
}
.citacao { margin: 0; width: min(100%, 1040px); }
.citacao blockquote { margin: 0; }
.citacao__texto {
  font-family: var(--italica); font-style: italic; font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.12; color: var(--tinta);
  max-width: 16.5em; margin: 0 auto; text-wrap: balance;
}
.citacao__texto em { color: var(--cobalto); }
.citacao figcaption {
  margin-top: 1.4rem; font: 600 .8rem var(--sans); letter-spacing: .42em; text-transform: uppercase;
}
.citacao figcaption::before { content: '— '; letter-spacing: 0; }
.traco-ouro--abertura { width: min(240px, 50vw); margin-top: -.4rem; }
.abertura__convite { max-width: 31em; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.abertura__convite em { font-family: var(--italica); font-weight: 600; font-size: 1.3em; line-height: 1; color: var(--cobalto); }
.abertura__folha { width: clamp(30px, 3.4vw, 52px); left: 12%; top: 40%; }
.abertura__ramo { width: clamp(60px, 7vw, 110px); right: 6%; bottom: 8%; rotate: -14deg; }

/* ==========================================================
   TRÊS PERGUNTAS
   ========================================================== */
.perguntas {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: clamp(30px, 5vw, 70px) var(--lateral) clamp(170px, 19vw, 270px);
}
.perguntas h2 { margin: .7rem 0 clamp(28px, 4vw, 52px); }
.perguntas h2 em { font-family: var(--italica); font-weight: 500; color: var(--cobalto); }
.perguntas__lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.pergunta {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 22px;
  background: var(--papel-claro) url('../assets/img/papel.jpg') 0 0 / 512px;
  box-shadow: 0 1px 0 rgba(29, 42, 92, .08), 0 22px 44px -26px rgba(29, 42, 92, .55);
  transition: rotate .6s cubic-bezier(.2, .8, .2, 1), translate .4s, box-shadow .4s;
}
.pergunta--1 { rotate: -1.2deg; }
.pergunta--2 { rotate: .9deg; }
.pergunta--3 { rotate: -.5deg; }
.pergunta:hover { translate: 0 -4px; box-shadow: 0 1px 0 rgba(29, 42, 92, .08), 0 28px 50px -24px rgba(29, 42, 92, .6); }
.pergunta.aberta { rotate: 0deg; }
.pergunta__gota {
  position: absolute; z-index: -1; pointer-events: none;
  width: 30%; top: -13%; right: -11%;
  opacity: .92;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity 1s;
}
.pergunta.aberta .pergunta__gota { transform: translate(-95%, 70%) scale(4.6) rotate(30deg); opacity: .2; }
.pergunta__q { margin: 0; }
.pergunta__q button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: grid; gap: 1.1rem; width: 100%;
  padding: 1.9rem 1.7rem 1.5rem;
}
.pergunta__q button:focus-visible { outline: 3px solid var(--dourado); outline-offset: -6px; border-radius: 20px; }
.pergunta__texto {
  font-family: var(--serifa); font-weight: 600;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.18; color: var(--tinta);
  max-width: 12em; padding-right: 16%;
}
.pergunta__dica { display: inline-flex; align-items: center; gap: .55em; font: 600 .86rem var(--sans); color: var(--cobalto); }
.pergunta__dica i {
  font-style: normal; display: grid; place-items: center;
  width: 1.7em; height: 1.7em; border-radius: 50%; border: 1.5px solid currentColor;
  transition: transform .4s;
}
.pergunta:hover .pergunta__dica i { transform: rotate(90deg); }
.pergunta.aberta .pergunta__dica { display: none; }
.pergunta__r { padding: 0 1.7rem 1.6rem; }
.pergunta__r p { font-size: 1.06rem; line-height: 1.55; animation: surgir .7s ease both; }
.pergunta__fechar {
  all: unset; cursor: pointer; margin-top: 1.1rem;
  display: inline-flex; gap: .45em; align-items: center;
  font: 600 .86rem var(--sans); color: var(--cobalto);
  animation: surgir .7s .15s ease both;
}
.pergunta__fechar span { font-size: 1.3em; line-height: 1; }
.pergunta__fechar:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; border-radius: 4px; }
.js-mov .pergunta:not(.entrou) { opacity: 0; }
.pergunta.entrou { animation: chegar 1s cubic-bezier(.2, .8, .2, 1) both; }
.pergunta--2.entrou { animation-delay: .12s; }
.pergunta--3.entrou { animation-delay: .24s; }
@keyframes chegar { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
@keyframes surgir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================
   O QUE É O AVATAR (Sobre)
   ========================================================== */
.sobre {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  max-width: 1200px;
}
.sobre__texto h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.fatos { margin: 0; display: grid; }
.fatos > div {
  padding: 1.35rem 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='6' viewBox='0 0 600 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 C 60 1, 120 5, 200 3 S 340 1, 420 3.5 S 540 5, 600 2.5' fill='none' stroke='%231D2A5C' stroke-opacity='.22' stroke-width='1.4'/%3E%3C/svg%3E") top left / 100% 6px no-repeat;
}
.fatos > div:last-child { border-bottom: 0; }
.fatos dt { font-weight: 600; font-size: 1.06rem; }
.fatos dd { margin: .3rem 0 0; color: var(--tinta-suave); }
.grifo { position: relative; white-space: nowrap; }
.grifo::after {
  content: ''; position: absolute; left: -3px; right: -3px; bottom: -6px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 9' preserveAspectRatio='none'%3E%3Cpath d='M2 6C20 2 36 8 56 4.5S92 2 118 5' fill='none' stroke='%23E3B23C' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.6, .1, .2, 1);
}
.grifo:nth-of-type(2)::after { transition-delay: .35s; }
.grifo:nth-of-type(3)::after { transition-delay: .7s; }
.grifo.visto::after { clip-path: inset(0 0 0 0); }
.sobre__galho { width: clamp(60px, 7vw, 110px); right: 0; top: 4%; rotate: 22deg; opacity: .9; }

/* ==========================================================
   MARLENE
   ========================================================== */
.marlene {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 100px); align-items: center;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(50px, 7vw, 110px) var(--lateral) clamp(70px, 9vw, 130px);
}
.marlene__arte { position: relative; width: min(100%, 560px); aspect-ratio: 896 / 1200; justify-self: center; }
.cabeca.arco { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.marlene__foto { position: absolute; z-index: 2; left: 8%; bottom: 7%; width: 84%; max-width: none; }
.marlene__nuvens { position: absolute; z-index: 3; left: -14%; width: 128%; max-width: none; bottom: -9%; height: 30%; object-fit: fill; pointer-events: none; }
.marlene__flores { z-index: 4; left: -8%; bottom: 6%; width: 22%; rotate: -8deg; }
.marlene__margaridas { z-index: 4; right: -6%; bottom: 3%; width: 20%; rotate: 9deg; }
.marlene__passaro { z-index: 4; right: 0; top: 7%; width: 9%; }
.marlene__texto { display: grid; gap: 1rem; max-width: 30rem; }
.marlene__texto h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.traco-ouro--marlene { width: min(300px, 75%); margin-top: -.7rem; }
.marlene__texto > p:not(.sobretitulo):not(.marlene__fone) { font-size: 1.1rem; }
.marlene__fone { font-size: .92rem; color: var(--tinta-suave); }
.marlene__fone a { font-weight: 600; color: var(--cobalto); text-decoration: none; }

/* agenda: conversar sobre a turma */
.evento { grid-template-columns: 9.5rem 1fr auto auto; }
.evento__whats {
  display: inline-flex; align-items: center; gap: .4em;
  font: 600 .84rem var(--sans); color: var(--cobalto); text-decoration: none; white-space: nowrap;
  padding: .38em .85em; border-radius: 999px; border: 1.5px solid rgba(51, 82, 166, .35);
  transition: background .2s, color .2s, border-color .2s;
}
.evento__whats:hover { background: var(--cobalto); border-color: var(--cobalto); color: #fff; }
.evento--passou { opacity: .45; }

.rodape__whats { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--cobalto); }
.topo .botao--pequeno .ico-whats { width: 1.2em; height: 1.2em; }

@media (max-width: 860px) {
  .perguntas__lista { grid-template-columns: 1fr; }
  .pergunta--1, .pergunta--2, .pergunta--3 { rotate: 0deg; }
  .sobre { grid-template-columns: 1fr; }
  .marlene { grid-template-columns: 1fr; }
  .marlene__arte { width: min(86vw, 440px); margin-bottom: 14%; }
  .marlene__texto { max-width: none; }
  .evento { grid-template-columns: 1fr auto; }
  .evento__whats { grid-column: 1 / -1; justify-self: start; margin-top: .3rem; }
  .whats-flutuante { padding: 15px; right: 16px; bottom: 16px; }
  .whats-flutuante span { display: none; }
  .abertura__ramo { display: none; }
  .topo .botao--pequeno .ico-whats { display: none; }
}

/* ==========================================================
   CELULAR E TABLET
   ========================================================== */
@media (max-width: 1100px) {
  .menu { gap: 1.4rem; }
}
@media (max-width: 860px) {
  :root { --topo: 64px; }
  body { font-size: 16px; }
  .topo { gap: .8rem; }
  .topo .botao--pequeno { margin-left: auto; font-size: .82rem; padding: .55em 1em; }
  .menu-botao {
    display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
    background: rgba(251, 247, 239, .8); cursor: pointer;
  }
  .menu-botao span[aria-hidden], .menu-botao span[aria-hidden]::before, .menu-botao span[aria-hidden]::after {
    content: ''; display: block; width: 18px; height: 2px; background: var(--tinta); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
  }
  .menu-botao span[aria-hidden]::before { position: absolute; top: -6px; }
  .menu-botao span[aria-hidden]::after { position: absolute; top: 6px; }
  .menu-botao[aria-expanded="true"] span[aria-hidden] { background: transparent; }
  .menu-botao[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(6px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-6px) rotate(-45deg); }
  .menu {
    position: fixed; inset: var(--topo) 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: .5rem var(--lateral) 1.2rem;
    background: rgba(246, 240, 228, .98); box-shadow: 0 16px 30px -18px rgba(29, 42, 92, .4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu.aberto { opacity: 1; visibility: visible; transform: none; }
  .menu a { padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(29, 42, 92, .08); }
  .marca { font-size: 1.4rem; }
  .marca__logo, .topo.rolou .marca__logo { height: 48px; }

  .trilha { display: none; }
  .barra-progresso { display: block; position: fixed; z-index: 49; left: 0; right: 0; top: var(--topo); height: 3px; background: rgba(51, 82, 166, .12); opacity: 0; transition: opacity .3s; }
  .barra-progresso.ativa { opacity: 1; }
  .barra-progresso div { height: 100%; background: var(--cobalto); transform-origin: left; transform: scaleX(var(--p, 0)); }

  .hero { grid-template-columns: 1fr; padding-top: calc(var(--topo) + 20px); min-height: auto; padding-bottom: 32vw; }
  .hero__texto { padding-top: 10px; }
  .hero__titulo { font-size: clamp(4.4rem, 22vw, 7rem); }
  .hero__sub { font-size: 1.02rem; margin-bottom: 1.4rem; }
  .hero__arte { width: min(100%, 520px); justify-self: center; margin-top: 10px; }
  .hero__plano { width: 120vw; left: -14vw; bottom: -4vw; }

  .etapa { height: 210vh; }
  .etapa .cena {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start;
    padding: calc(var(--topo) + 22px) var(--lateral) 0;
  }
  .etapa__texto { gap: .35rem; max-width: none; }
  .etapa__texto h2 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .etapa__texto h2 br { display: none; }
  .etapa__frase { font-size: 1rem; margin-top: .3rem; }
  .turmas { margin-top: .7rem; }
  .turmas ul li:nth-child(n+2) { display: none; }
  .etapa__arte { width: min(88vw, 52vh, 520px); margin-top: 0; align-self: center; }
  .e1__plano { width: 92vw; left: -6vw; bottom: 0; }
  .e2__plano { width: 150vw; left: -22vw; bottom: -4vh; }
  .e3__plano { width: 100vw; left: 0; bottom: 0; }
  .e4__plano { width: 130vw; left: 50%; bottom: -2vh; }
  .e1__salvia, .e3__galho { display: none; }
  .nuvens { left: -30vw; width: 160vw; }

  .mes { grid-template-columns: 1fr; gap: .4rem; }
  .mes__nome { font-size: 1.7rem; }
  .evento { grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .7rem .2rem; }
  .evento__data { grid-column: 1 / -1; font-size: 1rem; }
  .evento--proximo .evento__data::after { display: inline; margin-left: .5rem; }
  .cursos__flores, .cursos__margaridas { display: none; }

  .sobre { grid-template-columns: 1fr; }
  .sobre__arte img { max-width: 300px; margin: 0 auto; }
  .depo__lista { grid-template-columns: 1fr; }
  .final__etapas { flex-wrap: wrap; }
  .final__etapas li { width: 22vw; }
}

.sem-gsap .etapa { height: auto; }
.sem-gsap .etapa .cena { position: relative; height: auto; min-height: 100vh; padding-bottom: 22vw; }

/* ==========================================================
   MOVIMENTO REDUZIDO: nada fixo, tudo na posição final
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .etapa { height: auto; }
  .etapa .cena { position: relative; height: auto; min-height: 100vh; padding-bottom: 22vw; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
