/* ===== 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;
  padding: .9rem 2rem; gap: 1.5rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  letter-spacing: -.5px; flex-shrink: 0;
}
.nav-logo span { color: var(--primary-light); }

/* Desktop links */
.nav-links {
  display: flex; gap: .25rem;
  list-style: none; margin-left: auto; align-items: center;
}
.nav-links > li > a {
  color: var(--text-muted); text-decoration: none;
  font-size: .875rem; font-weight: 500;
  padding: .45rem .8rem; border-radius: 8px;
  transition: color .2s, background .2s;
  display: block;
}
.nav-links > li > a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links > li > a.nav-active {
  color: var(--text);
  background: rgba(99,102,241,.12);
  font-weight: 600;
}

/* Dropdown trigger */
.nav-dropdown { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: .35rem;
  color: var(--text-muted); background: none; border: none;
  font-size: .875rem; font-weight: 500; cursor: pointer;
  padding: .45rem .8rem; border-radius: 8px;
  transition: color .2s, background .2s; white-space: nowrap;
  font-family: inherit;
}
.nav-drop-btn:hover, .nav-drop-btn.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-drop-arrow {
  font-size: 1rem; transition: transform .25s; display: inline-block; line-height: 1;
}
.nav-drop-btn.active .nav-drop-arrow { transform: rotate(90deg); }

/* Dropdown panel */
.nav-drop-panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: rgba(13,22,38,.97);
  border: 1px solid var(--border);
  border-radius: 14px; padding: .5rem;
  min-width: 200px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(16px);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100;
}
.nav-drop-panel.open {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-drop-panel a {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .9rem; border-radius: 8px;
  color: var(--text-muted); text-decoration: none;
  font-size: .875rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-drop-panel a:hover { background: rgba(99,102,241,.12); color: var(--text); }
.drop-icon { font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }

/* Nav right side */
.nav-cta {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff; border: none; cursor: pointer;
  padding: .5rem 1.25rem;
  border-radius: 8px; font-size: .85rem; font-weight: 600;
  transition: all .2s; white-space: nowrap; flex-shrink: 0;
  font-family: inherit;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,.4); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; flex-shrink: 0; }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
  gap: .25rem;
  background: rgba(6,11,20,.98);
}
.nav-mobile.open { display: flex; }
.mobile-group { margin-bottom: .75rem; }
.mobile-group-label {
  font-size: .68rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim);
  padding: .5rem .5rem .4rem; margin-bottom: .15rem;
}
.nav-mobile a {
  display: block; padding: .6rem .75rem;
  color: var(--text-muted); text-decoration: none;
  font-size: .9rem; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-mobile a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.mobile-cta {
  display: block; text-align: center; margin-top: .5rem;
  padding: .85rem 1rem !important;
  background: linear-gradient(135deg, var(--primary), #8b5cf6) !important;
  color: #fff !important; font-weight: 700 !important;
  border-radius: 10px; text-decoration: none;
  font-size: .95rem !important;
}

/* ===== 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); }

/* ===== CHEAT MEAL ===== */
.cheat-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.cheat-hero-card {
  display: flex; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, rgba(245,158,11,.1), rgba(99,102,241,.08));
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.75rem;
}
.cheat-icon { font-size: 3.5rem; flex-shrink: 0; }
.cheat-hero-text h3 {
  font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cheat-hero-text p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.cheat-hero-text strong { color: var(--text); }

.cheat-why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cheat-why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.5rem;
  transition: all .3s;
}
.cheat-why-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,.35); box-shadow: 0 12px 40px rgba(245,158,11,.08); }
.cheat-why-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.cheat-why-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.cheat-why-card p { font-size: .85rem; color: var(--text-muted); }

.cheat-protocol {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem;
}
.cheat-protocol-header {
  background: rgba(245,158,11,.08); border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem; font-size: .85rem; font-weight: 700;
  color: #fbbf24; letter-spacing: .5px;
}
.cheat-steps { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.cheat-step { display: flex; gap: 1rem; align-items: flex-start; }
.cheat-step-num {
  flex-shrink: 0; width: 32px; height: 32px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; color: #000;
}
.cheat-step h5 { font-size: .9rem; font-weight: 600; margin-bottom: .2rem; }
.cheat-step p { font-size: .83rem; color: var(--text-muted); line-height: 1.5; }

.cheat-warning {
  display: flex; gap: .75rem; align-items: flex-start;
  background: rgba(239,68,68,.07); border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
}
.cheat-warning-icon { font-size: 1.2rem; flex-shrink: 0; }
.cheat-warning p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== SCIENCE / ÉTUDES ===== */
.science-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.study-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all .3s; display: flex; flex-direction: column; gap: .75rem;
}
.study-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(99,102,241,.1); border-color: rgba(99,102,241,.35); }
.study-tag {
  display: inline-block; padding: .25rem .85rem;
  border-radius: 50px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; width: fit-content;
}
.study-tag-blue  { background: rgba(99,102,241,.15); color: var(--primary-light); border: 1px solid rgba(99,102,241,.3); }
.study-tag-green { background: rgba(16,185,129,.15); color: var(--green-light); border: 1px solid rgba(16,185,129,.3); }
.study-tag-purple { background: rgba(168,85,247,.15); color: #c084fc; border: 1px solid rgba(168,85,247,.3); }
.study-tag-amber { background: rgba(245,158,11,.15); color: #fbbf24; border: 1px solid rgba(245,158,11,.3); }

.study-card h4 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.study-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.study-desc em { font-style: italic; color: var(--primary-light); }
.study-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  padding-top: .75rem; border-top: 1px solid var(--border);
  margin-top: auto;
}
.study-journal { font-size: .78rem; font-weight: 600; color: var(--primary-light); }
.study-authors { font-size: .75rem; color: var(--text-dim); font-style: italic; }

.science-disclaimer {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(99,102,241,.06); border: 1px solid rgba(99,102,241,.15);
  border-radius: var(--radius-sm); padding: 1.25rem 1.5rem;
  max-width: 750px; margin: 0 auto;
}
.science-disclaimer span { font-size: 1.5rem; flex-shrink: 0; }
.science-disclaimer p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== APRÈS LE RÉGIME : RÉÉQUILIBRAGE ===== */
.rebound-alert {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: linear-gradient(135deg, rgba(239,68,68,.1), rgba(245,158,11,.07));
  border: 1px solid rgba(239,68,68,.35);
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}
.rebound-alert-icon { font-size: 2rem; flex-shrink: 0; margin-top: .1rem; }
.rebound-alert h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; color: #f87171; }
.rebound-alert p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.rebound-alert em { color: #fbbf24; font-style: normal; }
.rebound-alert strong { color: var(--text); }

/* Phases timeline */
.rebal-phases {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-bottom: 3rem;
  position: relative;
}
.rebal-phases::before {
  content: '';
  position: absolute; top: 44px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 33%, var(--primary) 66%, var(--green) 100%);
  z-index: 0;
}
.rebal-phase {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0;
  overflow: hidden; transition: all .3s;
  position: relative; z-index: 1;
  margin: 0 .5rem;
}
.rebal-phase:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(99,102,241,.12); border-color: rgba(99,102,241,.4); }
.rebal-phase-final:hover { border-color: rgba(16,185,129,.4); box-shadow: 0 20px 50px rgba(16,185,129,.12); }

.rebal-phase-header {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.25rem 1rem 1rem; gap: .6rem;
  border-bottom: 1px solid var(--border);
  background: rgba(99,102,241,.04);
  text-align: center;
}
.rebal-phase-final .rebal-phase-header { background: rgba(16,185,129,.04); }

.rebal-phase-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,.4);
  flex-shrink: 0;
}
.phase-num-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  box-shadow: 0 4px 16px rgba(16,185,129,.4);
}

.rebal-phase-title { flex: 1; }
.rebal-phase-title h3 { font-size: .88rem; font-weight: 700; line-height: 1.3; margin-bottom: .3rem; }
.rebal-kcal {
  display: inline-block; font-size: .75rem; font-weight: 700;
  color: var(--primary-light); background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2); border-radius: 50px;
  padding: .15rem .65rem;
}
.rebal-kcal-green {
  color: var(--green-light); background: rgba(16,185,129,.1);
  border-color: rgba(16,185,129,.2);
}

.rebal-phase-body { padding: 1.25rem; }
.rebal-phase-body p { font-size: .84rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .85rem; }

.rebal-tags {
  display: flex; flex-direction: column; gap: .4rem;
}
.rebal-tags span {
  font-size: .72rem; font-weight: 600;
  color: var(--primary-light); background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 50px; padding: .2rem .65rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rebal-tags-green span {
  color: var(--green-light); background: rgba(16,185,129,.08);
  border-color: rgba(16,185,129,.15);
}

/* Do / Don't */
.rebal-rules {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.rebal-do, .rebal-dont {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.rebal-do { border-color: rgba(16,185,129,.25); }
.rebal-dont { border-color: rgba(239,68,68,.2); }
.rebal-rules-header { margin-bottom: 1.25rem; }
.rebal-do ul, .rebal-dont ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.rebal-do li, .rebal-dont li { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.rebal-do strong, .rebal-dont strong { color: var(--text); }

/* Success banner */
.rebal-success {
  display: flex; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, rgba(16,185,129,.1), rgba(99,102,241,.07));
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius); padding: 2rem 2.25rem;
}
.rebal-success-icon { font-size: 3rem; flex-shrink: 0; }
.rebal-success-text h3 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--green-light), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rebal-success-text p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.rebal-success-text strong { color: var(--text); -webkit-text-fill-color: var(--text); }

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

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-preview { display: none; }
  /* Rééquilibrage : 2 colonnes sur tablette */
  .rebal-phases { grid-template-columns: 1fr 1fr; }
  .rebal-phases::before { display: none; }
  /* Cheat meal why-grid : 2 colonnes reste ok */
}

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

  /* --- NAV --- */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { padding: .8rem 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; }

  /* --- CHEAT MEAL --- */
  .cheat-layout { grid-template-columns: 1fr; }
  .cheat-why-grid { grid-template-columns: 1fr; }
  .cheat-hero-card { flex-direction: column; text-align: center; }

  /* --- SCIENCE --- */
  .science-grid { grid-template-columns: 1fr; }

  /* --- APRÈS LE RÉGIME --- */
  .rebal-phases { grid-template-columns: 1fr; gap: .75rem; }
  .rebal-phases::before { display: none; }
  .rebal-rules { grid-template-columns: 1fr; }
  .rebal-success { flex-direction: column; text-align: center; }
  .rebal-do, .rebal-dont { padding: 1.5rem; }

  /* --- 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; }
}

/* ===== AVERTISSEMENT DANGER / CONTRE-INDICATIONS ===== */
.danger-band {
  background: linear-gradient(135deg, rgba(239,68,68,.16), rgba(245,158,11,.10));
  border-bottom: 1px solid rgba(239,68,68,.4);
  color: var(--text);
  text-align: center;
  padding: .7rem 1.5rem;
  font-size: .85rem;
  line-height: 1.5;
}
.danger-band strong { color: #fca5a5; }
.danger-band a { color: #fca5a5; text-decoration: underline; }

.danger-section { padding: 4rem 2rem; }
.danger-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(239,68,68,.10), rgba(239,68,68,.04));
  border: 1.5px solid rgba(239,68,68,.45);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.danger-box-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.2rem;
}
.danger-box-head .danger-icon { font-size: 2.2rem; line-height: 1; }
.danger-box-head h2 {
  font-size: 1.5rem;
  color: #f87171;
  border: none;
  padding: 0;
  margin: 0;
}
.danger-box > p { color: var(--text-muted); margin-bottom: 1.3rem; line-height: 1.7; }
.danger-box strong { color: var(--text); }

.contra-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem 1.5rem;
}
.contra-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.5;
}
.contra-list li::before {
  content: "⛔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: .9rem;
}
.danger-cta {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}
.danger-cta span { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.danger-cta p { font-size: .9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

@media (max-width: 640px) {
  .contra-list { grid-template-columns: 1fr; }
  .danger-section { padding: 2.5rem 1.2rem; }
  .danger-box { padding: 1.5rem 1.3rem; }
}

/* ===== CONSENTEMENT MODALE D'ACHAT ===== */
.modal-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  text-align: left;
  background: rgba(245,158,11,.07);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  margin: 1.2rem 0 1rem;
  cursor: pointer;
}
.modal-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .15rem;
  accent-color: var(--green);
  cursor: pointer;
}
.modal-consent span { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.modal-consent a { color: var(--primary-light); }
.modal-consent strong { color: var(--text); }

/* Bouton de paiement bloqué tant que la case n'est pas cochée */
.btn-buy.is-disabled {
  opacity: .45;
  filter: grayscale(.4);
  cursor: not-allowed;
  pointer-events: auto; /* on garde le clic pour afficher le feedback "shake" */
}

.modal-consent.shake { animation: consentShake .4s ease; border-color: var(--red); }
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
