/* AkadimIA — site institucional. Cores de brand/cores/tokens.css.
   Fontes (SIL OFL 1.1, ver fontes/LICENCAS.md): "Akadimia Display" = subconjunto da Marcellus;
   "Akadimia Grego" = subconjunto da GFS Didot. Renomeadas porque as duas têm Reserved Font Name.
   Ramos de oliveira: brand/_gerador/gerar_ramos.py. Roda do ciclo e cartão-resposta: gerar_ilustracoes_site.py. */

@font-face { font-family: "Akadimia Display"; src: url(fontes/akadimia-display.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(fontes/atkinson-hyperlegible-next.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Akadimia Grego"; src: url(fontes/akadimia-grego.woff2) format("woff2"); font-display: swap; unicode-range: U+0370-03FF, U+1F00-1FFF; }

:root {
  --oliveira: #3A4A2C;
  --oliveira-900: #1F2B15;
  --bosque: #18220F;
  --folha: #7F8E6A;
  --folha-clara: #B9C4A8;
  --azeite: #AA8520;
  --azeite-400: #C3A049;
  --azeite-luz: #D4AE48;
  --foco: #886200;
  --marmore: #F3F4F0;
  --atico: #1D2119;
  --pedra-200: #D9DCD7;
  --pedra-300: #C2C5C0;
  --pedra-400: #A2A69F;
  --pedra-500: #848880;
  --pedra-700: #4E514B;
  --branco: #FFFFFF;
  --sobre-escuro: #E4E7DE;
  --sobre-escuro-suave: #C9D2BC;
  --display: "Akadimia Display", Georgia, serif;
  --texto: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --grego: "Akadimia Grego", "Gentium Book Plus", Georgia, serif;
  --largura: 1240px;
  --margem: clamp(20px, 5vw, 64px);
  --respiro: clamp(72px, 10vw, 136px);
  --granulado: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--marmore); color: var(--atico); font: 400 1.0625rem/1.6 var(--texto); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--oliveira); text-underline-offset: 3px; }
a:hover { color: var(--oliveira-900); }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 2px; }
.topo-escuro :focus-visible, .abertura :focus-visible, .principios :focus-visible, .modulos :focus-visible, .oliveira :focus-visible, .fecho :focus-visible, .rodape :focus-visible { outline-color: var(--azeite-luz); }
.so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.pular { position: absolute; left: -9999px; top: 10px; z-index: 20; padding: 10px 16px; border-radius: 8px; background: var(--oliveira); color: var(--marmore); font-weight: 700; }
.pular:focus { left: 12px; color: var(--marmore); }

.faixa { max-width: var(--largura); margin: 0 auto; padding-inline: var(--margem); }

/* botões */
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 10px; background: var(--oliveira); color: var(--marmore); font-weight: 700; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.botao:hover { background: var(--oliveira-900); color: var(--marmore); }
.botao-pequeno { min-height: 42px; padding: 0 16px; border-radius: 9px; font-size: 1rem; }
.botao-azeite { background: var(--azeite-luz); color: var(--atico); }
.botao-azeite:hover { background: var(--azeite-400); color: var(--atico); }
.botao-contorno { background: transparent; border-color: rgb(243 244 240 / .45); color: var(--marmore); }
.botao-contorno:hover { background: rgb(243 244 240 / .08); border-color: var(--marmore); color: var(--marmore); }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; }

/* topo (páginas internas: claro) */
.topo .faixa { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.topo .marca img { height: 32px; width: auto; }
.topo ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 1rem; }
.topo nav a { color: var(--pedra-700); text-decoration: none; padding-block: 6px; }
.topo nav a:hover { color: var(--oliveira); text-decoration: underline; }
.topo nav { margin-left: auto; }
.acesso { display: flex; align-items: center; gap: 18px; flex: none; margin-left: 20px; padding-left: 24px; border-left: 1px solid var(--pedra-200); }
.entrar { font-weight: 700; color: var(--oliveira); text-decoration: none; padding-block: 8px; }
.entrar:hover { text-decoration: underline; }
@media (max-width: 1080px) { .acesso { margin-left: 0; padding-left: 0; border-left: 0; } .topo nav { display: none; } }

/* topo da página inicial: sobre o bosque */
.topo-escuro { position: absolute; inset: 0 0 auto; z-index: 5; }
.topo-escuro .faixa { padding-block: 26px; }
.topo-escuro nav a { color: var(--sobre-escuro-suave); }
.topo-escuro nav a:hover { color: var(--marmore); }
.topo-escuro .acesso { border-left-color: rgb(185 196 168 / .28); }
.topo-escuro .entrar { color: var(--marmore); }
.topo-escuro .entrar:hover { color: var(--marmore); }

/* ---------- abertura: o bosque ---------- */
.abertura { position: relative; isolation: isolate; overflow: hidden; background: var(--bosque); color: var(--marmore); }
.abertura::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(52% 60% at 80% 0%, rgb(212 174 72 / .26), transparent 70%),
  radial-gradient(38% 46% at 62% 30%, rgb(185 196 168 / .10), transparent 72%),
  radial-gradient(60% 50% at 10% 110%, rgb(58 74 44 / .9), transparent 70%); }
.abertura::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background-image: var(--granulado); opacity: .07; mix-blend-mode: soft-light; }
.copa { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.copa::after { content: ""; position: absolute; inset: 0 0 auto; height: 190px; background: linear-gradient(var(--bosque) 18%, rgb(24 34 15 / .6) 55%, transparent); }
.copa img, .oliveira-imagem img, .fecho-ramo { max-width: none; }
.copa img { position: absolute; height: auto; }
.copa-fundo { top: 8%; right: -14%; width: min(1240px, 92vw); opacity: .9; filter: blur(2.5px); transform-origin: 104% 8%; translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -6px); transition: translate 1.6s cubic-bezier(.2, .7, .2, 1); }
.copa-frente { top: 1%; right: -5%; width: min(1180px, 82vw); will-change: transform; translate: calc(var(--px, 0) * var(--prof, 1) * -28px) calc(var(--py, 0) * var(--prof, 1) * -18px); transition: translate 1.2s cubic-bezier(.2, .7, .2, 1); }
/* cada galho gira em torno do ponto onde entra na imagem (fora dela, à direita) */
.galho-1 { transform-origin: 106% -5%; --prof: 1; --giro: 1.5deg; }
.galho-2 { transform-origin: 106% 25%; --prof: .7; --giro: -2.2deg; }
.galho-3 { transform-origin: 78% -5%; --prof: 1.3; --giro: 2.8deg; }
/* mola: ao rolar a página cada ramo cede e volta balançando. O site.js calcula --mola (de -1 a 1)
   e --flex diz quanto cada ramo cede; o giro se soma ao balanço (rotate) e à paralaxe (translate). */
.copa img, .oliveira-imagem img, .fecho-ramo { transform: rotate(calc(var(--mola, 0) * var(--flex, 1.5deg))); }
.galho-1 { --flex: 1.6deg; } .galho-2 { --flex: 2deg; } .galho-3 { --flex: 2.6deg; } .copa-fundo { --flex: .9deg; }
.oliveira-imagem img { --flex: 1.8deg; } .fecho-ramo { --flex: 1.8deg; }
.abertura .faixa { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: end; min-height: min(100svh, 960px); padding-top: clamp(132px, 18vh, 200px); padding-bottom: clamp(56px, 7vw, 96px); }
h1 { margin: 0 0 28px; font: 400 clamp(2.9rem, 5.6vw, 5.25rem)/1.0 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.abertura h1 { color: var(--marmore); }
.chamada { margin: 0 0 18px; max-width: 33em; font-size: clamp(1.125rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--sobre-escuro); }
.lema { margin: 0 0 38px; color: var(--folha-clara); }

/* as três folhas ligadas pelo fio */
.fio { position: relative; margin: 0; display: flex; flex-direction: column; gap: 18px; translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 6px); transition: translate 1.2s cubic-bezier(.2, .7, .2, 1); }
.fio::before { content: ""; position: absolute; left: 15px; top: 26px; bottom: 74px; width: 2px; background: var(--azeite-luz); opacity: .75; transform-origin: top; }
.folha { position: relative; margin-left: calc(44px + var(--recuo, 0px)); padding: 18px 24px 20px; border-radius: 6px; background: #FBFBF8; color: var(--atico); box-shadow: 0 1px 0 rgb(0 0 0 / .05), 0 34px 60px -30px rgb(4 8 2 / .85); }
.folha:nth-of-type(2) { --recuo: 22px; }
.folha:nth-of-type(3) { --recuo: 44px; }
.folha::before { content: ""; position: absolute; top: 20px; left: calc(-1 * (44px + var(--recuo, 0px)) + 10px); width: 12px; height: 15px; border-radius: 50%; background: var(--azeite-luz); box-shadow: 0 0 0 5px rgb(212 174 72 / .16); }
.folha .rotulo { margin: 0 0 6px; font-size: .875rem; font-weight: 700; color: var(--pedra-700); }
.folha .assunto { margin: 0 0 6px; font: 400 1.25rem/1.3 var(--display); color: var(--oliveira); }
.folha p { margin: 0; font-size: 1rem; line-height: 1.55; }
mark { color: inherit; padding: 0 .06em; background-image: linear-gradient(transparent 56%, rgb(170 133 32 / .38) 56%); background-repeat: no-repeat; background-size: 100% 100%; background-color: transparent; }
.fio figcaption { margin: 4px 0 0 44px; font-size: .9375rem; color: var(--folha-clara); }

/* um único momento de entrada: o texto, depois as folhas descendo pelo fio, depois as marcações */
@media all {
  .abertura-texto > * { animation: surgir .9s cubic-bezier(.2, .7, .2, 1) both; }
  .abertura-texto > :nth-child(2) { animation-delay: .12s; }
  .abertura-texto > :nth-child(3) { animation-delay: .22s; }
  .abertura-texto > :nth-child(4) { animation-delay: .32s; }
  .galho-1 { animation: assentar 2.2s cubic-bezier(.2, .7, .2, 1) backwards, balanco 8s 2.2s ease-in-out infinite; }
  .galho-2 { animation: assentar 2.2s .15s cubic-bezier(.2, .7, .2, 1) backwards, balanco 6.4s 1.2s ease-in-out infinite; }
  .galho-3 { animation: assentar 2.2s .3s cubic-bezier(.2, .7, .2, 1) backwards, balanco 5.2s .6s ease-in-out infinite; }
  .copa-fundo { --giro: -1deg; animation: balanco 11s ease-in-out infinite; }
  .oliveira-imagem:not(.foto) img { --giro: 1.4deg; transform-origin: 100% 0; animation: balanco 9s ease-in-out infinite; }
  .fecho-ramo { --giro: -2.2deg; transform-origin: 100% 100%; animation: balanco 7.5s ease-in-out infinite; }
  .fio::before { animation: crescer 1.3s .45s cubic-bezier(.3, .6, .3, 1) both; }
  .folha { animation: surgir .8s cubic-bezier(.2, .7, .2, 1) both; }
  .folha:nth-of-type(1) { animation-delay: .5s; }
  .folha:nth-of-type(2) { animation-delay: .8s; }
  .folha:nth-of-type(3) { animation-delay: 1.1s; }
  .fio figcaption { animation: surgir .8s 1.4s both; }
  .fio mark { background-size: 0 100%; animation: marcar .7s cubic-bezier(.3, .6, .3, 1) forwards; }
  .folha:nth-of-type(1) mark { animation-delay: 1.3s; }
  .folha:nth-of-type(2) mark { animation-delay: 1.75s; }
  .folha:nth-of-type(3) mark { animation-delay: 2.2s; }
}
@keyframes surgir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes assentar { from { opacity: 0; transform: translateY(-18px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }
@keyframes crescer { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes balanco { 0%, 100% { rotate: 0deg; } 50% { rotate: var(--giro, 1deg); } }
@keyframes marcar { to { background-size: 100% 100%; } }
/* O movimento não depende de prefers-reduced-motion: decisão do produto (ver README, "Movimento").
   Os blocos "@media all" eram "no-preference" e ficaram assim para manter a organização. */

/* ---------- títulos de seção ---------- */
.titulo-secao { margin: 0 0 18px; font: 400 clamp(2.1rem, 4vw, 3.4rem)/1.08 var(--display); color: var(--oliveira); text-wrap: balance; }
.intro { margin: 0 0 52px; max-width: 40em; font-size: 1.125rem; color: var(--pedra-700); }

/* ---------- na prática: a demonstração animada ---------- */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.vitrine { background: var(--marmore); }
.vitrine > .faixa { padding-block: var(--respiro); }
.vitrine-cabeca { max-width: 44em; }
.vitrine-corpo { display: grid; grid-template-columns: minmax(250px, .34fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.abas { display: flex; flex-direction: column; gap: 6px; }
.aba { position: relative; display: block; width: 100%; padding: 16px 18px 20px; border: 0; border-radius: 12px; background: transparent; color: var(--atico); font: inherit; text-align: left; cursor: pointer; transition: background-color .25s, box-shadow .25s; }
.aba:hover { background: rgb(58 74 44 / .06); }
.aba[aria-selected="true"] { background: var(--branco); box-shadow: 0 1px 0 rgb(58 74 44 / .06), 0 22px 44px -30px rgb(31 43 21 / .55); }
.aba-titulo { display: block; font: 400 1.375rem/1.2 var(--display); color: var(--oliveira); }
.aba-texto { display: block; margin-top: 6px; font-size: .9688rem; line-height: 1.5; color: var(--pedra-700); }
.aba[aria-selected="false"] .aba-texto { display: none; }
.aba-progresso { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 3px; border-radius: 3px; overflow: hidden; background: rgb(58 74 44 / .1); opacity: 0; }
.vitrine.automatica .aba[aria-selected="true"] .aba-progresso { opacity: 1; }
.aba-progresso i { display: block; width: 100%; height: 100%; background: var(--azeite); transform: scaleX(0); transform-origin: left; }
.vitrine.automatica .aba-progresso i.corre { animation: progresso 9.5s linear forwards; }
.vitrine.pausada .aba-progresso i, .vitrine.pausada .cena, .vitrine.pausada .cena * { animation-play-state: paused !important; }
@keyframes progresso { to { transform: scaleX(1); } }
.vitrine-pausa { margin: 12px 0 0 18px; padding: 6px 0; border: 0; background: none; color: var(--oliveira); font: 700 .9375rem/1.4 var(--texto); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* a janela do app: tudo em em, a partir da largura da própria janela */
.tela { container-type: inline-size; overflow: hidden; border-radius: 16px; background: var(--branco); box-shadow: 0 0 0 1px rgb(58 74 44 / .08), 0 60px 100px -60px rgb(31 43 21 / .6), 0 18px 40px -30px rgb(31 43 21 / .35); }
.tela-quadro { display: grid; grid-template-columns: 9em minmax(0, 1fr); grid-template-rows: 3.2em minmax(0, 1fr); aspect-ratio: 16 / 10.4; font: 400 calc(100cqw / 56)/1.35 var(--texto); color: var(--atico); }
.tela-topo { grid-column: 1 / -1; display: flex; align-items: center; gap: .9em; padding: 0 1.4em; border-bottom: 1px solid var(--pedra-200); }
.tela-topo img { width: 1.2em; height: auto; }
.tela-trilha { font-size: .95em; color: var(--pedra-700); }
.tela-trilha b { margin-left: .4em; color: var(--atico); }
.tela-busca { width: 12em; height: 1.8em; margin-left: auto; border-radius: 99em; background: var(--marmore); }
.tela-avatar { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--oliveira); color: var(--marmore); font-size: .85em; font-weight: 700; }
.tela-menu { margin: 0; padding: 1.1em .7em; list-style: none; border-right: 1px solid var(--pedra-200); background: #FAFBF8; }
.tela-menu li { display: flex; align-items: center; gap: .6em; margin-bottom: .2em; padding: .6em .7em; border-radius: .6em; color: var(--pedra-700); font-size: .95em; transition: background-color .35s, color .35s; }
.tela[data-cena="aula"] [data-item="aula"], .tela[data-cena="prova"] [data-item="prova"],
.tela[data-cena="correcao"] [data-item="correcao"], .tela[data-cena="perfil"] [data-item="perfil"] { background: rgb(58 74 44 / .09); color: var(--oliveira); font-weight: 700; }
.ic { flex: none; width: 1em; height: 1.05em; border: .13em solid currentColor; border-radius: .22em; }
.ic-prova { border-radius: .1em; box-shadow: inset 0 -.32em 0 -.2em currentColor; }
.ic-correcao { border-radius: 50%; }
.ic-perfil { border-radius: 50% 50% .3em .3em; }
.tela-palco { position: relative; overflow: hidden; background: var(--marmore); }
.cena { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .95em; padding: 1.5em 1.8em; }
.cena[hidden] { display: none; }

/* peças das cenas */
.c-topo { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.c-titulo { margin: 0; font: 400 1.65em/1.15 var(--display); color: var(--oliveira); }
/* o 1 da fonte de títulos parece um I: em "P1" ele vem da fonte de texto */
.c-alg { font: 400 .84em var(--texto); }
.c-selo { display: inline-block; padding: .35em .85em; border-radius: 99em; background: #FFF6D8; color: #6A4A00; font-size: .88em; font-weight: 700; white-space: nowrap; }
.c-cartao { min-width: 0; padding: .95em 1.1em; border-radius: .8em; background: var(--branco); box-shadow: 0 1px 2px rgb(31 43 21 / .06), 0 .7em 1.6em -1.1em rgb(31 43 21 / .3); }
.c-cartao-titulo { margin: 0 0 .65em; color: var(--pedra-700); font-size: .85em; font-weight: 700; }
.c-cartao-titulo span { margin-left: .4em; font-weight: 400; }
.c-legenda { margin: .5em 0 0; color: var(--pedra-700); font-size: .8em; }
.c-duas { display: grid; flex: 1; gap: 1em; min-height: 0; }
.c-acoes { display: flex; justify-content: flex-end; gap: .7em; }
.c-botao { position: relative; display: inline-flex; align-items: center; padding: .6em 1.1em; border-radius: .55em; font-size: .95em; font-weight: 700; white-space: nowrap; }
.c-botao-cheio { background: var(--oliveira); color: var(--marmore); }
.c-botao-contorno { border: 1px solid var(--pedra-300); background: var(--branco); color: var(--oliveira); }
.c-aviso { position: absolute; left: 1.8em; bottom: 1.5em; display: flex; align-items: center; gap: .6em; margin: 0; padding: .65em 1em; border-radius: .6em; background: var(--atico); color: var(--marmore); font-size: .9em; }
.c-aviso::before { content: ""; flex: none; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--azeite-luz) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%231F2B15' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.c-troca { display: inline-grid; }
.c-troca > * { grid-area: 1 / 1; }
.c-troca > .c-antes { opacity: 0; }
.cursor { position: absolute; left: 58%; top: 52%; width: 1.7em; height: 1.7em; opacity: 0; pointer-events: none; filter: drop-shadow(0 .15em .2em rgb(0 0 0 / .35)); }
.cursor path { fill: var(--atico); stroke: #FFFFFF; stroke-width: 1.5; stroke-linejoin: round; }

/* preparar a aula */
.c-objetivo { display: flex; align-items: center; margin: 0; }
.c-rotulo { margin-right: .6em; color: var(--pedra-700); font-size: .85em; font-weight: 700; }
.c-pilula { display: inline-block; padding: .4em .9em; border: 1px solid var(--pedra-200); border-radius: 99em; background: var(--branco); font-size: .95em; white-space: nowrap; }
.c-duas-aula { grid-template-columns: 1fr 1.25fr; }
.c-roteiro ol { margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.c-roteiro li { counter-increment: passo; display: flex; align-items: baseline; gap: .6em; padding: .42em 0; border-top: 1px solid var(--pedra-200); font-size: .98em; }
.c-roteiro li::before { content: counter(passo); min-width: .9em; color: var(--azeite); font-family: var(--display); }
.c-slide-titulo { margin: 0 0 .2em; font: 400 1.25em/1.2 var(--display); color: var(--oliveira); }
.c-circuito { display: block; width: 100%; height: auto; }
.c-circuito path { fill: none; stroke: var(--oliveira); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.c-circuito text { fill: var(--pedra-700); font: 700 10px var(--texto); }
.c-formula { margin: .2em 0 0; font: 400 1.25em/1.2 var(--display); text-align: center; }
.c-formula sub { font-size: .6em; }

/* montar a prova */
.c-duas-prova { grid-template-columns: 1.6fr 1fr; }
.c-questoes ul { margin: 0; padding: 0; list-style: none; }
.c-questoes li { display: grid; grid-template-columns: 1.1em minmax(0, 1fr) auto 3.7em; align-items: center; gap: .6em; padding: .52em .3em; border-top: 1px solid var(--pedra-200); border-radius: .3em; font-size: .93em; }
.c-questoes b { color: var(--azeite); font: 400 1.1em var(--display); }
.c-q { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.c-obj { padding: .2em .6em; border-radius: 99em; background: rgb(58 74 44 / .08); color: var(--oliveira); font-size: .8em; font-style: normal; white-space: nowrap; }
.c-nivel:not(.c-troca), .c-nivel.c-troca > span { display: block; width: 3.7em; height: .5em; background:
  repeating-linear-gradient(90deg, var(--azeite) 0 .6em, transparent .6em .775em) left / calc(var(--n) * .775em) 100% no-repeat,
  repeating-linear-gradient(90deg, var(--pedra-200) 0 .6em, transparent .6em .775em); }
.c-coluna { display: flex; flex-direction: column; gap: 1em; min-width: 0; }
.c-medidor { display: block; width: 86%; height: auto; margin: 0 auto; }
.c-medidor-trilho, .c-medidor-valor { fill: none; stroke-width: 9; stroke-linecap: round; }
.c-medidor-trilho { stroke: var(--pedra-200); }
.c-medidor-valor { stroke: var(--azeite); stroke-dasharray: 10; stroke-dashoffset: 3; }
.c-medidor-meta { stroke: var(--atico); stroke-width: 2; stroke-linecap: round; }
.c-medidor-ponteiro { transform: rotate(126deg); transform-origin: 60px 60px; }
.c-medidor-ponteiro path { stroke: var(--atico); stroke-width: 3; stroke-linecap: round; }
.c-medidor-ponteiro circle { fill: var(--atico); }
.c-media-valor { display: grid; justify-items: center; margin: -.2em 0 0; color: var(--oliveira); font: 400 2.1em/1 var(--display); }
.c-pilulas { display: flex; gap: .4em; margin: 0; }
.c-pilulas span { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .5em; background: var(--oliveira); color: var(--marmore); font-weight: 700; }

/* corrigir */
.c-barra { height: .45em; overflow: hidden; border-radius: 99em; background: var(--pedra-200); }
.c-barra i { display: block; height: 100%; background: var(--azeite); transform-origin: left; }
.c-duas-correcao { grid-template-columns: 1fr 1.3fr; }
.c-folhas { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-content: start; gap: .4em; }
.c-folhas span { aspect-ratio: 3 / 4; border-radius: .2em; background: var(--branco) repeating-linear-gradient(transparent 0 .32em, var(--pedra-200) .32em .42em) center / 70% 64% no-repeat; box-shadow: 0 1px 2px rgb(31 43 21 / .12); }
.c-folhas .c-legenda { grid-column: 1 / -1; margin-top: .6em; }
.c-resposta { display: flex; flex-direction: column; gap: .1em; margin-bottom: .6em; padding: .5em .9em; border: 1px dashed var(--pedra-300); border-radius: .4em; background: #FBFBF8; color: #2B4C8A; font: 400 1.2em/1.35 "Segoe Script", "Bradley Hand", "Snell Roundhand", cursive; }
.c-rubrica { margin: 0; padding: 0; list-style: none; }
.c-rubrica li { display: flex; align-items: center; gap: .6em; padding: .36em 0; border-top: 1px solid var(--pedra-200); font-size: .9em; }
.c-rubrica li::before { content: ""; flex: none; width: 1.05em; height: 1.05em; border: .12em solid var(--pedra-400); border-radius: .25em; }
.c-rubrica .c-marca::before { border-color: var(--oliveira); background: var(--oliveira) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-5' fill='none' stroke='%23F3F4F0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.c-rubrica b { margin-left: auto; color: var(--pedra-700); }
.c-falta { color: var(--pedra-700); }
.c-nota { display: flex; align-items: baseline; gap: .35em; margin: .55em 0 0; font-size: .92em; font-weight: 700; }
.c-nota .c-troca { color: var(--oliveira); font: 400 1.6em/1 var(--display); }
.c-num { --n: var(--ate, 0); counter-reset: n var(--n); }
.c-num::after { content: counter(n); }

/* perfil do aluno */
.c-aluno { display: flex; align-items: center; gap: .9em; }
.c-aluno p { margin: 0; }
.c-aluno .c-titulo, .c-aluno .c-legenda { display: block; margin: 0; }
.c-avatar { display: grid; flex: none; place-items: center; width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--azeite-luz); color: var(--atico); font-weight: 700; }
.c-kpis { display: flex; gap: .6em; margin-left: auto !important; }
.c-kpis span { padding: .45em .8em; border-radius: .6em; background: var(--branco); color: var(--pedra-700); font-size: .85em; white-space: nowrap; }
.c-kpis b { margin-right: .2em; color: var(--oliveira); font: 400 1.35em var(--display); }
.c-duas-perfil { grid-template-columns: 1.1fr 1fr; }
.c-dominio ul { display: flex; flex-direction: column; gap: .7em; margin: 0; padding: 0; list-style: none; }
.c-dominio li { display: grid; grid-template-columns: minmax(0, 1fr) 2.8em; grid-template-rows: auto .55em; gap: .3em .6em; font-size: .92em; }
.c-dominio li b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--oliveira); font: 400 1.2em var(--display); text-align: right; }
.c-dominio li b::after { content: counter(n) "%"; }
.c-dominio li i { grid-column: 1; height: .55em; border-radius: 99em; background-color: var(--pedra-200); background-image: linear-gradient(var(--oliveira), var(--oliveira)); background-repeat: no-repeat; background-size: calc(var(--v) * 1%) 100%; }
.c-dominio .c-baixo i { background-image: linear-gradient(var(--azeite), var(--azeite)); }
.c-dominio .c-baixo b { color: #6A4A00; }
.c-grafico { display: block; width: 100%; height: auto; }
.c-grafico text { fill: var(--pedra-700); font: 400 9px var(--texto); }
.c-grafico .c-valor { fill: var(--oliveira); font: 700 10px var(--texto); paint-order: stroke; stroke: var(--branco); stroke-width: 3px; stroke-linejoin: round; }
.c-turma { fill: none; stroke: var(--pedra-400); stroke-width: 1.6; stroke-dasharray: 3 3; }
.c-traco { display: inline-block; width: 1.4em; margin-right: .4em; vertical-align: middle; border-top: .2em solid var(--azeite); }
.c-traco-turma { margin-left: 1.2em; border-top: .14em dashed var(--pedra-400); }
.c-grade { fill: none; stroke: var(--pedra-200); stroke-width: 1; }
.c-linha { fill: none; stroke: var(--azeite); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.c-ponto { fill: var(--branco); stroke: var(--azeite); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.c-leitura { display: flex; align-items: center; gap: 1em; padding: .85em 1.1em; border: 1px solid #EFD9A6; border-radius: .8em; background: #FFF6D8; }
.c-leitura p { flex: 1; margin: 0; font-size: .9em; line-height: 1.45; }
.c-acoes-mini { flex: none; gap: .5em; }

/* o roteiro de cada cena: o estado final é o estado normal; a animação parte do começo até ele */
@media all {
  .cena { animation: cena-entra .45s ease-out both; }
  .c-entra { animation: c-entra .5s var(--d, 0s) cubic-bezier(.2, .7, .2, 1) both; }
  .c-troca > .c-antes { animation: c-sai .25s var(--t, var(--clique)) both; }
  .c-troca > .c-depois { animation: c-surge .3s var(--t, var(--clique)) both; }
  .c-alvo { animation: c-clique .35s var(--clique) both; }
  .cursor { animation: c-cursor 1.5s calc(var(--clique) - 1.35s) cubic-bezier(.4, 0, .2, 1) both; }
  .c-aviso { animation: c-entra .45s calc(var(--clique) + .35s) cubic-bezier(.2, .7, .2, 1) both; }
  .c-num { animation: contar var(--dur, 1s) var(--d, 0s) ease-out both; }

  .cena-aula .c-digita { animation: digitar 1.1s .25s steps(28) both; }
  .cena-aula .c-circuito path { animation: tracar 1.5s 2.9s ease-in-out both; }
  .cena-aula .c-formula { animation: c-entra .5s 4.3s both; }

  .cena-prova .c-q-trocada .c-troca, .cena-prova .c-media .c-troca { --t: var(--ajuste); }
  .cena-prova .c-q-trocada { animation: c-entra .5s var(--d) cubic-bezier(.2, .7, .2, 1) both, alerta 1.4s calc(var(--ajuste) - 1s) both; }
  .cena-prova .c-medidor-valor { animation: medir 1s var(--ajuste) cubic-bezier(.3, .9, .3, 1) both; }
  .cena-prova .c-medidor-ponteiro { animation: ponteiro 1s var(--ajuste) cubic-bezier(.3, 1.5, .5, 1) both; }
  .cena-prova .c-versoes { animation: c-entra .5s 4.3s both; }
  .cena-prova .c-pilulas span { animation: brotar .4s var(--d) cubic-bezier(.3, 1.6, .5, 1) both; }

  .cena-correcao .c-barra i { animation: encher-barra 2.4s .2s ease-out both; }
  .cena-correcao .c-folhas span:nth-child(n+10) { animation: folha-chega .35s var(--d) both; }
  .cena-correcao .c-marca::before { animation: marcar-caixa .3s var(--d) both; }
  .cena-correcao .c-nota .c-troca { --t: 4.9s; }

  .cena-perfil .c-dominio li i { animation: barra-dominio 1.1s var(--d) cubic-bezier(.2, .7, .2, 1) both; }
  .cena-perfil .c-turma { animation: c-surge .6s 1.1s both; }
  .cena-perfil .c-linha { animation: tracar 1.4s 1.5s ease-in-out both; }
  .cena-perfil .c-ponto { animation: brotar .4s var(--d) cubic-bezier(.3, 1.6, .5, 1) both; }
  .cena-perfil .c-valor { animation: c-surge .4s 2.9s both; }
}
@keyframes cena-entra { from { opacity: 0; } }
@keyframes c-entra { from { opacity: 0; translate: 0 .6em; } }
@keyframes c-surge { from { opacity: 0; } to { opacity: 1; } }
@keyframes c-sai { from { opacity: 1; } to { opacity: 0; } }
@keyframes c-clique { 45% { scale: .93; } }
@keyframes c-cursor { 0% { opacity: 0; translate: 6em 4.5em; } 15% { opacity: 1; } 82% { translate: 0 0; scale: 1; } 90% { scale: .8; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes contar { from { --n: var(--de, 0); } }
@keyframes digitar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tracar { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes alerta { 0%, 100% { background-color: transparent; } 25%, 70% { background-color: rgb(166 58 46 / .1); } }
@keyframes medir { from { stroke-dashoffset: 3.9; } }
@keyframes ponteiro { from { transform: rotate(109.8deg); } }
@keyframes brotar { from { opacity: 0; scale: .3; } }
@keyframes encher-barra { from { transform: scaleX(.3); } }
@keyframes folha-chega { from { opacity: 0; translate: 0 -.6em; } }
@keyframes marcar-caixa { from { border-color: var(--pedra-400); background-color: transparent; background-size: 0; } }
@keyframes barra-dominio { from { background-size: 0 100%; } }

/* ---------- pequenos movimentos com sentido ---------- */
.roda-ponto, .cel-scan { display: none; }
@media all {
  /* o ponto percorre o ciclo e cada etapa acende quando ele passa */
  .roda-ponto { display: inline; }
  .roda-no { transform-box: fill-box; transform-origin: center; animation: pulsar 12s calc(var(--i) * 2s - .25s) infinite; }
  /* a câmera do celular lendo a folha */
  .cel-scan { display: inline; animation: varrer 2.6s ease-in-out infinite alternate; }
}
@keyframes pulsar { 0%, 7%, 100% { scale: 1; } 3% { scale: 1.2; } }
@keyframes varrer { from { transform: translateY(0); } to { transform: translateY(214px); } }
/* a linha do tempo da curiosidade se preenche com a leitura (onde o navegador suporta) */
@supports (animation-timeline: view()) {
  @media all {
    .linha::after { content: ""; position: absolute; left: 7px; top: 12px; bottom: 60px; width: 2px; background: var(--azeite); transform-origin: top; animation: encher-linha linear both; animation-timeline: view(); animation-range: entry 30% cover 72%; }
  }
}
@keyframes encher-linha { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- princípios ---------- */
.principios { background: var(--oliveira); color: var(--sobre-escuro); }
.principios .faixa { padding-block: var(--respiro); }
.principios h2 { margin: 0 0 clamp(56px, 7vw, 88px); max-width: 19em; font: 400 clamp(2rem, 4.1vw, 3.5rem)/1.12 var(--display); color: var(--marmore); text-wrap: balance; }
.principios ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px clamp(28px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.principios li { position: relative; padding-top: 30px; border-top: 1px solid rgb(185 196 168 / .3); }
.principios li::before { content: ""; position: absolute; top: -8px; left: 0; width: 12px; height: 15px; border-radius: 50%; background: var(--azeite-luz); }
.principios h3 { margin: 0 0 10px; font: 400 1.5rem/1.2 var(--display); color: var(--folha-clara); }
.principios p { margin: 0; }

/* ---------- como funciona: a roda ---------- */
.como { background: var(--branco); }
.como .faixa { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "cabeca cabeca" "roda etapas"; gap: 0 clamp(40px, 6vw, 96px); padding-block: var(--respiro); }
.como-cabeca { grid-area: cabeca; }
.roda { grid-area: roda; margin: 0; align-self: start; position: sticky; top: 32px; }
.roda-svg { width: 100%; height: auto; overflow: visible; }
.roda-rotulo { font: 700 19px var(--texto); fill: var(--atico); }
.roda-num { font: 400 23px var(--display); fill: var(--atico); }
.roda-lema { font: 400 26px var(--display); fill: var(--oliveira); }
.roda .ciclo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.etapas { grid-area: etapas; margin: 0; padding: 0; list-style: none; counter-reset: etapa; }
.etapas li { counter-increment: etapa; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; padding: 22px 0 24px; border-top: 1px solid var(--pedra-200); }
.etapas li:last-child { border-bottom: 1px solid var(--pedra-200); }
.etapas li::before { content: counter(etapa); grid-row: span 2; font: 400 2.4rem/1 var(--display); color: var(--azeite); }
.etapas h3 { margin: 4px 0 6px; font: 700 1.1875rem/1.3 var(--texto); }
.etapas p { margin: 0; max-width: 34em; }

/* ---------- o que tem ---------- */
.modulos { position: relative; isolation: isolate; overflow: hidden; background: var(--oliveira); color: var(--sobre-escuro); }
.modulos::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 85% 30%, rgb(212 174 72 / .14), transparent 70%); }
.modulos .faixa { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "cabeca figura" "lista lista" "para para"; gap: 0 clamp(40px, 6vw, 88px); align-items: center; padding-block: var(--respiro); }
.modulos-cabeca { grid-area: cabeca; }
.modulos .titulo-secao { color: var(--marmore); }
.modulos .intro { margin-bottom: 28px; color: var(--sobre-escuro-suave); }
.destaque { margin: 0; max-width: 30em; font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.45 var(--display); color: var(--marmore); }
.correcao { grid-area: figura; margin: 0 -2% 0 0; }
.correcao-svg { width: 100%; height: auto; overflow: visible; }
.correcao figcaption { margin: 4px 0 0; max-width: 34em; font-size: .9375rem; color: var(--folha-clara); }
.cr-titulo { font: 700 13px var(--texto); fill: var(--atico); }
.cr-sub { font: 400 10.5px var(--texto); fill: var(--pedra-700); }
.cr-mao { font: 400 17px "Segoe Script", "Bradley Hand", "Snell Roundhand", cursive; fill: #2B4C8A; }
.cr-num { font: 700 11px var(--texto); fill: var(--atico); }
.cr-letra { font: 700 8px var(--texto); fill: var(--pedra-500); }
.cel-titulo { font: 700 15px var(--texto); fill: var(--marmore); }
.cel-sub { font: 400 11.5px var(--texto); fill: var(--folha-clara); }
.cel-aviso { font: 700 13px var(--texto); fill: var(--atico); }
.cel-aviso-sub { font: 400 10.5px var(--texto); fill: var(--pedra-700); }
.lista { grid-area: lista; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); margin: clamp(56px, 7vw, 88px) 0 0; }
.lista div { padding: 22px 0 26px; border-top: 1px solid rgb(185 196 168 / .3); }
.lista dt { margin: 0 0 6px; font: 400 1.375rem/1.25 var(--display); color: var(--folha-clara); }
.lista dd { margin: 0; }
.para-quem { grid-area: para; margin: 40px 0 0; max-width: 46em; font-size: 1.125rem; line-height: 1.65; color: var(--marmore); }

/* ---------- o nome ---------- */
.nome > .faixa { padding-block: var(--respiro); }
.grego { margin: 0 0 0 -.05em; font: 400 clamp(3.4rem, 15vw, 12.5rem)/.9 var(--grego); color: var(--oliveira); }
.grego-legenda { margin: 18px 0 clamp(40px, 5vw, 64px); font-size: 1.1875rem; color: var(--pedra-700); }
.nome-corpo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.nome .texto { margin: 0 0 20px; max-width: 34em; font-size: 1.1875rem; line-height: 1.7; }
.nome .texto:last-child { margin-bottom: 0; }
.grego-inline { font-family: var(--grego); font-size: 1.12em; }
.construcao { margin: 0; }
.construcao .pecas { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 2vw, 16px); padding: clamp(28px, 4vw, 48px) clamp(14px, 3vw, 28px); border-radius: 16px; background: var(--branco); box-shadow: 0 1px 0 rgb(58 74 44 / .06), 0 30px 60px -40px rgb(58 74 44 / .5); }
.construcao img { width: clamp(56px, 25%, 120px); height: auto; }
.construcao .sinal { font: 400 2.25rem/1 var(--display); color: var(--folha); }
.construcao figcaption { margin: 16px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--pedra-700); }

/* por que uma oliveira: faixa escura em sangria total */
.oliveira { position: relative; isolation: isolate; overflow: hidden; background: var(--oliveira-900); color: var(--sobre-escuro); }
.oliveira::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--granulado); opacity: .06; mix-blend-mode: soft-light; }
.oliveira .faixa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(40px, 6vw, 96px); padding-block: var(--respiro); }
.oliveira h3 { grid-column: 1; margin: 0 0 36px; font: 400 clamp(2.1rem, 4vw, 3.4rem)/1.08 var(--display); color: var(--marmore); }
.oliveira ul { grid-column: 1; margin: 0; padding: 0; list-style: none; }
.oliveira li { position: relative; padding: 24px 0 26px 34px; border-top: 1px solid rgb(185 196 168 / .24); }
.oliveira li::before { content: ""; position: absolute; left: 2px; top: 31px; width: 12px; height: 15px; border-radius: 50%; background: var(--azeite-luz); }
.oliveira h4 { margin: 0 0 6px; font: 400 1.5rem/1.2 var(--display); color: var(--folha-clara); }
.oliveira p { margin: 0; max-width: 32em; }
.oliveira-imagem { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 50%; }
.oliveira-imagem img { position: absolute; right: -4%; top: -4%; width: min(820px, 112%); height: auto; }
.oliveira-imagem.foto img { inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
.oliveira-imagem.foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--oliveira-900), rgb(31 43 21 / .25) 38%, rgb(31 43 21 / .05)); }

/* ---------- curiosidade ---------- */
.curiosidade { background: var(--branco); }
.curiosidade .faixa { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 8px clamp(40px, 6vw, 88px); align-items: start; padding-block: var(--respiro); }
.curiosidade .cabeca { grid-column: 1 / -1; }
.curiosidade .titulo-secao { max-width: 17em; }
.curiosidade .intro { margin-bottom: 56px; color: var(--atico); }
.linha { position: relative; margin: 0; padding: 0; list-style: none; }
.linha::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 60px; width: 2px; background: linear-gradient(var(--azeite), var(--azeite) 85%, rgb(170 133 32 / .2)); opacity: .55; }
.linha li { position: relative; padding: 0 0 34px 44px; }
.linha li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 15px; border-radius: 50%; background: var(--azeite); box-shadow: 0 0 0 5px var(--branco); }
.linha .hoje::before { left: -4px; top: 2px; width: 24px; height: 28px; border-radius: 0; background: var(--branco) url(img/akadimia-simbolo-cor.svg) no-repeat center / contain; box-shadow: 0 0 0 5px var(--branco); }
.linha .quando { display: block; margin-bottom: 4px; font: 400 1.5rem/1.25 var(--display); color: var(--oliveira); }
.linha p { margin: 0; max-width: 36em; }
.lateral { position: sticky; top: 32px; }
.ginasios { padding: 30px 30px 14px; border-radius: 16px; background: var(--marmore); }
.ginasios h3 { margin: 0 0 14px; font: 400 1.5rem/1.2 var(--display); color: var(--oliveira); text-wrap: balance; }
.ginasios dl { margin: 0; }
.ginasios dl div { padding: 16px 0; border-top: 1px solid var(--pedra-200); }
.ginasios dt { font-weight: 700; }
.ginasios .gr { margin-left: 6px; font-family: var(--grego); font-size: 1.1em; font-weight: 400; color: var(--pedra-700); }
.ginasios dd { margin: 4px 0 0; }
.lenda { margin: 20px 4px 0; font-size: .9375rem; line-height: 1.6; color: var(--pedra-700); }

/* ---------- fecho ---------- */
.fecho { position: relative; isolation: isolate; overflow: hidden; background: var(--bosque); color: var(--sobre-escuro); }
.fecho::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 80% at 20% 100%, rgb(212 174 72 / .2), transparent 70%); }
.fecho::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--granulado); opacity: .07; mix-blend-mode: soft-light; }
.fecho-ramo { position: absolute; z-index: -1; right: max(-40px, calc((100vw - var(--largura)) / 2 - 120px)); bottom: -70px; width: min(640px, 52vw); height: auto; }
.fecho .faixa { padding-block: clamp(80px, 11vw, 150px); }
.fecho h2 { margin: 0 0 22px; max-width: 7.5em; font: 400 clamp(2.6rem, 6.4vw, 5.6rem)/1.02 var(--display); color: var(--marmore); }
.fecho p { margin: 0 0 36px; max-width: 30em; font-size: 1.1875rem; color: var(--sobre-escuro-suave); }

/* ---------- rodapé ---------- */
.rodape { background: var(--atico); color: var(--pedra-300); font-size: .9375rem; }
.rodape a { color: var(--folha-clara); }
.rodape a:hover { color: var(--marmore); }
.rodape .faixa { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); padding-block: 56px 40px; }
.rodape img { height: 28px; width: auto; margin-bottom: 18px; }
.rodape p { margin: 0 0 12px; max-width: 34em; }
.rodape-produto strong { color: var(--marmore); font-weight: 700; }
.rodape-links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 40px; align-content: start; margin: 0; padding: 0; list-style: none; }
.rodape-links a { text-decoration: none; }
.rodape-links a:hover { text-decoration: underline; }
.rodape-empresa { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgb(194 197 192 / .18); font-size: .875rem; }
.rodape-empresa address { font-style: normal; line-height: 1.55; }
.rodape-empresa p { margin: 0; align-self: end; }

/* ---------- páginas de texto: privacidade, termos, exclusão de dados ---------- */
.documento .faixa { max-width: calc(44rem + 2 * var(--margem)); padding-block: clamp(32px, 5vw, 64px) var(--respiro); }
.documento h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); line-height: 1.05; margin-bottom: 14px; color: var(--oliveira); }
.documento .versao { margin: 0 0 36px; color: var(--pedra-700); }
.documento .resumo { margin: 0 0 40px; padding: 22px 26px; border-left: 3px solid var(--azeite); border-radius: 0 8px 8px 0; background: var(--branco); }
.documento .resumo p:last-child, .documento .resumo ul:last-child { margin-bottom: 0; }
.documento h2 { margin: 48px 0 12px; font: 400 clamp(1.45rem, 2.2vw, 1.75rem)/1.2 var(--display); color: var(--oliveira); }
.documento h3 { margin: 28px 0 8px; font-size: 1.0625rem; font-weight: 700; }
.documento p, .documento li { line-height: 1.7; }
.documento p { margin: 0 0 14px; }
.documento ul, .documento ol { margin: 0 0 16px; padding-left: 1.3em; }
.documento li { margin-bottom: 6px; }
.documento address { margin: 0 0 14px; font-style: normal; line-height: 1.7; }

/* ---------- telas menores ---------- */
@media (max-width: 1100px) {
  .principios ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .abertura .faixa { grid-template-columns: 1fr; align-items: start; min-height: 0; padding-top: clamp(220px, 62vw, 400px); }
  .copa::after { height: 96px; }
  .copa-frente { top: -1%; right: -62%; width: min(180vw, 960px); }
  .copa-fundo { top: 2%; right: -55%; width: min(170vw, 1100px); opacity: .55; }
  .vitrine-corpo { grid-template-columns: 1fr; }
  .abas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aba[aria-selected="false"] .aba-texto { display: block; }
  .como .faixa { grid-template-columns: 1fr; grid-template-areas: "cabeca" "roda" "etapas"; }
  .roda { position: static; max-width: 560px; margin: 0 auto 40px; width: 100%; }
  .modulos .faixa { grid-template-columns: 1fr; grid-template-areas: "cabeca" "figura" "lista" "para"; }
  .correcao { margin: 40px 0 0; }
  .nome-corpo, .curiosidade .faixa { grid-template-columns: 1fr; }
  .lateral { position: static; margin-top: 24px; }
  .oliveira .faixa { grid-template-columns: 1fr; }
  .oliveira-imagem { position: relative; width: 100%; height: clamp(240px, 60vw, 420px); }
  .oliveira-imagem { height: clamp(300px, 80vw, 520px); overflow: hidden; }
  .oliveira-imagem img { right: -10%; top: -6%; width: min(620px, 100%); }
  .fecho-ramo { opacity: .45; }
}
@media (max-width: 720px) {
  .topo-escuro .entrar { display: none; }
  .principios ul, .lista, .rodape .faixa, .rodape-links { grid-template-columns: 1fr; }
  .folha { margin-left: calc(36px + var(--recuo, 0px) / 2); }
  .folha::before { left: calc(-1 * (36px + var(--recuo, 0px) / 2) + 10px); }
  .fio figcaption { margin-left: 36px; }
  .roda-rotulo { display: none; }
  .etapas li { grid-template-columns: 44px minmax(0, 1fr); }
  .etapas li::before { font-size: 2rem; }
  /* no celular a janela vem antes e as abas viram uma lista em que só a ativa mostra o texto */
  .vitrine-lado { order: 2; }
  .abas { display: flex; }
  .aba { padding: 12px 16px 18px; }
  .aba[aria-selected="false"] .aba-texto { display: none; }
}
@container (max-width: 600px) {
  .tela-quadro { grid-template-columns: minmax(0, 1fr); aspect-ratio: 4 / 3.3; font-size: calc(100cqw / 44); }
  .tela-menu, .tela-busca { display: none; }
  .tela-avatar { margin-left: auto; }
}
.formula { white-space: nowrap; }
