/* Nouvelle version de « Pourquoi commander chez nous ? » (propositions-raisons.html,
   30/09). S'ajoute à style.css, accueil.css et v2.css ; la page d'accueil n'en charge
   encore rien. Quatre doubles pages : le texte et ses étapes à gauche, une planche
   technique à droite. Un chapitre clair, un sable, un sombre, un clair, puis la fin. */

.c2 { position: relative; height: 1100vh; background: var(--cream); color: var(--olive-800); }
/* 100svh : la hauteur visible quand les barres du navigateur sont affichées. Avec 100vh, un
   iPhone coupait le bas de la section tant que la barre d'adresse de Safari était visible. */
.c2__colle { --sombre: 0; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--cream); }
.c2__colle::after {                                            /* grain de papier très léger */
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .14 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
.c2 .reperes { display: none; }             /* repère des démonstrations : l'en-tête montre déjà où l'on en est */

/* ---- le titre et son sommaire ---- */
.c2__titre {
  position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: center; column-gap: 6vw; padding: 0 var(--gutter);
}
.c2__titre .eyebrow { color: var(--orange-fonce); }
.c2__titre .display { color: var(--olive-800); font-size: clamp(36px, 5.6vw, 100px); }
.c2 .ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.c2 .ligne > span { display: block; white-space: nowrap; will-change: transform; }
.c2__qm { display: inline-block; }
.c2__base { display: inline-block; width: 0; height: 0; }
.c2__chapeau {
  margin: 26px 0 0; max-width: 30ch; font-family: var(--f-serif); font-size: clamp(21px, 1.8vw, 30px); line-height: 1.25;
  color: var(--olive-800);
}
.c2__sommaire { list-style: none; margin: 0; padding: 0; }
.c2__sommaire li {
  --efface: 0; display: grid; gap: 8px; padding: 18px 0 20px;
  border-top: 1px solid rgba(35, 40, 26, calc(.2 * (1 - var(--efface))));
}
.c2__sommaire li:last-child { border-bottom: 1px solid rgba(35, 40, 26, calc(.2 * (1 - var(--efface)))); }
.c2__sommaire .c2__etiq { font-size: 14px; }
.c2__sommaire-desc { font-family: var(--f-serif); font-size: clamp(19px, 1.5vw, 25px); line-height: 1.2; opacity: calc(1 - var(--efface)); }

/* l'étiquette d'un chapitre : dans le sommaire, puis dans l'en-tête */
.c2__etiq {
  display: inline-flex; align-items: baseline; gap: .8em; justify-self: start; transform-origin: 0 0; will-change: transform;
  font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; white-space: nowrap;
}
.c2__etiq-num { color: var(--orange-fonce); }

/* ---- l'en-tête : où en est-on ---- */
.c2__entete {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 22px; z-index: 22; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  color: color-mix(in srgb, var(--cream) calc(var(--sombre) * 100%), var(--olive-800));
}
.c2__rappel { padding-top: 1px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: 0; }
.c2__pas { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.c2__pas li { --arrive: 0; --rempli: 0; display: grid; gap: 9px; min-width: 112px; }
.c2__pas .c2__etiq { opacity: calc(var(--arrive) * .55); }
.c2__pas li.actif .c2__etiq { opacity: var(--arrive); }
.c2__pas .c2__etiq-num { color: color-mix(in srgb, var(--orange) calc(var(--sombre) * 100%), var(--orange-fonce)); }
.c2__barre {
  position: relative; display: block; height: 2px; overflow: hidden; opacity: var(--arrive);
  background: color-mix(in srgb, currentColor 20%, transparent);
}
.c2__barre b { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(var(--rempli)); }

/* ---- les chapitres ---- */
.c2__chap {
  --encre: var(--olive-800); --doux: rgba(35, 40, 26, .76); --filet: rgba(35, 40, 26, .14); --trait: rgba(35, 40, 26, .3);
  --trait-fort: rgba(35, 40, 26, .5); --grille-c: rgba(35, 40, 26, .055); --fond: var(--cream); --accent: var(--orange-fonce);
  --planche-a: .34;
  position: absolute; inset: 0; visibility: hidden; background: var(--fond); color: var(--encre);
}
.c2__chap--trajet { background: transparent; }              /* le premier partage le fond du titre */
.c2__chap--remises { --fond: #ebe6da; }
.c2__chap--sombre {
  --encre: var(--cream); --doux: rgba(244, 242, 234, .74); --filet: rgba(244, 242, 234, .14); --trait: rgba(244, 242, 234, .28);
  --trait-fort: rgba(244, 242, 234, .5); --grille-c: rgba(244, 242, 234, .05); --fond: #1c2015; --accent: var(--orange);
  --planche-a: .035;
}
.c2__cadre {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 5vw;
  align-items: center; padding: 100px var(--gutter) 60px; transform-origin: 50% 50%; will-change: transform;
}

/* la colonne de texte */
.c2__texte { max-width: 580px; }
.c2__num {
  display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-family: var(--f-display); font-weight: 700;
  font-stretch: 110%; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.c2__num span { color: var(--accent); }
.c2__num i { width: 36px; height: 1px; background: currentColor; opacity: .35; }
.c2__signe { overflow: hidden; margin: 0 0 14px; padding-bottom: .04em; }
.c2__signe-in {
  display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .12em; will-change: transform;
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; line-height: .9; letter-spacing: -.03em;
  font-size: clamp(76px, min(15vh, 10.5vw), 168px);
}
.c2__unite { font-family: var(--f-serif); font-weight: 400; font-stretch: 100%; letter-spacing: 0; font-size: .32em; line-height: 1; color: var(--accent); }
.c2__mot { font-size: .4em; line-height: .96; text-transform: uppercase; }
.c2__pourcent {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(to top, var(--orange) var(--plein, 0%), var(--encre) var(--plein, 0%));
}
.c2__titre-r { margin: 0 0 12px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(25px, 2.25vw, 38px); line-height: 1.12; }
.c2__phrase { margin: 0 0 22px; max-width: 46ch; font-size: clamp(15px, 1.08vw, 17px); line-height: 1.6; color: var(--doux); }

/* le compteur mécanique (le « 1 » de la semaine) */
.compteur { display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.compteur__chiffre { display: inline-block; height: 1em; overflow: hidden; }
.compteur__bande { display: flex; flex-direction: column; will-change: transform; }
.compteur__bande > span { display: block; height: 1em; line-height: 1; text-align: center; }
.compteur__espace { display: inline-block; width: .24em; }

/* les étapes, allumées une à une par la planche */
.c2__etapes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.c2__etapes li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 11px 0 12px; border-bottom: 1px solid var(--filet);
}
.c2__puce {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--trait-fort);
  font-family: var(--f-display); font-weight: 700; font-size: 11px; line-height: 1;
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.c2__etapes p { margin: 0; display: grid; gap: 3px; }
.c2__etapes p { opacity: .46; transition: opacity .4s ease; }
.c2__etapes b {
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.c2__etapes span { font-size: 15px; line-height: 1.42; color: var(--doux); }
.c2__etapes li.passe p { opacity: .8; }
.c2__etapes li.actif p { opacity: 1; }
.c2__etapes li.passe .c2__puce, .c2__etapes li.actif .c2__puce {
  background: var(--orange-btn); border-color: var(--orange-btn); color: #fff;
}
.c2__etapes li.actif .c2__puce { box-shadow: 0 0 0 5px rgba(241, 83, 26, .16); }

/* la planche : un cadre qui se trace, une grille fine, des repères de coupe, une légende */
.c2__planche {
  --trace: 1; --grille: 0; position: relative; margin: 0; align-self: center; height: 100%; max-height: 720px; min-height: 0;
  display: flex; flex-direction: column; background: rgba(255, 255, 255, calc(var(--planche-a) * var(--grille)));
}
.c2__planche::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--grille);
  background-image: linear-gradient(to right, var(--grille-c) 1px, transparent 1px), linear-gradient(to bottom, var(--grille-c) 1px, transparent 1px);
  background-size: 32px 32px;
}
.c2__bord { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.c2__bord rect { fill: none; stroke: var(--trait); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: var(--trace); }
.c2__bord path { fill: none; stroke: var(--orange); stroke-width: 1.2; opacity: var(--grille); }
.c2__v { position: relative; flex: 1 1 auto; min-height: 0; margin: 26px 28px 0; display: grid; place-items: center; }
.c2__v > .planche-svg { position: absolute; inset: 0; }        /* le dessin prend la place donnée, jamais plus */
.c2__legende {
  position: relative; display: flex; justify-content: space-between; gap: 16px; margin: 0 28px; padding: 13px 0 15px;
  border-top: 1px solid var(--filet); opacity: var(--grille);
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
}
.c2__legende span:last-child { color: var(--accent); white-space: nowrap; }

/* le témoin : un point quand il est petit, un cercle quand il grandit */
.c2__temoin { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 24; pointer-events: none; overflow: visible; }
.c2__temoin circle { fill: var(--orange); stroke: var(--orange); stroke-width: 1.6; }

/* ---- les dessins des planches (tailles d'écran constantes grâce à --k) ---- */
.planche-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.planche-svg text { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; text-transform: uppercase; fill: var(--encre); }
.pastille circle {
  r: calc(15px * var(--k, 1)); fill: var(--fond); stroke: var(--trait-fort); stroke-width: calc(1.2px * var(--k, 1));
  transition: fill .4s ease, stroke .4s ease;
}
.planche-svg .pastille text { font-size: calc(12px * var(--k, 1)); letter-spacing: 0; transition: fill .4s ease; }
.atteinte .pastille circle { fill: var(--orange-btn); stroke: var(--orange-btn); }
.planche-svg .atteinte .pastille text { fill: #fff; }

.trajet__guide { fill: none; stroke: var(--trait); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trajet__graduations line { stroke: var(--trait-fort); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.trajet__trace { fill: none; stroke: var(--orange); stroke-width: calc(3px * var(--k, 1)); stroke-linecap: round; }
.planche-svg .trajet__nom { font-size: calc(13px * var(--k, 1)); letter-spacing: .16em; opacity: .45; transition: opacity .4s ease; }
.planche-svg .trajet__sous {
  font-family: var(--f-body); font-weight: 400; text-transform: none; font-size: calc(12.5px * var(--k, 1)); fill: var(--doux);
  opacity: .45; transition: opacity .4s ease;
}
.planche-svg .atteinte .trajet__nom, .planche-svg .atteinte .trajet__sous { opacity: 1; }
.trajet__marque {
  r: calc(4.5px * var(--k, 1)); fill: var(--fond); stroke: var(--trait-fort); stroke-width: calc(1.2px * var(--k, 1));
  transition: fill .4s ease, stroke .4s ease;
}
.atteinte .trajet__marque { fill: var(--orange); stroke: var(--orange); }
.trajet__renvoi { stroke: var(--trait-fort); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .4s ease; }
.atteinte .trajet__renvoi { stroke: var(--orange); }

.escalier__axe, .escalier__base, .escalier__guide { fill: none; vector-effect: non-scaling-stroke; }
.escalier__axe { stroke: var(--trait-fort); stroke-width: 1; }
.escalier__base { stroke: var(--trait); stroke-width: 1; stroke-dasharray: 5 6; }
.escalier__guide { stroke: var(--trait); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; }
.escalier__trace, .escalier__courbe { fill: none; stroke: var(--orange); stroke-width: calc(3px * var(--k, 1)); stroke-linejoin: round; stroke-linecap: round; }
.escalier pattern line { stroke: var(--orange); stroke-width: 1.4; opacity: .5; }
.escalier__panier { fill: var(--orange); }
.planche-svg .escalier__palier { font-size: calc(11px * var(--k, 1)); letter-spacing: .14em; opacity: .42; transition: opacity .4s ease, fill .4s ease; }
.planche-svg .escalier__palier.atteint { opacity: 1; fill: var(--accent); }
.planche-svg .escalier__axe-nom, .planche-svg .escalier__cadran-nom { font-size: calc(10.5px * var(--k, 1)); letter-spacing: .18em; fill: var(--doux); }
.planche-svg .escalier__eco-nom { font-size: calc(10.5px * var(--k, 1)); letter-spacing: .18em; fill: var(--accent); }
.planche-svg .escalier__cadran-valeur {
  font-family: var(--f-serif); font-weight: 400; text-transform: none; font-size: calc(30px * var(--k, 1)); letter-spacing: 0; fill: var(--accent);
}
.escalier--petit .escalier__palier { display: none; }                          /* téléphone : le cadran nomme le palier */
.planche-svg.escalier--petit .escalier__cadran-valeur { font-size: calc(19px * var(--k, 1)); }

.arche { position: relative; }
.arche__photo { position: absolute; inset: 0; background-repeat: no-repeat; background-color: #8d9095; }
.arche__renvois { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arche__renvoi circle { fill: var(--orange); }
.arche__renvoi line { stroke: var(--orange); stroke-width: 1.2; }
.arche__verre {
  position: absolute; left: 0; top: 0; border-radius: 50%; background-repeat: no-repeat; opacity: 0; will-change: transform;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
}
.arche__pastille {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; opacity: 0;
  background: var(--orange-btn); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 12px;
  box-shadow: 0 0 0 5px rgba(241, 83, 26, .18);
}

.cadran { position: relative; }
.cadran__svg { position: absolute; inset: 0; }
.cadran__piste, .cadran__traits line, .cadran__aiguille { vector-effect: non-scaling-stroke; }
.cadran__piste { fill: none; stroke: var(--trait); stroke-width: 1; }
.cadran__traits line { stroke: var(--trait); stroke-width: 1; }
.cadran__traits line.grand { stroke: var(--trait-fort); stroke-width: 1.4; }
.planche-svg .cadran__lettres text { font-size: calc(12px * var(--k, 1)); letter-spacing: .08em; opacity: .5; transition: opacity .4s ease, fill .4s ease; }
.planche-svg .cadran__lettres text.passe { opacity: 1; fill: var(--accent); }
.cadran__saison { fill: none; stroke: var(--trait); stroke-width: calc(3px * var(--k, 1)); stroke-linecap: round; transition: stroke .4s ease; }
.cadran__saison.passe { stroke: var(--orange); }
.planche-svg .cadran__nom { font-size: calc(11.5px * var(--k, 1)); letter-spacing: .24em; opacity: .5; transition: opacity .4s ease, fill .4s ease; }
.planche-svg .cadran__nom.passe { opacity: 1; fill: var(--accent); }
.planche-svg.cadran--petit .cadran__lettres text { font-size: calc(9.5px * var(--k, 1)); }
.planche-svg.cadran--petit .cadran__nom { font-size: calc(10px * var(--k, 1)); }
.cadran--minuscule .cadran__lettres { display: none; }                   /* cadran minuscule : les graduations suffisent */
.planche-svg.cadran--minuscule .cadran__nom { font-size: calc(9px * var(--k, 1)); letter-spacing: .18em; }
.cadran__trace { fill: none; stroke: var(--orange); stroke-width: calc(2.4px * var(--k, 1)); stroke-dasharray: 0 1; }
.cadran__aiguille { stroke: var(--orange); stroke-width: 1.2; opacity: .7; }
.cadran__photo { position: absolute; border-radius: 50%; background-repeat: no-repeat; will-change: transform; }

/* ---- la fin ---- */
.c2__chap--fin .c2__cadre { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 6vw; }
.c2__accroche {
  margin: 0 0 22px; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(44px, 6.4vw, 116px); line-height: .92; letter-spacing: -.015em;
}
.c2__point { display: inline-block; width: .15em; height: .15em; margin-left: .05em; border-radius: 50%; }
.c2__fin-g .c2__phrase { font-size: clamp(16px, 1.2vw, 19px); max-width: 44ch; }
.c2__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
/* sous les boutons : se connecter, nous contacter */
.c2__liens { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--doux); }
.c2__liens a { white-space: nowrap; color: var(--encre); text-decoration: underline; text-decoration-color: rgba(244, 242, 234, .35); text-underline-offset: 3px; }
.c2__liens a:hover, .c2__liens a:focus-visible { color: var(--orange); text-decoration-color: currentColor; }
.c2__sep { margin: 0 10px; opacity: .5; }
/* à droite, la photo d'une composition, dans un cadre de planche comme les chapitres ;
   sa hauteur suit l'écran (cadre, marges et légende compris), sa largeur la colonne */
.c2__planche--photo { height: auto; max-height: none; width: min(100%, calc((100svh - 240px) * .8 + 56px)); justify-self: center; }
.c2__planche--photo .c2__v { flex: none; display: block; aspect-ratio: 1122 / 1402; overflow: hidden; }
.c2__photo { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 62%; will-change: transform, filter; }

/* ---- vers Instagram : le fond sombre de l'invitation s'efface, le mur apparaît dessous ---- */
.c2__chap--fin { background: transparent; }
.c2__recto { position: absolute; inset: 0; background: color-mix(in srgb, var(--fond) calc(var(--fond-a, 1) * 100%), transparent); }

/* ---- l'épilogue Instagram : un mur vivant, et au milieu un cartel comme dans une galerie ;
   son fond passe du sombre de l'invitation au crème (--clair, posé par r2-chapitres.js) ---- */
.c2__chap--insta { --fond: color-mix(in srgb, #ece7db calc(var(--clair, 1) * 100%), #1c2015); }
/* Navigateurs sans color-mix() (Safari avant 16.2, iOS 15) : les fonds mêlés y seraient
   transparents, et « À vous de composer » crème sur crème. Fonds pleins ; l'en-tête, qui
   serait illisible sur les chapitres sombres, est masqué (sa place reste, pour le sommaire). */
@supports not (color: color-mix(in srgb, red, blue)) {
  .c2__recto { background: var(--fond); }
  .c2__chap--insta { --fond: #ece7db; }
  .c2__entete { visibility: hidden; }
}
.c2__chap--insta .c2__cadre { display: block; padding: 0; }
.ig__mur { position: absolute; inset: 0; overflow: hidden; }
.ig__col { position: absolute; top: 0; display: flex; flex-direction: column; will-change: transform; }
.ig__post { position: relative; display: block; flex: 0 0 auto; overflow: hidden; background: #d8d2c4; }
.ig__image { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ig__post:hover .ig__image, .ig__post:focus-visible .ig__image { transform: scale(1.05); }
.ig__post:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.ig__type {
  position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(20, 23, 15, .62); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.ig__survol {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 46px 14px 14px; color: #fff;
  background: linear-gradient(to top, rgba(20, 23, 15, .82), rgba(20, 23, 15, 0)); opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.ig__post:hover .ig__survol, .ig__post:focus-visible .ig__survol { opacity: 1; transform: none; }
.ig__legende { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig__voir { font-family: var(--f-display); font-weight: 700; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #ffd6c4; }
.ig__cartel {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: min(480px, calc(100% - 2 * var(--gutter))); padding: 38px 36px 32px;
  text-align: center; background: var(--cream); transform: translate(-50%, -50%);
  box-shadow: 0 34px 90px rgba(35, 40, 26, .3), 0 0 0 1px rgba(35, 40, 26, .08);
}
.ig__sur {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-display); font-weight: 700;
  font-stretch: 110%; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
}
.ig__point { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }             /* le point orange s'y pose */
.ig__compte {
  margin: 0 0 12px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05;
  overflow-wrap: anywhere;                   /* 46 px au plus : le nom tient sur une ligne dans le cartel */
}
.ig__phrase { margin: 0 auto 24px; max-width: 34ch; font-size: 15.5px; line-height: 1.55; color: var(--doux); }
.ig__note { margin: 18px 0 0; font-size: 12px; line-height: 1.4; color: var(--accent); }

/* ---- sur téléphone et en portrait : une colonne, la planche au milieu, l'étape en cours dessous ---- */
.debout .c2__titre { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: 5vh; }
.debout .c2__titre .display { font-size: clamp(36px, 11vw, 64px); }
.debout .c2__sommaire li { padding: 10px 0 12px; }
.debout .c2__sommaire-desc { font-size: 17px; }
.debout .c2__entete { top: 14px; }
.debout .c2__rappel { display: none; }
.debout .c2__pas { flex: 1 1 auto; gap: 10px; }
.debout .c2__pas li { min-width: 0; flex: 1 1 0; }
.debout .c2__pas .c2__etiq-nom { display: none; }             /* le nom du chapitre est écrit juste dessous */
.debout .c2__cadre {
  grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
  align-items: start; padding: 62px var(--gutter) 30px;
}
.debout .c2__texte { display: contents; }
.debout .c2__num { margin-bottom: 10px; }
.debout .c2__signe { margin-bottom: 8px; }
.debout .c2__signe-in { font-size: clamp(54px, 9vh, 96px); }
.debout .c2__titre-r { font-size: 23px; margin-bottom: 6px; }
.debout .c2__phrase { font-size: 14.5px; line-height: 1.5; margin-bottom: 0; }
/* hauteur moins les marges : sinon le centrage mange l'écart avec le texte (et les repères de coupe le touchent) */
.debout .c2__planche { grid-row: 5; align-self: center; height: calc(100% - 54px); max-height: calc(100vw + 20px); margin: 28px 0 26px; }
/* une étape à la fois, toutes empilées dans la même case : la zone garde la hauteur de la
   plus longue, et la planche ne bouge pas quand l'étape change */
.debout .c2__etapes, .tres-bas .c2__etapes { display: grid; border-top: 0; }
.debout .c2__etapes { grid-row: 6; }
.debout .c2__etapes li, .tres-bas .c2__etapes li { grid-area: 1 / 1; visibility: hidden; padding: 0; border-bottom: 0; }
/* « inherit », pas « visible » : un descendant « visible » se montrerait même dans un chapitre caché */
.debout .c2__etapes li.actif, .tres-bas .c2__etapes li.actif { visibility: inherit; animation: c2-apparait .45s ease both; }
.debout .c2__v { margin: 14px 14px 0; }
/* planche étroite : « Inspiration » passe à la ligne au lieu de sortir du cadre */
.debout .c2__legende { margin: 0 14px; padding: 10px 0 11px; font-size: 9px; letter-spacing: .14em; flex-wrap: wrap; row-gap: 6px; }
.debout .c2__fin-g .c2__phrase { margin-bottom: 22px; }
.debout .ig__cartel { padding: 26px 22px 24px; }
.debout .ig__compte { font-size: clamp(26px, 8vw, 36px); }
.debout .ig__phrase { font-size: 14.5px; margin-bottom: 18px; }
.court .ig__phrase, .bas .ig__phrase { display: none; }
.mini .ig__cartel { padding: 18px 20px; }
.mini .ig__sur { margin-bottom: 8px; }
.mini .ig__compte { font-size: 26px; margin-bottom: 10px; }
.mini .ig__note { margin-top: 10px; }
/* les repères de coupe de la photo débordent de 19 px au-dessus d'elle : 12 px de plus sous les liens */
.debout .c2__chap--fin .c2__cadre { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; row-gap: calc(5vh + 12px); }
/* la photo sous le texte, à la hauteur qui reste ; plus petite sur un téléphone court, absente sur un très court */
.debout .c2__planche--photo { grid-row: auto; height: auto; max-height: none; margin: 0; }   /* largeur : placerPhoto() */
.court .c2__planche--photo .c2__legende { display: none; }          /* photo étroite : la légende déborderait du cadre */
.court .c2__planche--photo .c2__v { margin-bottom: 14px; }
.tres-court .c2__planche--photo, .mini .c2__planche--photo { display: none; }
@keyframes c2-apparait { from { opacity: 0; transform: translateY(8px); } }
/* petits téléphones : classes posées d'après la hauteur réellement visible de la section
   (une requête « max-height » lit, sur iPhone, la hauteur sans les barres de Safari) */
.court .c2__phrase { display: none; }
.court .c2__fin-g .c2__phrase { display: block; }
.court .c2__titre { row-gap: 3vh; }
.court .c2__sommaire li { gap: 5px; padding: 8px 0 9px; }
.court .c2__sommaire-desc { font-size: 15.5px; }
.tres-court .c2__titre-r, .tres-court .c2__legende { display: none; }    /* très petits : la planche d'abord */
.tres-court .c2__cadre { padding-top: 54px; }
.tres-court .c2__v { margin-bottom: 14px; }

/* ---- écrans larges mais bas : portables de 600 à 700 px de haut, téléphones couchés ---- */
.bas .c2__phrase { display: none; }
.bas .c2__fin-g .c2__phrase { display: block; }
.bas .c2__cadre { padding-top: 84px; padding-bottom: 40px; }
.bas .c2__signe-in { font-size: clamp(44px, 14vh, 96px); }
.bas .c2__titre-r { font-size: clamp(19px, 2vw, 30px); }
.bas .c2__planche { max-height: none; }
.bas .c2__etapes li { padding: 8px 0 9px; }
.tres-bas .c2__entete { top: 10px; }
.tres-bas .c2__rappel { display: none; }
.tres-bas .c2__cadre { padding: 50px var(--gutter) 14px; column-gap: 4vw; }
.tres-bas .c2__num { margin-bottom: 8px; }
.tres-bas .c2__signe { margin-bottom: 6px; }
.tres-bas .c2__v { margin: 10px 12px 0; }
.tres-bas .c2__legende { margin: 0 12px; padding: 7px 0 8px; font-size: 8.5px; letter-spacing: .14em; }
.tres-bas .c2__accroche { font-size: clamp(34px, 5.4vw, 60px); margin-bottom: 12px; }
.tres-bas .c2__fin-g .c2__phrase { margin-bottom: 14px; }
.tres-bas .c2__sommaire li { gap: 4px; padding: 8px 0 9px; }
.tres-bas .c2__sommaire-desc { font-size: 15px; }
.tres-bas .c2__chapeau { margin-top: 12px; font-size: 18px; }
/* téléphone couché avec les barres du navigateur (moins de 400 px de haut) : l'essentiel */
.mini .c2__sommaire-desc, .mini .c2__chapeau, .mini .c2__titre-r { display: none; }
.mini .c2__titre .display { font-size: clamp(28px, 12vh, 48px); }
.mini .c2__sommaire li { padding: 6px 0 7px; }
.mini .c2__etapes span { font-size: 13.5px; line-height: 1.35; }
.mini .c2__fin-g .c2__phrase { font-size: 14px; }

/* la page de démonstration autour */
.fin a { color: var(--orange); }
