/* ==========================================================================
   OFFRE — composants ajoutés au design system pour cette page
   Complète afoodi.css et offre.css : on n'y trouve QUE ce que le site n'avait
   pas déjà. Tout le reste de la page (.top, .hero, .calcul, .simu, .pilier,
   .formule, .bande-photo, .verbatim, .cta) réutilise les composants existants.
   Alternance des fonds : calcul sombre → piliers clair → étapes sombre →
   formules clair → régimes sombre → preuve clair → cta orange.
   ========================================================================== */

/* ----- Le calcul : les deux lignes sous le gain (prime, reste) ------------- */
.ligne-calcul {
  list-style: none;
  margin: clamp(18px, 2vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ligne-calcul li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--panel-line);
  font-size: 14px;
  line-height: 1.4;
  color: var(--cream-dim);
}
.ligne-calcul b {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
/* Le résultat net est la ligne qui compte : c'est la seule mise en avant. */
.ligne-calcul .is-net b { color: var(--orange); }
.ligne-calcul .is-net { color: var(--cream); }

/* ----- La démarche en 80 jours ------------------------------------------- */
.etapes {
  background: var(--green-dark);
  padding: clamp(56px, 7vw, 104px) 0;
}
.etapes h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  margin-top: 14px;
}
.etapes h2 .accent { color: var(--orange); }
.etapes__lead {
  max-width: 62ch;
  margin-top: clamp(18px, 2vw, 26px);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-dim);
  text-wrap: pretty;
}
.etapes__liste {
  list-style: none;
  margin: clamp(40px, 4.6vw, 68px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.etape {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  background: oklch(0.24 0.04 165 / .45);
}
/* Le jalon est une donnée, pas un titre : même traitement que .pilier__no. */
.etape__quand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}
.etape h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--cream);
}
.etape__p { font-size: 14.5px; line-height: 1.55; color: var(--cream-dim); }
/* Ce que le restaurateur obtient : la promesse de l'étape, détachée. */
.etape__out {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--panel-line);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--mint);
}

/* ----- Qui porte le risque : les deux régimes ---------------------------- */
.regimes {
  background: linear-gradient(175deg, var(--green-deep), var(--green-ink));
  padding: clamp(56px, 7vw, 104px) 0;
}
.regimes h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  margin-top: 14px;
}
.regimes h2 .accent { color: var(--orange); }
.regimes__grid {
  list-style: none;
  margin: clamp(40px, 4.6vw, 68px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.regime {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--panel-line);
  border-radius: 22px;
  background: oklch(0.24 0.04 165 / .45);
}
/* Le régime indexé sur le résultat est celui qu'on recommande : il est cerclé
   d'orange, comme .formule--hero l'est dans la gamme existante. */
.regime--lead {
  border-color: var(--orange);
  background: oklch(0.27 0.045 165 / .62);
}
.regime h3 {
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--cream);
}
.regime__p {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  letter-spacing: -.035em;
  color: var(--orange);
}
.regime__d { font-size: 15px; line-height: 1.6; color: var(--cream-dim); }
.regime__d em { color: var(--cream); font-style: normal; font-weight: 700; }
.regime__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.regime__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cream-dim);
}
.regime__list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
}
.regimes__note {
  max-width: 74ch;
  margin: clamp(28px, 3vw, 40px) auto 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--cream-dim);
  text-align: center;
  text-wrap: pretty;
}

/* ----- La gamme : quatre niveaux, donc 2×2 et non la grille à 3 ----------- */
.formules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.formules__intro,
.formules__note {
  max-width: 68ch;
  margin-inline: auto;
  font-size: 15.5px;
  line-height: 1.65;
  text-align: center;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.formules__intro { margin-top: clamp(18px, 2vw, 26px); }
.formules__note  { margin-top: clamp(28px, 3vw, 40px); }
.formules__note strong { color: var(--green-ink); }

/* ----- La preuve, sur fond clair -----------------------------------------
   .chiffres vient de cas-client.css, où elle vit sur fond sombre. Ici la
   section est claire : on rejoue les couleurs sur les tokens d'encre.       */
.preuve { padding: clamp(56px, 7vw, 104px) 0; }
.preuve .chiffres {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin: clamp(40px, 4.6vw, 68px) 0 0;
  padding: 0;
}
.preuve .chiffres li {
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: clamp(18px, 1.8vw, 26px);
  background: var(--cream-panel);
}
.preuve .chiffres__n {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--orange);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.preuve .chiffres__l { font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin-top: 12px; }
.preuve__lien { text-align: center; margin-top: clamp(28px, 3vw, 40px); }

/* ----- Réactif ------------------------------------------------------------ */
@media (max-width: 900px) {
  .etapes__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preuve .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .etapes__liste,
  .regimes__grid,
  .formules__grid { grid-template-columns: minmax(0, 1fr); }
  .preuve .chiffres { grid-template-columns: minmax(0, 1fr); }
  .ligne-calcul li { flex-direction: column; align-items: flex-start; gap: 4px; }
}


/* ----- Correctif : prose dans une carte pilier ---------------------------
   .pilier__p, dans le design d'origine, est un PRIX en fin de ligne — d'où
   son white-space: nowrap. Réutilisée pour un paragraphe, elle forçait le
   texte sur une seule ligne, qui débordait de la carte. La prose a donc sa
   propre classe.                                                            */
.pilier__d {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 16px;
  text-wrap: pretty;
}

/* ----- Le punch du calcul : la promesse en orange ------------------------ */
.punch-or {
  display: inline-block;
  margin-top: 6px;
  color: var(--orange);
  font-weight: 900;
}

/* Deux boutons sous la gamme : la grille .formules__cta est centrée. */
.formules__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   APPELS À L'ACTION
   Deux ajouts au jeu de boutons du site, et deux emplacements nouveaux placés
   sur les pics d'intention : la sortie du calculateur et l'après-témoignage.
   ========================================================================== */

/* Variante large, réservée aux deux pics et au hero. Le reste de la page garde
   la taille standard : si tout est gros, plus rien ne l'est. */
.btn--lg {
  font-size: 17px;
  padding: 18px 34px;
  border-radius: 12px;
}
.btn-primary.btn--lg { box-shadow: 0 14px 34px -12px oklch(0.68 0.16 45 / .95); }

/* Bouton secondaire pour FOND CLAIR. afoodi.css n'en avait pas : .btn-outline
   et .btn-ghost sont tous deux crème/blanc, donc invisibles sur .light. */
.btn-ink {
  background: transparent;
  color: var(--green-ink);
  box-shadow: inset 0 0 0 1.5px oklch(0.30 0.045 165 / .55);
}
.btn-ink:hover {
  box-shadow: inset 0 0 0 1.5px var(--green-ink);
  color: var(--green-ink);
  transform: translateY(-2px);
}

/* Pic n° 1 : sous le montant qui reste au restaurateur. C'est le moment où il
   est le plus convaincu — le bouton ne doit pas être à un scroll de là. */
.simu__cta { margin-top: clamp(20px, 2.4vw, 28px); }
.simu__cta .btn { width: 100%; justify-content: center; }

/* Pic n° 2 : juste après le témoignage de Valentin. */
.preuve__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: clamp(30px, 3.4vw, 44px);
}
.preuve__lien { margin-top: clamp(16px, 1.8vw, 22px); }

@media (max-width: 700px) {
  .btn--lg { font-size: 16px; padding: 16px 24px; }
}

/* Attribution de la source sous l'accroche : discrète, mais une statistique
   sans source vaut moins qu'une statistique. */
.hero__src {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cream-dim);
  margin-top: 10px;
}
