/* ============================================
   LE PROTOCOLE DU BICARBONATE
   Sales page stylesheet
   ============================================ */

:root {
  --color-bg: #fdfbf6;
  --color-cream: #f5efe2;
  --color-light: #ffffff;
  --color-dark: #0e1a2b;
  --color-dark-soft: #142339;
  --color-text: #1d2734;
  --color-text-muted: #5a6675;
  --color-gold: #c9a567;
  --color-gold-dark: #a8843f;
  --color-accent: #1f3a5f;
  --color-success: #2e7d4f;
  --color-danger: #b13b3b;
  --color-border: #e6dfd0;

  --ff-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1080px;
  --container-narrow: 720px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(14, 26, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 26, 43, 0.10);
  --shadow-lg: 0 20px 60px rgba(14, 26, 43, 0.18);
}

/* ============================================
   RESET + BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

strong { color: var(--color-dark); font-weight: 600; }
em { font-style: italic; color: inherit; }

ul { padding-left: 1.5em; margin: 0 0 1.5em; }
ul li { margin-bottom: 0.5em; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin-bottom: 0.8em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

.subtle {
  font-size: 0.7em;
  color: var(--color-text-muted);
  font-style: italic;
  font-weight: 500;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2em;
}

.lead {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--color-dark);
  font-weight: 500;
  margin: 1.5em 0;
}

.text-center { text-align: center; }
.muted { color: var(--color-text-muted); }
.small { font-size: 0.875rem; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-light { background-color: var(--color-light); }
.section-cream { background-color: var(--color-cream); }
.section-dark {
  background-color: var(--color-dark);
  color: #d8dde5;
}
.section-dark h2, .section-dark h3, .section-dark strong {
  color: #ffffff;
}
.section-dark .pull-quote {
  background: rgba(201, 165, 103, 0.08);
  border-left-color: var(--color-gold);
  color: #ecdfc6;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--color-dark);
  color: #fff;
  padding: 10px 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-brand { font-weight: 600; }
.topbar-flag { color: var(--color-gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(180deg, #142339 0%, #0e1a2b 100%);
  color: #f0f3f8;
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,165,103,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-title {
  color: #ffffff;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  max-width: 900px;
  margin: 0 auto 24px;
}
.hero-sub {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: #c9d0db;
  max-width: 780px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-product {
  margin: 40px auto;
  max-width: 360px;
}
.hero-product-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(201,165,103,0.4);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,165,103,0.4);
  color: #ecdfc6;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-cta { margin-top: 16px; }
.hero-microcopy {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #9aa4b4;
}

.medical-disclaimer {
  margin: 32px auto 0;
  max-width: 720px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,165,103,0.35);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.55;
  color: #c9d0db;
  text-align: left;
}
.medical-disclaimer strong { color: var(--color-gold); }

.disclaimer-small {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: var(--shadow-md);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #d4b274 0%, #b8923f 100%);
  color: #1d1305;
  border: 1px solid var(--color-gold-dark);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #dcbc82 0%, #c19a45 100%);
  color: #1d1305;
}

.btn-large { padding: 20px 44px; font-size: 1.15rem; }
.btn-xlarge {
  padding: 24px 52px;
  font-size: 1.25rem;
  width: 100%;
  max-width: 480px;
}

/* ============================================
   QUOTE / BULLETS
   ============================================ */
.pull-quote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--color-gold);
  background: var(--color-cream);
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--color-dark-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.bullets {
  list-style: none;
  padding-left: 0;
}
.bullets li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.bullets li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.8em;
  top: 4px;
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0 2em;
}
.check-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
  line-height: 1.55;
}
.check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.microcopy {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ============================================
   PHASES (3 cards)
   ============================================ */
.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 48px 0;
}
.phase-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.phase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.phase-num {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.phase-card h3 {
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  color: var(--color-dark);
}
.phase-week {
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.includes {
  margin-top: 40px;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

/* ============================================
   TIMELINE (semaine par semaine)
   ============================================ */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-border) 100%);
}
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
  position: relative;
}
.timeline-marker {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-dark);
  color: var(--color-gold);
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.timeline-content {
  flex: 1;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.timeline-content h3 { margin-bottom: 6px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial {
  background: var(--color-light);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 28px 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-text {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--color-dark-soft);
}
.testimonial-author {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* ============================================
   OFFER BOX
   ============================================ */
.section-offer {
  background: linear-gradient(180deg, #fdfbf6 0%, #f5efe2 100%);
  padding: 90px 0;
}

.offer-box {
  background: var(--color-light);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  margin: 36px 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.offer-box::before {
  content: 'OFFRE SPÉCIALE';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark);
  color: var(--color-gold);
  padding: 5px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  border-radius: 999px;
}

.offer-price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.offer-price-old {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--color-danger);
  text-decoration-thickness: 2px;
}
.offer-price-new {
  font-family: var(--ff-serif);
  font-size: clamp(3.5rem, 9vw, 5rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}
.offer-payment {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.offer-includes {
  text-align: left;
  list-style: none;
  padding-left: 0;
  margin: 24px auto 32px;
  max-width: 380px;
}
.offer-includes li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.offer-includes li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.offer-microcopy {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================
   GUARANTEE
   ============================================ */
.guarantee {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.guarantee-seal { display: flex; justify-content: center; }
.seal-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4b274 0%, #a8843f 100%);
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 6px double rgba(14,26,43,0.3);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 30px;
}
.seal-days {
  font-family: var(--ff-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}
.seal-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 4px;
}
.seal-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-top: 8px;
  padding: 3px 10px;
  background: var(--color-dark);
  color: var(--color-gold);
  border-radius: 999px;
}

/* ============================================
   FAQ
   ============================================ */
.faq { margin-top: 32px; }
.faq-item {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-gold);
}
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-dark);
  list-style: none;
  position: relative;
  padding-right: 50px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--color-gold-dark);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--color-text);
  line-height: 1.65;
}

/* ============================================
   FINAL CTA
   ============================================ */
.section-final-cta {
  background: linear-gradient(180deg, #142339 0%, #0e1a2b 100%);
  color: #d8dde5;
}
.section-final-cta h2 { color: #ffffff; }
.section-final-cta strong { color: #ffffff; }
.section-final-cta em { color: var(--color-gold); font-style: italic; }

.final-cta-box {
  text-align: center;
  margin: 40px 0;
}
.final-cta-microcopy {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #9aa4b4;
}
.brand-line {
  margin-top: 36px;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--color-gold);
  letter-spacing: 0.04em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0a1422;
  color: #8b95a5;
  padding: 50px 0 40px;
  font-size: 0.85rem;
  line-height: 1.65;
}
.footer h3 {
  color: #c9d0db;
  font-size: 1.1rem;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--ff-sans);
}
.footer p { margin-bottom: 14px; }
.footer strong { color: #c9d0db; }
.footer-copy {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }

  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-brand { font-size: 0.7rem; }
  .topbar-flag { font-size: 0.7rem; }

  .hero { padding: 50px 0 50px; }
  .hero-product { max-width: 280px; margin: 30px auto; }

  .guarantee {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .seal-circle { position: static; margin: 0 auto; }

  .timeline::before { left: 23px; }
  .timeline-marker { width: 48px; height: 48px; font-size: 1.1rem; }

  .pull-quote { font-size: 1.05rem; padding: 18px 20px; }
  .offer-box { padding: 36px 24px; }
  .offer-price-new { font-size: 3.5rem; }
  .btn-xlarge { padding: 20px 32px; font-size: 1.1rem; }
}

/* ============================================
   COMPLIANCE BANNER (top of page)
   ============================================ */
.compliance-banner {
  background: #fff7e6;
  border-bottom: 1px solid #f0d68c;
  color: #6b4f10;
  padding: 10px 0;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}
.compliance-banner strong { color: #4a3608; }
.compliance-banner a { color: #6b4f10; text-decoration: underline; }
.compliance-banner a:hover { color: #4a3608; }

/* ============================================
   FIGURES / SVG VISUALS
   ============================================ */
.figure {
  display: block;
  width: 100%;
  max-width: 880px;
  margin: 32px auto;
  height: auto;
}
.figure-narrow {
  max-width: 640px;
}

.section-tight { padding: 40px 0; }

.payment-strip {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 20px auto 0;
  height: auto;
}

/* ============================================
   CONTENT BLOCKS (programme details)
   ============================================ */
.content-block {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.content-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.content-block h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: var(--ff-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.content-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}
.content-block.bonus {
  background: linear-gradient(135deg, #fffaf0 0%, #fff5e0 100%);
  border-color: var(--color-gold);
  border-left: 4px solid var(--color-gold);
}
.bonus-tag {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

/* ============================================
   TWO-COL (pour qui / pour qui pas)
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.col-ok, .col-no {
  background: var(--color-light);
  border-radius: var(--radius-md);
  padding: 28px 28px;
  box-shadow: var(--shadow-sm);
}
.col-ok {
  border-left: 4px solid var(--color-success);
}
.col-no {
  border-left: 4px solid var(--color-danger);
}
.col-ok h3, .col-no h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.col-ok ul, .col-no ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.col-ok li, .col-no li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.55;
  font-size: 0.95rem;
}
.col-ok li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}
.col-no li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--color-danger);
  font-weight: 700;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.5rem; }
  .hero-sub { font-size: 1rem; }
  .btn { padding: 14px 26px; font-size: 1rem; }
  .check-list li { padding-left: 32px; }
}
