﻿/* Studium3D: cores medidas no logo do cliente */
:root {
  --tinta: #032335;
  --petroleo: #02446E;
  --petroleo-2: #02517A;
  --verde: #17AC2C;
  --verde-hover: #1FC038;
  --verde-escuro: #11821F;
  --verde-claro: #E6F5E9;
  --oliva: #7B7870;
  --oliva-escuro: #5F5C55;
  --fundo: #F7F8FA;
  --branco: #FFFFFF;
  --linha: #DCE3E9;
  --texto-2: #3D5466;
  --azul-claro: #D3E3EF;
  --amarelo: #FFD23F;
  --ouro: #E9A800;
  --vermelho: #D2462F;
  --foco: var(--petroleo);

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mao: "Gochi Hand", "Comic Sans MS", cursive;

  --raio: 16px;
  --sombra: 0 22px 44px -22px rgba(3, 35, 53, 0.38);
  --topo-altura: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo-altura) + 16px);
  scrollbar-color: var(--petroleo) #E3E9EE;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--amarelo); color: var(--tinta); }

:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.pular {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--amarelo); color: var(--tinta); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.pular:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.7em 1.35em;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-grande { min-height: 56px; padding: 0.85em 1.6em; font-size: 1.0625rem; }
.btn-peq { min-height: 44px; padding: 0.55em 1.1em; font-size: 0.9375rem; }
.btn-verde { background: var(--verde); color: var(--tinta); }
.btn-verde:hover { background: var(--verde-hover); }
.btn-claro { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-claro:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-tinta { background: var(--tinta); color: #fff; }
.btn-tinta:hover { background: var(--petroleo); }
.btn-contorno { border-color: var(--petroleo); color: var(--petroleo); background: #fff; }
.btn-contorno:hover { background: var(--petroleo); color: #fff; }

.link-forte {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-weight: 700; color: var(--verde-escuro);
  text-decoration: underline; text-decoration-color: rgba(17, 130, 31, 0.35);
  min-height: 44px;
}
.link-forte svg { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.link-forte:hover { text-decoration-color: currentColor; }
.link-forte:hover svg { transform: translate(2px, -2px); }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--linha);
}
.topo-in { display: flex; align-items: center; gap: 16px; min-height: var(--topo-altura); }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marca img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px var(--linha); }
.marca-nome { display: flex; flex-direction: column; font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; color: var(--tinta); }
.marca-nome small { font-family: var(--sans); font-size: 0.875rem; color: var(--texto-2); margin-top: 3px; }

.nav { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  background: none; border: 2px solid var(--linha); border-radius: 999px;
  font-weight: 700; cursor: pointer;
}
.menu-icone, .menu-icone::before, .menu-icone::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-icone::before, .menu-icone::after { content: ""; position: absolute; left: 0; }
.menu-icone::before { top: -5px; }
.menu-icone::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-icone { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icone::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icone::after { transform: translateY(-5px) rotate(-45deg); }

.menu {
  display: none;
  position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 240px; padding: 8px;
  background: #fff; border-radius: var(--raio); box-shadow: var(--sombra);
  border: 1px solid var(--linha);
}
.menu.aberto { display: block; }
.menu a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.menu a:hover { background: var(--fundo); color: var(--petroleo); }
.btn-topo { display: none; }

@media (min-width: 1120px) {
  .menu-btn { display: none; }
  .menu {
    display: flex; position: static; gap: 4px; padding: 0; min-width: 0;
    background: none; box-shadow: none; border: 0;
  }
  .menu a { min-height: 44px; padding: 0 12px; font-weight: 700; }
  .menu a:hover { background: none; text-decoration: underline; text-decoration-color: var(--verde); text-decoration-thickness: 3px; }
  .btn-topo { display: inline-flex; }
}
@media (min-width: 1120px) and (max-width: 1260px) {
  .marca-nome small { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--petroleo); color: #fff;
  --foco: var(--amarelo);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 65% at 78% 42%, rgba(255, 255, 255, 0.12), transparent 70%);
}
.hero-in {
  position: relative;
  display: grid; gap: 56px;
  padding-block: 44px 128px;
}
.hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.45rem);
  line-height: 1.06;
  max-width: 17ch;
}
.hero-sub { margin-top: 20px; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--azul-claro); }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.nota-mao {
  display: inline-flex; align-items: flex-start; gap: 6px;
  margin-top: 18px; margin-left: 18px;
  font-family: var(--mao); font-size: 1.55rem; line-height: 1.2;
  color: var(--amarelo);
  transform: rotate(-3deg);
}
.nota-seta { width: 52px; height: 40px; flex: none; margin-top: -14px; }

@media (min-width: 960px) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center; gap: 64px;
    padding-block: 72px 160px;
  }
}

/* Quadro branco (hero) */
.quadro {
  position: relative;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(145deg, #EEF1F4 0%, #BFC8D0 38%, #E7EBEF 58%, #AFB9C2 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 34px 60px -24px rgba(0, 12, 24, 0.7);
  color: var(--petroleo);
  font-family: var(--mao);
}
.quadro-superficie {
  position: relative;
  border-radius: 6px;
  padding: clamp(22px, 3.4vw, 40px) clamp(20px, 3.8vw, 46px) clamp(22px, 3vw, 34px);
  background: linear-gradient(118deg, #FFFFFF 0%, #F7F9FA 38%, #FFFFFF 52%, #F1F4F6 100%);
  box-shadow: inset 0 2px 8px rgba(3, 35, 53, 0.12);
  overflow: hidden;
}
.ima {
  position: absolute; z-index: 2;
  top: -22px; right: clamp(18px, 4vw, 40px);
  width: clamp(60px, 7vw, 80px); height: auto;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(255, 255, 255, 0.9);
  transform: rotate(9deg);
}
.bandeja { width: 74%; height: auto; margin: -2px auto 0; }

.q-titulo { font-size: clamp(1.45rem, 1rem + 1.7vw, 2.15rem); line-height: 1.1; color: var(--petroleo); width: fit-content; }
.q-sublinha { width: min(15.5em, 92%); height: 14px; color: var(--vermelho); margin-top: 2px; font-size: clamp(1.45rem, 1rem + 1.7vw, 2.15rem); }
.q-eq { margin-top: 0.35em; font-size: clamp(2.1rem, 1.2rem + 3vw, 3.4rem); line-height: 1.05; color: var(--tinta); width: fit-content; }
.q-linha { margin-top: 0.45em; font-size: clamp(1.3rem, 0.95rem + 1.3vw, 1.85rem); width: fit-content; }
.q-nota { color: var(--vermelho); }
/* sinal de menos escrito à mão: hífen alongado */
.m { display: inline-block; transform: scale(1.7, 1.2); margin-inline: 0.16em; }
.q-reta { width: 100%; max-width: 440px; margin-top: 4px; color: var(--petroleo); overflow: visible; }
.q-reta text { font-family: var(--mao); font-size: 26px; fill: var(--petroleo); }
.q-reta .q-mais { fill: var(--verde-escuro); font-size: 34px; }
.q-reta .q-menos-traco { stroke: var(--vermelho); }
.q-reta .q-sol { stroke: rgba(23, 172, 44, 0.55); }
.q-resposta {
  margin-top: 0.3em; width: fit-content;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  color: var(--verde-escuro);
  padding: 0.12em 0.55em;
  border: 2.5px solid currentColor;
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
}

@media (min-width: 960px) {
  .quadro-hero { transform: rotate(-1.2deg); }
}

/* Escrita a marcador: única animação automática da página */
@media (prefers-reduced-motion: no-preference) {
  .escreve { animation: escrever var(--t, 0.7s) cubic-bezier(0.45, 0.05, 0.55, 0.95) var(--d, 0s) both; }
  .traca { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracar var(--t, 0.5s) ease-out var(--d, 0s) forwards; }
  .surge { transform-box: fill-box; transform-origin: center; animation: surgir 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3) var(--d, 0s) both; }
}
@keyframes escrever {
  from { clip-path: inset(-20% 100% -20% 0); }
  to { clip-path: inset(-20% 0 -20% 0); }
}
@keyframes tracar { to { stroke-dashoffset: 0; } }
@keyframes surgir {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}

/* Diferenciais */
.diferenciais { position: relative; z-index: 2; margin-top: -84px; }
.faixa {
  display: grid; grid-template-columns: minmax(0, 1fr);
  background: #fff; border-radius: var(--raio); box-shadow: var(--sombra);
  border: 1px solid var(--linha);
  overflow: hidden;
}
.faixa li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px;
  padding: 18px 18px 20px; border-top: 1px solid var(--linha);
}
.faixa li:first-child { border-top: 0; }
.faixa-icone {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--verde-claro); color: var(--verde-escuro);
}
.faixa-icone svg { width: 24px; height: 24px; }
.faixa h3 { align-self: end; font-size: 1.0625rem; line-height: 1.3; }
.faixa p { margin-top: 4px; font-size: 1rem; line-height: 1.5; color: var(--texto-2); }

@media (min-width: 700px) {
  .faixa { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faixa li { display: block; padding: 22px 18px 24px; border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); }
  .faixa h3 { margin-top: 14px; }
  .faixa p { margin-top: 6px; }
  .faixa li:nth-child(-n+3) { border-top: 0; }
  .faixa li:nth-child(3n+1) { border-left: 0; }
  .faixa li:last-child { grid-column: auto / span 2; border-left: 1px solid var(--linha); }
}
@media (min-width: 1080px) {
  .faixa { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .faixa li, .faixa li:nth-child(-n+3), .faixa li:nth-child(3n+1) { border-top: 0; border-left: 1px solid var(--linha); padding: 28px 22px 30px; }
  .faixa li:first-child { border-left: 0; }
  .faixa li:last-child { grid-column: auto; }
}

/* Seções */
.secao { padding-block: clamp(72px, 9vw, 120px); }
.secao h2 { font-size: clamp(1.95rem, 1.35rem + 2.3vw, 2.9rem); line-height: 1.1; }

/* Estudo acompanhado */
.estudo-in { display: grid; gap: 44px; }
.estudo-texto h2 { max-width: 17ch; }
.estudo-texto p { margin-top: 18px; max-width: 36rem; color: var(--texto-2); }
.estudo-texto p:first-of-type { margin-top: 22px; color: var(--tinta); font-size: 1.125rem; }
.estudo-texto .link-forte { margin-top: 14px; }

.checklist-folha {
  align-self: start;
  background: #fff; border-radius: var(--raio);
  border: 1px solid var(--linha);
  box-shadow: var(--sombra);
  padding: clamp(24px, 3.4vw, 40px);
}
.checklist-titulo { font-family: var(--mao); font-size: 1.65rem; line-height: 1.2; color: var(--petroleo); }
.checklist { margin-top: 18px; display: grid; gap: 12px; }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: 12px;
  background: var(--fundo);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.35;
}
.check {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--verde); color: #fff;
}
.check svg { width: 20px; height: 20px; }

@media (min-width: 960px) {
  .estudo-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
}

/* Horários */
.horarios { background: #fff; border-block: 1px solid var(--linha); }
.horarios-cab p { margin-top: 14px; max-width: 38rem; color: var(--texto-2); }

.regua { display: none; }
@media (min-width: 760px) {
  .regua { display: block; margin-top: 44px; }
  .regua-trilho {
    position: relative; height: 56px;
    border-radius: 12px; background: var(--fundo);
    border: 1px solid var(--linha);
  }
  .regua-bloco {
    position: absolute; top: 6px; bottom: 6px;
    left: calc((var(--ini) - 13) / 8 * 100%);
    width: calc((var(--fim) - var(--ini)) / 8 * 100% - 4px);
    margin-left: 2px;
    display: grid; place-items: center;
    border-radius: 8px;
    font-weight: 700; font-size: 0.9375rem;
    white-space: nowrap; overflow: hidden;
  }
  .regua-bloco.manha { background: var(--verde-claro); color: var(--verde-escuro); }
  .regua-bloco.tarde { background: #DCEAF4; color: var(--petroleo); }
  .regua-bloco.noite { background: var(--petroleo); color: #fff; }
  .regua-bloco.particular { background: var(--amarelo); color: var(--tinta); }
  .regua-horas { position: relative; height: 28px; margin-top: 8px; }
  .regua-horas span {
    position: absolute; left: calc((var(--h) - 13) / 8 * 100%);
    transform: translateX(-50%);
    font-size: 0.9375rem; color: var(--texto-2);
    font-variant-numeric: tabular-nums;
  }
}

.turnos { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--linha); }
.turno { padding: 18px 0; border-bottom: 1px solid var(--linha); }
.turno dt { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.turno-nome { display: flex; flex-direction: column; }
.turno-nome small { font-weight: 400; font-size: 0.9375rem; color: var(--texto-2); }
.turno dd {
  display: flex; flex-wrap: wrap; gap: 4px 20px;
  margin-top: 6px; padding-left: 58px;
  font-variant-numeric: tabular-nums; font-size: 1.125rem;
}
@media (min-width: 480px) {
  .turno { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; }
  .turno dd { margin-top: 0; padding-left: 0; justify-content: flex-end; text-align: right; }
}
.turno-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; }
.turno-icone svg { width: 22px; height: 22px; }
.turno-icone.manha { background: var(--verde-claro); color: var(--verde-escuro); }
.turno-icone.tarde { background: #DCEAF4; color: var(--petroleo); }
.turno-icone.noite { background: var(--petroleo); color: #fff; }
.turno-icone.particular { background: var(--amarelo); color: var(--tinta); }
.horarios-obs { margin-top: 18px; font-size: 0.9375rem; color: var(--texto-2); }

@media (min-width: 1000px) {
  .turnos { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 0; }
  .turno:nth-child(-n+2) { border-top: 1px solid var(--linha); }
}

/* Matérias: aulas, anotações, revisão e exercícios */
.materias { background: #FFF8E8; --onda-cor: #fff; }

.m-mat, .card-mat { --mc-dark: #1E4FA3; --mc: #3B82F6; --mc-soft: #E3EDFC; --mc-ink: #12306B; }
.m-por, .card-por { --mc-dark: #B73420; --mc: #E8553D; --mc-soft: #FDE8E3; --mc-ink: #6E1F12; }
.m-his, .card-his { --mc-dark: #7A4A12; --mc: #C98A2B; --mc-soft: #F6EAD3; --mc-ink: #4A2D0B; }
.m-fis, .card-fis { --mc-dark: #33268A; --mc: #FF8A1F; --mc-soft: #E9E6FA; --mc-ink: #1D1560; }
.m-qui, .card-qui { --mc-dark: #0B6E7F; --mc: #12A8B8; --mc-soft: #DDF3F6; --mc-ink: #07414C; }
.m-bio, .card-bio { --mc-dark: #2F6B1E; --mc: #6BBF3A; --mc-soft: #E4F2C4; --mc-ink: #1E4A10; }
.m-geo, .card-geo { --mc-dark: #A0510A; --mc: #F59E0B; --mc-soft: #FDEBD0; --mc-ink: #5A2D04; }
.m-fil, .card-fil { --mc-dark: #8B2A6B; --mc: #D946A8; --mc-soft: #FBE0F1; --mc-ink: #5A1245; }
.m-red, .card-red { --mc-dark: #374151; --mc: #FFD23F; --mc-soft: #E8EAEE; --mc-ink: #1F2937; }

.materias-cab { max-width: 44rem; }
.materias-cab p { margin-top: 14px; color: var(--texto-2); }
.selo-exemplo {
  display: inline-block; margin-top: 18px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--amarelo); color: var(--tinta);
  font-size: 0.9375rem; font-weight: 700; line-height: 1.4;
}
.materias-cab .selo-exemplo { color: var(--tinta); }

.materia-cards { display: none; }
.js .materia-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  margin-top: 36px;
}
.js .materia-cards .materia-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
.materia-card {
  display: flex; flex-direction: column;
  padding: 0; margin: 0; text-align: left;
  background: #fff; border: 3px solid transparent; border-radius: 24px;
  overflow: hidden; cursor: pointer;
  box-shadow: 0 16px 30px -20px rgba(3, 35, 53, 0.45);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, box-shadow 0.25s ease;
}
.materia-card:hover { transform: translateY(-4px); }
.materia-card[aria-selected="true"] {
  border-color: var(--mc-dark);
  box-shadow: 0 22px 36px -18px rgba(3, 35, 53, 0.55);
  transform: translateY(-4px);
}
.card-capa { display: block; aspect-ratio: 16 / 11; background: var(--mc-soft); overflow: hidden; }
.card-capa .capa-svg { width: 100%; height: 100%; }
.card-nome { padding: 12px 16px 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--mc-ink); }
.card-frase { padding: 4px 16px 16px; font-size: 0.9375rem; line-height: 1.4; color: var(--texto-2); }
@media (min-width: 900px) {
  .js .materia-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .js .materia-cards .materia-card, .js .materia-cards .materia-card:last-child:nth-child(odd) { flex: 0 1 calc((100% - 64px) / 5); width: auto; }
}

/* texto dentro das capas desenhadas */
.capa-svg text { font-family: var(--mao); fill: #12306B; font-size: 17px; }
.capa-svg .t-m { font-size: 19px; }
.capa-svg .t-escala { font-size: 12px; fill: #4A2D0B; }
.capa-svg .t-tema { font-size: 22px; fill: #E8553D; }
.capa-svg .t-interrog { font-size: 130px; fill: #FFD23F; }
.capa-svg .t-s { font-size: 14px; }
.capa-svg .t-pi { font-size: 40px; fill: #E8553D; }
.capa-svg .t-serif { font-family: var(--serif); }
.capa-svg .t-aspas { font-size: 72px; fill: #E8553D; }
.capa-svg .t-aa { font-size: 20px; fill: #1B2A4A; }
.capa-svg .t-faixa { font-size: 34px; fill: #1B1B2F; }
.capa-svg .t-n { font-size: 16px; fill: #4A2F12; }
.capa-svg .t-ano text { font-family: var(--serif); font-size: 13px; fill: #4A2F12; }
.capa-svg .t-eq { font-size: 22px; font-style: italic; fill: #fff; }
.capa-svg .t-eq2 { font-size: 12px; font-style: italic; fill: #C7CCFF; }
.capa-svg .t-quim text { font-family: var(--sans); font-weight: 700; font-size: 17px; fill: #fff; }

/* Painel da matéria */
.materia {
  margin-top: 28px;
  background: #fff; border-radius: 28px;
  box-shadow: 0 30px 50px -34px rgba(3, 35, 53, 0.55);
  overflow: hidden;
}
.materia[hidden] { display: none; }
.materia + .materia { margin-top: 24px; }
.materia-topo { background: var(--mc-dark); color: #fff; padding: 26px clamp(18px, 4vw, 40px) 0; }
.materia-topo h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.1; }
.materia-topo > p { margin-top: 6px; opacity: 0.92; }
.abas { display: none; }
.js .abas { display: flex; gap: 6px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.js .abas::-webkit-scrollbar { display: none; }
.aba {
  flex: none; min-height: 48px; padding: 0 20px;
  border: 0; border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.16); color: #fff;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.aba:hover { background: rgba(255, 255, 255, 0.28); }
.aba[aria-selected="true"] { background: #fff; color: var(--mc-ink); }
.materia-topo { --foco: #fff; }
.materia-topo .aba:focus-visible { outline-color: #fff; outline-offset: -3px; }
.materia-corpo { background: #fff; }
.aba-painel { padding: clamp(20px, 4vw, 40px); }
.aba-painel[hidden] { display: none; }
.aba-painel + .aba-painel { border-top: 1px solid var(--linha); }
.aba-painel > h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; color: var(--mc-ink); }
.aba-intro { margin-top: 6px; color: var(--texto-2); }

.entra { animation: entrar 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .entra { animation: none; } }

/* Aulas: player de quadro branco */
.aulas-grade { display: grid; gap: 24px; margin-top: 22px; }
@media (min-width: 960px) { .aulas-grade { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 32px; } }
.player-tela {
  position: relative; aspect-ratio: 16 / 9; container-type: inline-size;
  padding: 8px; border-radius: 16px;
  background: linear-gradient(145deg, #EEF1F4 0%, #BFC8D0 38%, #E7EBEF 58%, #AFB9C2 100%);
  box-shadow: 0 24px 40px -26px rgba(3, 35, 53, 0.7);
  overflow: hidden;
}
.player-quadro {
  height: 100%; border-radius: 8px; padding: 5cqi 7cqi;
  background: linear-gradient(118deg, #FFFFFF 0%, #F7F9FA 38%, #FFFFFF 52%, #F1F4F6 100%);
  box-shadow: inset 0 2px 8px rgba(3, 35, 53, 0.12);
  font-family: var(--mao); color: var(--mc-ink); overflow: hidden;
}
.player-quadro[hidden] { display: none; }
.pq-titulo { font-size: 4.6cqi; line-height: 1.1; text-decoration: underline; text-decoration-color: var(--vermelho); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
.pq-grande { margin-top: 2.2cqi; font-size: 7.4cqi; line-height: 1.05; color: var(--tinta); }
.pq-grande sub { font-size: 0.55em; }
.pq-linha { margin-top: 1.4cqi; font-size: 3.9cqi; line-height: 1.15; }
.pq-resposta {
  margin-top: 2cqi; width: fit-content; max-width: 100%;
  font-size: 4.2cqi; line-height: 1.2; color: var(--verde-escuro);
  padding: 0.1em 0.5em; border: 2px solid currentColor;
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
}
.player-quadro.troca > * { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .player-quadro.troca > * { animation: escrever 0.45s cubic-bezier(0.45, 0.05, 0.55, 0.95) both; }
  .player-quadro.troca > :nth-child(2) { animation-delay: 0.12s; }
  .player-quadro.troca > :nth-child(3) { animation-delay: 0.24s; }
  .player-quadro.troca > :nth-child(4) { animation-delay: 0.36s; }
  .player-quadro.troca > :nth-child(5) { animation-delay: 0.48s; }
}
.player-play {
  display: none; position: absolute; right: 5cqi; bottom: 6cqi;
  width: clamp(60px, 12cqi, 96px); aspect-ratio: 1; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--verde); color: var(--tinta);
  box-shadow: 0 12px 26px -8px rgba(3, 35, 53, 0.6);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.js .player-play { display: grid; }
.js .player-play[hidden] { display: none; }
.player-play svg { width: 42%; height: 42%; margin-left: 6%; }
.player-play:hover { background: var(--verde-hover); transform: scale(1.06); }
.player-play:focus-visible { outline-color: var(--tinta); outline-offset: 4px; }
.player-aviso {
  position: absolute; inset: 8px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
  padding: 6cqi 7cqi; border-radius: 8px;
  background: rgba(3, 35, 53, 0.95); color: var(--azul-claro);
  font-size: clamp(0.9375rem, 2.6cqi, 1.125rem);
  --foco: var(--amarelo);
}
.player-aviso[hidden] { display: none; }
.player-aviso:focus { outline: none; }
.player-aviso-titulo { font-family: var(--serif); font-size: clamp(1.25rem, 4.4cqi, 2rem); line-height: 1.15; color: #fff; }
.player-aviso .btn { margin-top: 6px; }
.player-tela iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-legenda { margin-top: 14px; }
.player-titulo { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); line-height: 1.25; color: var(--mc-ink); }

.playlist { display: grid; gap: 10px; }
.aula {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 10px; text-align: left;
  border: 2px solid transparent; border-radius: 16px;
  background: var(--mc-soft); cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.aula:hover { transform: translateX(3px); }
.aula[aria-current="true"] { border-color: var(--mc-dark); background: #fff; box-shadow: 0 10px 22px -16px rgba(3, 35, 53, 0.6); }
.aula-mini {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 104px; aspect-ratio: 16 / 10;
  border-radius: 8px; border: 4px solid #C7CFD6; background: #fff; color: var(--mc-ink);
  font-family: var(--mao); font-size: 0.9rem; line-height: 1.1; text-align: center; padding: 4px;
  white-space: nowrap; overflow: hidden;
}
.aula-mini .m { transform: none; margin-inline: 0.05em; }
.aula-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aula-titulo { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--mc-ink); }
.aula-exemplo { font-size: 0.9375rem; color: var(--texto-2); }

/* Anotações: folhas de caderno coloridas */
.notas { display: grid; gap: 18px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nota {
  position: relative; padding: 26px 20px 20px;
  border-radius: 6px 6px 18px 6px;
  background: #FFF1A8; color: var(--tinta);
  box-shadow: 0 14px 22px -16px rgba(3, 35, 53, 0.55);
}
.nota:nth-child(3n+2) { background: #D3F1DB; }
.nota:nth-child(3n+3) { background: #D6E8FB; }
.nota::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 76px; height: 22px; margin-left: -38px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(3, 35, 53, 0.08);
}
.nota-t { font-family: var(--mao); font-size: 1.45rem; line-height: 1.15; color: var(--mc-ink); }
.nota p + p { margin-top: 8px; font-size: 1rem; line-height: 1.55; }
@media (min-width: 700px) {
  .nota:nth-child(odd) { transform: rotate(-1deg); }
  .nota:nth-child(even) { transform: rotate(1deg); }
}

/* Revisão: lista que o aluno marca */
.revisao-prog { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.revisao-prog progress {
  appearance: none; -webkit-appearance: none;
  flex: 1 1 200px; max-width: 360px; height: 14px;
  border: 0; border-radius: 999px; background: var(--mc-soft); overflow: hidden;
}
.revisao-prog progress::-webkit-progress-bar { background: var(--mc-soft); border-radius: 999px; }
.revisao-prog progress::-webkit-progress-value { background: var(--mc-dark); border-radius: 999px; transition: width 0.3s ease; }
.revisao-prog progress::-moz-progress-bar { background: var(--mc-dark); border-radius: 999px; }
.revisao-txt { font-weight: 700; color: var(--mc-ink); }
.revisao { display: grid; gap: 10px; margin-top: 18px; }
.revisao label {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  background: var(--mc-soft); cursor: pointer;
  transition: background-color 0.2s ease;
}
.revisao input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--mc-dark); cursor: pointer; }
.rev-txt { display: flex; flex-direction: column; gap: 2px; }
.rev-t { font-weight: 700; color: var(--mc-ink); }
.rev-d { font-size: 0.9375rem; color: var(--texto-2); }
.revisao label:has(input:checked) { background: #E3F5E7; }
.revisao label:has(input:checked) .rev-t { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--verde-escuro); }

/* Exercícios */
.exercicios { display: grid; gap: 16px; margin-top: 22px; }
.exercicio { padding: 20px; border-radius: 20px; background: var(--mc-soft); }
.ex-q { font-weight: 700; font-size: 1.125rem; line-height: 1.4; color: var(--mc-ink); }
.exercicio details { margin-top: 14px; }
.exercicio summary {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--mc-dark); color: #fff;
  font-weight: 700; cursor: pointer; list-style: none;
}
.exercicio summary::-webkit-details-marker { display: none; }
.exercicio summary:hover { filter: brightness(1.12); }
.exercicio details[open] summary { background: #fff; color: var(--mc-ink); box-shadow: inset 0 0 0 2px var(--mc-dark); }
.ex-a { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 2px solid var(--verde); color: var(--tinta); }
@media (min-width: 900px) { .exercicios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Prova social */
.prova h2 { max-width: 20ch; }
.prova-grade { display: grid; gap: 36px; margin-top: 40px; }
.prova-num { font-family: var(--serif); font-size: clamp(3.2rem, 2.4rem + 3vw, 4.6rem); line-height: 1; color: var(--petroleo); }
.prova-nota > p:not(.prova-num):not(.estrelas), .prova-anos > p:not(.prova-num) { margin-top: 10px; color: var(--texto-2); }
.estrelas { display: flex; gap: 4px; margin-top: 12px; color: var(--ouro); }
.estrelas svg { width: 26px; height: 26px; }
.prova .link-forte { margin-top: 8px; }
.prova-citacao blockquote p {
  font-family: var(--serif); font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); line-height: 1.3; color: var(--tinta);
}
.prova-citacao figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--texto-2); }

@media (min-width: 900px) {
  .prova-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 0; }
  .prova-grade > * { padding-inline: 36px; }
  .prova-grade > :first-child { padding-left: 0; }
  .prova-grade > :last-child { padding-right: 0; }
  .prova-grade > * + * { border-left: 1px solid var(--linha); }
}

/* Matrícula */
.matricula { background: var(--amarelo); color: var(--tinta); }
.matricula-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding-block: clamp(44px, 6vw, 64px);
}
.matricula h2 { font-size: clamp(1.95rem, 1.35rem + 2.3vw, 2.9rem); line-height: 1.1; }
.matricula p { margin-top: 10px; max-width: 34rem; font-size: 1.125rem; }

/* Como chegar */
.chegar-in { display: grid; gap: 40px; }
.chegar-info address { margin-top: 18px; font-size: 1.1875rem; line-height: 1.55; }
.chegar-info .btn { margin-top: 22px; }
.contatos { margin-top: 32px; display: grid; gap: 4px; }
.contatos a {
  display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 6px 0;
  text-decoration: none;
}
.contatos a:hover strong { text-decoration: underline; }
.contatos svg { width: 26px; height: 26px; color: var(--verde-escuro); flex: none; }
.contatos span { display: flex; flex-direction: column; line-height: 1.35; overflow-wrap: anywhere; }
.contatos strong { font-size: 0.9375rem; color: var(--texto-2); }

.mapa {
  position: relative; overflow: hidden;
  min-height: 340px; border-radius: var(--raio);
  background: var(--petroleo); color: #fff;
  --foco: var(--amarelo);
}
.mapa-capa {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 32px; text-align: center;
  background: radial-gradient(70% 70% at 50% 40%, rgba(255, 255, 255, 0.1), transparent 70%);
}
.mapa-pino { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--verde); color: var(--tinta); }
.mapa-pino svg { width: 30px; height: 30px; }
.mapa-end { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.mapa-obs { font-size: 0.9375rem; color: var(--azul-claro); }
.mapa-capa .btn, .mapa-obs { display: none; }
.js .mapa-capa .btn, .js .mapa-obs { display: inline-flex; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 900px) {
  .chegar-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: stretch; }
  .mapa { min-height: 440px; }
}

/* Rodapé */
.rodape { background: var(--tinta); color: var(--azul-claro); --foco: var(--amarelo); padding-top: 64px; }
.rodape-in { display: grid; gap: 40px; }
.rodape-marca img { width: 96px; height: 96px; border-radius: 50%; }
.rodape-slogan { margin-top: 16px; font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.rodape-marca p:last-child { margin-top: 8px; max-width: 26rem; }
.rodape-col h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: #fff; }
.rodape-col ul { margin-top: 10px; }
.rodape-col li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.rodape-col li a:hover { color: #fff; text-decoration: underline; }
.rodape-col p { margin-top: 12px; line-height: 1.6; }
.rodape-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9375rem;
}
@media (min-width: 900px) {
  .rodape-in { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
}

/* WhatsApp fixo no celular */
.wa-fixo {
  position: fixed; z-index: 60;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; border-radius: 999px;
  background: var(--verde); color: var(--tinta);
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(3, 35, 53, 0.55);
}
.wa-fixo svg { width: 24px; height: 24px; }
.wa-fixo:hover { background: var(--verde-hover); }
.wa-fixo.recolhido { transform: translateY(calc(100% + 24px)); visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .wa-fixo { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s; }
}
body { padding-bottom: 84px; }
html { scroll-padding-bottom: 84px; }
@media (min-width: 960px) {
  .wa-fixo { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }
}

/* Valores de animação e da régua de horários (antes inline, removidos para a CSP sem unsafe-inline) */
.v-d1p2-tp9 { --d:1.2s;--t:.9s; }
.v-d2p2-tp7 { --d:2.2s;--t:.7s; }
.v-d2p95-tp5 { --d:2.95s;--t:.5s; }
.v-d3p4-tp2 { --d:3.4s;--t:.2s; }
.v-d3p5 { --d:3.5s; }
.v-d3p55-tp4 { --d:3.55s;--t:.4s; }
.v-d3p6 { --d:3.6s; }
.v-d3p7 { --d:3.7s; }
.v-d3p75-tp4 { --d:3.75s;--t:.4s; }
.v-d3p8 { --d:3.8s; }
.v-d3p9 { --d:3.9s; }
.v-d4p15-tp8 { --d:4.15s;--t:.8s; }
.v-dp3-tp6 { --d:.3s;--t:.6s; }
.v-dp9-tp4 { --d:.9s;--t:.4s; }
.v-h14 { --h:14; }
.v-h16 { --h:16; }
.v-h18 { --h:18; }
.v-h20 { --h:20; }
.v-ini19p5-fim21 { --ini:19.5;--fim:21; }

/* Cor e fluidez: ondas entre seções, formas no topo e cores de apoio */
.secao-onda { position: relative; }
.secao-onda::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; z-index: 1; pointer-events: none;
  height: clamp(36px, 5vw, 64px);
  background: var(--onda-cor, #fff);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V24C1220 66 1000 4 760 26S300 58 0 22Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V24C1220 66 1000 4 760 26S300 58 0 22Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.estudo { --onda-cor: var(--fundo); background: #EAF7EE; overflow: hidden; }
.estudo::after {
  content: ""; position: absolute; right: -140px; top: 40px; width: 380px; height: 380px; border-radius: 50%;
  background: #FFE7A0; opacity: 0.7; pointer-events: none;
}
.estudo-in { position: relative; z-index: 2; }
.horarios { --onda-cor: #EAF7EE; }
.prova { --onda-cor: #FFF8E8; }
.matricula { --onda-cor: #fff; }
.chegar { --onda-cor: var(--amarelo); background: #E4F0FB; }

.hero {
  background: linear-gradient(118deg, var(--tinta) 0%, var(--petroleo) 52%, var(--petroleo-2) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; pointer-events: none;
  height: clamp(36px, 5vw, 64px); background: var(--fundo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V32C240 -8 480 58 740 30S1200 -6 1440 30V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V32C240 -8 480 58 740 30S1200 -6 1440 30V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-in { z-index: 2; }
.hero-formas { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.f { position: absolute; display: block; }
.f-amarelo { width: 150px; height: 150px; border-radius: 50%; background: var(--amarelo); right: -30px; top: 56%; }
.f-coral { width: 70px; height: 70px; border-radius: 50%; background: #FF6F4F; left: -16px; top: 64%; }
.f-anel { width: 64px; height: 64px; border-radius: 50%; border: 12px solid var(--verde); right: 22%; top: 49%; }
.f-azul { width: 54px; height: 54px; border-radius: 50% 0 50% 50%; background: #5BB8F5; left: 12%; top: 52%; }
@media (min-width: 960px) {
  .f-amarelo { width: clamp(180px, 20vw, 290px); height: clamp(180px, 20vw, 290px); right: 3%; top: 7%; }
  .f-coral { width: clamp(90px, 9vw, 130px); height: clamp(90px, 9vw, 130px); left: 47%; top: auto; bottom: 17%; }
  .f-anel { width: clamp(70px, 7vw, 100px); height: clamp(70px, 7vw, 100px); right: 6%; top: auto; bottom: 20%; }
  .f-azul { width: 70px; height: 70px; left: 61%; top: 3%; }
}

.faixa li:nth-child(2) .faixa-icone { background: #E3EDFC; color: #1E4FA3; }
.faixa li:nth-child(3) .faixa-icone { background: #FDE8E3; color: #B73420; }
.faixa li:nth-child(4) .faixa-icone { background: #FFF0BD; color: #7A5600; }
.faixa li:nth-child(5) .faixa-icone { background: #DDF3F6; color: #0B6E7F; }
.prova-anos .prova-num { color: #B73420; }
.checklist li:nth-child(2) .check { background: #2563C9; }
.checklist li:nth-child(3) .check { background: #E8553D; }
.checklist li:nth-child(4) .check { background: #C98A2B; }
.checklist li:nth-child(5) .check { background: #12A8B8; }

@media (max-width: 640px) {
  .player-quadro { padding: 4cqi 6cqi; }
  .pq-titulo { font-size: 5.4cqi; }
  .pq-grande { margin-top: 1.6cqi; font-size: 8.4cqi; }
  .pq-linha { margin-top: 1cqi; font-size: 4.8cqi; }
  .pq-resposta { margin-top: 1.4cqi; font-size: 5cqi; }
}

/* Mural do dia a dia (fotos das aulas e dos alunos) */
.mural { --onda-cor: #FFF8E8; background: #FDEFE9; }
.prova { --onda-cor: #FDEFE9; }
.mural-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.mural-cab h2 { max-width: 18ch; }
.mural-cab p { margin-top: 14px; max-width: 40rem; color: var(--texto-2); }
.mural .selo-exemplo { margin-top: 24px; }
.mural-grade {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px;
  margin-top: 36px; align-items: start;
}
.mural-foto {
  position: relative; margin: 0; padding: 10px 10px 14px;
  background: #fff; border-radius: 6px 6px 14px 6px;
  box-shadow: 0 18px 28px -18px rgba(3, 35, 53, 0.55);
}
.mural-foto::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 72px; height: 22px; margin-left: -36px;
  background: rgba(255, 210, 63, 0.85); z-index: 1;
}
.mural-foto img { width: 100%; height: auto; border-radius: 3px; background: #EEF1F4; }
.mural-foto figcaption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.45; color: var(--texto-2); }
.mural-foto time { display: block; font-family: var(--mao); font-size: 1.2rem; color: var(--tinta); }
.mural-moldura {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 4 / 3; border-radius: 3px;
  background: var(--mv-fundo, #DCEBFB); color: var(--mv-tinta, #12306B);
}
.mural-camera { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; }
.mural-camera svg { width: 28px; height: 28px; }
.mural-aqui { font-family: var(--mao); font-size: 1.5rem; line-height: 1; }
.mv-azul { --mv-fundo: #DCEBFB; --mv-tinta: #12306B; }
.mv-coral { --mv-fundo: #FDDDD5; --mv-tinta: #8A2412; }
.mv-ambar { --mv-fundo: #F6E4BE; --mv-tinta: #5C3708; }
.mv-roxo { --mv-fundo: #E3DFF8; --mv-tinta: #2C2078; }
.mv-verde { --mv-fundo: #D3F1DB; --mv-tinta: #0C5C1B; }
.mv-turq { --mv-fundo: #D2EEF2; --mv-tinta: #07414C; }
.mural-grande { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .mural-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
  .mural-grande { grid-column: span 2; grid-row: span 2; }
  .mural-grande { align-self: stretch; display: flex; flex-direction: column; }
  .mural-grande .mural-moldura { flex: 1; aspect-ratio: auto; min-height: 320px; }
  .mural-foto:nth-child(2) { transform: rotate(1.4deg); }
  .mural-foto:nth-child(3) { transform: rotate(-1.2deg); }
  .mural-foto:nth-child(4) { transform: rotate(-1deg); }
  .mural-foto:nth-child(5) { transform: rotate(1.2deg); }
  .mural-foto:nth-child(6) { transform: rotate(-1.4deg); }
}
.btn-topo, .menu a { white-space: nowrap; }

/* Fotos das matérias: no cartão e como fundo do topo do painel */
.capa-foto { width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.capa-mat { object-position: 50% 48%; }
.capa-por { object-position: 50% 48%; }
.capa-his { object-position: 50% 40%; }
.capa-fis { object-position: 50% 48%; }
.materia-topo {
  background-image:
    linear-gradient(90deg, var(--mc-dark) 0%, var(--mc-dark) 34%, color-mix(in srgb, var(--mc-dark) 78%, transparent) 62%, color-mix(in srgb, var(--mc-dark) 52%, transparent) 100%),
    var(--topo-foto, none);
  background-size: auto, cover; background-position: center, center 60%; background-repeat: no-repeat;
}
.m-qui { --topo-foto: url("../img/quimica-laboratorio-vidrarias.jpg"); }
.m-mat { --topo-foto: url("../img/materia-matematica-mesa-de-estudos.jpg"); }
.m-por { --topo-foto: url("../img/materia-portugues-colagem-literatura.jpg"); }
.m-his { --topo-foto: url("../img/materia-historia-colagem-mapas-antigos.jpg"); }
.m-fis { --topo-foto: url("../img/materia-fisica-buraco-negro-equacoes.jpg"); }
@media (max-width: 700px) {
  .materia-topo {
    background-image:
      linear-gradient(0deg, color-mix(in srgb, var(--mc-dark) 90%, transparent), color-mix(in srgb, var(--mc-dark) 90%, transparent)),
      var(--topo-foto, none);
  }
}
.pq-grande:has(sub) { font-family: var(--sans); font-weight: 700; letter-spacing: 0.02em; }

/* Professores */
.professores { --onda-cor: #FFF8E8; background: #F1EEFB; }
.mural { --onda-cor: #F1EEFB; }
.prof-cab { max-width: 44rem; }
.prof-cab p { margin-top: 14px; color: var(--texto-2); }
.prof-cab .selo-exemplo { margin-top: 20px; color: var(--tinta); }
.prof-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; align-items: stretch; }
.prof {
  display: flex; flex-direction: column;
  padding: 12px 12px 20px; border-radius: 24px; background: #fff;
  box-shadow: 0 16px 30px -22px rgba(3, 35, 53, 0.5);
}
.prof-foto {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: var(--pv-fundo, #DCEBFB); color: var(--pv-tinta, #12306B);
}
.prof-foto img { width: 100%; height: 100%; object-fit: cover; }
.prof-icone { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.prof-icone svg { width: 34px; height: 34px; }
.prof-aqui { font-family: var(--mao); font-size: 1.4rem; line-height: 1; }
.prof h3 { margin: 16px 6px 0; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--tinta); }
.prof-funcao {
  align-self: flex-start; margin: 10px 6px 0; padding: 4px 12px; border-radius: 999px;
  background: var(--pv-fundo, #DCEBFB); color: var(--pv-tinta, #12306B);
  font-size: 0.9375rem; font-weight: 700; line-height: 1.4;
}
.prof-tarefas-vazio, .prof-tarefas { margin: 12px 6px 0; font-size: 0.9375rem; line-height: 1.5; color: var(--texto-2); }
.prof-tarefas { display: grid; gap: 6px; list-style: none; padding: 0; }
.prof-tarefas li { position: relative; padding-left: 22px; }
.prof-tarefas li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--pv-tinta, #12306B); opacity: 0.85;
}
.pv-azul { --pv-fundo: #DCEBFB; --pv-tinta: #12306B; }
.pv-coral { --pv-fundo: #FDDDD5; --pv-tinta: #8A2412; }
.pv-ambar { --pv-fundo: #F6E4BE; --pv-tinta: #5C3708; }
.pv-verde { --pv-fundo: #D3F1DB; --pv-tinta: #0C5C1B; }
@media (min-width: 900px) {
  .prof-grade { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .prof { flex: 0 1 calc((100% - 60px) / 4); }
}
.v-ini13p5-fim19p5 { --ini:13.5;--fim:19.5; }
.pv-turq { --pv-fundo: #D2EEF2; --pv-tinta: #07414C; }
.prof-foto img { object-fit: contain; object-position: 50% 100%; }
@media (max-width: 899px) {
  .prof-grade .prof:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
}
.pv-roxo { --pv-fundo: #E3DFF8; --pv-tinta: #2C2078; }
.pv-lima { --pv-fundo: #E4F2C4; --pv-tinta: #3B5A0B; }
.pv-rosa { --pv-fundo: #FBDDEB; --pv-tinta: #7A1B4B; }
.pv-laranja { --pv-fundo: #FFE3C7; --pv-tinta: #7A3A00; }
@media (min-width: 1100px) {
  .prof { flex-basis: calc((100% - 80px) / 5); }
}
