/* Agri GP : la marque, posée sur assets/system.css (grille, boutons, menu) et assets/motion (survols).
   Couleurs du brief : vert pâture #24401c, jaune boucle #f4c21b, terre #6b4226, blanc.
   Le jaune ne sert jamais de couleur de texte sur blanc (1,7:1) : il est toujours un fond, avec du vert dessus. */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --pature: #24401c;
  --pature-2: #2f5426;
  --boucle: #f4c21b;
  --terre: #6b4226;
  --terre-a: #8a5a36;
  --terre-c: #4e2f1b;
  --herbe: #4b7a3a;
  --craie: #f4f2ec;

  --p-bg: #ffffff;
  --p-surface: #f4f2ec;
  --p-ink: #24401c;
  --p-muted: #56614f;
  --p-accent: #f4c21b;
  --p-accent-ink: #24401c;
  --p-action: #24401c;
  --p-action-ink: #ffffff;
  --p-inv-bg: #24401c;
  --p-inv-surface: #2d4d24;
  --p-inv-ink: #ffffff;
  --p-inv-muted: #c3cdbd;
  --p-inv-accent: #f4c21b;
  --p-inv-accent-ink: #24401c;
  --p-inv-action: #f4c21b;
  --p-inv-action-ink: #24401c;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Barlow", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.004em;

  --t-h1: clamp(46px, 3.81vw + 31.1px, 86px);
  --t-h2: clamp(40px, 2.29vw + 31px, 64px);
  --t-h3: clamp(26px, .76vw + 23px, 34px);
  --t-body: 17px;
  --t-lead: 19px;
  --t-stat: clamp(56px, 3.05vw + 44px, 88px);

  /* le mouvement : une seule courbe de sortie (skill animate), reprise par GSAP en CustomEase */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease: var(--ease-out);
  --dur: 160ms;
}
@media (min-width: 1024px) { :root { --t-lead: 20px; --t-body: 18px; } }

h1, h2, h3, .t-display {
  font-family: var(--font-display); font-weight: 800; letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
h1, .t-h1 { line-height: .94; }
h2, .t-h2 { line-height: .96; }
h3, .t-h3 { line-height: 1; }
.muted { color: var(--muted); }
p { text-wrap: pretty; }
.t-label { font-weight: 600; letter-spacing: .01em; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* focus : un anneau vert collé au contrôle, puis le jaune boucle autour (3:1 au moins grâce au vert) */
:focus-visible {
  outline: 3px solid var(--boucle); outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--pature);
}
.ground-inverse :focus-visible, .footer--dark :focus-visible { box-shadow: 0 0 0 2px #fff; }

/* marque : les trois barres empilées du kit, lues comme trois couches de sol */
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: 0; gap: 10px; }
.nav__logo .mark { color: var(--terre); }
.footer--dark .nav__logo .mark { color: var(--boucle); }

/* emplacements à remplacer : visibles, nets, jamais confondus avec le vrai contenu */
.slot {
  display: inline; padding: 0 .2em; border-radius: 3px;
  background: color-mix(in oklab, var(--boucle) 28%, white); color: var(--pature);
  font-family: var(--font-text); font-weight: 600; white-space: nowrap;
}
.ground-inverse .slot, .footer--dark .slot { background: color-mix(in oklab, var(--boucle) 85%, white); color: var(--pature); }
.tag-exemple {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--pature); color: #fff; font: 600 13px/1 var(--font-text); letter-spacing: .02em;
}

/* ------------------------------------------------------------ héros */
.hero--product .hero__head h1 { font-size: var(--t-h1); }
.hero__lead { color: var(--ink); }
.hero__stage.coupe { background: none; border-radius: 0; overflow: visible; }
.hero__stage.coupe > .coupe__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.coupe__svg text { font-family: var(--font-text); }
.hero .coupe__ground-line { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ------------------------------------------------------------ récit au scroll
   État de base = état final : chapitres empilés, scènes terminées. C'est ce que voient un téléphone,
   le mouvement réduit et un navigateur sans script. html.story-pin (écrans de 768 px et plus, mouvement
   autorisé) superpose les chapitres pour l'épinglage. */
main > section.story { height: auto; min-height: 100svh; }
.story .wrap { height: auto; }
.story__eyebrow { margin-bottom: var(--s-4); }
.story__head { margin-bottom: var(--s-7); max-width: 860px; }
.story__chapters { display: grid; gap: var(--s-9); }
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.chapter__text { grid-column: 1 / span 5; display: grid; gap: var(--s-5); align-content: center; }
.chapter__text p { font-size: var(--t-lead); line-height: 1.5; max-width: 34ch; }
.chapter__scene { grid-column: 7 / -1; position: relative; aspect-ratio: 640 / 520; }
.chapter__scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chapter__scene text { font-family: var(--font-text); }
.chapter__step { font: 600 14px/1 var(--font-text); color: var(--muted); display: flex; gap: 12px; align-items: center; }
.chapter__step::before { content: ""; width: 32px; height: 1px; background: currentColor; }

html.story-pin .story { height: 100svh; min-height: 0; padding-bottom: 0; overflow: hidden; }
html.story-pin .story > .wrap { height: 100%; display: flex; flex-direction: column; }
html.story-pin .story__head { margin-bottom: 0; }
html.story-pin .story__chapters { display: grid; flex: 1 1 auto; min-height: 0; padding-block: var(--s-6) var(--s-7); }
html.story-pin .chapter { grid-area: 1 / 1; min-height: 0; }
html.story-pin .chapter__scene { max-height: 100%; height: 100%; aspect-ratio: auto; }

@media (max-width: 767px) {
  .chapter { grid-template-columns: 1fr; row-gap: var(--s-6); }
  .chapter__text, .chapter__scene { grid-column: 1 / -1; }
  .story__chapters { gap: var(--s-8); }
}

/* compteur à rouleaux : chaque chiffre est une bande 0-9 qui glisse verticalement */
.odo { display: inline-flex; font-variant-numeric: tabular-nums; line-height: 1; overflow: hidden; height: 1em; }
.odo__d { display: block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform 200ms var(--ease-out); }
.odo__strip > span { height: 1em; display: block; text-align: center; }

.counter {
  position: absolute; left: 0; top: 0; display: grid; gap: 6px; z-index: 2;
}
.counter__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 5vw, 104px); color: var(--pature); line-height: 1; display: flex; align-items: baseline; gap: .12em; }
.counter__total { color: var(--muted); font-size: .5em; }
.counter__label { font: 600 15px/1.3 var(--font-text); color: var(--muted); }
.alert-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--boucle); color: var(--pature); font: 600 15px/1.2 var(--font-text); width: max-content;
}
.alert-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pature); }

/* ------------------------------------------------------------ preuves
   Un seul réglage : data-preuves="masquee" sur la section la retire de la page (et du plan de la page).
   Mettre data-preuves="visible" quand les vrais chiffres sont là. */
section[data-preuves="masquee"] { display: none !important; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin: 0; }
.figure { border-top: 1px solid var(--pature); padding-top: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.figure dt { order: 2; font-size: 17px; line-height: 1.4; color: var(--ink); max-width: 22ch; }
.figure dd { order: 1; margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--t-stat); line-height: .95; }
.figure dd .slot { font-family: var(--font-display); font-weight: 800; font-size: .62em; padding: .04em .18em; }
.figure__rule { display: block; height: 1px; background: var(--pature); transform-origin: left; }
.preuves__quote { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; margin-top: var(--s-8); }
.preuves__quote blockquote { grid-column: 1 / span 8; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 1.9vw + 22px, 48px); line-height: 1.02; }
.preuves__who { grid-column: 10 / -1; display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: center; }
.photo-slot {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: var(--craie); border: 1px dashed color-mix(in oklab, var(--pature) 40%, transparent); color: var(--muted);
  font: 600 13px/1.2 var(--font-text); text-align: center;
}
.photo-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preuves__who .photo-slot { width: 96px; height: 96px; border-radius: 50%; }
.preuves__who p { font-size: 16px; line-height: 1.45; }
.logos { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gutter); }
.logos li { height: 72px; display: grid; place-items: center; background: #e6e6e3; color: #4a4a46; font: 600 13px/1 var(--font-text); border-radius: 4px; }
@media (max-width: 1023px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-7); }
  .preuves__quote blockquote, .preuves__who { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .figures { grid-template-columns: 1fr; row-gap: var(--s-6); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ application */
main > section.application { height: auto; min-height: calc(2 * 100svh); }
.profils { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); list-style: none; padding: 0; margin: 0; }
.profil { display: grid; gap: var(--s-4); align-content: start; }
.profil .photo-slot { aspect-ratio: 4 / 3; border-radius: var(--r-md); border-style: solid; border-color: transparent; }
.profil .photo-slot svg { width: 46%; height: auto; overflow: visible; }
.profil h3 { font-size: clamp(26px, .57vw + 24px, 32px); }
.profil p { font-size: 17px; line-height: 1.5; }
.logiciels { display: flex; flex-wrap: wrap; gap: 6px; }
.logiciel { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--pature); font: 600 13px/1 var(--font-text); }
.logiciel--sol { background: var(--pature); color: #fff; }
.logiciel--troupeau { background: var(--boucle); border-color: var(--boucle); color: var(--pature); }
@media (max-width: 1023px) { .profils { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-7); } }
@media (max-width: 639px) { .profils { grid-template-columns: 1fr; } }

.equipe { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: var(--s-10); align-items: start; }
.equipe__head { grid-column: 1 / span 5; position: relative; }
.etapes { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; display: grid; gap: var(--s-8); counter-reset: etape; }
.etapes__rail { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: color-mix(in oklab, var(--pature) 16%, transparent); }
.etapes__fill { position: absolute; inset: 0; background: var(--pature); transform-origin: top; }
.etapes__sonde { position: absolute; left: -2px; top: -6px; width: 36px; height: 52px; }
.etape { position: relative; display: grid; gap: var(--s-3); counter-increment: etape; }
.etape::before {
  content: counter(etape); position: absolute; left: -64px; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pature); color: #fff; font: 800 18px/1 var(--font-display);
}
.etape h3 { font-size: var(--t-h3); }
.etape p { font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
@media (max-width: 767px) {
  .equipe__head, .etapes { grid-column: 1 / -1; }
  .etapes { margin-top: var(--s-7); }
}

/* ------------------------------------------------------------ conclusion et pied de page */
.close--sonde { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.close--sonde .section-head { grid-column: 1 / span 7; margin-bottom: 0; max-width: none; }
.close--sonde .section-head h2 { font-size: clamp(48px, 4.2vw + 32px, 104px); line-height: .92; }
.close--sonde .btn-row { margin-top: var(--s-6); }
.close__sonde { grid-column: 9 / -1; justify-self: center; width: min(100%, 300px); }
.close__sonde svg { width: 100%; height: auto; }
.footer__lede { color: var(--inv-muted, #c3cdbd); }
.footer__contact { font-style: normal; display: grid; gap: 6px; font-size: 16px; }
@media (max-width: 767px) {
  .close--sonde .section-head, .close__sonde { grid-column: 1 / -1; }
  .close__sonde { display: none; }
}

/* ------------------------------------------------------------ détails des scènes */
.tag__shape { fill: var(--boucle); }
.tag--miss .tag__shape { opacity: 0; }
.tag__ghost { fill: none; stroke: var(--pature); stroke-width: 1.4; stroke-dasharray: 4 3; }
.tag--miss .tag__n { fill: #56614f; }
.counter__label { position: relative; }
.counter__label .lbl-a { position: absolute; left: 0; top: 0; opacity: 0; }
.scene-chip { position: absolute; left: 16px; bottom: 16px; margin: 0; }
.chapter__scene[data-scene="drone"] .scene-chip { box-shadow: 0 2px 0 rgba(36, 64, 28, .25); }
.etape__n {
  position: absolute; left: -64px; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pature); color: #fff; font: 800 18px/1 var(--font-display); z-index: 1;
}
.etape::before { content: none; }
.etapes__rail { list-style: none; }
.etape h4 { font-size: var(--t-h3); }
.link { color: var(--pature); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* le héros : la ligne de tête du kit (titre à gauche, phrase et boutons à droite) pour une coupe en SVG */
@media (min-width: 1024px) {
  .hero--product:has(.coupe) .hero__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); grid-template-rows: auto auto; row-gap: var(--s-5); }
  .hero--product:has(.coupe) .hero__head > :first-child { display: contents; }
  .hero--product:has(.coupe) .hero__head h1 { grid-column: 1 / span 7; grid-row: 1 / span 2; align-self: end; margin: 0; }
  .hero--product:has(.coupe) .hero__head .hero__lead { grid-column: 9 / -1; grid-row: 1; align-self: end; margin: 0; max-width: none; }
  .hero--product:has(.coupe) .hero__head > .btn-row { grid-column: 9 / -1; grid-row: 2; justify-content: flex-start; }
  .hero--product .hero__stage.coupe { margin-top: var(--s-6); margin-bottom: calc(var(--s-5) - var(--hpadb, 64px)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero--product:has(.coupe) .hero__head h1 { grid-column: 1 / span 6; }
  .hero--product:has(.coupe) .hero__head .hero__lead, .hero--product:has(.coupe) .hero__head > .btn-row { grid-column: 7 / -1; }
}

/* ---- corrections après la première passe Playwright */
.t-label, .section-head .t-label, .story__eyebrow { font: 600 15px/1.3 var(--font-text); color: var(--muted); letter-spacing: .01em; }
h4, .etape h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: var(--display-tracking); line-height: 1; }
.etapes__sonde { max-width: none; overflow: visible; }

/* la scène garde ses proportions : le compteur reste calé sur le dessin */
html.story-pin .story__chapters { container-type: size; }
html.story-pin .chapter { height: 100%; }
html.story-pin .chapter__scene { width: min(100%, calc(100cqh * 640 / 520)); height: auto; max-height: none; aspect-ratio: 640 / 520; justify-self: end; align-self: center; }
@media (min-width: 768px) and (max-width: 1023px) {
  html.story-pin .chapter { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); row-gap: var(--s-5); align-items: start; }
  html.story-pin .chapter__text, html.story-pin .chapter__scene { grid-column: 1 / -1; }
  html.story-pin .chapter__text p:not(.chapter__step) { max-width: 52ch; }
  html.story-pin .chapter__scene { width: min(100%, calc((100cqh - 230px) * 640 / 520)); justify-self: start; align-self: start; }
}

main > section.application { height: auto; min-height: 0; padding-bottom: var(--s-10); }

/* conclusion : tient dans son écran, au-dessus des liens */
.close--sonde .section-head h2 { font-size: clamp(44px, 2.86vw + 33px, 76px); }
.close--sonde .section-head p { color: var(--ink); }
.close__sonde { width: min(100%, 210px); align-self: end; }
.footer__lede { font: 400 16px/1.5 var(--font-text); letter-spacing: 0; }
.footer__contact { justify-items: start; }
/* nos emplacements voulus (chiffres, téléphone…) gardent leur fond jaune ; le pointillé rouge du kit reste pour tout crochet oublié */
.slot[data-placeholder] { outline: none; }
.etapes__sonde { overflow: hidden; left: -50px; top: -10px; width: 30px; height: 50px; }

/* ---- 768 à 1023 px épinglé : texte en haut, la scène prend le reste de l'écran */
@media (min-width: 768px) and (max-width: 1023px) {
  html.story-pin .chapter { display: flex; flex-direction: column; gap: var(--s-5); }
  html.story-pin .chapter__scene { flex: 1 1 auto; min-height: 0; width: 100%; aspect-ratio: auto; }
}

/* ---- sous 768 px : scènes empilées ; le compteur passe au-dessus du dessin, le haut vide du dessin est rogné */
.scene-legend { display: none; }
@media (max-width: 767px) {
  .chapter__scene { aspect-ratio: auto; }
  .chapter__scene > svg { position: relative; inset: auto; height: auto; display: block; }
  .chapter__scene .counter { position: relative; margin-bottom: var(--s-3); }
  .chapter__scene[data-scene="tags"] > svg { margin-top: -20%; }
  .chapter__scene[data-scene="eau"] > svg { margin-top: -21%; }
  .chapter__scene[data-scene="drone"] > svg { margin-top: -15%; }
  .chapter__scene[data-scene="sonde"] > svg { margin-top: -4%; }
  .counter__value { font-size: 64px; }
}
@media (max-width: 639px) {
  .chapter__scene .reading, .chapter__scene .exemple, .chapter__scene .layer-name { display: none; }
  .scene-legend { display: grid; gap: var(--s-4); grid-column: 1 / -1; justify-items: start; }
  .scene-legend dl { margin: 0; display: grid; gap: 0; width: 100%; }
  .scene-legend dl > div { display: flex; justify-content: space-between; gap: var(--s-4); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .scene-legend dt { font-weight: 600; }
  .scene-legend dd { margin: 0; }
  .alert-chip { font-size: 14px; }
  .scene-chip { left: 8px; bottom: 8px; }
  .nav:not(.is-open) .nav__actions { display: none; }
}

/* ---- deuxième passe : vérification du skill */
/* Pour qui : un écran. Comment on s'équipe : un écran, ses étapes sur la ligne de partage */
main > section.application { height: calc(100vh); height: 100svh; min-height: 0; padding-bottom: var(--padb); }
main > section.equipement { height: auto; min-height: 100svh; }
.equipe { margin-top: 0; }
.equipe__head .t-label { margin-bottom: var(--s-4); }
.etapes { padding-left: 0; }
.etapes__rail { left: -49px; }
.etape__n { left: -64px; }
.etapes__sonde { left: -14px; }
.etape h3 { font-size: var(--t-h3); }
@media (max-width: 767px) {
  .etapes { margin-left: 64px; }
  .etapes__sonde { display: none; }
}
@media (max-width: 1023px) { main > section.application { height: auto; min-height: 100svh; } }

/* l'étape du chapitre : le trait après le mot, le texte reste sur la ligne de gauche */
.chapter__step::before { content: none; }
.chapter__step::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.chapter { align-items: start; }
html.story-pin .chapter__text { align-self: start; padding-top: var(--s-6); }

/* compteur : les chiffres masqués par découpe, pas par débordement */
.odo, .odo__d { overflow: visible; }
.odo__d { clip-path: inset(0); }

/* 320 à 767 px : rien ne dépasse l'écran */
@media (max-width: 767px) {
  .close--sonde { grid-template-columns: minmax(0, 1fr); }
  .chapter__scene .scene-chip { position: relative; left: 0; bottom: 0; margin-top: var(--s-4); width: auto; max-width: 100%; white-space: normal; }
}
/* téléphone : le héros tient dans le premier écran */
@media (max-width: 639px) {
  .hero--product .hero__stage.coupe { min-height: 180px; margin-top: var(--s-5); }
  .hero--product .btn-row .btn--secondary { display: none; }
}

/* ---- troisième passe */
@media (max-width: 639px) {
  .hero--product .hero__stage.coupe { flex: 1 1 auto; aspect-ratio: auto; min-height: 180px; margin-bottom: 0; }
}
/* étapes : chiffres en contenu généré, le texte part de la ligne de partage */
.etape__n { display: none; }
.etape { --n-bg: var(--pature); }
.etape::before {
  content: counter(etape); position: absolute; left: -64px; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--n-bg); color: #fff; font: 800 18px/1 var(--font-display); z-index: 1;
}
.etapes { gap: var(--s-9); }
@media (max-width: 767px) {
  .etapes { margin-left: 0; }
  .etapes__rail { display: none; }
  .etape { padding-top: 48px; }
  .etape::before { left: 0; }
}
.close--sonde .section-head h2 { font-size: clamp(38px, 3.6vw + 24px, 76px); overflow-wrap: break-word; }
html.story-pin .chapter__scene { align-self: start; }
html.story-pin .chapter__text { padding-top: 0; }
.close--sonde .section-head { min-width: 0; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 639px) {
  .close--sonde .btn--xl { width: 100%; height: auto; min-height: 56px; padding-block: 12px; font-size: 18px; white-space: normal; text-align: center; }
}
/* preuves : un écran ; le chiffre et son unité restent sur une ligne */
.figure dd { white-space: nowrap; font-size: clamp(48px, 2.3vw + 39px, 72px); }
.preuves__quote { margin-top: var(--s-7); }
.preuves__quote blockquote { font-size: clamp(28px, 1.3vw + 23px, 40px); }
.logos { margin-top: var(--s-7); }
.logos li { height: 64px; }
@media (max-width: 1023px) { main > section.preuves { height: auto; min-height: 100svh; } }

/* l entrée du héros est celle de GSAP (js/recit.js, js/pages.js) : la scène en SVG ne prend pas en plus le léger agrandissement du kit */
.hero[data-enter] .hero__stage.coupe { scale: none !important; transition: none !important; }

/* ================================================================ hauteurs : jamais plus petites que le contenu
   Cause du chevauchement en bas de page (1440 px, fenêtre de moins de ~730 px de haut) : le kit fixe la hauteur
   des sections et du pied de page à un écran (system.css, height: calc(var(--h, 1) * 100svh)) et répartit leur
   contenu dans des rangées minmax(0, 1fr). Dans une fenêtre basse, une rangée devient plus petite que son contenu,
   qui déborde sur la suivante. Les sections gardent leur hauteur d'un ou deux écrans, mais en minimum. */
main > :is(section, .section):not(.hero, .story, .conclusion, .legal, .contact) { height: auto; min-height: calc(var(--h, 1) * 100svh); }
main > :is(section, .section):not(.hero, .story) > :is(.wrap, .container) { height: auto; }
main > :is(section, .section):is(.conclusion, .legal) { height: auto; }

/* la conclusion : dernière section du contenu, fond craie, filet au-dessus du pied de page vert */
main > section.conclusion {
  min-height: 0; padding: var(--s-10) 0; background: var(--craie);
  border-bottom: 1px solid color-mix(in oklab, var(--pature) 18%, transparent);
}
main > section.conclusion > .wrap { display: block; }
.conclusion .closing__cta { gap: var(--s-6); }
.conclusion .close--sonde .section-head p { color: var(--ink); max-width: 46ch; }
@media (max-width: 639px) { main > section.conclusion { padding: var(--s-9) 0; } }

/* le pied de page : seulement les liens et la ligne légale, à sa hauteur naturelle */
footer.closing.footer--compact { height: auto; min-height: 0; padding: var(--s-9) 0 var(--s-7); }
footer.closing.footer--compact > .wrap { display: block; height: auto; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--s-3) var(--s-6); }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* héros dans une fenêtre basse : un écran au minimum, mais jamais moins que son titre plus la hauteur minimale de sa scène */
@media (min-width: 1024px) and (max-height: 760px) {
  main > section.hero.hero--product { height: auto; min-height: 100svh; }
}
/* un emplacement long (la durée de conservation, par exemple) passe à la ligne au lieu de sortir de l écran */
.slot { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* même poids que les règles « un écran » du kit, et placées après elles : la conclusion et les pages légales prennent la hauteur de leur contenu */
main > :is(section, .section):is(.conclusion, .legal) { min-height: 0; }
/* un emplacement reste d un seul tenant ([E-MAIL] ne se coupe pas sur son tiret) ; il ne passe à la ligne que s il est plus large que la colonne */
.slot { display: inline-block; max-width: 100%; white-space: normal; vertical-align: baseline; }

/* ================================================================ pied de page : marque, Logiciels, Ressources, Entreprise, Support */
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-8); }
.footer__brand { grid-column: span 3; display: grid; gap: var(--s-4); align-content: start; }
.footer__grid > .footer__col { grid-column: span 2; }
.footer__grid > .footer__support { grid-column: span 3; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { color: #fff; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__contact > span { display: grid; gap: 2px; }
.footer__k { font-size: 13px; color: var(--p-inv-muted); }
.footer__stores { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.store-slot { display: inline-grid; place-items: center; min-width: 148px; height: 48px; padding: 0 12px; border: 1px dashed rgba(255, 255, 255, .55); border-radius: 10px; }
.store-slot .slot { font-size: 13px; }
.footer__social .slot { font-size: 14px; }
@media (max-width: 1023px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > .footer__col, .footer__grid > .footer__support { grid-column: span 3; }
}
@media (max-width: 639px) {
  .footer__grid { row-gap: var(--s-7); }
  .footer__grid > .footer__col, .footer__grid > .footer__support { grid-column: span 6; }
  .footer__grid > .footer__support { grid-column: 1 / -1; }
}
