/* Polices de marque auto-hébergées (latin, variables) : le rendu ne dépend
   plus des polices installées sur le poste du visiteur. */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}

/* ============================================================
   ARBOLIS — Charte v2 — tokens & composants partagés
   Deux tempéraments, une identité :
   body.site-pro  → arbolis.fr (dense, autorité, fond forêt)
   body.site-consumer → particuliers.arbolis.fr (clair, chaleureux)
   Typo : serif d'autorité (Fraunces auto-hébergée en prod) /
   sans-serif de labeur (Inter auto-hébergée en prod).
   La maquette utilise des piles système équivalentes (0 requête externe).
   ============================================================ */

:root {
  /* — Couleurs fondamentales — */
  --foret-950: #101E12;
  --foret-900: #152718;
  --foret-800: #1C3320;
  --foret-700: #23422A;
  --foret-500: #33613C;
  --foret-300: #5C8A64;
  --foret-100: #DCE7DA;

  --creme:     #F7F2E8;
  --creme-2:   #EFE7D6;
  --creme-3:   #E6DCC6;

  --sable:     #C8B58F;
  --sable-vif: #D9B96B;   /* accent chaleureux Particuliers (miel) */
  --bois:      #8A5A36;
  --ecorce:    #5C3D24;

  --encre:     #1D1D19;
  --gris:      #6C685E;
  --ligne:     #DCD4C2;

  /* — Sémantiques — */
  --ok:        #2F7A46;   /* éligibilité crédit d'impôt, succès */
  --alerte:    #A64B22;   /* urgence, erreurs — jamais anxiogène en masse */
  --info:      #3E5C76;

  /* — Typo — */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero:  clamp(2.1rem, 4.5vw, 3.4rem);
  --fs-h1:    clamp(1.9rem, 3.5vw, 2.7rem);
  --fs-h2:    clamp(1.45rem, 2.5vw, 1.9rem);
  --fs-h3:    1.17rem;
  --fs-body:  1rem;
  --fs-small: .875rem;
  --fs-label: .72rem;

  /* — Rythme — */
  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 40px;
  --sp-5: 64px; --sp-6: 96px;
  --maxw: 1180px;

  /* — Forme (surchargée par site) — */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 10px 30px rgba(21, 39, 24, .10);
}

/* Tempérament Particuliers : plus rond, plus chaleureux */
body.site-consumer {
  --radius: 12px;
  --radius-lg: 20px;
  --accent: var(--sable-vif);
}
body.site-pro { --accent: var(--sable); }

/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65;
  background: var(--creme); color: var(--encre);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid var(--foret-500); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--foret-900); color: var(--creme); padding: 10px 18px;
}
.skip-link:focus { left: 0; }

h1, h2, h3, .display { font-family: var(--serif); line-height: 1.15; font-weight: 600; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-3); }
.section { padding: var(--sp-6) 0; }
.section--tight { padding: var(--sp-5) 0; }
.section--dark { background: var(--foret-900); color: var(--creme); }
.section--panel { background: var(--creme-2); }
.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ============ KICKER / LABELS ============ */
.kicker {
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bois);
  display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-2);
}
.kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.section--dark .kicker { color: var(--sable); }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: var(--fs-body); cursor: pointer; transition: .18s;
}
.btn-primary { background: var(--foret-700); color: var(--creme); }
.btn-primary:hover { background: var(--foret-900); }
.btn-accent { background: var(--accent); color: var(--foret-950); }
.btn-accent:hover { filter: brightness(1.07); }
.btn-outline { border-color: var(--foret-700); color: var(--foret-700); background: transparent; }
.btn-outline:hover { background: var(--foret-700); color: var(--creme); }
.section--dark .btn-outline, .hero--pro .btn-outline { border-color: var(--creme); color: var(--creme); }
.section--dark .btn-outline:hover, .hero--pro .btn-outline:hover { background: var(--creme); color: var(--foret-900); }
.btn-tel { background: transparent; border-color: var(--ligne); font-variant-numeric: tabular-nums; }
.hero--pro .btn-tel, .section--dark .btn-tel, .site-header .btn-tel { border-color: currentColor; }
body.site-pro .site-header .btn-tel { color: var(--creme); border-color: rgba(247, 242, 232, .5); }
body.site-pro .site-header .btn-tel:hover, .hero--pro .btn-tel:hover { background: rgba(247, 242, 232, .12); }

/* ============ BADGES ============ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-small); font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.badge-ci   { background: var(--ok); color: #fff; }        /* −50 % crédit d'impôt */
.badge-noci { background: var(--creme-3); color: var(--gris); } /* non éligible */
.badge-info { background: var(--info); color: #fff; }
.badge-new  { background: var(--sable-vif); color: var(--foret-950); }

/* ============ CARTES ============ */
.card {
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius-lg);
  padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-1);
}
a.card:hover { box-shadow: var(--shadow); }
.card .icon { width: 44px; height: 44px; color: var(--foret-500); margin-bottom: var(--sp-1); }
.card-link { font-weight: 600; color: var(--foret-700); margin-top: auto; }
.card-link::after { content: " →"; }
.card--dark { background: var(--foret-800); border-color: var(--foret-700); color: var(--creme); }
.card--dark .icon { color: var(--sable); }
.card--dark .card-link { color: var(--sable); }

/* Fiche produit (boutique bois) */
.card-produit .visuel {
  border-radius: var(--radius); height: 170px; margin-bottom: var(--sp-2);
  background: linear-gradient(135deg, var(--ecorce), var(--bois) 55%, var(--sable));
  position: relative;
}
.mention-illustration {
  position: absolute; bottom: 6px; right: 8px; font-size: .65rem;
  color: rgba(255,255,255,.85); letter-spacing: .05em; text-transform: uppercase;
}
.prix { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.prix small {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.35;
  color: var(--gris);
}
.prix-double { display: flex; gap: 14px; align-items: baseline; }
.prix-double .avant { text-decoration: line-through; color: var(--gris); font-size: 1rem; }
.prix-double .apres { color: var(--ok); }

/* ============ ÉTAPES / PROCESS ============ */
.steps { counter-reset: step; display: grid; gap: var(--sp-3); }
.step { display: flex; gap: var(--sp-2); align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--foret-100); color: var(--foret-700);
}
.section--dark .step::before { background: var(--foret-700); color: var(--sable); }

/* ============ FORMULAIRES ============ */
.form { display: grid; gap: var(--sp-2); }
.field label { display: block; font-weight: 600; font-size: var(--fs-small); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--ligne);
  border-radius: var(--radius); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--foret-500); outline: 3px solid color-mix(in srgb, var(--foret-500) 25%, transparent);
  outline-offset: 1px;
}
.field .aide { font-size: var(--fs-small); color: var(--gris); margin-top: 4px; }
.upload {
  border: 2px dashed var(--ligne); border-radius: var(--radius-lg);
  padding: var(--sp-3); text-align: center; color: var(--gris); background: #fff;
}
.upload input[type="file"] { display: block; width: 100%; max-width: 100%; }

/* ============ TABLEAUX (devis ligne à ligne) ============ */
.table-wrap { overflow-x: auto; min-width: 0; contain: inline-size; }
table.lignes { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); }
table.lignes th, table.lignes td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ligne); }
table.lignes th { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
table.lignes td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ============ FAQ / DETAILS ============ */
details.faq { border-bottom: 1px solid var(--ligne); padding: var(--sp-2) 0; }
details.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
details.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.2rem; color: var(--bois); }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin-top: var(--sp-1); color: var(--gris); }

/* ============ ALERTES / ENCARTS ============ */
.encart {
  border-left: 4px solid var(--foret-500); background: #fff;
  padding: var(--sp-2) var(--sp-3); border-radius: 0 var(--radius) var(--radius) 0;
}
.encart--ci { border-color: var(--ok); }
.encart--urgence { border-color: var(--alerte); }
.encart--info { border-color: var(--info); }

/* ============ HEADER / NAV — barre unique allégée ============ */
.site-header { background: var(--foret-900); color: var(--creme); position: sticky; top: 0; z-index: 50; }
/* L'entête utilise un container élargi : nav complète + « Espace client » +
   numéro + CTA ne tiennent pas confortablement dans --maxw (~1180 px). */
.site-header .container { max-width: 1320px; width: min(100%, 1320px); }
body.site-consumer .site-header { background: var(--creme); color: var(--encre); border-bottom: 1px solid var(--ligne); }
.nav-inner { display: flex; align-items: center; gap: clamp(var(--sp-2), 1.5vw, 16px); padding: 14px 0; flex-wrap: nowrap; }
.nav-inner .brand, .nav-inner .switch-public, .nav-inner .nav-actions { flex: 0 0 auto; }
.nav-inner .nav-links { flex: 0 1 auto; min-width: 0; }
.site-header .btn-accent { padding: 11px 15px; font-size: .9rem; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; }
.brand .logo-mark { width: auto; height: 40px; }
.brand small { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; align-self: flex-end; margin-bottom: 4px; }
.nav-links { display: flex; gap: clamp(11px, 1.2vw, 15px); font-weight: 500; font-size: .9rem; margin-right: auto; }
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-drawer-extra { display: none; }
.nav-actions { display: flex; gap: clamp(10px, 1vw, 14px); align-items: center; font-size: .9rem; }
.menu-toggle {
  display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid currentColor; border-radius: var(--radius); color: inherit; background: transparent;
  font: 600 var(--fs-small)/1 var(--sans); cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.ico-inline { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: 0 0 auto; }
.btn-tel { white-space: nowrap; }

/* Sélecteur d'audience : présent sans prendre le dessus sur la navigation */
.switch-public {
  display: inline-flex; align-items: center; padding: 2px; border-radius: 8px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-size: .78rem; white-space: nowrap;
}
.switch-public a { padding: 5px 9px; border-radius: 6px; color: inherit; opacity: .72; font-weight: 600; }
/* Libellés longs (« Professionnels ») masqués en permanence : le container est
   plafonné à --maxw, la version longue ne tient à aucune largeur d'écran. */
.switch-public .ext { display: none; }
.switch-public a:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; }
.switch-public a.actif {
  background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; opacity: 1; cursor: default;
}
body.site-consumer .switch-public { background: #fff; }
body.site-consumer .switch-public a:hover,
body.site-consumer .switch-public a.actif { background: var(--foret-100); color: var(--encre); }
.site-header .nav-links a, .site-header .btn { white-space: nowrap; }

/* Téléphone : simple lien, pas un bouton */
.tel-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .95;
}
.tel-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Menu « Espaces » : déroulant discret sans JS */
.nav-espaces { position: relative; }
.nav-espaces summary {
  list-style: none; cursor: pointer; font-weight: 500; font-size: var(--fs-small);
  display: inline-flex; align-items: center; gap: 6px; opacity: .9; min-height: 44px;
}
.nav-espaces summary::-webkit-details-marker { display: none; }
.nav-espaces summary::after { content: "▾"; font-size: .7em; transition: transform .15s; }
.nav-espaces[open] summary::after { transform: rotate(180deg); }
.nav-espaces summary:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-espaces-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 90; min-width: 230px;
  display: grid; padding: 8px; background: #fff; color: var(--encre);
  border: 1px solid var(--ligne); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.nav-espaces-panel a { padding: 10px 12px; border-radius: var(--radius); font-size: var(--fs-small); font-weight: 500; }
.nav-espaces-panel a:hover { background: var(--foret-100); }
.nav-espaces-panel a:last-child { border-top: 1px solid var(--ligne); margin-top: 4px; padding-top: 12px; color: var(--gris); }

/* Numéro affiché en toutes lettres dans l'entête desktop ; l'icône téléphone
   est masquée à ce niveau pour tenir dans --maxw avec « Espace client ». */
.nav-actions .tel-link .ico-inline { display: none; }
/* Bande 1201–1360 px : le viewport limite le container élargi, on resserre. */
@media (max-width: 1360px) and (min-width: 1201px) {
  .nav-links { font-size: .875rem; gap: 10px; }
  .nav-actions { font-size: .875rem; gap: 9px; }
  .site-header .btn-accent { padding: 10px 12px; }
}
/* Bascule en tiroir dès 1200 px : en dessous, le container (--maxw ≈ 1180 px)
   n'offre plus la marge nécessaire et liens + actions entrent en collision.
   Sous ce seuil, le numéro repasse en icône seule (aria-label conservé). */
@media (max-width: 1200px) {
  .nav-actions .tel-link .ico-inline { display: block; }
  .nav-actions .tel-link span { display: none; }
  .site-header { top: 0; }
  .nav-inner { position: relative; padding: 10px 0; min-height: 64px; justify-content: space-between; }
  .menu-toggle { display: inline-flex; order: 3; }
  .nav-links {
    display: none; position: absolute; z-index: 80; top: 100%; left: 0; right: 0;
    padding: 8px; background: var(--foret-900); border: 1px solid var(--foret-700);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow);
  }
  body.site-consumer .nav-links { background: #fff; border-color: var(--ligne); }
  .nav-links.is-open { display: grid; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; border: 0; border-radius: var(--radius); }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--foret-800); }
  body.site-consumer .nav-links a:hover, body.site-consumer .nav-links a[aria-current="page"] { background: var(--foret-100); }
  /* espaces + bascule de site dans le tiroir mobile */
  .nav-drawer-extra { display: grid; border-top: 1px solid var(--foret-700); margin-top: 6px; padding-top: 6px; }
  body.site-consumer .nav-drawer-extra { border-color: var(--ligne); }
  .nav-drawer-extra a { opacity: .85; }
  .nav-drawer-extra .audience-mobile { font-weight: 700; opacity: 1; color: var(--sable-vif); }
  body.site-consumer .nav-drawer-extra .audience-mobile { color: var(--foret-700); }
}
@media (max-width: 960px) {
  .nav-actions { display: none; }
}
/* Le sélecteur d'audience reste visible à toutes les largeurs : un particulier
   doit voir immédiatement qu'un site lui est dédié (exigence explicite). */
/* Sous 440 px, marque + sélecteur + libellé « Menu » ne tiennent plus (le
   libellé se césure en deux lignes, constat à 390 px) : icône seule. */
@media (max-width: 440px) {
  .menu-toggle span { display: none; }
  .menu-toggle { gap: 0; }
}

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero--pro { background: linear-gradient(160deg, var(--foret-950), var(--foret-800) 70%, var(--foret-700)); color: var(--creme); }
.hero--consumer { background: linear-gradient(160deg, var(--creme), var(--creme-2) 60%, var(--foret-100)); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-4); align-items: center; padding: var(--sp-6) 0; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { font-size: var(--fs-hero); margin: var(--sp-2) 0; }
.hero .sous-titre { font-size: 1.12rem; max-width: 34em; opacity: .92; }
.hero-actions { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); flex-wrap: wrap; }
.hero-reassurance {
  margin-top: var(--sp-2); max-width: 38em; font-size: var(--fs-small);
  color: color-mix(in srgb, currentColor 78%, transparent);
}
.hero-visuel { border-radius: var(--radius-lg); min-height: 320px; position: relative; }

/* ============ FOOTER ============ */
.site-footer { background: var(--foret-950); color: var(--creme-3); padding: var(--sp-5) 0 var(--sp-3); font-size: var(--fs-small); }
.site-footer h4 { font-family: var(--sans); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .14em; color: var(--sable); margin-bottom: var(--sp-2); }
.site-footer a:hover { color: var(--sable); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--sp-4); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--foret-800); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-legal { display: flex; justify-content: space-between; gap: var(--sp-2); padding-top: var(--sp-3); flex-wrap: wrap; color: var(--gris); }

/* ============ DIVERS ============ */
.breadcrumbs { font-size: var(--fs-small); color: var(--gris); padding: var(--sp-2) 0; }
.breadcrumbs a:hover { color: var(--foret-700); }
.stat { font-family: var(--serif); font-size: 2rem; color: var(--foret-700); }
.section--dark .stat { color: var(--sable); }
.note-maquette {
  background: var(--info); color: #fff; text-align: center;
  font-size: var(--fs-small); padding: 6px 12px;
}
.prototype-only { display: none !important; }
.show-prototype .prototype-only { display: block !important; }

/* ============ WORKFLOWS INTERACTIFS DE MAQUETTE ============ */
.workflow-dialog {
  width: min(720px, calc(100vw - 24px)); max-height: min(820px, calc(100dvh - 24px));
  padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--encre);
  background: #fff; box-shadow: 0 28px 90px rgba(10, 25, 13, .35);
}
.workflow-dialog::backdrop { background: rgba(11, 27, 15, .72); backdrop-filter: blur(3px); }
.workflow-shell { display: grid; grid-template-rows: auto auto minmax(180px, 1fr) auto; max-height: inherit; }
.workflow-shell > header, .workflow-shell > footer {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3); border-bottom: 1px solid var(--ligne);
}
.workflow-shell > header h2 { font-size: var(--fs-h3); }
.workflow-shell > footer { border: 0; border-top: 1px solid var(--ligne); }
.workflow-close {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--creme-2);
  color: var(--foret-900); font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.workflow-progress {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none;
  margin: 0; padding: 14px var(--sp-3); background: var(--creme-2); border-bottom: 1px solid var(--ligne);
}
.workflow-progress li { display: flex; align-items: center; gap: 7px; color: var(--gris); font-size: .75rem; min-width: 0; }
.workflow-progress li span {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px;
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--ligne); font-weight: 700;
}
.workflow-progress li[aria-current="step"] { color: var(--foret-800); font-weight: 700; }
.workflow-progress li[aria-current="step"] span { color: #fff; background: var(--foret-700); border-color: var(--foret-700); }
.workflow-progress li.fait span { color: #fff; background: var(--ok); border-color: var(--ok); }
.workflow-content { padding: var(--sp-4); overflow-y: auto; }
.workflow-content > h3 { margin-bottom: var(--sp-2); }
.workflow-recap, .document-preview {
  padding: var(--sp-3); border: 1px solid var(--ligne); border-radius: var(--radius);
  background: var(--creme-2);
}
.document-preview dl { display: grid; grid-template-columns: 110px 1fr; margin-top: var(--sp-2); font-size: var(--fs-small); }
.document-preview dt, .document-preview dd { padding: 7px 0; border-bottom: 1px solid var(--ligne); }
.document-preview dt { color: var(--gris); }
.check-line { display: flex; align-items: flex-start; gap: 10px; margin-top: var(--sp-2); }
.check-line input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.workflow-success { text-align: center; max-width: 480px; margin: auto; padding: var(--sp-3); }
.workflow-success > span {
  display: inline-flex; width: 58px; height: 58px; border-radius: 50%; align-items: center;
  justify-content: center; color: #fff; background: var(--ok); font-size: 1.8rem; margin-bottom: var(--sp-2);
}
.workflow-upload {
  display: grid; place-items: center; min-height: 150px; padding: var(--sp-3);
  border: 2px dashed var(--foret-300); border-radius: var(--radius-lg); background: var(--foret-100);
  font-weight: 700; cursor: pointer;
}
.workflow-upload input { margin-top: 10px; max-width: 100%; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot-grid label { position: relative; }
.slot-grid input { position: absolute; opacity: 0; }
.slot-grid span {
  display: block; height: 100%; padding: 14px; border: 2px solid var(--ligne);
  border-radius: var(--radius); background: #fff; cursor: pointer;
}
.slot-grid input:checked + span { border-color: var(--foret-700); background: var(--foret-100); }
.workflow-complete { position: relative; }
.workflow-complete::after { content: " ✓"; }

/* ============ ILLUSTRATIONS ============ */
.ill { width: 100%; height: auto; display: block; }
.ill--cover { height: 100%; object-fit: cover; }
.ill-frame {
  margin: 0; background: var(--creme-2); border: 1px solid var(--ligne);
  border-radius: var(--radius-lg); padding: var(--sp-3); position: relative; overflow: hidden;
}
.ill-frame figcaption { position: absolute; bottom: 8px; right: 12px; font-size: .65rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--gris); }
.ill-frame--sombre { background: var(--foret-800); border-color: var(--foret-700); }
.ill-frame--sombre figcaption { color: rgba(247,242,232,.55); }
.hero .ill-hero { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-photo, .photo-editoriale, .photo-produit {
  margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); background: var(--foret-900);
}
.hero-photo { aspect-ratio: 16 / 10; min-height: 360px; }
.hero-photo img, .photo-editoriale img, .photo-produit img, .visuel--photo img {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.photo-editoriale { aspect-ratio: 3 / 2; }
.photo-produit { aspect-ratio: 4 / 3; }
.visuel--photo { padding: 0 !important; }

/* ============ TON HUMAIN / ÉDITORIAL ============ */
.lead-human { max-width: 42em; margin-top: var(--sp-2); color: var(--gris); font-size: 1.06rem; }
.warm-card-grid { align-items: stretch; }
.warm-card {
  position: relative; overflow: hidden; padding-top: var(--sp-4);
  background: color-mix(in srgb, #fff 88%, var(--creme-2));
}
.warm-card::after {
  content: ""; position: absolute; width: 150px; height: 150px; right: -82px; bottom: -88px;
  border-radius: 48% 52% 62% 38%; background: color-mix(in srgb, var(--foret-100) 70%, transparent);
  transform: rotate(-16deg); pointer-events: none;
}
.warm-card-number {
  position: absolute; top: 14px; right: 18px; color: var(--bois);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
}
.warm-card p { color: var(--gris); }
.warm-card .badge { align-self: flex-start; margin-bottom: 3px; }
.warm-card-visuel {
  margin: calc(var(--sp-4) * -1) calc(var(--sp-3) * -1) var(--sp-2);
  overflow: hidden; line-height: 0; position: relative; z-index: 1;
}
.warm-card-visuel .ill { width: 100%; height: auto; }

/* ============ VISUELS PHOTO (remplacent les illustrations) ============ */
.ill--photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); }
.warm-card-visuel .ill--photo { border-radius: 0; aspect-ratio: 21 / 10; }
.ill-frame:has(.ill--photo) { padding: 0; background: none; border: none; }
.ill-frame .ill--photo { aspect-ratio: 4 / 3; }
.card-produit .visuel .ill--photo,
.galerie .ill--photo { height: 100%; border-radius: inherit; aspect-ratio: auto; }
.card-produit .visuel:has(.ill--photo) { overflow: hidden; }
.galerie:has(.ill--photo) { overflow: hidden; min-height: 0; }
/* Une galerie avec ratio imposé ne doit pas cumuler le min-height de .galerie :
   sur mobile, min-height 340px + aspect-ratio 4/3 forcent une largeur de 453px
   qui fait déborder la colonne (scroll horizontal constaté sur produit-buches). */
.galerie.photo-produit { min-height: 0; }
.warm-card--garden { background: #f4f1df; }
.warm-card--wood { background: #f4e9dc; }
.human-list { margin-top: var(--sp-3); }
.human-list li { padding-block: 12px; }
.conversation-card {
  position: relative; padding: clamp(28px, 5vw, 54px); border-radius: 42% 16px 38% 18px / 18px 38% 18px 42%;
  background: var(--foret-700); color: var(--creme); box-shadow: var(--shadow);
}
.conversation-card::before {
  content: "“"; position: absolute; top: 4px; right: 28px; color: var(--sable);
  font-family: var(--serif); font-size: 5rem; line-height: 1; opacity: .45;
}
.conversation-card__eyebrow {
  color: var(--sable-vif); font-size: var(--fs-small); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.conversation-card h3 { max-width: 18em; margin: 8px 0 14px; font-size: clamp(1.4rem, 3vw, 2rem); }
.conversation-card p { max-width: 34em; color: color-mix(in srgb, var(--creme) 85%, transparent); }
.conversation-card__phone {
  display: inline-block; margin-top: var(--sp-3); color: var(--sable-vif);
  font-family: var(--serif); font-size: clamp(1.55rem, 4vw, 2.25rem); font-weight: 600;
}
.conversation-card__note { margin-top: 8px; font-size: var(--fs-small); }
.conversation-card--pro { background: var(--foret-800); }
.editorial-label {
  color: var(--bois); font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.editorial-grid .card p:not(.editorial-label) { color: var(--gris); }

@media (max-width: 620px) {
  .conversation-card { border-radius: 28px 12px 28px 12px; }
  .warm-card { padding-top: var(--sp-4); }
}

/* ============ BARRE CTA PERSISTANTE (mobile) ============ */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 10px;
  padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(247, 242, 232, .96); backdrop-filter: blur(6px);
  border-top: 1px solid var(--ligne); box-shadow: 0 -8px 24px rgba(21,39,24,.12);
}
.cta-bar .btn { flex: 1; padding: 9px 8px; font-size: var(--fs-small); min-height: 40px; }
.cta-bar .btn .ico-inline { width: 15px; height: 15px; }
@media (max-width: 960px) {
  .cta-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-bar .btn {
    width: 100%;
    min-width: 0;
  }
  /* réserve la hauteur réelle de la barre (~60px + safe area) pour que la fin du footer reste lisible */
  body:not(.layout-app) { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body:not(.layout-app) .site-footer { scroll-margin-bottom: 90px; }
}

/* ============ FORMULAIRES « GRANDE ENTREPRISE » ============ */
.stepper { display: flex; gap: 0; margin-bottom: var(--sp-4); counter-reset: st; list-style: none; padding: 0; }
.stepper li { flex: 1; text-align: center; position: relative; counter-increment: st;
  font-size: var(--fs-small); font-weight: 600; color: var(--gris); padding-top: 44px; }
.stepper li::before { content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--creme-2); border: 2px solid var(--ligne); font-family: var(--serif); }
.stepper li::after { content: ""; position: absolute; top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px);
  height: 2px; background: var(--ligne); }
.stepper li:last-child::after { display: none; }
.stepper li[aria-current="step"] { color: var(--foret-700); }
.stepper li[aria-current="step"]::before { background: var(--foret-700); border-color: var(--foret-700); color: var(--creme); }
.stepper li.fait::before { background: var(--ok); border-color: var(--ok); color: #fff; content: "✓"; }
.stepper li.fait::after { background: var(--ok); }

.form-carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; }
.form-carte .form-entete { padding: var(--sp-3); border-bottom: 1px solid var(--ligne); background: var(--creme-2); }
.form-carte .form-bloc { padding: var(--sp-3); display: grid; gap: var(--sp-2); }
.form-carte .form-pied { padding: var(--sp-3); border-top: 1px solid var(--ligne);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
legend.form-titre, .form-titre { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; }
.form-navigation { display: flex; gap: 8px; }
[hidden] { display: none !important; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice .choice-carte { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 14px 10px; border: 2px solid var(--ligne); border-radius: var(--radius-lg);
  background: #fff; font-size: var(--fs-small); font-weight: 600; transition: .15s; height: 100%; }
.choice .choice-carte svg { width: 30px; height: 30px; color: var(--foret-500); }
.choice input:checked + .choice-carte { border-color: var(--foret-700); background: var(--foret-100); }
.choice input:focus-visible + .choice-carte { outline: 3px solid var(--foret-500); outline-offset: 2px; }
.choice small { font-weight: 400; color: var(--gris); }

.upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.upload-grid .vignette { aspect-ratio: 1; border-radius: var(--radius); position: relative;
  background: linear-gradient(140deg, var(--foret-100), var(--creme-3)); border: 1px solid var(--ligne); }
.upload-grid .vignette .ok-scan { position: absolute; bottom: 4px; right: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.upload-grid .ajout { aspect-ratio: 1; border: 2px dashed var(--ligne); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--gris); font-size: var(--fs-small); background: #fff; cursor: pointer; }
.upload-control { position: relative; }
.upload-control input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }

.field.field--erreur input, .field.field--erreur textarea { border-color: var(--alerte); }
.field .msg-erreur { color: var(--alerte); font-size: var(--fs-small); margin-top: 4px; display: flex; gap: 6px; }
.field .compteur { float: right; color: var(--gris); font-weight: 400; }

.trust-panel { display: grid; gap: var(--sp-2); }
.trust-panel .trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-panel .trust-item svg { width: 26px; height: 26px; color: var(--ok); flex-shrink: 0; }
.rappel-tel { background: var(--foret-900); color: var(--creme); border-radius: var(--radius-lg);
  padding: var(--sp-3); text-align: center; }
.rappel-tel .num { font-family: var(--serif); font-size: 1.6rem; display: block; margin: 8px 0; }

/* ============ APP-SHELL PORTAILS ============ */
body.layout-app { background: var(--creme); }
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.app-aside { background: var(--foret-950); color: var(--creme-3); padding: var(--sp-3) var(--sp-2);
  display: flex; flex-direction: column; gap: var(--sp-2); position: sticky; top: 0; height: 100vh; }
.app-aside .brand { color: var(--creme); padding: 0 10px; }
.app-portail-nom { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .16em;
  color: var(--sable); padding: 0 10px; }
.app-nav { display: grid; gap: 2px; }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius);
  font-size: var(--fs-small); font-weight: 500; color: var(--creme-3); }
.app-nav a svg { width: 20px; height: 20px; flex-shrink: 0; opacity: .8; }
.app-nav a:hover { background: var(--foret-800); color: var(--creme); }
.app-nav a[aria-current="page"] { background: var(--foret-700); color: #fff; box-shadow: inset 3px 0 0 var(--sable); }
.app-nav .pill { margin-left: auto; background: var(--sable-vif); color: var(--foret-950); font-size: .68rem;
  font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.app-aside-pied { margin-top: auto; border-top: 1px solid var(--foret-800); padding-top: var(--sp-2); display: grid; gap: 2px; }
.app-aside-pied a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: var(--radius);
  font-size: var(--fs-small); color: var(--creme-3); }
.app-aside-pied a svg { width: 18px; height: 18px; }
.app-aside-pied a:hover { background: var(--foret-800); }
.app-corps { display: flex; flex-direction: column; min-width: 0; }
.app-topbar { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2);
  padding: 14px var(--sp-4); background: #fff; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 30; }
.topbar-site { color: var(--gris); font-size: var(--fs-small); }
.user-chip { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: 1.25; }
.user-chip .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--foret-700); color: var(--creme);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.05rem; }
.user-chip small { color: var(--gris); }
.btn-mini { padding: 7px 14px; font-size: var(--fs-small); }
.app-main { padding: var(--sp-4); display: grid; gap: var(--sp-3); align-content: start; }
.app-main h1 { font-size: var(--fs-h2); }
.app-pied { padding: var(--sp-2) var(--sp-4); border-top: 1px solid var(--ligne); color: var(--gris);
  font-size: .78rem; margin-top: auto; }
.app-pied a { text-decoration: underline; }
@media (max-width: 960px) {
  .app { display: block; }
  .app, .app-aside, .app-corps, .app-nav { min-width: 0; width: 100%; max-width: 100vw; }
  .app-aside { position: static; height: auto; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .app-aside .brand { padding: 0; }
  .app-portail-nom { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .app-nav {
    display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin;
    padding-bottom: 4px; gap: 4px; scroll-snap-type: x proximity;
  }
  .app-nav a { flex: 0 0 auto; min-height: 44px; scroll-snap-align: start; white-space: nowrap; padding: 9px 11px; }
  .app-aside-pied { display: none; }
  .app-topbar { position: static; padding: 10px 12px; }
  .app-topbar > div:first-child, .user-chip > span:nth-child(2) { display: none; }
  .user-chip { margin-left: auto; }
  .user-chip .btn { padding: 8px 10px; min-height: 40px; }
  .app-main { padding: 20px 12px; min-width: 0; width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); }
  .app-main > * { min-width: 0; max-width: 100%; }
  .app-pied { padding: 14px 12px; }
  .table-wrap { width: 100%; max-width: 100%; margin-inline: 0; padding-inline: 0; }
  table.lignes { min-width: 620px; }
  .form-layout { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 620px) {
  .note-maquette { font-size: .68rem; line-height: 1.25; }
  .brand { font-size: 1.12rem; }
  .brand .logo-mark { width: auto; height: 32px; }
  .hero-inner { padding: var(--sp-4) 0; }
  .hero-visuel { min-height: 220px; }
  .hero-photo { min-height: 250px; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .stepper li { font-size: .7rem; padding-top: 39px; }
  .stepper li::before { width: 30px; height: 30px; }
  .stepper li::after { top: 14px; }
  .form-carte .form-pied { align-items: stretch; }
  .form-navigation { width: 100%; }
  .form-navigation .btn, .form-pied > .btn { flex: 1; min-width: 0 !important; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr) !important; }
  :where(.grid, .steps, .card, form, fieldset) > * { min-width: 0; }
  :where(h1, h2, h3, p, li, a, strong) { overflow-wrap: anywhere; }
  .workflow-dialog { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .workflow-shell > header, .workflow-shell > footer, .workflow-content { padding: 16px; }
  .workflow-progress { padding: 10px 16px; }
  .workflow-progress li { font-size: 0; }
  .workflow-progress li span { font-size: .75rem; }
  .slot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sable-vif);
  outline-offset: 3px;
}

/* Composants portail */
.kpi { background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius-lg); padding: var(--sp-2) var(--sp-3); }
.kpi .kpi-val { font-family: var(--serif); font-size: 1.9rem; color: var(--foret-700); }
.kpi .kpi-libelle { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .12em; color: var(--gris); }
.kpi .kpi-note { font-size: var(--fs-small); color: var(--gris); }
.kpi--accent { border-left: 4px solid var(--ok); }
.statut { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-small); font-weight: 600; }
.statut::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.statut--ok { color: var(--ok); }
.statut--attente { color: #B58A2E; }
.statut--action { color: var(--info); }
.statut--alerte { color: var(--alerte); }
.timeline { display: grid; gap: 0; }
.timeline .jalon { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: var(--sp-2); position: relative; }
.timeline .jalon::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ligne);
  margin-top: 5px; justify-self: center; z-index: 1; }
.timeline .jalon::after { content: ""; position: absolute; left: 10px; top: 16px; bottom: -4px; width: 2px; background: var(--ligne); }
.timeline .jalon:last-child::after { display: none; }
.timeline .jalon.fait::before { background: var(--ok); }
.timeline .jalon.actif::before { background: var(--info); box-shadow: 0 0 0 4px color-mix(in srgb, var(--info) 25%, transparent); }
.timeline small { color: var(--gris); display: block; }

/* ============================================================
   Passe de refonte mobile-first — 31/07/2026
   Direction : marque plus immédiate, preuve opérationnelle,
   parcours courts, pas de promesses chiffrées non validées.
   ============================================================ */

:root {
  --foret-950: #0F1B17;
  --foret-900: #162721;
  --foret-800: #21382F;
  --foret-700: #285640;
  --foret-500: #3E7A55;
  --foret-300: #7EA38A;
  --foret-100: #DCE9DF;
  --creme: #F6F4EE;
  --creme-2: #ECEFE6;
  --creme-3: #DDE4D8;
  --sable: #BDA45F;
  --sable-vif: #DBB54C;
  --bois: #7B6040;
  --ecorce: #4F4638;
  --encre: #151A17;
  --gris: #5D6660;
  --ligne: #D2D9CF;
  --info: #365D71;
  --ok: #30734B;
  --alerte: #9B4C2E;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 12px 34px rgba(15, 27, 23, .12);
  --fs-hero: 2.55rem;
  --fs-h1: 2.1rem;
  --fs-h2: 1.55rem;
  --fs-h3: 1.08rem;
  --fs-body: 1rem;
  --fs-small: .88rem;
  --fs-label: .74rem;
  --sp-5: 56px;
  --sp-6: 72px;
  --maxw: 1200px;
}

@media (min-width: 980px) {
  :root {
    --fs-hero: 4.2rem;
    --fs-h1: 3rem;
    --fs-h2: 2.15rem;
    --fs-h3: 1.22rem;
    --sp-5: 76px;
    --sp-6: 104px;
  }
}

html { background: var(--creme); }
body {
  overflow-x: clip;
  background:
    linear-gradient(#F6F4EE, #F6F4EE) padding-box;
  color: var(--encre);
  letter-spacing: 0;
}

h1, h2, h3, .display { letter-spacing: 0; }
p { max-width: 68ch; }
.container { width: min(100%, var(--maxw)); padding-inline: 16px; }
.section { padding-block: 44px; }
.section--tight { padding-block: 32px; }
.section--panel { background: #E9EDE2; }
.section--dark { background: var(--foret-950); }

@media (min-width: 760px) {
  .container { padding-inline: 24px; }
  .section { padding-block: var(--sp-5); }
  .section--tight { padding-block: var(--sp-4); }
}

.grid,
.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.topbar {
  background: #0B1512;
  color: rgba(246, 244, 238, .82);
  border-bottom: 1px solid rgba(246, 244, 238, .08);
}
.topbar .container {
  gap: 16px;
  min-height: 34px;
  align-items: center;
}
.topbar-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.topbar-switch a { text-decoration: underline; text-underline-offset: 3px; }
.topbar-switch--pro {
  align-items: center;
}
.topbar-switch--pro .topbar-audience {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(246, 244, 238, .34);
  color: rgba(246, 244, 238, .9);
  font-weight: 700;
  text-decoration: none;
}
.topbar-switch--pro .topbar-audience:hover {
  background: rgba(246, 244, 238, .12);
  border-color: rgba(246, 244, 238, .58);
  color: #fff;
}
.topbar-switch--consumer {
  gap: 12px;
}

.site-header {
  background: rgba(15, 27, 23, .98);
  color: var(--creme);
  border-bottom: 1px solid rgba(246, 244, 238, .12);
}
body.site-consumer .site-header {
  background: rgba(246, 244, 238, .98);
  color: var(--encre);
  border-bottom-color: var(--ligne);
}
.nav-inner {
  min-height: 62px;
  padding-block: 10px;
}
.brand {
  min-width: 0;
  font-size: 1.18rem;
  gap: 9px;
}
.brand span { min-width: 0; }
.brand small {
  display: block;
  align-self: auto;
  margin: 0;
  letter-spacing: .08em;
}
.brand .logo-mark { height: 34px; }
.nav-links { gap: clamp(11px, 1.2vw, 14px); }
.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-bottom-width: 1px;
}
.nav-cta .btn { min-height: 42px; padding: 10px 14px; }

@media (max-width: 960px) {
  .topbar .container {
    justify-content: flex-start;
    min-height: 30px;
    font-size: .78rem;
  }
  .topbar-switch { justify-content: flex-start; }
  .site-pro .topbar .container { padding-block: 5px; }
  .topbar-switch--pro .topbar-secondary { display: none; }
  .topbar-switch--pro .topbar-audience {
    min-height: 24px;
    padding: 2px 7px;
  }
  .nav-inner { gap: 10px; }
  .menu-toggle {
    margin-left: auto;
    padding-inline: 10px;
    border-radius: 6px;
  }
  .nav-links {
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    padding: 10px;
    border-radius: 8px;
  }
  .nav-links a {
    min-height: 46px;
    padding: 10px 12px;
  }
}

.btn {
  min-height: 44px;
  border-radius: 6px;
  padding: 11px 16px;
  line-height: 1.2;
  text-align: center;
}
.btn-primary {
  background: var(--foret-700);
  color: #fff;
}
.btn-primary:hover { background: var(--foret-900); }
.btn-accent {
  background: var(--sable-vif);
  color: #10130F;
}
.btn-outline {
  background: transparent;
  border-color: currentColor;
}
.btn-tel { background: transparent; }

.kicker {
  gap: 10px;
  margin-bottom: 12px;
  color: var(--bois);
  letter-spacing: .12em;
}
.kicker::before {
  width: 24px;
  height: 1px;
}
.section--dark .kicker,
.hero .kicker { color: var(--sable-vif); }

.hero {
  min-height: min(640px, calc(100dvh - 96px));
  display: grid;
  align-items: end;
  isolation: isolate;
  background: var(--foret-950);
}
.hero--consumer { background: var(--ecorce); }
.hero--pro { background: var(--foret-950); color: var(--creme); }
.hero--image .hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: var(--foret-950);
}
.hero--image .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 27, 23, .36), rgba(15, 27, 23, .82)),
    linear-gradient(90deg, rgba(15, 27, 23, .88), rgba(15, 27, 23, .32) 64%, rgba(15, 27, 23, .18));
}
.hero--consumer.hero--image .hero-photo::after {
  background:
    linear-gradient(180deg, rgba(17, 24, 19, .28), rgba(17, 24, 19, .74)),
    linear-gradient(90deg, rgba(17, 24, 19, .78), rgba(17, 24, 19, .28) 64%, rgba(17, 24, 19, .12));
}
.hero-photo img { filter: saturate(.9) contrast(1.02); }
.hero-inner {
  display: block;
  padding-block: 92px 52px;
}
.hero-copy {
  max-width: 690px;
  color: #fff;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: var(--fs-hero);
  line-height: .98;
}
.hero .sous-titre {
  max-width: 42em;
  font-size: 1.05rem;
  opacity: .94;
}
.hero-actions {
  gap: 10px;
  margin-top: 24px;
}
.hero-actions .btn { min-width: 160px; }
.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .92);
  background: rgba(15, 27, 23, .16);
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}
.hero-reassurance { color: rgba(255, 255, 255, .78); }

@media (min-width: 980px) {
  .hero { min-height: min(700px, calc(100dvh - 110px)); }
  .hero-inner { padding-block: 130px 72px; }
  .hero .sous-titre { font-size: 1.16rem; }
}

.proof-strip {
  margin-top: 0;
  background: #121F1A;
  color: var(--creme);
  border-top: 1px solid rgba(255,255,255,.08);
}
.proof-strip--consumer {
  background: #F6F4EE;
  color: var(--encre);
  border-top-color: var(--ligne);
  border-bottom: 1px solid var(--ligne);
}
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  padding-inline: 0;
}
.proof-grid > div {
  padding: 16px;
  background: rgba(255,255,255,.05);
  min-width: 0;
}
.proof-strip--consumer .proof-grid > div { background: #fff; }
.proof-grid strong { display: block; font-size: .96rem; }
.proof-grid span {
  display: block;
  margin-top: 4px;
  color: rgba(246, 244, 238, .72);
  font-size: var(--fs-small);
}
.proof-strip--consumer .proof-grid span { color: var(--gris); }

@media (min-width: 760px) {
  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: 24px;
  }
}

.split-intro {
  display: grid;
  gap: 16px;
  align-items: end;
  margin-bottom: 26px;
}
.split-intro .lead-human {
  margin: 0;
  max-width: 54em;
}
@media (min-width: 900px) {
  .split-intro { grid-template-columns: .86fr 1.14fr; margin-bottom: 34px; }
}

.lead-human {
  color: var(--gris);
  font-size: 1rem;
}
.card,
.kpi,
.form-carte,
.encart,
.simulateur,
.workflow-recap,
.document-preview,
.rappel-tel {
  border-radius: 8px;
  box-shadow: none;
}
.card {
  border-color: var(--ligne);
  padding: 20px;
}
a.card:hover,
.need-card:hover,
.persona-row:hover,
.service-list a:hover {
  border-color: var(--foret-500);
  box-shadow: 0 10px 28px rgba(15, 27, 23, .10);
}
.card .icon {
  width: 34px;
  height: 34px;
}
.card-link { color: var(--foret-700); }
.section--dark .card-link,
.card--dark .card-link { color: var(--sable-vif); }

.card-service {
  gap: 0;
  overflow: hidden;
  padding: 0;
}
.card-service .card-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--creme-3);
}
.card-service .card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.card-service__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--sp-1);
  padding: 18px;
}
.card-service .badge { align-self: flex-start; }

.warm-card::after,
.conversation-card::before { display: none; }
.warm-card,
.warm-card--garden,
.warm-card--wood {
  background: #fff;
}
.warm-card-visuel .ill--photo {
  aspect-ratio: 16 / 9;
}
.warm-card-number {
  top: 12px;
  right: 16px;
  color: var(--foret-500);
}
.conversation-card {
  border-radius: 8px;
  background: var(--foret-800);
  padding: 24px;
}
.conversation-card h3,
.conversation-card__phone {
  font-size: 1.45rem;
}

.persona-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ligne);
}
.persona-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ligne);
  align-items: start;
}
.persona-row span {
  grid-row: span 2;
  color: var(--bois);
  font-family: var(--serif);
  font-weight: 700;
}
.persona-row strong {
  font-size: 1.02rem;
}
.persona-row p {
  grid-column: 2;
  margin: 0;
  color: var(--gris);
  font-size: var(--fs-small);
}
@media (min-width: 880px) {
  .persona-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
}

.service-board,
.need-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.service-board article,
.need-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 8px;
  min-width: 0;
}
.service-board article > img,
.service-thumb,
.need-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--creme-3);
}
.service-board article > img,
.service-thumb img,
.need-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-board article > div:not(.service-thumb),
.need-card {
  padding: 18px;
}
.need-card {
  align-content: start;
  padding: 0;
}
.need-card > span,
.need-card h3,
.need-card p { margin-inline: 18px; }
.need-card > span {
  margin-top: 18px;
  color: var(--bois);
  font-family: var(--serif);
  font-weight: 700;
}
.need-card p {
  margin-bottom: 18px;
  color: var(--gris);
  font-size: var(--fs-small);
}
@media (min-width: 860px) {
  .service-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* 4 entrées de besoin côté Particuliers : 2×2 en tablette, 4 colonnes en desktop. */
@media (min-width: 660px) {
  .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .need-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.zip-check-note { margin-top: 8px; font-size: var(--fs-small); color: var(--gris); max-width: 46ch; }

.process-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--ligne);
}
.process-rail > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--ligne);
}
.process-rail span {
  display: block;
  margin-bottom: 8px;
  color: var(--bois);
  font-family: var(--serif);
  font-weight: 700;
}
.process-rail p {
  margin-top: 4px;
  color: var(--gris);
  font-size: var(--fs-small);
}
.process-rail--light {
  border-color: rgba(246, 244, 238, .2);
}
.process-rail--light > div { border-bottom-color: rgba(246, 244, 238, .2); }
.process-rail--light p { color: rgba(246, 244, 238, .74); }
.process-rail--light span { color: var(--sable-vif); }
@media (min-width: 900px) {
  .process-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 1px solid var(--ligne);
  }
  .process-rail > div {
    min-height: 178px;
    padding: 22px;
    border-right: 1px solid var(--ligne);
  }
  .process-rail--light { border-left-color: rgba(246, 244, 238, .2); }
  .process-rail--light > div { border-right-color: rgba(246, 244, 238, .2); }
}

.document-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
@media (min-width: 760px) {
  .document-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.page-cta {
  margin-top: 24px;
}
.cta-panel {
  display: grid;
  gap: 20px;
  align-items: center;
}
.cta-panel p { color: var(--gris); margin-top: 10px; }
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 860px) {
  .cta-panel { grid-template-columns: 1fr auto; }
  .cta-panel__actions { justify-content: flex-end; }
}

.service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--ligne);
}
.service-list a {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ligne);
}
.service-list span {
  color: var(--gris);
  font-size: var(--fs-small);
}
@media (min-width: 760px) {
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }
}

.commerce-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
@media (min-width: 860px) {
  .commerce-split { grid-template-columns: 1fr .9fr; }
}
.zip-check {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  max-width: 520px;
}
.zip-check label {
  font-weight: 700;
  font-size: var(--fs-small);
}
.zip-check > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.zip-check input {
  min-height: 46px;
  border: 1px solid var(--ligne);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}
@media (min-width: 520px) {
  .zip-check > div { grid-template-columns: minmax(0, 1fr) auto; }
}

.badge {
  border-radius: 6px;
  padding: 5px 9px;
}
.badge-ci { background: #D9E6D9; color: #1E5B38; }
.badge-noci { background: #E7E2D6; color: #5E5548; }
.badge-new { background: #F0D36F; color: #19170E; }
.badge-info { background: #D8E5EA; color: #244E5F; }

.form-carte {
  border-color: var(--ligne);
}
.form-carte .form-entete,
.form-carte .form-pied {
  background: #F7F8F3;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stepper li {
  padding-top: 36px;
  font-size: .74rem;
}
.stepper li::before {
  width: 28px;
  height: 28px;
}
.stepper li::after { top: 13px; }
.choice-grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 560px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .choice-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
.choice .choice-carte {
  border-radius: 8px;
  min-height: 106px;
}

.photo-editoriale,
.photo-produit,
.hero-photo {
  border-radius: 8px;
}
.ill-frame {
  border-radius: 8px;
  padding: 0;
}
.ill-frame figcaption { display: none; }
.ill--photo,
.ill-frame .ill--photo {
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-produit .visuel,
.galerie,
.univers--arbres,
.univers--jardin,
.univers--bois,
.upload-grid .vignette {
  background: var(--creme-3);
}

.site-footer {
  padding-bottom: 30px;
}
.footer-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.footer-legal {
  color: rgba(246, 244, 238, .62);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

.cta-bar {
  background: rgba(246, 244, 238, .98);
  backdrop-filter: none;
  gap: 8px;
}
.cta-bar .btn {
  min-height: 44px;
}

.app {
  background: #EEF1E8;
}
.app-aside {
  background: #101B17;
}
.app-nav a,
.app-aside-pied a {
  border-radius: 6px;
}
.app-topbar {
  background: #FBFAF6;
}
.kpi {
  border-top: 3px solid var(--foret-300);
}
.kpi .kpi-val {
  font-size: 1.65rem;
}

@media (max-width: 620px) {
  .brand { font-size: 1.02rem; }
  .brand .logo-mark { height: 31px; }
  .hero { min-height: 430px; }
  .hero-inner { padding-block: 50px 30px; }
  .hero-copy {
    width: 100%;
    max-width: 360px;
  }
  .hero h1 {
    max-width: 10.5em;
    font-size: 2.16rem;
    line-height: 1.04;
    text-wrap: balance;
  }
  .site-pro .hero h1 {
    max-width: 11em;
    font-size: 1.98rem;
  }
  .hero .sous-titre {
    max-width: 34ch;
    font-size: 1rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-actions .btn { min-width: 0; }
  .cta-bar .btn { min-width: 0; }
  .proof-grid > div { padding: 10px 16px; }
  .proof-grid span { font-size: .8rem; line-height: 1.35; }
  .card { padding: 18px; }
  .form-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  .app-main { padding: 16px; }
  :where(h1, h2, h3, p, li, a, strong, small, button) {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .hero-copy { max-width: 328px; }
  .hero h1 { font-size: 2rem; }
  .site-pro .hero h1 { font-size: 1.84rem; }
}

/* ============ QA très petits écrans (constats headless 02-03/08/2026) ============ */
/* ≤380 px : marque compacte — le sous-titre « Particuliers » disparaît de la
   marque, l'audience reste affichée par le sélecteur Pro | Particuliers. */
@media (max-width: 380px) {
  .brand small { display: none; }
  .brand { font-size: 1.05rem; gap: 7px; }
  .brand .logo-mark { height: 30px; }
}
/* ≤340 px (320 de référence) : il manque encore ~35 px, on resserre tout. */
@media (max-width: 340px) {
  .switch-public { font-size: .72rem; }
  .switch-public a { padding: 4px 7px; }
  .menu-toggle { padding-inline: 8px; min-width: 40px; }
  .nav-inner { gap: 8px; }
  .container { padding-inline: 12px; }
}

/* ============ Mise en scène des pages éditoriales ============ */
/* Ces composants expriment des natures d'information différentes. Ils évitent
   de rabattre systématiquement une méthode, un arbitrage et un livrable sur la
   même grille de cartes. */
.content-hero {
  position: relative;
  overflow: clip;
  padding-block: 30px 42px;
}
.content-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.content-hero__copy { min-width: 0; }
.content-hero__copy > p:last-child { margin-bottom: 0; }
.content-hero__media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--creme-3);
}
.content-hero__media img,
.content-hero__media .ill--photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}
.content-hero__media figcaption { display: none; }

.content-hero--overlay {
  min-height: clamp(500px, 62vw, 690px);
  display: grid;
  align-items: end;
  padding-block: 0;
  color: #fff;
  background: var(--foret-950);
}
.content-hero--overlay .content-hero__media {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.content-hero--overlay .content-hero__media img,
.content-hero--overlay .content-hero__media .ill--photo {
  aspect-ratio: auto;
  filter: saturate(.84) contrast(1.04);
}
.content-hero--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 16, .08) 10%, rgba(10, 20, 16, .86) 92%),
    linear-gradient(90deg, rgba(10, 20, 16, .76), rgba(10, 20, 16, .08) 80%);
}
.content-hero--overlay .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.content-hero--overlay .content-hero__copy {
  max-width: 760px;
  padding-block: 140px 48px;
}
.content-hero--overlay .kicker { color: var(--sable-vif); }
.content-hero--overlay .lead-human,
.content-hero--overlay .content-hero__copy > p { color: rgba(255, 255, 255, .88) !important; }
.content-hero--overlay .hero-alert {
  max-width: 46em;
  margin-top: var(--sp-3);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-left: 4px solid var(--alerte);
  border-radius: 7px;
  color: rgba(255, 255, 255, .92);
  background: rgba(8, 20, 15, .74);
  backdrop-filter: blur(4px);
}
.content-hero--overlay .hero-alert strong { color: #fff; }

.content-hero--band { padding-bottom: 18px; }
.content-hero--band .content-hero__grid { display: flex; flex-direction: column; }
.content-hero--band .content-hero__media { order: 1; }
.content-hero--band .content-hero__copy { order: 2; }
.content-hero--band .content-hero__media {
  aspect-ratio: 16 / 8;
  border-radius: 8px;
}
.content-hero--band .content-hero__media img,
.content-hero--band .content-hero__media .ill--photo { aspect-ratio: auto; }
.content-hero--band .content-hero__copy {
  position: relative;
  z-index: 1;
  width: calc(100% - 24px);
  margin: -58px auto 0;
  padding: 24px;
  background: rgba(246, 244, 238, .98);
  border: 1px solid var(--ligne);
  border-radius: 8px;
}

@media (min-width: 860px) {
  .content-hero { padding-block: 48px 64px; }
  .content-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 52px; }
  .content-hero--reverse .content-hero__copy { order: 2; }
  .content-hero--reverse .content-hero__media { order: 1; }
  .content-hero--band { padding-top: 34px; }
  .content-hero--band .content-hero__media { aspect-ratio: 21 / 8; }
  .content-hero--band .content-hero__copy {
    width: min(760px, calc(100% - 120px));
    margin: -86px 0 0 56px;
    padding: 34px 38px;
  }
}

.info-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--foret-100);
  color: var(--foret-700);
}
.info-icon svg { width: 22px; height: 22px; }
.section--dark .info-icon,
.field-sheet .info-icon {
  background: rgba(255, 255, 255, .1);
  color: var(--sable-vif);
}

.icon-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--ligne);
}
.icon-ledger__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--ligne);
}
.icon-ledger__item .info-icon { grid-row: span 2; }
.icon-ledger__item h3,
.icon-ledger__item strong { align-self: end; }
.icon-ledger__item p {
  grid-column: 2;
  margin: 0;
  color: var(--gris);
  font-size: var(--fs-small);
}
@media (min-width: 780px) {
  .icon-ledger--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
}
.visual-story__media {
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--creme-3);
}
.visual-story__media img,
.visual-story__media .ill--photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 0;
}
.visual-story__panel {
  position: relative;
  padding: 24px 0 0;
}
@media (min-width: 900px) {
  .visual-story { grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); }
  .visual-story__media { min-height: 520px; }
  .visual-story__media img,
  .visual-story__media .ill--photo { min-height: 520px; aspect-ratio: auto; }
  .visual-story__panel {
    z-index: 1;
    margin-left: -72px;
    padding: 38px;
    background: #fff;
    border: 1px solid var(--ligne);
    border-radius: 8px;
  }
  .visual-story--reverse { grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr); }
  .visual-story--reverse .visual-story__media { order: 2; }
  .visual-story--reverse .visual-story__panel { order: 1; margin: 0 -72px 0 0; }
}

.decision-spectrum {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
}
.decision-spectrum > article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 15px;
  align-content: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--ligne);
}
.decision-spectrum > article:last-child { border-bottom: 0; }
.decision-spectrum .info-icon { grid-row: span 2; }
.decision-spectrum p { grid-column: 2; color: var(--gris); font-size: var(--fs-small); }
@media (min-width: 800px) {
  .decision-spectrum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .decision-spectrum > article {
    display: flex;
    min-height: 238px;
    flex-direction: column;
    padding: 28px;
    border-right: 1px solid var(--ligne);
    border-bottom: 0;
  }
  .decision-spectrum > article:first-child { padding-left: 0; }
  .decision-spectrum > article:last-child { padding-right: 0; border-right: 0; }
  .decision-spectrum p { margin-top: 6px; }
}

.field-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  color: var(--creme);
  background: var(--foret-950);
  border-radius: 8px;
}
.field-sheet__media { min-height: 280px; overflow: hidden; }
.field-sheet__media img,
.field-sheet__media .ill--photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(.8) contrast(1.04);
}
.field-sheet__notes {
  counter-reset: note;
  padding: 24px;
}
.field-sheet__notes > div {
  position: relative;
  padding: 17px 0 17px 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  counter-increment: note;
}
.field-sheet__notes > div:last-child { border-bottom: 0; }
.field-sheet__notes > div::before {
  content: counter(note, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--sable-vif);
  font-family: var(--serif);
  font-weight: 700;
}
.field-sheet__notes p { margin-top: 4px; color: rgba(246, 244, 238, .72); font-size: var(--fs-small); }
@media (min-width: 880px) {
  .field-sheet { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); }
  .field-sheet__media,
  .field-sheet__media img,
  .field-sheet__media .ill--photo { min-height: 560px; aspect-ratio: auto; }
  .field-sheet__notes { display: grid; align-content: center; padding: 40px; }
}

.process-rail--visual .info-icon { margin-bottom: 16px; }
.process-rail--visual > div { position: relative; }
@media (min-width: 900px) {
  .process-rail--visual > div:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 25px;
    right: -10px;
    z-index: 1;
    width: 20px;
    color: var(--bois);
    background: var(--creme);
    text-align: center;
  }
  .section--panel .process-rail--visual > div:not(:last-child)::after { background: #E9EDE2; }
  .section--dark .process-rail--visual > div:not(:last-child)::after {
    color: var(--sable-vif);
    background: var(--foret-950);
  }
}

.data-board {
  overflow: hidden;
  border: 1px solid var(--ligne);
  border-radius: 8px;
  background: #fff;
}
.data-board__head,
.data-board__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ligne);
}
.data-board__head {
  color: var(--creme);
  background: var(--foret-800);
  font-size: var(--fs-small);
  font-weight: 700;
}
.data-board__row:last-child { border-bottom: 0; }
.data-board__row > span { color: var(--bois); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.data-board__row p { color: var(--gris); font-size: var(--fs-small); }
@media (min-width: 700px) {
  .data-board__row { grid-template-columns: 150px minmax(0, 1fr); align-items: center; }
  .data-board__head { grid-template-columns: 150px minmax(0, 1fr); }
}

.document-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
.document-stack__visual {
  position: relative;
  min-height: 330px;
  padding: 30px 24px 0 0;
}
.document-sheet {
  position: relative;
  z-index: 2;
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--ligne);
  border-top: 5px solid var(--foret-500);
  border-radius: 6px;
  background: #fff;
  box-shadow: 16px 18px 0 var(--creme-3);
}
.document-sheet::before {
  content: "";
  display: block;
  width: 56px;
  height: 8px;
  margin-bottom: 22px;
  background: var(--sable-vif);
}
.document-sheet p { color: var(--gris); font-size: var(--fs-small); }
.document-sheet ul { margin-top: 14px; }
.document-sheet li { padding: 7px 0; border-bottom: 1px dashed var(--ligne); font-size: var(--fs-small); }
@media (min-width: 860px) {
  .document-stack { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
}

.comparison-lanes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--ligne);
}
.comparison-lanes > article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 22px 0 22px 18px;
  border-bottom: 1px solid var(--ligne);
  border-left: 3px solid var(--foret-300);
}
.comparison-lanes > article:nth-child(2) { border-left-color: var(--sable); }
.comparison-lanes > article:nth-child(3) { border-left-color: var(--bois); }
.comparison-lanes > article > span:first-child {
  grid-row: 1 / span 2;
  color: var(--bois);
  font-family: var(--serif);
  font-weight: 800;
}
.comparison-lanes .info-icon { grid-row: span 2; }
.comparison-lanes p { grid-column: 2; color: var(--gris); font-size: var(--fs-small); }
@media (min-width: 820px) {
  .comparison-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comparison-lanes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-lanes > article { display: flex; flex-direction: column; min-height: 230px; border-bottom: 0; border-right: 1px solid var(--ligne); padding: 26px; }
  .comparison-lanes > article:last-child { border-right: 0; }
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.photo-mosaic figure {
  min-height: 150px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--creme-3);
}
.photo-mosaic img,
.photo-mosaic .ill--photo { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.photo-mosaic figure:first-child { grid-column: 1 / -1; min-height: 230px; }
@media (min-width: 820px) {
  .photo-mosaic { grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; }
  .photo-mosaic figure:first-child { grid-column: auto; grid-row: 1 / span 2; min-height: 480px; }
  .photo-mosaic figure:not(:first-child) { min-height: 235px; }
}

.quote-pull {
  position: relative;
  padding: 26px 26px 26px 72px;
  border-block: 1px solid var(--ligne);
  color: var(--foret-800);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  line-height: 1.35;
}
.quote-pull::before {
  content: "“";
  position: absolute;
  left: 12px;
  top: 4px;
  color: var(--sable);
  font-size: 4.5rem;
  line-height: 1;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .decision-spectrum > article,
  .comparison-lanes > article,
  .icon-ledger__item,
  .visual-story__media img,
  .photo-mosaic img { transition: transform .22s ease, filter .22s ease, background-color .22s ease; }
  .decision-spectrum > article:hover,
  .comparison-lanes > article:hover { background: rgba(220, 233, 223, .34); }
  .icon-ledger__item:hover { transform: translateX(5px); }
  .visual-story:hover .visual-story__media img,
  .photo-mosaic figure:hover img { transform: scale(1.018); }
}
