/* ============================================
   LE PROTOCOLE DU BICARBONATE — pages d'upsell
   Même palette et typographie que la page de vente (css/style.css du main).
   Fichier identique dans Upsell 1, 2 et 3 : modifier les trois ensemble.
   ============================================ */

: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-success: #2e7d4f;
  --color-border: #e6dfd0;

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

  --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);
}

*, *::before, *::after { box-sizing: border-box; }
html { -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: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--color-dark); font-weight: 600; }
a { color: var(--color-dark); }

h1, h2, h3 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-dark);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }

.container { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; margin-inline: auto; }
.text-center { text-align: center; }
.muted { color: var(--color-text-muted); }
.small { font-size: .875rem; }
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 10px;
}
.lead {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--color-dark);
  font-weight: 500;
}

/* --- Barre d'étape + mini-header ------------------------------------------ */
.u-alert {
  background: #fff7e6;
  border-bottom: 1px solid #f0d68c;
  color: #6b4f10;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
}
.topbar {
  background: var(--color-dark);
  color: #fff;
  padding: 12px 0;
  font-size: .78rem;
  letter-spacing: .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); }

.stepper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 26px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.stepper .done { color: var(--color-success); }
.stepper .now { color: var(--color-dark); }

/* --- Confirmation de la commande déjà réglée ------------------------------ */
.u-confirm {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-success);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 48px;
}
.u-confirm h1 { font-size: clamp(1.6rem, 3.8vw, 2.2rem); }
.u-confirm__hold {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--color-text-muted);
}

/* --- Agradecimento ampliado ------------------------------------------------ */
.u-confirm { padding: 44px 28px 34px; }
.u-confirm__check {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--color-success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; box-shadow: var(--shadow-md);
}
.u-confirm h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
.u-confirm .lead { margin: 6px auto 0; max-width: 34rem; }
.u-confirm__body { max-width: 38rem; margin: 22px auto 0; text-align: left; font-size: 1.02rem; }
.u-confirm__info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--color-border);
  font-size: .88rem; font-weight: 600; color: var(--color-success);
}

/* --- L'offre : couverture + contenu --------------------------------------- */
.pack {
  position: relative;
  background: var(--color-light);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 28px 32px;
  margin-top: 36px;
}
.pack__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark);
  color: var(--color-gold);
  padding: 5px 18px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  border-radius: 999px;
  white-space: nowrap;
}
.pack__grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 760px) { .pack__grid { grid-template-columns: 260px 1fr; gap: 40px; } }

/* Couverture du guide, dessinée en CSS : pas d'image à produire ni à charger */
.cover {
  aspect-ratio: 3 / 4;
  max-width: 260px;
  width: 100%;
  margin-inline: auto;
  background: linear-gradient(160deg, #142339 0%, #0e1a2b 100%);
  border: 2px solid rgba(201, 165, 103, .55);
  border-radius: 4px 10px 10px 4px;
  box-shadow: inset 10px 0 0 rgba(0, 0, 0, .25), var(--shadow-lg);
  color: #ecdfc6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px 20px 30px;
  text-align: left;
}
.cover__top { font-size: .62rem; letter-spacing: .2em; color: var(--color-gold); font-weight: 700; }
.cover__title { font-family: var(--ff-serif); font-size: 1.85rem; line-height: 1.05; color: #fff; font-weight: 700; margin-top: 18px; }
.cover__sub { font-family: var(--ff-serif); font-style: italic; font-size: 1rem; color: #c9d0db; margin-top: 10px; line-height: 1.35; }
.cover__rule { height: 2px; width: 48px; background: var(--color-gold); margin-top: 16px; }
.cover__foot { font-size: .62rem; letter-spacing: .16em; color: #9aa4b4; }

.pack__name { font-family: var(--ff-serif); font-size: clamp(1.7rem, 3.6vw, 2.2rem); font-weight: 700; line-height: 1.1; color: var(--color-dark); margin: 0; }
.pack__format { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  color: var(--color-dark-soft);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
}

/* --- Contenu du module ---------------------------------------------------- */
.content-block {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.content-block h3 { font-family: var(--ff-sans); font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.content-block p { font-size: .95rem; line-height: 1.6; }

/* --- Barre de renfort ----------------------------------------------------- */
.reinforce {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 32px 0 0;
  padding: 20px 22px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
@media (min-width: 760px) { .reinforce { grid-template-columns: repeat(4, 1fr); } }
.reinforce li { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; font-weight: 500; line-height: 1.4; }
.reinforce li::before { content: '✔'; color: var(--color-success); font-weight: 700; }

/* --- Bloc d'achat --------------------------------------------------------- */
.buy { max-width: 600px; margin: 44px auto 0; text-align: center; }
.priceband {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 26px;
  background: var(--color-light);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
}
.priceband b { font-family: var(--ff-serif); font-size: clamp(3rem, 9vw, 4.2rem); font-weight: 700; line-height: 1; color: var(--color-dark); }
.priceband span { font-size: .85rem; color: var(--color-text-muted); }
.charge-notice {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: .88rem;
  line-height: 1.55;
  text-align: left;
  margin: 22px 0 16px;
}
.btn {
  display: block;
  width: 100%;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .02em;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(180deg, #d4b274 0%, #b8923f 100%);
  color: #1d1305;
  border: 1px solid var(--color-gold-dark);
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #dcbc82 0%, #c19a45 100%); }
.btn-note { margin-top: 10px; font-size: .82rem; color: var(--color-text-muted); }
.cta-sep { border: 0; border-top: 1px solid var(--color-border); margin: 32px 0 18px; }
.decline { display: inline-block; color: var(--color-text-muted); font-size: .9rem; padding: 12px; min-height: 44px; line-height: 1.45; }

/* --- Garantie (même sceau que la page de vente) --------------------------- */
.guarantee {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  margin-top: 48px;
}
@media (min-width: 700px) { .guarantee { grid-template-columns: 140px 1fr; } }
.seal-circle {
  width: 130px;
  height: 130px;
  margin-inline: auto;
  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;
  border: 5px double rgba(14, 26, 43, .3);
  box-shadow: var(--shadow-md);
}
.seal-days { font-family: var(--ff-serif); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.seal-label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; margin-top: 2px; }
.seal-sub { font-size: .55rem; font-weight: 700; letter-spacing: .2em; margin-top: 6px; padding: 2px 8px; background: var(--color-dark); color: var(--color-gold); border-radius: 999px; }
.guarantee h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

/* --- Pied de page --------------------------------------------------------- */
.footer {
  background: #0a1422;
  color: #8b95a5;
  margin-top: 72px;
  padding: 44px 0 36px;
  font-size: .82rem;
  line-height: 1.65;
}
.footer p { margin-bottom: 14px; }
.footer strong { color: #c9d0db; }
.footer-links {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 4px;
  font-size: .85rem;
}
.footer-links a { color: var(--color-gold); text-decoration: none; padding: 4px 8px; }
.footer-links a:hover { color: #ecdfc6; text-decoration: underline; }
.footer-sep { color: #5a6675; }
.footer-copy { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .06); text-align: center; font-size: .78rem; }
@media (max-width: 560px) {
  .footer-links { flex-direction: column; align-items: center; }
  .footer-sep { display: none; }
}
