/* ==========================================================================
   MEU CÃO EDUCADO — DESIGN SYSTEM EDITORIAL & MOBILE FIRST
   Conceito: "A melhor dupla começa na rotina."
   ========================================================================== */

:root {
  /* PALETA EDITORIAL */
  --bg-marfim: #F5F3ED;
  --bg-charcoal: #171B18;
  --bg-forest: #173F35;
  --accent-lime: #DBEF84;
  --bg-white: #FFFFFF;
  --border-thin: rgba(23, 27, 24, 0.12);
  --border-dark: rgba(255, 255, 255, 0.15);

  --text-primary: #171B18;
  --text-secondary: #525B54;
  --text-muted: #727C74;
  --text-light: #F5F3ED;
  --text-lime: #DBEF84;

  --font-title: 'Barlow Condensed', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-subtle: 0 10px 30px rgba(23, 27, 24, 0.06);
  --shadow-elevated: 0 20px 40px rgba(23, 27, 24, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-marfim);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ACESSIBILIDADE E FOCO VISÍVEL */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--bg-forest);
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ==========================================================================
   1. CABEÇALHO LIMPO E RESPONSIVO
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-marfim);
  border-bottom: 1px solid var(--border-thin);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  min-height: 64px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link-secondary {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link-secondary:hover {
  color: var(--text-primary);
}

.btn-forest {
  background: var(--bg-forest);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px; /* Min height 52px para toque no celular */
  transition: background-color 0.2s ease;
}

.btn-forest:hover {
  background: #113028;
}

/* HAMBURGER MENU MOBILE */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
}

.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-marfim);
  border-bottom: 1px solid var(--border-thin);
  padding: 20px 24px;
  z-index: 999;
  box-shadow: var(--shadow-elevated);
}

.mobile-menu-drawer.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-drawer a {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
}

/* ==========================================================================
   2. PRIMEIRA DOBRA — MOBILE FIRST & ASYM DESKTOP
   ========================================================================== */

.hero-editorial {
  padding-top: 100px;
  padding-bottom: 60px;
  background: var(--bg-marfim);
}

.hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 40px;
  align-items: center;
}

.hero-tag-small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bg-forest);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.hero-title-expressive {
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 7vw, 4.2rem); /* Título fluido perfeito no celular e desktop */
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-desc-editorial {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.link-subtle {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-subtle:hover {
  color: var(--bg-forest);
}

.hero-photo-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.hero-photo-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   3. BARRA FIXA INFERIOR NO CELULAR (STICKY BOTTOM BUY BAR)
   ========================================================================== */

.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-dark);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}

.sticky-bottom-bar.active {
  transform: translateY(0);
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sticky-bar-price {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-lime);
  line-height: 1;
}

.sticky-bar-btn {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Oculta a barra fixa no desktop */
@media (min-width: 769px) {
  .sticky-bottom-bar {
    display: none !important;
  }
}

/* ==========================================================================
   4. SEÇÃO VÍDEO & CONTEÚDO EDITORIAL
   ========================================================================== */

.section-editorial {
  padding: 80px 0;
  border-top: 1px solid var(--border-thin);
}

.section-dark-forest {
  background: var(--bg-forest);
  color: var(--text-light);
  padding: 80px 0;
}

.editorial-header {
  margin-bottom: 40px;
}

.editorial-header.text-center {
  text-align: center;
}

.editorial-title {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 12px;
}

.editorial-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.video-frame-editorial {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-charcoal);
  border: 1px solid var(--border-thin);
  box-shadow: var(--shadow-elevated);
}

.video-frame-editorial iframe,
.video-frame-editorial video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  background: #000;
}

.presentation-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-charcoal);
  border: 1px solid var(--border-thin);
  box-shadow: var(--shadow-elevated);
  margin-top: 24px;
}

.presentation-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.presentation-poster-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-play-presentation {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: rgba(23, 63, 53, 0.92);
  color: #FAF8F3;
  border: 1px solid rgba(219, 239, 132, 0.4);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-play-presentation:hover {
  transform: scale(1.04);
  background: rgba(16, 46, 38, 0.98);
  border-color: var(--accent-lime);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.play-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-lime);
  color: var(--bg-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
  padding-left: 3px;
}

.play-btn-text {
  letter-spacing: 0.3px;
}

.modules-grid-editorial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-white {
  background: var(--bg-white);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.card-white:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-charcoal);
}

.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-content-body {
  padding: 20px;
}

.card-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-forest);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

/* Títulos dos cartões de módulo: Inter Semibold ~20px */
.card-heading {
  font-family: var(--font-body);
  font-size: 1.25rem; /* ~20px */
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.split-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.box-editorial-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}

.sound-control-row {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-play-lime {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-lime);
  border: none;
  color: var(--bg-charcoal);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-btn-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  font-size: 0.88rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}

/* ==========================================================================
   5. PERGUNTAS FREQUENTES (ACCORDIONS EXPANSÍVEIS COM ACESSIBILIDADE)
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion {
  background: var(--bg-white);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-accordion[open] {
  border-color: var(--bg-forest);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  min-height: 52px; /* Min height para área de toque confortável no celular */
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--bg-forest);
  outline-offset: -2px;
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-forest);
  transition: transform 0.2s ease;
  margin-left: 12px;
}

.faq-accordion[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px dashed rgba(23, 27, 24, 0.08);
  margin-top: 4px;
  padding-top: 12px;
}

.offer-card-hero {
  background: var(--bg-forest);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 56px 28px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.price-tag-lime {
  font-family: var(--font-title);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--accent-lime);
  margin: 12px 0 20px;
  line-height: 1;
}

.btn-lime-large {
  background: var(--accent-lime);
  color: var(--bg-charcoal);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  max-width: 420px;
}

/* ==========================================================================
   6. AGENTE DE IA DR. EDU (WIDGET NO CANTO INFERIOR DIREITO)
   ========================================================================== */

.ai-widget-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-forest);
  color: var(--text-light);
  padding: 12px 18px;
  border-radius: 30px;
  border: 1px solid var(--border-dark);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 997;
  box-shadow: var(--shadow-elevated);
  min-height: 44px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-lime);
  border-radius: 50%;
}

.ai-chat-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 360px;
  height: 520px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 100px);
  background: var(--bg-marfim);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ai-chat-window.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.chat-header {
  background: var(--bg-forest);
  color: var(--text-light);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-edu {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-lime);
  color: var(--bg-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.chat-title {
  font-size: 0.88rem;
  font-weight: 700;
}

.chat-status {
  font-size: 0.75rem;
  color: var(--accent-lime);
}

.chat-ai-disclaimer {
  background: #EFECE3;
  border-bottom: 1px solid var(--border-thin);
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.chat-whatsapp-banner {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: #166534;
}

.chat-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.75rem;
  transition: background 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.chat-wa-btn:hover {
  background: #1da851;
  transform: scale(1.02);
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  min-height: 36px;
  min-width: 36px;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.message-bubble.assistant {
  background: var(--bg-white);
  border: 1px solid var(--border-thin);
  color: var(--text-primary);
  align-self: flex-start;
}

.message-bubble.user {
  background: var(--bg-forest);
  color: var(--text-light);
  font-weight: 600;
  align-self: flex-end;
}

.chat-input-area {
  padding: 12px 16px;
  background: var(--bg-white);
  border-top: 1px solid var(--border-thin);
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: var(--bg-marfim);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 16px; /* 16px previne zoom no iOS */
  outline: none;
}

.chat-send-btn {
  background: var(--bg-forest);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   7. RESPONSIVIDADE CELULAR REFORÇADA (360PX, 390PX, 430PX)
   ========================================================================== */

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Espaço para a barra fixa não cobrir conteúdo */
  }

  .container {
    padding: 0 20px; /* Margem lateral rigorosa de 20px */
  }

  .navbar {
    padding: 12px 20px;
    min-height: 60px;
  }

  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ORDEM DA PRIMEIRA DOBRA NO CELULAR: TEXTO -> CTA -> FOTOGRAFIA */
  .hero-editorial {
    padding-top: 84px;
    padding-bottom: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title-expressive {
    font-size: clamp(2.1rem, 8.5vw, 3.2rem);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }

  .hero-desc-editorial {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .btn-forest {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }

  .hero-photo-img {
    height: 300px;
  }

  /* CARDS EM COLUNA ÚNICA NO CELULAR */
  .modules-grid-editorial {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .split-two-columns {
    grid-template-columns: 1fr;
  }

  .editorial-title {
    font-size: 2.1rem;
  }

  .offer-card-hero {
    padding: 36px 20px;
  }

  .price-tag-lime {
    font-size: 3rem;
  }

  /* CHAT FLUTUANTE EM BOTÃO COMPACTO POSICIONADO ACIMA DA BARRA FIXA */
  .ai-widget-trigger {
    bottom: 84px; /* Respeita a altura da barra fixa (64px + folga) */
    right: 16px;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
    z-index: 999;
  }

  .ai-widget-trigger span:last-child {
    display: none;
  }

  .ai-chat-window {
    width: calc(100vw - 24px);
    height: 68vh;
    bottom: 74px;
    right: 12px;
    z-index: 1001;
  }
}

/* CONTROLES DE NAVEGAÇÃO DE AULAS PERSONALIZADOS */
.lesson-control-bar {
  background: var(--bg-white);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-subtle);
}

.lesson-nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-nav-prev {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-marfim);
  color: var(--bg-forest);
  border: 1px solid rgba(23, 63, 53, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-prev:hover:not(:disabled) {
  background: rgba(23, 63, 53, 0.08);
  border-color: var(--bg-forest);
}

.btn-nav-prev:focus-visible {
  outline: 2px solid var(--bg-forest);
  outline-offset: 2px;
}

.btn-nav-prev:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: var(--border-thin);
  background: var(--bg-marfim);
  color: var(--text-muted);
}

.btn-nav-next {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--bg-forest);
  color: var(--text-light);
  border: 1px solid var(--bg-forest);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.btn-nav-next:hover:not(:disabled) {
  background: #102e26;
  border-color: #102e26;
}

.btn-nav-next:focus-visible {
  outline: 2px solid var(--bg-forest);
  outline-offset: 2px;
}

.btn-nav-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #5a6b63;
  border-color: #5a6b63;
  color: #d0d7d3;
}

.btn-complete-action {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: var(--bg-forest);
  color: var(--text-light);
  border: none;
}

.btn-complete-action.completed {
  background: var(--bg-marfim);
  color: var(--bg-forest);
  border: 1px solid var(--bg-forest);
}

@media (max-width: 600px) {
  .lesson-control-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .lesson-nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  .btn-nav-prev, .btn-nav-next, .btn-complete-action {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
  }
}

