/* ============ VARIABLES DA ============ */
:root {
  --c-primary: #145DA0;
  --c-secondary: #FAD5C7;
  --c-accent: #E18B22;
  --c-alert: #FF0000;
  --c-bg: #FFFBF7;
  --c-text: #1E2A38;
  --f-title: 'Poppins', sans-serif;
  --f-body: 'Comfortaa', sans-serif;
  --f-accent: 'Montserrat', sans-serif;
  --btn-radius: 10px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--f-title); line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
ul { list-style: none; }

/* ============ UTILITAIRES ============ */
.container { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--f-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ BOUTONS ============ */
.btn-primary {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  padding: 17px 32px;
  border-radius: var(--btn-radius);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: visible;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
  padding: 15px 32px;
  border-radius: var(--btn-radius);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .btn-primary, .btn-secondary { width: auto; }
}

/* ============ ANIMATIONS AU SCROLL (fade-in) ============ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============ HERO ============ */
.hero {
  background: var(--c-primary);
  color: #fff;
  padding: 56px 0 40px;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.hero-text { text-align: center; }
.hero-eyebrow { color: var(--c-secondary); opacity: 0.9; margin-bottom: 14px; }
.hero h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}
.rotator-word {
  color: var(--c-accent);
  font-style: italic;
  display: inline-block;
  transition: opacity 0.35s ease;
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 24px;
}
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 28px;
  text-align: left;
}
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  opacity: 0.92;
}
.hero-bullets .x { color: var(--c-accent); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.hero-pitch {
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 28px;
  opacity: 0.95;
}
.hero-pitch strong { color: var(--c-secondary); }
.hero-cta-caption { font-size: 13px; opacity: 0.7; margin-top: 12px; }
.hero-photo {
  width: 260px;
  height: 320px;
  border-radius: 16px;
  background: var(--c-secondary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.15);
}
.hero-photo span { color: var(--c-primary); font-size: 13px; font-family: var(--f-body); text-align: center; padding: 12px; opacity: 0.6; }

@media (min-width: 768px) {
  .hero { padding: 90px 0 70px; }
  .hero-grid { flex-direction: row; text-align: left; gap: 48px; }
  .hero-text { text-align: left; }
  .hero-eyebrow, .hero-subtitle, .hero-pitch { margin-left: 0; }
  .hero-bullets { margin-left: 0; }
  .hero h1 { font-size: 46px; }
  .hero-photo { width: 400px; height: 500px; order: 2; }
}

/* ============ MARQUEE / STRIP PHOTOS ============ */
.marquee-section {
  padding: 32px 0;
  overflow: hidden;
  background: var(--c-bg);
  border-top: 1px solid rgba(20,93,160,0.08);
  border-bottom: 1px solid rgba(20,93,160,0.08);
}
.marquee-label {
  text-align: center;
  font-family: var(--f-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 20px;
  opacity: 0.8;
}
.marquee-wrapper { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}
.marquee-item {
  width: 220px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-item span { font-size: 12px; color: var(--c-primary); opacity: 0.55; font-family: var(--f-body); }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }

/* ============ MIROIR DOULEUR ============ */
.pain-scene {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  border-left: 3px solid var(--c-primary);
  padding-left: 16px;
}
.pain-quote {
  background: var(--c-primary);
  color: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 8px;
}
.pain-quote p {
  font-family: var(--f-title);
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
  opacity: 0.97;
}

/* ============ FAUSSES SOLUTIONS ============ */
.section-dark { background: var(--c-primary); color: #fff; }
.false-solution {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px 24px;
  border-left: 3px solid var(--c-accent);
  margin-bottom: 16px;
}
.false-solution p:first-child { font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--c-accent); }
.false-solution p:last-child { font-size: 15px; opacity: 0.85; line-height: 1.6; }
.truth-box {
  margin-top: 28px;
  padding: 24px;
  background: var(--c-accent);
  border-radius: 12px;
  text-align: center;
}
.truth-box p { font-family: var(--f-title); font-size: 19px; font-style: italic; color: #fff; line-height: 1.4; }

/* ============ STATS ============ */
.stats-section { padding: 44px 0; background: var(--c-accent); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: center; }
.stat-number { font-family: var(--f-title); font-size: 40px; font-weight: 800; color: var(--c-primary); line-height: 1; margin-bottom: 6px; }
.stat-label { font-family: var(--f-accent); font-size: 12px; font-weight: 700; color: var(--c-primary); opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============ HISTOIRE ============ */
.story-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.story-photo {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--c-secondary); flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.story-photo span { font-size: 10px; color: var(--c-primary); opacity: 0.6; text-align: center; }

/* ============ CE QUE C'EST + TIMELINE ============ */
.timeline { margin-top: 28px; position: relative; }
.timeline-step {
  position: relative;
  padding: 0 0 32px 32px;
  border-left: 2px solid rgba(255,255,255,0.2);
  opacity: 0.35;
  transform: translateX(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-step.active { opacity: 1; transform: translateX(0); }
.timeline-dot {
  position: absolute;
  left: -8px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.timeline-step.active .timeline-dot {
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(225,139,34,0.25);
}
.timeline-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.timeline-step p { font-size: 14.5px; line-height: 1.6; opacity: 0.85; }

/* ============ CONTENU DÉTAILLÉ ============ */
.module-card {
  border: 1.5px solid var(--c-primary);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.module-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 12px; }
.module-card-head p { font-weight: 700; font-size: 16px; }
.module-badge {
  background: var(--c-accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.module-card-body { font-size: 14px; line-height: 1.6; opacity: 0.8; }
.value-box { background: var(--c-primary); color: #fff; border-radius: 12px; padding: 28px 24px; text-align: center; margin-top: 8px; }
.value-box .value-total { font-family: var(--f-title); font-size: 30px; font-weight: 800; text-decoration: line-through; opacity: 0.55; margin-bottom: 4px; }
.value-box .value-final { font-family: var(--f-title); font-size: 44px; font-weight: 800; color: var(--c-accent); }

/* ============ TÉMOIGNAGES CARROUSEL ============ */
.testi-section { background: var(--c-primary); color: #fff; }
.testi-carousel { position: relative; max-width: 560px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slide {
  display: none;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  border-left: 3px solid var(--c-accent);
}
.testi-slide.active { display: block; }
.testi-slide p.quote { font-size: 16px; font-style: italic; line-height: 1.7; margin-bottom: 18px; opacity: 0.95; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 60px; height: 60px; border-radius: 50%; background: var(--c-secondary);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--c-primary); font-family: var(--f-title); font-weight: 800; font-size: 18px;
}
.testi-author p { font-weight: 700; font-size: 14px; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.testi-arrow {
  background: rgba(255,255,255,0.12); border: none; color: #fff; width: 38px; height: 38px;
  border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; border: none; padding: 0; }
.testi-dot.active { background: var(--c-accent); width: 22px; border-radius: 4px; }

/* ============ OFFRE ============ */
.offer-card { border: 2px solid var(--c-primary); border-radius: 16px; padding: 32px 24px; text-align: center; margin-bottom: 24px; }
.offer-badge {
  display: inline-block; background: var(--c-accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 20px; letter-spacing: 0.05em; text-transform: uppercase;
  font-family: var(--f-accent);
}
.offer-price { font-family: var(--f-title); font-size: 52px; font-weight: 800; color: var(--c-primary); line-height: 1; margin-bottom: 4px; }
.offer-price-strike { font-size: 14px; text-decoration: line-through; opacity: 0.5; margin-bottom: 20px; }
.offer-included { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.offer-included li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.offer-included .check { color: var(--c-primary); font-weight: 800; flex-shrink: 0; }
.pay-badges { display: flex; justify-content: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.pay-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: 0.65; }

/* Badge garantie circulaire */
.guarantee-box {
  border: 1.5px solid var(--c-accent); border-radius: 12px; padding: 24px;
  display: flex; gap: 18px; align-items: flex-start; text-align: left;
}
.guarantee-badge {
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-secondary); display: flex; align-items: center; justify-content: center;
  position: relative;
}
.guarantee-badge svg { width: 42px; height: 42px; }

/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
.faq-btn {
  width: 100%; text-align: left; background: none; border: none; color: #fff;
  padding: 18px 0; font-family: var(--f-body); font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-icon { font-size: 20px; flex-shrink: 0; transition: transform 0.2s; }
.faq-answer { display: none; padding-bottom: 18px; font-size: 15px; line-height: 1.7; opacity: 0.85; }

/* ============ CTA FINAL ============ */
.final-cta { background: var(--c-primary); color: #fff; text-align: center; }
.final-cta .question { font-size: 17px; line-height: 1.8; opacity: 0.92; margin-bottom: 12px; }
.final-cta .question-strong { font-family: var(--f-title); font-size: 21px; font-weight: 800; line-height: 1.4; }
.final-cta-btn {
  display: block; max-width: 460px; margin: 28px auto 14px; background: #fff; color: var(--c-primary);
  padding: 18px 32px; border-radius: var(--btn-radius); font-size: 18px; font-weight: 800;
  text-decoration: none; text-align: center; border: none; cursor: pointer; width: 100%; font-family: var(--f-body);
}
.final-cta-secondary { font-size: 14px; opacity: 0.85; }
.final-cta-secondary a { color: var(--c-secondary); font-weight: 700; text-decoration: underline; }

/* ============ FOOTER ============ */
footer { background: var(--c-primary); color: #fff; padding: 32px 20px 90px; text-align: center; }
footer .brand { font-family: var(--f-title); font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--c-accent); }
footer .copy { font-size: 13px; opacity: 0.6; margin-bottom: 16px; }
footer .links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
footer .links a { font-size: 12px; opacity: 0.6; color: #fff; }

@media (min-width: 768px) {
  footer { padding: 40px 20px; }
}

/* ============ STICKY CTA MOBILE ============ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--c-primary); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.sticky-cta .price { color: #fff; font-family: var(--f-title); font-weight: 800; font-size: 16px; flex-shrink: 0; }
.sticky-cta .price small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 10px; opacity: 0.7; }
.sticky-cta a {
  background: var(--c-accent); color: #fff; font-size: 14px; font-weight: 700; padding: 11px 18px;
  border-radius: var(--btn-radius); white-space: nowrap;
}
@media (min-width: 768px) { .sticky-cta { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 66px; } }

/* ============ CONFETTIS ============ */
.confetti-piece { position: fixed; top: 0; left: 0; width: 8px; height: 8px; pointer-events: none; z-index: 999; border-radius: 2px; }

/* ============ H2 titres responsive ============ */
h2.section-title { font-size: 26px; font-weight: 800; margin-bottom: 20px; line-height: 1.25; }
@media (min-width: 768px) {
  h2.section-title { font-size: 36px; }
  .offer-price { font-size: 64px; }
}
