/* =====================================================================
   MB INSTITUTO MUSICAL — ESTILOS
   Índice: 1 Tokens · 2 Base · 3 Utilitários · 4 Botões · 5 Header
           6 Hero · 7 Seções · 8 Aulas · 9 Por que · 10 Galeria
           11 Professores · 12 Depoimentos · 13 FAQ · 14 Contato
           15 Rodapé · 16 WhatsApp flutuante · 17 Formulário · 18 Lightbox
           19 Animações
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --yellow: #FFD21F;          /* amarelo do logo */
  --yellow-deep: #F2B705;
  --yellow-glow: rgba(255, 210, 31, .55);
  --bg: #0E0E10;
  --bg-2: #141417;
  --surface: #1B1B1F;
  --line: #2C2C31;
  --text: #F4F3EE;
  --muted: #B3B2AC;           /* 8.6:1 sobre --bg */
  --ink: #111111;             /* texto sobre amarelo */
  --wa: #25D366;

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 28px; --header-h: 76px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Utilitários ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.display {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  line-height: .98; letter-spacing: .01em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow);
}
/* "LED" — o detalhe gráfico da marca */
.led-dot { width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); box-shadow: 0 0 10px var(--yellow-glow), 0 0 2px var(--yellow); }
.led { position: absolute; background: var(--yellow); box-shadow: 0 0 14px var(--yellow-glow), 0 0 3px var(--yellow); border-radius: 4px; }

/* Placeholder visível ([TEXTO]) — some sozinho quando você preenche o config */
.ph { background: rgba(255, 210, 31, .14); color: var(--yellow); outline: 1px dashed rgba(255, 210, 31, .6); border-radius: 4px; padding: 0 .25em; font-style: normal; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 24px -8px var(--yellow-glow); }
.btn-primary:hover { background: #FFE066; box-shadow: 0 8px 30px -6px var(--yellow-glow); }
.btn-ghost { border-color: rgba(244, 243, 238, .35); color: var(--text); background: rgba(14, 14, 16, .35); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.ico-wa { width: 22px; height: 22px; flex: none; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(14, 14, 16, .86);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(14, 14, 16, .96); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; line-height: 1; }
.brand-name span { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); margin-top: 3px; }

.nav-toggle { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; border-radius: 10px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile: painel que desce do header */
.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 24px; display: grid; gap: 16px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.site-nav ul { display: grid; }
.site-nav a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.site-nav a.is-active { color: var(--yellow); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; opacity: 1; visibility: visible; background: none; border: 0; padding: 0;
    display: flex; align-items: center; gap: 28px;
  }
  .site-nav ul { display: flex; gap: 6px; }
  .site-nav a { border: 0; padding: 8px 12px; font-size: .95rem; position: relative; color: var(--muted); }
  .site-nav a:hover, .site-nav a.is-active { color: var(--text); }
  .site-nav a.is-active::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--yellow); box-shadow: 0 0 8px var(--yellow-glow);
  }
}

/* ---------- 6. Hero ---------- */
/* Mobile: vídeo vertical do estúdio no fundo, texto na base sobre degradê escuro.
   Desktop (≥960px): "split" cinematográfico — texto à esquerda, palco ocupando ~64% à direita. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 24px) 0 64px;
  background: var(--bg);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture { display: contents; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; }
.hero-video { opacity: 0; transition: opacity 1s var(--ease); }
.hero-video.is-playing { opacity: 1; }
/* Degradê: topo levemente escurecido (header legível), base bem escura (texto legível) */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,16,.6) 0%, rgba(14,14,16,.12) 16%, rgba(14,14,16,.5) 32%, rgba(14,14,16,.86) 46%, rgba(14,14,16,.95) 62%, var(--bg) 100%);
}
.hero-copy { max-width: 660px; position: relative; }
.hero-eyebrow { background: rgba(14,14,16,.55); padding: 7px 12px 7px 10px; border-radius: 999px; border: 1px solid rgba(255,210,31,.28); }
@media (max-width: 419px) { .hero-eyebrow { font-size: .7rem; letter-spacing: .1em; gap: 8px; white-space: nowrap; } .hero-eyebrow .led-dot { width: 16px; } }
.hero h1 { font-size: clamp(2.6rem, 11.4vw, 6.4rem); margin: 16px 0 12px; line-height: 1.02; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero h1 em { font-style: normal; color: var(--yellow); text-shadow: 0 0 28px rgba(255, 210, 31, .35); display: block; }
.hero-sub { font-size: 1rem; color: var(--text); max-width: 38ch; }

/* Atalhos de instrumento */
.hero-instr { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.hero-instr a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--text);
  background: rgba(27,27,31,.72); border: 1px solid rgba(244,243,238,.16);
  transition: border-color .2s, color .2s, background-color .2s;
}
.hero-instr a:hover { border-color: var(--yellow); color: var(--yellow); }

.hero-ctas { display: grid; gap: 10px; margin-top: 20px; }
.hero-ctas .btn-primary { font-size: 1.08rem; }
.hero-ctas .btn-ghost { justify-self: start; min-height: 48px; padding-inline: 28px; }  /* não fica sob o botão flutuante */
.hero-note { display: none; margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* Pausar vídeo (WCAG 2.2.2) e indicação de rolagem */
.hero-pause {
  position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--header-h) + 14px);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(14,14,16,.6); border: 1px solid rgba(244,243,238,.25); color: var(--text);
}
.hero-pause:hover { border-color: var(--yellow); color: var(--yellow); }
.hp-ico { width: 12px; height: 14px; border-inline: 4px solid currentColor; }               /* ❚❚ */
.hero-pause[aria-pressed="true"] .hp-ico {                                                     /* ▶ */
  width: 0; height: 0; border-inline: 0; margin-left: 4px;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor;
}
.hero-scroll { display: none; }

/* Faixa LED diagonal na base do hero */
.hero-strip {
  position: absolute; left: -10%; right: -10%; bottom: 18px; height: 3px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--yellow) 20%, var(--yellow) 80%, transparent);
  box-shadow: 0 0 18px var(--yellow-glow); transform: rotate(-2deg); opacity: .9;
}

@media (min-width: 560px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .hero-ctas .btn-ghost { min-height: 56px; }
  .hero-note { display: block; }
  .hero-instr { gap: 8px; }
  .hero-instr a { min-height: 36px; padding: 6px 14px; font-size: .88rem; }
}
@media (min-width: 960px) {
  .hero { align-items: center; min-height: min(100vh, 920px); padding: calc(var(--header-h) + 40px) 0 96px; }
  .hero-media { inset: 0 0 0 auto; width: 64%; }
  .hero-poster, .hero-video { object-position: 34% 40%; }
  /* funde a borda esquerda do vídeo no fundo, e escurece a base */
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(14,14,16,.88) 14%, rgba(14,14,16,.35) 38%, rgba(14,14,16,0) 60%),
      linear-gradient(180deg, rgba(14,14,16,.55) 0%, rgba(14,14,16,0) 22%, rgba(14,14,16,0) 72%, var(--bg) 100%);
  }
  .hero::before { /* brilho quente atrás do texto, eco da luz do palco */
    content: ""; position: absolute; inset: 0; z-index: -2;
    background: radial-gradient(ellipse 50% 60% at 18% 55%, rgba(255, 140, 40, .10), transparent 70%);
  }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(4.2rem, 6.6vw, 6.6rem); }
  .hero-sub { font-size: 1.18rem; }
  .hero h1 { margin: 18px 0 14px; }
  .hero-pause { top: calc(var(--header-h) + 20px); right: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
  .hero-scroll {
    display: block; position: absolute; z-index: 2; left: 50%; bottom: 40px; width: 26px; height: 42px; margin-left: -13px;
    border: 2px solid rgba(244,243,238,.45); border-radius: 14px;
  }
  .hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: scrollcue 1.8s var(--ease) infinite; }
  .hero-scroll:hover { border-color: var(--yellow); }
}
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll span { animation: none; } }

/* ---------- 7. Seções ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head h2 { font-size: clamp(2.4rem, 9vw, 4.2rem); margin-top: 12px; }
.section-lead { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
@media (min-width: 960px) { .section { padding: 112px 0; } .section-head { margin-bottom: 48px; } }

/* ---------- 8. Aulas ---------- */
.aulas-grid { display: grid; gap: 20px; }
/* flex centralizado: 2+2+1 no tablet, 3+2 no desktop (5 aulas) */
@media (min-width: 720px) { .aulas-grid { display: flex; flex-wrap: wrap; justify-content: center; } .aulas-grid > .aula { flex: 0 0 calc((100% - 20px) / 2); } }
@media (min-width: 1100px) { .aulas-grid > .aula { flex-basis: calc((100% - 40px) / 3); } }

.aula {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.aula:hover { transform: translateY(-4px); border-color: rgba(255, 210, 31, .45); }
.aula-media { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: #222; }
.aula-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.aula:hover .aula-media img { transform: scale(1.04); }
.aula-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(transparent, var(--surface)); }
.aula-num { position: absolute; top: 14px; left: 14px; z-index: 1; font-family: var(--font-display); font-size: 1rem; color: var(--ink); background: var(--yellow); border-radius: 6px; padding: 2px 8px; }
.aula-body { display: flex; flex-direction: column; gap: 14px; padding: 0 20px 22px; margin-top: -36px; position: relative; flex: 1; }
.aula h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 2.3rem; line-height: 1; }
.aula-benefit { color: var(--text); font-weight: 500; }
.aula-topics { display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.aula-topics li { display: flex; gap: 10px; align-items: baseline; }
.aula-topics li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--yellow); transform: translateY(-4px); box-shadow: 0 0 6px var(--yellow-glow); }
.aula .btn { margin-top: auto; }

/* Placeholder de foto (quando foto: null no config) */
.foto-ph {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--yellow); font-weight: 700; letter-spacing: .08em; font-size: .85rem;
  background: repeating-linear-gradient(135deg, #1f1f23 0 14px, #18181b 14px 28px);
  outline: 1px dashed rgba(255, 210, 31, .5); outline-offset: -10px;
}

/* ---------- 9. Por que a MB ---------- */
.why { background: var(--yellow); color: var(--ink); padding: 48px 0; position: relative; }
.why-list { display: grid; gap: 28px; }
.why li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.why svg { grid-row: span 2; width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why svg path[d^="M3 4h4"] { fill: var(--ink); stroke: none; }
.why h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.45rem; line-height: 1.05; }
.why p { font-size: .95rem; margin-top: 4px; color: #2a2a2a; }
@media (min-width: 720px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why { padding: 56px 0; } .why-list { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- 10. Carrosséis infinitos (fotos e vídeos) ---------- */
/* Faixa horizontal de ponta a ponta. O main.js duplica os itens e move o scroll em loop;
   o usuário também pode arrastar/deslizar. Altura fixa, largura pela proporção de cada mídia. */
.section-carousel { overflow: hidden; }
.section-carousel .section-head { margin-bottom: 28px; }
.mq { --h: 260px; --gap: 10px; position: relative; }
.mq-track {
  display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px var(--gutter); scrollbar-width: none; cursor: grab;
}
.mq-track::-webkit-scrollbar { display: none; }
.mq-track.is-dragging { cursor: grabbing; }
.mq-track.is-dragging * { pointer-events: none; }
.mq-item { position: relative; flex: none; height: var(--h); width: min(calc(var(--h) * var(--ar)), 86vw); }
.mq-card {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--surface); color: var(--text); text-align: left;
}
.mq-card img, .mq-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mq-card img { transition: transform .5s var(--ease), filter .3s; -webkit-user-drag: none; user-select: none; }
.mq-card:hover img { transform: scale(1.04); filter: brightness(1.08); }
.mq-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (min-width: 720px) { .mq { --h: 340px; --gap: 14px; } }

/* Vídeos: pôster + play + legenda; ao tocar vira <video controls> com som */
.mq-videos { --h: 420px; }
@media (min-width: 720px) { .mq-videos { --h: 480px; } }
.mq-videos .mq-card::after { /* degradê para a legenda */
  content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(transparent, rgba(14,14,16,.88)); pointer-events: none;
}
.mq-cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; pointer-events: none; }
.mq-cap strong { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; }
.mq-cap span { font-size: .85rem; color: var(--muted); }
.mq-card .g-play { z-index: 1; }
.mq-card:hover .g-play { transform: scale(1.08); }
.g-play { transition: transform .25s var(--ease); }
.mq-item.is-playing .mq-card { visibility: hidden; }
.mq-player { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #000; border-radius: var(--radius-sm); }
.mq-close {
  position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(14,14,16,.75); border: 1px solid rgba(244,243,238,.3); color: var(--text); font-size: 1.4rem; line-height: 1;
}
.mq-close:hover { border-color: var(--yellow); color: var(--yellow); }

/* Botões: anterior / pausar / próximo */
.mq-controls { display: flex; justify-content: flex-start; gap: 8px; margin-top: 16px; } /* à esquerda: o botão flutuante do WhatsApp fica à direita */
.mq-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 1.6rem; line-height: 1;
}
.mq-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.mq-btn span { margin-top: -3px; }
.mq-toggle[aria-pressed="true"] .hp-ico, .hero-pause[aria-pressed="true"] .hp-ico {
  width: 0; height: 0; border-inline: 0; margin-left: 4px;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor;
}

/* Botão de play (reaproveitado) */
.g-play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 210, 31, .25), 0 10px 30px rgba(0,0,0,.4);
}
.g-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--ink); }

/* ---------- 10b. Conheça o Bruno (fundador) ---------- */
/* Mobile: foto em cima (quadrada, rosto no terço superior), texto embaixo.
   Desktop (≥960px): foto 4:5 à esquerda, texto à direita. */
.fundador { position: relative; isolation: isolate; overflow: hidden; }
.fundador::before { /* brilho quente, eco da luz do palco do hero */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 20% 40%, rgba(255, 140, 40, .08), transparent 70%);
}
.fundador-grid { display: grid; gap: 36px; }
.fundador-media { position: relative; margin: 0; }
.fundador-media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 24%;
  border-radius: var(--radius); border: 1px solid var(--line); background: #222;
}
.fundador-media::before { /* LED amarelo na borda da foto */
  content: ""; position: absolute; z-index: 1; left: 22px; right: 38%; top: -2px; height: 4px; border-radius: 4px;
  background: var(--yellow); box-shadow: 0 0 14px var(--yellow-glow), 0 0 3px var(--yellow);
}

.fundador-copy h2 { font-size: clamp(2.4rem, 9vw, 4.2rem); margin-top: 12px; }
.fundador-copy h2 em { font-style: normal; color: var(--yellow); text-shadow: 0 0 28px rgba(255, 210, 31, .3); }
.fundador-sub { margin-top: 14px; font-size: 1.18rem; font-weight: 600; line-height: 1.4; color: var(--text); max-width: 34ch; }
.fundador-text { display: grid; gap: 16px; margin: 24px 0 30px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 62ch; }
.fundador-text strong { color: var(--text); font-weight: 600; }
.fundador-quote { padding-left: 18px; border-left: 3px solid var(--yellow); color: var(--text); }
.fundador-copy .btn { width: 100%; }
@media (min-width: 560px) { .fundador-copy .btn { width: auto; } }

@media (min-width: 720px) and (max-width: 959px) {
  .fundador-media img { aspect-ratio: 16 / 11; object-position: 50% 30%; }
}
@media (min-width: 960px) {
  .fundador-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
  .fundador-media img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
  .fundador-sub { font-size: 1.3rem; }
}

/* ---------- 11. Professores ---------- */
/* flex centralizado: funciona com qualquer quantidade de professores */
.prof-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.prof-grid > li { flex: 0 0 calc((100% - 14px) / 2); }
@media (min-width: 960px) { .prof-grid { gap: 20px; } .prof-grid > li { flex-basis: calc((100% - 60px) / 4); } }
.prof { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prof-media { aspect-ratio: 1; background: #222; }
.prof-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.prof-body { padding: 14px 16px 18px; border-top: 3px solid var(--yellow); }
.prof h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.prof p { color: var(--yellow); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }

/* ---------- 12. Depoimentos ---------- */
.dep-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .dep-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.dep-stars { color: var(--yellow); letter-spacing: .12em; font-size: 1rem; }
.dep .dep-stars { position: absolute; top: 22px; right: 22px; font-size: .9rem; }
.g-rating { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.g-rating strong { color: var(--text); font-size: 1.15rem; }
.dep { margin: 0; height: 100%; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 22px; }
.dep::before { content: "“"; position: absolute; top: -6px; left: 18px; font-family: var(--font-display); font-size: 4.2rem; line-height: 1; color: var(--yellow); }
.dep blockquote { margin: 18px 0 16px; font-size: 1.05rem; }
.dep figcaption { color: var(--muted); font-size: .9rem; }
.dep figcaption strong { color: var(--text); display: block; }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq details[open] { border-color: rgba(255, 210, 31, .5); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: 1.05rem; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq-a { padding: 0 20px 20px; color: var(--muted); }

/* ---------- 14. Contato ---------- */
.contato-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contato-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; } }
.contato h2 { font-size: clamp(2.4rem, 9vw, 4.2rem); margin: 12px 0 28px; }
.contato-list { display: grid; gap: 18px; margin: 0 0 28px; }
.contato-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contato-list dt { color: var(--yellow); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.contato-list dd { margin: 0; }
.contato-list a { text-underline-offset: 3px; }
.contato-list a:hover { color: var(--yellow); }
.mapa { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface); }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.92) hue-rotate(180deg) contrast(.9); }

/* ---------- 14b. Patrocinadores ---------- */
/* Logos todos na mesma cor (claro, opacidade reduzida); acendem no hover. --lh = altura de cada logo (equilíbrio visual). */
.patrocinadores { padding: 64px 0; }
.patro-head { margin-inline: auto; text-align: center; margin-bottom: 32px; }
.patro-head h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
.patro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.patro-grid li {
  display: grid; place-items: center; min-height: 120px; padding: 22px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease);
}
.patro-grid img { width: auto; height: calc(var(--lh, 48px) * .78); max-width: 100%; object-fit: contain; opacity: .78; transition: opacity .3s, filter .3s; }
.patro-grid li:hover { border-color: rgba(255, 210, 31, .45); transform: translateY(-3px); }
.patro-grid li:hover img { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 210, 31, .25)); }
@media (min-width: 720px) {
  .patrocinadores { padding: 88px 0; }
  .patro-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .patro-grid li { min-height: 150px; }
  .patro-grid img { height: var(--lh, 48px); }
}

/* ---------- 15. Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 112px; background: #0A0A0B; }
.footer-inner { display: grid; gap: 24px; justify-items: start; }
.footer-inner img { width: 110px; height: auto; }
.footer-text { display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.footer-text a:hover { color: var(--yellow); }
.apoio { color: var(--text); font-weight: 600; }
.copy { font-size: .85rem; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } .site-footer { padding-bottom: 56px; } }

/* ---------- 16. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,.6);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1;
  animation: wa-pulse 2.6s var(--ease) infinite;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float { isolation: isolate; transition: transform .2s var(--ease); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- 17. Formulário (dialog) ---------- */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(5, 5, 6, .84); }
.lead {
  width: min(560px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 1px solid var(--line);
  border-radius: 20px; background: var(--bg-2); box-shadow: 0 40px 100px rgba(0,0,0,.6);
}
.lead[open] { animation: pop .28s var(--ease); }
.lead-form { position: relative; display: grid; gap: 14px; padding: 28px 20px 22px; border-top: 4px solid var(--yellow); border-radius: 20px; }
.lead h2 { font-size: clamp(1.9rem, 7vw, 2.5rem); padding-right: 40px; }
.lead-hint { color: var(--muted); font-size: .93rem; margin-top: -8px; }
.lead-close, .lb-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 1.6rem; line-height: 1;
}
.lead-close:hover, .lb-close:hover { border-color: var(--yellow); color: var(--yellow); }
.field { display: grid; gap: 8px; }
.field-label { font-weight: 600; font-size: .92rem; padding: 0; }
.field-label small { color: var(--muted); font-weight: 400; }
.field input {
  min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: inherit; font-size: 1rem;
}
.field input::placeholder { color: #8d8c87; }
.field input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 210, 31, .25); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 6px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: .95rem; font-weight: 500; transition: all .15s;
}
.chips label:hover span { border-color: #4a4a50; }
.chips input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 700; }
.chips input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lead-error { color: #FF8A80; font-weight: 600; font-size: .93rem; }
@media (min-width: 560px) { .lead-form { padding: 34px 32px 28px; } }

/* ---------- 18. Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: rgba(8, 8, 9, .96);
}
.lightbox[open] { display: grid; place-items: center; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 12px 24px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lb-close { z-index: 2; top: 14px; right: 14px; }
.lb-nav {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(27, 27, 31, .85); font-size: 2rem; line-height: 1;
}
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-nav:hover { color: var(--yellow); border-color: var(--yellow); }

/* ---------- 19. Animações ---------- */
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
