/* ============================================================
   LUIZRJESUS CONSULTING — Design System v2
   Tipografia: Inter (única familia, padrao moderno profissional)
   Used by Vercel, Linear, GitHub, Stripe etc
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Surfaces */
  --bg: #fafaf7;
  --bg-soft: #f4f3ef;
  --card: #ffffff;
  --dark: #0a0a0f;
  --dark-2: #14141a;

  /* Brand & accents */
  --accent: #c8511c;          /* level 1 — sophisticated rust */
  --accent-hover: #a64216;
  --accent-soft: #f5e8e0;
  --accent2: #4f46e5;         /* level 2 — deeper indigo */
  --accent2-hover: #4338ca;
  --accent3: #059669;         /* level 3 — deeper green */
  --accent3-hover: #047857;
  --accent4: #7c3aed;         /* level 4 — refined purple */
  --accent4-hover: #6d28d9;
  --accent5: #d97706;         /* level 5 — refined amber */
  --accent5-hover: #b45309;
  --bonus:   #db2777;         /* bonus — sophisticated pink */
  --bonus-hover: #be185d;

  /* Text */
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;

  /* Lines & shadows */
  --border: #e5e3dd;
  --border-strong: #cdc9c0;
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.03);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.08), 0 4px 12px rgba(15,23,42,0.04);
  --shadow-xl: 0 24px 48px rgba(15,23,42,0.10), 0 8px 16px rgba(15,23,42,0.04);

  /* Semantic */
  --success: #059669;
  --warning: #d97706;
  --danger:  #dc2626;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Containers */
  --container: 1200px;
  --container-narrow: 860px;

  /* Layout */
  --header-h: 68px;

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Consolas, monospace;
}

/* Per-page accent override */
body[data-accent="level2"] { --accent: var(--accent2); --accent-hover: var(--accent2-hover); }
body[data-accent="level3"] { --accent: var(--accent3); --accent-hover: var(--accent3-hover); }
body[data-accent="level4"] { --accent: var(--accent4); --accent-hover: var(--accent4-hover); }
body[data-accent="level5"] { --accent: var(--accent5); --accent-hover: var(--accent5-hover); }
body[data-accent="bonus"]  { --accent: var(--bonus);   --accent-hover: var(--bonus-hover); }

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; height: auto; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Headings — Inter heavy weight com letter-spacing tight */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.025em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
h1 { font-weight: 800; letter-spacing: -0.035em; }
h2 { font-weight: 700; letter-spacing: -0.03em; }
h3 { font-weight: 700; letter-spacing: -0.02em; }
h4 { font-weight: 600; }
h5 { font-weight: 600; }
em { font-style: normal; color: var(--accent); font-weight: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============================================================
   Layout primitives
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.section-title em { color: var(--accent); font-style: normal; }
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  font-weight: 400;
}
.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.text-center { text-align: center; }

/* ============================================================
   Header & navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
  line-height: 1.15;
  text-transform: none;
}
.brand span { color: var(--accent); }
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
  white-space: nowrap;
}
.nav a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: color .15s;
}
.nav a:hover { color: var(--text); }
.nav a.cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s, transform .15s;
}
.nav a.cta:hover {
  color: #fff;
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  transition: background .15s;
}
.nav-toggle:hover { background: rgba(0,0,0,0.04); }
.nav-toggle svg { width: 20px; height: 20px; }

/* mobile breakpoint */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(250,250,247,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 28px clamp(20px, 5vw, 32px) 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    white-space: normal;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a {
    padding: 16px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    font-weight: 500;
  }
  .nav a.cta {
    margin-top: 20px;
    text-align: center;
    border-bottom: none;
    padding: 14px 18px;
    font-weight: 600;
  }
  body.nav-open { overflow: hidden; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--accent);
  color: #fff;
  transition: background .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
  text-align: center;
  letter-spacing: -0.005em;
  border: 1px solid var(--accent);
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 8vw, 88px);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.05;
  max-width: 880px;
  margin: 0 auto 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  line-height: 1.6;
  font-weight: 400;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  gap: clamp(28px, 4.5vw, 64px);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; min-width: 70px; }
.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-xs);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Module / problem / testimonial card variants */
.mod-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 24px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.mod-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.mod-ico {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mod-num {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mod-title {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.015em;
}
.mod-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.mod-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mod-pill {
  font-size: 11px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}

@media (max-width: 540px) {
  .mod-card { flex-direction: column; gap: 12px; }
}

/* For-whom rows */
.fw-list { display: grid; gap: 10px; }
.fw-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: clamp(14px, 2vw, 18px);
  transition: border-color .15s;
}
.fw-item:hover { border-color: var(--border-strong); }
.fw-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success);
  font-weight: 600;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.fw-text { font-size: 14px; color: var(--muted); line-height: 1.55; }
.fw-text strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 15px; font-weight: 600; }

/* Testimonials */
.testi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.testi-stars { color: var(--accent5); font-size: 13px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-text { font-size: 14px; color: var(--text-soft); line-height: 1.6; margin-bottom: 16px; }
.testi-author { font-size: 12px; color: var(--muted); }
.testi-author strong { color: var(--text); display: block; font-size: 13px; font-weight: 600; }

/* ============================================================
   Pricing
   ============================================================ */
.price-card {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-old { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-bottom: 6px; }
.price-now {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price-now sup { font-size: 0.4em; vertical-align: top; margin-top: 0.5em; color: var(--accent); margin-right: 4px; font-weight: 600; }
.price-now span { font-size: 0.3em; color: var(--muted); font-weight: 400; }
.price-sub { font-size: 14px; color: var(--muted); margin: 10px 0 24px; }
.price-list { text-align: left; margin: 24px 0; display: grid; gap: 10px; }
.pi { display: flex; gap: 12px; font-size: 14px; color: var(--text-soft); align-items: flex-start; line-height: 1.5; }
.pi::before {
  content: '';
  flex-shrink: 0;
  margin-top: 5px;
  width: 14px;
  height: 14px;
  background: var(--success);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.price-guarantee { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 8px; }
.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s;
}
.faq:hover { border-color: var(--border-strong); }
.faq.open { border-color: var(--accent); }
.faq-q {
  padding: clamp(16px, 2vw, 20px);
  font-weight: 500;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--text);
  user-select: none;
  letter-spacing: -0.005em;
}
.faq-arr {
  color: var(--muted);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .25s, color .15s;
}
.faq.open .faq-arr { transform: rotate(90deg); color: var(--accent); }
.faq-a {
  display: none;
  padding: 0 clamp(16px, 2vw, 20px) clamp(16px, 2vw, 20px);
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.faq.open .faq-a { display: block; }

/* ============================================================
   Instructor block
   ============================================================ */
.instructor {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border);
  display: flex;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}
.instructor-avatar {
  width: clamp(88px, 12vw, 120px);
  height: clamp(88px, 12vw, 120px);
  background: linear-gradient(135deg, var(--accent), var(--accent4));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(36px, 5vw, 52px);
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.instructor-info { flex: 1 1 280px; }
.instructor-info h3 { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 6px; font-weight: 700; letter-spacing: -0.02em; }
.instructor-title { color: var(--accent); font-weight: 600; margin-bottom: 14px; font-size: 14px; }
.instructor-bio { color: var(--muted); line-height: 1.65; font-size: 15px; margin-bottom: 16px; }
.instructor-social { display: flex; gap: 12px; }
.instructor-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, transform .15s;
}
.instructor-social a:hover { background: var(--text); color: #fff; transform: translateY(-2px); }

@media (max-width: 640px) {
  .instructor { flex-direction: column; text-align: center; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-item strong { color: var(--text); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: clamp(48px, 6vw, 64px) 0 clamp(24px, 3vw, 32px);
  margin-top: clamp(56px, 8vw, 88px);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 40px);
  margin-bottom: 36px;
}
.footer-col h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-col p, .footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: block;
  line-height: 1.9;
  transition: color .15s;
  font-weight: 400;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   Course content pages (long-form lessons)
   ============================================================ */
.course-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 32px);
}
.course-aside {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  font-size: 14px;
}
.course-aside h4 {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.course-aside ol { list-style: none; counter-reset: aulas; display: grid; gap: 4px; }
.course-aside li { counter-increment: aulas; }
.course-aside a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.4;
  transition: background .15s, color .15s;
}
.course-aside a::before {
  content: counter(aulas);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--bg-soft);
  border-radius: 50%;
  font-weight: 600;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.course-aside a:hover, .course-aside a.active { background: var(--accent-soft); color: var(--accent); }
.course-aside a.active::before { background: var(--accent); color: #fff; }

.course-main { min-width: 0; }
.lesson {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 40px);
  margin-bottom: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-xs);
}
.lesson h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.lesson .lesson-meta {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.lesson h3 {
  font-size: clamp(18px, 2.2vw, 21px);
  margin: clamp(20px, 3vw, 28px) 0 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lesson h4 {
  font-size: 16px;
  margin: 18px 0 10px;
  color: var(--text);
  font-weight: 600;
}
.lesson p { margin-bottom: 14px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.lesson ul, .lesson ol { margin: 0 0 18px 22px; }
.lesson li { margin-bottom: 8px; color: var(--text-soft); font-size: 15px; line-height: 1.6; }
.lesson strong { color: var(--text); font-weight: 600; }
.lesson code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: var(--font-mono);
  color: var(--accent);
}
.lesson pre {
  background: var(--dark);
  color: #f0ede8;
  padding: 18px 20px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 16px 0 20px;
  font-size: 13.5px;
  line-height: 1.65;
  font-family: var(--font-mono);
}
.lesson pre code { background: transparent; border: none; padding: 0; color: inherit; }
.lesson blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 16px 0;
  color: var(--text-soft);
  font-style: italic;
}
.lesson img { border-radius: var(--r-md); margin: 12px 0; }
.lesson a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.lesson a:hover { color: var(--accent-hover); }
.lesson table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.lesson th, .lesson td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.lesson th { background: var(--bg-soft); font-weight: 600; color: var(--text); }
.lesson .table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--r-md); }

.quiz {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 28px);
  margin-top: 28px;
}
.quiz h4 { color: var(--accent); margin-bottom: 14px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

.callout {
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 18px 0;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}
.callout-tip { --c: var(--success); border-left-color: var(--c); background: color-mix(in srgb, var(--c) 6%, transparent); }
.callout-warn { --c: var(--warning); border-left-color: var(--c); background: color-mix(in srgb, var(--c) 8%, transparent); }
.callout-danger { --c: var(--danger); border-left-color: var(--c); background: color-mix(in srgb, var(--c) 6%, transparent); }

/* Mobile course shell — collapse sidebar */
@media (max-width: 980px) {
  .course-shell { grid-template-columns: 1fr; }
  .course-aside {
    position: relative;
    top: auto;
    max-height: none;
  }
}

/* ============================================================
   Utility helpers
   ============================================================ */
.muted { color: var(--muted); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.hide-mobile { display: initial; }
.show-mobile { display: none; }
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: initial; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeInUp .5s ease-out both; }
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .10s; }
.reveal-3 { animation-delay: .15s; }
.reveal-4 { animation-delay: .20s; }
.reveal-5 { animation-delay: .25s; }

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

/* ============================================================
   CTA banner (dark)
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 14px; font-weight: 700; letter-spacing: -0.03em; }
.cta-banner h2 em { color: var(--accent); font-weight: 700; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 24px; font-size: clamp(14px, 1.5vw, 16px); }
.cta-banner .price-big {
  font-family: var(--font-sans);
  font-size: clamp(40px, 7vw, 52px);
  font-weight: 800;
  color: var(--accent5);
  line-height: 1;
  margin: 12px 0 6px;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .site-footer, .nav-toggle, .nav, .btn, .price-card, .cta-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .lesson { box-shadow: none; border: none; padding: 0; }
}
