/*
  OFFY : page d'accueil du site (maquette « OFFY Home », intégration H1).

  Cette feuille est propre à l'accueil : styles.css (partagé par les autres pages) n'est pas chargé ici et
  n'est pas modifié. Les pages secondaires gardent leur apparence actuelle pour l'instant.

  Contenu : 1. jetons (couleurs, rayons, ombres, échelle)  2. base  3. composants réutilisables
  (.btn, .chip, .card, .eyebrow, .accent, .disclosure, .phone…)  4. en-tête et menu  5. sections de la page
  6. comparatif  7. pied de page.

  Deux seuils : 1200 px (menu complet dans l'en-tête, sinon logo + bouton + burger : cinq liens et les outils ne tiennent pas
  sur une ligne en dessous) et 900 px (comparatif en tableau, sinon tableau transposé à colonnes fixes). La police Manrope
  est hébergée par le site (@font-face ci-dessous).
*/

/* Police Manrope (police variable, poids 200 à 800), hébergée par le site : aucune requête vers un tiers.
   Licence SIL OFL 1.1 : assets/fonts/OFL-Manrope.txt. Même bloc dans home.css et styles.css (tests/polices.test.mjs). */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── 1. Jetons ─────────────────────────────────────────────────────────────── */
:root {
  /* Couleurs de la maquette */
  --ink: #1b2350;          /* marine : texte, fonds sombres */
  --ink-2: #394066;        /* texte courant des menus et encadrés */
  --accent: #4f61e3;
  --accent-hover: #3b4bc8; /* survol ; aussi texte accent sur fond clair teinté */
  --accent-tint: #e9ecfc;  /* accent clair : pastilles, encadrés */
  --accent-soft: #dfe3fb;  /* texte clair sur fond marine */
  --accent-on-dark: #aab4ff;
  --muted: #5b6283;        /* texte secondaire (5,1:1 minimum sur tous les fonds de la page) */
  --muted-2: #656a87;      /* #6b7190 de la maquette assombri : 4,47:1 sur #f6f7fd et 4,07:1 sur #e9ecfc avant */
  --bg: #f6f7fd;
  --surface: #fff;
  --line: #e3e6f3;
  --line-soft: #eef0f8;
  --line-strong: #cfd4ee;
  --no: #6b7190;           /* croix « non couvert » : 4,78:1 sur blanc (la maquette : #c3c7da, 1,68:1) */
  --success: #1f7a4d;
  --success-bg: #e3f4ea;
  --warning: #9a5b00;
  --warning-bg: #fdf1dc;
  --error: #b42318;
  --error-bg: #fde8e8;
  --module-comp: #1d6b62;  /* pastille du module Compléments */
  --module-comp-bg: #e6f2f0;

  /* Rayons : boutons 14, cartes 20 à 28, pastilles 999 */
  --radius-sm: 12px;
  --radius-btn: 14px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Ombres récurrentes de la maquette */
  --shadow-card: 0 20px 50px -24px rgba(27, 35, 80, 0.35);
  --shadow-cta: 0 10px 24px -10px rgba(79, 97, 227, 0.6);
  --shadow-phone: 0 30px 60px -24px rgba(27, 35, 80, 0.45);
  --shadow-featured: 0 30px 60px -30px rgba(27, 35, 80, 0.6);

  /* Mise en page */
  --font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 68px;
  --container: 1200px;
}

/* ── 2. Base ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-card);
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── 3. Composants réutilisables ───────────────────────────────────────────── */

/* Mot mis en valeur dans un titre (remplace l'ancien <em>) */
.accent {
  color: var(--accent);
}
.section--dark .accent {
  color: var(--accent-on-dark);
}

/* Surtitre */
.eyebrow {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.eyebrow--chip {
  align-self: flex-start;
  padding: 7px 12px;
  background: var(--accent-tint);
  color: var(--accent-hover);
  border-radius: var(--radius-pill);
  letter-spacing: 0.1em;
}

/* Boutons : 14 px de rayon, 44 px de haut au minimum */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--sm {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.9375rem;
}
.btn--lg {
  min-height: 56px;
  padding: 16px 26px;
  font-size: 1.0625rem;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  background: var(--accent-hover);
}
.btn--outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
}
.btn--ghost {
  padding-inline: 14px;
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--surface);
}
.btn--light {
  background: var(--surface);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--ink);
  color: #fff;
}
.btn--block {
  width: 100%;
}
.btn span[aria-hidden="true"] {
  font-weight: 800;
}

/* Lien simple (cible tactile de 44 px) */
.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--accent-hover);
}
.link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Liens dans un texte courant */
.prose a,
.note a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover,
.note a:hover {
  color: var(--ink);
}

/* Pastilles : ton accent, module Compléments, succès, plein */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.3;
}
.chip--accent {
  background: var(--accent-tint);
  color: var(--accent-hover);
}
.chip--comp {
  background: var(--module-comp-bg);
  color: var(--module-comp);
}
.chip--success {
  background: var(--success-bg);
  color: var(--success);
}
.chip--solid,
.soon-tag {
  background: var(--accent);
  color: #fff;
}
.soon-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.3;
  vertical-align: middle;
}

/* Cartes */
.card {
  background: var(--surface);
  border-radius: var(--radius-md);
}

/* Numéro d'ordre discret */
.idx {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-hover);
}

/* Accordéon natif (<details>) : « Sources et méthode ». Le titre fait 44 px au moins. */
.disclosure {
  padding-inline: 22px;
  background: var(--bg);
  border-radius: var(--radius-md);
}
.disclosure > summary,
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-block: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.disclosure > summary::-webkit-details-marker,
.faq__item > summary::-webkit-details-marker {
  display: none;
}
.disclosure > summary::after,
.faq__item > summary::after {
  flex: none;
  content: "+";
  content: "+" / "";
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent-hover);
}
.disclosure[open] > summary::after,
.faq__item[open] > summary::after {
  content: "\2212";
  content: "\2212" / "";
}
.disclosure__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 22px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Cadre de téléphone : les écrans réels du parcours */
.phone {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: 0 0 0 6px var(--ink), var(--shadow-phone);
  line-height: 0;
}
.phone img {
  width: 100%;
  height: auto;
}
.phone--sm {
  width: 150px;
  border-radius: 20px;
  box-shadow: 0 0 0 5px var(--ink), 0 20px 40px -20px rgba(27, 35, 80, 0.45);
}

/* ── 4. En-tête et menu ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 253, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Sans JavaScript, le menu est toujours déplié sous la barre : l'en-tête n'est alors pas collant. */
html:not(.js) .site-header {
  position: static;
}
.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding-block: 10px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
}
.logo img {
  height: 30px;
  width: auto;
}
.site-header__cta--bar {
  margin-left: auto;
}
.site-header__cta--menu {
  display: none;
}

/* Burger : bouton avec aria-expanded, visible seulement avec JavaScript */
.burger {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.js .burger {
  display: inline-flex;
}
.burger__icon,
.burger__icon::before,
.burger__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s, top 0.2s, background-color 0.2s;
}
.burger__icon {
  position: relative;
}
.burger__icon::before,
.burger__icon::after {
  position: absolute;
  left: 0;
}
.burger__icon::before {
  top: -6px;
}
.burger__icon::after {
  top: 6px;
}
.burger[aria-expanded="true"] .burger__icon {
  background: transparent;
}
.burger[aria-expanded="true"] .burger__icon::before {
  top: 0;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Menu : panneau sous la barre en dessous de 1200 px */
.site-menu {
  flex-basis: 100%;
  order: 5;
  padding-bottom: 12px;
}
.js .site-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 4px var(--gutter) 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(27, 35, 80, 0.35);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.js .site-menu.is-open {
  display: block;
}
.site-nav {
  display: flex;
  flex-direction: column;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
}
.site-nav a:hover {
  color: var(--accent-hover);
}
.site-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}
.login-link {
  white-space: nowrap;
}
.site-tools .login-link {
  color: var(--accent-hover);
}

/* Sélecteur de langue FR · EN · ES (balisage généré par i18n/build.mjs) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 10px;
  border-radius: var(--radius-pill);
  color: var(--muted);
}
.lang-switch a:hover {
  color: var(--ink);
}
.lang-switch a[aria-current="true"] {
  background: var(--accent);
  color: #fff;
}

/* Menu complet à partir de 1200 px */
@media (min-width: 1200px) {
  .burger,
  .js .burger,
  .site-header__cta--bar {
    display: none;
  }
  .site-header__cta--menu {
    display: inline-flex;
  }
  .site-menu,
  .js .site-menu {
    display: flex;
    position: static;
    flex: 1;
    flex-basis: auto;
    align-items: center;
    gap: 12px;
    order: 0;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav {
    flex: 1;
    flex-direction: row;
    justify-content: center;
    gap: 2px;
  }
  .site-nav a {
    min-height: 44px;
    padding-inline: 10px;
    border: 0;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
  }
  .site-nav a:hover {
    background: var(--surface);
    color: var(--ink);
  }
  .site-tools {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
  }
  .site-tools .login-link {
    color: var(--ink);
  }
  .lang-switch {
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .lang-switch a {
    min-width: 38px;
    padding-inline: 6px;
  }
}

/* ── 5. Sections ───────────────────────────────────────────────────────────── */
.section {
  padding-block: var(--section-y);
}
.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.section__head--center {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}
.section__head--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}
.section__head--row > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}
/* Titres en deux phrases : la seconde (mise en valeur) démarre toujours sur sa propre ligne, et
   l'en-tête est assez large pour que la première tienne sur une ligne sur ordinateur. */
.title-split .accent {
  display: block;
}
.section__head--wide {
  max-width: 960px;
}
.section__head--row-wide > div {
  max-width: 800px;
}
h2 {
  font-size: clamp(2.125rem, 4.4vw, 3.25rem);
  line-height: 1.02;
}
.lead {
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.section__head .lead {
  font-size: 1.0625rem;
  max-width: none;
}
.section--dark {
  background: var(--ink);
  color: #fff;
}
.section--dark .eyebrow {
  color: var(--accent-on-dark);
}
.section--dark .lead {
  color: var(--accent-soft);
}
.section--dark :focus-visible {
  outline-color: var(--accent-on-dark);
}
.section--white {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Hero */
.hero {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px);
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
h1 {
  font-size: clamp(2.75rem, 6.4vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
/* La phrase mise en valeur du H1 ne se coupe pas : sur mobile elle passe entière à la ligne. */
h1 .accent {
  white-space: nowrap;
}
/* Phrase complémentaire sous l'introduction du premier écran */
.hero__sub {
  max-width: 34rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
/* Téléphone : les deux boutons du premier écran prennent la largeur du texte et s'alignent */
@media (max-width: 519px) {
  .hero__actions--stretch {
    width: 100%;
  }
  .hero__actions--stretch .btn {
    flex: 1 1 100%;
  }
}
.hero__micro {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

/* Visuel du hero : les deux écrans d'accueil sur un fond accent clair */
.stage {
  padding: clamp(20px, 3vw, 28px);
  background: var(--accent-tint);
  border-radius: var(--radius-xl);
}
.stage__head {
  display: none;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.stage__head span:last-child {
  white-space: nowrap;
}
@media (min-width: 900px) {
  .stage__head {
    display: flex;
  }
}
.phones {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 30px 6px 44px;
}
.phones .phone {
  flex: 0 1 min(44%, 230px);
  width: min(44%, 230px);
  min-width: 0;
}
.phones .phone:first-child {
  transform: translateY(-14px);
}
.phones .phone:last-child {
  transform: translateY(24px);
}
.stage__caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.35;
}
.stage__caption strong {
  font-weight: 800;
}
.stage__caption > span {
  max-width: 150px;
  text-align: right;
  color: var(--muted);
}

/* Bande de preuves */
.proof {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.proof__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 36px;
  margin-block: 0;
  padding-block: 16px;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 700;
}
.proof__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}
.proof__list li::before {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

/* Modules */
.module-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 1100px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.module {
  display: grid;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
}
.module .phone--sm {
  justify-self: center;
}
@media (min-width: 520px) {
  .module {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
  .module .phone--sm {
    justify-self: stretch;
  }
}
.module__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.module h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.module__body > p {
  font-size: 1rem;
  color: var(--muted);
}
.module__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}
.module__price span {
  font-weight: 600;
}
.module .module__note {
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  width: 100%;
  font-size: 0.875rem;
}

/* Comment ça marche */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}
.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-btn);
  font-weight: 800;
}
.step h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.step p {
  line-height: 1.55;
  color: var(--accent-soft);
}
/* Phrase de conclusion sous les trois étapes */
.steps__closing {
  max-width: 720px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent-soft);
  text-wrap: pretty;
}

/* Espace pharmacie */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
}
.info-card h3 {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.info-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}
/* Bénéfices : quatre blocs courts, une colonne sur mobile, deux sur tablette, quatre dès 1100 px */
.benefits__grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .benefits__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* Espace pharmacie : cinq cartes. Une colonne sur mobile ; deux dès 640 px (la dernière prend toute la largeur) ; dès 900 px
   trois cartes sur la première rangée et deux, plus larges, sur la seconde (grille de six colonnes). */
.info-grid--5 {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .info-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 640px) and (max-width: 899px) {
  .info-grid--5 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (min-width: 900px) {
  .info-grid--5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .info-grid--5 > * {
    grid-column: span 2;
  }
  .info-grid--5 > :nth-child(n + 4) {
    grid-column: span 3;
  }
}
/* Sur fond blanc (section--white), les cartes prennent le fond de page pour rester visibles */
.section--white .card {
  background: var(--bg);
}
/* Bloc d'aide au conseil, mis en avant : pleine largeur, fond marine */
.help {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-featured);
}
.help .idx {
  color: var(--accent-on-dark);
}
.help h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.help p {
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--accent-soft);
}
.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 22px 26px;
  background: var(--accent-tint);
  border-radius: var(--radius-md);
}
.banner h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.banner p {
  flex: 1 1 260px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.banner__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

/* ── 6. Comparatif ─────────────────────────────────────────────────────────── */
.compare-brand {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}
.compare-type {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
}
.matrix-status {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
}
.matrix-status.yes {
  color: var(--accent);
}
.matrix-status.no {
  color: var(--no);
}
.matrix-status.planned {
  font-size: 0.875rem;
  font-weight: 700;
}
.matrix-status.planned > span {
  display: inline-block;
  padding: 4px 10px;
  border: 1px dashed currentColor;
  border-radius: var(--radius-pill);
  color: var(--ink);
}
.compare-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.offy-row .compare-type,
.cmp-offy .compare-type {
  color: var(--accent-on-dark);
}
.offy-row .matrix-status.yes,
.cmp-offy .matrix-status.yes {
  color: var(--accent-on-dark);
}
.offy-row .matrix-status.planned > span,
.cmp-offy .matrix-status.planned > span {
  border-color: var(--accent-on-dark);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Tableau (à partir de 900 px) : les solutions en lignes */
.cmp-wide {
  display: none;
}
@media (min-width: 900px) {
  .cmp-wide {
    display: block;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }
  .cmp-narrow {
    display: none;
  }
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
}
.cmp-table thead th {
  padding: 14px 12px;
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--muted);
}
.cmp-table thead th:first-child {
  width: 27%;
  padding-left: 20px;
  text-align: left;
}
.cmp-table tbody th {
  padding: 14px 12px 14px 20px;
  font-weight: 400;
  text-align: left;
}
.cmp-table tbody td {
  padding: 14px 12px;
  vertical-align: middle;
}
.cmp-table tbody tr + tr > * {
  border-top: 1px solid var(--line-soft);
}
.cmp-table .offy-row > * {
  background: var(--ink);
  color: #fff;
}

/* Tableau transposé (en dessous de 900 px, variante 1b) : les fonctions en lignes, OFFY et les libellés
   restent fixes à gauche, les solutions concurrentes défilent. */
.cmp-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.cmp-scroll:focus-visible {
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}
.cmp-narrow::after {
  display: block;
  padding: 8px 6px 0;
  content: "\2192";
  content: "\2192" / "";
  font-weight: 800;
  text-align: right;
  color: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .cmp-narrow::after {
    animation: cmp-nudge 2.4s ease-in-out 3;
  }
}
@keyframes cmp-nudge {
  50% {
    transform: translateX(6px);
  }
}
.cmp-matrix {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.cmp-matrix th,
.cmp-matrix td {
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
.cmp-matrix .cmp-label {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 120px;
  min-width: 120px;
  padding: 12px 8px 12px 16px;
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
}
.cmp-matrix .cmp-offy {
  position: sticky;
  left: 120px;
  z-index: 2;
  width: 96px;
  min-width: 96px;
  padding: 12px 6px;
  background: var(--ink);
  color: #fff;
}
.cmp-matrix thead .cmp-offy {
  border-radius: 14px 14px 0 0;
}
.cmp-matrix tbody tr:last-child .cmp-offy {
  border-radius: 0 0 14px 14px;
}
.cmp-matrix .cmp-comp {
  width: 128px;
  min-width: 128px;
  padding: 12px 8px;
  font-size: 0.875rem;
  line-height: 1.25;
}
.cmp-matrix thead .cmp-comp .compare-name {
  min-height: 44px;
  justify-content: center;
}
.cmp-matrix tbody td.cmp-comp {
  height: 60px;
  background: var(--surface);
}
.cmp-matrix tbody tr > * {
  border-top: 1px solid var(--line);
}
.cmp-matrix tbody tr > .cmp-offy {
  border-top-color: rgba(255, 255, 255, 0.14);
}
/* Téléphone : libellés et OFFY plus étroits pour qu'un bout de la colonne suivante dépasse (le défilement se devine). */
@media (max-width: 480px) {
  .cmp-matrix .cmp-label {
    width: 116px;
    min-width: 116px;
    padding: 12px 8px 12px 12px;
  }
  .cmp-matrix .cmp-offy {
    left: 116px;
    width: 84px;
    min-width: 84px;
  }
}

/* Légende (balisage conservé tel quel : les classes font partie du texte à traduire) */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.legend b {
  margin-right: 6px;
  font-size: 1rem;
}
.legend-yes {
  color: var(--accent);
}
.legend-no {
  color: var(--no);
}
.legend-planned {
  display: inline-block;
  padding: 1px 10px;
  border: 1px dashed var(--muted);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--ink);
}
.comparison .stack {
  gap: 28px;
}
.takeaway {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 22px 26px;
  background: var(--bg);
  border-radius: var(--radius-md);
}
.takeaway p {
  flex: 1 1 260px;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.note {
  font-size: 0.9375rem;
}
.note-title {
  margin-top: 6px;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.other-solutions {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .other-solutions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
.other-solutions h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.other-solutions h4 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tarifs */
.price-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
/* Trois blocs (Skin, Nutri, Duo) : empilés sous 1000 px, alignés dès 1000 px. */
@media (min-width: 1000px) {
  .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: none;
  }
}
/* Offre de lancement : bandeau au-dessus des cartes. */
.launch-banner {
  max-width: 760px;
  margin-inline: auto;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
.launch-banner strong {
  font-weight: 800;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: var(--surface);
  border-radius: var(--radius-xl);
}
@media (min-width: 1000px) {
  .price-card {
    padding: 28px;
  }
  .price {
    font-size: clamp(2.25rem, 3.4vw, 2.75rem);
  }
}
/* Dès trois colonnes, les sept lignes des blocs (libellé, titre, texte, prix, précision ou comparaison, liste, bouton) s'alignent d'un bloc à l'autre. */
@media (min-width: 1000px) {
  @supports (grid-template-rows: subgrid) {
    .price-card {
      display: grid;
      grid-row: span 7;
      grid-template-rows: subgrid;
    }
  }
}
.price-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.plan-label {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.price-card__desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.price span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.price-note,
.price-compare {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--muted);
}
.price-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.price-old {
  font-weight: 700;
  text-decoration: line-through;
}
/* Prix d'appel : pastille « Offre de lancement », prix de lancement en grand (.price), puis, plus petit mais lisible, le prix de l'offre une fois les 12 mois passés. */
.price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
/* Nutri n'a pas d'offre de lancement : ni pastille ni ligne « puis ». Dès trois colonnes, son prix descend de la hauteur de la pastille (ligne de 1,3 × 0,875 rem, 2 × 6 px de marge intérieure) et de l'écart du bloc (8 px) pour rester sur la ligne de ceux de Skin et de Duo. */
@media (min-width: 1000px) {
  .price-block--plain {
    padding-top: calc(1.1375rem + 12px + 8px);
  }
}
.price-then {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-2);
}
.price-then strong {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.price-card ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.price-card li::before {
  margin-right: 10px;
  content: "\2713";
  font-weight: 800;
  color: var(--accent);
}
.price-card--featured {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-featured);
}
.price-card--featured .plan-label,
.price-card--featured .price span,
.price-card--featured li::before {
  color: var(--accent-on-dark);
}
.price-card--featured .price-card__desc,
.price-card--featured .price-note,
.price-card--featured .price-compare {
  color: var(--accent-soft);
}
.price-card--featured .price-then {
  color: var(--accent-soft);
}
.price-card--featured .price-then strong {
  color: #fff;
}
.price-card--featured .btn--primary:hover {
  background: var(--surface);
  color: var(--ink);
}
.price-card--featured :focus-visible {
  outline-color: var(--accent-on-dark);
}
.pricing-note {
  max-width: 760px;
  margin-inline: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
}
.pricing-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ */
.faq .wrap {
  max-width: 880px;
}
.faq {
  padding-bottom: var(--section-y);
}
.faq__list {
  padding: 4px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}
.faq__item + .faq__item {
  border-top: 1px solid var(--line-soft);
}
.faq__item > summary {
  min-height: 64px;
  font-size: 1.0313rem;
}
.faq__item > p {
  padding-bottom: 20px;
  line-height: 1.6;
  color: var(--muted);
}

/* Marques : invitation à se faire référencer (ancre #marques, entre la FAQ et l'appel final). Titre à gauche, texte et contact à droite
   dès 900 px ; empilés en dessous. */
.brands__inner {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .brands__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
  }
}
.brands__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.brands__note {
  max-width: 34rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.brands__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 8px;
}
.brands__mail {
  font-size: 0.9375rem;
  color: var(--muted);
}
.brands__mail .link {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Appel à l'action final */
.cta {
  padding: 0 var(--gutter) clamp(40px, 6vw, 72px);
}
/* Après la section Marques (bande blanche), l'appel final reprend de l'espace au-dessus : sans lui, le bloc colle à la bande. */
.brands + .cta {
  padding-top: clamp(40px, 6vw, 72px);
}
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 72px);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-xl);
}
.cta__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 620px;
}
.cta .eyebrow {
  color: #fff;
}
.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.cta .accent {
  color: inherit;
}
.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.cta__actions .btn {
  margin-bottom: 8px;
}
/* Deux boutons de même largeur (démonstration, création de l'espace) */
.cta__text {
  font-size: 1.0625rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.cta__actions--buttons {
  align-items: stretch;
  gap: 12px;
}
.cta__actions--buttons .btn {
  margin-bottom: 0;
}
/* Téléphone : « Créer mon espace pharmacie » tient sur une ligne dans l'encadré (375 px) */
@media (max-width: 519px) {
  .cta__actions--buttons .btn {
    padding-inline: 16px;
    font-size: 1rem;
  }
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.btn--outline-light:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}
.cta__secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cta :focus-visible {
  outline-color: #fff;
}

/* ── 7. Pied de page ───────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 40px;
  padding-block: 24px;
}
.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}
.site-footer__brand .logo img {
  height: 24px;
}
.site-footer a:not(.logo) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.site-footer a:not(.logo):hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-legal {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 0 24px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Variante B : la photo de la cliente qui scanne est le quatrième élément de .steps.
   Mobile : une colonne, la photo suit les trois cartes. */
.steps {
  grid-template-columns: minmax(0, 1fr);
}
.steps__photo {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius-lg);
}

/* Tablette : cartes 01 et 02 à gauche, photo à droite sur leur hauteur, carte 03 sur toute la largeur. */
@media (min-width: 800px) {
  .steps {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .steps > .step:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .steps__photo {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: none;
    aspect-ratio: auto;
    align-self: stretch;
  }
}

/* Grand écran : trois cartes resserrées à gauche, photo à droite sur toute leur hauteur. */
@media (min-width: 1200px) {
  .steps {
    grid-template-columns: minmax(0, 1fr) clamp(400px, 42%, 480px);
    gap: 20px;
  }
  .steps > .step:nth-child(3) {
    grid-column: 1;
  }
  .steps__photo {
    grid-row: 1 / span 3;
    height: 0;
    min-height: 100%;
  }
}
