/* ==========================================================================
   IDENTIDADE VISUAL & ESTILOS — MÉTODO CABELO FORTE 50+
   E-BOOK: CABELOS DEPOIS DOS 50 (7 Erros que enfraquecem os fios)
   ========================================================================== */

:root {
  /* Paleta Oficial */
  --bg-nude-main: #F7F0E5;
  --bg-nude-alt: #EADCCB;
  --bg-card: #FFFDFC;
  --bg-card-alt: #F7F0E5;
  --bg-card-offer: #FFFDFC;

  --text-main: #332721;
  --text-muted: #6B5850;
  --text-sub: #7A665E;
  --border-main: #E5D9CB;
  --border-soft: #DFD2C3;

  /* Vinho Espelhado & Destaques */
  --wine-primary: #6E183E;
  --wine-light: #9A3F68;
  --wine-dark: #3E0B22;
  --wine-gradient: linear-gradient(135deg, #3E0B22 0%, #9A3F68 50%, #6E183E 100%);
  --wine-hover: linear-gradient(135deg, #4F0E2C 0%, #B04B78 50%, #7E1E48 100%);
  --wine-shadow: rgba(62, 11, 34, 0.28);

  /* Marrom Cromado (Detalhes, ícones, contornos, botões secundários) */
  --brown-main: #8A4F2D;
  --brown-light: #C17A4C;
  --brown-dark: #4A2616;
  --brown-shine: #E0A174;
  --brown-chrome-gradient: linear-gradient(135deg, #4A2616 0%, #C17A4C 35%, #E0A174 55%, #8A4F2D 100%);
  --brown-chrome-hover: linear-gradient(135deg, #5C301C 0%, #D48B5B 35%, #ECC49C 55%, #9E5C36 100%);

  /* Dourado Suave Discreto */
  --gold-accent: #B88636;
  --gold-light: #D4A955;

  /* Aplicação Padrão (Modo Claro) */
  --page-bg: var(--bg-nude-main);
  --card-bg: var(--bg-card);
  --card-alt-bg: var(--bg-card-alt);
  --text-color: var(--text-main);
  --title-color: var(--wine-primary);
  --highlight-color: var(--wine-primary);
  --border-color: var(--border-main);

  --header-bg: #3E0B22;
  --header-text: #FFFDFC;
  --bottom-nav-bg: #3E0B22;

  --shadow-sm: 0 2px 8px rgba(74, 38, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(74, 38, 22, 0.09);
  --shadow-lg: 0 14px 36px rgba(62, 11, 34, 0.12);

  --font-scale: 1.05rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

[data-theme="dark"] {
  --page-bg: #1F171A;
  --card-bg: #2D2125;
  --card-alt-bg: #382B30;
  --card-offer: #2D2125;
  --text-color: #F7F0E5;
  --text-muted: #D0C3BE;
  --text-sub: #BAACA7;
  --border-color: #4C373E;
  --border-main: #4C373E;
  --border-soft: #4C373E;

  --title-color: #E0A174;
  --highlight-color: #9A3F68;

  --header-bg: #160D10;
  --header-text: #F7F0E5;
  --bottom-nav-bg: #160D10;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--page-bg);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--font-scale);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif-font {
  font-family: Georgia, "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--title-color);
}

p {
  margin-bottom: 1.15rem;
  max-width: 68ch;
  color: var(--text-color);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--wine-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] a {
  color: var(--brown-shine);
}

/* ==========================================================================
   BARRA SUPERIOR DE PROGRESSO E CABEÇALHO FIXO
   ========================================================================== */
.top-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(74, 38, 22, 0.15);
  z-index: 1001;
}

.top-progress-bar {
  height: 100%;
  width: 7.14%;
  background: linear-gradient(90deg, #4A2616 0%, #C17A4C 30%, #6E183E 70%, #9A3F68 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  color: var(--header-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-brand {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFDFC;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.brand-icon {
  width: 20px;
  height: 20px;
  color: var(--brown-shine);
}

.btn-download-pdf-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #FFFDFC;
  background: var(--wine-gradient);
  border: 1px solid var(--brown-shine);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 2px 8px var(--wine-shadow);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-download-pdf-top:hover {
  background: var(--wine-hover);
  border-color: #FFFDFC;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 4px 12px var(--wine-shadow);
}

.btn-download-pdf-top:active {
  transform: translateY(0);
}

.btn-download-pdf-top svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--brown-shine);
}

@media (max-width: 768px) {
  .btn-download-pdf-top {
    padding: 0.38rem 0.65rem;
    font-size: 0.74rem;
    gap: 0.35rem;
  }
}

@media (max-width: 520px) {
  .btn-download-pdf-top span {
    font-size: 0.7rem;
  }
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 38px;
  min-width: 38px;
  border-radius: var(--radius-sm);
  color: #FFFDFC;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 2px 6px rgba(74, 38, 22, 0.35);
  padding: 0 0.55rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: var(--brown-chrome-hover);
  border-color: #FFF;
  transform: translateY(-1px);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.page-indicator-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFDFC;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 2px 6px rgba(74, 38, 22, 0.3);
  padding: 0.32rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ==========================================================================
   DRAWER / MENU LATERAL DO SUMÁRIO
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: var(--card-bg);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.1rem 1.25rem;
  background: var(--header-bg);
  color: #FFFDFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--brown-main);
}

.drawer-title {
  font-size: 1.1rem;
  color: #FFFDFC;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-list {
  list-style: none;
  padding: 0.75rem;
}

.drawer-item {
  margin-bottom: 0.35rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-color);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.drawer-link:hover {
  background: var(--card-alt-bg);
  color: var(--wine-primary);
}

.drawer-link.active {
  background: var(--wine-gradient);
  color: #FFFDFC !important;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.drawer-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFDFC;
  flex-shrink: 0;
}

/* ==========================================================================
   CONTAINER PRINCIPAL E PÁGINAS
   ========================================================================== */
.ebook-container {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.25rem 1rem 160px;
  position: relative;
  overflow-y: auto;
  min-height: 0;
}

@media (max-width: 768px) {
  .ebook-container {
    padding-bottom: 180px;
  }
}

@media (max-width: 600px) {
  .ebook-container {
    padding-bottom: 190px;
  }
}

.page-view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   CARTÕES & ESTRUTURA VISUAL
   ========================================================================== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.card-offer {
  background: var(--card-offer);
  border: 2px solid var(--brown-light);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
  .card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }
}

/* Capa */
.cover-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-color);
}

.cover-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFDFC;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(74, 38, 22, 0.3);
}

.cover-title {
  font-size: 2.25rem;
  color: var(--wine-primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.cover-title span {
  display: block;
  font-size: 1.45rem;
  color: var(--brown-main);
  margin-top: 0.5rem;
  font-weight: 600;
}

.cover-divider {
  width: 90px;
  height: 3px;
  background: var(--brown-chrome-gradient);
  margin: 1.5rem auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(74, 38, 22, 0.25);
}

.cover-subtitle {
  font-size: 1.15rem;
  color: var(--text-color);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.cover-brand {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--wine-primary);
  margin-bottom: 1.75rem;
}

.btn-start-reading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFDFC;
  background: var(--wine-gradient);
  border: 1px solid var(--brown-shine);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 6px 18px var(--wine-shadow);
  padding: 0.95rem 2.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-start-reading:hover {
  background: var(--wine-hover);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.55), 0 10px 24px var(--wine-shadow);
}

.cover-footer {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BADGES, HIGHLIGHTS, CAIXAS DE ORIENTAÇÃO
   ========================================================================== */
.badge-error {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFDFC;
  background: var(--wine-gradient);
  border: 1px solid var(--brown-shine);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(62, 11, 34, 0.25);
}

.badge-bonus {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFDFC;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 4px rgba(74, 38, 22, 0.25);
}

.error-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.error-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.error-title {
  font-size: 1.35rem;
  color: var(--wine-primary);
  margin-bottom: 0.6rem;
}

.highlight-quote {
  background: var(--card-alt-bg);
  border-left: 4px solid var(--wine-primary);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-color);
}

.action-box {
  background: rgba(193, 122, 76, 0.12);
  border: 1px solid var(--brown-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.action-box-icon {
  color: var(--brown-main);
  flex-shrink: 0;
  margin-top: 2px;
}

.action-box-text {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.5;
}

.warning-box {
  background: rgba(110, 24, 62, 0.08);
  border: 1px solid var(--wine-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* ==========================================================================
   RECEITAS POTENCIALIZADORAS (PÁGINAS 12, 13, 14)
   ========================================================================== */
.recipe-hero-card {
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin: 1.25rem 0;
  box-shadow: 0 2px 8px rgba(74, 38, 22, 0.06);
}

.ingredients-box {
  background: rgba(193, 122, 76, 0.08);
  border: 1px solid var(--brown-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin: 1.25rem 0;
}

.ingredients-title {
  font-size: 1.05rem;
  color: var(--wine-primary);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ingredients-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ingredients-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
}

.ingredients-list li:last-child {
  margin-bottom: 0;
}

.ingredients-list li::before {
  content: "•";
  position: absolute;
  left: 0.35rem;
  color: var(--brown-main);
  font-size: 1.2rem;
  line-height: 1;
}

.steps-numbered-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  counter-reset: step-counter;
}

.steps-numbered-list li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text-color);
}

.steps-numbered-list li:last-child {
  margin-bottom: 0;
}

.steps-numbered-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--wine-gradient);
  color: #FFFDFC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(62, 11, 34, 0.3);
}

.caution-card {
  background: rgba(110, 24, 62, 0.06);
  border: 1px solid var(--wine-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 1.25rem;
}

.caution-title {
  font-size: 1rem;
  color: var(--wine-primary);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.caution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caution-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-color);
}

.caution-list li:last-child {
  margin-bottom: 0;
}

.caution-list li::before {
  content: "✕";
  position: absolute;
  left: 0.15rem;
  color: var(--wine-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   CRONOGRAMA CAPILAR INTERATIVO (PÁGINA 15)
   ========================================================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.schedule-week-card {
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 2px 6px rgba(74, 38, 22, 0.04);
}

.schedule-week-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.5rem;
}

.schedule-week-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--wine-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.schedule-task-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #FFFDFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

[data-theme="dark"] .schedule-task-item {
  background: #251B17;
}

.schedule-task-item:hover {
  border-color: var(--brown-light);
}

.schedule-task-item.completed {
  background: rgba(138, 79, 45, 0.12);
  border-color: var(--brown-main);
}

.schedule-task-item.completed .schedule-task-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.schedule-task-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--wine-primary);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.schedule-task-info {
  flex: 1;
}

.schedule-task-step {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brown-main);
  display: block;
}

.schedule-task-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
}

.schedule-guidelines-box {
  background: rgba(193, 122, 76, 0.08);
  border: 1px solid var(--brown-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin: 1.25rem 0;
}

.schedule-guidelines-title {
  font-size: 1.05rem;
  color: var(--wine-primary);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-guidelines-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-guidelines-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-color);
}

.schedule-guidelines-list li:last-child {
  margin-bottom: 0;
}

.schedule-guidelines-list li::before {
  content: "✓";
  position: absolute;
  left: 0.15rem;
  color: var(--brown-main);
  font-weight: 700;
}

.subtle-upsell-box {
  background: linear-gradient(135deg, rgba(110, 24, 62, 0.08) 0%, rgba(193, 122, 76, 0.12) 100%);
  border: 1.5px solid var(--brown-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin-top: 1.75rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(74, 38, 22, 0.06);
}

.subtle-upsell-title {
  font-size: 1.2rem;
  color: var(--wine-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subtle-upsell-text {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.subtle-upsell-text:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   RECIPE CARDS (PÁGINAS 8, 9, 10, 11)
   ========================================================================== */
.recipe-card {
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin: 1.25rem 0;
}

.recipe-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.6rem;
}

.recipe-icon {
  width: 28px;
  height: 28px;
  color: var(--brown-main);
  flex-shrink: 0;
}

.recipe-title {
  font-size: 1.2rem;
  color: var(--wine-primary);
  margin: 0;
}

.recipe-steps {
  list-style: none;
  padding: 0;
}

.recipe-steps li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.96rem;
  line-height: 1.5;
}

.recipe-steps li:last-child {
  margin-bottom: 0;
}

.recipe-steps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brown-main);
  font-weight: bold;
}

.prohibition-list {
  list-style: none;
  padding: 0;
}

.prohibition-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.96rem;
  line-height: 1.5;
}

.prohibition-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wine-primary);
  font-weight: bold;
}

/* ==========================================================================
   AUTOAVALIAÇÃO INTERATIVA (PÁGINA 3)
   ========================================================================== */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.quiz-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.quiz-label:hover {
  border-color: var(--brown-light);
  background: rgba(193, 122, 76, 0.08);
}

.quiz-label.checked {
  background: rgba(110, 24, 62, 0.1);
  border-color: var(--wine-primary);
  box-shadow: inset 0 0 0 1px var(--wine-primary);
}

.quiz-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--wine-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.quiz-text {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.4;
}

.quiz-result-card {
  background: var(--card-alt-bg);
  border: 2px solid var(--wine-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.quiz-result-title {
  font-size: 1.15rem;
  color: var(--wine-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.quiz-result-desc {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 0;
}

/* ==========================================================================
   DESAFIO DE 7 DIAS (PÁGINA 12)
   ========================================================================== */
.challenge-progress-box {
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.challenge-bar-track {
  flex: 1;
  height: 10px;
  background: var(--border-color);
  border-radius: 9999px;
  overflow: hidden;
}

.challenge-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--brown-chrome-gradient);
  transition: width 0.3s ease;
}

.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.day-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-card:hover {
  border-color: var(--brown-light);
}

.day-card.completed {
  background: rgba(138, 79, 45, 0.12);
  border-color: var(--brown-main);
}

.day-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--wine-primary);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: block;
}

/* ==========================================================================
   APRESENTAÇÃO DOS 6 BÔNUS OFICIAIS (PÁGINA 13)
   ========================================================================== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.bonus-card {
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bonus-card:hover {
  transform: translateY(-2px);
  border-color: var(--brown-light);
}

.bonus-card-title {
  font-size: 1.05rem;
  color: var(--wine-primary);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.bonus-card-desc {
  font-size: 0.9rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.45;
}

.features-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.feature-pill {
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-pill svg {
  width: 18px;
  height: 18px;
  color: var(--brown-main);
  flex-shrink: 0;
}

/* ==========================================================================
   OFERTA FINAL & BOTÕES DE CTA (PÁGINA 14)
   ========================================================================== */
.price-tag-card {
  background: var(--card-alt-bg);
  border: 2px solid var(--brown-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin: 1.5rem auto;
  max-width: 380px;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--wine-primary);
  line-height: 1.1;
  margin: 0.35rem 0;
}

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

.cta-button-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 520px;
  min-height: 56px;
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFDFC !important;
  background: var(--wine-gradient);
  border: 1px solid var(--brown-shine);
  border-radius: 9999px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 8px 24px var(--wine-shadow);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  margin: 0.5rem auto;
}

.cta-button-main:hover {
  background: var(--wine-hover);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.55), 0 12px 28px var(--wine-shadow);
}

.cta-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 520px;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFDFC !important;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  border-radius: 9999px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45), 0 4px 12px rgba(74, 38, 22, 0.35);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  margin: 0.5rem auto 1.25rem;
}

.cta-button-secondary:hover {
  background: var(--brown-chrome-hover);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6), 0 6px 16px rgba(74, 38, 22, 0.45);
}

/* ==========================================================================
   SEÇÃO: PRODUTOS RECOMENDADOS (PÁGINA 18)
   ========================================================================== */
.recommended-products-section {
  margin: 1.75rem auto 1.25rem auto;
  width: 100%;
  max-width: 540px;
}

.recommended-products-card {
  background: var(--card-alt-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.recommended-products-card:hover {
  border-color: var(--brown-light);
  box-shadow: var(--shadow-md);
}

.recommended-products-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wine-primary);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.recommended-products-text {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0 auto 1.35rem auto;
  max-width: 460px;
}

.btn-recommended-products {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 480px;
  min-height: 54px;
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #FFFDFC !important;
  background: linear-gradient(135deg, #8A4F2D 0%, #B26538 45%, #C17A4C 60%, #7A4222 100%);
  border: 1px solid var(--brown-shine);
  border-radius: 9999px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45), 0 6px 18px rgba(138, 79, 45, 0.35);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
  margin: 0 auto;
}

.btn-recommended-products:hover {
  background: linear-gradient(135deg, #9E5C36 0%, #C47545 45%, #D48B5B 60%, #8A4F2D 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6), 0 10px 24px rgba(138, 79, 45, 0.45);
}

.btn-recommended-products:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .recommended-products-card {
    padding: 1.25rem 1rem;
  }
  .recommended-products-title {
    font-size: 1.25rem;
  }
  .btn-recommended-products {
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    min-height: 50px;
  }
}

.btn-hostinger-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 520px;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFDFC !important;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin: 1.25rem auto 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(74, 38, 22, 0.25);
  transition: all 0.2s ease;
}

.btn-hostinger-download:hover {
  background: var(--brown-chrome-hover);
  transform: translateY(-1px);
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--brown-main);
}

/* ==========================================================================
   PAINEL DE ÁUDIO NARRADO (PÁGINAS 1 A 14)
   ========================================================================== */
.audio-narrator-panel {
  background: var(--card-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.audio-narrator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.audio-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFDFC;
  background: var(--wine-gradient);
  border: 1px solid var(--brown-shine);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 3px 8px var(--wine-shadow);
  cursor: pointer;
  transition: all 0.2s ease;
}

.audio-btn-primary:hover {
  background: var(--wine-hover);
  transform: translateY(-1px);
}

.audio-btn-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.btn-audio-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--brown-shine);
  background: var(--brown-chrome-gradient);
  color: #FFFDFC !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 2px 6px rgba(74, 38, 22, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-audio-action:hover {
  background: var(--brown-chrome-hover);
  transform: translateY(-1px);
}

.audio-narrator-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--wine-primary);
  font-weight: 600;
}

.audio-status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--wine-primary);
  animation: pulse-audio 1.5s infinite ease-in-out;
}

[data-theme="dark"] .audio-status-pulse {
  background-color: var(--brown-shine);
}

@keyframes pulse-audio {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

.audio-helper-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
  margin-bottom: 0;
  line-height: 1.35;
}

.audio-unavailable-msg {
  display: none;
  font-size: 0.85rem;
  color: var(--wine-primary);
  background: var(--card-alt-bg);
  border: 1px solid var(--brown-light);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO INFERIOR FIXA
   ========================================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bottom-nav-bg);
  color: #FFFDFC;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.nav-container-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFDFC;
  background: var(--brown-chrome-gradient);
  border: 1px solid var(--brown-shine);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 3px 10px rgba(74, 38, 22, 0.35);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 46px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-nav:hover:not(:disabled) {
  background: var(--brown-chrome-hover);
  transform: translateY(-1px);
}

.btn-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-nav-next {
  background: var(--wine-gradient);
  border-color: var(--brown-shine);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 3px 10px var(--wine-shadow);
}

.btn-nav-next:hover:not(:disabled) {
  background: var(--wine-hover);
}

.page-dots-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 260px;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-dot.active {
  background: var(--brown-shine);
  transform: scale(1.4);
}
