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

:root {
  --bg: #060b14;
  --bg2: #0d1626;
  --bg3: #111827;
  --card: #0f1e35;
  --border: rgba(99,102,241,.18);
  --primary: #6366f1;
  --primary-light: #818cf8;
  --green: #10b981;
  --green-light: #34d399;
  --amber: #f59e0b;
  --red: #ef4444;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 25px 60px rgba(0,0,0,.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

em { font-style: normal; color: var(--primary-light); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6,11,20,.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
.navbar.scrolled { background: rgba(6,11,20,.97); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: .9rem 2rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  letter-spacing: -.5px;
}
.nav-logo span { color: var(--primary-light); }
.nav-links {
  display: flex; gap: 2rem;
  list-style: none; margin-left: auto;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--primary);
  color: #fff; border: none; cursor: pointer;
  padding: .5rem 1.25rem;
  border-radius: 8px; font-size: .875rem; font-weight: 600;
  transition: all .2s;
}
.nav-cta:hover { background: var(--primary-light); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }
.nav-mobile { display: none; list-style: none; padding: 1rem 2rem; gap: 0; }
.nav-mobile li a { display: block; padding: .7rem 0; color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-mobile.open { display: flex; flex-direction: column; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 8rem 2rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(99,102,241,.15) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(16,185,129,.08) 0%, transparent 60%);
}
.hero-content {
  max-width: 600px; margin: 0 auto; position: relative; z-index: 2;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.35);
  color: var(--primary-light);
  padding: .35rem 1rem; border-radius: 50px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.25rem;
}
.hero-title em {
  background: linear-gradient(135deg, var(--primary-light), var(--green-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 480px; margin: 0 auto 2.5rem;
}
.hero-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 1.5rem; margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-val {
  display: block; font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }
.btn-primary {
  display: inline-block; padding: .9rem 2.2rem;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff; text-decoration: none;
  border-radius: 50px; font-weight: 600; font-size: 1rem;
  box-shadow: 0 8px 32px rgba(99,102,241,.4);
  transition: all .3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(99,102,241,.5); }

.hero-visual {
  position: absolute; right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(99,102,241,.2);
  animation: spin 20s linear infinite;
}
.ring-1 { width: 300px; height: 300px; animation-duration: 20s; }
.ring-2 { width: 420px; height: 420px; animation-duration: 30s; animation-direction: reverse; border-color: rgba(16,185,129,.12); }
.ring-3 { width: 500px; height: 500px; animation-duration: 45s; border-color: rgba(245,158,11,.08); }
.hero-icon { font-size: 5rem; filter: drop-shadow(0 0 40px rgba(16,185,129,.4)); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SECTIONS ===== */
.section { padding: 6rem 2rem; }
.section-dark { background: var(--bg2); }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  color: var(--primary-light);
  padding: .3rem .9rem; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 1rem;
}
.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ===== CARDS ===== */
.cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,.4); }
.card-glow:hover { box-shadow: 0 20px 60px rgba(99,102,241,.15); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .75rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* ===== TIMELINE ===== */
.timeline-wrap { display: flex; gap: 4rem; align-items: flex-start; flex-wrap: wrap; }
.timeline-clock { flex: 0 0 220px; display: flex; justify-content: center; }
.clock-svg { width: 220px; height: 220px; filter: drop-shadow(0 0 30px rgba(99,102,241,.3)); }
.timeline-steps { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 0; }
.t-step {
  display: flex; gap: 1.25rem;
  padding-bottom: 2rem; position: relative;
}
.t-step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 7px; top: 20px; bottom: 0;
  width: 2px; background: var(--border);
}
.t-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; margin-top: 4px;
  box-shadow: 0 0 12px rgba(99,102,241,.5);
}
.t-dot-green { background: var(--green); box-shadow: 0 0 12px rgba(16,185,129,.5); }
.t-time {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: .25rem;
}
.t-eat .t-time { color: var(--green); }
.t-content h4 { font-size: 1rem; font-weight: 600; margin-bottom: .35rem; }
.t-content p { color: var(--text-muted); font-size: .9rem; }

/* ===== RULES GRID ===== */
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.rule-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.rule-header { margin-bottom: 1.5rem; }
.rule-badge {
  display: inline-block; padding: .3rem .9rem;
  border-radius: 50px; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-red { background: rgba(239,68,68,.15); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.badge-green { background: rgba(16,185,129,.15); color: var(--green-light); border: 1px solid rgba(16,185,129,.3); }
.badge-amber { background: rgba(245,158,11,.15); color: #fbbf24; border: 1px solid rgba(245,158,11,.3); }
.rule-no ul, .rule-yes ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.rule-no li, .rule-yes li { font-size: .95rem; color: var(--text-muted); }
.kcal-display { text-align: center; margin: 1.5rem 0; }
.kcal-val { display: block; font-size: 3.5rem; font-weight: 800; color: #fbbf24; line-height: 1; }
.kcal-unit { font-size: .9rem; color: var(--text-dim); }
.kcal-note { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.5rem; }
.macro-bars { display: flex; flex-direction: column; gap: .75rem; }
.macro-bar { display: flex; align-items: center; gap: .75rem; font-size: .82rem; }
.macro-bar span:first-child { width: 65px; color: var(--text-muted); }
.macro-bar span:last-child { width: 35px; color: var(--text-dim); text-align: right; }
.bar { flex: 1; height: 8px; background: rgba(255,255,255,.07); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.bar-protein { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.bar-fat { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.bar-carbs { background: linear-gradient(90deg, var(--green), var(--green-light)); }

/* ===== FOOD GRID ===== */
.food-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.food-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all .3s; cursor: default;
}
.food-item:hover {
  transform: translateY(-5px);
  border-color: rgba(16,185,129,.4);
  box-shadow: 0 20px 50px rgba(16,185,129,.1);
}
.food-emoji { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.food-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.food-item p { color: var(--text-muted); font-size: .88rem; margin-bottom: .75rem; }
.food-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--green); background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2); border-radius: 50px;
  padding: .2rem .7rem;
}

/* ===== DAY TIMELINE ===== */
.day-timeline { display: flex; flex-direction: column; gap: 0; max-width: 700px; margin: 0 auto; }
.day-block { display: flex; gap: 2rem; padding-bottom: 2.5rem; position: relative; }
.day-block:not(:last-child)::after {
  content: ''; position: absolute;
  left: 55px; top: 50px; bottom: 0;
  width: 2px; background: var(--border);
}
.day-time {
  flex-shrink: 0; width: 80px; padding-top: .2rem;
  font-size: .8rem; font-weight: 700; color: var(--primary-light);
  text-align: right;
}
.day-meal .day-time { color: var(--green); }
.day-icon { font-size: 1.75rem; flex-shrink: 0; }
.day-content { flex: 1; }
.day-content h4 { font-size: 1rem; font-weight: 600; margin-bottom: .35rem; }
.day-content p { color: var(--text-muted); font-size: .9rem; }
.meal-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.meal-tags span {
  font-size: .75rem; padding: .2rem .65rem;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  border-radius: 50px; color: var(--primary-light);
}

/* ===== FAQ ===== */
.faq-list { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(99,102,241,.4); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem;
  background: none; border: none; color: var(--text);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  text-align: left; gap: 1rem;
  transition: color .2s;
}
.faq-q:hover { color: var(--primary-light); }
.faq-arrow { color: var(--primary-light); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 1.5rem 1.25rem; }
.faq-a p { color: var(--text-muted); font-size: .92rem; line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { background: var(--bg); }
.cta-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 24px; padding: 4rem 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,.2), transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; margin: 1rem 0 1rem; line-height: 1.2;
}
.cta-box p { color: var(--text-muted); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1rem; }
.cta-steps {
  display: flex; justify-content: center; gap: 2rem;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.cta-step { display: flex; flex-direction: column; align-items: center; gap: .5rem; max-width: 180px; }
.cta-step span {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  box-shadow: 0 4px 16px rgba(99,102,241,.4);
}
.cta-step p { font-size: .88rem; color: var(--text-muted); text-align: center; }
.cta-disclaimer { font-size: .82rem; color: var(--text-dim); margin-top: 1.5rem; }

/* ===== FOOTER ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-brand p { color: var(--text-muted); font-size: .88rem; margin-top: .5rem; max-width: 280px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--text-dim);
}

/* ===== NAV GUIDE LINK ===== */
.nav-link-guide { color: var(--amber) !important; font-weight: 600 !important; }
.nav-link-guide:hover { color: #fbbf24 !important; }

/* ===== GUIDE / ACHAT PDF ===== */
.guide-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: start;
}
.guide-card {
  background: var(--card);
  border: 1px solid rgba(245,158,11,.35);
  border-radius: var(--radius);
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 0 60px rgba(245,158,11,.08);
}
.guide-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245,158,11,.06), transparent);
  pointer-events: none;
}
.guide-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  font-size: .75rem; font-weight: 800;
  padding: .3rem 1rem; border-radius: 50px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.guide-price { text-align: center; margin-bottom: 1.75rem; }
.guide-price-old {
  display: block; font-size: .9rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-bottom: .25rem;
}
.guide-price-main {
  display: block;
  font-size: 3.5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.guide-currency { font-size: 2rem; }
.guide-price-sub { display: block; font-size: .82rem; color: var(--text-dim); margin-top: .4rem; }
.guide-includes {
  list-style: none;
  display: flex; flex-direction: column; gap: .65rem;
  margin-bottom: 1.75rem;
}
.guide-includes li { font-size: .93rem; color: var(--text-muted); display: flex; gap: .5rem; align-items: flex-start; }
.gi-check {
  flex-shrink: 0; width: 20px; height: 20px;
  background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--green); font-weight: 700;
}
.btn-buy {
  display: block; width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000; font-weight: 800; font-size: 1rem;
  border: none; border-radius: 12px; cursor: pointer;
  text-align: center; text-decoration: none;
  box-shadow: 0 8px 32px rgba(245,158,11,.4);
  transition: all .3s;
  letter-spacing: .3px;
}
.btn-buy:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(245,158,11,.5); }
.btn-buy-icon { margin-right: .3rem; }
.guide-secure {
  text-align: center; font-size: .78rem;
  color: var(--text-dim); margin: 1rem 0 .75rem;
}
.btn-preview {
  display: block; width: 100%;
  padding: .65rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px; color: var(--text-muted);
  font-size: .88rem; cursor: pointer;
  transition: all .2s;
}
.btn-preview:hover { border-color: rgba(99,102,241,.4); color: var(--text); }

/* Guide Preview Panel */
.guide-preview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.preview-header {
  background: rgba(99,102,241,.08);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  font-size: .85rem; font-weight: 700;
  color: var(--primary-light);
  letter-spacing: .5px;
}
.preview-chapters { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.chapter { display: flex; gap: 1rem; align-items: flex-start; }
.chapter-num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: var(--primary-light);
}
.chapter h4 { font-size: .95rem; font-weight: 600; margin-bottom: .2rem; }
.chapter p { font-size: .83rem; color: var(--text-muted); }
.preview-testimonial {
  margin: 0 1.5rem 1.5rem;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.15);
  border-radius: 12px;
  padding: 1.25rem;
}
.preview-testimonial p { font-size: .9rem; color: var(--text-muted); font-style: italic; margin-bottom: .5rem; }
.preview-testimonial span { font-size: .8rem; color: var(--green); font-weight: 600; }

/* ===== MODALES ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 480px; width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-box-wide { max-width: 680px; }
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.07); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--text-muted); cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.15); }
.modal-icon { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
.modal-box h3 {
  text-align: center; font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem;
}
.modal-desc { text-align: center; color: var(--text-muted); font-size: .92rem; margin-bottom: 1.5rem; line-height: 1.7; }
.modal-trust {
  display: flex; justify-content: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.75rem;
}
.modal-trust span {
  font-size: .78rem; font-weight: 600;
  padding: .35rem .85rem;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 50px; color: var(--primary-light);
}
.modal-btn { margin-bottom: .75rem; }
.modal-note { text-align: center; font-size: .75rem; color: var(--text-dim); }
.modal-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; }
.toc-section h4 { font-size: .88rem; font-weight: 700; color: var(--primary-light); margin-bottom: .6rem; }
.toc-section ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.toc-section li { font-size: .82rem; color: var(--text-muted); padding-left: .75rem; position: relative; }
.toc-section li::before { content: '›'; position: absolute; left: 0; color: var(--primary); }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-preview { display: none; } /* Masqué sur tablette/mobile, gardé en modal */
}

/* Mobile */
@media (max-width: 768px) {

  /* --- NAV --- */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { padding: .8rem 1.25rem; }
  .nav-logo { font-size: 1.25rem; }

  /* --- HERO --- */
  .hero {
    flex-direction: column;
    padding: 7rem 1.25rem 3rem;
    min-height: auto;
    text-align: center;
  }
  .hero-visual { display: none; }
  .hero-title { letter-spacing: -1px; font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .hero-subtitle { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-stats {
    gap: .75rem;
    margin-bottom: 2rem;
    justify-content: center;
  }
  .stat-sep { display: none; }
  .stat-val { font-size: 1.6rem; }
  .btn-primary { font-size: .9rem; padding: .8rem 1.75rem; }

  /* --- SECTIONS --- */
  .section { padding: 3.5rem 1.25rem; }
  .section-header { margin-bottom: 2.25rem; }
  .section-header h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .section-header p { font-size: .93rem; }

  /* --- CARDS (PRINCIPE) --- */
  .cards-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .card { padding: 1.5rem; }
  .card-icon { font-size: 2rem; }

  /* --- TIMELINE JEUNE --- */
  .timeline-wrap {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .timeline-clock { flex: none; }
  .clock-svg { width: 180px; height: 180px; }
  .timeline-steps { min-width: 100%; }

  /* --- REGLES GRID --- */
  .rules-grid { grid-template-columns: 1fr; gap: 1rem; }
  .rule-card { padding: 1.5rem; }
  .kcal-val { font-size: 2.8rem; }

  /* --- FOOD GRID --- */
  .food-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .food-item { padding: 1.25rem; }
  .food-emoji { font-size: 2rem; margin-bottom: .5rem; }

  /* --- JOURNEE TYPE --- */
  .day-timeline { padding: 0 .25rem; }
  .day-block {
    gap: .75rem;
    padding-bottom: 1.75rem;
  }
  .day-block:not(:last-child)::after {
    left: 68px;
    top: 40px;
  }
  .day-time {
    width: 58px;
    font-size: .72rem;
  }
  .day-icon { font-size: 1.4rem; }
  .day-content h4 { font-size: .92rem; }
  .day-content p { font-size: .83rem; }
  .meal-tags { gap: .35rem; }
  .meal-tags span { font-size: .68rem; padding: .15rem .5rem; }

  /* --- FAQ --- */
  .faq-q { padding: 1rem 1.1rem; font-size: .92rem; }
  .faq-item.open .faq-a { max-height: 400px; }

  /* --- CTA --- */
  .cta-box { padding: 2.25rem 1.25rem; border-radius: 16px; }
  .cta-steps { gap: 1.25rem; }
  .cta-step { max-width: 140px; }
  .cta-step p { font-size: .8rem; }

  /* --- GUIDE --- */
  .guide-layout { grid-template-columns: 1fr; }
  .guide-card { padding: 1.5rem; }
  .guide-price-main { font-size: 2.8rem; }

  /* --- MODALES --- */
  .modal-box { padding: 1.75rem 1.25rem; border-radius: 18px; }
  .modal-box-wide { max-width: 100%; }
  .modal-toc { grid-template-columns: 1fr; }
  .modal-trust { gap: .5rem; }
  .modal-trust span { font-size: .72rem; }

  /* --- FOOTER --- */
  .footer { padding: 2.5rem 1.25rem 1.25rem; }
  .footer-inner { flex-direction: column; gap: 1.25rem; margin-bottom: 1.25rem; }
  .footer-links { gap: .85rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .35rem; }
}

/* Extra small */
@media (max-width: 420px) {
  .food-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: .5rem; }
  .cta-steps { flex-direction: column; align-items: center; }
  .cta-step { max-width: 100%; width: 100%; flex-direction: row; gap: 1rem; text-align: left; }
  .meal-tags { flex-direction: column; }
  .faq-q { font-size: .85rem; }
}
