/* ==========================================================================
   PARLA! — Accademia di Lingua & Cultura Italiana
   Design System: Mediterranean Haute Editorial & Dolce Vita
   ========================================================================== */

:root {
  --bg: #fcfbf9;
  --bg-warm: #f7f3ec;
  --bg-sand: #f2ebe0;
  --paper: #ffffff;
  --paper-trans: rgba(255, 255, 255, 0.92);
  
  --ink: #1b2420;
  --ink-secondary: #3d4a44;
  --muted: #6b7771;
  --muted-light: #94a19a;
  
  --terracotta: #b85233;
  --terracotta-dark: #963f25;
  --terracotta-light: #fbeee8;
  --terracotta-glow: rgba(184, 82, 51, 0.16);
  
  --green: #2b5641;
  --green-dark: #1e3f2f;
  --green-light: #eaf3ee;
  --green-glow: rgba(43, 86, 65, 0.16);
  
  --amber: #c5862b;
  --amber-light: #fcf4e8;
  
  --line: #ebe4d8;
  --line-strong: #ded4c3;
  --line-delicate: rgba(235, 228, 216, 0.7);
  
  --shadow-sm: 0 4px 14px rgba(27, 36, 32, 0.04);
  --shadow-md: 0 12px 36px rgba(27, 36, 32, 0.07);
  --shadow-lg: 0 24px 64px rgba(27, 36, 32, 0.10);
  --shadow-warm: 0 20px 50px rgba(184, 82, 51, 0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-full: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   TOPBAR ELEGANTE
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(4vw, 28px);
  background: rgba(252, 251, 249, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-delicate);
  width: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.logo-title span {
  color: var(--terracotta);
}

.logo-subtitle {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.topbar nav a {
  position: relative;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.topbar nav a:hover,
.topbar nav a.active {
  color: var(--terracotta);
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.topbar nav a:hover::after,
.topbar nav a.active::after {
  width: 100%;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border-radius: var(--radius-full);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-badge:hover {
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.user-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.user-level {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.green-pill {
  background: #bceecf;
  color: #1b4b32;
  border: 1px solid rgba(43, 86, 65, 0.2);
}

.amber-pill {
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid rgba(197, 134, 43, 0.25);
}

.bronze-pill {
  background: #ffddbb;
  color: #673d00;
  border: 1px solid rgba(133, 80, 0, 0.25);
}

.streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--amber-light);
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(197, 134, 43, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 4px 14px var(--terracotta-glow);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--terracotta-glow);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-warm);
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px var(--green-glow);
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO PANORÂMICO COM CARROSSEL DE FUNDO INTEIRO
   ========================================================================== */
.hero-panoramic-wrapper {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-delicate);
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease-out;
}

.hero-slide-item.active {
  opacity: 1;
  transform: scale(1);
}

.hero-panoramic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(252, 251, 249, 0.96) 0%,
    rgba(252, 251, 249, 0.92) 42%,
    rgba(252, 251, 249, 0.65) 68%,
    rgba(252, 251, 249, 0.25) 100%
  );
}

.hero-panoramic-content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px max(4vw, 32px);
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.hero-editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-editorial-title em {
  font-style: italic;
  color: var(--terracotta);
  position: relative;
  display: inline-block;
}

.hero-editorial-title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 4px;
  background: var(--green);
  border-radius: 4px;
  opacity: 0.6;
}

.hero-editorial-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 620px;
  margin: 0 0 32px;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 32px;
  border-radius: 8px;
  background: var(--terracotta);
}

.hero-panoramic-card {
  display: flex;
  justify-content: flex-end;
}

.hero-card-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px rgba(28, 25, 23, 0.08), 0 4px 12px rgba(28, 25, 23, 0.04);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
}

.hero-card-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  background: var(--terracotta-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.hero-card-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
}

.hero-card-sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-card-features {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-card-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(246, 244, 240, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 222, 213, 0.6);
}

.hero-card-feat-item .feat-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.hero-card-feat-item strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.2;
}

.hero-card-feat-item small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-delicate);
}

.avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: var(--shadow-sm);
}

.avatar-stack img:first-child {
  margin-left: 0;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 32px 100px;
  width: 100%;
}

.section-header {
  margin-bottom: 28px;
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 6px 0 0;
  max-width: 650px;
}

/* ==========================================================================
   MODULE STRIP (Fotografia Italiana Glamurosa)
   ========================================================================== */
.module-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.module-strip-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: all 0.35s ease;
}

.module-strip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-warm);
  border-color: var(--terracotta);
}

.module-strip-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.module-strip-card:hover .module-strip-bg {
  transform: scale(1.05);
}

.module-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 36, 32, 0.1) 0%, rgba(27, 36, 32, 0.85) 80%);
}

.module-strip-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.module-strip-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(184, 82, 51, 0.85);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.module-strip-title {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0 0 6px;
  color: #ffffff;
}

.module-strip-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #e0eae4;
  margin: 0;
}

.featured-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-warm);
  border-color: var(--terracotta);
}

.featured-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.featured-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.featured-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin: 12px 0 6px;
  line-height: 1.25;
}

.featured-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.featured-photo-wrap {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.featured-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .featured-photo-wrap img {
  transform: scale(1.06);
}

/* ==========================================================================
   SPLIT SECTION: CONTINUE & VALUE
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  margin-bottom: 70px;
}

.continue-card, .value-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 34px;
}

.continue-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  margin: 22px 0 26px;
}

.continue-media {
  position: relative;
  height: 130px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.continue-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.continue-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  backdrop-filter: blur(2px);
}

.continue-info small {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  display: block;
  margin-bottom: 4px;
}

.continue-info h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.25;
}

.progress-track {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-warm);
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--green), var(--terracotta));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin: 4px 0 8px;
  line-height: 1.2;
}

.value-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 24px;
}

.value-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-pill {
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.feature-pill:hover {
  background: var(--paper);
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-pill strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.feature-pill span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

/* ==========================================================================
   MODULE GRID (Trilha Completa)
   ========================================================================== */
.module-grid-section {
  margin-bottom: 70px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.module-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta);
}

.module-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.module-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.3;
}

.module-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.module-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.module-card-footer span:last-child {
  color: var(--terracotta);
}

/* ==========================================================================
   LIBRARY SECTION
   ========================================================================== */
.library-section {
  background: var(--paper-trans);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 38px 34px;
  margin-bottom: 70px;
  box-shadow: var(--shadow-sm);
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 24px;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-glow);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
}

.toolbar select {
  padding: 13px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toolbar select:focus {
  border-color: var(--terracotta);
}

.lesson-list {
  display: grid;
  gap: 10px;
}

.lesson-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.lesson-row:hover {
  transform: translateX(4px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

.lesson-idx {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-warm);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.lesson-info h4 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.lesson-info small {
  font-size: 12px;
  color: var(--muted);
}

.lesson-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--green-light);
  color: var(--green);
}

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-done {
  background: var(--green-light);
  color: var(--green);
}

.status-pending {
  background: var(--bg-warm);
  color: var(--muted);
}

/* ==========================================================================
   SALA DE AULA DEDICADA (SPLIT: VÍDEO + NOTAS FIXAS)
   ========================================================================== */
.classroom-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  display: none;
  width: 100vw;
  max-width: 100vw;
}

.classroom-modal.active {
  display: block;
}

.classroom-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 251, 249, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 12px max(4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.classroom-topbar-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.classroom-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.classroom-back-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateX(-2px);
}

.classroom-breadcrumbs {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classroom-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.classroom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px 80px;
  width: 100%;
}

.classroom-header-info {
  margin-bottom: 20px;
}

.classroom-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  color: var(--ink);
  margin: 4px 0 8px;
  line-height: 1.2;
}

/* Split: Vídeo (68%) + Bloco de Notas Lateral Fixo (32%) */
.classroom-stage-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.player-frame-wrapper {
  background: #111815;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  position: relative;
  width: 100%;
}

.player-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.player-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 30px;
}

/* Painel de Anotações ao Lado do Vídeo */
.side-notes-panel {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
}

.side-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.side-notes-header h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0;
  color: var(--ink);
}

.side-notes-textarea {
  flex: 1;
  width: 100%;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
  background: var(--bg);
}

.side-notes-textarea:focus {
  border-color: var(--terracotta);
  background: #fff;
}

.side-notes-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

/* ==========================================================================
   SISTEMA DE ABAS REORGANIZADAS DA SALA DE AULA
   ========================================================================== */
.classroom-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  overflow-x: auto;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.classroom-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  border-radius: var(--radius-full);
  background: transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.classroom-tab-btn:hover {
  color: var(--ink);
  background: var(--bg-warm);
}

.classroom-tab-btn.active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 4px 14px var(--green-glow);
}

.classroom-tab-content-pane {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  min-height: 300px;
}

/* ==========================================================================
   ABA 1: ROTEIRO DA AULA & ÂNCORAS MENTAIS
   ========================================================================== */
.agenda-hero-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  background: var(--bg-warm);
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  margin-bottom: 30px;
}

.mental-anchor-box {
  background: #fff;
  border-left: 4px solid var(--terracotta);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  margin-top: 14px;
}

.mental-anchor-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--terracotta);
  display: block;
  margin-bottom: 4px;
}

.mental-anchor-phrase {
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}

.agenda-photo-vignette {
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.agenda-photo-vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-lessons-overview {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.module-lesson-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.25s ease;
}

.module-lesson-card-item:hover {
  background: #fff;
  border-color: var(--terracotta);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.module-lesson-card-item.active {
  background: var(--terracotta-light);
  border-color: var(--terracotta);
}

/* ==========================================================================
   ABA 4: ÁUDIO & LABORATÓRIO DE PRONÚNCIA (5 A 8 FRASES + ESCUTA PRÓPRIA)
   ========================================================================== */
.voice-lab-container {
  display: grid;
  gap: 28px;
}

.voice-phrase-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 22px 24px;
  transition: all 0.25s ease;
}

.voice-phrase-card.active {
  background: #fff;
  border-color: var(--terracotta);
  box-shadow: var(--shadow-md);
}

.voice-phrase-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.voice-phrase-idx {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.voice-phrase-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}

.voice-phrase-trans {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 16px;
}

.voice-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-icon-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
}

.btn-native-audio {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-record-audio {
  background: var(--terracotta);
  color: #fff;
}

.btn-record-audio.recording {
  background: #c92a2a;
  animation: pulseMic 1.2s infinite;
}

.btn-play-mine {
  background: var(--green);
  color: #fff;
}

.voice-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  background: var(--green-light);
  color: var(--green);
  margin-left: auto;
}

@keyframes pulseMic {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 42, 42, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(201, 42, 42, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 42, 42, 0); }
}

/* ==========================================================================
   ASSESSMENT MODAL & PLANS
   ========================================================================== */
.assessment-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(27, 36, 32, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  width: 100vw;
  max-width: 100vw;
}

.assessment-modal.active {
  display: grid;
}

.assessment-panel {
  background: var(--paper);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 34px 30px;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.assessment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.assessment-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 4px 0;
  line-height: 1.25;
}

.assessment-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-warm);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 14px 0 24px;
}

.assessment-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--terracotta));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.question-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 16px;
}

.question-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.35;
}

.options-group {
  display: grid;
  gap: 8px;
}

.option-tile {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-tile:hover {
  border-color: var(--terracotta);
  background: var(--terracotta-light);
}

.option-tile.selected {
  border-color: var(--terracotta);
  background: var(--terracotta-light);
  box-shadow: 0 0 0 2px var(--terracotta);
}

.input-fill-blank {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-fill-blank:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-glow);
}

/* ==========================================================================
   AUTHENTICATION MODAL
   ========================================================================== */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(27, 36, 32, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 16px;
  width: 100vw;
  max-width: 100vw;
}

.auth-modal.active {
  display: grid;
}

.auth-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 34px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.auth-tabs {
  display: flex;
  background: var(--bg);
  padding: 4px;
  border-radius: var(--radius-full);
  margin: 20px 0 24px;
}

.auth-tab-btn {
  flex: 1;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: var(--paper);
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

.auth-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.auth-form label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 2px;
  display: block;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  outline: none;
  font-size: 14px;
}

.auth-form input:focus {
  border-color: var(--terracotta);
}

/* ==========================================================================
   PLANS SECTION
   ========================================================================== */
.plans-section {
  padding: 60px 0;
  text-align: center;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.plan-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 36px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.plan-card.featured {
  border: 2px solid var(--terracotta);
  box-shadow: var(--shadow-lg), var(--shadow-warm);
  transform: translateY(-6px);
}

.plan-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--terracotta);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  margin: 14px 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li span {
  color: var(--green);
  font-weight: bold;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  border-top: 1px solid var(--line);
  padding: 36px max(4vw, 28px);
  background: rgba(252, 251, 249, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 12.5px;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  display: block;
}

/* ==========================================================================
   3D FLIP CARDS
   ========================================================================== */
.flip-card-perspective {
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 230px;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card-inner.is-flipped {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-card-front {
  background: var(--bg-warm);
  border: 1px solid var(--line);
}

.flip-card-back {
  background: var(--paper);
  border: 2px solid var(--green);
  transform: rotateY(180deg);
}

/* ==========================================================================
   RESPONSIVIDADE & MOBILE FIRST
   ========================================================================== */
@media (max-width: 1100px) {
  .topbar nav {
    display: none;
  }
  .hero-panoramic-content {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }
  .classroom-stage-grid {
    grid-template-columns: 1fr;
  }
  .module-strip {
    grid-template-columns: 1fr;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 36px auto 0;
  }
}

@media (max-width: 768px) {
  main {
    padding: 30px 16px 50px;
  }
  .topbar {
    padding: 10px 14px;
  }
  .topbar-actions .btn {
    display: none;
  }
  .streak-pill {
    display: none;
  }
  .user-badge {
    padding: 3px;
  }
  .user-meta {
    display: none;
  }
  .hero-editorial-title {
    font-size: 32px;
    line-height: 1.15;
  }
  .hero-editorial-desc {
    font-size: 15px;
  }
  .continue-inner {
    grid-template-columns: 1fr;
  }
  .continue-media {
    height: 150px;
  }
  .value-features {
    grid-template-columns: 1fr;
  }
  .lesson-row {
    grid-template-columns: 36px 1fr auto;
    padding: 12px 14px;
  }
  .lesson-badge {
    display: none;
  }
  .classroom-modal {
    padding: 0;
  }
  .classroom-topbar {
    padding: 10px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .classroom-topbar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .classroom-breadcrumbs {
    font-size: 11px;
    max-width: 170px;
  }
  .classroom-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .classroom-nav-actions .btn {
    width: 100%;
    padding: 9px 8px;
    font-size: 12px;
  }
  .classroom-container {
    padding: 16px 14px 60px;
  }
  .classroom-title {
    font-size: 22px;
  }
  .classroom-tab-content-pane {
    padding: 20px 16px;
  }
  .agenda-hero-block {
    grid-template-columns: 1fr;
  }
  .assessment-modal {
    padding: 8px;
  }
  .assessment-panel {
    padding: 22px 16px;
    width: 100%;
    border-radius: var(--radius-lg);
  }
  .assessment-header h2 {
    font-size: 20px;
  }
}

/* ==========================================================================
   STITCH MEDITERRANEAN EDITORIAL EDTECH COMPONENTS
   ========================================================================== */

/* Equalizer Animation */
@keyframes eqBar {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}
.eq-bar-1 { animation: eqBar 0.6s ease-in-out infinite; }
.eq-bar-2 { animation: eqBar 0.8s ease-in-out infinite 0.15s; }
.eq-bar-3 { animation: eqBar 0.5s ease-in-out infinite 0.3s; }

/* Floating XP Toast */
@keyframes floatUpFade {
  0% { opacity: 0; transform: translateY(12px) scale(0.9); }
  25% { opacity: 1; transform: translateY(-4px) scale(1.05); }
  75% { opacity: 1; transform: translateY(-12px) scale(1); }
  100% { opacity: 0; transform: translateY(-24px) scale(0.95); }
}
.animate-float-toast {
  animation: floatUpFade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Conjugation Matrix */
.conjugation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.conjugation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.conjugation-card:hover {
  transform: translateY(-2px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-md);
}

.conjugation-pronoun {
  font-size: 13.5px;
  color: var(--muted);
  width: 75px;
  font-weight: 600;
}

.conjugation-verb-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.suffix-term {
  color: var(--terracotta);
  font-weight: 700;
}

.phonetic-h {
  color: var(--terracotta);
  font-weight: 800;
  text-decoration: underline;
}

/* Verb Tabs */
.verb-tabs-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-warm);
  padding: 4px;
  border-radius: var(--radius-full);
}

.verb-tab-btn {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--muted);
  transition: all 0.2s ease;
  cursor: pointer;
}

.verb-tab-btn.active {
  background: #ffffff;
  color: var(--terracotta);
  box-shadow: var(--shadow-sm);
}

/* Accent Callout Cards */
.accent-callouts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

@media (max-width: 800px) {
  .accent-callouts-grid {
    grid-template-columns: 1fr;
  }
}

.callout-card-regola {
  background: var(--green);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.callout-card-modi {
  background: var(--bg-sand);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Dialogue List & Soundwave */
.dialogue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audio-dialogue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
}

.audio-dialogue-row:hover {
  background: #ffffff;
  border-color: var(--terracotta);
  transform: translateX(3px);
}

.dialogue-it-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.dialogue-pt-text {
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
}

.soundwave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 8px;
  background: var(--terracotta-light);
  border-radius: var(--radius-full);
}

.soundwave span {
  display: block;
  width: 3px;
  background: var(--terracotta);
  border-radius: 2px;
}

/* Student Hub Dashboard */
.student-hub-hero {
  background: linear-gradient(135deg, #fbf8f3 0%, #f5efe6 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 32px;
}

@media (max-width: 992px) {
  .student-hub-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.active-lesson-hero-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.active-lesson-hero-card:hover {
  border-color: var(--terracotta);
}

.curriculum-phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.cultural-pills-section {
  margin: 48px 0;
  padding: 36px;
  background: var(--bg-warm);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
}

.cultural-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cultural-pill-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

