/* AITEKS Academy — estilo comum do site. Mesma linguagem dos vídeos:
   papel #FAF7F2, contorno grafite, sombra dura, vermelho como único destaque. */
:root {
  --vermelho: #FF4545;
  --vermelho-texto: #D92D2D;
  --grafite: #0A0A0A;
  --papel: #FAF7F2;
  --areia: #EFE9DF;
  --cinza: #6B6B6B;
  --verde: #178A5C;
  --branco: #FFFFFF;
  --linha: 3px solid var(--grafite);
  --sombra: 6px 6px 0 var(--grafite);
  --sombra-p: 4px 4px 0 var(--grafite);
  --raio: 14px;
  --titulo: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --texto: 'Plus Jakarta Sans', system-ui, sans-serif;
  --largura: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--grafite);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--vermelho-texto); }
/* Títulos em Plus Jakarta Sans. A Bricolage Grotesque (no lugar da Syne, larga demais)
   fica no que é curto (logo, números, slogan): use .display. */
h1, h2, h3, h4 { font-family: var(--texto); font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.025em; }
.display { font-family: var(--titulo); letter-spacing: -0.01em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; }

.container { width: min(var(--largura), 100% - 32px); margin-inline: auto; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--grafite); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo span { font-family: var(--titulo); font-size: 21px; line-height: 1; white-space: nowrap; }
.logo b { font-weight: 700; }
.logo i { font-style: normal; font-weight: 500; color: var(--vermelho-texto); margin-left: 4px; }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border: var(--linha); border-radius: 999px;
  background: var(--vermelho); color: var(--grafite);
  font: 700 16px/1.2 var(--texto); text-decoration: none; cursor: pointer;
  box-shadow: var(--sombra-p);
  transition: transform .12s ease, box-shadow .12s ease;
}
.botao:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--grafite); }
.botao:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--grafite); }
.botao.secundario { background: var(--branco); }
.botao.pequeno { padding: 9px 18px; font-size: 14px; }
.botao[disabled] { opacity: .45; pointer-events: none; }

/* ---------- peças do vídeo ---------- */
.etiqueta {
  display: inline-block; background: var(--grafite); color: var(--papel);
  font: 700 13px/1 var(--texto); padding: 7px 11px; border-radius: 7px; letter-spacing: .01em;
}
.etiqueta.vermelha { background: var(--vermelho); color: var(--grafite); }
.chip {
  display: inline-block; background: var(--areia); border: 2px solid var(--grafite);
  border-radius: 7px; padding: 5px 11px; font-weight: 700; font-size: 15px;
  box-shadow: 3px 3px 0 var(--grafite);
}
.cartao {
  background: var(--branco); border: var(--linha); border-radius: var(--raio);
  box-shadow: var(--sombra);
}
.faisca { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; color: var(--vermelho); }
.destaque { color: var(--vermelho); }
.concluido { color: var(--verde); }

/* ---------- capa da aula (HTML, no lugar do quadro do vídeo) ---------- */
.capa-aula {
  position: absolute; inset: 0; container-type: inline-size; background: var(--papel); color: var(--grafite);
  display: flex; flex-direction: column; justify-content: space-between; padding: 7% 8% 8%;
}
.capa-aula .selo { font: 800 max(9px, 3.6cqw)/1 var(--texto); background: var(--grafite); color: var(--papel); padding: .45em .7em; border-radius: .4em; align-self: flex-start; }
.capa-aula .t { font-family: var(--titulo); font-weight: 800; font-size: 8.6cqw; line-height: 1.04; letter-spacing: -0.015em; max-width: 92%; }
.capa-aula .faisca-capa { position: absolute; right: 7%; top: 8%; width: 9cqw; height: 9cqw; color: var(--vermelho); }
.capa-aula.breve { background: var(--areia); }
.capa-aula.breve .t { color: #9d9486; }
