@charset "UTF-8";
/* Holista v2 : Liquid Glass sur matière (céramique blanche, aluminium, bois).
   Feuille unique, aucune ressource tierce, mobile d'abord. Les surfaces de verre (.verre) flottent au-dessus
   d'une couche de matière ; elles n'existent que là où il y a quelque chose à voir à travers (bois, contenu
   qui défile). Jamais de verre sur verre. Thème clair et thème sombre par jetons. */

/* Geist Sans et Geist Mono (Vercel, SIL OFL 1.1, voir fonts/LICENCE-POLICES.txt) : sous-ensembles latin + latin étendu,
   police variable réduite à l'axe wght 400-700, servis depuis ce serveur. */
@font-face {
  font-family: "Geist";
  src: url("fonts/geist-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
}
/* font-display: optional : la police préchargée est utilisée si elle arrive avant le premier rendu (cas courant, et toujours
   à partir de la seconde visite) ; sinon la page garde la police de secours ci-dessous, sans jamais recomposer le texte
   (sur un réseau lent, « swap » décalait la mise en page des pages juridiques de 0,1 au-delà du seuil admis).
   Police locale aux métriques alignées sur Geist (chasse moyenne mesurée sur un texte français, ascendante 1005 et
   descendante 295 pour 1000). */
@font-face {
  font-family: "Geist-secours";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"), local("Segoe UI"), local("Roboto"), local("DejaVu Sans");
  size-adjust: 104.1%;
  ascent-override: 96.5%;
  descent-override: 28.3%;
  line-gap-override: 0%;
}

/* ----- jetons : thème clair ----- */
:root {
  color-scheme: light;
  /* Neutres et accent repris des échelles Radix Colors (MIT, assets/tiers/radix-colors/) : sand pour la céramique et
     l'aluminium, bronze pour les libellés posés sur le bois, sky pour l'unique accent. */
  --fond: #f6f5f2;          /* céramique blanc chaud (entre sand 2 et sand 3) */
  --fond-2: #e9e8e6;        /* aluminium clair : panneaux, bande « sur mesure » (sand 4) */
  --fond-3: #17181c;        /* graphite : section Headfull */
  --fond-4: #202127;
  --encre: #21201c;         /* sand 12 */
  --encre-2: #5c5c57;       /* texte secondaire : sand 11 (#63635e) assombri d'un cran ; 4,5:1 mesuré sur pixels rendus avec le verre à 78 % */
  --encre-3: #5c5c57;
  --bois-encre: #43302b;    /* micro-libellés sur le verre posé sur le bois (bronze 12) */
  --filet: rgba(33, 32, 28, 0.12);
  --filet-fort: rgba(33, 32, 28, 0.3);
  --grille: rgba(33, 32, 28, 0.055);
  --brossage: rgba(255, 255, 255, 0.22);
  --accent: #00749e;        /* bleu glacé, un seul accent (sky 11, 4,8:1 sur la céramique) : filets, pastilles, icônes, jamais en aplat */
  --accent-texte: #00678c;  /* sky 11 assombri d'un cran : 4,5:1 garanti sur le verre voilé de bois et sur l'étiquette A COMPLETER */
  --accent-doux: rgba(0, 116, 158, 0.13);
  --focus: #00678c;

  /* verre des panneaux posés sur la matière : 78 % de blanc (62 % en bas), plancher mesuré à 4,9:1 pour le texte
     secondaire sur le bois, de 320 à 1920 px ; verre dense pour ce qui flotte au-dessus du contenu qui défile (pilule) */
  --verre: rgba(255, 255, 255, 0.78);
  --verre-2: rgba(255, 255, 255, 0.62);
  --verre-dense: rgba(255, 255, 255, 0.92);
  --verre-opaque: #f3f1ec;
  --verre-bord: rgba(255, 255, 255, 0.85);
  --verre-bord-2: rgba(27, 28, 32, 0.08);
  --biseau: rgba(27, 28, 32, 0.1);
  --lisere: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3) 30%, rgba(27, 28, 32, 0.1) 62%, rgba(255, 255, 255, 0.75));
  --reflet-couleur: rgba(255, 255, 255, 0.62);
  --balayage-couleur: rgba(255, 255, 255, 0.3);
  --ombre: 0 1px 2px rgba(20, 22, 28, 0.05), 0 24px 56px -28px rgba(20, 22, 28, 0.38);
  --lumiere: rgba(255, 255, 255, 0.6);

  --bouton-fond: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  --bouton-bord: rgba(27, 28, 32, 0.12);
  --bouton-plein-fond: linear-gradient(180deg, #2c2d33, #17181c);
  --bouton-plein-texte: #f6f5f2;
  --bouton-plein-bord: #17181c;

  --bois: url("img/bois-chene.webp");
  --bois-sombre: url("img/bois-noyer.webp");
  --plaque-haut: rgba(255, 255, 255, 0.5);
  --plaque-bas: rgba(60, 40, 20, 0.28);
  --plaque-lumiere: rgba(255, 255, 255, 0.45);
  --plaque-vignette: rgba(40, 25, 10, 0.16);

  --sans: "Geist", "Geist-secours", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;

  --r-ext: 28px;
  --r-int: 12px;
  --gouttiere: 16px;
  --largeur: 1180px;
  --mesure: 62ch;
  --ressort: cubic-bezier(0.2, 0.9, 0.3, 1.12);
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- jetons : thème sombre (graphite, noyer, aluminium sombre, même accent) ----- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --fond: #111110;          /* sand 1 (sombre) */
    --fond-2: #222221;        /* sand 3 */
    --fond-3: #0e0f12;
    --fond-4: #1a1b20;
    --encre: #eeeeec;         /* sand 12 */
    --encre-2: #c9c7c1;       /* sand 11 (#b5b3ad) éclairci d'un cran : 4,5:1 mesuré sur le verre sombre sous le reflet du pointeur */
    --encre-3: #c9c7c1;
    --bois-encre: #e3c9bd;    /* bronze 11 (sombre) éclairci d'un cran, même raison */
    --filet: rgba(255, 255, 255, 0.12);
    --filet-fort: rgba(255, 255, 255, 0.3);
    --grille: rgba(255, 255, 255, 0.045);
    --brossage: rgba(255, 255, 255, 0.03);
    --accent: #75c7f0;        /* sky 11 (sombre) */
    --accent-texte: #75c7f0;
    --accent-doux: rgba(117, 199, 240, 0.16);
    --focus: #75c7f0;
    --verre: rgba(49, 49, 46, 0.64);
    --verre-2: rgba(30, 30, 28, 0.52);
    --verre-dense: rgba(34, 34, 33, 0.9);
    --verre-opaque: #222221;
    --verre-bord: rgba(255, 255, 255, 0.22);
    --verre-bord-2: rgba(255, 255, 255, 0.06);
    --biseau: rgba(0, 0, 0, 0.35);
    --lisere: linear-gradient(140deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 30%, rgba(0, 0, 0, 0.25) 62%, rgba(255, 255, 255, 0.26));
    --reflet-couleur: rgba(255, 255, 255, 0.05);
    --balayage-couleur: rgba(255, 255, 255, 0.04);
    --ombre: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 60px -30px rgba(0, 0, 0, 0.85);
    --lumiere: rgba(255, 255, 255, 0.08);
    --bouton-fond: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
    --bouton-bord: rgba(255, 255, 255, 0.16);
    --bouton-plein-fond: linear-gradient(180deg, #f6f5f2, #dad9d4);
    --bouton-plein-texte: #17181c;
    --bouton-plein-bord: #f6f5f2;
    --bois: url("img/bois-noyer.webp");
    --plaque-haut: rgba(255, 255, 255, 0.16);
    --plaque-bas: rgba(0, 0, 0, 0.5);
    --plaque-lumiere: rgba(255, 255, 255, 0.13);
    --plaque-vignette: rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --fond: #111110;
  --fond-2: #222221;
  --fond-3: #0e0f12;
  --fond-4: #1a1b20;
  --encre: #eeeeec;
  --encre-2: #c9c7c1;
  --encre-3: #c9c7c1;
  --bois-encre: #e3c9bd;
  --filet: rgba(255, 255, 255, 0.12);
  --filet-fort: rgba(255, 255, 255, 0.3);
  --grille: rgba(255, 255, 255, 0.045);
  --brossage: rgba(255, 255, 255, 0.03);
  --accent: #75c7f0;
  --accent-texte: #75c7f0;
  --accent-doux: rgba(117, 199, 240, 0.16);
  --focus: #75c7f0;
  --verre: rgba(49, 49, 46, 0.64);
  --verre-2: rgba(30, 30, 28, 0.52);
  --verre-dense: rgba(34, 34, 33, 0.9);
  --verre-opaque: #222221;
  --verre-bord: rgba(255, 255, 255, 0.22);
  --verre-bord-2: rgba(255, 255, 255, 0.06);
  --biseau: rgba(0, 0, 0, 0.35);
  --lisere: linear-gradient(140deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 30%, rgba(0, 0, 0, 0.25) 62%, rgba(255, 255, 255, 0.26));
  --reflet-couleur: rgba(255, 255, 255, 0.05);
  --balayage-couleur: rgba(255, 255, 255, 0.04);
  --ombre: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  --lumiere: rgba(255, 255, 255, 0.08);
  --bouton-fond: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
  --bouton-bord: rgba(255, 255, 255, 0.16);
  --bouton-plein-fond: linear-gradient(180deg, #f6f5f2, #dad9d4);
  --bouton-plein-texte: #17181c;
  --bouton-plein-bord: #f6f5f2;
  --bois: url("img/bois-noyer.webp");
  --plaque-haut: rgba(255, 255, 255, 0.16);
  --plaque-bas: rgba(0, 0, 0, 0.5);
  --plaque-lumiere: rgba(255, 255, 255, 0.13);
  --plaque-vignette: rgba(0, 0, 0, 0.35);
}

/* ----- base ----- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  /* tant que le bandeau de consentement est affiché, site.js pose sa hauteur dans --bandeau-h : le focus clavier et
     les ancres ne passent jamais sous lui, et le bas de page reste atteignable */
  scroll-padding-bottom: var(--bandeau-h, 0px);
  background: var(--fond);
}
body {
  margin: 0;
  padding-bottom: var(--bandeau-h, 0px);
  background: var(--fond);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 3.2vw + 1rem, 3.75rem); line-height: 1.0; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.85rem, 4.4vw, 3.1rem); letter-spacing: -0.028em; line-height: 1.04; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--mesure); }
a { color: var(--accent-texte); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--encre); }
strong { font-weight: 600; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
button { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.mono {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--encre-3);
  font-variant-numeric: tabular-nums;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.saut {
  position: absolute; left: var(--gouttiere); top: -4rem; z-index: 60;
  background: var(--encre); color: var(--fond); padding: 0.7rem 1.1rem; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.saut:focus { top: 0.6rem; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding-left: var(--gouttiere);
  padding-right: var(--gouttiere);
}
@media (min-width: 760px) { :root { --gouttiere: 32px; } }

/* ----- surface de verre ----- */
.verre {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-ext);
  background: linear-gradient(135deg, var(--verre), var(--verre-2));
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  backdrop-filter: blur(22px) saturate(115%);
  /* liseré haut et bas, puis un biseau très léger (ombre interne diffuse) et l'ombre portée */
  box-shadow: inset 0 1px 0 var(--verre-bord), inset 0 -1px 0 var(--verre-bord-2), inset 0 0 22px -10px var(--biseau), var(--ombre);
}
.verre::before {
  /* liseré spéculaire : dégradé dans un anneau de 1 px */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: var(--lisere);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.verre::after {
  /* reflet qui suit le pointeur (variables posées par site.js) */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 0%), var(--reflet-couleur), rgba(255, 255, 255, 0) 65%);
  opacity: var(--reflet, 0);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.balayage {
  /* trace de lumière sur le verre, jouée UNE fois quand la surface entre dans la vue (classe « entre » posée par site.js) :
     transform seulement, rien en boucle (WCAG 2.2.2, et le thème sombre garde son contraste) */
  position: absolute; z-index: -1; top: -40%; bottom: -40%; left: 0; width: 18%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--balayage-couleur), rgba(255, 255, 255, 0));
  transform: skewX(-20deg) translateX(-400%);
  pointer-events: none;
}
.entre > .balayage { animation: balayage 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s 1 forwards; }
@keyframes balayage {
  0% { transform: skewX(-20deg) translateX(-400%); }
  100% { transform: skewX(-20deg) translateX(900%); }
}
/* Pas de réfraction par filtre SVG : la version précédente en appliquait un (en backdrop-filter, Chromium seulement) aux
   panneaux posés sur le bois ; mesuré en rendu logiciel, il divisait par trois la fluidité du défilement et du pointeur
   pour un écart de rendu de 0,1 à 2,6 niveaux sur 255. Le biseau est suggéré par les ombres internes de .verre. */

/* ----- boutons de verre, ressort à l'appui ----- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0.65rem 1.3rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  color: var(--encre);
  background: var(--bouton-fond);
  border: 1px solid var(--bouton-bord);
  box-shadow: inset 0 1px 0 var(--verre-bord), 0 1px 2px rgba(20, 22, 28, 0.06), 0 12px 26px -16px rgba(20, 22, 28, 0.45);
  transition: transform 0.5s var(--ressort), box-shadow 0.3s ease, color 0.2s ease;
}
.bouton:hover { color: var(--encre); transform: translateY(-1px); box-shadow: inset 0 1px 0 var(--verre-bord), 0 2px 4px rgba(20, 22, 28, 0.06), 0 18px 32px -16px rgba(20, 22, 28, 0.5); }
.bouton:active { transform: scale(0.965); transition-duration: 0.1s; }
.bouton.plein { background: var(--bouton-plein-fond); color: var(--bouton-plein-texte); border-color: var(--bouton-plein-bord); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 30px -16px rgba(20, 22, 28, 0.6); }
.bouton.plein:hover { color: var(--bouton-plein-texte); }

/* ----- entête : pilule de verre flottante ----- */
.entete { z-index: 40; padding: 10px var(--gouttiere) 0; }
.pilule {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px;
  padding: 6px; border-radius: 26px; overflow: hidden;
}
/* La pilule passe au-dessus de tout le contenu : verre dense (plancher 5:1 mesuré sur toutes les sections, dont le
   graphite), et, comme le verre d'Apple, elle prend la teinte de ce qu'elle survole : site.js pose « sur-sombre » quand
   son centre traverse la section Headfull (jetons sombres, texte clair, transition douce). */
.pilule.verre {
  background-image: none; background-color: var(--verre-dense); color: var(--encre);
  transition: background-color 0.35s ease, color 0.35s ease;
}
.pilule.sur-sombre {
  --verre-dense: rgba(34, 34, 33, 0.9); --encre: #eeeeec; --encre-2: #c9c7c1;
  --verre-bord: rgba(255, 255, 255, 0.22); --verre-bord-2: rgba(255, 255, 255, 0.06); --biseau: rgba(0, 0, 0, 0.35);
  --lisere: linear-gradient(140deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 30%, rgba(0, 0, 0, 0.25) 62%, rgba(255, 255, 255, 0.26));
  --accent-doux: rgba(117, 199, 240, 0.16); --focus: #75c7f0; --reflet-couleur: rgba(255, 255, 255, 0.05);
}
.marque {
  order: 1;
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.6rem 0 0.35rem;
  text-decoration: none; color: var(--encre); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; border-radius: 999px;
}
.marque svg { width: 1.9rem; height: 1.9rem; flex: none; }
.nav { order: 3; flex-basis: 100%; min-width: 0; }
.nav ul { list-style: none; margin: 0; padding: 0 2px 2px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav li { margin: 0; flex: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem; border-radius: 999px;
  text-decoration: none; color: var(--encre); font-weight: 500; font-size: 0.95rem;
  transition: background-color 0.25s ease, color 0.2s ease;
}
.nav a:hover { color: var(--encre); background: var(--accent-doux); }
@media (max-width: 719px) {
  /* cinq liens sur une rangée à partir de 375 px ; plus étroit, la rangée passe à la ligne (rien ne défile, rien n'est
     masqué, l'anneau de focus reste entier) */
  .entete { padding-left: 12px; padding-right: 12px; }
  .nav ul { padding: 0 0 2px; gap: 0; flex-wrap: wrap; overflow: visible; }
  .nav a { padding: 0 0.38rem; font-size: 0.84rem; letter-spacing: -0.005em; }
}
@media (max-width: 374px) {
  .nav a { padding: 0 0.3rem; font-size: 0.8rem; letter-spacing: -0.01em; }
}
/* icônes Tabler (MIT, assets/tiers/tabler-icons/) : SVG en ligne, trait fin, couleur de l'accent */
.icone { display: inline-flex; width: 22px; height: 22px; flex: none; color: var(--accent-texte); }
.icone svg { width: 100%; height: 100%; stroke-width: 1.5; }
.theme {
  order: 2; margin-left: auto;
  width: 44px; height: 44px; border-radius: 50%; display: none; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--verre-bord-2); color: var(--encre); cursor: pointer;
  transition: transform 0.5s var(--ressort), color 0.2s ease, background-color 0.25s ease;
}
html.js .theme { display: inline-flex; }
.theme:hover { color: var(--encre); background: var(--accent-doux); }
.theme:active { transform: scale(0.92); transition-duration: 0.1s; }
.theme svg { width: 20px; height: 20px; }
.theme .soleil { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .lune { display: none; }
  :root:not([data-theme="light"]) .theme .soleil { display: block; }
}
:root[data-theme="dark"] .theme .lune { display: none; }
:root[data-theme="dark"] .theme .soleil { display: block; }
@media (min-width: 720px) {
  .entete { position: sticky; top: 0; padding-top: 12px; pointer-events: none; }
  .pilule { pointer-events: auto; flex-wrap: nowrap; width: max-content; max-width: 100%; margin: 0 auto; border-radius: 999px; gap: 10px; padding: 6px 6px 6px 8px; }
  .nav { order: 2; flex-basis: auto; }
  .nav ul { padding: 0; overflow: visible; }
  .theme { order: 3; margin-left: 2px; }
}

/* ----- sections ----- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-titre { display: grid; gap: 0.9rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-titre .chapeau { font-size: clamp(1.08rem, 1.4vw, 1.2rem); color: var(--encre-2); max-width: 54ch; line-height: 1.5; }
@media (min-width: 900px) {
  .section-titre { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 3rem; }
  .section-titre h2, .section-titre .chapeau { margin-bottom: 0; }
}
/* repères de coin : quatre équerres de 1 px, dessinées dans un seul pseudo-élément */
.cadre { position: relative; }
@media (min-width: 760px) {
  .cadre::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    inset: -1.6rem calc(var(--gouttiere) - 14px);
    --t: var(--filet-fort);
    background:
      linear-gradient(var(--t), var(--t)) left top / 14px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) left top / 1px 14px no-repeat,
      linear-gradient(var(--t), var(--t)) right top / 14px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) right top / 1px 14px no-repeat,
      linear-gradient(var(--t), var(--t)) left bottom / 14px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) left bottom / 1px 14px no-repeat,
      linear-gradient(var(--t), var(--t)) right bottom / 14px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) right bottom / 1px 14px no-repeat;
  }
}

/* ----- accroche : texte, puis matière (plaque de bois) et panneau de verre ----- */
.accroche { position: relative; overflow: clip; padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.accroche::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grille) 1px, transparent 1px), linear-gradient(90deg, var(--grille) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: 0 -40px; /* les lignes tombent entre le micro-libellé et le titre, jamais sous une ligne de texte */
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 92%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 92%);
}
.lumiere {
  /* halo fixe : une dérive animée (imperceptible) obligeait les vitres à refiltrer le fond à chaque image */
  position: absolute; z-index: 0; pointer-events: none;
  width: 70vmax; height: 70vmax; left: 30%; top: -35%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--lumiere), rgba(255, 255, 255, 0));
}
.accroche-grille { position: relative; z-index: 1; display: grid; gap: 2.8rem; }
@media (min-width: 940px) {
  .accroche-grille { grid-template-columns: minmax(0, 6.3fr) minmax(0, 5.7fr); align-items: center; gap: 3.5rem; }
}
.repere-haut { margin: 0 0 1.4rem; max-width: none; }
.accroche h1 { margin-bottom: 1.3rem; max-width: 17ch; }
.accroche .intro { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--encre-2); max-width: 46ch; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.repere {
  font-size: 0.95rem; color: var(--encre-2); margin: 2rem 0 0; max-width: 46ch; line-height: 1.5;
  padding-top: 0.9rem; border-top: 1px solid var(--filet);
}

.matiere { position: relative; padding: 1.5rem 0; }
.plaque {
  position: absolute; z-index: 0; inset: 0 calc(-1 * var(--gouttiere)) 0 14%;
  border-radius: 32px 0 0 32px;
  background: var(--bois) center / 1280px auto repeat;
  box-shadow:
    inset 0 1px 0 var(--plaque-haut),
    inset 0 -1px 0 var(--plaque-bas),
    inset 0 -10px 18px -12px var(--plaque-bas),
    0 40px 90px -45px rgba(20, 22, 28, 0.6);
}
.plaque::after {
  /* lumière de surface : point qui suit le pointeur, et léger vignettage de la matière */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(420px circle at var(--lx, 72%) var(--ly, 22%), var(--plaque-lumiere), rgba(255, 255, 255, 0) 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 45%, var(--plaque-vignette));
}
/* sous 940 px, la planche de bois court sur toute la largeur (comme la bande du contact) et le panneau flotte dessus
   avec de la matière visible de chaque côté ; au-dessus, la planche dépasse de la colonne de droite */
@media (max-width: 939px) {
  .plaque, .exemple-matiere .plaque { inset: 0 calc(-1 * var(--gouttiere)); border-radius: 0; }
  .matiere, .exemple-matiere { padding: 2.25rem 0; }
  .circuit { width: min(calc(100% - 12px), 430px); margin: 0 auto; }
  .exemple { width: min(calc(100% - 12px), 460px); margin: 0 auto; }
}
@media (min-width: 940px) {
  .matiere { padding: 2.5rem 0; }
  .plaque { inset: 0 -12vw 0 16%; border-radius: 32px; }
}
@media (min-width: 1440px) { .plaque { inset: 0 -8vw 0 16%; } }
.circuit {
  position: relative; z-index: 1; margin: 0; overflow: hidden;
  width: min(100%, 430px);
  padding: 1.2rem 1.1rem 1.1rem;
}
.circuit figcaption { margin: 0 0 0.9rem 0.6rem; color: var(--bois-encre); }
.etapes-circuit { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.etapes-circuit li {
  position: relative; margin: 0;
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.15rem 0.55rem; align-items: start;
  padding: 0.7rem 0.75rem; border-radius: var(--r-int);
}
.etapes-circuit li:not(:last-child)::after {
  /* rail continu sous l'indice, jusqu'à l'étape suivante */
  content: ""; position: absolute; left: calc(0.75rem + 0.5rem); top: 2.1rem; bottom: -0.3rem; width: 1px;
  background: var(--filet-fort);
}
.etapes-circuit li.validation::after { bottom: 0.5rem; }
.indice { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; color: var(--encre-2); padding-top: 0.3rem; font-variant-numeric: tabular-nums; }
.etape { display: grid; gap: 0.12rem; }
.etape strong { font-weight: 600; font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; }
.etape span { font-size: 0.86rem; line-height: 1.4; color: var(--encre-2); }
.validation { box-shadow: inset 0 0 0 1px var(--accent); grid-template-columns: 2rem minmax(0, 1fr) auto; }
.validation .indice { color: var(--accent-texte); }
.validation .etiquette { align-self: start; color: var(--accent-texte); white-space: nowrap; padding-top: 0.32rem; }
.validation .etiquette::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin: 0 0.45em 1px 0;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux); vertical-align: middle;
}
@media (max-width: 379px) {
  .validation { grid-template-columns: 2rem minmax(0, 1fr); }
  .validation .etiquette { grid-column: 2; padding-top: 0; }
}

/* ----- agence : dossier indexé, puis « pour qui » ----- */
.dossier { list-style: none; margin: 0; padding: 0; counter-reset: dossier; border-top: 1px solid var(--filet-fort); }
.dossier > li {
  counter-increment: dossier; margin: 0;
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.35rem 0.6rem; align-items: start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--filet);
}
.dossier > li::before {
  content: counter(dossier, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500; color: var(--encre-3); padding-top: 0.45rem;
  font-variant-numeric: tabular-nums;
}
.dossier h3 { margin: 0; font-size: 1.25rem; }
.dossier p { margin: 0; color: var(--encre-2); }
@media (min-width: 760px) {
  .dossier > li { grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem; padding: 1.9rem 0; }
  .dossier > li::before { grid-row: auto; }
}

.pour-qui { margin-top: clamp(2.8rem, 6vw, 4.5rem); }
.pour-qui > h3 { margin-bottom: 1.4rem; }
.pour-qui ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem 2.8rem; }
@media (min-width: 700px) {
  .pour-qui ul { grid-template-columns: 1fr 1fr; }
  .pour-qui li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* nombre impair de cartes : la dernière, seule sur sa rangée, prend toute la largeur */
}
.pour-qui li { margin: 0; padding-top: 1rem; border-top: 1px solid var(--filet-fort); }
.pour-qui h4 { margin-bottom: 0.4rem; }
.pour-qui p { margin: 0; color: var(--encre-2); font-size: 0.98rem; }

/* ----- sur mesure : bande d'aluminium brossé, offres indexées, exemple en panneau de verre sur une plaque de bois ----- */
.sur-mesure { position: relative; overflow: clip; background: var(--fond-2); }
.sur-mesure::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(180deg, var(--brossage) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
}
.sur-mesure .conteneur { position: relative; z-index: 1; }
.sur-mesure-grille { display: grid; gap: 2.6rem; }
@media (min-width: 940px) {
  .sur-mesure-grille { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; align-items: center; }
  .sur-mesure-grille .offres { order: 2; }
  .sur-mesure-grille .exemple-matiere { order: 1; }
}
.offres { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet-fort); }
.offres li {
  margin: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 0.9rem; align-items: start;
  padding: 1.3rem 0; border-bottom: 1px solid var(--filet);
}
.offres .icone { margin-top: 0.2rem; }
.offres h3 { margin: 0 0 0.3rem; font-size: 1.25rem; }
.offres p { margin: 0; color: var(--encre-2); font-size: 0.98rem; }

.exemple-matiere { position: relative; padding: 1.5rem 0; }
.exemple-matiere .plaque { inset: 0 14% 0 calc(-1 * var(--gouttiere)); border-radius: 0 32px 32px 0; }
@media (min-width: 940px) {
  .exemple-matiere { padding: 2.5rem 0; }
  .exemple-matiere .plaque { inset: 0 16% 0 -12vw; border-radius: 32px; }
}
@media (min-width: 1440px) { .exemple-matiere .plaque { inset: 0 16% 0 -8vw; } }
.exemple {
  position: relative; z-index: 1; margin: 0 0 0 auto; overflow: hidden;
  width: min(100%, 460px);
  padding: 1.2rem 1.1rem 1.1rem;
}
.exemple figcaption { display: grid; gap: 0.25rem; margin: 0 0 0.8rem 0.6rem; }
.exemple figcaption .mono { color: var(--bois-encre); }
.exemple figcaption strong { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; }
.exemple-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.exemple-liste li {
  margin: 0; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.1rem 0.6rem; align-items: start;
  padding: 0.55rem 0.6rem; border-radius: var(--r-int);
}
.exemple-liste .icone { grid-column: 1; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 0.15rem; }
.exemple-liste strong { grid-column: 2; grid-row: 1; font-size: 0.98rem; line-height: 1.3; letter-spacing: -0.01em; }
.exemple-liste span { grid-column: 2; grid-row: 2; font-size: 0.86rem; line-height: 1.4; color: var(--encre-2); }
.exemple-note { margin: 0.7rem 0.6rem 0; padding-top: 0.7rem; border-top: 1px solid var(--filet); font-size: 0.82rem; line-height: 1.45; color: var(--bois-encre); max-width: none; }

/* ----- headfull : section graphite, cadres d'appareils sur un plateau de noyer ----- */
.headfull {
  position: relative; overflow: clip;
  background: var(--fond-3);
  --encre: #ebeae7; --encre-2: #b7b8be; --encre-3: #a4a5ac;
  --filet: rgba(255, 255, 255, 0.12); --filet-fort: rgba(255, 255, 255, 0.3); --grille: rgba(255, 255, 255, 0.045);
  --accent: #75c7f0; --accent-texte: #75c7f0; --accent-doux: rgba(117, 199, 240, 0.16); --focus: #75c7f0;
  --verre-bord: rgba(255, 255, 255, 0.22); --verre-bord-2: rgba(255, 255, 255, 0.06);
  --bouton-fond: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07)); --bouton-bord: rgba(255, 255, 255, 0.16);
  color: var(--encre);
}
.headfull::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grille) 1px, transparent 1px), linear-gradient(90deg, var(--grille) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 70%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 70%);
}
.headfull .conteneur { position: relative; z-index: 1; }
.vitrine {
  position: relative; display: grid; gap: 2rem; justify-items: center; align-items: end;
  padding: 1rem 0 2.2rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 760px) {
  .vitrine { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 3rem; padding: 2rem 0 2.6rem; }
}
.plateau {
  position: absolute; z-index: 0; left: calc(-1 * var(--gouttiere)); right: calc(-1 * var(--gouttiere)); bottom: 0; height: 58%;
  border-radius: 28px;
  background: var(--bois-sombre) center / 1280px auto repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.plateau::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35));
}
@media (min-width: 760px) { .plateau { left: 4%; right: -6vw; height: 56%; } }
.appareil { position: relative; z-index: 1; margin: 0; }
.appareil figcaption { margin-top: 1rem; text-align: center; font-size: 0.86rem; color: var(--encre-3); }
.appareil .ecran { position: relative; overflow: hidden; background: #101115; }
.capture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vide {
  position: absolute; inset: 0; display: grid; place-items: center; color: rgba(235, 234, 231, 0.5);
  background:
    radial-gradient(120% 90% at 50% 0%, #262730, #121318 70%);
}
.vide::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 45%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  mask-image: radial-gradient(closest-side at 50% 45%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}
.vide svg { width: 22%; max-width: 64px; opacity: 0.55; }
.ipad .vide svg { width: 14%; max-width: 88px; }
.ipad .vide::before { opacity: 0.4; }
.vide .mono { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; color: rgba(235, 234, 231, 0.55); letter-spacing: 0.08em; }
.vide .mono::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin: 0 0.6em 1px 0;
  background: var(--accent); box-shadow: 0 0 8px var(--accent); vertical-align: middle;
}
.avec-capture .vide { display: none; }

.iphone { width: min(68vw, 250px); }
.iphone .cadre {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 15.5%/7.2%; padding: 9px;
  background: linear-gradient(160deg, #5a5b61, #26272c 38%, #2f3036 68%, #5a5b61);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 50px 90px -35px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.iphone .cadre::before { content: ""; position: absolute; inset: 2.5px; border-radius: 14.5%/6.7%; background: #050507; }
.iphone .cadre::after {
  /* boutons latéraux */
  content: ""; position: absolute; left: -2px; top: 19%; width: 2px; height: 5%; border-radius: 1px; background: #4a4b51;
  box-shadow: 0 9.5% 0 0 #4a4b51, 0 17% 0 0 #4a4b51;
}
.iphone .ecran { position: absolute; inset: 9px; border-radius: 13%/6%; }
.iphone .ilot { position: absolute; z-index: 3; top: 4.2%; left: 50%; transform: translateX(-50%); width: 34%; height: 4.4%; border-radius: 999px; background: #000; }
/* iPad en paysage (ratio de l'écran 11 pouces, 2388 x 1668) : bordure uniforme, coins arrondis, caméra sur le long bord */
.ipad { width: min(100%, 600px); justify-self: stretch; }
@media (min-width: 760px) { .ipad { justify-self: end; } }
.ipad .cadre {
  position: relative; aspect-ratio: 2388 / 1668; border-radius: 26px; padding: 14px;
  background: linear-gradient(160deg, #5a5b61, #26272c 38%, #2f3036 68%, #5a5b61);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 50px 90px -35px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.ipad .cadre::before { content: ""; position: absolute; inset: 2.5px; border-radius: 24px; background: #050507; }
.ipad .cadre::after {
  /* caméra frontale, centrée sur le long bord */
  content: ""; position: absolute; top: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%);
  background: #1a1b20; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ipad .ecran { position: absolute; inset: 14px; border-radius: 13px; }
@media (max-width: 479px) {
  .ipad .cadre { border-radius: 20px; padding: 10px; }
  .ipad .cadre::before { border-radius: 18px; }
  .ipad .ecran { inset: 10px; border-radius: 10px; }
}

.headfull-corps { display: grid; gap: 3rem; }
@media (min-width: 900px) { .headfull-corps { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
.fonctions { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem 2.5rem; }
@media (min-width: 640px) { .fonctions { grid-template-columns: 1fr 1fr; } }
.fonctions li { margin: 0; padding-top: 0.9rem; border-top: 1px solid var(--filet); }
.fonctions h3 { margin-bottom: 0.35rem; font-size: 1.25rem; }
.fonctions p { color: var(--encre-2); margin: 0; font-size: 0.98rem; }
.securite h3 { margin-bottom: 0.8rem; }
.securite ul { margin: 0; padding: 0; list-style: none; max-width: 62ch; }
.securite li { margin: 0; padding: 0.6rem 0 0.6rem 1.5rem; position: relative; color: var(--encre-2); font-size: 0.98rem; border-top: 1px solid var(--filet); }
.securite li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.12rem; width: 0.45rem; height: 0.45rem;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux);
}
.etat {
  margin-top: clamp(2.5rem, 6vw, 4rem); padding: 1.5rem 1.6rem;
  border-radius: var(--r-ext); display: grid; gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
@media (min-width: 900px) { .etat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.etat h3 { margin-bottom: 0.4rem; font-size: 1.25rem; }
.etat p { margin: 0; color: var(--encre-2); max-width: none; }
.etat .etat-libelle { margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.5em; }
.pastille { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux); }
.etat.entre .pastille { animation: pulsation 3.2s ease-in-out 1; } /* une seule pulsation, à l'entrée dans la vue */
@keyframes pulsation { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.etat .actions { margin-top: 0; }
@media (min-width: 900px) { .etat .actions { justify-content: flex-end; } }
.headfull .bouton { color: var(--encre); }

/* ----- méthode ----- */
.principes { display: grid; gap: 1.8rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .principes { grid-template-columns: 1fr 1fr; gap: 2.2rem 3rem; } }
.principes li { margin: 0; padding-top: 1rem; border-top: 1px solid var(--filet-fort); }
.principes h3 { margin-bottom: 0.3rem; font-size: 1.25rem; }
.principes p { color: var(--encre-2); margin: 0; }
/* démarche en cinq étapes : frise indexée 01-05 sur un rail, icône Tabler à côté de l'indice */
.demarche { margin-top: clamp(2.8rem, 6vw, 4.5rem); }
.demarche-tete { display: grid; gap: 0.2rem; margin-bottom: 1.6rem; }
.demarche-tete h3 { margin: 0; }
.demarche-tete .mono { margin: 0; }
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 1.8rem; }
@media (min-width: 640px) { .etapes { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2.2rem 2rem; } }
.etapes li { margin: 0; position: relative; padding-top: 2.5rem; border-top: 1px solid var(--filet); }
.etapes li::before {
  counter-increment: etape; content: counter(etape, decimal-leading-zero);
  position: absolute; top: 0.62rem; left: 0;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500; color: var(--encre-3); font-variant-numeric: tabular-nums;
}
.etapes li::after {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--fond);
}
.etapes .icone { position: absolute; top: 0.45rem; left: 2.1rem; width: 19px; height: 19px; }
.etapes h4 { margin-bottom: 0.3rem; }
@media (min-width: 640px) { .etapes h4 { min-height: 2.6em; } } /* titres sur une ou deux lignes : les corps de texte s'alignent */
.etapes p { margin: 0; color: var(--encre-2); font-size: 0.98rem; }
.demarche-fin {
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--filet-fort);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
}
.demarche-fin p { margin: 0; color: var(--encre-2); max-width: 52ch; }

/* ----- contact : bande de bois, panneau de verre ----- */
.contact {
  position: relative; overflow: clip;
  background: var(--bois) center / 1280px auto repeat;
  box-shadow: inset 0 1px 0 var(--plaque-haut), inset 0 -1px 0 var(--plaque-bas);
}
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 45%, var(--plaque-vignette));
}
.contact .conteneur { position: relative; }
.panneau-contact { display: grid; gap: 2rem; padding: clamp(1.4rem, 4vw, 2.8rem); }
@media (min-width: 900px) { .panneau-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 4rem; } }
.contact h2 { margin-bottom: 0.6rem; }
.contact p { color: var(--encre-2); }
.adresse-mail { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; color: var(--encre); }
.adresse-mail a { color: var(--encre); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.adresse-mail a:hover { color: var(--accent-texte); }
.a-confirmer {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em;
  background: var(--fond-2); color: var(--encre-2); border: 1px solid var(--filet); border-radius: 999px; padding: 0.2rem 0.6rem;
  vertical-align: middle; margin-left: 0.6rem; white-space: nowrap;
}
.contact ul { margin: 0; padding: 0; list-style: none; }
.contact li { padding: 0.9rem 0; border-top: 1px solid var(--filet-fort); color: var(--encre-2); margin: 0; }
.contact li:last-child { border-bottom: 1px solid var(--filet-fort); }
.contact li strong { color: var(--encre); display: block; font-weight: 600; }

/* ----- pied ----- */
.pied { border-top: 1px solid var(--filet); padding: 2rem 0 3rem; font-size: 0.92rem; color: var(--encre-2); }
.pied .conteneur { display: grid; gap: 1rem; }
@media (min-width: 760px) { .pied .conteneur { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.pied p { margin: 0; max-width: none; }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.pied li { margin: 0; }
.pied a, .pied button { color: var(--encre-2); min-height: 44px; display: inline-flex; align-items: center; }
.pied button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.pied a:hover, .pied button:hover { color: var(--encre); }
@media (min-width: 760px) { .pied ul { justify-content: flex-end; } }

/* ----- pages simples (mentions, confidentialité, 404) ----- */
.page-simple { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.page-simple .conteneur { max-width: 780px; }
.page-simple h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.6rem; }
.page-simple .chapeau { color: var(--encre-2); font-size: 1.1rem; margin-bottom: 2.2rem; }
.page-simple h2 { font-size: 1.5rem; margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--filet); }
.page-simple h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.page-simple dl { margin: 0 0 1.2rem; }
.page-simple dt { font-weight: 600; margin-top: 0.8rem; }
.page-simple dd { margin: 0.1rem 0 0; color: var(--encre-2); }
.page-simple table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 0.8rem 0 1.4rem; }
.page-simple th, .page-simple td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem 0.55rem 0; border-bottom: 1px solid var(--filet); }
.page-simple th { font-weight: 600; }
.page-simple td { color: var(--encre-2); }
.page-simple .bouton + .bouton { margin-left: 0.5rem; }
.tableau-defilant { overflow-x: auto; }
.champ { display: inline-block; background: var(--accent-doux); color: var(--accent-texte); padding: 0.05rem 0.45rem; border-radius: 6px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent); }
.maj { font-size: 0.9rem; color: var(--encre-2); margin-top: 2.5rem; }

/* ----- bandeau de consentement ----- */
.bandeau {
  position: fixed; left: var(--gouttiere); right: var(--gouttiere); bottom: var(--gouttiere); z-index: 50;
  max-width: 440px; margin: 0 auto;
  padding: 1rem 1.1rem; max-height: 70vh; overflow: auto;
  opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.5s var(--sortie);
}
.bandeau.verre {
  /* feuille d'interface opaque, pas un objet de la page : lisible quel que soit le contenu qui défile dessous
     (texte légal lu avant de choisir), et jamais de verre sur verre quand elle se pose sur le panneau du hero */
  background: var(--verre-opaque); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 var(--verre-bord), inset 0 0 0 1px var(--verre-bord-2), var(--ombre);
}
.bandeau.visible { opacity: 1; transform: none; }
@media (min-width: 760px) { .bandeau { left: auto; right: 1.5rem; bottom: 1.5rem; margin: 0; } }
.bandeau h2 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.bandeau p { font-size: 0.88rem; line-height: 1.45; color: var(--encre-2); margin-bottom: 0.9rem; max-width: none; }
.bandeau .choix { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.bandeau .bouton { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.bandeau .lien-details { font-size: 0.9rem; margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }

/* ----- replis ----- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .verre, .pilule.verre { background: var(--verre-opaque); }
}
@media (prefers-reduced-transparency: reduce) {
  .verre, .pilule.verre { background: var(--verre-opaque); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .verre::after, .balayage { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .balayage { display: none; }
  .verre::after { opacity: 0 !important; }
}
@media (max-width: 479px) {
  /* boutons empilés et de même largeur, comme le reste de la page mobile */
  .actions { flex-direction: column; }
  .actions .bouton, .demarche-fin .bouton { width: 100%; }
}
@media (prefers-contrast: more) {
  .verre, .pilule.verre { background: var(--verre-opaque); box-shadow: inset 0 0 0 1px var(--encre); }
  .verre::before { display: none; }
  .bouton, .theme, .a-confirmer, .etat { border: 1px solid var(--encre); }
  .dossier > li, .pour-qui li, .principes li, .fonctions li, .securite li, .etapes li, .contact li, .page-simple h2,
  .offres, .offres li, .exemple-note, .demarche-fin { border-color: var(--encre); }
  .sur-mesure::before { display: none; }
  .nav a, .pied a, .pied button { color: var(--encre); }
}
@media (forced-colors: active) {
  .verre, .bouton, .etat, .iphone .cadre, .ipad .cadre, .appareil .ecran { border: 1px solid CanvasText; }
  .verre, .plaque, .contact, .plateau, .lumiere, .sur-mesure { background-image: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pilule.verre, .bandeau.verre { background-color: Canvas; } /* ce qui flotte au-dessus du contenu reste opaque (le mode forcé garde l'alpha d'une couleur translucide) */
  .verre::before, .verre::after, .balayage, .lumiere, .sur-mesure::before { display: none; }
  .offres, .offres li, .exemple-note, .demarche-fin { border-color: CanvasText; }
  .bouton { forced-color-adjust: none; background: ButtonFace; color: ButtonText; border-color: ButtonText; }
  .bouton.plein { background: ButtonText; color: ButtonFace; }
  .pastille, .securite li::before, .etapes li::after, .validation .etiquette::before { background: Highlight; box-shadow: none; }
  .validation { outline: 1px solid Highlight; outline-offset: -1px; } /* le cadre de l'étape « Vous validez » (box-shadow) disparaît sinon */
}

/* ===== v3 (5 novembre 2026) : pages intérieures, cas d'usage, FAQ, encadrés tarifaires =====
   Mêmes jetons, mêmes règles (verre seulement sur la matière, un accent, mobile d'abord). */

/* en-tête de page intérieure : plus court que l'accroche de l'accueil, même grille de fond */
.page-tete { position: relative; overflow: clip; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-tete::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grille) 1px, transparent 1px), linear-gradient(90deg, var(--grille) 1px, transparent 1px);
  background-size: 96px 96px; background-position: 0 -40px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 92%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 92%);
}
.page-tete .conteneur { position: relative; z-index: 1; }
.page-tete h1 { max-width: 20ch; margin-bottom: 1.1rem; font-size: clamp(2.1rem, 3vw + 0.8rem, 3.4rem); }
.page-tete .intro { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--encre-2); max-width: 52ch; line-height: 1.5; }
.page-tete .actions { margin-top: 1.6rem; }
.page-tete + .section { padding-top: clamp(2rem, 5vw, 4rem); }

/* cartes : grille de liens vers les cas d'usage et les offres (filet haut, titre, texte, appel) */
.cartes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem 2.4rem; }
@media (min-width: 640px) { .cartes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cartes.trois { grid-template-columns: 1fr 1fr 1fr; } }
.cartes li { margin: 0; display: grid; gap: 0.4rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--filet-fort); }
.cartes .mono { margin: 0; }
.cartes h3 { margin: 0; font-size: 1.22rem; }
.cartes p { margin: 0; color: var(--encre-2); font-size: 0.98rem; }
.cartes .suite { margin-top: 0.4rem; font-weight: 600; font-size: 0.95rem; text-decoration-color: var(--accent); }

/* cas d'usage détaillé : en-tête, deux colonnes (récit, puis modules sur un panneau d'aluminium) */
.cas { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--filet); }
.cas:first-of-type { border-top: 0; }
.cas-tete { display: grid; gap: 0.6rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.cas-tete h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cas-tete .chapeau { color: var(--encre-2); font-size: clamp(1.05rem, 1.3vw, 1.15rem); max-width: 60ch; margin: 0; line-height: 1.5; }
.cas-corps { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .cas-corps { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
.cas-recit { display: grid; gap: 1.4rem; }
.cas-recit > div { padding-top: 0.9rem; border-top: 1px solid var(--filet); }
.cas-recit h3 { margin-bottom: 0.35rem; font-size: 1.12rem; }
.cas-recit p { margin: 0; color: var(--encre-2); }
.cas-recit p + p { margin-top: 0.6rem; }
.panneau {
  position: relative; border-radius: var(--r-ext); padding: 1.3rem 1.2rem 1.1rem;
  background: var(--fond-2);
  box-shadow: inset 0 1px 0 var(--brossage), inset 0 0 0 1px var(--filet);
}
.panneau::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: repeating-linear-gradient(180deg, var(--brossage) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
}
.panneau > * { position: relative; }
.panneau .mono { margin: 0 0 0.8rem 0.6rem; }
.modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.modules li {
  margin: 0; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.05rem 0.6rem; align-items: start;
  padding: 0.55rem 0.6rem; border-radius: var(--r-int);
}
.modules .icone { grid-column: 1; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 0.15rem; }
.modules strong { grid-column: 2; grid-row: 1; font-size: 0.98rem; line-height: 1.3; letter-spacing: -0.01em; }
.modules span { grid-column: 2; grid-row: 2; font-size: 0.86rem; line-height: 1.4; color: var(--encre-2); }
.pour-qui-ligne { margin: 0.8rem 0.6rem 0; padding-top: 0.8rem; border-top: 1px solid var(--filet); font-size: 0.86rem; line-height: 1.45; color: var(--encre-2); max-width: none; }
.pour-qui-ligne strong { color: var(--encre); }
.note-cadre { margin: 0.8rem 0.6rem 0; padding: 0.7rem 0.8rem; border-radius: var(--r-int); font-size: 0.86rem; line-height: 1.45; color: var(--encre-2); max-width: none; box-shadow: inset 0 0 0 1px var(--accent); }
.note-cadre strong { color: var(--accent-texte); }

/* liste indexée réutilisée sur les pages intérieures (même dessin que le dossier de l'accueil) */
.dossier .suite { display: inline-block; margin-top: 0.6rem; font-weight: 600; font-size: 0.95rem; text-decoration-color: var(--accent); }
.dossier p + p { margin-top: 0.6rem; }

/* encadré tarifaire : fonctionnement du forfait, emplacement du prix balisé A COMPLETER */
.tarif { display: grid; gap: 1.2rem; margin-top: clamp(2rem, 5vw, 3rem); }
@media (min-width: 760px) { .tarif { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.tarif > div { padding: 1.4rem 1.3rem; border-radius: var(--r-ext); background: var(--fond-2); box-shadow: inset 0 0 0 1px var(--filet); }
.tarif h3 { margin-bottom: 0.3rem; font-size: 1.22rem; }
.tarif .prix { display: block; margin: 0.6rem 0 0.9rem; font-family: var(--mono); font-size: 0.9rem; }
.tarif p { margin: 0; color: var(--encre-2); font-size: 0.98rem; }
.tarif ul { margin: 0.8rem 0 0; padding: 0; list-style: none; }
.tarif li { margin: 0; padding: 0.5rem 0 0.5rem 1.4rem; position: relative; color: var(--encre-2); font-size: 0.95rem; border-top: 1px solid var(--filet); }
.tarif li::before { content: ""; position: absolute; left: 0.1rem; top: 1rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux); }

/* FAQ : accordéons natifs, marqueur dessiné, ouvert au clavier */
.faq { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet-fort); }
.faq li { margin: 0; border-bottom: 1px solid var(--filet); }
.faq summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 1rem; align-items: center;
  padding: 1.1rem 0; font-weight: 600; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--filet-fort);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 10px no-repeat;
  transition: transform 0.35s var(--sortie);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-texte); }
.faq details > div { padding: 0 0 1.3rem; }
.faq details p { margin: 0 0 0.7rem; color: var(--encre-2); }
.faq details p:last-child { margin-bottom: 0; }
.faq summary:focus-visible { outline-offset: 0; border-radius: 8px; }

/* appel de fin de page (même dessin que la fin de démarche) */
.appel { margin-top: clamp(2.4rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--filet-fort); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.appel p { margin: 0; color: var(--encre-2); max-width: 52ch; }
.appel .actions { margin: 0; }

/* deux modes d'hébergement : cartes côte à côte, même filet que les principes */
.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .modes { grid-template-columns: 1fr 1fr; gap: 2.2rem 3rem; } }
.modes li { margin: 0; padding-top: 1rem; border-top: 1px solid var(--filet-fort); }
.modes h3 { margin-bottom: 0.4rem; font-size: 1.25rem; }
.modes p { color: var(--encre-2); margin: 0 0 0.6rem; }
.modes ul { margin: 0.4rem 0 0; padding: 0; list-style: none; }
.modes ul li { padding: 0.45rem 0 0.45rem 1.4rem; border-top: 1px solid var(--filet); position: relative; color: var(--encre-2); font-size: 0.95rem; }
.modes ul li::before { content: ""; position: absolute; left: 0.1rem; top: 0.95rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux); }

/* texte courant des pages intérieures (hors pages légales) */
.prose { max-width: var(--mesure); }
.prose h3 { margin-top: 1.8rem; }
.prose p { color: var(--encre-2); }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--encre-2); }
.prose li { margin-bottom: 0.35em; }

/* navigation : page courante soulignée par un point d'accent */
.nav a[aria-current="page"] { background: var(--accent-doux); color: var(--encre); }

@media (prefers-contrast: more) {
  .cartes li, .cas-recit > div, .modes li, .modes ul li, .tarif li, .faq, .faq li, .appel, .pour-qui-ligne, .cas { border-color: var(--encre); }
  .panneau, .tarif > div { box-shadow: inset 0 0 0 1px var(--encre); }
  .panneau::before { display: none; }
}
@media (forced-colors: active) {
  .panneau, .tarif > div { border: 1px solid CanvasText; background-image: none; }
  .panneau::before { display: none; }
  .faq summary::after { border: 1px solid CanvasText; background: none; }
  .modules .icone, .tarif li::before, .modes ul li::before { color: Highlight; background: Highlight; box-shadow: none; }
}

/* v3 : cinq entrées de navigation dont deux longues (« Cas d'usage », « Rendez-vous ») : à 390 px, l'écart de 2 px qui faisait
   passer la dernière à la ligne est repris sur l'espacement interne des liens (même taille de texte, même cible tactile). */
@media (max-width: 719px) { .nav a { padding: 0 0.25rem; } }
