/* Gabriel Inocêncio, aulas de inglês
   Conceito: a lousa e o caderno. O topo é a lousa (aula ao vivo); o resto da página é o caderno,
   claro e colorido, como material escolar.

   Tokens (skill ui-design-system, estilo "playful"):
   - Cores da marca: sol, céu, coral, lilás, menta. Cada uma tem base (preenchimento com texto escuro),
     tint (fundo claro) e forte (texto sobre o tint, tom 800 da escala do gerador). Contraste conferido ≥ 4.5:1.
   - Raios playful: 8 / 16 / 20 / 24 / 32. Animação: 150 / 250 / 350 ms e easing "spring".
   Referências: Linear (produto como protagonista), Duolingo (botões de apertar), Kahoot (respostas por cor). */

:root {
  /* marca */
  --sol: #FFC83D;   --sol-tint: #FFF4D6;   --sol-forte: #66521E;
  --ceu: #3BA7FF;   --ceu-tint: #E3F2FF;   --ceu-forte: #1E4666;
  --coral: #FF6B5A; --coral-tint: #FFE6E2; --coral-forte: #662F29;
  --lilas: #A08BFF; --lilas-tint: #EEEAFF; --lilas-forte: #3B3066;
  --menta: #22C48A; --menta-tint: #DDF7EC; --menta-forte: #134E39;
  --rosa: #FF8FB8;
  --erro: #D93A49;

  /* lousa */
  --lousa: #10211B;
  --lousa-2: #142A22;
  --lousa-3: #1B372C;
  --lousa-4: #234436;
  --giz: #EEF3EC;
  --giz-2: #A7B8AE;

  /* tema padrão = lousa (herói, rodapé) */
  --fundo: var(--lousa);
  --superficie: var(--lousa-2);
  --superficie-2: var(--lousa-3);
  --texto: var(--giz);
  --texto-2: var(--giz-2);
  --borda: rgba(220, 240, 228, .10);
  --borda-forte: rgba(220, 240, 228, .18);
  --vidro: rgba(238, 243, 236, .07);

  --f: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-giz: "Caveat", "Segoe Print", cursive;

  --r-sm: 8px; --r: 16px; --r-md: 20px; --r-lg: 24px; --r-xl: 32px;
  --t-rapido: 150ms; --t: 250ms; --t-lento: 350ms;
  --mola: cubic-bezier(.68, -.55, .265, 1.55);

  --gutter: 16px;
  --max: 1200px;
}

/* tema papel (caderno) */
.papel, .tema-lilas {
  --fundo: #F7F9FF;
  --superficie: #FFFFFF;
  --superficie-2: #EEF2FA;
  --texto: #13241D;
  --texto-2: #4A5A52;
  --borda: rgba(19, 36, 29, .10);
  --borda-forte: rgba(19, 36, 29, .18);
  --vidro: #FFFFFF;
  background-color: var(--fundo);
  color: var(--texto);
}
.tema-lilas { --fundo: var(--lilas-tint); --borda-forte: rgba(59, 48, 102, .2); }

/* conjuntos de cor: componentes usam --c, --c-tint, --c-forte */
.c-sol   { --c: var(--sol);   --c-tint: var(--sol-tint);   --c-forte: var(--sol-forte); }
.c-ceu   { --c: var(--ceu);   --c-tint: var(--ceu-tint);   --c-forte: var(--ceu-forte); }
.c-coral { --c: var(--coral); --c-tint: var(--coral-tint); --c-forte: var(--coral-forte); }
.c-lilas { --c: var(--lilas); --c-tint: var(--lilas-tint); --c-forte: var(--lilas-forte); }
.c-menta { --c: var(--menta); --c-tint: var(--menta-tint); --c-forte: var(--menta-forte); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #F7F9FF;
  color: var(--texto);
  font: 400 1.0625rem/1.65 var(--f);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--ceu); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 10px; z-index: 60; background: var(--sol); color: var(--lousa); padding: 8px 14px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.giz { font-family: var(--f-giz); font-weight: 700; color: var(--sol); font-size: 1.25em; line-height: 1; }

/* ---------- Botões (Duolingo: afundam ao clicar) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  font: 600 1rem/1 var(--f); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  border: 2px solid transparent; border-radius: var(--r);
  transition: transform var(--t-rapido) ease-out, box-shadow var(--t-rapido) ease-out, background-color var(--t);
}
.btn:active { transform: translateY(4px); }
.btn--giz { background: var(--sol); color: #1A1A12; box-shadow: 0 5px 0 #C99A1E; }
.btn--giz:hover { background: #FFD465; }
.btn--giz:active { box-shadow: 0 1px 0 #C99A1E; }
.btn--vidro { color: var(--texto); background: var(--vidro); border-color: var(--borda-forte); box-shadow: 0 5px 0 var(--borda-forte); }
.btn--vidro:hover { border-color: var(--texto-2); }
.btn--vidro:active { box-shadow: 0 1px 0 var(--borda-forte); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .9rem; border-radius: 12px; background: var(--menta); color: #062418; box-shadow: 0 4px 0 #148A5F; }
.btn--sm:hover { background: #3DD69E; }
.btn--sm:active { transform: translateY(3px); box-shadow: 0 1px 0 #148A5F; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 33, 27, .82);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(220, 240, 228, .1);
  color: var(--giz);
}
.topo__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.marca { white-space: nowrap; display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.marca img { border-radius: 8px; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; color: var(--giz-2); font-size: .95rem; padding: 10px 14px; border-radius: 10px; transition: color var(--t), background-color var(--t); }
.nav a:hover { color: var(--giz); background: rgba(238, 243, 236, .08); }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 400px) { .marca { font-size: .92rem; } .topo__in { gap: 12px; } }

/* ---------- Herói: a lousa ---------- */
.heroi {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 72px 0 72px;
  background: var(--lousa); color: var(--giz);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
@media (min-width: 960px) { .heroi { padding: 104px 0 104px; border-radius: 0 0 56px 56px; } }
/* grade da lousa */
.heroi::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(220, 240, 228, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 240, 228, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 80%);
}
/* poeira de giz colorido */
.heroi::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 320px at 8% 12%, rgba(255, 107, 90, .22), transparent 70%),
    radial-gradient(460px 360px at 92% 18%, rgba(59, 167, 255, .22), transparent 70%),
    radial-gradient(520px 380px at 20% 78%, rgba(160, 139, 255, .22), transparent 70%),
    radial-gradient(560px 420px at 80% 82%, rgba(255, 200, 61, .18), transparent 70%);
}

.heroi__texto { max-width: 880px; }
.selo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border: 1px solid rgba(34, 196, 138, .45); border-radius: 999px;
  background: rgba(34, 196, 138, .12); font-size: .88rem; color: #BFF2DC;
}
.selo__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--menta); }
@media (prefers-reduced-motion: no-preference) { .selo__ponto { animation: pulso 2s infinite; } }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(34, 196, 138, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(34, 196, 138, 0); } }

.heroi h1 { margin-top: 24px; font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 15ch; }
.h1__2 {
  background: linear-gradient(90deg, var(--sol), var(--coral) 55%, var(--rosa));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 24px; max-width: 56ch; font-size: 1.15rem; color: var(--giz-2); font-weight: 300; }
.acoes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ---------- A sala (mockup) ---------- */
.sala-wrap { position: relative; margin-top: 72px; }
.sala {
  position: relative; z-index: 1;
  border: 1px solid rgba(220, 240, 228, .18); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(27, 55, 44, .92), rgba(20, 42, 34, .97));
  box-shadow: 0 0 0 6px rgba(238, 243, 236, .04), 0 40px 120px -30px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.sala__barra { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(220, 240, 228, .1); font-size: .85rem; color: var(--giz-2); }
.sala__luzes { display: flex; gap: 6px; }
.sala__luzes i { width: 11px; height: 11px; border-radius: 50%; }
.sala__luzes i:nth-child(1) { background: var(--coral); }
.sala__luzes i:nth-child(2) { background: var(--sol); }
.sala__luzes i:nth-child(3) { background: var(--menta); }
.sala__titulo { margin-right: auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sala__vivo { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 107, 90, .16); color: #FFB3A9; font-weight: 600; font-size: .78rem; }
.sala__vivo span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

/* post-its em volta da sala (só em telas largas) */
.nota {
  display: none; position: absolute; z-index: 2; width: 168px; padding: 14px 16px 16px;
  border-radius: 6px 6px 18px 6px; color: #1A1A12;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55);
  font-size: .85rem; line-height: 1.3;
}
.nota small { display: block; font-size: .72rem; opacity: .7; margin-bottom: 4px; }
.nota b { display: block; font-family: var(--f-giz); font-size: 1.7rem; line-height: 1; font-weight: 700; }
.nota span { display: block; margin-top: 4px; opacity: .75; }
.nota svg { position: absolute; right: 12px; bottom: 12px; width: 22px; height: 22px; fill: #1A1A12; }
.nota--sol { background: var(--sol); left: -56px; top: 38%; transform: rotate(-7deg); }
.nota--rosa { background: var(--rosa); right: -52px; top: -34px; transform: rotate(6deg); }
.nota--ceu { background: var(--ceu); right: -40px; bottom: -30px; transform: rotate(-4deg); }
@media (min-width: 1180px) { .nota { display: block; } }

.sala__corpo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; }
@media (min-width: 900px) { .sala__corpo { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); padding: 18px; gap: 18px; } }

.video { position: relative; border-radius: var(--r); overflow: hidden; background: #0A1511; aspect-ratio: 1 / 1; }
@media (min-width: 600px) { .video { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) { .video { aspect-ratio: auto; min-height: 440px; } }
/* "desfocar fundo" do Meet */
.video__fundo { position: absolute; inset: -40px; background: url("../img/gabriel.jpg") center / cover; filter: blur(28px) brightness(.55) saturate(1.2); }
.video__img {
  position: absolute; left: 50%; top: 0; height: 100%; width: auto; aspect-ratio: 4 / 5; object-fit: cover; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 12, 9, .85)); }
.video__nome { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 11px; border-radius: 8px; background: rgba(10, 21, 17, .7); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; }
.video__nome small { font-weight: 400; color: var(--giz-2); margin-left: 4px; font-size: .78rem; }
.video__aluno { position: absolute; right: 14px; top: 14px; z-index: 2; width: 128px; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--lousa-4); border: 2px solid var(--ceu); display: grid; place-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ceu); color: #0D2238; font-weight: 700; font-size: .9rem; }
.video__nome--min { left: 6px; top: auto; bottom: 6px; padding: 2px 7px; font-size: .72rem; }
@media (max-width: 520px) { .video__aluno { width: 92px; } .video__aluno .video__nome--min { display: none; } .avatar { width: 34px; height: 34px; font-size: .75rem; } }
.legenda { position: absolute; left: 50%; bottom: 78px; z-index: 2; transform: translateX(-50%); width: max-content; max-width: 88%; text-align: center; }
.legenda__txt { display: inline-block; padding: 6px 14px; border-radius: 8px; background: rgba(5, 12, 9, .78); font-size: 1rem; }
.video__ctrl { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translateX(-50%); display: flex; gap: 10px; }
.video__ctrl span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(238, 243, 236, .16); backdrop-filter: blur(6px); }
.video__ctrl svg { width: 20px; height: 20px; fill: var(--giz); }
.video__ctrl .fim { background: #E5484D; width: 56px; border-radius: 22px; }

.lousa {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: var(--r);
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .05), transparent 40%), radial-gradient(circle at 80% 90%, rgba(255, 255, 255, .04), transparent 40%), #1A3A2D;
  border: 1px solid rgba(220, 240, 228, .1);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .35);
}
.lousa__rotulo { font-size: .8rem; color: var(--giz-2); font-weight: 500; }
.correcoes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-family: var(--f-giz); font-size: 1.75rem; line-height: 1.15; }
.corr { display: grid; gap: 2px; }
.corr__errado { position: relative; justify-self: start; color: #FF9C90; --risco: 1; }
.corr__errado::after { content: ""; position: absolute; left: -4px; right: -4px; top: 55%; height: 3px; border-radius: 3px; background: var(--coral); transform-origin: left; transform: scaleX(var(--risco)) rotate(-2deg); }
.corr__certo { color: #7EF0BC; padding-left: 1.1em; position: relative; }
.corr__certo::before { content: "✓"; position: absolute; left: 0; font-family: var(--f); font-size: .7em; top: .2em; }
.nivel { margin-top: auto; padding: 16px; border-radius: 12px; background: rgba(5, 12, 9, .35); border: 1px solid rgba(220, 240, 228, .1); }
.nivel__topo { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; color: var(--giz-2); }
.nivel__atual { font-size: 1.4rem; color: var(--sol); letter-spacing: -0.02em; }
.nivel__trilho { margin-top: 10px; height: 10px; border-radius: 99px; background: rgba(238, 243, 236, .1); overflow: hidden; }
.nivel__barra { display: block; height: 100%; width: 50%; border-radius: inherit; background: linear-gradient(90deg, var(--menta), var(--ceu), var(--lilas), var(--coral), var(--sol)); background-size: 200% 100%; }
.nivel__marcas { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); font-size: .72rem; color: var(--giz-2); }
.nivel__marcas li { text-align: right; }

/* ---------- Faixa de números (cada um com sua cor) ---------- */
.faixa { padding-block: 56px 16px; }
.faixa__in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 860px) { .faixa__in { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.faixa__in > div {
  display: grid; gap: 4px; align-content: start; padding: 22px;
  background: var(--c-tint); color: var(--c-forte);
  border: 2px solid var(--c); border-radius: var(--r-md);
  box-shadow: 0 5px 0 var(--c);
}
.faixa strong { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.faixa span { font-size: .9rem; }

/* ---------- Seções ---------- */
.secao { padding-block: 88px; }
@media (min-width: 960px) { .secao { padding-block: 112px; } }
.secao__cab { max-width: 640px; margin-bottom: 48px; }
.secao__cab p { margin-top: 16px; color: var(--texto-2); font-size: 1.1rem; }
/* pontinhos de caderno */
.papel { background-image: radial-gradient(rgba(19, 36, 29, .09) 1.2px, transparent 1.2px); background-size: 26px 26px; }

/* ---------- Bento (cartões em cor, estilo clay) ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 20px; } .cel--larga { grid-column: span 2; } }
.cel {
  position: relative; display: flex; flex-direction: column; gap: 28px; justify-content: space-between;
  min-height: 300px; padding: 28px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--c-tint); color: var(--texto);
  border: 2px solid var(--c);
  box-shadow: 0 6px 0 var(--c);
  transition: transform var(--t) var(--mola), box-shadow var(--t);
}
@media (hover: hover) { .cel:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--c); } }
@media (min-width: 900px) { .cel--larga { flex-direction: row; align-items: center; } .cel--larga .cel__txt { flex: 1 1 45%; } .cel--larga > :last-child { flex: 1 1 55%; } }
.cel h3 { font-size: 1.4rem; color: var(--c-forte); }
.cel__txt p { margin-top: 10px; color: var(--texto-2); font-size: .98rem; }

.chat { display: grid; gap: 10px; font-size: .92rem; }
.bolha { max-width: 85%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; box-shadow: 0 3px 0 rgba(19, 36, 29, .08); }
.bolha--prof { justify-self: start; background: #FFFFFF; border-bottom-left-radius: 4px; }
.bolha--aluno { justify-self: end; background: var(--ceu); color: #0B2440; border-bottom-right-radius: 4px; }
.bolha--fix .giz { color: var(--menta-forte); background: var(--menta-tint); padding: 0 .2em; border-radius: 4px; margin-right: .2em; font-size: 1.35em; }

.email { padding: 16px 18px; border-radius: 14px; background: #FFFFFF; color: #1D2A23; font-size: .88rem; line-height: 1.5; transform: rotate(-1.5deg); box-shadow: 0 16px 30px -18px rgba(102, 47, 41, .55); }
.email__assunto { font-weight: 600; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #F0D9D5; }
.realce { background: linear-gradient(transparent 55%, var(--sol) 55%); }

.passagem { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 14px; background: #FFFFFF; border: 2px dashed var(--sol); }
.passagem div { display: grid; }
.passagem small { font-size: .72rem; color: var(--texto-2); }
.passagem b { font-size: 1.8rem; letter-spacing: .02em; color: var(--sol-forte); }
.passagem svg { width: 28px; height: 28px; fill: var(--coral); transform: rotate(90deg); }

.pronuncia { display: grid; gap: 4px; justify-items: start; padding: 20px 22px; border-radius: 14px; background: #FFFFFF; }
.pronuncia__palavra { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--lilas-forte); }
.pronuncia__ipa { color: #6A54D8; font-family: "Segoe UI", "Noto Sans", sans-serif; font-size: 1.1rem; }
.onda { display: flex; align-items: center; gap: 4px; height: 44px; margin-top: 10px; }
.onda i { display: block; width: 5px; border-radius: 3px; height: 30%; background: var(--lilas); }
.onda i:nth-child(4n+1) { background: var(--coral); } .onda i:nth-child(4n+2) { background: var(--sol); } .onda i:nth-child(4n+3) { background: var(--ceu); }
.onda i:nth-child(3n) { height: 70%; } .onda i:nth-child(4n) { height: 95%; } .onda i:nth-child(5n) { height: 50%; } .onda i:nth-child(7n) { height: 20%; }
@media (prefers-reduced-motion: no-preference) {
  .onda i { animation: onda 1.4s ease-in-out infinite; }
  .onda i:nth-child(odd) { animation-delay: -.4s; } .onda i:nth-child(3n) { animation-delay: -.8s; }
}
@keyframes onda { 50% { transform: scaleY(.45); } }

/* ---------- Como é a aula ---------- */
.jeito__grade { display: grid; gap: 16px; }
@media (min-width: 860px) { .jeito__grade { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.regra { padding: 28px; border-radius: var(--r-lg); background: var(--superficie); border: 2px solid var(--borda); box-shadow: 0 6px 0 var(--borda); }
.regra__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--c); margin-bottom: 22px; box-shadow: 0 4px 0 var(--c-forte); transform: rotate(-4deg); }
.regra:nth-child(2) .regra__ico { transform: rotate(3deg); }
.regra__ico svg { width: 26px; height: 26px; fill: #13241D; }
.regra p { margin-top: 10px; color: var(--texto-2); font-size: .98rem; }

/* ---------- Sobre: o quadro de giz com moldura ---------- */
.quadro {
  --texto: var(--giz); --texto-2: var(--giz-2);
  color: var(--giz);
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .05), transparent 45%), var(--lousa-2);
  border: 12px solid #C98B4E; border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), inset 0 0 80px rgba(0, 0, 0, .35), 0 8px 0 #9C6A39, 0 30px 60px -30px rgba(19, 36, 29, .5);
  padding: 40px 24px 48px;
  position: relative;
}
/* bandeja do giz */
.quadro::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -26px; height: 14px; border-radius: 4px;
  background: linear-gradient(90deg, transparent 6%, var(--sol) 6% 9%, transparent 9% 12%, var(--coral) 12% 15%, transparent 15% 18%, var(--ceu) 18% 21%, transparent 21%), #B07843;
}
@media (min-width: 960px) { .quadro { padding: 64px; } }
.sobre { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .sobre { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.cracha {
  justify-self: center; width: min(320px, 100%); padding: 14px; border-radius: 24px; margin-top: 30px;
  background: #FFFFFF; color: #13241D;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
  transform: rotate(-3deg); position: relative;
}
.cracha::before { content: ""; position: absolute; top: -40px; left: 50%; width: 22px; height: 54px; transform: translateX(-50%); border-radius: 6px; background: var(--coral); box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .15); }
.cracha__foto { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ceu-tint); }
.cracha__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cracha__info { padding: 16px 6px 6px; }
.cracha__nome { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.cracha__cargo { color: #4C5F55; font-size: .9rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.tags li { padding: 4px 10px; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.tags li:nth-child(1) { background: var(--coral-tint); color: var(--coral-forte); }
.tags li:nth-child(2) { background: var(--ceu-tint); color: var(--ceu-forte); }
.tags li:nth-child(3) { background: var(--menta-tint); color: var(--menta-forte); }

.sobre__texto p { margin-top: 18px; color: var(--giz-2); max-width: 60ch; font-size: 1.05rem; }
.sobre__texto h2 + p { margin-top: 26px; }
.rota { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: rota; }
.rota li { display: grid; gap: 2px; padding: 16px 18px 16px 54px; position: relative; border-radius: 14px; background: rgba(5, 12, 9, .3); border: 1px solid rgba(220, 240, 228, .12); counter-increment: rota; }
.rota li::before { content: counter(rota); position: absolute; left: 14px; top: 15px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #13241D; background: var(--sol); }
.rota li:nth-child(2)::before { background: var(--ceu); }
.rota li:nth-child(3)::before { background: var(--menta); }
.rota__lugar { font-weight: 600; }
.rota__lugar .giz { margin-left: 8px; color: var(--rosa); }
.rota__fato { color: var(--giz-2); font-size: .95rem; }

/* ---------- Quiz (Kahoot: cada resposta tem sua cor) ---------- */
.tema-lilas { background-image: radial-gradient(rgba(59, 48, 102, .12) 1.2px, transparent 1.2px); background-size: 26px 26px; }
.teste { display: grid; }
@media (min-width: 960px) { .teste { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .teste .secao__cab { margin-bottom: 0; position: sticky; top: 120px; } }
.tema-lilas h2 { color: var(--lilas-forte); }
.quiz { padding: 28px; border-radius: var(--r-lg); background: #FFFFFF; border: 2px solid var(--lilas); box-shadow: 0 8px 0 var(--lilas); }
@media (max-width: 520px) { .quiz { padding: 20px; } }
.quiz__topo { display: flex; align-items: center; gap: 16px; font-size: .88rem; color: var(--texto-2); }
.quiz__contador { white-space: nowrap; }
.quiz__trilho { flex: 1; height: 10px; border-radius: 99px; background: var(--lilas-tint); overflow: hidden; }
.quiz__trilho span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ceu), var(--lilas), var(--coral)); border-radius: inherit; transition: width .4s ease; }
.quiz__corpo { margin-top: 26px; min-height: 300px; }
.q__frase { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.q__lacuna { display: inline-block; min-width: 3.5em; border-bottom: 3px solid var(--lilas); color: #6A54D8; }
.q__dica { margin-top: 8px; color: var(--texto-2); font-size: .92rem; }
.q__opcoes { display: grid; gap: 12px; margin-top: 24px; }
.q__op {
  --c: var(--ceu); --c-tint: var(--ceu-tint);
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 16px;
  font: 500 1.05rem/1.3 var(--f); color: var(--texto); text-align: left; cursor: pointer; touch-action: manipulation;
  background: var(--c-tint); border: 2px solid var(--c); border-radius: var(--r);
  box-shadow: 0 4px 0 var(--c);
  transition: transform var(--t-rapido) ease-out, box-shadow var(--t-rapido) ease-out, background-color var(--t), border-color var(--t), opacity var(--t);
}
.q__op:nth-child(2) { --c: var(--sol); --c-tint: var(--sol-tint); }
.q__op:nth-child(3) { --c: var(--coral); --c-tint: var(--coral-tint); }
@media (hover: hover) { .q__op:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 var(--c); } }
.q__op:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--c); }
.q__op kbd { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--c); color: #13241D; font: 700 .85rem var(--f); flex: none; }
.q__op:disabled { cursor: default; opacity: .55; }
.q__op.certo, .q__op.errado { opacity: 1; }
.q__op.certo { --c: var(--menta); background: var(--menta-tint); }
.q__op.errado { --c: var(--erro); background: #FFE3E6; }
.q__op.errado kbd { color: #FFFFFF; }
.q__retorno { margin-top: 18px; min-height: 1.6em; font-size: .95rem; color: var(--texto-2); }
.q__retorno strong { color: var(--texto); }

.res__selo { display: inline-grid; place-items: center; min-width: 96px; height: 96px; padding: 0 16px; border-radius: 24px; background: var(--sol); color: #1A1A12; font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; box-shadow: 0 6px 0 #C99A1E; transform: rotate(-4deg); }
.res h3 { margin-top: 22px; font-size: 1.6rem; color: var(--lilas-forte); }
.res p { margin-top: 10px; color: var(--texto-2); }
.res__acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Passos ---------- */
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: passo; }
@media (min-width: 860px) { .passos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.passos li { --c: var(--sol); --c-forte: #C99A1E; counter-increment: passo; position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--superficie); border: 2px solid var(--borda); box-shadow: 0 6px 0 var(--borda); }
.passos li:nth-child(2) { --c: var(--ceu); --c-forte: #1F7FCC; }
.passos li:nth-child(3) { --c: var(--coral); --c-forte: #C9483A; }
.passos li::before {
  content: counter(passo); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px;
  border-radius: 14px; background: var(--c); color: #13241D; font-weight: 700; font-size: 1.2rem; box-shadow: 0 4px 0 var(--c-forte);
}
.passos p { margin-top: 10px; color: var(--texto-2); font-size: .98rem; }

/* ---------- FAQ ---------- */
.duvidas { display: grid; }
@media (min-width: 960px) { .duvidas { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.faq { display: grid; gap: 12px; }
.faq details { --c: var(--ceu); border-radius: var(--r); background: var(--superficie); border: 2px solid var(--borda); transition: border-color var(--t); }
.faq details:nth-child(4n+2) { --c: var(--coral); }
.faq details:nth-child(4n+3) { --c: var(--sol); }
.faq details:nth-child(4n+4) { --c: var(--menta); }
.faq details[open] { border-color: var(--c); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--c); color: #13241D;
  font-size: 1.2rem; font-weight: 700; line-height: 1; transition: transform var(--t) var(--mola);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--texto-2); max-width: 60ch; }
.faq details p a { color: var(--texto); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Contato: bloco amarelo ---------- */
.contato { padding-block: 40px 112px; }
.contato__caixa {
  display: grid; gap: 36px; padding: 32px; border-radius: var(--r-xl); position: relative; overflow: hidden;
  background: var(--sol); color: #1A1A12;
  border: 2px solid #E2A91C; box-shadow: 0 8px 0 #C99A1E;
}
.contato__caixa::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--coral); opacity: .9; }
.contato__caixa::after { content: ""; position: absolute; left: -60px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: var(--ceu); opacity: .85; }
.contato__caixa > * { position: relative; z-index: 1; }
@media (min-width: 960px) { .contato__caixa { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px; align-items: center; } }
.contato__txt p { margin-top: 16px; color: #4D3F14; font-size: 1.1rem; max-width: 40ch; }
.form { display: grid; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: #FFFFFF; box-shadow: 0 6px 0 rgba(26, 26, 18, .15); }
.form__linha { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__linha { grid-template-columns: 1fr 1fr; } }
.campo { display: grid; gap: 8px; }
.campo label { font-weight: 600; font-size: .92rem; color: #13241D; }
.campo input, .campo select {
  width: 100%; min-height: 52px; padding: 0 14px;
  font: inherit; font-size: 1rem; color: #13241D;
  background: #F4F7FB; border: 2px solid #DCE3EC; border-radius: 12px;
  transition: border-color var(--t), box-shadow var(--t);
}
.campo input:focus-visible, .campo select:focus-visible { outline: none; border-color: var(--ceu); box-shadow: 0 0 0 4px rgba(59, 167, 255, .25); }
.campo input[aria-invalid="true"] { border-color: var(--erro); }
.erro { color: var(--erro); font-size: .88rem; font-weight: 500; }
.form .btn { justify-self: start; margin-top: 6px; background: #13241D; color: #FFFFFF; box-shadow: 0 5px 0 #000; }
.form .btn:hover { background: #1E3A2F; }
.form .btn:active { box-shadow: 0 1px 0 #000; }

/* ---------- Rodapé ---------- */
.rodape { padding-block: 36px 44px; background: var(--lousa); color: var(--giz-2); font-size: .88rem; }
.rodape__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.rodape__links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.rodape__links a { display: inline-block; padding: 6px 0; text-decoration: none; }
.rodape__links a:hover { color: var(--giz); text-decoration: underline; }

/* ---------- Estado inicial das animações (só com JS e sem movimento reduzido) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.pronto) .sala { opacity: 0; }
}
