/* ==========================================================================
   DM-STRAT — feuille de style

   Direction : moderne mais sérieuse. Couleurs en aplats (pas de dégradé ni de
   verre flouté), coins arrondis, ombres douces, pas d'effet 3D. La section
   « 9 bis. Couche moderne » en fin de fichier pose l'allure finale.
   Une seule famille, Figtree, pour les titres comme pour le texte.

   Mouvement léger, coupé avec prefers-reduced-motion : apparition en fondu au
   défilement, compteurs, cartes qui se soulèvent au survol.

   Plan : 1. Polices et variables  2. Base  3. Composants communs  4. En-tête
   5. Accueil  6. Pages intérieures  7. Contact  8. Pied de page, bandeau cookies
   9. Téléphone  10. Impression
   ========================================================================== */

/* 1. Polices et variables ================================================== */

/* Police unique, hébergée sur le site (Figtree, licence SIL OFL) : aucun appel à un service tiers */
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Textes */
  --ink: #14212f;
  --ardoise: #16386a;        /* bleu marine : titres, liens, boutons */
  --ardoise-deep: #0f2748;
  --ardoise-soft: #4a5b70;

  /* Accents (aplats uniquement) */
  --qualite: #6f80d8;        /* volet système qualité */
  --reglementaire: #2f7cf6;  /* volet réglementaire */
  --tint: #e8f2ff;           /* bleu très pâle */
  --tint-2: #d3e6ff;
  --tint-3: #aed1ff;

  --blanc: #ffffff;
  --papier: #f3f7fd;         /* sections alternées */
  --rule: #dde6f2;           /* filets */
  --rule-strong: #b9c5d3;
  --field-border: #8a99ab;
  --error: #9b1c1c;
  --error-border: #b3261e;

  --font-display: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Échelle typographique */
  --step--1: 0.875rem;
  --step-1: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --step-3: clamp(1.55rem, 1.3rem + 1vw, 2rem);
  --step-4: clamp(1.8rem, 1.4rem + 1.7vw, 2.6rem);
  --step-5: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  --step-6: clamp(2.35rem, 1.5rem + 3.6vw, 3.75rem);

  --wrap: 75rem;
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7rem);
  --measure: 68ch;

  --radius: 14px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 56, 106, 0.06), 0 4px 14px -6px rgba(22, 56, 106, 0.12);
  --shadow: 0 2px 6px rgba(22, 56, 106, 0.06), 0 22px 44px -22px rgba(22, 56, 106, 0.3);
  --action: #1d4fb8;          /* bleu roi : boutons */
  --action-hover: #163f96;
  --azur: #2f7cf6;
  --t: 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base ================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 48em) { body { font-size: 1.0625rem; } }

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ardoise);
  text-wrap: balance;
  font-variant-numeric: lining-nums;
}
h1 { font-size: var(--step-5); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }

p { margin: 0 0 1em; text-wrap: pretty; }
main p, main li, main dd { max-width: var(--measure); }
/* Lignes de tableau et cartes : toute la largeur disponible */
main .ledger-row, main .tl-item, main .trainings li, main .plan-item, main .steps li,
main .scale li, main .situations li, main .chantier, main .prepare li { max-width: none; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }

a {
  color: var(--ardoise);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--ardoise); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--ardoise);
  color: var(--blanc);
  font-weight: 500;
}
.skip-link:focus { top: 1rem; color: var(--blanc); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: 40rem; }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 38rem;
  color: var(--ardoise-soft);
}

.h-small {
  margin: 0 0 0.75rem;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* 3. Composants communs ==================================================== */

/* Référence normative : ISO 13485:2016, (UE) 2017/745… */
.ref {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 1.25rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--blanc);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  color: var(--ardoise);
}

/* Liste à puces */
.squares { list-style: none; }
.squares > li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.3rem;
  border-top: 1px solid var(--rule);
}
.squares > li:last-child { border-bottom: 1px solid var(--rule); }
.squares > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--ardoise);
}

/* Pastilles de classe de risque */
.class-chip {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--tint);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--ardoise);
}
.class-chip--iia { background: var(--tint-2); }
.class-chip--iib { background: var(--tint-3); }
.class-chip--iii { background: var(--ardoise); border-color: var(--ardoise); color: var(--blanc); }
.class-chip--all { background: var(--blanc); border-color: var(--ardoise); }

/* Boutons : aplat bleu marine */
.btn,
.site-nav .nav-cta {
  border: 1px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--ardoise);
  color: var(--blanc);
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  font: 500 1rem/1.25 var(--font-text);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover,
.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: var(--blanc);
  background: var(--ardoise-deep);
  border-color: var(--ardoise-deep);
}
.btn[disabled] { opacity: 0.75; cursor: progress; }

.btn--light {
  border-color: var(--blanc);
  background: var(--blanc);
  color: var(--ardoise);
}
.btn--light:hover { background: var(--tint); border-color: var(--tint); color: var(--ardoise); }

.link-more {
  font-weight: 500;
  color: var(--ardoise);
  text-decoration-line: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--t), color var(--t);
}
.link-more::after { content: " \2192"; }
.link-more:hover { color: var(--ink); text-decoration-color: var(--ardoise); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
}

/* Sections */
.section { padding-block: var(--section); }
.section--papier {
  background: var(--papier);
  border-block: 1px solid var(--rule);
}
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }

.section-head {
  display: grid;
  gap: 0.25rem 4rem;
  margin-bottom: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem);
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0.75rem 0 0; max-width: 40rem; color: var(--ardoise-soft); }
@media (min-width: 60em) {
  .section-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; }
  .section-head p { margin: 0; }
}

/* Bandeau bleu marine (start-up) */
.on-dark {
  background: var(--ardoise);
  color: #e3eaf3;
}
.on-dark h2, .on-dark h3 { color: var(--blanc); }
.on-dark a:not(.btn) { color: var(--blanc); }
.on-dark a:not(.btn):hover { color: var(--tint-2); }
.on-dark :focus-visible { outline-color: var(--blanc); }

/* Appel à l'action final */
.cta-box {
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) clamp(1.25rem, 0.5rem + 4vw, 3.5rem);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--papier);
}
.cta-box h2 { max-width: 24ch; }
.cta-box p { max-width: 38rem; }
.cta-box .actions { margin-top: 1.75rem; }

/* 4. En-tête =============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blanc);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  min-height: 4.25rem;
}

/* Ordre sur téléphone : logo, FR | EN, bouton Menu, puis le menu déplié */
.brand { order: 0; display: block; flex: none; padding-block: 0.6rem; }
.brand img { width: auto; height: 2.6rem; }

/* Sélecteur de langue FR | EN */
.lang-switch {
  order: 1;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.25rem;
  padding: 0 0.65rem;
  color: var(--ardoise-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--t), color var(--t);
}
.lang-switch a + a { border-left: 1px solid var(--rule-strong); }
.lang-switch a:hover { color: var(--ink); background: var(--papier); }
.lang-switch a[aria-current="true"] { color: var(--blanc); background: var(--ardoise); }
.lang-switch a:focus-visible { outline-offset: -2px; }

/* Bouton Menu (visible seulement avec JavaScript) */
.nav-toggle { order: 2; display: none; }
.js .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--blanc);
  color: var(--ardoise);
  font: 500 0.9375rem/1 var(--font-text);
  cursor: pointer;
}
.nav-toggle-icon { position: relative; width: 1.1rem; height: 0.75rem; }
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}
.nav-toggle-icon::before { top: 0.1rem; }
.nav-toggle-icon::after { top: 0.55rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0.33rem; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0.33rem; transform: rotate(-45deg); }

/* Menu */
.site-nav { order: 3; flex-basis: 100%; padding-bottom: 0.75rem; }
.js .site-nav { display: none; }
.js .nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; }
.site-nav li + li { border-top: 1px solid var(--rule); }
.site-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t);
}
.site-nav a:hover { color: var(--ardoise); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--ardoise); font-weight: 600; }
.site-nav .nav-cta { margin-top: 0.75rem; padding: 0.75rem 1rem; text-align: center; }
.site-nav .nav-cta:hover { text-decoration: none; }

@media (min-width: 60em) {
  .header-inner { flex-wrap: nowrap; justify-content: flex-start; min-height: 5rem; }
  .brand img { height: 3.4rem; }
  .js .nav-toggle { display: none; }
  .site-nav,
  .js .site-nav { order: 1; display: block; flex-basis: auto; margin-left: auto; padding: 0; }
  .lang-switch { order: 2; margin-left: 1.5rem; }
  .site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
  .site-nav li + li { border-top: 0; }
  .site-nav a {
    position: relative;
    padding: 0.5rem 0.8rem;
    font-size: 0.975rem;
  }
  .site-nav a:hover { text-decoration: none; }
  /* Page en cours : simple filet sous le libellé */
  .site-nav > ul > li > a[aria-current="page"]:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.1rem;
    height: 2px;
    background: var(--ardoise);
  }
  .site-nav .nav-cta { margin: 0 0 0 0.75rem; padding: 0.55rem 1.2rem; }
}

/* Sous-menu « Prestations »
   Souris : survol (avec pont invisible pour descendre dans le menu).
   Clavier : ouverture au focus, Échap pour fermer. Tactile : bouton flèche.
   Téléphone : les entrées sont affichées directement sous « Prestations ». */
.nav-drop-toggle { display: none; }

.site-nav .nav-submenu {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0 0 0 0.9rem;
  border-left: 1px solid var(--rule);
}
.site-nav .nav-submenu li + li { border-top: 0; }
.site-nav .nav-submenu a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.sub-title { font-weight: 600; color: var(--ink); }
.sub-desc { font-size: 0.8125rem; font-weight: 400; color: var(--ardoise-soft); }

@media (min-width: 60em) {
  .nav-drop { position: relative; display: flex; align-items: center; }
  .nav-drop-toggle {
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: -0.5rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--ardoise);
    cursor: pointer;
  }
  .nav-drop-toggle:hover { background: var(--papier); }
  .nav-drop:hover .nav-drop-toggle svg,
  .nav-drop:focus-within .nav-drop-toggle svg,
  .nav-drop.is-open .nav-drop-toggle svg { transform: rotate(180deg); }

  /* Pont invisible entre le lien et le menu, pour ne pas le fermer en descendant */
  .nav-drop::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 1.4rem; }

  .site-nav .nav-submenu {
    position: absolute;
    z-index: 60;
    top: calc(100% + 1.25rem);
    left: -0.5rem;
    display: none;
    min-width: 22rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--rule-strong);
    border-top: 3px solid var(--ardoise);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--blanc);
  }
  .nav-drop:hover .nav-submenu,
  .nav-drop:focus-within .nav-submenu,
  .nav-drop.is-open .nav-submenu { display: block; }
  /* Échap ferme le menu même si le focus reste sur « Prestations » */
  .nav-drop.is-closed-by-key:not(.is-open) .nav-submenu { display: none; }
  .nav-drop.is-closed-by-key:not(.is-open) .nav-drop-toggle svg { transform: none; }
  .site-nav .nav-submenu a { padding: 0.8rem 1rem; }
  .site-nav .nav-submenu a:hover,
  .site-nav .nav-submenu a:focus-visible { background: var(--papier); }
  .site-nav .nav-submenu li + li { border-top: 1px solid var(--rule); }
}

/* 5. Accueil =============================================================== */

.hero {
  padding-block: clamp(2.5rem, 1.6rem + 4.5vw, 5.5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
  border-bottom: 1px solid var(--rule);
}
.hero-grid { display: grid; gap: 2.5rem; }
.hero h1 { max-width: 16ch; font-size: var(--step-6); }
.hero .lead { margin-top: 1.5rem; }
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; gap: 4rem; }
}

/* Accroche start-up, au-dessus du titre */
.hero-startup {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0 0 0 0.75rem;
  border-left: 3px solid var(--ardoise);
  font: 500 0.9375rem/1.4 var(--font-text);
  color: var(--ardoise);
  text-decoration: none;
}
.hero-startup:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Monogramme du logo, statique */
.hero-stage {
  position: relative;
  width: min(100%, 20rem);
  margin-inline: auto;
  padding-bottom: 2.5rem;
}
.hero-mark { width: 100%; height: auto; }
.hero-canvas { display: none; }
.hero-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  font: 500 0.75rem/1 var(--font-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ardoise-soft);
}
.hero-caption span { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero-caption span + span::before { content: ""; width: 1px; height: 0.8rem; background: var(--rule-strong); }

/* « En bref » : trois chiffres clés sous l'ouverture */
.plan {
  display: grid;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  list-style: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.plan-item { padding: 1.4rem 1.5rem 1.5rem; }
.plan-item + .plan-item { border-top: 1px solid var(--rule); }
@media (min-width: 40em) {
  .plan { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-item + .plan-item { border-top: 0; border-left: 1px solid var(--rule); }
}

.plan-figure {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 1.05;
  font-variant-numeric: lining-nums;
  color: var(--ardoise);
}
.plan-figure--sm { font-size: var(--step-2); line-height: 1.2; }
.plan-text { display: block; max-width: 30ch; font-size: 0.9375rem; line-height: 1.5; color: var(--ardoise-soft); }

/* Parcours (registre) */
.ledger {
  list-style: none;
  border-top: 2px solid var(--ardoise);
}
.ledger-row {
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule-strong);
}
.ledger-row p { margin: 0; }
.ledger-org { display: flex; flex-direction: column; }
.ledger-org .org { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.2; color: var(--ardoise); }
.ledger-org .org-group { font-size: 0.9375rem; color: var(--ardoise-soft); }
.ledger-role { font-weight: 500; }
.ledger-scope { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; }
.ledger-scope span:not(.class-chip) { font-size: 0.9375rem; color: var(--ardoise-soft); }
.ledger-row--now {
  padding-inline: 1rem;
  background: var(--blanc);
  border-left: 3px solid var(--ardoise);
}
@media (min-width: 48em) {
  .ledger-row { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); align-items: baseline; }
}
.ledger-foot { margin-top: 2rem; }

/* Deux volets : filet de couleur en haut du panneau */
.volets { display: grid; gap: 2rem; }
.volet {
  display: flex;
  flex-direction: column;
  padding: 2.25rem clamp(1.25rem, 0.8rem + 2vw, 2.5rem) 2rem;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--blanc);
}
.volet h3 { font-size: var(--step-3); margin-bottom: 0.5rem; }
.volet .squares { margin: 0.5rem 0 1.75rem; }
.volet .link-more { margin-top: auto; align-self: flex-start; }
.volet--qualite { border-top-color: var(--qualite); }
.volet--reglementaire { border-top-color: var(--reglementaire); }
.volet--qualite .squares > li::before { background: var(--qualite); }
.volet--reglementaire .squares > li::before { background: var(--reglementaire); }
@media (min-width: 60em) {
  .volets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: stretch; }
}

/* Start-up MedTech */
.startup-grid { display: grid; gap: 3rem; }
.startup-intro p { max-width: 36rem; }
.startup-intro .btn { margin-top: 1rem; }
.startup-note {
  margin: 1.75rem 0 2rem;
  padding: 0.9rem 1.1rem;
  max-width: 36rem;
  border-left: 3px solid var(--blanc);
  background: var(--ardoise-deep);
  color: #e3eaf3;
  font-size: 0.9375rem;
}
.startup-note strong { color: var(--blanc); }

.chantiers { list-style: none; display: grid; gap: 1px; background: rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 255, 255, 0.25); }
.chantier {
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--blanc);
  color: var(--ink);
}
.chantier h3 { margin-bottom: 0.6rem; font-size: var(--step-2); color: var(--ardoise); }
.chantier ul { list-style: none; }
.chantier li { position: relative; padding: 0.2rem 0 0.2rem 1.1rem; font-size: 0.9375rem; line-height: 1.5; }
.chantier li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.35rem; height: 0.35rem; background: var(--ardoise); }
@media (min-width: 60em) {
  .startup-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: center; }
}

/* Publics (et repères de la page À propos, même dessin) */
.audiences { display: grid; gap: 1.5rem 2rem; margin: 0; }
.audiences > div,
.facts > div {
  border-top: 2px solid var(--ardoise);
}
.audiences > div { padding: 1.1rem 0 0.5rem; }
.audiences dt { margin-bottom: 0.4rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.2; color: var(--ardoise); }
.audiences dd { margin: 0; max-width: 34rem; color: var(--ardoise-soft); }
@media (min-width: 48em) { .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; } }

/* Déclaration (s'entourer d'experts) */
.statement {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: start;
}
.statement-mark { width: 4rem; }
.statement-text {
  margin: 0;
  max-width: 46rem;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.35;
  color: var(--ardoise);
}
.statement-sub { margin: 1.25rem 0 0; max-width: 38rem; color: var(--ardoise-soft); }
@media (min-width: 48em) {
  .statement { grid-template-columns: 6rem minmax(0, 1fr); }
  .statement-mark { width: 100%; margin-top: 0.4rem; }
}

/* 6. Pages intérieures ===================================================== */
.page-head {
  padding-block: clamp(2.5rem, 1.8rem + 3.5vw, 5rem) clamp(2.5rem, 2rem + 3vw, 4rem);
  background: var(--papier);
  border-bottom: 1px solid var(--rule);
}
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 1.25rem; }

/* Pages de texte (mentions légales, confidentialité, 404, merci) */
.prose { max-width: 44rem; }
.wrap.prose { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.wrap.prose > * { max-width: 44rem; }
.prose h2 { margin-top: 2.5rem; font-size: var(--step-3); }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; }

/* FAQ réglementaire : questions dépliables, regroupées par thème */
.faq-note { margin: 1.5rem 0 0; max-width: 44rem; font-size: var(--step--1); color: var(--ardoise-soft); }
.faq { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.faq > * { max-width: 52rem; }
.faq-group h2 { margin-bottom: 1rem; font-size: var(--step-3); }
.faq-item { border-bottom: 1px solid var(--rule-strong); }
.faq-group h2 + .faq-item,
.faq-group > .faq-item:first-of-type { border-top: 2px solid var(--ardoise); }
.faq-item summary {
  position: relative;
  display: block;
  min-height: 2.75rem;
  padding: 1rem 3rem 1rem 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color var(--t);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  top: 1.65rem;
  right: 0.5rem;
  width: 0.8rem;
  height: 2px;
  background: var(--ardoise);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { display: none; }
.faq-item[open] summary,
.faq-item summary:hover { color: var(--ardoise); }
.faq-item summary:focus-visible { outline-offset: 2px; }
.faq-answer { padding: 0 0 1.25rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-sources .squares { max-width: 44rem; }

/* Prestations — détail d'un volet */
.volet-detail {
  padding-block: var(--section);
  border-top: 4px solid var(--ardoise);
  border-bottom: 1px solid var(--rule);
}
.volet-detail--qualite { border-top-color: var(--qualite); background: var(--papier); }
.volet-detail--reglementaire { border-top-color: var(--reglementaire); background: var(--blanc); }

.volet-detail-grid { display: grid; gap: 2.5rem 5rem; }
.volet-detail-main > h3 { margin-bottom: 1.25rem; }

.clients { list-style: none; margin-top: 0.25rem; }
.clients li { padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.clients li:last-child { border-bottom: 1px solid var(--rule); }
.clients strong { display: block; color: var(--ardoise); font-weight: 600; }
.clients span { font-size: 0.9375rem; color: var(--ardoise-soft); }

/* Cartes de prestations */
.service-cards { display: grid; gap: 1rem; margin: 0 0 3rem; }
.service-card {
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--qualite);
  border-radius: var(--radius);
  background: var(--blanc);
}
.volet-detail--reglementaire .service-card { border-top-color: var(--reglementaire); }
.service-card dt {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ardoise);
}
.service-card dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ardoise-soft); }
@media (min-width: 40em) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.situations { list-style: none; display: grid; gap: 0.75rem; }
.situations li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--qualite);
  border-radius: var(--radius);
  background: var(--blanc);
}
.volet-detail--reglementaire .situations li { border-left-color: var(--reglementaire); background: var(--papier); }
@media (min-width: 48em) { .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .volet-detail-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .volet-detail-aside { position: sticky; top: 7rem; align-self: start; }
}

/* Échelle des classes de risque */
.scale-grid { display: grid; gap: 2.5rem 5rem; align-items: center; }
.scale { list-style: none; display: grid; }
.scale li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  color: var(--ink);
}
.scale li + li { margin-top: 0.4rem; }
.scale-class { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; line-height: 1.2; }
.scale-desc { font-size: var(--step--1); }
.scale-i { width: 55%; background: var(--tint); }
.scale-iia { width: 70%; background: var(--tint-2); }
.scale-iib { width: 85%; background: var(--tint-3); }
.scale li.scale-iii { width: 100%; border-color: var(--ardoise); background: var(--ardoise); color: var(--blanc); }
@media (max-width: 30em) { .scale-i { width: 70%; } .scale-iia { width: 80%; } .scale-iib { width: 90%; } }
@media (min-width: 60em) { .scale-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

/* Déroulement — vraie séquence, donc numérotée */
.steps { list-style: none; display: grid; gap: 2rem 2.5rem; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 0 0;
  border-top: 2px solid var(--ardoise);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--ardoise);
}
.steps h3 { margin-bottom: 0.5rem; }
.steps p { margin: 0; color: var(--ardoise-soft); }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Financement Bpifrance */
.fin-grid { display: grid; gap: 2.5rem 5rem; }
.fin-grid .lead { margin-top: 1rem; }
.fin-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.25rem; margin-top: 2rem; }
.fin-facts {
  padding: 1.75rem clamp(1.25rem, 0.75rem + 2.5vw, 2.25rem) 2rem;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--blanc);
}
.fin-facts dl { margin: 0; }
.fin-facts dl > div + div { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.fin-facts dt { font-weight: 600; color: var(--ardoise); }
.fin-facts dd { margin: 0.2rem 0 0; }
.fin-rate {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: var(--step-6);
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--ardoise);
}
/* Jauge « 50 % », statique */
.fin-gauge {
  position: relative;
  display: block;
  max-width: 18rem;
  height: 0.5rem;
  margin: 0.5rem 0 0.75rem;
  background: var(--tint-2);
}
.fin-gauge > span {
  position: absolute;
  inset: 0 50% 0 0;
  background: var(--ardoise);
}
.fin-source { margin: 1.5rem 0 0; font-size: var(--step--1); color: var(--ardoise-soft); }
@media (min-width: 60em) { .fin-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }

/* À propos */
.about-head-grid { display: grid; gap: 3rem 5rem; align-items: center; }
@media (min-width: 60em) { .about-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

.portrait {
  margin: 0;
  max-width: 24rem;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--papier);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Photo de Mélanie (provisoire, 301 px) : cadre rond et taille limitée pour rester nette.
   Le léger agrandissement masque le liseré clair de l'image source détourée en cercle. */
.portrait.portrait--photo {
  justify-self: center;
  width: min(100%, 17rem);
  max-width: 17rem;
  margin: 0 auto;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
}
.portrait--photo img { display: block; transform: scale(1.07); }

.timeline {
  list-style: none;
  border-top: 2px solid var(--ardoise);
}
.tl-item { display: grid; gap: 0.5rem 2.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule-strong); }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.tl-period { font-weight: 600; color: var(--ardoise); font-variant-numeric: tabular-nums; }
.tl-item h3 { margin-bottom: 0.35rem; font-size: var(--step-3); }
.tl-group { display: block; margin-top: 0.15rem; font-family: var(--font-text); font-size: 0.9375rem; font-weight: 400; color: var(--ardoise-soft); letter-spacing: 0; }
.tl-roles { margin-bottom: 0.4rem; font-weight: 500; }
.tl-body p:last-child { margin-bottom: 0; }
.tl-item--now {
  padding-inline: 1rem;
  border-left: 3px solid var(--ardoise);
  background: var(--papier);
}
@media (min-width: 48em) {
  .tl-item { grid-template-columns: 13rem minmax(0, 1fr); }
  .tl-meta { flex-direction: column; align-items: flex-start; padding-top: 0.5rem; }
}

.trainings-grid { display: grid; gap: 2.5rem 4rem; }
.training-key {
  align-self: start;
  padding: 1.75rem 1.5rem 1.9rem;
  border-radius: var(--radius);
  background: var(--ardoise);
  color: var(--blanc);
}
.training-key p { margin: 0; }
.training-key .training-title { margin: 0.25rem 0 0.35rem; font-family: var(--font-display); font-size: var(--step-3); line-height: 1.2; font-variant-numeric: lining-nums; color: var(--blanc); }
.training-key .training-by { color: var(--tint-2); }
.trainings {
  list-style: none;
  display: grid;
  border-top: 2px solid var(--ardoise);
}
.trainings li { display: grid; gap: 0.1rem 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.trainings strong { color: var(--ardoise); font-weight: 600; }
@media (min-width: 48em) { .trainings li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
@media (min-width: 60em) { .trainings-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

.facts { display: grid; gap: 1.5rem 3rem; margin: 3rem 0 0; }
.facts > div { padding: 1rem 0 0.25rem; }
.facts dt { font-weight: 600; color: var(--ardoise); }
.facts dd { margin: 0.2rem 0 0; }
@media (min-width: 48em) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.brand-block { display: grid; gap: 2.5rem 5rem; align-items: center; }
.brand-block figure {
  margin: 0;
  padding: clamp(2rem, 1rem + 5vw, 3.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--blanc);
}
.brand-block figure img { width: 100%; max-width: 26rem; margin-inline: auto; }
@media (min-width: 60em) { .brand-block { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* 7. Contact =============================================================== */

/* Téléphone : introduction → formulaire → « Vous préférez écrire directement ? ».
   Ordinateur : introduction et bloc e-mail à gauche, formulaire à droite. */
.contact-grid {
  display: grid;
  grid-template-areas: "intro" "form" "card";
  gap: 2rem 4.5rem;
}
.contact-intro { grid-area: intro; }
.form-stage { grid-area: form; }
@media (min-width: 60em) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "intro form" "card form";
    grid-template-rows: auto 1fr;
    align-items: start;
  }
}

.contact-card {
  margin-top: 2.25rem;
  padding: 1.75rem clamp(1.25rem, 0.75rem + 2.5vw, 2rem) 2rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--papier);
}
.contact-grid > .contact-card { grid-area: card; margin-top: 0; }
@media (min-width: 60em) { .contact-grid > .contact-card { margin-top: 0.25rem; } }
.contact-channel + .contact-channel { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-strong); }
.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.45rem);
  line-height: 1.25;
  white-space: nowrap;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.2em;
}
.contact-email:hover { text-decoration-color: var(--ardoise); }
@media (max-width: 22em) { .contact-email { white-space: normal; overflow-wrap: anywhere; } }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1rem; }
.btn-copy {
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--blanc);
  color: var(--ardoise);
  font: 500 0.9375rem/1.2 var(--font-text);
  cursor: pointer;
  transition: background-color var(--t), color var(--t);
}
.btn-copy:hover { background: var(--ardoise); color: var(--blanc); }
.btn-copy.is-done { background: var(--tint-2); color: var(--ink); border-color: var(--tint-3); }
.btn-copy[hidden] { display: none; }
.copy-status { margin: 0; font-size: var(--step--1); color: var(--ardoise); }
.copy-status:empty { display: none; }

/* Formulaire « Comprendre votre besoin » */
.form-panel {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  border: 1px solid var(--rule-strong);
  border-top: 4px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--blanc);
}
.form-title { margin: 0 0 0.25rem; font-size: var(--step-3); }
.form-intro { margin: 0 0 1.5rem; font-size: var(--step--1); color: var(--ardoise-soft); }

.field { margin: 0 0 1.1rem; min-width: 0; }
.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 36em) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel input[type="tel"],
.form-panel select,
.form-panel textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background-color: var(--blanc);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-text);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t);
}
.form-panel input:hover,
.form-panel select:hover,
.form-panel textarea:hover { border-color: var(--ardoise); }
.form-panel textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.form-panel select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316386a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.form-panel input:focus-visible,
.form-panel select:focus-visible,
.form-panel textarea:focus-visible {
  outline: 2px solid var(--ardoise);
  outline-offset: 1px;
  border-color: var(--ardoise);
}
.form-panel [aria-invalid="true"] { border-color: var(--error-border); box-shadow: inset 0 0 0 1px var(--error-border); }

.field-help { margin: 0.35rem 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--ardoise-soft); }
.field-error { margin: 0.35rem 0 0; font-size: var(--step--1); font-weight: 500; line-height: 1.4; color: var(--error); }
.field-error:empty { display: none; }

/* Choix du type de besoin */
.field--choices { margin: 0 0 1.1rem; padding: 0; border: 0; }
.field--choices[aria-invalid="true"] { box-shadow: none; }
.field--choices[aria-invalid="true"] .choice span { border-color: var(--error-border); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--blanc);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.choice input:hover + span { border-color: var(--ardoise); background: var(--papier); }
.choice input:checked + span {
  border-color: var(--ardoise);
  background: var(--ardoise);
  color: var(--blanc);
}
.choice input:focus-visible + span { outline: 2px solid var(--ardoise); outline-offset: 2px; }

/* Pièce jointe */
.form-panel input[type="file"] {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: 1px dashed var(--field-border);
  border-radius: var(--radius);
  background: var(--papier);
  color: var(--ink);
  font: 400 0.9375rem/1.4 var(--font-text);
  cursor: pointer;
}
.form-panel input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--ardoise);
  color: var(--blanc);
  font: 500 var(--step--1)/1.2 var(--font-text);
  cursor: pointer;
}
.form-panel input[type="file"]:focus-visible { outline: 2px solid var(--ardoise); outline-offset: 2px; }

.field--check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.25rem 0.6rem; align-items: start; margin-top: 1.4rem; }
.field--check input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--ardoise); cursor: pointer; }
.field--check > label { margin: 0; font-size: 0.9375rem; font-weight: 400; line-height: 1.5; }
.field--check .field-error { grid-column: 2; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.form-status { margin: 0; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }

/* Message affiché sans JavaScript si l'envoi a échoué (/contact#envoi-impossible) */
.form-fallback { display: none; }
.form-fallback:target {
  display: block;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--error-border);
  border-radius: var(--radius);
  background: #fdf3f2;
  color: var(--error);
  font-weight: 500;
}

.form-success .success-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ardoise);
  color: var(--blanc);
}
.form-success .form-title:focus { outline: none; }
.form-success .form-title:focus-visible { outline: 2px solid var(--ardoise); outline-offset: 4px; }

/* Préparer l'échange : liste d'éléments, pas une séquence — pas de numéros */
.prepare {
  list-style: none;
  display: grid;
  border-top: 2px solid var(--ardoise);
}
.prepare li { position: relative; padding: 1rem 0 1rem 1.5rem; border-bottom: 1px solid var(--rule); }
.prepare li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 0.45rem; height: 0.45rem; background: var(--ardoise); }
.prepare strong { display: block; color: var(--ardoise); }

/* 8. Pied de page, bandeau cookies ========================================= */
.site-footer {
  padding-block: 3rem 1.75rem;
  background: var(--ardoise-deep);
  color: #c9d5e3;
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: 2rem 3rem; }
/* Logo posé sur une plaque blanche pour garder ses couleurs d'origine sur le fond sombre */
.footer-brand img {
  height: 3.5rem;
  width: auto;
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  background: var(--blanc);
}
.footer-brand p { margin: 0; max-width: 22rem; }
.footer-nav ul { list-style: none; }
.footer-nav a,
.footer-contact a { display: block; width: fit-content; padding-block: 0.3rem; color: var(--blanc); text-decoration: none; overflow-wrap: anywhere; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--blanc); text-decoration: underline; }
.footer-title { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb0c6; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #9fb0c6;
  font-size: var(--step--1);
}
.footer-legal p { margin: 0; }
.footer-legal a { color: #c9d5e3; }
.footer-legal a:hover { color: var(--blanc); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer :focus-visible { outline-color: var(--blanc); }
@media (min-width: 48em) {
  .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); }
}

/* Bandeau d'information cookies : simple information, non bloquante, affichée une fois. */
.cookie-note {
  position: fixed;
  z-index: 80;
  left: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: max(clamp(0.75rem, 2vw, 1.5rem), env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 34rem;
  padding: 0.9rem 1rem 0.9rem 1.15rem;
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--ardoise);
  border-radius: var(--radius);
  background: var(--blanc);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
}
.cookie-note[hidden] { display: none; }
.cookie-note p { flex: 1 1 16rem; margin: 0; }
.cookie-note-ok,
.cookie-note-non {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ardoise);
  border-radius: var(--radius);
  font: 500 0.875rem/1 var(--font-text);
  cursor: pointer;
  transition: background-color var(--t), color var(--t);
}
.cookie-note-ok { background: var(--ardoise); color: var(--blanc); }
.cookie-note-ok:hover { background: var(--ardoise-deep); }
.cookie-note-non { background: var(--blanc); color: var(--ardoise); }
.cookie-note-non:hover { background: var(--papier); }
.mesure-reglage { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.mesure-reglage [data-mesure-bouton][hidden] { display: none; }

/* Mouvement réduit : aucune transition */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* 9. Téléphone ============================================================= */
@media (max-width: 40em) {
  /* Bandeau cookies compact */
  .cookie-note {
    left: 0.5rem;
    right: 0.5rem;
    gap: 0.45rem 0.75rem;
    padding: 0.65rem 0.75rem 0.65rem 0.95rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .cookie-note:not([hidden]) { display: block; }
  .cookie-note p { display: inline; }
  .cookie-note-ok,
  .cookie-note-non {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin: 0.35rem 0 0 0.4rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    vertical-align: middle;
  }

  /* Cibles tactiles confortables */
  .link-more { display: inline-block; padding-block: 0.4rem; }
  .footer-legal a,
  .footer-legal-links a { display: inline-block; padding-block: 0.45rem; }

  .hero { padding-bottom: 3rem; }
  .hero .lead { font-size: 1.0625rem; }
  .hero-stage { width: min(70%, 15rem); }
  .statement { gap: 1rem; }
  .statement-mark { width: 3rem; }
  .statement-text { font-size: 1.35rem; }

  /* Prestations : les cartes forment un carrousel à faire glisser du doigt */
  .service-cards {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0.25rem var(--gutter) 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--rule-strong) transparent;
    -webkit-overflow-scrolling: touch;
  }
  .service-cards:focus-visible { outline-offset: -3px; }
  .service-card {
    flex: 0 0 min(84%, 20rem);
    scroll-snap-align: start;
  }
}

/* Menu ouvert plus haut que l'écran : il défile à l'intérieur */
@media (max-width: 60em), (hover: none) {
  .js .nav-open .site-nav {
    max-height: calc(100vh - 5.5rem);
    max-height: calc(100dvh - 5.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}


/* 9 bis. Couche moderne ==================================================== */

body { background: var(--papier); }
.section--papier { background: #e9f1fc; border-block: 0; }
.page-head { background: transparent; border-bottom: 0; }
.hero { border-bottom: 0; }

/* Boutons en pastille, bleu roi */
.btn,
.site-nav .nav-cta {
  border-color: var(--action);
  border-radius: var(--pill);
  background: var(--action);
  box-shadow: 0 10px 22px -12px rgba(29, 79, 184, 0.6);
  transition: background-color var(--t), box-shadow var(--t), transform var(--t);
}
.btn:hover,
.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--action-hover);
  border-color: var(--action-hover);
  box-shadow: 0 14px 28px -12px rgba(29, 79, 184, 0.65);
  transform: translateY(-1px);
}
.btn:active { transform: scale(0.98); }
.btn--light { background: var(--blanc); border-color: var(--blanc); color: var(--ardoise); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--tint); border-color: var(--tint); color: var(--ardoise); }
.link-more { text-decoration-color: var(--tint-3); text-decoration-thickness: 0.2em; }
.link-more:hover { text-decoration-color: var(--azur); }

/* Pastilles */
.ref, .class-chip, .lang-switch, .btn-copy, .choice span, .cookie-note-ok, .cookie-note-non,
.form-panel input[type="file"]::file-selector-button, .js .nav-toggle { border-radius: var(--pill); }
.ref { border-color: var(--tint-2); background: var(--tint); }
.ref::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.45rem; border-radius: 50%; background: var(--azur); vertical-align: 0.05em; }
.volet--qualite .ref::before, .volet-detail--qualite .ref::before { background: var(--qualite); }
.class-chip { border-color: transparent; background: var(--tint-2); color: var(--ink); }
.class-chip--iia { background: var(--tint-3); }
.class-chip--iib { background: #74b0ff; }
.class-chip--iii { background: var(--action); color: var(--blanc); }
.class-chip--all { background: var(--blanc); border-color: var(--action); color: var(--action); }
.squares > li::before, .chantier li::before, .prepare li::before { border-radius: 50%; background: var(--azur); }
.lang-switch { padding: 3px; gap: 2px; border: 0; background: var(--tint); }
.lang-switch a { border-radius: var(--pill); }
.lang-switch a + a { border-left: 0; }
.lang-switch a[aria-current="true"] { background: var(--action); }

/* En-tête flottant, blanc opaque */
.site-header {
  top: 0.75rem;
  margin: 0.75rem clamp(0.5rem, 2vw, 1.5rem) 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.site-header .wrap { padding-inline: clamp(0.9rem, 2.5vw, 1.75rem); }
@media (min-width: 60em) {
  .site-nav a { border-radius: var(--pill); transition: background-color var(--t), color var(--t); }
  .site-nav a:hover { background: var(--tint); }
  .site-nav > ul > li > a[aria-current="page"]:not(.nav-cta) { background: var(--tint); }
  .site-nav > ul > li > a[aria-current="page"]:not(.nav-cta)::after { display: none; }
  .site-nav .nav-submenu {
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 0.4rem;
    box-shadow: var(--shadow);
  }
  .site-nav .nav-submenu a { border-radius: var(--radius); }
  .site-nav .nav-submenu li + li { border-top: 0; }
}

/* Accroche start-up du hero */
.hero-startup {
  padding: 0.4rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--pill);
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
}
.hero-startup::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.55rem; border-radius: 2px; background: var(--azur); vertical-align: 0.05em; }
.hero-mark { filter: drop-shadow(0 24px 30px rgba(22, 56, 106, 0.18)); }
.hero-caption span + span::before { width: 0.35rem; height: 0.35rem; border-radius: 1px; background: #74b0ff; }

/* Chiffres clés : trois cartes colorées */
.plan { gap: 1rem; border: 0; }
.plan-item, .plan-item + .plan-item { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.plan-item--a { background: var(--tint); }
.plan-item--b { background: var(--tint-2); }
.plan-item--c { background: var(--ardoise); }
.plan-item--c .plan-figure, .plan-item--c .plan-text { color: var(--blanc); }

/* Listes en cartes blanches arrondies */
.ledger, .timeline, .trainings, .prepare {
  padding: 0.25rem clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
}
.ledger-row, .tl-item, .trainings li, .prepare li { border-bottom-color: var(--rule); }
.ledger-row:last-child, .tl-item:last-child, .trainings li:last-child, .prepare li:last-child { border-bottom: 0; }
.ledger-row--now, .tl-item--now {
  margin: 0.4rem calc(-1 * clamp(0.5rem, 1.5vw, 1rem)) 0.6rem;
  padding-inline: clamp(0.5rem, 1.5vw, 1rem);
  border-left: 0;
  border-radius: var(--radius);
  background: var(--tint);
}

/* Cartes blanches arrondies avec ombre douce */
.volet, .service-card, .fin-facts, .form-panel, .contact-card, .cta-box, .brand-block figure,
.situations li, .faq-item, .steps li, .audiences > div, .facts > div, .portrait:not(.portrait--photo) {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
}
.volet, .service-card { transition: transform var(--t), box-shadow var(--t); }
.volet { border-top: 5px solid var(--ardoise); }
.volet--qualite { border-top-color: var(--qualite); }
.volet--reglementaire { border-top-color: var(--reglementaire); }
.service-card { border-top: 4px solid var(--qualite); }
.volet-detail--reglementaire .service-card { border-top-color: var(--reglementaire); }
@media (hover: hover) {
  .volet:hover, .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}
.situations li { border-left: 4px solid var(--qualite); border-radius: var(--radius); }
.volet-detail--reglementaire .situations li { border-left-color: var(--reglementaire); background: var(--blanc); }
.fin-facts { border-top: 5px solid var(--azur); }
.form-panel { box-shadow: var(--shadow); }
.contact-card { background: var(--tint); }
.cta-box { border: 0; background: var(--tint-2); padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.audiences > div, .facts > div { padding: 1.4rem 1.5rem 1.5rem; border-top: 4px solid var(--azur); }

/* FAQ en cartes dépliables */
.faq-item + .faq-item { margin-top: 0.75rem; }
.faq-group h2 + .faq-item, .faq-group > .faq-item:first-of-type { border-top: 1px solid var(--rule); }
.faq-item summary { padding: 1.05rem 3.5rem 1.05rem 1.4rem; }
.faq-item summary::before, .faq-item summary::after { right: 1.5rem; }
.faq-answer { padding: 0 1.4rem 1.25rem; }
.faq-item[open] { box-shadow: var(--shadow-sm), inset 4px 0 0 var(--azur); }

/* Étapes numérotées dans des pastilles */
.steps li { padding: 1.5rem 1.5rem 1.6rem; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--tint-2);
  font-size: var(--step-2);
}

/* Échelle des classes en pastilles */
.scale li { border: 0; border-radius: var(--pill); box-shadow: var(--shadow-sm); }
.scale-i { background: var(--tint); }
.scale-iia { background: var(--tint-2); }
.scale-iib { background: var(--tint-3); }
.scale li.scale-iii { background: var(--action); }

/* Jauge Bpifrance : se remplit quand le bloc arrive à l'écran (main.js, data-taux) */
.fin-gauge { height: 0.6rem; border-radius: var(--pill); background: var(--tint); overflow: hidden; }
.fin-gauge > span { border-radius: inherit; background: var(--azur); }
.js [data-taux] .fin-gauge > span { clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.js [data-taux].is-counted .fin-gauge > span { clip-path: inset(0 0 0 0 round 999px); }

/* Grands panneaux arrondis : start-up, volets détaillés, pied de page */
.on-dark, .volet-detail, .site-footer {
  margin: clamp(0.75rem, 2vw, 1.25rem) clamp(0.5rem, 2vw, 1.5rem);
  border-radius: 32px;
}
.startup-note { border-left-color: #74b0ff; border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); }
.chantiers { gap: 0.9rem; background: none; border: 0; }
.chantier { border-radius: var(--radius-lg); box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.45); }
.chantier--qualite { background: #eef1fb; }
.chantier--reglementaire { background: var(--tint); }
@media (min-width: 60em) {
  .chantier--produit { margin-right: 12%; }
  .chantier--qualite { margin-inline: 6%; }
  .chantier--reglementaire { margin-left: 12%; }
}
.volet-detail { border: 1px solid var(--rule); border-top: 6px solid var(--ardoise); background: var(--blanc); box-shadow: var(--shadow-sm); }
.volet-detail--qualite { border-top-color: var(--qualite); background: #f7f8fe; }
.volet-detail--reglementaire { border-top-color: var(--reglementaire); }
.training-key { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.portrait.portrait--photo { border: 6px solid var(--blanc); box-shadow: var(--shadow); }
.form-success .success-mark { background: var(--action); }
.form-panel input[type="text"], .form-panel input[type="email"], .form-panel input[type="tel"],
.form-panel select, .form-panel textarea { border-radius: 10px; }
.choice input:checked + span { background: var(--action); border-color: var(--action); }
.cookie-note { border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cookie-note-ok { background: var(--action); border-color: var(--action); }

/* Apparition en fondu au défilement (main.js ajoute data-reveal puis is-revealed) */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    translate: 0 1.25rem;
    transition: opacity 0.7s ease var(--reveal-delay, 0s), translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s);
  }
  [data-reveal].is-revealed { opacity: 1; translate: none; }
  .plan-item { animation: bloc-monte 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .plan-item--b { animation-delay: 0.1s; }
  .plan-item--c { animation-delay: 0.2s; }
  html { scroll-behavior: smooth; }
}
@keyframes bloc-monte { from { opacity: 0; translate: 0 1rem; } to { opacity: 1; translate: none; } }
@media (max-width: 40em) {
  .service-cards .service-card[data-reveal] { opacity: 1; translate: none; }
  .on-dark, .volet-detail, .site-footer { margin-inline: 0.5rem; border-radius: var(--radius-lg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
@media print {
  [data-reveal] { opacity: 1 !important; translate: none !important; }
}


/* 9 ter. Badges, icônes, rythme ============================================ */

/* Logo de l'en-tête un peu plus grand, pour que « DM-STRAT » se lise mieux */
@media (min-width: 60em) { .brand img { height: 3.9rem; } }

/* Hero : carte de preuves (Bpifrance, Lead Auditeur, interlocutrice unique) */
.hero-proof {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  padding: 1.5rem 1.5rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--blanc);
  box-shadow: var(--shadow);
}
.proof-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.proof-mark { width: 3.25rem; height: auto; flex: none; border-radius: 10px; }
.hero-proof .hero-caption {
  position: static;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.6875rem;
}
.hero-proof .hero-caption span { gap: 0.5rem; }
.proofs { list-style: none; }
.proof {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 0;
}
.proof + .proof { border-top: 1px solid var(--rule); }
.proof-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--action);
}
.proof:first-child .proof-icon { background: var(--action); color: var(--blanc); }
.proof-icon svg { width: 1.35rem; height: 1.35rem; }
.proof-text { display: flex; flex-direction: column; line-height: 1.3; }
.proof-text strong { font-size: 0.975rem; color: var(--ardoise); }
.proof-text span { font-size: 0.8125rem; color: var(--ardoise-soft); }

/* Chiffres clés : la 3e carte liste les fabricants, en texte plus compact */
.plan-item--c .plan-figure--sm { font-size: var(--step-1); line-height: 1.3; }

/* Icônes des volets et des publics */
.volet-icon,
.aud-icon {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--tint);
  color: var(--reglementaire);
}
.volet-icon { width: 3.25rem; height: 3.25rem; margin-bottom: 1.1rem; }
.volet-icon svg { width: 1.7rem; height: 1.7rem; }
.volet--qualite .volet-icon { background: #eef1fb; color: var(--qualite); }
.aud-icon { width: 2.6rem; height: 2.6rem; margin-bottom: 0.8rem; }
.aud-icon svg { width: 1.4rem; height: 1.4rem; }

/* Rythme : la section « Pour qui » passe sur fond blanc */
.section--blanc { background: var(--blanc); }
.section--blanc .audiences > div { background: var(--papier); box-shadow: none; }

/* Déclaration : grande citation plus présente */
.statement-text { font-size: var(--step-3); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
@media (max-width: 40em) { .statement-text { font-size: 1.45rem; } }

/* Bandeau cookies plus petit et plus discret */
.cookie-note {
  max-width: 24rem;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0.85rem 0.75rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.cookie-note p { flex-basis: 100%; }
.cookie-note-ok, .cookie-note-non { min-height: 2.1rem; padding: 0.35rem 0.95rem; font-size: 0.8125rem; }
@media (max-width: 40em) {
  .cookie-note { left: 0.5rem; right: 0.5rem; max-width: none; padding: 0.55rem 0.75rem; font-size: 0.75rem; }
  .cookie-note-ok, .cookie-note-non { min-height: 1.9rem; margin-top: 0.3rem; font-size: 0.75rem; }
}


/* 9 quater. Hero photo + bulles 3D ========================================= */


:root {
  --action: #1a5ee8;
  --action-hover: #1449b8;
}

.hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  margin-top: -6.75rem;
  padding-top: calc(6.75rem + clamp(2.5rem, 1rem + 4vw, 5rem));
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  background: var(--blanc);
}
.hero--photo .hero-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr); }
.hero--photo > .wrap:not(.hero-grid) { position: relative; z-index: 1; }

/* Photo à droite, fondue dans le blanc vers le texte et vers le bas */
.hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(60%, 58rem);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to bottom, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-composite: intersect;
}
.hero-visual picture { display: contents; }
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
}
.hero-bubbles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-bubbles.is-ready { opacity: 1; }

/* Textes */
.hero--photo .hero-text { max-width: none; }
.hero--photo h1 {
  max-width: 17ch;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #0c1e35;
}
.hero--photo h1 em { font-style: normal; color: var(--action); }
.hero--photo .lead { max-width: 36rem; margin-top: 1.6rem; color: #56677c; }
.hero--photo .hero-startup {
  margin-bottom: 1.75rem;
  padding: 0.4rem 0.95rem 0.4rem 0.85rem;
  border: 0;
  background: #e5eefc;
  box-shadow: none;
  color: var(--action);
  font-size: 0.9375rem;
}
.hero--photo .hero-startup::before { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--action); }
.hero--photo .actions { gap: 1rem; margin-top: 2.25rem; }

/* Bouton contour et flèche */
.btn--outline {
  border: 1.5px solid var(--action);
  background: rgba(255, 255, 255, 0.85);
  color: var(--action);
  box-shadow: none;
}
.btn--outline:hover { background: #e5eefc; color: var(--action-hover); border-color: var(--action-hover); box-shadow: none; }
.btn-arrow { margin-left: 0.6rem; transition: transform var(--t); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Badges de confiance, en ligne sous les boutons */
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  gap: 1.25rem 0;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--blanc);
  box-shadow: var(--shadow-sm);
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: none;
  padding-right: 1.3rem;
  margin-right: 1.3rem;
  border-right: 1px solid var(--rule);
  white-space: nowrap;
}
.hero-badges li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hb-icon { flex: none; color: var(--action); }
.hb-icon svg { width: 2rem; height: 2rem; }
.hb-text { display: flex; flex-direction: column; line-height: 1.35; }
.hb-text strong { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.hb-text span { font-size: 0.8125rem; color: var(--ardoise-soft); }

/* Tablette et téléphone : la photo et les bulles passent sous le texte */
@media (max-width: 60em) {
  .hero--photo { display: flex; flex-direction: column; margin-top: -5.75rem; padding-top: calc(5.75rem + 2rem); }
  .hero--photo .hero-grid { order: 1; }
  .hero-visual {
    position: relative;
    order: 2;
    width: auto;
    height: clamp(16rem, 60vw, 26rem);
    margin: 2.25rem var(--gutter) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero--photo > .wrap:not(.hero-grid) { order: 3; }
  .hero-badges { flex-direction: column; gap: 1rem; }
  .hero-badges li { padding-right: 0; margin-right: 0; border-right: 0; white-space: normal; }
}
@media (max-width: 40em) {
  .hero--photo .actions .btn { flex: 1 1 100%; }
}

/* 10. Impression =========================================================== */
@media print {
  .site-header, .nav-toggle, .lang-switch, .btn, .btn-copy, .form-stage, .cookie-note { display: none !important; }
  .on-dark, .site-footer { background: none; color: #000; }
  .on-dark h2, .on-dark h3 { color: #000; }
}
