/* ==========================================================================
   CLÃ DA QUÍMICA — Design System v2 (Plataforma de Alto Valor)
   Identidade oficial: Preto Grafite • Branco Puro • Laranja Fogo (#FF5200)
   ========================================================================== */

:root {
  --brand: #FF5200;
  --brand-hover: #FF6A1A;
  --brand-amber: #F58216;
  --brand-gold: #F5B742;
  --brand-copper: #6E2208;
  --brand-glow: rgba(255, 82, 0, 0.3);
  --brand-soft: rgba(255, 82, 0, 0.13);

  --alfa: #10B981;
  --alfa-soft: rgba(16, 185, 129, 0.15);
  --beta: #F59E0B;
  --beta-soft: rgba(245, 158, 11, 0.16);
  --gama: #EF4444;
  --gama-soft: rgba(239, 68, 68, 0.16);

  --success: #10B981;
  --danger: #EF4444;
  --info: #38BDF8;

  --bg: #070709;
  --bg-elevated: #111115;
  --bg-card: #15151B;
  --bg-card-hover: #1E1E26;
  --bg-input: #0D0D11;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);
  --text: #F8F8FA;
  --text-muted: #A1A1B0;
  --text-soft: #747486;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
  --radius: 16px;
  --radius-sm: 10px;
}

[data-theme="light"] {
  --brand: #EB4A00;
  --brand-hover: #D44100;
  --brand-glow: rgba(235, 74, 0, 0.18);
  --brand-soft: rgba(235, 74, 0, 0.1);

  --bg: #F4F5F7;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F9FAFB;
  --bg-input: #F1F2F6;
  --border: rgba(17, 17, 24, 0.09);
  --border-strong: rgba(17, 17, 24, 0.18);
  --text: #111118;
  --text-muted: #525263;
  --text-soft: #76768A;
  --shadow: 0 12px 30px rgba(17, 17, 24, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  transition: background 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

button, input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

/* Logos inteligentes (fundo invisível no escuro e no claro) */
.brand-logo { display: block; object-fit: contain; user-select: none; }
.logo-dark { display: block; mix-blend-mode: lighten; }
.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: block; mix-blend-mode: multiply; }

/* ==========================================================================
   Botões & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.93rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-amber));
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--brand-glow);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, #F5B742, #D98A1B);
  color: #141008;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(245, 183, 66, 0.28);
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover:not(:disabled) { background: var(--bg-card-hover); border-color: var(--brand); }

.btn-ghost { background: transparent; color: var(--text-muted); padding: 8px 12px; }
.btn-ghost:hover { color: var(--text); background: var(--bg-card-hover); }

.btn-success { background: var(--success); color: #FFFFFF; }
.btn-danger-outline { background: transparent; border-color: rgba(239, 68, 68, 0.45); color: var(--danger); }
.btn-sm { padding: 7px 13px; font-size: 0.83rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-brand { background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(255, 82, 0, 0.32); }
.badge-gold { background: rgba(245, 183, 66, 0.16); color: #F5B742; border: 1px solid rgba(245, 183, 66, 0.45); }
.badge-alfa { background: var(--alfa-soft); color: var(--alfa); border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-beta { background: var(--beta-soft); color: var(--beta); border: 1px solid rgba(245, 158, 11, 0.38); }
.badge-gama { background: var(--gama-soft); color: var(--gama); border: 1px solid rgba(239, 68, 68, 0.38); }
.badge-neutral { background: var(--bg-input); color: var(--text-muted); border: 1px solid var(--border); }
.badge-free { background: rgba(16, 185, 129, 0.16); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.35); }

/* ==========================================================================
   Barra do Protótipo no Topo
   ========================================================================== */
.demo-switcher {
  background: linear-gradient(90deg, #131318, #24120A, #131318);
  border-bottom: 1px solid rgba(255, 82, 0, 0.28);
  padding: 7px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: #EAEAEF;
  position: sticky;
  top: 0;
  z-index: 90;
}
.demo-switcher-left { display: flex; align-items: center; gap: 8px; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.demo-switcher-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.demo-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F4F4F8;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.demo-pill:hover { border-color: var(--brand); }
.demo-pill.active { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }

/* ==========================================================================
   SITE PÚBLICO — CABEÇALHO & BANNER BLACK NOVEMBER 2027 (ESTILO PRINT 1)
   ========================================================================== */
.public-header {
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.public-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.public-brand img { height: 52px; width: auto; }
.public-nav { display: flex; align-items: center; gap: 20px; }
.public-nav a, .public-nav button.nav-link-btn {
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.public-nav a:hover, .public-nav button.nav-link-btn:hover { color: var(--brand); }

.btn-loja-highlight {
  background: rgba(255, 82, 0, 0.14) !important;
  border: 1px solid rgba(255, 82, 0, 0.45) !important;
  color: var(--brand) !important;
  padding: 6px 13px !important;
  border-radius: 999px;
  font-weight: 700 !important;
}
.btn-loja-highlight:hover {
  background: var(--brand) !important;
  color: #fff !important;
}

.public-actions { display: flex; align-items: center; gap: 9px; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* Banner cinematográfico estilo Black November (Print 1 adaptado para Clã da Química) */
.bn-hero-wrap {
  margin-top: 8px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 78% 45%, rgba(255, 82, 0, 0.34), transparent 52%),
    radial-gradient(circle at 15% 15%, rgba(245, 130, 22, 0.18), transparent 45%),
    linear-gradient(135deg, #050507 0%, #120906 58%, #07070A 100%);
  border: 1px solid rgba(255, 82, 0, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
}

.bn-hero-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF5200, #F5B742, #FF5200, transparent);
}

.bn-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  padding: 0 0 0 38px;
  align-items: stretch;
}

.bn-hero-left {
  padding: 28px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.bn-bracket-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.bn-bracket-tag .bracket { color: #FF5200; font-size: 1.15rem; }
.bn-bracket-tag .neon-word {
  color: #FF7833;
  text-shadow: 0 0 14px rgba(255, 82, 0, 0.75);
}

.bn-hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
  font-size: clamp(2.1rem, 3.85vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.03;
}
.bn-hero-title .neon-brand {
  display: inline;
  font-size: inherit;
  white-space: nowrap;
  color: #FF5200;
  text-shadow: 0 0 30px rgba(255, 82, 0, 0.78);
}

.bn-courses-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.bn-diferencial-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  max-width: 590px;
  padding: 12px 20px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 82, 0, 0.24) 0%, rgba(245, 183, 66, 0.16) 55%, rgba(255, 82, 0, 0.08) 100%);
  border: 1.5px solid rgba(245, 183, 66, 0.76);
  border-left: 4px solid #F5B742;
  box-shadow: 0 0 28px rgba(255, 82, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.bn-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 590px;
  padding: 13px 16px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(245, 183, 66, 0.2) 0%, rgba(255, 82, 0, 0.12) 60%, rgba(245, 183, 66, 0.08) 100%);
  border: 1.5px solid rgba(245, 183, 66, 0.65);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.bn-proof-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.bn-proof-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  gap: 4px 8px;
  line-height: 1.25;
}
.bn-proof-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 1.48vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #F5B742;
  text-shadow: 0 0 16px rgba(245, 183, 66, 0.35);
}
.bn-proof-text em {
  font-style: normal;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.98rem, 1.42vw, 1.12rem);
  font-weight: 700;
  color: #FFFFFF;
}

.bn-diferencial-kicker {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #F5B742;
}

.bn-diferencial-value {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.14rem, 1.95vw, 1.44rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(255, 82, 0, 0.38);
}

.bn-new-courses-block {
  width: 100%;
  max-width: 590px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-bottom: 16px;
}

.bn-new-courses-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #F5B742;
  margin-bottom: 8px;
}

.bn-courses-pills-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
}

.bn-course-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 130, 50, 0.42);
  color: #F4F4FA;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.bn-course-pill:hover {
  background: #FF5200;
  border-color: #FF5200;
  color: #FFFFFF;
  transform: translateY(-1px);
}
.bn-course-pill-new {
  width: 100%;
  text-align: center;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 130, 50, 0.5);
  color: #FFF4E6;
  font-size: 0.84rem;
}
.bn-course-pill-new:hover {
  background: linear-gradient(135deg, #FF6A00, #FF4500);
  border-color: #F5B742;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(255, 82, 0, 0.32);
}

.bn-hero-sub {
  color: #D4D4DF;
  font-size: 0.97rem;
  max-width: 590px;
  margin-bottom: 11px;
}
.bn-hero-sub-lead {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #F2F2F8;
  margin-bottom: 0;
}
.bn-hero-sub-detail {
  display: block;
  color: #D8D8E4;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bn-offer-card {
  width: 100%;
  max-width: 590px;
  padding: 18px 22px 15px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(16, 10, 8, 0.68) 100%);
  border: 1px solid rgba(255, 118, 48, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.bn-offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bn-offer-kicker {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FF8747;
  margin-bottom: 0;
}

.bn-lote-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 183, 66, 0.12);
  border: 1px solid rgba(245, 183, 66, 0.42);
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F7C766;
}

.bn-lote-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6A1A;
  box-shadow: 0 0 8px rgba(255, 106, 26, 0.9);
}

.bn-offer-price-block {
  margin-bottom: 14px;
}

.bn-price-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  line-height: 1.05;
  margin-bottom: 6px;
}

.bn-price-x {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  font-weight: 600;
  color: #E2E2EC;
}

.bn-price-main {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.15rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 4px 22px rgba(255, 82, 0, 0.25);
}

.bn-price-cash {
  font-size: 0.88rem;
  font-weight: 500;
  color: #B8B8C8;
  letter-spacing: 0.01em;
}

.bn-offer-footer {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.bn-access-info {
  font-size: 0.84rem;
  font-weight: 600;
  color: #DCDCE8;
  letter-spacing: 0.01em;
}

.bn-daily-info {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #F7C766;
  letter-spacing: 0.01em;
}

.bn-shipping-note {
  font-size: 0.81rem;
  color: #C8C8D8;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.bn-hero-cta-row {
  width: 100%;
  max-width: 590px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.bn-cta-main {
  width: 100%;
  padding: 16px 26px;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #FF7300 0%, #FF4D00 58%, #E63900 100%);
  border: 1px solid rgba(255, 220, 160, 0.55);
  box-shadow: 0 12px 30px rgba(255, 82, 0, 0.48), 0 0 20px rgba(255, 130, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.bn-cta-main:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 82, 0, 0.58), 0 0 26px rgba(255, 150, 40, 0.36);
}

.bn-guarantee {
  font-size: 0.84rem;
  color: #D0D0DF;
  border-left: none;
  padding-left: 0;
  text-align: center;
  line-height: 1.45;
}

/* Foto Oficial do Prof. Welff Jr + Aprovados Medicina integrada ao Banner */
.bn-photo-real {
  align-self: stretch;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bn-photo-real img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 100%);
}

.bn-photo-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  background: rgba(9, 9, 13, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 82, 0, 0.45);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.bn-person-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 12px;
  background: rgba(9, 9, 13, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 110, 38, 0.52);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
  line-height: 1.12;
  pointer-events: none;
}

.bn-person-tag::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: rgba(9, 9, 13, 0.85);
  border-right: 1px solid rgba(255, 110, 38, 0.52);
  border-bottom: 1px solid rgba(255, 110, 38, 0.52);
  transform: rotate(45deg);
}

.bn-person-tag-igor {
  top: 12px;
  left: 27%;
  transform: translateX(-50%);
}
.bn-person-tag-igor::after {
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.bn-person-tag-allana {
  top: 12px;
  right: 16px;
}
.bn-person-tag-allana::after {
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.bn-person-tag-prof {
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 15px;
  max-width: calc(100% - 24px);
}
.bn-person-tag-prof::after {
  bottom: auto;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(225deg);
}
.bn-person-tag-prof .bn-person-text strong {
  font-size: 0.9rem;
}
.bn-person-tag-prof .bn-person-text span {
  font-size: 0.74rem;
}

.bn-person-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF6A1A;
  box-shadow: 0 0 10px rgba(255, 106, 26, 0.9);
  flex-shrink: 0;
}

.bn-person-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.bn-person-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.bn-person-text span {
  font-size: 0.66rem;
  font-weight: 700;
  color: #F5B742;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Guia Rápido Visual para Pais, Mães e Alunos */
.chooser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.chooser-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chooser-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px var(--brand-glow);
}

.chooser-question {
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand);
}

/* ==========================================================================
   HALL DOS MEDMONSTROS (PROVA SOCIAL DE IMPACTO LOGO APÓS A CAPA)
   ========================================================================== */
.hall-section {
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF6EE;
  --bg-input: #FFFFFF;
  --border: rgba(17, 17, 24, 0.1);
  --border-strong: rgba(255, 82, 0, 0.3);
  --text: #14141C;
  --text-muted: #454556;
  --text-soft: #68687A;

  margin-top: 30px;
  padding: 36px 28px 30px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top center, rgba(255, 82, 0, 0.08), transparent 52%),
    radial-gradient(circle at bottom right, rgba(245, 183, 66, 0.1), transparent 48%),
    linear-gradient(145deg, #FFFFFF 0%, #FFF8F2 52%, #FFFFFF 100%);
  border: 1.5px solid rgba(255, 82, 0, 0.3);
  box-shadow: 0 20px 48px rgba(17, 17, 24, 0.1);
  color: #14141C;
}

.hall-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 24px;
}

.hall-header .badge-gold {
  background: rgba(245, 183, 66, 0.18);
  color: #B45309;
  border-color: rgba(217, 119, 6, 0.4);
}

.hall-header p {
  color: #454556 !important;
}

.hall-header p strong {
  color: #14141C;
}

.hall-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.04;
  color: #14141C;
  margin: 10px 0 12px;
}

.hall-title .hall-glow {
  background: linear-gradient(90deg, #D93800 0%, #FF5200 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(255, 82, 0, 0.2));
}

.hall-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.hall-stat-pill {
  background: #FFFFFF;
  border: 1px solid rgba(255, 82, 0, 0.3);
  box-shadow: 0 4px 12px rgba(17, 17, 24, 0.05);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #14141C;
}

.hall-mural-frame {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(245, 183, 66, 0.48);
  background: #070709;
  max-height: 620px;
}

.hall-mural-frame.expanded {
  max-height: none;
}

.hall-mural-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  cursor: zoom-in;
}

.hall-mural-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(to top, rgba(7, 7, 10, 0.96) 15%, rgba(7, 7, 10, 0.65) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.hall-mural-frame.expanded .hall-mural-fade {
  display: none;
}

.hall-actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================================
   TERCEIRA SEÇÃO — TUDO O QUE VOCÊ RECEBE NO EXTENSIVO MED 2027
   ========================================================================== */
.entregaveis-section {
  margin-top: 30px;
  padding: 40px 32px 34px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 82, 0, 0.2), transparent 44%),
    radial-gradient(circle at 88% 85%, rgba(245, 183, 66, 0.14), transparent 46%),
    linear-gradient(145deg, #070505 0%, #140A06 54%, #090708 100%);
  border: 1.5px solid rgba(255, 82, 0, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

.entregaveis-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF5200, #F5B742, #FF5200, transparent);
}

.entregaveis-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
}

.entregaveis-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.65rem, 3.1vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.entregaveis-highlight {
  color: #FF5200;
  text-shadow: 0 0 24px rgba(255, 82, 0, 0.65);
}

.entregaveis-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.06rem);
  color: #D2D2DF;
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto;
}

.entregaveis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.entregavel-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05) 0%, rgba(18, 11, 8, 0.82) 100%);
  border: 1px solid rgba(255, 118, 48, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.entregavel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 102, 26, 0.68);
  box-shadow: 0 14px 30px rgba(255, 82, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.entregavel-card-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.entregavel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255, 82, 0, 0.18) 0%, rgba(245, 183, 66, 0.12) 100%);
  border: 1px solid rgba(255, 128, 48, 0.42);
  box-shadow: 0 0 16px rgba(255, 82, 0, 0.16);
}

.entregavel-icon svg {
  width: 23px;
  height: 23px;
  display: block;
}

.entregavel-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.entregavel-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #FFFFFF;
}

.entregavel-body p {
  font-size: 0.85rem;
  line-height: 1.48;
  color: #C9C9D8;
  margin: 0;
}

.entregaveis-footer-banner {
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(90deg, rgba(255, 82, 0, 0.22) 0%, rgba(245, 183, 66, 0.18) 50%, rgba(255, 82, 0, 0.22) 100%);
  border: 1.5px solid rgba(245, 183, 66, 0.65);
  box-shadow: 0 10px 28px rgba(255, 82, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.entregaveis-footer-banner p {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.96rem, 1.55vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  margin: 0;
}

@media (max-width: 1024px) {
  .entregaveis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .entregavel-card-wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .entregaveis-section {
    padding: 28px 16px 24px;
    border-radius: 20px;
  }
  .entregaveis-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .entregavel-card,
  .entregavel-card-wide {
    flex-direction: row;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 14px;
  }
  .entregaveis-footer-banner {
    padding: 15px 14px;
  }
}

/* ==========================================================================
   SEÇÃO — CONHEÇA O MONSTRO (PROF. WELFF JR)
   ========================================================================== */
.monstro-section {
  margin-top: 30px;
  padding: 38px 34px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 82, 0, 0.09), transparent 46%),
    radial-gradient(circle at 10% 88%, rgba(245, 183, 66, 0.1), transparent 44%),
    linear-gradient(145deg, #FFFFFF 0%, #FFF8F2 52%, #FFFFFF 100%);
  border: 1.5px solid rgba(255, 82, 0, 0.28);
  box-shadow: 0 20px 48px rgba(17, 17, 24, 0.09);
  color: #14141C;
}

.monstro-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF5200, #F5B742, #FF5200, transparent);
}

.monstro-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 32px;
  align-items: center;
}

.monstro-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.monstro-photo-frame {
  position: relative;
  width: 100%;
  max-width: 390px;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 82, 0, 0.36);
  box-shadow: 0 20px 44px rgba(17, 17, 24, 0.18), 0 6px 20px rgba(255, 82, 0, 0.12);
  background: #0A0605;
}

.monstro-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.monstro-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.monstro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D94400;
  background: rgba(255, 82, 0, 0.1);
  border: 1px solid rgba(255, 82, 0, 0.32);
  margin-bottom: 12px;
}

.monstro-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #14141C;
  margin-bottom: 8px;
}

.monstro-highlight {
  color: #FF5200;
  text-shadow: 0 4px 18px rgba(255, 82, 0, 0.22);
}

.monstro-role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #C84B00;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.monstro-bio {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
}

.monstro-bio p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: #3D3D4E;
  margin: 0;
}

.monstro-bio strong {
  color: #14141C;
  font-weight: 700;
}

.monstro-promise-inline {
  color: #E04600 !important;
  font-weight: 800 !important;
}

.monstro-manifesto {
  position: relative;
  margin-top: 28px;
  padding: 28px 28px 24px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 82, 0, 0.1), transparent 70%),
    linear-gradient(135deg, #FFF3E8 0%, #FFFFFF 50%, #FFF7E6 100%);
  border: 1.5px solid rgba(255, 82, 0, 0.34);
  box-shadow: 0 12px 30px rgba(255, 82, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.monstro-manifesto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5B742, #FF5200, #F5B742, transparent);
}

.monstro-manifesto-lead {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.98rem, 1.45vw, 1.16rem);
  font-weight: 600;
  color: #2E2E3A;
  line-height: 1.4;
  max-width: 760px;
}

.monstro-manifesto-main {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.1;
  background: linear-gradient(90deg, #C93600 0%, #FF5200 52%, #D47A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(255, 82, 0, 0.18));
}

.monstro-manifesto-sign {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B84300;
}

.monstro-sign-line {
  width: 34px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 82, 0, 0.65), transparent);
}

.monstro-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-top: 26px;
}

.monstro-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(255, 82, 0, 0.22);
  box-shadow: 0 8px 22px rgba(17, 17, 24, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.monstro-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 82, 0, 0.58);
  box-shadow: 0 12px 26px rgba(255, 82, 0, 0.1);
}

.monstro-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1B110C 0%, #2D170C 100%);
  border: 1px solid rgba(255, 110, 38, 0.5);
  box-shadow: 0 6px 14px rgba(255, 82, 0, 0.16);
}

.monstro-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.monstro-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: #14141C;
  margin-bottom: 4px;
}

.monstro-card p {
  font-size: 0.84rem;
  line-height: 1.48;
  color: #4F4F62;
  margin: 0;
}

@media (max-width: 1024px) {
  .monstro-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .monstro-section {
    padding: 28px 18px;
    border-radius: 20px;
  }
  .monstro-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .monstro-photo-frame {
    max-width: 360px;
  }
  .monstro-manifesto {
    margin-top: 22px;
    padding: 22px 16px 20px;
  }
}

@media (max-width: 600px) {
  .monstro-cards {
    grid-template-columns: 1fr;
  }
  .monstro-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CAIXAS DOS 4 CURSOS BLACK NOVEMBER 2027 (ESTILO PRINT 2)
   ========================================================================== */
#planos-bn {
  --brand: #FF5200;
  --brand-hover: #FF6A1A;
  --brand-glow: rgba(255, 82, 0, 0.3);
  --brand-soft: rgba(255, 82, 0, 0.15);
  --bg: #070505;
  --bg-elevated: #120B08;
  --bg-card: #16100E;
  --bg-card-hover: #211612;
  --bg-input: #0D0908;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 130, 60, 0.26);
  --text: #F8F8FA;
  --text-muted: #C2C2D2;
  --text-soft: #9696A8;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.45);

  margin-top: 30px;
  padding: 40px 30px 34px !important;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 82, 0, 0.2), transparent 44%),
    radial-gradient(circle at 86% 90%, rgba(245, 183, 66, 0.14), transparent 46%),
    linear-gradient(145deg, #070505 0%, #140A06 54%, #090708 100%);
  border: 1.5px solid rgba(255, 82, 0, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.5);
  color: var(--text);
}

#planos-bn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF5200, #F5B742, #FF5200, transparent);
}

#planos-bn .section-head h2,
#planos-bn h3 {
  color: #FFFFFF;
}

#planos-bn .section-head p,
#planos-bn p {
  color: var(--text-muted);
}

#planos-bn .plan-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045) 0%, rgba(18, 11, 8, 0.9) 100%);
  border-color: rgba(255, 118, 48, 0.26);
}

#planos-bn .plan-card.featured {
  background: radial-gradient(circle at top center, rgba(255, 82, 0, 0.2), transparent 55%), #16100E;
  border-color: #FF5200;
}

#planos-bn .plan-card.coming-soon {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.12);
}

#planos-bn .card,
#planos-bn .table-wrap {
  background: rgba(20, 13, 10, 0.88);
  border-color: rgba(255, 118, 48, 0.24);
  color: var(--text);
}

#planos-bn th {
  background: rgba(255, 82, 0, 0.1);
  color: #F5B742;
}

#planos-bn td {
  color: var(--text);
}

@media (max-width: 640px) {
  #planos-bn {
    padding: 28px 16px 24px !important;
    border-radius: 20px;
  }
}

.lotes-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 18px auto 30px;
}

.lote-item {
  padding: 10px 13px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.lote-item.lote-open {
  background: linear-gradient(145deg, rgba(245, 183, 66, 0.12) 0%, rgba(255, 82, 0, 0.08) 100%);
  border-color: rgba(245, 183, 66, 0.5);
  box-shadow: 0 6px 18px rgba(255, 82, 0, 0.12);
}

.lote-item.lote-closed {
  opacity: 0.58;
}

.lote-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.lote-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.lote-dot-open {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
  flex-shrink: 0;
}

.lote-status-open {
  font-family: 'Outfit', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.lote-status-closed {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #A1A1B5;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lote-meta {
  font-size: 0.74rem;
  color: #C9C9D8;
  line-height: 1.2;
}

.lote-item.lote-open .lote-meta {
  color: #F7C766;
  font-weight: 600;
}

@media (max-width: 640px) {
  .lotes-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 28px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--brand); }

.plan-card.featured {
  background: radial-gradient(circle at top center, rgba(255, 82, 0, 0.16), transparent 55%), var(--bg-card);
  border: 1.5px solid var(--brand);
  box-shadow: 0 20px 44px var(--brand-glow);
}

.plan-top-pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #FFFFFF;
  color: #111118;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
.plan-card.featured .plan-top-pill {
  background: linear-gradient(135deg, #F5B742, #FF5200);
  color: #FFFFFF;
}
.plan-card.coming-soon {
  border-color: var(--border);
}
.plan-card.coming-soon:hover {
  border-color: var(--border-strong);
}
.plan-card.coming-soon .plan-top-pill {
  background: var(--bg-input);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.plan-card.coming-soon .plan-price-box {
  padding: 22px 14px;
  border-style: dashed;
}

/* Blocos de Turmas (Painel Admin & Área do Aluno) */
.turma-selector-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
}
.turma-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.turma-pill-btn:hover {
  border-color: var(--brand);
  color: var(--text);
}
.turma-pill-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}
.turma-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.turma-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.turma-check-pill input {
  accent-color: var(--brand);
}

.plan-checklist {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 16px 0 20px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.plan-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan-checklist li::before {
  content: "✓";
  color: #10B981;
  font-weight: 900;
  flex-shrink: 0;
}

.plan-price-box {
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  margin-bottom: 14px;
}
.plan-price-old {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-decoration: line-through;
}
.plan-price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.78rem;
  font-weight: 800;
  color: var(--text);
  margin: 2px 0;
}
.plan-card.featured .plan-price-main { color: #F5B742; }
.plan-price-inst { font-size: 0.82rem; font-weight: 700; color: var(--brand); }

/* ==========================================================================
   GALERIA CLÃ PRESENCIAL (MANAUS — FORA DA BLACK)
   ========================================================================== */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.photo-placeholder-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.photo-placeholder-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 82, 0, 0.45);
}
.photo-frame {
  height: 170px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 82, 0, 0.22), transparent 60%),
    linear-gradient(135deg, #16161D, #0E0E13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: #EAEAF0;
}
.photo-frame.has-photo {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #0B0B0F;
}
.photo-frame.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.photo-placeholder-card:hover .photo-frame.has-photo img {
  transform: scale(1.04);
}
.photo-tag-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  color: #FFFFFF;
  background: rgba(14, 14, 19, 0.8);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 115, 50, 0.6);
}
.photo-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(14, 14, 19, 0.76);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 9px;
  border-radius: 999px;
  opacity: 0.88;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.photo-placeholder-card:hover .photo-zoom-hint {
  opacity: 1;
  background: rgba(255, 82, 0, 0.9);
}
.photo-card-body {
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.photo-card-title {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.3;
}

/* ==========================================================================
   SEÇÕES, GRIDS E CARDS GERAIS
   ========================================================================== */
.section-block { padding: 54px 0; border-top: 1px solid var(--border); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); margin-top: 8px; }
.section-head p { color: var(--text-muted); max-width: 660px; margin-top: 6px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card-hover:hover { border-color: rgba(255, 82, 0, 0.45); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.91rem; }

.subtabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.subtab-btn {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s;
}
.subtab-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.patentes-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.patente-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 10px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.patente-mini:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.patente-mini.patente-locked {
  border-style: dashed;
  border-color: rgba(255, 82, 0, 0.28);
}
.patente-mini.patente-max {
  border-color: rgba(245, 183, 66, 0.55);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 183, 66, 0.16), transparent 70%),
    var(--bg-card);
}
.patente-mini .p-icon { font-size: 1.7rem; margin-bottom: 5px; }
.patente-mini strong { display: block; font-size: 0.9rem; margin-top: 2px; }
.patente-mini small { color: var(--text-muted); font-size: 0.75rem; }
.patente-mini .patente-sub {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--text-soft);
}
.patente-mini.patente-max .patente-sub {
  color: var(--brand-gold);
  font-weight: 700;
}
.patentes-footnote {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.public-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 42px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* ==========================================================================
   LOJA DO CLÃ + CALCULADORA DE FRETE (GRÁTIS MANAUS)
   ========================================================================== */
.store-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.frete-box {
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 15px;
  margin: 14px 0;
}
.frete-manaus-badge {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #10B981;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 10px;
}

/* ==========================================================================
   LOGIN & BLOQUEIO CAKTO
   ========================================================================== */
.login-shell {
  min-height: calc(100vh - 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background: radial-gradient(circle at top center, rgba(255, 82, 0, 0.14), transparent 50%);
}
.login-card {
  width: 100%;
  max-width: 450px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.login-logo { display: flex; justify-content: center; margin-bottom: 16px; }
.login-logo img { height: 88px; width: auto; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); }
.textarea { min-height: 88px; resize: vertical; }

/* ==========================================================================
   SHELL DO APP (ALUNO / PROFESSOR)
   ========================================================================== */
.app-shell {
  display: grid;
  grid-template-columns: 272px 1fr;
  min-height: calc(100vh - 44px);
}
.sidebar {
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 44px;
  height: calc(100vh - 44px);
  overflow-y: auto;
}
.sidebar-logo { display: flex; align-items: center; justify-content: center; padding: 4px 8px 10px; border-bottom: 1px solid var(--border); }
.sidebar-logo img { height: 58px; width: auto; }
.sidebar-user-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.sidebar-user-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar-circle {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-amber));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.xp-bar-track { width: 100%; height: 8px; background: var(--bg-input); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.xp-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-amber)); border-radius: 999px; transition: width 0.45s ease; }

.nav-list { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 11px; border-radius: 10px; background: transparent; border: 1px solid transparent;
  color: var(--text-muted); font-size: 0.88rem; font-weight: 600; cursor: pointer; text-align: left; transition: all 0.16s;
}
.nav-item-left { display: flex; align-items: center; gap: 9px; }
.nav-item:hover { background: var(--bg-card-hover); color: var(--text); }
.nav-item.active { background: var(--brand-soft); color: var(--brand); border-color: rgba(255, 82, 0, 0.32); }
.nav-counter { font-size: 0.72rem; padding: 2px 7px; border-radius: 999px; background: var(--danger); color: #fff; font-weight: 700; }

.app-main { padding: 26px 30px 60px; max-width: 1120px; width: 100%; margin: 0 auto; }
.page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.page-header h1 { font-size: 1.7rem; }
.page-header p { color: var(--text-muted); font-size: 0.92rem; margin-top: 3px; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 15px; padding: 17px; }
.kpi-label { font-size: 0.79rem; color: var(--text-muted); font-weight: 600; }
.kpi-value { font-size: 1.58rem; font-weight: 800; margin-top: 6px; font-family: 'Outfit', sans-serif; }
.kpi-sub { font-size: 0.77rem; color: var(--text-soft); margin-top: 4px; }

/* ==========================================================================
   QUESTÕES, SUPERPROFESSOR & CADERNO DE ERROS INTELIGENTE
   ========================================================================== */
.filters-bar {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 15px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px;
}

.question-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin-bottom: 16px;
}
.question-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--border);
}
.question-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.question-enunciado { white-space: pre-line; font-size: 0.96rem; line-height: 1.62; margin-bottom: 16px; }
.options-list { display: flex; flex-direction: column; gap: 8px; }
.option-btn {
  width: 100%; display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px;
  border-radius: 11px; border: 1px solid var(--border-strong); background: var(--bg-input);
  text-align: left; cursor: pointer; font-size: 0.93rem; transition: all 0.16s;
}
.option-btn:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); }
.option-letter {
  width: 26px; height: 26px; border-radius: 7px; background: var(--bg-card); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.81rem; flex-shrink: 0;
}
.option-btn.selected { border-color: var(--brand); background: var(--brand-soft); }
.option-btn.correct { border-color: var(--success); background: rgba(16, 185, 129, 0.16); }
.option-btn.correct .option-letter { background: var(--success); color: #fff; border-color: var(--success); }
.option-btn.wrong { border-color: var(--danger); background: rgba(239, 68, 68, 0.15); }
.option-btn.wrong .option-letter { background: var(--danger); color: #fff; border-color: var(--danger); }

.resolution-box {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--bg-input);
  border-left: 4px solid var(--brand); white-space: pre-line; font-size: 0.9rem;
}
.resolution-box strong { display: block; margin-bottom: 5px; color: var(--brand); }

.sp-sticky-bar {
  background: linear-gradient(135deg, rgba(255, 82, 0, 0.16), rgba(16, 185, 129, 0.08)), var(--bg-card);
  border: 1px solid rgba(255, 82, 0, 0.42);
  border-radius: 16px;
  padding: 15px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.error-progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.error-stat-pill {
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.83rem;
}

/* ==========================================================================
   FLASHCARDS 3D, SIMULADOS, AULAS E TABELAS
   ========================================================================== */
.flashcard-stage { perspective: 1100px; max-width: 640px; margin: 18px auto; }
.flashcard-inner {
  position: relative; width: 100%; min-height: 265px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); transform-style: preserve-3d; cursor: pointer;
}
.flashcard-inner.flipped { transform: rotateY(180deg); }
.flashcard-face {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at top right, rgba(255, 82, 0, 0.14), transparent 60%), var(--bg-card);
  box-shadow: var(--shadow);
}
.flashcard-back {
  transform: rotateY(180deg); border-color: rgba(255, 82, 0, 0.5);
  background: radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.14), transparent 60%), var(--bg-card);
}
.flashcard-face h3 { font-size: 1.22rem; white-space: pre-line; margin: 12px 0; }
.flash-rate-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px; margin: 14px auto 0; }

.sim-topbar {
  background: var(--bg-card); border: 1px solid rgba(255, 82, 0, 0.4); border-radius: 16px;
  padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}
.timer-pill { font-family: 'Outfit', monospace; font-size: 1.3rem; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 6px 14px; border-radius: 10px; }
.sim-nav-dots { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.sim-dot { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--bg-card); font-weight: 700; cursor: pointer; }
.sim-dot.current { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-glow); }
.sim-dot.answered { background: var(--brand); color: #fff; border-color: var(--brand); }

.video-frame-placeholder {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 16px;
  background: radial-gradient(circle at center, rgba(255, 82, 0, 0.25), #09090B 72%);
  border: 1px solid var(--border-strong); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: #FFFFFF;
}
.play-ring {
  width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-amber));
  display: flex; align-items: center; justify-content: center; font-size: 1.55rem;
  box-shadow: 0 0 30px rgba(255, 82, 0, 0.55); cursor: pointer;
}

.table-wrap { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border); }
th { font-size: 0.77rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); background: var(--bg-input); }
.raiox-bar-wrap { height: 10px; border-radius: 999px; background: var(--bg-input); overflow: hidden; margin: 8px 0; }
.raiox-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand-amber), var(--danger)); border-radius: 999px; }

/* Modal & Toast */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.74); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 150;
}
.modal-box {
  width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto;
  background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 20px; padding: 26px; box-shadow: var(--shadow);
}
.toast-container { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--bg-card); border: 1px solid var(--brand); color: var(--text);
  padding: 13px 18px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  font-size: 0.89rem; font-weight: 600; animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Folha limpa de impressão de PDF (estilo SuperProfessor) */
.pdf-sheet {
  background: #FFFFFF;
  color: #111118;
  border-radius: 12px;
  padding: 24px;
  font-size: 0.9rem;
}
.pdf-sheet h3, .pdf-sheet h4 { color: #111118; }

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body * { visibility: hidden; }
  #pdf-printable-area, #pdf-printable-area * { visibility: visible; }
  #pdf-printable-area {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 8px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    color: #000000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   CABEÇALHO FIXO COM REDES SOCIAIS (WHATSAPP, INSTAGRAM, YOUTUBE, TIKTOK)
   ========================================================================== */
.public-header-sticky {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .public-header-sticky {
  background: rgba(255, 255, 255, 0.94);
}

.social-strip-inner {
  padding-top: 6px;
  padding-bottom: 6px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-strip-label {
  font-size: 0.77rem;
  color: var(--text-soft);
  font-weight: 600;
  white-space: nowrap;
}

.social-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

@media (max-width: 1080px) {
  .social-strip-inner {
    flex-wrap: wrap;
  }
  .social-bar {
    flex-wrap: wrap;
  }
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}

.social-btn:hover { transform: translateY(-1px); }
.social-btn.wa { border-color: rgba(37, 211, 102, 0.5); color: #25D366; }
.social-btn.wa:hover { background: #25D366; color: #09130C; }
.social-btn.ig { border-color: rgba(225, 48, 108, 0.5); color: #F45D8E; }
.social-btn.ig:hover { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); color: #fff; border-color: transparent; }
.social-btn.yt { border-color: rgba(255, 0, 0, 0.42); color: #FF4D4D; }
.social-btn.yt:hover { background: #FF0000; color: #fff; }
.social-btn.tt { border-color: rgba(0, 242, 234, 0.42); color: #2EE8E1; }
.social-btn.tt:hover { background: #111118; color: #fff; border-color: #FE2C55; }

/* Contador de Visitas (Barra Superior & Rodapé) */
.visit-counter-mini,
.visit-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid rgba(255, 82, 0, 0.36);
  background: var(--bg-card);
  color: var(--text);
  white-space: nowrap;
}

.visit-counter-pill {
  padding: 7px 14px;
  font-size: 0.84rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.visit-counter-mini strong,
.visit-counter-pill strong {
  color: var(--brand);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.visit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
  flex-shrink: 0;
}

.public-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   PLANEJADOR SEMANAL DE HORA EM HORA (05:00 ATÉ 00:00)
   ========================================================================== */
.planner-grid-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  max-height: 640px;
  overflow-y: auto;
}

.planner-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.planner-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-elevated);
  border-bottom: 2px solid var(--border-strong);
  text-align: center;
  padding: 10px 6px;
}

.planner-table td {
  border: 1px solid var(--border);
  padding: 4px;
  vertical-align: middle;
  min-width: 106px;
}

.planner-hour-cell {
  font-family: 'Outfit', monospace;
  font-weight: 700;
  color: var(--brand);
  text-align: center !important;
  background: var(--bg-input);
  min-width: 68px !important;
  width: 68px;
}

.slot-cell {
  border-radius: 8px;
  padding: 6px 7px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s;
}

.slot-empty {
  background: transparent;
  color: var(--text-soft);
  justify-content: center;
  font-size: 0.72rem;
  border: 1px dashed transparent;
}
.slot-empty:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.slot-fixed {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--text-muted);
  font-weight: 600;
}

.slot-study {
  background: rgba(255, 82, 0, 0.15);
  border: 1px solid rgba(255, 82, 0, 0.45);
  color: var(--text);
  font-weight: 700;
}

.slot-done {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.7) !important;
  color: #10B981 !important;
}

.slot-missed {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.72) !important;
  color: #F87171 !important;
}

[data-theme="light"] .slot-missed {
  color: #B91C1C !important;
}

/* Cor diferenciada exclusiva para SIMULADO (Roxo / Violeta) */
.slot-simulado {
  background: rgba(139, 92, 246, 0.22);
  border: 1.5px solid #8B5CF6;
  color: #DDD6FE;
  font-weight: 800;
}
[data-theme="light"] .slot-simulado {
  background: #EDE9FE;
  border-color: #7C3AED;
  color: #5B21B6;
}

/* Revisão pós-aula de Química na Sexta-feira */
.slot-revision {
  background: rgba(245, 183, 66, 0.18);
  border: 1.5px solid #F5B742;
  color: var(--text);
  font-weight: 700;
}

.slot-status-btns {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.slot-ok-btn, .slot-no-btn {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.1;
}

.slot-ok-btn:hover { background: rgba(16, 185, 129, 0.28); border-color: #10B981; color: #10B981; }
.slot-no-btn:hover { background: rgba(239, 68, 68, 0.28); border-color: #EF4444; color: #EF4444; }

.slot-done .slot-ok-btn {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}

.slot-missed .slot-no-btn {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

.planner-hour-cell.editable {
  cursor: pointer;
  transition: background 0.15s;
}
.planner-hour-cell.editable:hover {
  background: var(--brand-soft);
}

/* Destaque especial: Clã da Química (Qui 14h–17h30) + Clã Performance (17h45–19h) */
.slot-cla {
  background: linear-gradient(135deg, rgba(255, 82, 0, 0.28), rgba(245, 183, 66, 0.22));
  border: 1.5px solid #FF5200;
  color: #FFFFFF;
  font-weight: 800;
}
[data-theme="light"] .slot-cla {
  color: #7C2D12;
  background: linear-gradient(135deg, rgba(255, 82, 0, 0.16), rgba(245, 183, 66, 0.24));
}

/* Cor diferenciada para o SÁBADO (Dia de Descanso — editável se o aluno quiser) */
.planner-table th.col-sabado {
  background: rgba(56, 189, 248, 0.16);
  color: #38BDF8;
}
.planner-table td.col-sabado {
  background: rgba(56, 189, 248, 0.06);
}
[data-theme="light"] .planner-table th.col-sabado {
  background: #E0F2FE;
  color: #0369A1;
}
[data-theme="light"] .planner-table td.col-sabado {
  background: #F0F9FF;
}

/* Histórico de Semanas Gravadas (Calendário 2027) */
.weeks-history-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.week-chip {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s;
  min-width: 185px;
}
.week-chip:hover { border-color: var(--brand); color: var(--text); }
.week-chip.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--text);
}
.week-chip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.week-chip-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.week-mini-btn {
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.week-mini-btn:hover { border-color: var(--brand); color: var(--brand); }
.week-mini-btn.del:hover { border-color: var(--danger); color: var(--danger); background: rgba(239, 68, 68, 0.12); }

/* ==========================================================================
   MODELO OFICIAL PREENCHÍVEL (BASEADO NA FOLHA DO PROF. WELFF JR)
   ========================================================================== */
.cla-sheet-board {
  background: #FFFFFF;
  color: #141418;
  border-radius: 18px;
  padding: 20px;
  border: 2px solid #18181F;
  box-shadow: var(--shadow);
}

.cla-sheet-top-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.cla-day-box {
  border: 1.5px solid #222;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  background: #FFFFFF;
}

.cla-day-box.rest-day {
  background: #F0F9FF;
  border-color: #0284C7;
}

.cla-day-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 5px 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(245, 183, 66, 0.25), rgba(245, 183, 66, 0.72), rgba(245, 183, 66, 0.25));
  color: #111;
  margin-bottom: 6px;
  border-bottom: 1px solid #333;
}

.cla-day-box.rest-day .cla-day-title {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.22), rgba(56, 189, 248, 0.55), rgba(56, 189, 248, 0.22));
  color: #075985;
}

.cla-sheet-textarea {
  width: 100%;
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  color: #18181F;
  font-size: 0.82rem;
  line-height: 1.48;
  font-family: 'Inter', sans-serif;
}

.cla-sheet-bottom-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1.25fr 1fr;
  gap: 10px;
}

.cla-bottom-box {
  border: 1.5px solid #222;
  border-radius: 10px;
  padding: 8px 10px;
  background: #FFFFFF;
}

.cla-green-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 4px 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(132, 204, 22, 0.22), rgba(132, 204, 22, 0.62), rgba(132, 204, 22, 0.22));
  color: #111;
  margin-bottom: 7px;
  border-bottom: 1px solid #333;
}

.cla-habit-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 8px;
}

.cla-habit-dot {
  height: 30px;
  border-radius: 7px;
  border: 1.5px solid #444;
  background: #FFF;
  color: #222;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.cla-habit-dot.done {
  background: #10B981;
  border-color: #059669;
  color: #FFFFFF;
}

.cla-sheet-input {
  width: 100%;
  border: none;
  border-bottom: 1px dashed #999;
  background: transparent;
  color: #111;
  font-size: 0.82rem;
  padding: 2px 4px;
  outline: none;
}

@media (max-width: 980px) {
  .cla-sheet-top-grid, .cla-sheet-bottom-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cla-sheet-top-grid, .cla-sheet-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .store-layout { grid-template-columns: 1fr; padding: 24px 18px; }
  .bn-hero-grid { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .bn-hero-left { padding: 24px 18px 18px; }
  .bn-photo-real { min-height: 360px; }
  .bn-photo-real img {
    height: auto;
    max-height: 520px;
    object-position: center 20%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%);
  }
  .bn-proof-bar, .bn-diferencial-box, .bn-offer-card, .bn-new-courses-block, .bn-hero-cta-row { width: 100%; max-width: 100%; }
  .bn-offer-highlight, .bn-courses-pills-new { grid-template-columns: 1fr; }
  .bn-price-pill, .bn-lote-badge, .bn-cta-main { width: 100%; align-items: center; text-align: center; }
  .bn-guarantee { border-left: none; padding-left: 0; padding-top: 2px; width: 100%; }
  .bn-photo-caption { max-width: calc(100% - 20px); white-space: normal; text-align: center; }
  .public-nav { display: none; }
  .social-bar { flex-wrap: wrap; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .nav-list { flex-direction: row; flex-wrap: wrap; }
  .nav-item { width: auto; flex: 1 1 140px; }
  .app-main { padding: 20px 16px 48px; }
  .flash-rate-bar { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   VITRINE DE UNIVERSIDADES / BANCAS (PROVAS COMPLETAS PDF)
   ========================================================================== */
#brindes {
  --brand: #FF5200;
  --brand-hover: #FF6A1A;
  --brand-glow: rgba(255, 82, 0, 0.3);
  --brand-soft: rgba(255, 82, 0, 0.15);
  --bg: #070505;
  --bg-elevated: #120B08;
  --bg-card: #16100E;
  --bg-card-hover: #211612;
  --bg-input: #0D0908;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 130, 60, 0.26);
  --text: #F8F8FA;
  --text-muted: #C2C2D2;
  --text-soft: #9696A8;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.45);

  margin-top: 30px;
  padding: 40px 30px 34px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 82, 0, 0.2), transparent 44%),
    radial-gradient(circle at 86% 90%, rgba(245, 183, 66, 0.14), transparent 46%),
    linear-gradient(145deg, #070505 0%, #140A06 54%, #090708 100%);
  border: 1.5px solid rgba(255, 82, 0, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.5);
  color: var(--text);
}

#brindes::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF5200, #F5B742, #FF5200, transparent);
}

#brindes .section-head h2,
#brindes h3 {
  color: #FFFFFF;
}

#brindes .section-head p,
#brindes p {
  color: var(--text-muted);
}

#brindes .univ-intro-bar,
#brindes .univ-card,
#brindes .vunesp-sub-card,
#brindes .card,
#brindes .sp-sticky-bar,
#brindes .filters-bar,
#brindes .assunto-tree-panel {
  background: rgba(20, 13, 10, 0.88);
  border-color: rgba(255, 118, 48, 0.26);
  color: var(--text);
}

#brindes .subtab-btn:not(.active),
#brindes .univ-pill:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 130, 60, 0.28);
  color: #D8D8E6;
}

#brindes .subtab-btn:not(.active):hover,
#brindes .univ-pill:not(.active):hover {
  border-color: #FF5200;
  color: #FFFFFF;
}

#brindes select,
#brindes input,
#brindes .assunto-trigger-btn {
  color-scheme: dark;
  background: #0D0908;
  color: #F8F8FA;
  border-color: rgba(255, 130, 60, 0.28);
}

@media (max-width: 640px) {
  #brindes {
    padding: 28px 16px 24px;
    border-radius: 20px;
  }
}

.univ-intro-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.univ-intro-bar strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text);
}
.univ-intro-bar span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.univ-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.univ-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.univ-card:hover {
  transform: translateY(-4px);
  border-color: var(--univ-color, var(--brand));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.univ-emblem {
  position: relative;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background:
    radial-gradient(circle at 25% 20%, color-mix(in srgb, var(--univ-color, #FF5200) 32%, transparent), transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.22));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.univ-emblem.has-img {
  padding: 0;
}
.univ-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.univ-sigla {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.univ-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: #FFFFFF;
  background: var(--univ-color, var(--brand));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.univ-card-content {
  padding: 14px 15px 10px;
  flex: 1;
}
.univ-card-content h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: var(--text);
}
.univ-card-content p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.univ-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 13px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-soft);
}
.univ-card-footer strong {
  color: var(--univ-color, var(--brand));
  font-size: 0.8rem;
}

.univ-detail-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--univ-color, #FF5200) 14%, transparent), transparent 65%),
    var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--univ-color, #FF5200) 40%, var(--border));
}
.univ-detail-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.univ-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 900;
  color: #FFFFFF;
  background: var(--univ-color, var(--brand));
  letter-spacing: 0.03em;
}
.univ-detail-title h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 2px;
}
.univ-detail-title p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.univ-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.univ-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.2s ease;
}
.univ-pill:hover {
  color: var(--text);
  border-color: var(--brand);
}
.univ-pill.active {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
}

.vunesp-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 12px;
}
.vunesp-sub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 5px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.vunesp-sub-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  background: var(--bg-card-hover);
}
.vunesp-sub-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.vunesp-sigla-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 999px;
}
.vunesp-count {
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 600;
}
.vunesp-sub-card strong {
  font-size: 0.94rem;
  color: var(--text);
}
.vunesp-sub-card small {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--text-muted);
}


/* ==========================================================================
   ÁRVORE EXPANSÍVEL DE ASSUNTOS (ESTILO SUPERPROFESSOR)
   ========================================================================== */
.assunto-trigger-btn {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.assunto-trigger-btn:hover,
.assunto-trigger-btn.open {
  border-color: var(--brand);
}
.assunto-trigger-btn.has-selection {
  border-color: rgba(255, 82, 0, 0.55);
  background: color-mix(in srgb, var(--brand) 10%, var(--bg-input));
}
.assunto-trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.assunto-trigger-caret {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.assunto-tree-panel {
  margin-top: -6px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 82, 0, 0.42);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.assunto-tree-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.assunto-tree-search-wrap {
  flex: 1;
  min-width: 220px;
}
.assunto-tree-search {
  width: 100%;
}
.assunto-tree-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.assunto-tree-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.assunto-tree-body {
  max-height: 390px;
  overflow-y: auto;
  padding: 10px 12px 14px;
}

.tree-area-block + .tree-area-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.tree-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  padding: 4px 8px;
  transition: background 0.16s ease;
}
.tree-row:hover {
  background: var(--bg-card-hover);
}
.tree-row-area {
  background: color-mix(in srgb, var(--text) 5%, transparent);
  margin-bottom: 4px;
}
.tree-row-item.selected {
  background: var(--brand-soft);
}

.tree-chevron-btn {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.tree-chevron-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.tree-chevron-btn.expanded span {
  display: inline-block;
  transform: rotate(90deg);
}

.tree-check-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  padding: 4px 2px;
  cursor: pointer;
}
.tree-box {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.8px solid var(--border-strong);
  background: var(--bg-input);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #FFFFFF;
  flex-shrink: 0;
  transition: all 0.16s ease;
}
.tree-box.checked,
.tree-box.partial {
  background: var(--brand);
  border-color: var(--brand);
}

.tree-label-area {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text);
}
.tree-label-group {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.tree-label-item {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--text);
}
.tree-count-pill {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: 999px;
}
.tree-count-muted {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--text-soft);
  font-weight: 600;
}

.tree-level-2 {
  padding-left: 22px;
  margin-top: 2px;
}
.tree-level-3 {
  padding-left: 34px;
  margin: 2px 0 6px;
}

.assunto-chips-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: -6px;
  margin-bottom: 14px;
}
.assunto-chips-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}
.assunto-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 82, 0, 0.45);
  background: var(--brand-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
}
.assunto-chip strong {
  color: var(--brand);
  font-size: 0.85rem;
}
.assunto-chip-clear {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.76rem;
  text-decoration: underline;
  cursor: pointer;
}
.assunto-chip-clear:hover {
  color: var(--brand);
}

/* Links legais discretos no rodapé (LGPD) */
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-soft);
}
.footer-legal-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}
.footer-legal-btn:hover {
  color: var(--brand);
}
