/* Importando fontes premium */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Variáveis de Cores (conforme solicitado pelo usuário) */
:root {
  --bg-primary: #F8F9FA;       /* Fundo principal do site */
  --bg-section: #E1EBF5;       /* Fundos de seção ou blocos */
  --color-sage: #87A987;       /* Verde sálvia: Botões secundários, ícones e links */
  --color-text-main: #2C3E50;  /* Textos principais e títulos */
  --color-hover-detail: #DCD0FF; /* Detalhes, destaques e hovers (lilás/lavanda) */
  --white: #FFFFFF;
  --text-muted: #576574;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
  --box-shadow-soft: 0 10px 30px rgba(44, 62, 80, 0.05);
  --box-shadow-hover: 0 20px 40px rgba(44, 62, 80, 0.1);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-sage);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-main);
}

/* Tipografia */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-text-main);
}

/* Layout Principal */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Hero Section */
.hero {
  position: relative;
  padding: 120px 0 80px 0;
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid rgba(135, 169, 135, 0.2);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background-color: var(--color-hover-detail);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.book-cover {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
  transition: var(--transition-smooth);
  border: 4px solid var(--white);
}

.book-cover:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border-color: var(--color-hover-detail);
}

.chapter-badge {
  background-color: var(--color-sage);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(135, 169, 135, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 800px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.author-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-sage);
  box-shadow: var(--box-shadow-soft);
}

.author-meta {
  text-align: left;
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Leitura / Conteúdo Principal */
.main-wrapper {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Blocos de Temas Reestruturados */
.content-blocks {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.theme-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(44, 62, 80, 0.03);
  transition: var(--transition-smooth);
  position: relative;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
}

.theme-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(220, 208, 255, 0.5); /* Detalhe do Hover */
}

.theme-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background-color: var(--color-sage);
  border-radius: 4px 0 0 4px;
}

.theme-tag {
  color: var(--color-sage);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.theme-card h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.3;
}

.theme-body p {
  margin-bottom: 18px;
  font-size: 1.15rem;
  color: var(--color-text-main);
  opacity: 0.95;
}

.theme-body p:last-child {
  margin-bottom: 0;
}

/* Destaque de Frases Chaves */
.quote-highlight {
  background: linear-gradient(135deg, var(--bg-section) 0%, rgba(220, 208, 255, 0.2) 100%);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin: 32px 0;
  position: relative;
  border-left: 5px solid var(--color-hover-detail);
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-text-main);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.quote-text::before {
  content: '“';
  font-size: 6rem;
  position: absolute;
  top: -40px;
  left: -20px;
  opacity: 0.15;
  color: var(--color-sage);
  font-family: serif;
}

.quote-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.quote-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.copy-btn {
  background-color: var(--white);
  border: 1px solid var(--color-sage);
  color: var(--color-text-main);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.copy-btn:hover {
  background-color: var(--color-hover-detail);
  border-color: var(--color-hover-detail);
  color: var(--color-text-main);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Seção de Vídeo */
.video-section {
  background-color: var(--bg-section);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  margin: 60px auto;
  text-align: center;
  box-shadow: var(--box-shadow-soft);
  max-width: 850px;
  width: 100%;
}

.video-section h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.video-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  aspect-ratio: 16/9;
  background-color: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Container de Grid para Elementos Interativos (Quiz e Diário) */
.interactive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .interactive-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 40px;
  }
  
  .quiz-section, .reflection-section {
    margin-top: 0 !important;
    height: 100%;
  }
}

/* Quiz Interativo */
.quiz-section {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(44, 62, 80, 0.03);
  margin-top: 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.quiz-container {
  max-width: 750px;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--bg-section);
  border-radius: 10px;
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--color-sage);
  width: 0%;
  transition: width 0.4s ease;
}

.quiz-card {
  display: none;
  animation: fadeIn 0.5s ease;
}

.quiz-card.active {
  display: block;
}

.question-number {
  color: var(--color-sage);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.question-text {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
}

.options-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-item {
  background-color: var(--bg-primary);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  padding: 18px 24px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 16px;
}

.option-item:hover {
  background-color: var(--white);
  border-color: var(--color-hover-detail);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.option-item.selected {
  border-color: var(--color-sage);
  background-color: rgba(135, 169, 135, 0.05);
}

.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1.5px solid var(--color-text-main);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.option-item:hover .option-letter {
  border-color: var(--color-sage);
  background-color: var(--color-sage);
  color: var(--white);
}

.option-item.selected .option-letter {
  background-color: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--white);
}

.quiz-feedback {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--border-radius-md);
  display: none;
  font-size: 1.05rem;
  line-height: 1.6;
  animation: slideUp 0.3s ease;
}

.quiz-feedback.correct {
  background-color: rgba(135, 169, 135, 0.15);
  border-left: 4px solid var(--color-sage);
  color: #274027;
  display: block;
}

.quiz-feedback.incorrect {
  background-color: #FDE8E8;
  border-left: 4px solid #E53E3E;
  color: #7A2D2D;
  display: block;
}

.quiz-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.btn {
  background-color: var(--color-sage);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(135, 169, 135, 0.2);
}

.btn:hover {
  background-color: var(--color-text-main);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
  transform: translateY(-2px);
}

.btn:disabled {
  background-color: #BDC3C7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Resultados do Quiz */
.quiz-results {
  display: none;
  text-align: center;
  animation: fadeIn 0.6s ease;
}

.results-score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: var(--bg-section);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  border: 4px solid var(--color-sage);
}

.results-score {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.results-total {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.results-headline {
  font-size: 2rem;
  margin-bottom: 16px;
}

.results-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

/* Seção de Perguntas Interativas (Diário de Bordo) */
.reflection-section {
  background-color: var(--bg-section);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  margin-top: 60px;
  box-shadow: var(--box-shadow-soft);
}

.diary-container {
  max-width: 800px;
  margin: 0 auto;
}

.diary-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--box-shadow-soft);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 62, 80, 0.05);
}

/* Simulação de Linhas de Caderno */
.diary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 36px;
  bottom: 0;
  width: 2px;
  background-color: rgba(220, 208, 255, 0.4);
}

.reflection-item {
  margin-bottom: 40px;
  padding-left: 20px;
  position: relative;
}

.reflection-item:last-child {
  margin-bottom: 0;
}

.reflection-question {
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-main);
  display: flex;
  gap: 12px;
}

.reflection-number {
  color: var(--color-sage);
  font-weight: 700;
}

.reflection-textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid rgba(135, 169, 135, 0.3);
  border-radius: var(--border-radius-md);
  padding: 16px;
  font-family: inherit;
  font-size: 1.05rem;
  resize: vertical;
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.reflection-textarea:focus {
  outline: none;
  border-color: var(--color-hover-detail);
  background-color: var(--white);
  box-shadow: 0 0 10px rgba(220, 208, 255, 0.3);
}

.save-status {
  text-align: right;
  font-size: 0.85rem;
  color: var(--color-sage);
  font-weight: 600;
  margin-top: 16px;
  min-height: 20px;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.save-status.visible {
  opacity: 1;
}

/* Rodapé */
footer {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  border-top: 1px solid rgba(135, 169, 135, 0.2);
  margin-top: 80px;
}

footer p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-schedule {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-text-main);
  letter-spacing: 0.5px;
}

.footer-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- SEÇÃO DO CARROSSEL --- */
.carousel-section {
  background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('assets/andar_como_ele_andou.png') no-repeat center center;
  background-size: cover;
  border-radius: var(--border-radius-lg);
  padding: 80px 20px;
  margin: 60px auto;
  text-align: center;
  color: var(--white);
  box-shadow: var(--box-shadow-soft);
  position: relative;
  overflow: hidden;
  max-width: 850px;
  width: 100%;
}

.carousel-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.carousel-section .carousel-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin-bottom: 48px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.carousel-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: var(--transition-smooth);
}

.carousel-card:hover {
  border-color: var(--color-hover-detail);
  background: rgba(255, 255, 255, 0.12);
}

.carousel-card-icon {
  color: var(--color-hover-detail);
  margin-bottom: 24px;
  opacity: 0.8;
  display: inline-block;
}

.carousel-card-icon svg {
  width: 48px;
  height: 48px;
}

.carousel-card-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--white);
  margin-bottom: 16px;
}

/* Controles */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--color-hover-detail);
  color: var(--color-text-main);
  border-color: var(--color-hover-detail);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background: var(--color-hover-detail);
  transform: scale(1.3);
}

/* Responsividade */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px 0;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 24px;
  }
  .book-cover {
    max-width: 250px;
    margin-bottom: 24px;
  }
  
  /* Caixa de Temas */
  .theme-card {
    padding: 32px 24px;
  }
  .theme-card h2 {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }
  .theme-body p {
    font-size: 1.15rem;
    margin-bottom: 16px;
    line-height: 1.7;
  }
  
  /* Citações de Destaque */
  .quote-highlight {
    padding: 28px 20px;
    margin: 24px 0;
  }
  .quote-text {
    font-size: 1.3rem;
  }
  
  /* Caixas do Vídeo */
  .video-section {
    padding: 32px 20px;
  }
  .video-section h2 {
    font-size: 1.8rem;
  }
  
  /* Caixas do Quiz */
  .quiz-section {
    padding: 32px 20px;
  }
  .quiz-section h2 {
    font-size: 2rem;
  }
  .question-text {
    font-size: 1.35rem;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .option-item {
    padding: 20px 24px;
    font-size: 1.15rem;
    min-height: 60px; /* Garante área de toque excelente */
  }
  .option-letter {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  /* Carrossel Responsivo */
  .carousel-section {
    padding: 60px 20px;
  }
  .carousel-section h2 {
    font-size: 2rem;
  }
  .carousel-card {
    padding: 40px 24px;
  }
  .carousel-card-text {
    font-size: 1.35rem;
    line-height: 1.6;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
  }
  .carousel-btn.prev {
    left: 2px;
  }
  .carousel-btn.next {
    right: 2px;
  }
  .carousel-slide {
    padding: 0 10px;
  }
  
  /* Caixas do Diário de Reflexão */
  .reflection-section {
    padding: 32px 16px;
  }
  .reflection-section h2 {
    font-size: 2rem;
  }
  .diary-card {
    padding: 32px 20px;
  }
  .diary-card::before {
    left: 24px;
  }
  .reflection-item {
    padding-left: 12px;
    margin-bottom: 32px;
  }
  .reflection-question {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .reflection-textarea {
    font-size: 1.15rem;
    padding: 18px;
    min-height: 140px;
  }
}

/* --- ESTILOS DO HUB E BOTÃO DE RETORNO --- */
.nav-header {
  padding: 24px 0 0 0;
  display: flex;
  justify-content: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.back-to-hub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  background-color: var(--bg-section);
  padding: 10px 20px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  border: 1.5px solid transparent;
}

.back-to-hub:hover {
  background-color: var(--color-hover-detail);
  color: var(--color-text-main);
  transform: translateX(-4px);
}

/* Hub Principal: Grade de Capítulos */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 60px 0;
  width: 100%;
}

.chapter-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(44, 62, 80, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.chapter-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background-color: var(--color-sage);
  border-radius: 4px 0 0 4px;
}

.chapter-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(220, 208, 255, 0.5);
}

.chapter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chapter-card-num {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-sage);
  letter-spacing: 1px;
}

.chapter-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.chapter-card-badge.available {
  background-color: rgba(135, 169, 135, 0.15);
  color: #274027;
}

.chapter-card-badge.locked {
  background-color: rgba(44, 62, 80, 0.1);
  color: var(--text-muted);
}

.chapter-card h3 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.chapter-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Capítulo Bloqueado */
.chapter-card.locked-card {
  opacity: 0.65;
  background-color: rgba(248, 249, 250, 0.5);
  cursor: not-allowed;
  border-color: transparent;
}

.chapter-card.locked-card::before {
  background-color: #BDC3C7;
}

.chapter-card.locked-card:hover {
  transform: none;
  box-shadow: var(--box-shadow-soft);
}

.locked-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(44, 62, 80, 0.05);
  color: var(--text-muted);
}

.locked-card .chapter-card-num {
  color: var(--text-muted);
}
