/* ==========================================================================
   Zone « fiche » v4 : les cinq fiches produit et la gamme (/products).
   Mise en page de la maquette validée _design/maquettes/fiche-st01.html,
   sur les jetons et les classes de la feuille commune (base.css).
   ========================================================================== */

/* ---------- Fil ---------- */
.fil { display: flex; flex-wrap: wrap; align-items: center; padding-block: 16px; font-size: .9375rem; color: var(--texte-2); }
.fil a { text-decoration: none; color: var(--texte-2); }
.fil a:hover { color: var(--encre); text-decoration: underline; }
.fil span[aria-hidden] { margin-inline: 8px; }
.fil [aria-current] { color: var(--encre); }

/* ---------- Premier écran ---------- */
.produit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: start; padding-bottom: 72px; }

/* Galerie : le flacon puis le carrousel marketing, en grand (carré 1:1).
   La scène suit la largeur de la colonne, plafonnée à la hauteur d'écran
   pour rester entière au premier écran. */
.galerie { grid-column: 1 / span 7; justify-self: start; width: min(100%, max(560px, calc(100svh - 190px))); display: grid; gap: 12px; min-width: 0; position: sticky; top: 80px; }
.galerie__scene { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-scene); overflow: hidden; background: var(--surface); }
.galerie__piste { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.galerie__piste::-webkit-scrollbar { display: none; }
.galerie__piste:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.vue { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-in; }
.vue picture { display: block; width: 100%; height: 100%; }
.vue img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vue--pack { position: relative; }
.vue--pack img { position: absolute; inset: 8% 6%; width: 88%; height: 84%; object-fit: contain; }

.galerie__bouton { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: #fff; color: var(--encre); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(13, 16, 20, .08), 0 8px 24px -8px rgba(13, 16, 20, .35); transition: transform .15s ease; }
.galerie__bouton svg { width: 22px; height: 22px; }
.galerie__bouton:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) { .galerie__bouton:hover { transform: scale(1.06); } }
.galerie__bouton--prec { left: 16px; top: 50%; margin-top: -24px; }
.galerie__bouton--suiv { right: 16px; top: 50%; margin-top: -24px; }
.galerie__loupe { top: 16px; right: 16px; width: 44px; height: 44px; }
.galerie__loupe svg { width: 20px; height: 20px; }
.galerie__compteur { position: absolute; z-index: 2; bottom: 16px; right: 16px; font-family: var(--f-mono); font-size: .8125rem;
  font-variant-numeric: tabular-nums; background: #fff; color: var(--encre); border-radius: 99px; padding: 6px 12px; }

.galerie__vignettes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.galerie__vignettes::-webkit-scrollbar { display: none; }
.vignette { aspect-ratio: 1 / 1; width: 100%; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--filet-fort); background: var(--surface); cursor: pointer; display: block; opacity: .72; transition: opacity .15s ease; }
.vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vignette--pack img { object-fit: contain; padding: 4px; }
.vignette.est-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--ref-x); border-color: var(--ref-x); }
@media (hover: hover) { .vignette:hover { opacity: 1; } }
.vignette:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; opacity: 1; }

/* Visionneuse plein écran */
.visionneuse { position: fixed; inset: 0; z-index: 1000; background: rgba(13, 16, 20, .94); display: grid; place-items: center; padding: 72px 88px; }
.visionneuse[hidden] { display: none; }
.visionneuse__image { width: min(calc(100vw - 176px), calc(100svh - 144px)); height: auto; border-radius: 14px; background: var(--surface); }
.visionneuse__fermer { top: 16px; right: 16px; }
.visionneuse .galerie__bouton--prec { left: 20px; }
.visionneuse .galerie__bouton--suiv { right: 20px; }
.visionneuse .visionneuse__compteur { right: auto; left: 50%; transform: translateX(-50%); bottom: 20px; }
html.visionneuse-ouverte, html.visionneuse-ouverte body { overflow: hidden; }

/* Colonne d'achat */
.achat { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 80px; min-width: 0; }
.achat__code { display: flex; align-items: center; gap: 12px; }
.achat__code img { width: 44px; height: 44px; }
.achat__nom { margin-top: 14px; font-family: var(--f-titre); font-weight: 600; font-size: var(--t-titre-2); line-height: 1.05; letter-spacing: var(--a-titre); text-wrap: balance; }
.achat__pour { font-size: 1rem; color: var(--ref-texte); font-weight: 600; font-family: var(--f-titre); margin-top: 6px; }
.achat__accroche { font-size: var(--t-achat); line-height: 1.5; }
.achat .apports { margin-top: 0; }
.bloc-titre { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-2); margin-bottom: 10px; }
.bloc-titre--ligne { display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.bloc-titre__mention { color: var(--encre); }
.traitement-ligne { font-size: 1rem; line-height: 1.5; padding: 14px 16px; background: var(--surface); border-radius: 14px; }
.traitement-ligne strong { font-weight: 600; }
.traitement-ligne .fleche { display: flex; width: fit-content; min-height: 44px; margin-top: 2px; }

.choix { border: 0; padding: 0; margin: 0; min-width: 0; }
.choix legend { float: left; width: 100%; padding: 0; }
.choix legend + * { clear: both; }
.options { display: grid; gap: 10px; }
.options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option { position: relative; border: 1px solid var(--filet-fort); border-radius: 14px; padding: 14px 12px; background: #fff; display: flex; flex-direction: column; gap: 4px; min-height: 108px; cursor: pointer; min-width: 0; }
.option--rythme { min-height: 0; flex-direction: row; gap: 14px; align-items: flex-start; }
.option.est-choisie, .option:has(.option__radio:checked) { box-shadow: inset 0 0 0 2px var(--ref-x); border-color: var(--ref-x); }
.option:has(.option__radio:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) { .option:not(.est-choisie):hover { background: var(--surface); } }
.option__radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.option__nom { font-family: var(--f-titre); font-weight: 600; font-size: 1.0625rem; }
.option__prix { font-size: 1rem; font-variant-numeric: tabular-nums; }
.option__jour { font-size: .875rem; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.option__plus { font-size: .875rem; color: var(--texte-2); margin-top: auto; }
.rythme__radio { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--filet-controle); margin-top: 1px; display: grid; place-items: center; }
.option.est-choisie .rythme__radio { border: 2px solid var(--ref-x); }
.option.est-choisie .rythme__radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ref-x); }
.rythme__corps { flex: 1; display: grid; gap: 4px; min-width: 0; }
.rythme__ligne { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.rythme__inclus { font-size: .9375rem; color: var(--texte-2); line-height: 1.45; }
.remise { font-family: var(--f-titre); font-weight: 600; font-size: .8125rem; background: var(--encre); color: #fff; border-radius: 6px; padding: 2px 7px; margin-left: 6px; white-space: nowrap; }
[data-v][hidden] { display: none !important; }

.total { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-top: 1px solid var(--filet); padding-top: 16px; }
.total__libelle { font-family: var(--f-titre); font-weight: 600; font-size: 1.0625rem; padding-top: 8px; }
.total__v { display: grid; justify-items: end; text-align: right; }
.total__montant { font-family: var(--f-titre); font-weight: 600; font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.total__detail { font-size: .9375rem; color: var(--texte-2); }

.prevenu { background: var(--surface); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.prevenu__titre { font-family: var(--f-titre); font-weight: 600; font-size: 1.125rem; }
.prevenu .consent input { accent-color: var(--encre); }
.action__bouton { width: 100%; }
.reperes-achat { display: grid; gap: 10px; }
.reperes-achat li { display: flex; gap: 10px; align-items: center; font-size: 1rem; }
.reperes-achat svg { width: 22px; height: 22px; fill: none; stroke: var(--encre); stroke-width: 1.6; flex: none; }
.specs { font-family: var(--f-mono); font-size: .8125rem; color: var(--texte-2); border-top: 1px solid var(--filet); padding-top: 14px; }

/* ---------- 01 Composition ---------- */
.actifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.actifs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.actif { border-radius: var(--r-scene); background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.actif__dose { font-family: var(--f-titre); font-weight: 600; font-size: var(--t-chiffre); line-height: .95; letter-spacing: -.035em; white-space: nowrap; }
.actif__dose small { font-size: .4em; letter-spacing: 0; margin-left: 6px; }
.actif__nom { font-family: var(--f-titre); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.actif__forme { font-family: var(--f-mono); font-size: .875rem; color: var(--texte-2); }
.actif__phrase { font-size: var(--t-achat); line-height: 1.5; }
.vnr { display: grid; gap: 6px; margin-top: auto; }
.vnr__barre { height: 10px; border-radius: 99px; background: #fff; overflow: hidden; }
.vnr__barre i { display: block; height: 100%; background: var(--ref-x); }
.vnr__texte { font-size: .875rem; color: var(--texte-2); }

/* ---------- 02 Preuve ---------- */
.preuve-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: center; }
.preuve-zone__texte { grid-column: 1 / span 5; display: grid; gap: 20px; }
.preuve { grid-column: 7 / span 6; background: var(--encre); color: #fff; border-radius: var(--r-scene); padding: 40px; display: grid; gap: 18px; container-type: inline-size; }
.preuve .m-etiq { color: #B4B7BD; }
.preuve__chiffre { font-family: var(--f-titre); font-weight: 600; font-size: clamp(3.5rem, 16cqi, 7.5rem); line-height: .9; letter-spacing: -.04em; white-space: nowrap; }
.preuve__chiffre small { font-size: 1.75rem; letter-spacing: 0; margin-left: 10px; color: #B4B7BD; }
.preuve__chiffre--mots { font-size: clamp(2rem, 7.5cqi, 3rem); line-height: 1.1; letter-spacing: -.02em; white-space: normal; text-wrap: balance; }
.preuve__texte { font-size: var(--t-achat); line-height: 1.5; max-width: 46ch; }
.preuve__ref { font-family: var(--f-serif); font-style: italic; color: #B4B7BD; }
.preuve__ref a { color: inherit; text-underline-offset: .2em; }
.preuve__ref a:hover { color: #fff; }
.preuve__nuance { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 14px; font-size: .9375rem; color: #B4B7BD; }

.planche-bouton { padding: 0; min-height: 44px; background: none; border: 0; color: inherit; font-size: var(--t-achat); cursor: pointer; justify-self: start; text-align: left; }
.planche-bouton__fermer { display: none; }
.planche-bouton[aria-expanded="true"] .planche-bouton__ouvrir { display: none; }
.planche-bouton[aria-expanded="true"] .planche-bouton__fermer { display: inline; }
.planche-bouton:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.planche { margin: 32px 0 0; background: #fff; border-radius: var(--r-carte); padding: 32px; }
.planche[hidden] { display: none; }
.planche__svg { min-height: 200px; }
.planche__svg svg { display: block; width: 100%; height: auto; }
.planche__leg { margin-top: 16px; font-size: .9375rem; color: var(--texte-2); }
.planche__leg b { font-family: var(--f-mono); font-weight: 500; color: var(--encre); font-size: .8125rem; margin-right: 6px; }

/* ---------- 03 Votre traitement ---------- */
.traitement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: start; }
.traitement__gauche { grid-column: 1 / span 6; display: grid; gap: 24px; justify-items: start; }
.molecules { display: flex; flex-wrap: wrap; gap: 10px; }
.molecules a { height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 99px; border: 1px solid var(--filet-fort); font-family: var(--f-titre); font-weight: 600; font-size: 1.0625rem; background: #fff; text-decoration: none; }
.molecules a:hover { border-color: var(--encre); }
.a-savoir { grid-column: 8 / span 5; border: 1px solid var(--filet-fort); border-radius: var(--r-carte); padding: 28px; display: grid; gap: 14px; }
.a-savoir__tete { display: flex; gap: 12px; align-items: center; font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; }
.a-savoir__tete svg { width: 24px; height: 24px; flex: none; }
.a-savoir p { font-size: var(--t-achat); line-height: 1.5; }
.a-savoir ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; font-size: var(--t-achat); }

/* ---------- 04 Mode d'emploi ---------- */
.emploi { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: start; }
.emploi__photo { grid-column: 1 / span 5; border-radius: var(--r-scene); overflow: hidden; height: 560px; margin: 0; position: sticky; top: 80px; }
.emploi__photo picture { display: block; height: 100%; }
.emploi__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.emploi__texte { grid-column: 7 / span 6; display: grid; gap: 32px; }
.consigne { font-family: var(--f-titre); font-weight: 600; font-size: var(--t-titre-3); line-height: 1.25; text-wrap: pretty; }
.frise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; list-style: none; padding: 0; }
.frise__ligne { position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--encre); }
.jalon { position: relative; padding-top: 28px; display: grid; gap: 6px; align-content: start; }
.jalon__point { position: absolute; top: 2px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--encre); }
.jalon b { font-family: var(--f-mono); font-weight: 500; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
.jalon p { font-size: 1rem; line-height: 1.45; color: var(--texte-2); }
.mention { border: 1px solid var(--filet-fort); border-radius: var(--r-carte); padding: 24px; display: grid; gap: 12px; font-size: 1rem; line-height: 1.45; background: #fff; }
.mention__tete strong { font-weight: 600; display: block; }
.mention__tete span { font-weight: 500; }
.mention__liste { display: grid; gap: 8px; color: var(--texte-2); }
.mention__dose { color: var(--encre); }
.mention__source { border-top: 1px solid var(--filet); padding-top: 12px; color: var(--texte-2); }

/* ---------- 05 Questions et autres formules ---------- */
.autres { margin-top: 48px; border-top: 1px solid var(--filet); padding-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.autres__titre { font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; margin-right: 12px; }
.autres__liste { display: flex; flex-wrap: wrap; gap: 10px; }
.autres .pastille { min-width: 0; }
.autres .fleche { margin-left: 8px; min-height: 44px; }

/* ---------- Barre d'achat mobile (D11) ---------- */
.barre-achat { display: none; }

/* ==========================================================================
   Gamme (/products)
   ========================================================================== */
.g-tete { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: end; padding-top: 16px; }
.g-tete__titre { grid-column: 1 / span 7; }
.g-tete__chapo { grid-column: 9 / span 4; padding-bottom: 10px; }
.g-question { margin-top: 40px; margin-bottom: 16px; font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; }
.g-cases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.g-case { position: relative; border: 1px solid var(--filet-fort); border-radius: var(--r-carte); overflow: hidden; background: #fff; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.g-case:hover { border-color: var(--ref-x, var(--encre)); }
.g-case.est-choisie { box-shadow: inset 0 0 0 2px var(--ref-x); border-color: var(--ref-x); }
.g-case:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.g-case__visuel { background: var(--surface); height: 120px; display: grid; place-items: center; }
.g-case__visuel img { height: 104px; width: auto; }
.g-case__bas { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 58px; }
.g-case__bas img { width: 30px; height: 30px; flex: none; }
.g-case__libelle { font-family: var(--f-titre); font-weight: 600; font-size: 1.0625rem; font-stretch: 94%; white-space: nowrap; }
.g-case--autre { background: var(--encre); color: #fff; border-color: var(--encre); }
.g-case--autre .g-case__visuel { background: var(--encre); color: #fff; }
.g-case--autre .g-case__visuel svg { width: 44px; height: 44px; }

.g-grille-zone { padding-block: 48px 72px; }
.g-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g-carte { border: 1px solid var(--filet); border-radius: var(--r-scene); padding: 12px 12px 24px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 88px; min-width: 0; }
.g-carte.est-ciblee { box-shadow: inset 0 0 0 2px var(--ref-x); border-color: var(--ref-x); }
.g-carte__visuel { display: grid; place-items: center; background: var(--surface); border-radius: 18px; height: 280px; }
.g-carte__visuel img { height: 240px; width: auto; }
.g-carte__corps { padding: 0 12px; display: flex; flex-direction: column; gap: 10px; }
.g-carte__code { display: flex; align-items: center; gap: 10px; }
.g-carte__code img { width: 34px; height: 34px; }
.g-carte__nom { font-family: var(--f-titre); font-weight: 600; font-size: var(--t-titre-3); line-height: 1.12; letter-spacing: var(--a-titre-3); }
.g-carte__nom a { text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.g-carte__nom a:hover { text-decoration: underline; text-underline-offset: .15em; }
.g-carte__pour { color: var(--ref-texte); font-family: var(--f-titre); font-weight: 600; font-size: 1rem; }
.g-carte .apports { margin-top: 4px; }
.g-carte__compo { font-family: var(--f-mono); font-size: .875rem; color: var(--texte-2); }
.g-carte__achat { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid var(--filet); display: grid; gap: 14px; }
.g-carte__achat .prix-appel__ligne { margin: 0; }
.g-carte__boutons { display: grid; gap: 10px; }
.g-carte__boutons .btn { width: 100%; }
.g-carte--atlas { background: var(--encre); color: #fff; border-color: var(--encre); padding: 32px 24px; justify-content: space-between; }
.g-carte--atlas .g-carte__corps { padding: 0; gap: 16px; }
.g-carte--atlas .m-etiq { color: #B4B7BD; }
.g-carte__texte { font-size: var(--t-achat); line-height: 1.5; color: #D4D6DA; }
.g-recherche { display: grid; gap: 12px; }
.g-recherche__champ { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: var(--r-pilule); background: #fff; color: var(--encre); }
.g-recherche__champ svg { width: 20px; height: 20px; flex: none; }
.g-recherche__champ input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: var(--t-achat); height: 100%; outline: none; color: var(--encre); }
.g-recherche__champ:focus-within { outline: 3px solid #fff; outline-offset: 2px; }
.g-recherche .btn { width: 100%; }

.g-table-cadre { background: #fff; border-radius: var(--r-carte); padding: 8px 24px; }
.g-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
.g-table thead th { padding: 20px 8px 16px; text-align: left; vertical-align: bottom; }
.g-table thead td { width: 19%; }
.g-table__code { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-weight: 500; font-size: .8125rem; }
.g-table__code img { width: 34px; height: 34px; }
.g-table__cas { display: block; margin-top: 8px; font-family: var(--f-titre); font-weight: 600; font-size: 1.0625rem; }
.g-table tbody th { text-align: left; font-family: var(--f-titre); font-weight: 600; font-size: 1.0625rem; padding: 14px 8px 14px 0; }
.g-table tbody td, .g-table tbody th { border-top: 1px solid var(--filet); }
.g-table tbody td { padding: 14px 8px; font-size: var(--t-achat); }
.g-dose { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.g-dose::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ref-x); flex: none; }
.g-vide::before { content: ""; display: block; width: 14px; height: 1px; background: var(--filet-fort); }
.g-compos { display: none; }
.g-bas__titre { margin-bottom: 32px; }
.g-bas { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: start; }
.faq__liste.g-faq { display: block; grid-column: auto; border-top: 1px solid var(--filet); }
.faq__liste.g-faq .faq__q:nth-child(-n+2) { border-top: 0; }

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (max-width: 1100px) and (min-width: 760px) {
  .galerie { grid-column: 1 / span 6; }
  .achat { grid-column: 7 / span 6; }
  .galerie { position: static; width: 100%; }
  .actifs--3 { grid-template-columns: 1fr 1fr; }
  .g-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-grille { grid-template-columns: 1fr 1fr; }
  .preuve-zone__texte { grid-column: 1 / -1; margin-bottom: 28px; }
  .preuve { grid-column: 1 / -1; }
  .traitement__gauche, .a-savoir { grid-column: 1 / -1; }
  .a-savoir { margin-top: 28px; }
  .frise { grid-template-columns: 1fr; gap: 0; }
  .frise__ligne { display: none; }
  .jalon:not(:last-child) { background: linear-gradient(var(--encre), var(--encre)) 4px 8px / 1px 100% no-repeat; }
  .jalon { padding: 0 0 22px 28px; }
  .jalon__point { top: 4px; }
  .g-table-cadre { overflow-x: auto; }
  .g-table { min-width: 720px; }
  .g-bas { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 759px) {
  .fil { padding-block: 4px; }
  .fil a { display: inline-flex; min-height: 44px; align-items: center; }
  .produit { display: block; padding-bottom: 40px; }

  .galerie { position: static; width: 100%; gap: 10px; }
  .galerie__scene { border-radius: 20px; }
  .galerie__bouton { width: 44px; height: 44px; }
  .galerie__bouton--prec { left: 10px; margin-top: -22px; }
  .galerie__bouton--suiv { right: 10px; margin-top: -22px; }
  .galerie__loupe { top: 10px; right: 10px; }
  .galerie__compteur { bottom: 12px; right: 12px; }
  .galerie__vignettes { grid-auto-columns: 56px; }
  .visionneuse { padding: 64px 12px 84px; }
  .visionneuse__image { width: min(calc(100vw - 24px), calc(100svh - 160px)); }
  .visionneuse .galerie__bouton--prec, .visionneuse .galerie__bouton--suiv { top: auto; bottom: 20px; margin-top: 0; }
  .visionneuse .galerie__bouton--prec { left: 16px; }
  .visionneuse .galerie__bouton--suiv { right: 16px; }
  .visionneuse .visionneuse__compteur { bottom: 30px; }

  .achat { position: static; margin-top: 24px; }
  .achat__tete { order: 1; } .achat__accroche { order: 2; } .choix--quantite { order: 3; } .choix--rythme { order: 4; }
  .total { order: 5; } [data-action] { order: 6; } .reperes-achat { order: 7; } .achat__apports { order: 8; }
  .traitement-ligne { order: 9; } .specs { order: 10; }
  .options--3 .option { min-height: 0; padding: 12px 10px; }

  .actifs, .actifs--3 { grid-template-columns: 1fr; }
  .actif { padding: 24px; }
  .preuve-zone, .traitement, .emploi { display: block; }
  .preuve { margin-top: 28px; padding: 28px 22px; }
  .preuve__chiffre small { font-size: 1.25rem; }
  .planche { padding: 16px; }
  .a-savoir { margin-top: 28px; padding: 22px; }
  .emploi__photo { position: static; height: 320px; margin-bottom: 28px; }
  .frise { grid-template-columns: 1fr; gap: 0; }
  .frise__ligne { display: none; }
  .jalon:not(:last-child) { background: linear-gradient(var(--encre), var(--encre)) 4px 8px / 1px 100% no-repeat; }
  .jalon { padding: 0 0 22px 28px; }
  .jalon__point { top: 4px; }
  .mention { padding: 18px; }
  .autres { display: grid; }
  .autres .pastille { width: 100%; }
  .autres__liste { display: grid; grid-template-columns: 1fr 1fr; }
  .autres .fleche { margin-left: 0; }

  .barre-achat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-barre-achat, 300);
    background: #fff; border-radius: var(--r-pilule); padding: 8px 8px 8px 22px;
    box-shadow: 0 0 0 1px var(--filet), 0 16px 40px -12px rgba(13, 16, 20, .35);
    transition: transform .2s ease, opacity .2s ease; }
  .barre-achat.est-cachee { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .barre-achat__texte { display: grid; min-width: 0; }
  .barre-achat__mention { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--texte-2); line-height: 1.25; }
  .barre-achat__prix { font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .barre-achat__bouton { height: 52px; padding: 0 20px; }
  body:has(.barre-achat) .pied { padding-bottom: 112px; }

  /* Gamme */
  .g-tete { display: block; padding-top: 4px; }
  .g-tete__chapo { margin-top: 14px; }
  .g-question { margin-top: 24px; font-size: 1.125rem; }
  .g-cases { grid-template-columns: 1fr 1fr; gap: 8px; }
  .g-case__visuel { height: 88px; }
  .g-case__visuel img { height: 76px; }
  .g-case__bas { padding: 10px 12px; min-height: 52px; }
  .g-grille-zone { padding-block: 32px 56px; }
  .g-grille { grid-template-columns: 1fr; }
  .g-carte__visuel { height: 240px; }
  .g-carte__visuel img { height: 200px; }
  .g-carte--atlas { padding: 28px 20px; gap: 24px; }
  .g-table-cadre { display: none; }
  .g-compos { display: grid; gap: 12px; }
  .g-compo { background: #fff; border-radius: var(--r-carte); padding: 20px; }
  .g-compo__tete { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .g-compo__tete img { width: 34px; height: 34px; }
  .g-compo__nom { font-family: var(--f-titre); font-weight: 600; font-size: 1.125rem; margin-right: auto; }
  .g-compo ul li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--filet); font-size: var(--t-achat); }
  .g-compo ul b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .g-bas { display: block; }
  .g-mention { margin-top: 32px; }
}

/* Chiffre de preuve : jamais plus large que la carte (fourchettes longues, ex. IT « da −80 a −86 % » à 360 px) */
.preuve { min-width: 0; }
@media (max-width: 480px) {
  .preuve__chiffre { font-size: clamp(2.25rem, 12.5cqi, 4.5rem); white-space: normal; overflow-wrap: anywhere; }
}

/* Gamme : rangées partagées (sous-grille) pour aligner visuel, code, nom, public, bénéfices,
   composition et achat d'une carte à l'autre, sans vide sous les cartes courtes (01/10). */
@media (min-width: 760px) {
  .g-grille { grid-auto-rows: auto; row-gap: 16px; }
  .g-carte:not(.g-carte--atlas) { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 10px; }
  .g-carte:not(.g-carte--atlas) .g-carte__corps { display: contents; }
  .g-carte:not(.g-carte--atlas) .g-carte__corps > * { margin: 0 12px; }
  .g-carte:not(.g-carte--atlas) .g-carte__visuel { margin-bottom: 10px; }
  .g-carte:not(.g-carte--atlas) .apports { align-self: start; }
  .g-carte:not(.g-carte--atlas) .g-carte__compo { align-self: start; }
  .g-carte:not(.g-carte--atlas) .g-carte__achat { margin-top: 10px; align-self: end; }
  .g-carte--atlas { grid-row: span 7; }
}
/* Carte atlas de la gamme : la grille des 664 et sa légende (01/10) */
.g-carte--atlas { gap: 22px; justify-content: flex-start; }
.g-atlas { background: rgba(255,255,255,.06); border-radius: 16px; padding: 14px; }
.g-atlas__grille { display: grid; grid-template-columns: repeat(28, 1fr); gap: 2px; }
.g-atlas__grille i { aspect-ratio: 1; border-radius: 1.5px; background: rgba(255,255,255,.16); }
.g-atlas__grille i.t { background: transparent; box-shadow: inset 0 0 0 1.2px #fff; }
.g-atlas__legende { display: grid; gap: 8px; font-size: .9375rem; color: #D4D6DA; }
.g-atlas__legende li { display: flex; align-items: center; gap: 10px; }
.g-atlas__legende b { color: #fff; font-family: var(--f-titre); font-weight: 600; min-width: 2.6em; font-variant-numeric: tabular-nums; }
.g-atlas__pt { width: 12px; height: 12px; border-radius: 2px; background: rgba(255,255,255,.16); flex: none; }
.g-atlas__pt--produit { background: linear-gradient(90deg, var(--st01-x) 0 20%, var(--mt01-x) 20% 40%, var(--ip01-x) 40% 60%, var(--bb01-x) 60% 80%, var(--co01-x) 80%); }
.g-atlas__pt--tiers { background: transparent; box-shadow: inset 0 0 0 1.2px #fff; }
.g-carte--atlas .g-recherche { margin-top: auto; }

/* Les médicaments concernés (01/10) : une carte par molécule, son compte de
   médicaments indexés et ses noms de boîte les plus répandus, tous pays. */
.couverts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 12px; margin-top: 40px; }
.couvert__lien { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border: 1px solid var(--filet-fort);
  border-radius: var(--r-carte); background: #fff; text-decoration: none; color: var(--encre); }
.couvert__lien:hover { border-color: var(--encre); }
.couvert__nom { font-family: var(--f-titre); font-weight: 600; font-size: 1.1875rem; display: flex; justify-content: space-between; gap: 12px; }
.couvert__nom::after { content: "→"; font-weight: 400; }
.couvert__n { font-size: .9375rem; color: var(--texte-2); }
.couvert__noms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.couvert__noms li { font-size: .8125rem; line-height: 18px; padding: 3px 8px; border-radius: 6px; background: var(--surface); overflow-wrap: anywhere; }
.traitement__atlas { grid-column: 1 / -1; margin-top: 20px; width: fit-content; }
.traitement__note { grid-column: 1 / -1; margin-top: 20px; max-width: 62ch; font-size: 1rem; line-height: 1.5; color: var(--texte-2); }
.traitement__note + .traitement__atlas { margin-top: 8px; }

/* Formulation validée par la nutritionniste (01/10) : une ligne discrète, pas une mise en avant */
.validation { margin-top: 12px; font-size: .875rem; line-height: 1.5; color: var(--texte-2); }
.validation a { color: inherit; text-decoration: underline; text-decoration-color: var(--texte-3); text-underline-offset: .2em; }
.validation a:hover { color: var(--encre); text-decoration-color: currentColor; }

/* En-tête de la composition (02/10) : sans photo ; le chapô et la ligne de la
   responsable de la formulation à droite du titre. */
.compo-tete__droite { grid-column: 8 / span 5; display: grid; gap: 12px; }
.compo-tete__droite p { grid-column: auto; }
@media (max-width: 759px) { .compo-tete__droite { margin-top: 14px; } }
