/* Meu Aluno — identidade visual */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --marinho: #0F2D52;      /* marca, títulos, navegação */
  --marinho-2: #17406F;
  --turquesa: #00A78F;     /* botões principais, progresso, acertos */
  --turquesa-2: #00927D;
  --turquesa-claro: #E0F5F1;
  --azul: #3B82F6;         /* atividades, links, interativos */
  --azul-claro: #E8F0FE;
  --laranja: #F59E0B;      /* conquistas, alertas moderados */
  --laranja-claro: #FEF5E2;
  --fundo: #F5F7FA;
  --cartao: #FFFFFF;
  --borda: #E5EAF2;
  --texto: #0F2D52;
  --suave: #5B6B82;
  --apagado: #94A3B8;
  --erro: #DC4B4B;
  --erro-claro: #FDEEEE;
  --raio: 18px;
  --raio-p: 12px;
  --sombra: 0 1px 2px rgba(15, 45, 82, .06), 0 8px 24px -12px rgba(15, 45, 82, .18);
  --fonte: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--fonte); color: var(--texto); background: var(--fundo);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--azul); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; border-radius: 8px; }
svg.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--turquesa); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background .15s, transform .08s;
}
.btn:hover { background: var(--turquesa-2); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.sec { background: var(--cartao); color: var(--marinho); box-shadow: 0 0 0 1.5px var(--borda) inset; }
.btn.sec:hover { background: var(--fundo); }
.btn.azul { background: var(--azul); } .btn.azul:hover { background: #2F6FDB; }
.btn.marinho { background: var(--marinho); } .btn.marinho:hover { background: var(--marinho-2); }
.btn.perigo { background: var(--erro); }
.btn.link { background: none; color: var(--azul); min-height: 44px; padding: 0 10px; }
.btn.link:hover { background: var(--azul-claro); }
.btn.cheio { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
