/* EduCaju — landing v3: layout, interação e movimento.
   Paleta e fontes iguais às da marca (ver tailwind.config.js). */
:root {
  --caju: #FF6A2A;
  --caju-escuro: #C2410C; /* laranja de texto e hover: contraste AA no branco */
  --caju-claro: #FF9A4D;
  --pessego: #FFD0A3;
  --cacau: #4B2E2A;
  --cacau-90: #3A221F;
  --areia: #F6F1EA;
  --creme: #FFF9F3;
  --sombra-quente: 0 20px 40px -12px rgba(75, 46, 42, 0.18);
  --mola: cubic-bezier(0.16, 1, 0.3, 1);
  --raio: 1.5rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background-color: var(--areia); }

/* Texto sempre visível sem JS; a revelação só existe quando o script roda. */
html:not(.js) .reveal-item { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--caju); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pessego); color: var(--cacau); }
html { scrollbar-color: var(--pessego) var(--areia); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--areia); }
::-webkit-scrollbar-thumb { background: var(--pessego); border-radius: 10px; border: 2px solid var(--areia); }

/* ---------- Botões e links ---------- */
.btn-primario, .btn-contorno, .btn-branco {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; border-radius: 1rem; line-height: 1.2;
  transition: transform .25s var(--mola), box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primario { background: var(--caju); color: #fff; box-shadow: 0 10px 22px -8px rgba(255, 106, 42, .65); }
.btn-primario:hover { background: var(--caju-escuro); transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(255, 106, 42, .7); }
.btn-contorno { background: #fff; color: var(--cacau); border: 2px solid rgba(75, 46, 42, .14); }
.btn-contorno:hover { border-color: var(--caju); color: var(--caju-escuro); transform: translateY(-2px); }
.btn-branco { background: #fff; color: var(--cacau); box-shadow: 0 14px 30px -12px rgba(58, 34, 31, .5); }
.btn-branco:hover { transform: translateY(-2px) scale(1.02); }
.btn-primario:active, .btn-contorno:active, .btn-branco:active { transform: translateY(0) scale(.98); }

.site-header a, .site-header .font-display { white-space: nowrap; }
.nav-link { position: relative; padding: .5rem .6rem; border-radius: .75rem; transition: color .2s ease; }
.nav-link::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .3rem; height: 2px;
  background: var(--caju); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--mola);
}
.nav-link:hover, .nav-link[aria-current="true"] { color: var(--caju-escuro); }
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); }

.link-seta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--caju-escuro); transition: gap .25s var(--mola); }
.link-seta span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--mola); }
.link-seta:hover { gap: .85rem; }
.link-seta:hover span { background-size: 100% 2px; }

.rodape-link { transition: color .2s ease; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.rodape-link:hover { color: #fff; }
.rede { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(255, 255, 255, .08); transition: background-color .2s ease, color .2s ease, transform .25s var(--mola); }
.rede:hover { background: var(--caju); color: #fff; transform: translateY(-3px); }

/* ---------- Cabeçalho e menu do celular ---------- */
.site-header {
  background: rgba(246, 241, 234, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.site-header.rolado { border-bottom-color: rgba(75, 46, 42, .08); box-shadow: 0 8px 24px -16px rgba(75, 46, 42, .35); background: rgba(255, 249, 243, .92); }

.menu-botao { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .9rem; background: #fff; border: 2px solid rgba(75, 46, 42, .1); }
.menu-botao:hover { border-color: var(--caju); }
@media (min-width: 1280px) { .menu-botao, .menu-movel { display: none !important; } }
.menu-botao-linhas { display: grid; gap: 4px; width: 18px; }
.menu-botao-linhas span { display: block; height: 2px; border-radius: 2px; background: var(--cacau); transition: transform .3s var(--mola), opacity .2s ease; }
.menu-botao-linhas span:nth-child(2) { width: 70%; justify-self: end; }
.menu-botao[aria-expanded="true"] .menu-botao-linhas span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao-linhas span:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] .menu-botao-linhas span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu-movel { position: fixed; inset: 0; z-index: 70; }
.menu-movel[hidden] { display: none; }
.menu-movel-fundo { position: absolute; inset: 0; background: rgba(58, 34, 31, .45); opacity: 0; transition: opacity .3s ease; }
.menu-movel-painel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  display: flex; flex-direction: column; overflow: hidden auto;
  padding: 1.25rem 1.5rem 1.75rem; background: var(--creme);
  border-radius: 1.75rem 0 0 1.75rem; box-shadow: -20px 0 50px -20px rgba(58, 34, 31, .45);
  transform: translateX(104%); transition: transform .45s var(--mola);
}
.menu-movel.aberto .menu-movel-fundo { opacity: 1; }
.menu-movel.aberto .menu-movel-painel { transform: translateX(0); }
.menu-fechar { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .9rem; background: #fff; color: var(--cacau); font-size: 1.15rem; border: 2px solid rgba(75, 46, 42, .1); }
.menu-movel-lista { display: grid; }
.menu-movel-lista li { opacity: 0; transform: translateX(18px); transition: opacity .35s ease, transform .45s var(--mola); }
.menu-movel.aberto .menu-movel-lista li { opacity: 1; transform: none; }
.menu-movel.aberto .menu-movel-lista li:nth-child(2) { transition-delay: .04s; }
.menu-movel.aberto .menu-movel-lista li:nth-child(3) { transition-delay: .08s; }
.menu-movel.aberto .menu-movel-lista li:nth-child(4) { transition-delay: .12s; }
.menu-movel.aberto .menu-movel-lista li:nth-child(5) { transition-delay: .16s; }
.menu-movel.aberto .menu-movel-lista li:nth-child(6) { transition-delay: .2s; }
.menu-movel.aberto .menu-movel-lista li:nth-child(7) { transition-delay: .24s; }
.menu-movel-lista a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem .25rem; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--cacau);
  border-bottom: 1px solid rgba(75, 46, 42, .1); transition: color .2s ease, transform .25s var(--mola);
}
.menu-movel-lista a:hover { color: var(--caju-escuro); transform: translateX(.4rem); }
.menu-movel-mascote { position: absolute; right: 14px; bottom: 148px; width: 64px; pointer-events: none; transform: rotate(-8deg); }
body.menu-travado { overflow: hidden; }

/* ---------- Hero ---------- */
.hero-fundo {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42rem 30rem at 85% 30%, rgba(255, 154, 77, .28), transparent 65%),
    radial-gradient(30rem 24rem at 5% 90%, rgba(255, 208, 163, .45), transparent 70%);
}
.selo-vivo {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .75rem;
  background: #fff; border: 1px solid rgba(75, 46, 42, .1); border-radius: 999px;
  font-size: .85rem; font-weight: 700; color: var(--cacau); box-shadow: 0 6px 16px -10px rgba(75, 46, 42, .35);
}
.selo-vivo-ponto { position: relative; width: .6rem; height: .6rem; border-radius: 999px; background: var(--caju); }
.selo-vivo-ponto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--caju); animation: pulsoPonto 2s ease-out infinite; }
/* Aviso de novidade ao lado do selo (ex.: Ensino Técnico). */
.selo-novidade { padding-left: .45rem; background: #fff4ec; border-color: rgba(255, 106, 42, .25); }
.selo-novo { padding: .15rem .55rem; border-radius: 999px; background: var(--caju); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@keyframes pulsoPonto { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }

.sublinhado-caju {
  color: var(--caju); white-space: nowrap;
  background: linear-gradient(transparent 70%, rgba(255, 208, 163, .9) 70%, rgba(255, 208, 163, .9) 92%, transparent 92%) 0 0 / 0 100% no-repeat;
  animation: sublinhar 1s .5s var(--mola) forwards;
}
@keyframes sublinhar { to { background-size: 100% 100%; } }

.hero-texto > * { animation: entrarCima .8s var(--mola) both; }
.hero-texto > *:nth-child(2) { animation-delay: .08s; }
.hero-texto > *:nth-child(3) { animation-delay: .16s; }
.hero-texto > *:nth-child(4) { animation-delay: .24s; }
.hero-texto > *:nth-child(5) { animation-delay: .32s; }
@keyframes entrarCima { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Palco do celular ---------- */
.palco-celular { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.5rem 3.5rem 0; animation: entrarCima 1s .2s var(--mola) both; }
.flutuante, .mascote-palco { position: absolute; z-index: 3; pointer-events: none; height: auto; filter: drop-shadow(0 12px 16px rgba(75, 46, 42, .18)); }
.flutuante { animation: flutuar 6s ease-in-out infinite; }
.flutuante-calendario { width: 112px; top: 4%; left: -4px; animation-delay: -1s; }
.flutuante-relogio { width: 96px; top: 0; right: 0; animation-delay: -3s; }
.flutuante-lapis { width: 90px; bottom: 26%; left: -6px; animation-delay: -2s; }
.mascote-palco { width: 132px; bottom: 9%; right: -18px; z-index: 4; }
@keyframes flutuar { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: 3deg; } }

.celular {
  position: relative; z-index: 2; width: 272px; aspect-ratio: 9 / 19.5;
  padding: 11px; border-radius: 46px; background: linear-gradient(150deg, #5a3934, var(--cacau-90));
  box-shadow: 0 40px 70px -24px rgba(58, 34, 31, .55), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotate(-2deg); transition: transform .6s var(--mola);
}
.palco-celular:hover .celular { transform: rotate(0deg) translateY(-4px); }
.celular::before { /* câmera */
  content: ""; position: absolute; z-index: 5; top: 19px; left: 50%; width: 76px; height: 20px; translate: -50% 0;
  border-radius: 999px; background: #1e1210;
}
.celular-tela {
  position: relative; height: 100%; overflow: hidden; border-radius: 36px;
  background: var(--creme); color: var(--cacau); font-size: 12px; line-height: 1.35;
}
.app-status { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 6px 22px 0 26px; font-size: 11px; font-weight: 800; }
.app-status-icones { display: inline-flex; gap: 5px; font-size: 9px; }

.cena { position: absolute; inset: 40px 0 0; padding: 8px 14px 14px; overflow: hidden; opacity: 0; transform: translateX(24px); transition: opacity .45s ease, transform .55s var(--mola); }
.cena.saindo { transform: translateX(-24px); }
.cena.ativa { opacity: 1; transform: none; }
/* Sem animação (sem JS ou movimento reduzido), o celular fica parado no plano pronto. */
.celular-tela:not(.rodando) .cena[data-cena="pronto"] { opacity: 1; transform: none; }
.celular-tela:not(.rodando) .app-pronto-check circle, .celular-tela:not(.rodando) .app-pronto-check path { stroke-dashoffset: 0; }
.celular-tela:not(.rodando) .app-toast { opacity: 1; transform: translate(-50%, 0); }

.app-topo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: 'Outfit', sans-serif; font-size: 14px; }
.app-topo b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-topo img { width: 26px; height: 26px; object-fit: contain; }
.app-topo .fa-arrow-left { font-size: 12px; opacity: .6; }
.app-ola { font-size: 11px; color: rgba(75, 46, 42, .7); margin-bottom: 10px; }
.app-turma { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 4px 12px -8px rgba(75, 46, 42, .4); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.app-turma b { display: block; font-size: 12px; }
.app-turma small { display: block; font-size: 9.5px; color: rgba(75, 46, 42, .6); }
.app-turma > i { margin-left: auto; font-size: 10px; opacity: .4; }
.app-turma-cor { flex: none; width: 6px; height: 32px; border-radius: 6px; background: var(--cor); }
.app-cota { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 9px 11px; border-radius: 12px; background: rgba(255, 208, 163, .45); font-size: 10.5px; }
.app-cota b { color: var(--caju-escuro); }
.tocado { transform: scale(.96) !important; background-color: #FFE7D1 !important; box-shadow: 0 0 0 2px var(--caju) !important; }

.cena-rolagem { transition: transform 1.2s cubic-bezier(.45, 0, .25, 1); }
.app-rotulo { margin: 4px 0 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(75, 46, 42, .55); }
.app-aula { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; padding: 9px 10px; background: #fff; border-radius: 12px; font-size: 11px; }
.app-aula b { margin-right: 3px; color: var(--caju-escuro); }
.app-check { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; border: 2px solid rgba(75, 46, 42, .25); transition: background-color .2s ease, border-color .2s ease; }
.app-check i { font-size: 9px; color: #fff; transform: scale(0); transition: transform .3s var(--mola); }
.app-aula.marcado .app-check { background: var(--caju); border-color: var(--caju); }
.app-aula.marcado .app-check i { transform: scale(1); }
.app-habilidade { margin: 8px 0 10px; padding: 7px 9px; border-radius: 10px; background: var(--cacau); color: var(--creme); font-size: 10px; }
.app-habilidade b { color: var(--caju-claro); }
.app-calendario { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center; font-size: 10px; }
.app-calendario > span:not(.dia) { font-weight: 800; color: rgba(75, 46, 42, .45); }
.app-calendario .dia { padding: 5px 0; border-radius: 8px; background: #fff; font-weight: 700; transition: background-color .25s ease, color .25s ease, transform .3s var(--mola); }
.app-calendario .dia.marcado { background: var(--caju); color: #fff; transform: scale(1.06); }
.app-gerar { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px; padding: 11px; border-radius: 12px; background: var(--caju); color: #fff; font-weight: 800; font-size: 12px; box-shadow: 0 8px 16px -8px rgba(255, 106, 42, .8); transition: transform .2s ease; pointer-events: none; }
.app-gerar.tocado { background-color: #E8551A !important; }

.app-tempo { margin-left: auto; padding: 2px 7px; border-radius: 8px; background: rgba(255, 208, 163, .55); font: 700 10.5px ui-monospace, SFMono-Regular, Consolas, monospace; }
.app-barra { height: 6px; margin-bottom: 10px; border-radius: 6px; background: rgba(75, 46, 42, .1); overflow: hidden; }
.app-barra span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--caju-claro), var(--caju)); }
.app-bloco { margin-bottom: 8px; padding: 10px; border-radius: 12px; background: #fff; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--mola); }
.app-bloco.visivel { opacity: 1; transform: none; }
.app-bloco b { display: block; font-size: 11px; margin-bottom: 5px; }
.app-bloco .linha { display: block; height: 5px; margin-bottom: 4px; border-radius: 4px; background: rgba(75, 46, 42, .1); }
.app-bloco .linha.curta { width: 62%; }
.app-bloco em { display: block; margin-top: 4px; font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--caju-escuro); }

.app-pronto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding-bottom: 40px; text-align: center; }
.app-pronto > b { font-family: 'Outfit', sans-serif; font-size: 18px; margin-top: 4px; }
.app-pronto > small { font-size: 11px; color: rgba(75, 46, 42, .65); margin-bottom: 8px; }
.app-pronto-check { width: 76px; height: 76px; }
.app-pronto-check circle { fill: rgba(255, 208, 163, .45); stroke: var(--caju); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; transition: stroke-dashoffset .7s var(--mola); }
.app-pronto-check path { fill: none; stroke: var(--caju-escuro); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .45s .45s var(--mola); }
.app-pronto-check.desenhado circle, .app-pronto-check.desenhado path { stroke-dashoffset: 0; }
.app-baixar { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 11px; border-radius: 12px; background: var(--caju); color: #fff; font-weight: 800; font-size: 12px; transition: transform .2s ease; }
.app-baixar.contorno { background: #fff; color: var(--cacau); border: 2px solid rgba(75, 46, 42, .12); }
.app-toast { position: absolute; left: 50%; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--cacau); color: #fff; font-size: 10px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(-50%, 14px); transition: opacity .3s ease, transform .45s var(--mola); }
.app-toast i { color: #7BE0A2; }
.app-toast.visivel { opacity: 1; transform: translate(-50%, 0); }

.dedo { position: absolute; z-index: 6; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 2px solid rgba(75, 46, 42, .55); box-shadow: 0 6px 14px -4px rgba(58, 34, 31, .5); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.dedo.visivel { opacity: 1; }
.dedo.toque::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--caju); animation: toque .5s ease-out forwards; }
@keyframes toque { from { transform: scale(1); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.passos-demo { position: relative; z-index: 4; display: flex; gap: .4rem; margin-top: 1.4rem; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .75); box-shadow: 0 8px 20px -14px rgba(75, 46, 42, .5); counter-reset: passo; }
.passos-demo li { counter-increment: passo; padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: rgba(75, 46, 42, .55); transition: background-color .3s ease, color .3s ease; }
.passos-demo li::before { content: counter(passo) ". "; }
.passos-demo li.ativo { background: var(--caju); color: #fff; }

/* ---------- Faixa de fatos ---------- */
.faixa { overflow: hidden; background: var(--cacau); color: var(--areia); padding: 1rem 0; }
.faixa-trilho { display: flex; width: max-content; animation: correr 34s linear infinite; }
.faixa:hover .faixa-trilho { animation-play-state: paused; }
.faixa-lista { display: flex; gap: 3rem; padding-right: 3rem; }
.faixa-lista li { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; }
.faixa-lista i { color: var(--caju-claro); }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- Como funciona (trilha) ---------- */
.trilha { position: relative; display: grid; gap: 3.5rem; --progresso: 0; }
.trilha::before, .trilha::after { content: ""; position: absolute; z-index: 0; left: 27px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; }
.trilha::before { background: rgba(75, 46, 42, .1); }
.trilha::after { background: var(--caju); transform-origin: top; transform: scaleY(var(--progresso)); }
/* z-index: o .reveal-item (transform/opacity) cria uma camada por passo; sem
   isto a linha (::after, desenhada depois) passa por cima dos números. */
.trilha-passo { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; column-gap: 1.5rem; row-gap: 1rem; align-items: start; }
.trilha-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: #fff; border: 3px solid var(--caju); color: var(--caju-escuro); font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.5rem; transition: background-color .4s ease .25s, color .4s ease .25s, transform .5s var(--mola) .25s; }
.trilha-passo.is-revealed .trilha-num { background: var(--caju); color: #fff; transform: scale(1.05); }
.trilha-texto { padding-top: .6rem; max-width: 36rem; }
.trilha-tag { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 208, 163, .45); font-size: .85rem; font-weight: 800; color: var(--cacau); }
.trilha-tag i { color: var(--caju-escuro); }
.trilha-img { grid-column: 2; width: 132px; height: auto; filter: drop-shadow(0 14px 18px rgba(75, 46, 42, .16)); transform: rotate(-6deg) scale(.9); opacity: 0; transition: transform .8s var(--mola) .15s, opacity .6s ease .15s; }
.trilha-passo.is-revealed .trilha-img, html:not(.js) .trilha-img { transform: rotate(0) scale(1); opacity: 1; }
@media (min-width: 768px) {
  .trilha-passo { grid-template-columns: 56px 1fr 200px; align-items: center; }
  .trilha-img { grid-column: 3; grid-row: 1; width: 190px; justify-self: center; }
  .trilha-passo:nth-child(2) .trilha-img { rotate: 4deg; }
}

/* ---------- Modelo do plano (folha que inclina) ---------- */
.folha-palco { position: relative; width: 100%; max-width: 580px; perspective: 1400px; padding-top: 1.5rem; }
.folha {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 1.5rem; background: #fff; border-radius: 1.25rem; border: 1px solid rgba(75, 46, 42, .08);
  box-shadow: var(--sombra-quente), 0 2px 0 rgba(75, 46, 42, .04);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .35s var(--mola), box-shadow .35s ease;
}
.folha::after { /* folha de baixo, efeito de pilha */
  content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border-radius: inherit; background: var(--pessego); opacity: .55; transform: translateZ(-30px) rotate(2deg);
}
@media (min-width: 640px) { .folha { padding: 2rem; } }
.folha-estrela { position: absolute; z-index: 3; top: -10px; right: -12px; width: 108px; height: auto; filter: drop-shadow(0 12px 14px rgba(75, 46, 42, .2)); animation: flutuar 5s ease-in-out infinite; pointer-events: none; }
.folha-habilidade { padding: .7rem .85rem; border: 1px solid var(--pessego); border-radius: .6rem; background: linear-gradient(90deg, rgba(255, 208, 163, .65), rgba(255, 208, 163, .65)) 0 0 / 0 100% no-repeat, rgba(255, 249, 243, 1); transition: background-size 1s var(--mola); }
.folha-habilidade.marcada, html:not(.js) .folha-habilidade { background-size: 100% 100%, auto; }
.folha-etapa { padding: .35rem .5rem; border-radius: .5rem; opacity: .3; transform: translateX(-8px); transition: opacity .5s ease, transform .6s var(--mola), background-color .3s ease; }
.folha-etapa.visivel, html:not(.js) .folha-etapa { opacity: 1; transform: none; }
.folha-etapa:hover { background: rgba(255, 208, 163, .25); }

/* ---------- Bento de diferenciais ---------- */
.bento { display: grid; gap: 1.25rem; }
.bento-item {
  position: relative; overflow: hidden; min-height: 15rem; padding: 1.75rem 1.75rem 7.5rem;
  border-radius: 1.75rem; background: var(--areia); border: 1px solid rgba(75, 46, 42, .07);
  transition: transform .4s var(--mola), box-shadow .4s ease;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--sombra-quente); }
.bento-item h3, .bento-item p { position: relative; z-index: 1; }
.bento-escuro { background: var(--cacau); color: var(--areia); }
.bento-laranja { background: var(--caju); color: #fff; }
.bento-img { position: absolute; right: -8px; bottom: -14px; width: 210px; height: auto; filter: drop-shadow(0 14px 18px rgba(58, 34, 31, .22)); transition: transform .6s var(--mola); pointer-events: none; }
.bento-img.pequena { width: 120px; right: 10px; bottom: 6px; }
.bento-item:hover .bento-img { transform: rotate(-7deg) scale(1.07) translateY(-4px); }
@media (min-width: 768px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-grande { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; }
  .bento-grande { grid-column: 1; grid-row: 1 / 3; min-height: 30rem; padding-bottom: 2rem; }
  .bento-grande .bento-img { width: 300px; right: -4px; bottom: -10px; }
  .bento-laranja { grid-column: 2 / 4; padding-right: 10rem; padding-bottom: 1.75rem; min-height: 12rem; }
  .bento-laranja .bento-img.pequena { width: 140px; right: 24px; bottom: 50%; translate: 0 50%; }
}

/* ---------- Depoimentos ---------- */
.depo-destaque { position: relative; padding: 2.25rem 1.75rem 1.75rem; border-radius: 1.75rem; background: #fff; border: 2px solid rgba(255, 208, 163, .9); box-shadow: var(--sombra-quente); }
@media (min-width: 640px) { .depo-destaque { padding: 2.75rem 2.5rem 2rem; } }
.depo-aspas { position: absolute; top: -1.4rem; left: 1.75rem; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 999px; background: var(--caju); color: #fff; font-size: 1.1rem; box-shadow: 0 10px 18px -8px rgba(255, 106, 42, .8); }
.depo-destaque.is-revealed .depo-aspas { animation: saltar .7s .3s var(--mola) both; }
@keyframes saltar { from { transform: scale(.3) rotate(-30deg); } to { transform: none; } }
.depo-avatar { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--caju); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; }
.depo-avatar.pequeno { width: 2.5rem; height: 2.5rem; font-size: .85rem; background: var(--cacau); }
.depo-trilho { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.depo-faixa { display: flex; gap: 1.25rem; width: max-content; padding: .5rem 0 1.5rem; }
.depo-trilho.correndo .depo-faixa { animation: correr 55s linear infinite; }
.depo-trilho:hover .depo-faixa, .depo-trilho:focus-within .depo-faixa { animation-play-state: paused; }
.depo-cartao { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; width: min(80vw, 22rem); padding: 1.5rem; border-radius: 1.4rem; background: #fff; border: 1px solid rgba(75, 46, 42, .07); box-shadow: 0 10px 24px -18px rgba(75, 46, 42, .45); transition: transform .35s var(--mola); }
.depo-cartao:hover { transform: translateY(-4px) rotate(-.6deg); }
.depo-autor { display: flex; align-items: center; gap: .7rem; }
.depo-autor b { display: block; color: var(--cacau); font-size: .95rem; }
.depo-autor small { display: block; color: rgba(75, 46, 42, .65); font-size: .8rem; }
/* Sem JS a faixa vira rolagem lateral comum. */
html:not(.js) .depo-trilho { overflow-x: auto; }

/* ---------- Preços ---------- */
.preco-cartao { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border-radius: 1.75rem; background: #fff; border: 2px solid rgba(75, 46, 42, .08); transition: transform .4s var(--mola), box-shadow .4s ease, border-color .3s ease; }
.preco-cartao:hover { transform: translateY(-6px); box-shadow: var(--sombra-quente); }
.preco-destaque { background: var(--creme); border-color: var(--caju); box-shadow: 0 0 40px rgba(255, 106, 42, .18); }
.preco-fita { position: absolute; top: -.95rem; left: 0; right: 0; width: max-content; margin: 0 auto; padding: .4rem 1rem; border-radius: 999px; background: var(--caju); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.garantia { display: flex; align-items: center; gap: 1.25rem; max-width: 48rem; margin: 3rem auto 0; padding: 1.25rem 1.5rem; border-radius: 1.5rem; background: var(--creme); border: 2px dashed var(--pessego); }
.garantia-img { flex: none; width: 76px; height: auto; }
.garantia.is-revealed .garantia-img { animation: saltar .8s .2s var(--mola) both; }

/* ---------- FAQ ---------- */
.faq-item { border-radius: 1.1rem; background: #fff; border: 1px solid rgba(75, 46, 42, .08); transition: box-shadow .3s ease, border-color .3s ease; }
.faq-item.active { border-color: rgba(255, 106, 42, .45); box-shadow: 0 12px 26px -18px rgba(75, 46, 42, .45); }
.faq-pergunta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.15rem 1.35rem; text-align: left; font-weight: 800; font-size: 1.05rem; color: var(--cacau); border-radius: inherit; }
.faq-pergunta:hover { color: var(--caju-escuro); }
.faq-icon { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: rgba(255, 208, 163, .45); color: var(--caju-escuro); }
.faq-content p { padding: 0 1.35rem 1.25rem; color: rgba(75, 46, 42, .82); line-height: 1.65; }
.faq-item.active .faq-content { max-height: 30rem; margin-top: 0; }

/* ---------- Chamada final ---------- */
.cta-final { background: radial-gradient(40rem 26rem at 80% 20%, var(--caju-claro), transparent 70%), linear-gradient(135deg, var(--caju), #E8551A); }
.cta-flutuante { position: absolute; z-index: 1; width: 92px; height: auto; opacity: .55; pointer-events: none; filter: drop-shadow(0 12px 14px rgba(58, 34, 31, .25)); animation: flutuar 7s ease-in-out infinite; }
.cta-f1 { top: 1.5rem; left: 3%; }
.cta-f2 { bottom: 1.5rem; right: 4%; animation-delay: -3s; }
@media (min-width: 1024px) {
  .cta-flutuante { width: 130px; opacity: .95; }
  .cta-f2 { bottom: auto; top: 2.5rem; right: 30%; }
}

/* ---------- Ajustes de celular ---------- */
.passos-demo li { white-space: nowrap; }
@media (max-width: 479px) {
  .site-header a[title] .flex-col > span:last-child { display: none; }
  .site-header a[title] .text-2xl { font-size: 1.35rem; }
  .site-header .btn-primario { padding: .6rem .9rem; }
  .site-header .btn-primario i { display: none; }
  .palco-celular { padding: 1.25rem 1.5rem 0; }
  .flutuante-calendario { width: 72px; top: 0; left: -6px; }
  .flutuante-relogio { width: 66px; top: -4px; right: -4px; }
  .flutuante-lapis { width: 58px; bottom: 30%; left: -8px; }
  .mascote-palco { width: 92px; bottom: 12%; right: -14px; }
  .passos-demo li { padding: .35rem .6rem; font-size: .74rem; }
  .folha-estrela { width: 70px; top: -4px; right: -6px; }
  .bento-item { padding-bottom: 8.5rem; }
  .bento-img { width: 170px; }
  .bento-img.pequena { width: 104px; }
  .cta-f1 { width: 64px; top: .5rem; left: .5rem; opacity: .35; }
  .cta-f2 { width: 70px; }
}

/* ---------- Blog ---------- */
.site-header { position: sticky; }
.leitura-barra { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--caju); transform: scaleX(0); transform-origin: left; }
.blog-entrada { animation: entrarCima .8s var(--mola) both; }
.blog-artigo-topo { position: relative; padding-right: 0; }
.blog-ilustra { float: right; width: 108px; height: auto; margin: -.5rem -.5rem .5rem 1rem; filter: drop-shadow(0 12px 14px rgba(75, 46, 42, .18)); animation: flutuar 6s ease-in-out infinite; }
@media (min-width: 640px) { .blog-ilustra { width: 150px; margin: -1.5rem -1rem .5rem 1.5rem; } }
.blog-artigo-topo::after { content: ""; display: block; clear: both; }
.blog-indice a { display: inline-block; border-radius: .4rem; padding: 0 .35rem; margin-left: -.35rem; transition: background-color .2s ease, color .2s ease; }
.blog-indice a.atual { background: rgba(255, 208, 163, .6); color: var(--caju-escuro); font-weight: 700; }
.blog-capa { position: relative; }
.blog-capa-mascote { width: 92px; height: auto; margin: 0 auto .25rem; animation: flutuar 5s ease-in-out infinite; }
.blog-card { position: relative; overflow: hidden; }
.blog-card.com-imagem { padding-right: 8.5rem; }
.blog-card-img { position: absolute; right: .75rem; top: 50%; width: 110px; height: auto; translate: 0 -50%; transition: transform .5s var(--mola); filter: drop-shadow(0 10px 12px rgba(75, 46, 42, .18)); }
.blog-card:hover .blog-card-img { transform: rotate(-8deg) scale(1.08); }
@media (max-width: 479px) {
  .blog-card.com-imagem { padding-right: 1.5rem; padding-top: 8rem; }
  .blog-card-img { top: 1rem; right: auto; left: 1.25rem; width: 84px; translate: none; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faixa-trilho, .depo-trilho.correndo .depo-faixa { animation: none !important; }
  .faixa-trilho { flex-wrap: wrap; width: auto; justify-content: center; }
  .faixa-lista[aria-hidden="true"] { display: none; }
  .depo-trilho { overflow-x: auto; }
  .sublinhado-caju { background-size: 100% 100%; }
  .flutuante, .mascote-palco, .folha-estrela, .cta-flutuante, .selo-vivo-ponto::after, .blog-ilustra, .blog-capa-mascote, .blog-entrada { animation: none !important; }
  .trilha-img, .folha-etapa { opacity: 1; transform: none; }
  .trilha::after { transform: scaleY(1); }
  .folha-habilidade { background-size: 100% 100%, auto; }
}

/* Prof. Caju no CTA final: disco creme da marca atrás do recorte, para o
   caju laranja não sumir no fundo laranja da seção. A cabeça passa um pouco
   da borda do disco. */
.cta-mascote { position: relative; display: grid; place-items: end center; }
.cta-mascote::before {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 92%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FFFDF8 0%, #FFF6EC 55%, #FFE3CC 100%);
  border: 6px solid rgba(255, 255, 255, .55); box-shadow: 0 24px 50px -12px rgba(58, 34, 31, .45);
}
.cta-mascote img { position: relative; margin-bottom: 6%; filter: drop-shadow(0 10px 12px rgba(58, 34, 31, .25)); }
