:root {
  --accent: #c2542c;
  --on-accent: #ffffff;
  --accent-text: #a93d0f;
  --accent-text-alt: #a33807;
  --accent-on-deep: #c2542c;
  --on-accent-on-deep: #ffffff;
  --paper: #fdf4ec;
  --surface: #fefaf7;
  --alt: #f7e9de;
  --tint: #ffeee0;
  --deep: #380f02;
  --ink: #211812;
  --muted: #62544c;
  --line: #e0d2c5;
  --on-deep: #fcf1e9;
  --muted-on-deep: #c3aca1;
  --line-on-deep: #583124;
  --radius-sm: 2px;
  --radius-lg: 4px;
  --radius-btn: 2px;
  --heading-case: uppercase;
  --font-heading: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-label: var(--font-body);
  --heading-weight: 400;
  --heading-tracking: 0.01em;
  --heading-em: normal;
}

/* ==========================================================================
   1Clic, socle commun des sections (lab phase 3).
   Toute section ne consomme QUE ces tokens et ces classes utilitaires.
   Les valeurs de couleur, de forme et de police viennent de :root (tokens.js).
   ========================================================================== */

:root {
  --container: 1200px; --container-narrow: 760px; --container-wide: 1360px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4rem, 2.9rem + 4.6vw, 7rem);
  --text-h1: clamp(2.5rem, 1.7rem + 3vw, 4.25rem);
  --text-display: clamp(3rem, 1.6rem + 5.6vw, 6rem);
  --text-h2: clamp(1.875rem, 1.3rem + 2vw, 3rem);
  --text-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --text-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-small: .875rem; --text-label: .8125rem;
  --leading-h1: 1.05; --leading-h2: 1.12; --leading-h3: 1.25; --leading-body: 1.6;
  --measure: 62ch; --btn-h: 3rem; --grid-gap: clamp(1rem, 2vw, 2rem);
  --text-h4: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --header-h: 0rem; --mobilebar-h: 4rem; /* en-tête non collant : pas de réserve de défilement */
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-body); font-size: var(--text-body); line-height: var(--leading-body);
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--focus, var(--accent-text)); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- Mots longs : un nom, un e-mail ou une adresse sans espace se COUPE au lieu de faire déborder la page (téléphone surtout).
   `anywhere` réduit aussi la largeur minimale des éléments de grille et flex (`break-word` non). Spécificité nulle : les règles des
   sections gardent la main sur la mise en forme, seule la coupure est garantie partout. */
:where(.s) :where(h1, h2, h3, h4, p, li, dt, dd, th, td, address, summary, blockquote, figcaption, label, a, span, strong, em, div) { overflow-wrap: anywhere; }

/* --- Thèmes de section : le fond pilote texte, filets, liens et boutons ----- */
.t-light, .t-alt, .t-tint, .t-deep, .t-accent {
  background: var(--bg); color: var(--fg);
}
.t-light  { --bg: var(--paper);   --fg: var(--ink);    --fg-muted: var(--muted);         --rule: var(--line);         --link: var(--accent-text);     --btn-bg: var(--accent);         --btn-fg: var(--on-accent);         --card: var(--surface);  --focus: var(--accent-text); }
.t-alt    { --bg: var(--alt);     --fg: var(--ink);    --fg-muted: var(--muted);         --rule: var(--line);         --link: var(--accent-text-alt); --btn-bg: var(--accent);         --btn-fg: var(--on-accent);         --card: var(--surface);  --focus: var(--accent-text-alt); }
.t-tint   { --bg: var(--tint);    --fg: var(--ink);    --fg-muted: var(--muted);         --rule: var(--line);         --link: var(--ink);             --btn-bg: var(--ink);            --btn-fg: var(--paper);             --card: var(--paper);    --focus: var(--ink); }
.t-deep   { --bg: var(--deep);    --fg: var(--on-deep); --fg-muted: var(--muted-on-deep); --rule: var(--line-on-deep); --link: var(--on-deep);         --btn-bg: var(--accent-on-deep); --btn-fg: var(--on-accent-on-deep); --card: color-mix(in srgb, var(--on-deep) 6%, var(--deep)); --focus: var(--on-deep); }
.t-accent { --bg: var(--accent);  --fg: var(--on-accent); --fg-muted: color-mix(in srgb, var(--on-accent) 78%, var(--accent)); --rule: color-mix(in srgb, var(--on-accent) 22%, var(--accent)); --link: var(--on-accent); --btn-bg: var(--on-accent); --btn-fg: var(--accent); --card: color-mix(in srgb, var(--on-accent) 8%, var(--accent)); --focus: var(--on-accent); }

/* Accent par thème : --accent-fg = texte courant en accent (≥ 4,5:1), --accent-fg-lg = grands chiffres / titres
   (≥ 3:1), --mark = trait ou repère graphique. Champs de formulaire : bordure ≥ 3:1 sur tous les fonds. */
.t-light  { --accent-fg: var(--accent-text);     --accent-fg-lg: var(--accent-text);     --mark: var(--accent); }
.t-alt    { --accent-fg: var(--accent-text-alt); --accent-fg-lg: var(--accent-text-alt); --mark: var(--accent); }
.t-tint   { --accent-fg: var(--accent-text);     --accent-fg-lg: var(--accent-text);     --mark: var(--accent-text); }
.t-deep   { --accent-fg: var(--muted-on-deep);   --accent-fg-lg: var(--accent-on-deep);  --mark: var(--accent-on-deep); }
.t-accent { --accent-fg: var(--on-accent);       --accent-fg-lg: var(--on-accent);       --mark: var(--on-accent); }
.t-light, .t-alt, .t-tint, .t-deep, .t-accent {
  --field-bg: color-mix(in srgb, var(--bg) 70%, var(--card));
  --field-line: color-mix(in srgb, var(--fg) 56%, var(--bg));
  --field-line-hover: var(--fg);
}

/* --- Structure ------------------------------------------------------------ */
.s { position: relative; padding-block: var(--section-y); }
.s--flush { padding-block: 0; }
.s--tight { padding-block: calc(var(--section-y) * .6); }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); }
.container--wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); }

/* --- Typographie ---------------------------------------------------------- */
.h1, .h2, .h3, .display {
  font-family: var(--font-heading); font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking); text-transform: var(--heading-case);
  text-wrap: balance; hyphens: manual; overflow-wrap: anywhere; /* anywhere : un mot trop long pour la colonne se coupe au lieu d élargir la colonne (break-word seul ne réduit pas la largeur minimale) */
  font-optical-sizing: auto;
}
.display { font-size: var(--text-display); line-height: .98; }
.h1 { font-size: var(--text-h1); line-height: var(--leading-h1); }
.h2 { font-size: var(--text-h2); line-height: var(--leading-h2); }
.h3 { font-size: var(--text-h3); line-height: var(--leading-h3); letter-spacing: calc(var(--heading-tracking) / 2); }
.h1 em, .h2 em, .h3 em, .display em { font-style: var(--heading-em, italic); font-synthesis: none; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--fg-muted, var(--muted)); max-width: 54ch; text-wrap: pretty; }
.prose { max-width: var(--measure); text-wrap: pretty; }
.prose > * + * { margin-top: 1em; }
.muted { color: var(--fg-muted, var(--muted)); }
.small { font-size: var(--text-small); }
.label {
  font-family: var(--font-label); font-size: var(--text-label); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
}
.num { font-variant-numeric: tabular-nums lining-nums; }
.nw { white-space: nowrap; }
.link { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.link:hover { text-decoration-thickness: 2px; }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--btn-h); padding: .75em 1.4em;
  border-radius: var(--radius-btn); border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  /* Libellé choisi par le client (jusqu'à 40 caractères) : il passe à la ligne dans le bouton au lieu de le faire déborder de l'écran
     (QA client piégeux, H2 : 98 px de défilement horizontal à 390 px avec « Réserver un créneau pour votre dépannage »). */
  white-space: normal; text-align: center; text-wrap: balance; overflow-wrap: anywhere; max-width: 100%; min-width: 0;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
/* Le libellé (le <span> du bouton) peut rétrécir sous sa largeur naturelle et se couper en plein mot : un libellé de 40 caractères ne dépasse jamais l écran. */
.btn > span { min-width: 0; overflow-wrap: anywhere; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: color-mix(in srgb, var(--btn-bg) 85%, var(--btn-fg)); }
/* Alias pour le HTML injecté par le serveur (formulaire de contact). */
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 35%, transparent); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--lg { min-height: 3.5rem; padding-inline: 1.75em; font-size: 1.0625rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* --- Icônes (SVG inline, trait 1,75, currentColor) ------------------------ */
.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* --- Médias --------------------------------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--alt); }
.media > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-4-3 { aspect-ratio: 4 / 3; } .ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-16-9 { aspect-ratio: 16 / 9; } .ratio-1-1 { aspect-ratio: 1; } .ratio-3-4 { aspect-ratio: 3 / 4; } .ratio-21-9 { aspect-ratio: 21 / 9; }

/* --- Filets --------------------------------------------------------------- */
.rule { border: 0; border-top: 1px solid var(--rule); }

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


.lf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; min-width: 0; position: relative; }
.lf fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lf__legend { padding: 0; margin-bottom: 1rem; font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: calc(var(--heading-tracking) / 2); font-size: var(--text-h3); line-height: var(--leading-h3); text-wrap: balance; }
.lf__field { display: grid; gap: .5rem; min-width: 0; font-size: var(--text-small); font-weight: 600; line-height: 1.3; color: var(--fg); }
.lf__opt { font-weight: 400; color: var(--fg-muted); }
.lf__hint { margin: 0; font-size: var(--text-small); font-weight: 400; line-height: 1.45; color: var(--fg-muted); text-wrap: pretty; }
.lf input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not(.lf__trap), .lf textarea, .lf select {
  display: block; width: 100%; min-width: 0; min-height: 3rem; padding: .75rem .875rem;
  font: inherit; font-size: max(1rem, var(--text-body)); font-weight: 400; line-height: 1.4; color: var(--fg);
  background: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--radius-sm);
  box-shadow: none; appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s;
}
.lf select {
  padding-right: 2.5rem; background-repeat: no-repeat; background-position: right .875rem center; background-size: .8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23777' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.lf textarea { min-height: 8.5rem; resize: vertical; }
.lf input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover, .lf textarea:hover, .lf select:hover { border-color: var(--field-line-hover); }
.lf input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus-visible, .lf textarea:focus-visible, .lf select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--fg); }
.lf input[aria-invalid="true"], .lf textarea[aria-invalid="true"], .lf select[aria-invalid="true"] { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.lf__trap { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Choix unique en cartes : la case ronde recouvre toute la carte (cliquable partout, focus visible sur la carte). */
.lf__choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: .625rem; }
.lf__choice { position: relative; display: block; min-width: 0; cursor: pointer; }
.lf__choice > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.lf__card {
  display: flex; align-items: center; gap: .875rem; min-height: 3.25rem; padding: .75rem 1rem;
  background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: var(--radius-sm);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.lf__card::before {
  content: ''; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  border: 1.5px solid var(--field-line); background: var(--field-bg); transition: border-color .15s, background .15s;
}
.lf__card-text { display: grid; gap: .125rem; min-width: 0; }
.lf__card-label { font-weight: 600; line-height: 1.3; color: var(--fg); }
.lf__card-hint { font-size: var(--text-small); line-height: 1.35; color: var(--fg-muted); }
.lf__choice:hover .lf__card { border-color: var(--field-line-hover); }
.lf__choice > input:checked + .lf__card { border-color: var(--btn-bg); background: color-mix(in srgb, var(--btn-bg) 9%, var(--field-bg)); box-shadow: inset 0 0 0 1px var(--btn-bg); }
.lf__choice > input:checked + .lf__card::before { border-color: var(--btn-bg); background: radial-gradient(circle, var(--btn-bg) 0 42%, transparent 46%); }
.lf__choice > input:focus-visible + .lf__card { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (min-width: 560px) { .lf__choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lf__choices--2x { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 359.98px) { .lf__choices--2x { grid-template-columns: minmax(0, 1fr); } }

/* Consentement */
.lf__consent { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .75rem; font-size: var(--text-small); line-height: 1.45; color: var(--fg-muted); cursor: pointer; text-wrap: pretty; }
.lf__consent > input {
  appearance: none; -webkit-appearance: none; display: grid; place-content: center; flex: none;
  width: 1.375rem; height: 1.375rem; margin: 0; cursor: pointer;
  background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: min(var(--radius-sm), 4px); transition: background-color .15s, border-color .15s;
}
.lf__consent > input::before { content: ''; width: .8rem; height: .8rem; background: var(--btn-fg); transform: scale(0); transition: transform .12s; clip-path: polygon(12% 50%, 0 64%, 40% 100%, 100% 22%, 87% 9%, 39% 72%); }
.lf__consent > input:hover { border-color: var(--field-line-hover); }
.lf__consent > input:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.lf__consent > input:checked::before { transform: scale(1); }
.lf__consent > input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Mention RGPD et erreurs */
.lf__legal { font-size: .8125rem; line-height: 1.5; color: var(--fg-muted); text-wrap: pretty; max-width: 62ch; }
.lf__legal a, .lf__hint a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.lf__error { margin: 0; padding: .625rem .875rem; font-size: var(--text-small); font-weight: 600; line-height: 1.4; color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, var(--bg)); border-left: 3px solid var(--fg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.lf__error[hidden] { display: none; }

/* Boutons */
.lf__submit, .lf__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 3.25rem; padding: .8em 1.6em;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; text-align: center; max-width: 100%;
  border: 1.5px solid transparent; border-radius: var(--radius-btn); transition: background-color .2s, border-color .2s;
}
.lf__submit, .lf__btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.lf__submit:hover, .lf__btn--primary:hover { background: color-mix(in srgb, var(--btn-bg) 86%, var(--fg)); }
.lf__btn--ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 35%, transparent); }
.lf__btn--ghost:hover { border-color: var(--fg); }
.lf__submit[disabled], .lf__btn[disabled] { opacity: .65; cursor: progress; }
.lf svg { width: 1.1em; height: 1.1em; }


.s-header { z-index: 40; border-bottom: 1px solid var(--rule); }
.s-header a { text-decoration: none; }
.s-header__brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; color: var(--fg); }
.s-header__name {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case); font-size: clamp(1.0625rem, .95rem + .45vw, 1.375rem); line-height: 1.1;
  text-wrap: balance; overflow-wrap: break-word;
}
/* Nom de plus de 20 caractères : un mot trop long se coupe (anywhere) au lieu de pousser le bouton et le menu ; un nom court n est jamais coupé en plein mot. */
.s-header__name--long { overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .s-header__name--long { font-size: 1rem; }
  .s-header__cta--long .ico { display: none; }
  /* Bouton de réservation long (« Réserver une table », « Prendre rendez-vous ») : un peu plus compact, pour laisser sa place au nom de l'activité. */
  .s-header__cta--long { font-size: .8125rem; padding-inline: .7em; }
}
/* Très petits écrans (320 px) : la barre d'appel du bas porte déjà Appeler + Devis/Réserver,
   le bouton de l'en-tête s'efface pour laisser respirer le nom. */
@media (max-width: 379px) {
  .s-header__actions > .s-header__cta { display: none; } /* répété dans le menu burger */
  .s-header__brand--caps .s-header__name { letter-spacing: .06em; font-size: .875rem; }
}
.s-header__logo { height: 2.5rem; width: auto; max-width: 11rem; object-fit: contain; }
.s-header__actions { display: flex; align-items: center; gap: .5rem; flex: none; max-width: 100%; margin-left: auto; }
.s-header__menu { flex: none; }
/* Libellé long (jusqu'à 40 caractères, choisi par le client) : le bouton passe à la ligne dans une largeur bornée (16 rem ; sur téléphone 13,5 rem au moins,
   ou 52 % de l'écran) au lieu d'élargir l'en-tête au-delà de l'écran (+98 px de défilement horizontal à 390 px) ; le libellé reste lisible EN ENTIER, jamais
   coupé par des points de suspension. La zone d'actions garde sa largeur (le menu burger ne doit jamais être écrasé) : c'est le nom de l'activité, à gauche,
   qui rétrécit. */
.s-header__cta { min-width: 0; min-height: 2.75rem; padding: .5em .95em; font-size: .9375rem; max-width: min(16rem, max(13.5rem, 52vw)); }
.s-header__cta .ico { width: 1.05em; height: 1.05em; }

/* Burger : carré à filet, jamais un rond plein. */
.s-header__menu { position: static; }
.s-header__burger {
  list-style: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid color-mix(in srgb, var(--fg) 28%, transparent); border-radius: var(--radius-btn);
  color: var(--fg); background: transparent;
}
.s-header__burger::marker { content: ''; }
.s-header__burger .ico { width: 1.375rem; height: 1.375rem; }
.s-header__ico-close, .s-header__menu[open] .s-header__ico-open { display: none; }
.s-header__menu:not([open]) .s-header__panel { display: none; }
.s-header__menu[open] .s-header__ico-close { display: block; }
.s-header__menu[open] .s-header__burger { border-color: var(--fg); }
.s-header__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 41;
  background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--rule);
  padding-block: .5rem 1.5rem; min-height: calc(100svh - 4rem); max-height: calc(100svh - 4rem); overflow-y: auto;
}
.s-header__panel-nav { list-style: none; padding: 0; }
.s-header__panel-nav li + li { border-top: 1px solid var(--rule); }
.s-header__panel-nav a {
  display: flex; align-items: center; min-height: 3.5rem;
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-size: 1.5rem; line-height: 1.15;
}
.s-header__panel-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.s-header__panel-foot { display: grid; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.s-header__panel-phone { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 600; font-size: 1.125rem; }
.s-header__panel-phone .ico { color: var(--link); }
.s-header__panel-cta { width: 100%; }

/* --- classic ------------------------------------------------------------ */
.s-header--classic .s-header__bar { display: flex; align-items: center; gap: 1rem; min-height: 4rem; padding-block: .5rem; }
.s-header__nav { display: none; }
.s-header__spacer { flex: 1; }
.s-header__phone { display: none; }
.s-header__nav-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(1.25rem, 2.2vw, 2.25rem); }
.s-header__nav-list li { min-width: 0; flex: none; }
.s-header__nav-list a, .s-header__row-nav a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--fg);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .35em;
  transition: text-decoration-color .2s;
}
.s-header__nav-list a { font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.s-header__row-nav a { white-space: nowrap; }
.s-header__nav-list a:hover, .s-header__row-nav a:hover { text-decoration-color: currentColor; }
.s-header__nav-list a[aria-current="page"], .s-header__row-nav a[aria-current="page"] { text-decoration-color: var(--link); text-decoration-thickness: 2px; }

@media (min-width: 1024px) {
  .s-header--classic .s-header__bar { min-height: 4.75rem; gap: 2rem; }
  /* Nom d'activité très long (jusqu'à 120 caractères) : il passe à la ligne dans un tiers de la rangée, le menu garde sa place. */
  .s-header--classic .s-header__brand { max-width: 34%; }
  .s-header--classic.s-header--burger .s-header__brand { max-width: 60%; }
  .s-header__nav { display: flex; flex: 1; justify-content: center; min-width: 0; }
  .s-header--classic .s-header__actions { margin-left: 0; gap: 1.25rem; }
  .s-header__cta { min-height: var(--btn-h); padding: .75em 1.3em; }
  .s-header__menu { display: none; }
}
/* Plus de 6 pages : le menu déroulant reste le menu, aussi sur grand écran (la rangée de liens est masquée). */
@media (min-width: 1024px) {
  .s-header--burger .s-header__nav, .s-header--burger .s-header__row { display: none; }
  .s-header--burger .s-header__menu { display: block; }
  .s-header--burger .s-header__actions { margin-left: auto; }
  .s-header--burger.s-header--centered .s-header__top { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}
@media (min-width: 1200px) {
  .s-header__phone { display: inline-flex; align-items: center; gap: .6rem; color: var(--fg); line-height: 1.15; }
  .s-header__phone .ico { width: 1.25rem; height: 1.25rem; color: var(--link); }
  .s-header__phone > span { display: grid; }
  .s-header__phone-label { font-size: .75rem; color: var(--fg-muted); letter-spacing: .02em; }
  .s-header__phone-num { font-weight: 600; font-size: 1rem; }
  .s-header__phone:hover .s-header__phone-num { text-decoration: underline; text-underline-offset: .2em; }
}

/* --- centered ----------------------------------------------------------- */
.s-header--centered .s-header__top { display: flex; align-items: center; gap: 1rem; min-height: 4rem; padding-block: .5rem; }
.s-header__meta { display: none; }
.s-header__brand--caps .s-header__name {
  text-transform: uppercase; letter-spacing: .1em; font-size: .9375rem; line-height: 1.2;
}
/* Nom centré en capitales + bouton de réservation long à côté (téléphone) : le nom (un mot de 10 lettres comme PIGEONNIER) se resserre au lieu de sortir de sa boîte.
   Placé APRÈS la règle de base (même spécificité : la dernière l'emporte). Mesuré à 390 px par le contrôle des débordements (option --tools). */
@media (max-width: 479px) { .s-header__brand--caps .s-header__name { letter-spacing: .06em; font-size: .8125rem; } }
@media (min-width: 1024px) {
  /* L'interlettrage ajoute un blanc après la dernière lettre : on le compense à gauche pour un centrage optique. */
  .s-header__brand--caps .s-header__name { letter-spacing: .14em; padding-inline-start: .14em; font-size: clamp(1.125rem, .9rem + .5vw, 1.375rem); }
}
.s-header__row { display: none; }
@media (min-width: 1024px) {
  .s-header--centered .s-header__top {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 2rem; min-height: 5.5rem;
  }
  .s-header--centered .s-header__brand { justify-self: center; text-align: center; max-width: 34rem; }
  .s-header__meta { display: block; min-width: 0; }
  .s-header__meta-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .875rem; color: var(--fg-muted); }
  .s-header__meta-link .ico { width: 1.1rem; height: 1.1rem; color: var(--link); }
  .s-header__meta-link:hover span { color: var(--fg); text-decoration: underline; text-underline-offset: .2em; }
  .s-header--centered .s-header__actions { justify-self: end; }
  .s-header--centered .s-header__cta { min-height: var(--btn-h); padding: .75em 1.3em; }
  .s-header--centered .s-header__menu { display: none; }
  .s-header__row { display: block; border-top: 1px solid var(--rule); }
  .s-header__row-nav { list-style: none; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; column-gap: clamp(1.5rem, 3vw, 3rem); }
  .s-header__row-nav a { min-height: 3rem; font-family: var(--font-label); font-size: var(--text-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
}

/* --- bar : bandeau fin au-dessus de la rangée classic --------------------- */
/* Sur un en-tête clair (light, alt, tint), le bandeau porte le thème du socle t-deep (couleur client poussée vers
   le noir) ; sur un en-tête deep ou accent, il prend la teinte --card de l'en-tête, séparé par un filet. */
.s-header__strip { font-size: var(--text-label); line-height: 1.2; }
.s-header__strip--quiet { background: var(--card); color: var(--fg); border-bottom: 1px solid var(--rule); }
.s-header__strip-in { display: flex; align-items: center; gap: 1rem; min-height: 2.75rem; }
.s-header__strip-msg { display: flex; align-items: center; gap: .55rem; min-width: 0; font-weight: 500; letter-spacing: .01em; }
.s-header__strip-text { display: none; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-header__strip-text--xs { display: block; }
.s-header__strip-dot { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--mark); flex: none; }
.s-header__strip-info { list-style: none; padding: 0; display: flex; align-items: center; gap: 1.75rem; margin-left: auto; flex: none; white-space: nowrap; }
.s-header__strip-info a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; color: inherit; }
.s-header__strip-info a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.s-header__strip .ico { width: .95rem; height: .95rem; }
.s-header__strip-tel { font-weight: 600; letter-spacing: .02em; }
.s-header__strip-place { display: none; }
/* Message masqué (trop long pour la largeur) ou absent : le téléphone se centre au lieu de rester seul à droite. */
.s-header__strip-in--none .s-header__strip-info, .s-header__strip-in--md .s-header__strip-info { margin-inline: auto; }
.s-header__strip-in--md .s-header__strip-msg { display: none; }
@media (max-width: 379.98px) {
  .s-header__strip-in--sm .s-header__strip-info { margin-inline: auto; }
  .s-header__strip-in--sm .s-header__strip-msg { display: none; }
}
@media (min-width: 380px) { .s-header__strip-text--sm { display: block; } }
@media (min-width: 640px) {
  .s-header__strip-text--md { display: block; }
  .s-header__strip-short { display: none; }
  .s-header__strip-in--md .s-header__strip-msg { display: flex; }
  .s-header__strip-in--md .s-header__strip-info { margin-inline: auto 0; }
}
@media (min-width: 1024px) {
  .s-header__strip-in { min-height: 2.375rem; }
  .s-header__strip-info a { min-height: 2.375rem; }
  /* La rangée d'infos peut rétrécir (la zone d'intervention se coupe alors par des points de suspension), le téléphone, lui, garde sa largeur. Sous 1024 px la zone
     est masquée et la rangée garde sa largeur naturelle : rétrécie, elle faisait déborder le numéro de 2 px à 768 px (texte maximal du bandeau). */
  .s-header__strip-info { flex: 0 1 auto; min-width: 0; }
  .s-header__strip-info > li { min-width: 0; }
  .s-header__strip-info > li:last-child { flex: none; }
  .s-header__strip-place { display: inline-flex; align-items: center; gap: .45rem; color: var(--fg-muted); min-width: 0; max-width: min(32rem, 40vw); }
  /* Zone d'intervention très longue (jusqu'à 200 caractères) : elle se coupe par des points de suspension (au plus 32 rem et 40 % de la largeur de l'écran),
     elle ne pousse ni le téléphone ni la page hors de l'écran (le message du bandeau, lui, rétrécit). */
  .s-header__strip-place a { min-width: 0; max-width: 100%; }
  .s-header__strip-place span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .s-header__strip-place a:hover { color: var(--fg); }
}
/* Le panneau du menu mobile s'ouvre sous l'en-tête entier (bandeau compris) : on retire sa hauteur. */
.s-header--bar .s-header__panel { min-height: calc(100svh - 6.75rem); max-height: calc(100svh - 6.75rem); }


/* --- Commun ------------------------------------------------------------- */
.s-hero { --h-max: 2.625rem; --h-slack: 1.04; }
.s-hero__text, .s-hero__head { container-type: inline-size; min-width: 0; }
.s-hero__title {
  --fit: var(--fit4); /* choisi sur le titre lui-même : --fit2/3/4 y sont posés en ligne */
  font-size: min(var(--h-max), calc(100cqi / (var(--fit, 10) * var(--h-slack))));
  line-height: 1.04; max-width: 100%;
}
.s-hero__nb { white-space: nowrap; }
.s-hero__eyebrow { color: var(--link); margin-bottom: 1.25rem; }
.s-hero__lead { margin-top: 1.5rem; max-width: 46ch; }
.s-hero__ctas { margin-top: 2rem; }
.s-hero__facts {
  list-style: none; padding: 1.25rem 0 0; margin-top: 2.25rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: .625rem 1.75rem; font-size: var(--text-small); line-height: 1.35;
}
.s-hero__facts li { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; }
.s-hero__facts li > span { min-width: 0; overflow-wrap: anywhere; }
.s-hero__facts .ico { width: 1.05rem; height: 1.05rem; color: var(--link); stroke-width: 2; }
@media (max-width: 599px) {
  .s-hero__ctas .btn { width: 100%; }
}
@media (min-width: 768px) { .s-hero__title { --fit: var(--fit3); } }
@media (min-width: 1024px) { .s-hero__title { --fit: var(--fit2); } }

/* --- split : texte + photo 4:5 ------------------------------------------ */
.s-hero--split { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.s-hero--split .s-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.s-hero--split .s-hero__media { max-height: 72svh; width: 100%; }
@media (min-width: 768px) {
  .s-hero--split { --h-max: 3.25rem; }
  .s-hero--split .s-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
  .s-hero--split .s-hero__media { max-height: none; }
}
@media (min-width: 1024px) { .s-hero--split { --h-max: var(--text-h1); } }
.s-hero--split.s-hero--nophoto .s-hero__grid { grid-template-columns: minmax(0, 1fr); }
.s-hero--split.s-hero--nophoto .s-hero__text { max-width: 56rem; }

/* --- cover : photo plein cadre, dégradé localisé côté texte -------------- */
/* La photo est posée en absolu dans la 1re rangée : la hauteur vient du cadre, jamais du fichier image. */
.s-hero--cover { --scrim: var(--deep); }
.s-hero--cover .s-hero__frame {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(min(64svh, 32rem), auto) auto;
}
/* Fin de ligne explicite : pour un enfant en absolu, « auto » désignerait le bord du cadre entier. */
.s-hero--cover .s-hero__bg { position: absolute; inset: 0; grid-area: 1 / 1 / 2 / 2; border-radius: 0; }
.s-hero--cover .s-hero__bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--scrim) 92%, transparent) 0%,
    color-mix(in srgb, var(--scrim) 66%, transparent) 32%,
    color-mix(in srgb, var(--scrim) 20%, transparent) 64%,
    transparent 82%);
}
.s-hero--cover .s-hero__content { display: contents; }
.s-hero--cover .s-hero__head {
  grid-row: 1; grid-column: 1; align-self: end; position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-block: 4rem 1.75rem;
  color: var(--on-deep); --link: var(--on-deep);
}
.s-hero--cover .s-hero__eyebrow { opacity: .9; margin-bottom: 1rem; }
.s-hero--cover .s-hero__body {
  grid-row: 2; grid-column: 1;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-block: 1.75rem 3rem;
}
.s-hero--cover .s-hero__body:empty { display: none; }
.s-hero--cover .s-hero__lead { margin-top: 0; }
.s-hero--cover .s-hero__body > .s-hero__ctas:first-child { margin-top: 0; }
.s-hero--cover .s-hero__ctas { margin-top: 1.75rem; }
.s-hero--cover.s-hero--nophoto .s-hero__frame { grid-template-rows: auto auto; }
.s-hero--cover.s-hero--nophoto .s-hero__head { color: var(--fg); --link: var(--link); padding-top: var(--section-y); }

@media (min-width: 768px) {
  .s-hero--cover { --h-max: 3.5rem; }
  .s-hero--cover .s-hero__frame { grid-template-rows: minmax(min(60svh, 34rem), auto) auto; }
}
/* Desktop : titre en bas à gauche, chapô et boutons en colonne à droite, alignés en bas. Le titre reste
   ainsi dans le tiers bas, là où le dégradé est dense (mesuré : contraste ≥ 3:1 sur toute la banque). */
@media (min-width: 1024px) {
  .s-hero--cover { --h-max: var(--text-display); }
  .s-hero--cover .s-hero__frame { grid-template-rows: minmax(clamp(32rem, 78svh, 52rem), auto); }
  .s-hero--cover .s-hero__bg::after {
    background:
      linear-gradient(to top,
        color-mix(in srgb, var(--scrim) 90%, transparent) 0%,
        color-mix(in srgb, var(--scrim) 76%, transparent) 24%,
        color-mix(in srgb, var(--scrim) 54%, transparent) 42%,
        color-mix(in srgb, var(--scrim) 18%, transparent) 62%,
        transparent 78%),
      linear-gradient(to right,
        color-mix(in srgb, var(--scrim) 38%, transparent) 0%,
        color-mix(in srgb, var(--scrim) 14%, transparent) 34%,
        transparent 55%);
  }
  .s-hero--cover .s-hero__content {
    display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: end;
    grid-row: 1; grid-column: 1; align-self: end; position: relative; z-index: 1;
    padding-block: 7rem clamp(3rem, 2rem + 3vw, 4.5rem);
    --fg: var(--on-deep); --fg-muted: color-mix(in srgb, var(--on-deep) 92%, transparent);
    --rule: color-mix(in srgb, var(--on-deep) 28%, transparent); --link: var(--on-deep);
    /* Sur photo : bouton principal clair (lisible sur toute photo), secondaire au filet clair. */
    --btn-bg: var(--on-deep); --btn-fg: var(--deep); --focus: var(--on-deep);
    color: var(--fg);
  }
  .s-hero--cover .s-hero__content .btn--primary:hover { background: color-mix(in srgb, var(--on-deep) 84%, var(--deep)); }
  .s-hero--cover .s-hero__head, .s-hero--cover .s-hero__body { width: auto; margin: 0; padding: 0; grid-row: 1; }
  .s-hero--cover .s-hero__head { grid-column: 1; }
  .s-hero--cover .s-hero__body { grid-column: 2; padding-bottom: .35rem; }
  .s-hero--cover .s-hero__lead { font-size: var(--text-body); max-width: 36ch; }
  .s-hero--cover .s-hero__ctas { margin-top: 1.5rem; }
  .s-hero--cover .s-hero__ctas .btn { padding-inline: 1.25em; }
  .s-hero--cover .s-hero__facts { margin-top: 1.5rem; padding-top: 1rem; }
  .s-hero--cover.s-hero--nophoto .s-hero__content { --fg: inherit; --fg-muted: inherit; --rule: inherit; --link: inherit; --btn-bg: inherit; --btn-fg: inherit; color: inherit; padding-top: var(--section-y); }
  .s-hero--cover.s-hero--nophoto .s-hero__head { color: inherit; }
}

/* --- poster : typographique, titre géant puis bande photo ---------------- */
.s-hero--poster { padding-top: clamp(3rem, 2rem + 5vw, 7rem); }
.s-hero--poster .s-hero__title { line-height: 1; }
.s-hero--poster .s-hero__row { margin-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.s-hero--poster .s-hero__lead { margin-top: 0; }
.s-hero--poster .s-hero__ctas { margin-top: 1.75rem; }
.s-hero--poster .s-hero__facts { margin-top: 1.5rem; padding-top: 0; border-top: 0; }
.s-hero__bandwrap { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) auto 0; }
.s-hero--poster .s-hero__band { aspect-ratio: 3 / 2; }
@media (min-width: 768px) {
  .s-hero--poster { --h-max: 4.5rem; }
  .s-hero--poster .s-hero__band { aspect-ratio: 21 / 9; }
  /* Colonne des boutons : sa largeur naturelle, plafonnée à 45 % (deux boutons à libellé de 40 caractères écrasaient le texte d'introduction à 0 px). */
  .s-hero--poster .s-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(45%); gap: 2rem 4rem; align-items: start; }
  .s-hero--poster .s-hero__aside { display: grid; justify-items: end; }
  .s-hero--poster .s-hero__ctas, .s-hero--poster .s-hero__facts { margin-top: 0; justify-content: flex-end; }
  .s-hero--poster .s-hero__facts { margin-top: 1.25rem; }
}
@media (min-width: 1024px) { .s-hero--poster { --h-max: clamp(4.5rem, 1rem + 6.6vw, 8rem); } }
.s-hero--poster.s-hero--nophoto { padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }

/* --- page : en-tête compact de page intérieure --------------------------- */
.s-hero--page { --h-max: 2.375rem; padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 5rem); }
.s-hero__crumbs {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.25rem;
  font-size: var(--text-small); color: var(--fg-muted);
}
.s-hero__crumbs a { color: inherit; text-underline-offset: .2em; }
.s-hero__crumbs a:hover { color: var(--fg); }
.s-hero__crumbs [aria-current] { color: var(--fg); }
.s-hero--page .s-hero__grid { display: grid; gap: 1.25rem 2.5rem; }
.s-hero--page .s-hero__lead { margin-top: 0; }
.s-hero--page .s-hero__media { margin-top: 1rem; }
@media (min-width: 768px) {
  .s-hero--page { --h-max: 3rem; }
  .s-hero--page.s-hero--nophoto .s-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(2.5rem, 6vw, 6rem); }
  .s-hero--page.s-hero--withphoto .s-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr auto; column-gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
  .s-hero--page.s-hero--withphoto .s-hero__text { grid-column: 1; grid-row: 1; align-self: end; }
  .s-hero--page.s-hero--withphoto .s-hero__lead { grid-column: 1; grid-row: 2; align-self: start; }
  .s-hero--page.s-hero--withphoto .s-hero__media { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .s-hero--page.s-hero--nophoto .s-hero__lead { padding-bottom: .35rem; }
}
@media (min-width: 1024px) { .s-hero--page { --h-max: clamp(2.5rem, 1.5rem + 2.4vw, 3.75rem); } }

/* --- minimal : sans photo, page imprimée (filet de tête, marge, titre très grand) --- */
.s-hero--minimal { padding-block: clamp(2rem, 1rem + 3.5vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.s-hero--minimal .s-hero__sheet { display: grid; grid-template-columns: minmax(0, 1fr); }
.s-hero--minimal .s-hero__margin { display: contents; }
.s-hero--minimal .s-hero__eyebrow { order: 0; margin-bottom: 1.25rem; }
.s-hero--minimal .s-hero__head { order: 1; }
.s-hero--minimal .s-hero__title { line-height: 1; }
.s-hero--minimal .s-hero__lead { margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.s-hero--minimal .s-hero__facts { order: 2; margin-top: 2rem; }
@media (min-width: 768px) { .s-hero--minimal { --h-max: 3.75rem; } }
@media (min-width: 1024px) {
  .s-hero--minimal { --h-max: clamp(4rem, .5rem + 6.2vw, 7rem); }
  .s-hero--minimal .s-hero__sheet { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(2rem, 4vw, 4rem); }
  .s-hero--minimal.s-hero--solo .s-hero__sheet { grid-template-columns: minmax(0, 1fr); }
  /* Marge encadrée de filets : filet de tête au-dessus du surtitre (à hauteur du haut du titre), faits en liste à
     filets en bas (le dernier filet tombe sur le bas des boutons). */
  .s-hero--minimal .s-hero__margin {
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-width: 0;
    border-top: 1px solid var(--rule); padding-top: 1rem;
  }
  .s-hero--minimal .s-hero__eyebrow { margin: 0; }
  .s-hero--minimal .s-hero__facts {
    flex-direction: column; flex-wrap: nowrap; gap: 0; margin-top: auto; padding: 0; border-top: 0;
  }
  .s-hero--minimal .s-hero__facts li { padding-block: .7rem; border-top: 1px solid var(--rule); align-items: flex-start; }
  .s-hero--minimal .s-hero__facts li:last-child { border-bottom: 1px solid var(--rule); }
  .s-hero--minimal .s-hero__facts .ico { margin-top: .1em; }
  .s-hero--minimal .s-hero__lead { max-width: 44ch; }
}

/* --- framed : titre et chapô au-dessus, photo 21:9 cadrée dans le conteneur --- */
.s-hero--framed { padding-block: clamp(2rem, 1rem + 3.5vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.s-hero--framed .s-hero__top { display: grid; grid-template-columns: minmax(0, 1fr); }
.s-hero--framed .s-hero__lead { margin-top: 1.25rem; }
.s-hero--framed .s-hero__ctas { margin-top: 1.75rem; }
.s-hero--framed .s-hero__figure { margin-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.s-hero--framed .s-hero__picture { aspect-ratio: 4 / 3; width: 100%; }
.s-hero--framed .s-hero__facts { margin-top: 1rem; padding-top: 0; border-top: 0; color: var(--fg-muted); }
@media (min-width: 768px) {
  .s-hero--framed { --h-max: 3.25rem; }
  .s-hero--framed .s-hero__picture { aspect-ratio: 21 / 9; }
}
@media (min-width: 1024px) { .s-hero--framed { --h-max: var(--text-h1); } }
/* Deux colonnes seulement quand la colonne de droite peut garder ses deux boutons sur une ligne (≥ 1200 px).
   Titre et colonne chapô + boutons calés en bas : ils reposent sur la même ligne, juste au-dessus de la photo ;
   chapô en taille de texte courant pour que la colonne de droite ne dépasse pas le titre. */
@media (min-width: 1200px) {
  .s-hero--framed .s-hero__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: end; }
  .s-hero--framed.s-hero--solo .s-hero__top { grid-template-columns: minmax(0, 1fr); }
  .s-hero--framed .s-hero__body { padding-bottom: .35rem; }
  .s-hero--framed .s-hero__lead { margin-top: 0; font-size: var(--text-body); max-width: 46ch; }
  .s-hero--framed .s-hero__ctas { margin-top: 1.5rem; }
}


.s.s-infobar { padding-block: clamp(1rem, .5rem + 2vw, 2.25rem); }
.s-infobar__list { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.s-infobar__item { min-width: 0; }
.s-infobar__nb { white-space: nowrap; }
.s-infobar__item + .s-infobar__item { border-top: 1px solid var(--rule); }
.s-infobar__cell {
  display: grid; gap: .3rem; align-content: start; padding-block: 1rem; color: var(--fg); text-decoration: none; height: 100%;
}
.s-infobar__label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-label); font-size: var(--text-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1.3; color: var(--fg-muted); min-width: 0; max-width: 100%;
}
.s-infobar__label > span { min-width: 0; overflow-wrap: anywhere; }
.s-infobar__label .ico { width: 1.15rem; height: 1.15rem; color: var(--link); flex: none; }
.s-infobar__value {
  font-size: 1.0625rem; font-weight: 500; line-height: 1.4; text-wrap: pretty; overflow-wrap: anywhere;
  padding-left: 1.7rem;
}
.s-infobar__cell--link .s-infobar__value {
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--fg) 30%, transparent);
  text-decoration-thickness: 1px; text-underline-offset: .25em; transition: text-decoration-color .2s;
}
.s-infobar__cell--link:hover .s-infobar__value { text-decoration-color: currentColor; }
.s-infobar__cell--link .s-infobar__value { font-variant-numeric: tabular-nums; }

@media (min-width: 640px) and (max-width: 1023px) {
  .s-infobar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .s-infobar__item + .s-infobar__item { border-top: 0; }
  .s-infobar__item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (min-width: 1024px) {
  .s-infobar__list { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .s-infobar__item + .s-infobar__item { border-top: 0; border-left: 1px solid var(--rule); }
  .s-infobar__cell { padding: .5rem clamp(1.25rem, 2.5vw, 2.5rem); }
  .s-infobar__item:first-child .s-infobar__cell { padding-left: 0; }
  .s-infobar__item:last-child .s-infobar__cell { padding-right: 0; }
  .s-infobar__value { padding-left: 0; }
  .s-infobar__label { margin-bottom: .2rem; }
}


/* --num : petits numéros (texte courant, contraste 4,5:1) ; --num-lg : grands chiffres (contraste 3:1 suffit). */
.s-services { --num: var(--link); --num-lg: var(--link); }
.s-services.t-deep { --num: var(--fg-muted); --num-lg: var(--btn-bg); }
.s-services__nw { white-space: nowrap; }

/* En-tête : titre à gauche, chapô à droite calé sur la dernière ligne du titre (desktop). */
.s-services__head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); }
.s-services__eyebrow { color: var(--fg-muted); margin-bottom: .875rem; }
.s-services__title { max-width: 18ch; }
.s-services__intro { max-width: 46ch; }
@media (min-width: 56.25em) {
  .s-services__head--intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--grid-gap); align-items: end; }
  .s-services__head--intro .s-services__intro { padding-bottom: .3em; }
}

.s-services__num {
  font-family: var(--font-label); font-size: var(--text-small); font-weight: 600; line-height: 1;
  letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--num);
}
.s-services__link { color: inherit; text-decoration: none; }
.s-services__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.s-services__link:focus-visible { outline: none; }
.s-services .is-link:has(.s-services__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.s-services__arrow { color: var(--num-lg); display: inline-flex; transition: transform .2s; }
.s-services__arrow .ico { width: 1.25rem; height: 1.25rem; }
.is-link:hover .s-services__arrow { transform: translateX(.25rem); }

.s-services__more { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.s-services__morelink {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-weight: 600; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.s-services__morelink .ico { width: 1.1em; height: 1.1em; transition: transform .2s; }
.s-services__morelink:hover .ico { transform: translateX(.2rem); }

/* --- table ---------------------------------------------------------------- */
.s-services__table { list-style: none; padding: 0; border-bottom: 1px solid var(--rule); }
.s-services__trow {
  position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  column-gap: .75rem; row-gap: .4rem; align-items: baseline;
  padding-block: 1.25rem 1.375rem; border-top: 1px solid var(--rule);
}
.s-services__trow .s-services__num { grid-column: 1; grid-row: 1; }
.s-services__ttitle { grid-column: 2; grid-row: 1; }
.s-services__ttext { grid-column: 2 / -1; color: var(--fg-muted); max-width: 48ch; text-wrap: pretty; }
.s-services__trow .s-services__arrow { grid-column: 3; grid-row: 1; align-self: center; }
.s-services__trow.is-link { transition: background-color .2s; }
.s-services__trow.is-link:hover { background: color-mix(in srgb, var(--fg) 4%, transparent); }
@media (min-width: 56.25em) {
  .s-services__trow {
    grid-template-columns: 2.75rem minmax(0, 5fr) minmax(0, 6fr) 2.5rem; column-gap: var(--grid-gap);
    padding-block: clamp(1.5rem, 1rem + 1vw, 2rem);
  }
  .s-services__ttext { grid-column: 3; grid-row: 1; }
  .s-services__trow .s-services__arrow { grid-column: 4; justify-self: end; }
  .s-services__trow.is-link:hover { background: transparent; }
}

/* --- cards-photo ----------------------------------------------------------- */
.s-services__cards { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(2.5rem, 2rem + 2vw, 3.5rem); column-gap: var(--grid-gap); }
.s-services__card { position: relative; display: flex; flex-direction: column; }
.s-services__cbody { padding-top: 1.125rem; }
.s-services__ctitle { max-width: 22ch; }
.s-services__ctext { margin-top: .5rem; color: var(--fg-muted); max-width: 44ch; text-wrap: pretty; overflow-wrap: anywhere; }
.s-services__card .media > img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.s-services__card.is-link:hover .media > img { transform: scale(1.03); }
.s-services__card.is-link:hover .s-services__ctitle { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.s-services__tile {
  position: relative; display: flex; align-items: flex-end; padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg) 5%, var(--bg)); border: 1px solid var(--rule);
}
.s-services__tile span {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-size: var(--text-display); line-height: .8; color: var(--num-lg); font-variant-numeric: tabular-nums;
}
@media (min-width: 48em) {
  .s-services__cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .s-services__card--w1 { grid-column: 1 / span 4; }
  .s-services__card--w2 { grid-column: span 3; }
  .s-services__card--w3 { grid-column: span 2; }
}

/* --- rows ------------------------------------------------------------------ */
.s-services__rows { list-style: none; padding: 0; display: grid; row-gap: clamp(3rem, 2rem + 4vw, 6rem); }
.s-services__row { position: relative; display: grid; gap: 1.25rem; }
.s-services__rbody { display: grid; gap: .75rem; align-content: center; justify-items: start; }
.s-services__rtitle { font-size: calc((var(--text-h2) + var(--text-h3)) / 2); line-height: 1.15; max-width: 18ch; }
.s-services__rtext { color: var(--fg-muted); max-width: 42ch; text-wrap: pretty; }
.s-services__rbody .s-services__num { margin-bottom: .25rem; }
.s-services__tarrow { display: inline-flex; vertical-align: middle; margin-left: .35em; color: var(--num-lg); transition: transform .2s; }
.s-services__tarrow .ico { width: .8em; height: .8em; stroke-width: 2; }
.is-link:hover .s-services__tarrow { transform: translateX(.2rem); }
.s-services__row--text { padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-top: 1px solid var(--rule); }
.s-services__row .media > img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.s-services__row.is-link:hover .media > img { transform: scale(1.03); }
@media (min-width: 56.25em) {
  .s-services__row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: center; }
  .s-services__rmedia { grid-column: 1 / span 7; grid-row: 1; }
  .s-services__row .s-services__rbody { grid-column: 9 / span 4; grid-row: 1; }
  .s-services__row--flip .s-services__rmedia { grid-column: 6 / span 7; }
  .s-services__row--flip .s-services__rbody { grid-column: 1 / span 4; }
  .s-services__row--text .s-services__rbody { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: baseline; }
  .s-services__row--text .s-services__num { grid-column: 1 / span 1; margin: 0; }
  .s-services__row--text .s-services__rtitle { grid-column: 2 / span 5; }
  .s-services__row--text .s-services__rtext { grid-column: 8 / span 5; }
}

/* --- Vague 2 : numéros et flèches via les jetons d'accent du socle (tint garde l'accent, deep inchangé). */
.s-services.s-services--index, .s-services.s-services--featured { --num: var(--accent-fg); --num-lg: var(--accent-fg-lg); }

/* --- index (vague 2) : sommaire en 2 colonnes ------------------------------ */
.s-services__index { list-style: none; padding: 0; --ititle: clamp(1.375rem, 1.05rem + 1.4vw, 2.25rem); }
.s-services__index--dense { --ititle: var(--text-h3); }
.s-services__ientry {
  position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  column-gap: .75rem; align-items: baseline; align-content: start;
  padding-block: clamp(1.125rem, .85rem + 1vw, 1.75rem); border-bottom: 1px solid var(--rule);
}
.s-services__ientry:first-child { border-top: 1px solid var(--rule); }
.s-services__ititle { font-size: var(--ititle); line-height: 1.12; max-width: 19ch; }
.s-services__index--dense .s-services__ititle { line-height: var(--leading-h3); max-width: 24ch; }
.s-services__itext { margin-top: .5rem; color: var(--fg-muted); max-width: 40ch; text-wrap: pretty; }
.s-services__iarrow { padding-left: .5rem; }
.s-services__ientry.is-link:hover .s-services__ititle { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
@media (min-width: 56.25em) {
  .s-services__index {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(var(--rows, 1), auto); grid-auto-flow: column;
    column-gap: clamp(3rem, 1rem + 5vw, 6.5rem);
  }
  .s-services__ientry { grid-template-columns: 2.75rem minmax(0, 1fr) auto; }
  .s-services__ientry.is-coltop { border-top: 1px solid var(--rule); }
}

/* --- featured (vague 2) : une prestation à la une, les autres en liste ----- */
.s-services__feat { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.s-services__fmedia { aspect-ratio: 3 / 2; }
.s-services__flead { position: relative; }
.s-services__flead > .s-services__num { display: block; margin-bottom: .875rem; }
.s-services__fbig {
  display: block; margin-bottom: clamp(1rem, .6rem + 1.5vw, 1.75rem);
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-size: var(--text-display); line-height: .8; color: var(--num-lg); font-variant-numeric: tabular-nums lining-nums;
}
.s-services__ftitle { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); line-height: 1.1; max-width: 20ch; }
.s-services__flead.is-link:hover .s-services__ftitle { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.s-services__ftext { margin-top: clamp(1rem, .8rem + .6vw, 1.375rem); max-width: 40em; text-wrap: pretty; }
.s-services__ftext > p + p { margin-top: 1em; color: var(--fg-muted); }
.s-services__ftext > p:first-child { font-size: var(--text-lead); line-height: 1.55; }
.s-services__flist { list-style: none; padding: 0; }
.s-services__frow {
  position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  column-gap: .75rem; row-gap: .375rem; align-items: baseline; align-content: start;
  padding-block: 1.125rem 1.25rem; border-bottom: 1px solid var(--rule);
}
.s-services__frow:first-child { border-top: 1px solid var(--rule); }
.s-services__frow .s-services__num { grid-column: 1; grid-row: 1; }
.s-services__frtitle { grid-column: 2; grid-row: 1; font-size: var(--text-h4); line-height: var(--leading-h3); }
.s-services__frow .s-services__arrow { grid-column: 3; grid-row: 1; align-self: center; }
.s-services__frtext { grid-column: 2 / -1; color: var(--fg-muted); max-width: 46ch; text-wrap: pretty; }
.s-services__frow.is-link:hover .s-services__frtitle { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (min-width: 56.25em) {
  .s-services__feat { column-gap: clamp(3rem, 1rem + 5vw, 7rem); row-gap: clamp(2.25rem, 1.5rem + 2vw, 3.25rem); align-items: start; }
  .s-services__feat--photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; }
  .s-services__feat--photo .s-services__fmedia { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 2rem); }
  .s-services__feat--photo .s-services__flead, .s-services__feat--photo .s-services__flist { grid-column: 2; }
  .s-services__feat--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .s-services__feat--wide .s-services__fmedia { aspect-ratio: 3 / 2; position: static; }
  /* 5-6 items : la liste passe dessous, sur les mêmes colonnes que la photo et le texte. */
  .s-services__feat--below { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto auto; }
  .s-services__feat--below .s-services__fmedia { grid-row: 1; aspect-ratio: 3 / 2; position: static; }
  .s-services__feat--below .s-services__flist {
    grid-column: 1 / -1; grid-row: 2; display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: repeat(var(--rows, 1), auto);
    grid-auto-flow: column; column-gap: clamp(3rem, 1rem + 5vw, 7rem);
  }
  .s-services__feat--below .s-services__frow.is-coltop { border-top: 1px solid var(--rule); }
  .s-services__feat--text { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .s-services__feat--text .s-services__flist { grid-column: 2; grid-row: 1; }
  .s-services__feat--text.s-services__feat--solo { grid-template-columns: minmax(0, 1fr); }
  .s-services__frow { padding-block: 1.375rem 1.5rem; }
}


.s-split { --num: var(--link); }
.s-split.t-deep { --num: var(--btn-bg); }
.s-split__nw { white-space: nowrap; }

/* --- image / image-list -------------------------------------------------- */
.s-split__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; row-gap: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.s-split__head { grid-area: head; }
.s-split__media { grid-area: media; }
.s-split__body { grid-area: body; }
.s-split__eyebrow { color: var(--fg-muted); margin-bottom: .875rem; }
.s-split__title { max-width: 16ch; }
.s-split__text { max-width: 36em; text-wrap: pretty; }
.s-split__text > p + p { margin-top: 1em; }
.s-split__text > p:first-child { font-size: var(--text-lead); line-height: 1.55; }
.s-split__text > p:not(:first-child) { color: var(--fg-muted); }
.s-split__grid--nomedia { grid-template-areas: "head" "body"; }

.s-split__list { list-style: none; padding: 0; margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); max-width: 36em; border-bottom: 1px solid var(--rule); }
.s-split__list li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .875rem; align-items: start; padding-block: .9rem; border-top: 1px solid var(--rule); font-weight: 500; line-height: 1.45; }
.s-split__check { width: 1.25rem; height: 1.25rem; margin-top: .1em; color: var(--num); stroke-width: 2; }

.s-split__more { margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.s-split__morelink {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-weight: 600; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.s-split__morelink .ico { width: 1.1em; height: 1.1em; transition: transform .2s; }
.s-split__morelink:hover .ico { transform: translateX(.2rem); }

@media (min-width: 56.25em) {
  .s-split__grid { column-gap: clamp(3rem, 1rem + 5vw, 7rem); row-gap: 0; grid-template-rows: 1fr auto auto 1fr; }
  .s-split__grid--right { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: ". media" "head media" "body media" ". media"; }
  .s-split__grid--left { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "media ." "media head" "media body" "media ."; }
  .s-split__grid--right .s-split__body, .s-split__grid--left .s-split__body { padding-top: clamp(1.5rem, 1rem + 1vw, 2.25rem); }
  .s-split__grid--nomedia { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto; grid-template-areas: "head body"; align-items: start; }
  .s-split__grid--nomedia .s-split__body { padding-top: .5rem; }
}

/* --- quote ----------------------------------------------------------------- */
.s-split--quote { padding-block: calc(var(--section-y) * 1.4); }
.s-split__qwrap { display: grid; justify-items: center; text-align: center; }
.s-split__figure { max-width: 26ch; font-size: var(--text-h2); }
.s-split__quote p {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case); font-size: 1em; line-height: 1.18; text-wrap: balance; overflow-wrap: anywhere;
}
.s-split__quote em { font-style: italic; }
.s-split__by {
  display: inline-grid; justify-items: center; gap: .875rem; margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  font-family: var(--font-body); font-size: var(--text-small); font-weight: 500; letter-spacing: .02em; line-height: 1.4; color: var(--fg-muted);
}
.s-split__by::before { content: ''; width: 2.5rem; border-top: 1px solid var(--num); }
.s-split__qwrap--long .s-split__figure { font-size: calc((var(--text-h2) + var(--text-h3)) / 2); max-width: 30ch; }
@media (min-width: 56.25em) { .s-split__figure { max-width: 24ch; } .s-split__qwrap--long .s-split__figure { max-width: 34ch; } }

/* --- stacked (vague 2) : photo panoramique, puis titre | texte -------------- */
.s-split.s-split--stacked { --num: var(--accent-fg-lg); }
.s-split__stack { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "head" "body"; row-gap: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.s-split__stack--nomedia { grid-template-areas: "head" "body"; }
.s-split__smedia { aspect-ratio: 3 / 2; }
.s-split__stack .s-split__title { max-width: 20ch; }
@media (min-width: 56.25em) {
  .s-split__stack {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "media media" "head body";
    column-gap: clamp(3rem, 1rem + 5vw, 7rem); row-gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); align-items: start;
  }
  .s-split__stack--nomedia { grid-template-areas: "head body"; }
  .s-split__smedia { aspect-ratio: 21 / 9; }
  .s-split__stack .s-split__body { padding-top: .5rem; }
  /* Surtitre : le texte démarre à hauteur du titre, pas du surtitre. */
  .s-split__stack--eyebrow .s-split__body { padding-top: calc(.5rem + var(--text-label) * 1.3 + .875rem); }
}


.s-commitments { --num: var(--link); }
.s-commitments.t-deep { --num: var(--fg-muted); }
.s-commitments__nw { white-space: nowrap; }

.s-commitments__head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); }
.s-commitments__title { max-width: 18ch; }
.s-commitments__intro { max-width: 46ch; }
@media (min-width: 56.25em) {
  .s-commitments__head--intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--grid-gap); align-items: end; }
  .s-commitments__head--intro .s-commitments__intro { padding-bottom: .3em; }
}

/* --- bento ----------------------------------------------------------------- */
.s-commitments__bento { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(.75rem, .5rem + .8vw, 1.25rem); }
.s-commitments__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem;
  padding: clamp(1.375rem, 1rem + 1.4vw, 2.25rem);
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--rule) 60%, transparent);
}
.s-commitments__idx { font-family: var(--font-label); font-size: var(--text-small); font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--num); }
.s-commitments__idx span { color: var(--fg-muted); opacity: .7; font-weight: 500; margin-left: .15em; }
.s-commitments__ctitle { max-width: 20ch; }
.s-commitments__ctext { margin-top: .625rem; color: var(--fg-muted); max-width: 40ch; text-wrap: pretty; }
/* Carte principale inversée : seules les variables du thème, pour rester juste sur les 5 thèmes. */
.s-commitments__card--lead { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.s-commitments__card--lead .s-commitments__idx, .s-commitments__card--lead .s-commitments__idx span { color: color-mix(in srgb, var(--bg) 72%, var(--fg)); }
.s-commitments__card--lead .s-commitments__ctext { color: color-mix(in srgb, var(--bg) 80%, var(--fg)); }
/* Sur deep, une carte claire écraserait la section : la carte principale est un ton d'accent mêlé au fond. */
.s-commitments.t-deep .s-commitments__card--lead { background: color-mix(in srgb, var(--btn-bg) 26%, var(--bg)); color: var(--fg); border-color: color-mix(in srgb, var(--btn-bg) 40%, var(--bg)); }
.s-commitments.t-deep .s-commitments__card--lead .s-commitments__idx, .s-commitments.t-deep .s-commitments__card--lead .s-commitments__idx span { color: var(--fg-muted); }
.s-commitments.t-deep .s-commitments__card--lead .s-commitments__ctext { color: var(--fg-muted); }
.s-commitments__card--lead .s-commitments__ctitle { font-size: calc((var(--text-h2) + var(--text-h3)) / 2); line-height: 1.15; max-width: 16ch; }

@media (min-width: 40em) { .s-commitments__card { min-height: 12rem; gap: 2.5rem; } }
@media (min-width: 40em) and (max-width: 56.2em) {
  .s-commitments__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-commitments__card--lead { grid-column: 1 / -1; }
  .s-commitments__card:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (min-width: 56.25em) {
  .s-commitments__bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(13.5rem, auto); }
  .s-commitments__bento > .s-commitments__card { grid-column: span 4; }
  /* 2 : 7 / 5 */
  .s-commitments__bento--n2 > :nth-child(1) { grid-column: 1 / span 7; }
  .s-commitments__bento--n2 > :nth-child(2) { grid-column: 8 / span 5; }
  /* 3 : une grande à gauche sur deux rangées, deux empilées à droite */
  .s-commitments__bento--n3 > :nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .s-commitments__bento--n3 > :nth-child(2) { grid-column: 8 / span 5; grid-row: 1; }
  .s-commitments__bento--n3 > :nth-child(3) { grid-column: 8 / span 5; grid-row: 2; }
  /* 4 : damier 7/5 puis 5/7 */
  .s-commitments__bento--n4 > :nth-child(1) { grid-column: 1 / span 7; }
  .s-commitments__bento--n4 > :nth-child(2) { grid-column: 8 / span 5; }
  .s-commitments__bento--n4 > :nth-child(3) { grid-column: 1 / span 5; }
  .s-commitments__bento--n4 > :nth-child(4) { grid-column: 6 / span 7; }
  /* 5 : une grande à gauche, 2 x 2 à droite */
  .s-commitments__bento--n5 > :nth-child(1) { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .s-commitments__bento--n5 > :nth-child(n+2) { grid-column: span 3; }
  /* 6 : 3 + 3 (span 4 par défaut) */
}

/* --- bento-photo : photo de fond facultative par carte ----------------------- */
/* Seules les cartes qui ont une photo changent (classe --photo) : les autres gardent le style de bento, à côté.
   La photo est posée en absolu derrière le contenu (la hauteur vient de la carte, jamais du fichier) ; le voile --scrim (teinte « deep » du
   thème) assombrit toute la carte, davantage en bas, où se lit le texte : texte clair du thème (--on-deep), comme le hero « cover ».
   Le fond de la carte est déjà sombre : pendant le chargement différé de la photo, ou si elle ne charge pas, le texte reste lisible.
   Mesuré (30/10/2026) sur les 230 photos de la banque, dans 15 formats de carte (de 280 x 224 à 692 x 584, 320 à 1440 px, titre de 100
   caractères et texte de 400 caractères compris) : texte clair contre les pixels réels derrière lui, au moins 4,98:1 pour le numéro,
   6,65:1 pour les titres et 7,64:1 pour les textes (95 % des pixels) ; le pixel le plus clair reste au-dessus de 4,9:1.
   Spécificité (0,3,0) pour passer devant la carte principale inversée et son jeu t-deep, qui sont plus haut dans la feuille. */
.s-commitments.s-commitments--bento-photo .s-commitments__card--photo {
  position: relative; isolation: isolate; overflow: hidden; min-height: 14rem;
  --scrim: var(--deep); --fg: var(--on-deep); --fg-muted: color-mix(in srgb, var(--on-deep) 94%, transparent); --num: color-mix(in srgb, var(--on-deep) 88%, transparent);
  background: var(--deep); color: var(--on-deep); border-color: transparent;
}
.s-commitments__bg.media { position: absolute; inset: 0; z-index: -1; border-radius: 0; background: var(--deep); }
.s-commitments__bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--scrim) 92%, transparent) 0%,
    color-mix(in srgb, var(--scrim) 80%, transparent) 45%,
    color-mix(in srgb, var(--scrim) 70%, transparent) 100%);
}
.s-commitments.s-commitments--bento-photo .s-commitments__card--photo .s-commitments__idx,
.s-commitments.s-commitments--bento-photo .s-commitments__card--photo .s-commitments__idx span { color: var(--num); opacity: 1; }
.s-commitments.s-commitments--bento-photo .s-commitments__card--photo .s-commitments__ctext { color: var(--fg-muted); }
@media (min-width: 40em) { .s-commitments.s-commitments--bento-photo .s-commitments__card--photo { min-height: 12rem; } }

/* --- facts ----------------------------------------------------------------- */
.s-commitments__facts .s-commitments__head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.s-commitments__table { border-top: 2px solid var(--fg); border-bottom: 1px solid var(--rule); }
.s-commitments__row { display: grid; gap: .25rem; padding-block: 1rem 1.125rem; }
.s-commitments__row + .s-commitments__row { border-top: 1px solid var(--rule); }
.s-commitments__row dt {
  font-family: var(--font-label); font-size: var(--text-label); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.35; color: var(--fg-muted);
}
.s-commitments__row dd {
  margin: 0; font-size: var(--text-lead); font-weight: 500; line-height: 1.4;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-wrap: pretty;
}
@media (min-width: 40em) {
  .s-commitments__row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--grid-gap); align-items: baseline; padding-block: 1.25rem; }
}
@media (min-width: 56.25em) {
  .s-commitments__facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
  .s-commitments__facts .s-commitments__head { margin-bottom: 0; }
}


.s-zone { --num: var(--link); }
.s-zone.t-deep { --num: var(--btn-bg); }
.s-zone__nw { white-space: nowrap; }
.s-zone__title { max-width: 16ch; }

/* --- table ----------------------------------------------------------------- */
.s-zone__grid { display: grid; row-gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.s-zone__head { display: grid; gap: 1rem; align-content: start; }
.s-zone__intro { max-width: 40ch; }
.s-zone__base { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; font-weight: 600; }
.s-zone__base .ico { color: var(--num); width: 1.25rem; height: 1.25rem; }
.s-zone__baselabel { font-weight: 400; color: var(--fg-muted); }

.s-zone__list { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--grid-gap); border-bottom: 1px solid var(--rule); }
.s-zone__list--many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-zone__place {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; row-gap: .1rem;
  padding-block: .875rem .95rem; border-top: 1px solid var(--rule);
}
.s-zone__name {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: calc(var(--heading-tracking) / 2);
  text-transform: var(--heading-case); font-size: var(--text-lead); line-height: 1.3; overflow-wrap: anywhere; min-width: 0;
}
.s-zone__dist { margin-left: auto; font-size: var(--text-small); color: var(--fg-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-zone__pin { align-self: center; width: 1.1rem; height: 1.1rem; color: var(--num); margin-right: -.25rem; }
.s-zone__list--many .s-zone__dist { margin-left: 0; flex-basis: 100%; }
.s-zone__note { margin-top: 1.5rem; color: var(--fg-muted); max-width: 52ch; text-wrap: pretty; }

@media (min-width: 40em) {
  .s-zone__list--many .s-zone__dist { margin-left: auto; flex-basis: auto; }
}
@media (min-width: 56.25em) {
  .s-zone__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(3rem, 1rem + 6vw, 8rem); align-items: start; }
  .s-zone__head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .s-zone__list--c1 { grid-template-columns: minmax(0, 1fr); }
  .s-zone__list--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-zone__place { padding-block: 1.05rem 1.15rem; }
  .s-zone__note { margin-top: 2rem; }
}

/* --- text ------------------------------------------------------------------ */
.s-zone__tgrid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
.s-zone__text { max-width: 40em; text-wrap: pretty; }
.s-zone__text > p:first-child { font-size: var(--text-lead); line-height: 1.55; }
.s-zone__text > p + p { margin-top: 1em; color: var(--fg-muted); }
.s-zone__tbody .s-zone__inline {
  list-style: none; padding: 1.75rem 0 0; margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); border-top: 1px solid var(--rule);
  max-width: 34em; text-wrap: pretty;
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: calc(var(--heading-tracking) / 2);
  text-transform: var(--heading-case); font-size: var(--text-h3); line-height: 1.35;
}
.s-zone__inline li { display: inline; }
.s-zone__and { font-weight: 400; color: var(--fg-muted); }
@media (min-width: 56.25em) {
  .s-zone__tgrid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 1rem + 6vw, 8rem); align-items: start; }
  .s-zone__tbody { padding-top: .5rem; }
}


.s-process { --num: var(--link); }
.s-process.t-deep { --num: var(--btn-bg); }
.s-process__nw { white-space: nowrap; }

.s-process__head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 1.8rem + 2.8vw, 4.5rem); }
.s-process__title { max-width: 18ch; }
.s-process__intro { max-width: 46ch; }
@media (min-width: 56.25em) {
  .s-process__head--intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--grid-gap); align-items: end; }
  .s-process__head--intro .s-process__intro { padding-bottom: .3em; }
}

/* Gros chiffres : police des titres, couleur d'accent lisible sur le thème, chiffres alignés. */
.s-process__num {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-variant-numeric: lining-nums tabular-nums; line-height: .8; color: var(--num);
}

/* --- steps ----------------------------------------------------------------- */
.s-process__steps { list-style: none; padding: 0; display: grid; border-bottom: 1px solid var(--rule); }
.s-process__step {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; align-items: baseline; align-content: start;
  padding-block: 1.5rem 1.75rem; border-top: 1px solid var(--rule);
}
.s-process__step .s-process__num { font-size: var(--text-h2); }
.s-process__step-title { max-width: 20ch; }
.s-process__step-text { margin-top: .5rem; color: var(--fg-muted); max-width: 40ch; text-wrap: pretty; }
@media (min-width: 56.25em) {
  .s-process__steps { border-bottom: 0; column-gap: var(--grid-gap); row-gap: clamp(2.5rem, 4vw, 3.5rem); }
  .s-process__steps--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-process__steps--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-process__steps--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .s-process__steps--c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .s-process__step { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding: 0; border-top: 0; align-items: start; }
  .s-process__step .s-process__num {
    display: block; font-size: var(--text-h1); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) 0 clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
    border-top: 1px solid var(--rule);
  }
  .s-process__step-text { margin-top: .625rem; }
}

/* --- timeline -------------------------------------------------------------- */
.s-process__tllist { list-style: none; padding: 0; }
.s-process__tlitem { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.s-process__tlitem:last-child { padding-bottom: 0; }
.s-process__tlitem .s-process__num { font-size: var(--text-h2); text-align: center; padding-top: .05em; }
/* Filet vertical : part sous le chiffre, rejoint l'étape suivante. */
.s-process__tlitem::before {
  content: ''; position: absolute; left: 1.75rem; top: calc(var(--text-h2) + .9rem); bottom: .6rem;
  border-left: 1px solid var(--rule);
}
.s-process__tlitem:last-child::before { display: none; }
.s-process__tlitem-body { padding-top: .2em; }
.s-process__tlitem-title { max-width: 24ch; }
.s-process__tlitem-text { margin-top: .5rem; color: var(--fg-muted); max-width: 46ch; text-wrap: pretty; }
@media (min-width: 56.25em) {
  .s-process__tl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
  .s-process__tlhead { position: sticky; top: calc(var(--header-h) + 2rem); grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
  .s-process__tlhead .s-process__intro { padding-bottom: 0; }
  .s-process__tlitem { grid-template-columns: 5rem minmax(0, 1fr); column-gap: 1.5rem; }
  .s-process__tlitem::before { left: 2.5rem; }
}


.s-gallery__head { display: grid; gap: 1rem 2rem; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.s-gallery__title { max-width: 18ch; }
.s-gallery__intro { max-width: 44ch; }
@media (min-width: 900px) {
  .s-gallery__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .s-gallery__intro { justify-self: end; }
}
.s-gallery .media { min-height: 0; margin: 0; }
.s-gallery .media > img { position: absolute; inset: 0; }

/* ---- mosaic : mobile d'abord (2 colonnes, pleine largeur en tête) ---- */
.s-gallery__mosaic { display: grid; gap: var(--g-gap); --g-gap: clamp(.5rem, .3rem + .6vw, .875rem); }
.s-gallery__grid { display: grid; gap: var(--g-gap); }
@media (max-width: 639.98px) {
  .s-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-gallery__item { aspect-ratio: 4 / 5; }
  .s-gallery__item.is-full { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

@media (min-width: 640px) {
  .s-gallery__item--a { grid-area: a; } .s-gallery__item--b { grid-area: b; } .s-gallery__item--c { grid-area: c; }
  .s-gallery__item--d { grid-area: d; } .s-gallery__item--e { grid-area: e; } .s-gallery__item--f { grid-area: f; }
  .s-gallery__grid { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .s-gallery__grid--n1 { grid-template: "a" minmax(0, 1fr) / minmax(0, 1fr); aspect-ratio: 21 / 9; }
  .s-gallery__grid--n2 { grid-template: "a b" minmax(0, 1fr) / minmax(0, 3fr) minmax(0, 2fr); aspect-ratio: 2 / 1; }
  .s-gallery__grid--n3 { grid-template-areas: "a b" "a c"; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); aspect-ratio: 16 / 9; }
  .s-gallery__grid--n4 { grid-template-areas: "a b c" "a d d"; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); aspect-ratio: 16 / 9; }
  .s-gallery__grid--n5 { grid-template-areas: "a b b c" "d d e c"; grid-template-columns: repeat(4, minmax(0, 1fr)); aspect-ratio: 2 / 1; }
  .s-gallery__grid--n6 { grid-template-areas: "a a b c" "a a d e" "f f f f"; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr 1fr 1.25fr; aspect-ratio: 4 / 3; }
  /* Bloc suivant : miroir, pour ne pas répéter la même composition */
  .s-gallery__grid--flip.s-gallery__grid--n3 { grid-template-areas: "b a" "c a"; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .s-gallery__grid--flip.s-gallery__grid--n4 { grid-template-areas: "b c a" "d d a"; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); }
  .s-gallery__grid--flip.s-gallery__grid--n5 { grid-template-areas: "c b b a" "c e d d"; }
  .s-gallery__grid--flip.s-gallery__grid--n6 { grid-template-areas: "b c a a" "d e a a" "f f f f"; }
}

/* ---- strip : bande horizontale, alignée sur le conteneur, déborde à droite ---- */
.s-gallery__strip {
  --s-pad: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex; gap: clamp(.625rem, .4rem + .8vw, 1rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--s-pad); scroll-padding-inline: var(--s-pad); padding-bottom: 1rem;
  scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
}
.s-gallery__strip:focus-visible { outline-offset: -2px; }
.s-gallery__slide { flex: none; height: clamp(17rem, 12rem + 18vw, 32rem); aspect-ratio: 4 / 5; scroll-snap-align: start; }
.s-gallery__slide.is-wide { aspect-ratio: 3 / 2; max-width: 82vw; }
.s-gallery__strip::-webkit-scrollbar { height: 6px; }
.s-gallery__strip::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }


/* --- Commun ---------------------------------------------------------------- */
.s.s-ribbon { padding-block: 0; overflow-x: clip; --ribbon-mark: var(--mark); }
.s-ribbon.t-accent { --ribbon-mark: var(--fg-muted); }
/* Section d'ornement : pas de transition dessinée ni de motif de l'habillage à l'intérieur. */
.s-ribbon > .decor-edge, .s-ribbon > .decor-motif { display: none !important; }
.s-ribbon__inner { container: ribbon / inline-size; }
.s-ribbon__glyph { display: block; flex: none; width: var(--gs, .5em); height: var(--gs, .5em); fill: currentColor; color: var(--ribbon-mark); }
.s-ribbon__glyph--star { --gs: .5em; } .s-ribbon__glyph--dot { --gs: .26em; } .s-ribbon__glyph--point { --gs: .17em; }
.s-ribbon__glyph--cross { --gs: .34em; } .s-ribbon__glyph--diamond { --gs: .32em; } .s-ribbon__glyph--ring { --gs: .36em; }
.s-ribbon__glyph--asterisk { --gs: .46em; }

/* --- Bandeau (marquee et static) : mots en police de titre -------------------- */
.s-ribbon__band { position: relative; background: var(--bg); padding-block: clamp(.8rem, .5rem + 1vw, 1.375rem); }
.s-ribbon.t-light .s-ribbon__band, .s-ribbon--tilt.t-alt .s-ribbon__band, .s-ribbon--tilt.t-tint .s-ribbon__band { border-block: 1px solid var(--rule); }
/* Bandeau droit : pas de filet là où le voisin change déjà de fond (le bord du fond suffit). */
.s-ribbon.t-light:not(.s-ribbon--tilt):has(+ :is(.t-alt, .t-tint, .t-deep, .t-accent)) .s-ribbon__band { border-bottom-color: transparent; }
:is(.t-alt, .t-tint, .t-deep, .t-accent) + .s-ribbon.t-light:not(.s-ribbon--tilt) .s-ribbon__band { border-top-color: transparent; }
/* Mobile : coupe « m » (lignes ≤ 14,5 em) ; grand écran (palier) : coupe « d ». Taille ajustée à la ligne la plus longue. */
.s-ribbon__list {
  list-style: none; padding: 0; margin-inline: auto; width: min(100% - 2 * var(--gutter), var(--container));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center;
  font-size: clamp(1.125rem, calc(min(100cqi - 2 * var(--gutter), var(--container)) * .92 / var(--w, var(--wm))), clamp(1.625rem, 1rem + 2.6vw, 3rem));
}
.s-ribbon__item { display: flex; align-items: center; min-width: 0; max-width: 100%; padding-block: .05em; }
.s-ribbon__word {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case); font-optical-sizing: auto; line-height: 1.15;
  white-space: var(--ws, normal); text-wrap: balance; overflow-wrap: anywhere; min-width: 0;
}
.s-ribbon__word em { font-style: var(--heading-em, italic); font-synthesis: none; }
/* Un mot sur deux en italique (sérifs à vrai italique, choisi côté serveur ; --heading-em vaut normal sinon). */
.s-ribbon__item.is-alt .s-ribbon__word { font-style: var(--heading-em, italic); font-synthesis: none; }
.s-ribbon__sep { margin-inline: 0.5em; }
.s-ribbon__item.is-end-m > .s-ribbon__sep { display: var(--sm, none); }
.s-ribbon__item.is-end-d > .s-ribbon__sep { display: var(--sd, block); }
.s-ribbon__item.is-end-m.is-end-d > .s-ribbon__sep { display: none; }
.s-ribbon__br { flex-basis: 100%; height: 0; }
.s-ribbon__br--m { display: var(--bm, block); }
.s-ribbon__br--d { display: var(--bd, none); }
@container ribbon (min-width:119px){.s-ribbon--fit4 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:158px){.s-ribbon--fit6 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:197px){.s-ribbon--fit8 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:236px){.s-ribbon--fit10 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:275px){.s-ribbon--fit12 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:314px){.s-ribbon--fit14 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:354px){.s-ribbon--fit16 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:393px){.s-ribbon--fit18 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:435px){.s-ribbon--fit20 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:479px){.s-ribbon--fit22 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:522px){.s-ribbon--fit24 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:566px){.s-ribbon--fit26 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:609px){.s-ribbon--fit28 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:653px){.s-ribbon--fit30 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:696px){.s-ribbon--fit32 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:740px){.s-ribbon--fit34 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:783px){.s-ribbon--fit36 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:824px){.s-ribbon--fit38 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:863px){.s-ribbon--fit40 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:902px){.s-ribbon--fit42 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:941px){.s-ribbon--fit44 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}
@container ribbon (min-width:980px){.s-ribbon--fit46 .s-ribbon__list{--w:var(--wd);--bm:none;--bd:block;--sm:block;--sd:none;--ws:nowrap}}

/* --- static : respiration ------------------------------------------------------ */
.s-ribbon--static .s-ribbon__band { padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
@media (prefers-reduced-motion: reduce) { .s-ribbon--marquee .s-ribbon__band { padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem); } }

/* --- marquee : défilement seulement si le visiteur accepte les animations -------- */
.s-ribbon__list[aria-hidden="true"], .s-ribbon__pause { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .s-ribbon--marquee .s-ribbon__viewport {
    overflow-x: clip;
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--fg) 4%, var(--fg) 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, var(--fg) 4%, var(--fg) 96%, transparent);
  }
  .s-ribbon--marquee .s-ribbon__track { display: flex; width: max-content; animation: s-ribbon-scroll var(--dur, 80s) linear infinite; }
  .s-ribbon--marquee .s-ribbon__track > .s-ribbon__list {
    display: flex; flex-wrap: nowrap; flex: none; width: auto; margin: 0;
    font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3.25rem);
  }
  .s-ribbon--marquee .s-ribbon__track > .s-ribbon__list .s-ribbon__item > .s-ribbon__sep { display: block; }
  .s-ribbon--marquee .s-ribbon__track > .s-ribbon__list .s-ribbon__br { display: none; }
  .s-ribbon--marquee .s-ribbon__track > .s-ribbon__list .s-ribbon__word { white-space: nowrap; }
  .s-ribbon--marquee .s-ribbon__band:hover .s-ribbon__track,
  .s-ribbon--marquee .s-ribbon__band:has(.s-ribbon__toggle:checked) .s-ribbon__track { animation-play-state: paused; }
  /* Pause au clavier : case invisible, révélée au focus (le survol suffit à la souris et au toucher). */
  .s-ribbon--marquee .s-ribbon__pause {
    display: flex; align-items: center; position: absolute; inset-block: 0; right: 0; padding-inline: 1rem;
    background: var(--bg); color: var(--fg); opacity: 0; pointer-events: none; cursor: pointer;
  }
  .s-ribbon__pause:has(:focus-visible) { opacity: 1; pointer-events: auto; outline: 2px solid var(--focus); outline-offset: -4px; }
  .s-ribbon__toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .s-ribbon__pause :is(.s-ribbon__pause-on, .s-ribbon__pause-off) {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-label); font-size: var(--text-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  }
  .s-ribbon__pause svg { width: 1.25rem; height: 1.25rem; }
  .s-ribbon__pause-off, .s-ribbon__toggle:checked ~ .s-ribbon__pause-on { display: none !important; }
  .s-ribbon__toggle:checked ~ .s-ribbon__pause-off { display: inline-flex !important; }
}
@keyframes s-ribbon-scroll { to { transform: translate3d(-50%, 0, 0); } }

/* --- tilt : bandeau incliné qui déborde des bords (rogné par la section) ----------- */
.s-ribbon.s-ribbon--tilt { background: transparent; padding-block: 2rem; padding-block: calc(50vw * tan(var(--tilt-abs, 1.5deg)) + .75rem); }
/* Dans une page habillée, le fond autour du bandeau prolonge la section précédente. */
.s-ribbon--tilt[data-prev="light"] { background: var(--paper); } .s-ribbon--tilt[data-prev="alt"] { background: var(--alt); }
.s-ribbon--tilt[data-prev="tint"] { background: var(--tint); } .s-ribbon--tilt[data-prev="deep"] { background: var(--deep); }
.s-ribbon--tilt[data-prev="accent"] { background: var(--accent); }
.s-ribbon--tilt .s-ribbon__band { margin-inline: -2rem; padding-inline: 2rem; transform: rotate(var(--tilt, -1.5deg)); }

/* --- divider : filet + glyphe, ou petit texte en capitales espacées ------------- */
.s.s-ribbon--divider { padding-block: clamp(.25rem, .1rem + .6vw, .75rem); }
.s-ribbon__divider { display: flex; align-items: center; justify-content: center; gap: clamp(.625rem, .4rem + 1vw, 1.5rem); }
.s-ribbon__line { flex: 1 1 0; min-width: 1rem; border-top: 1px solid var(--rule); }
.s-ribbon__divider--glyph .s-ribbon__line { flex: 0 1 clamp(3rem, 2rem + 4vw, 6rem); }
.s-ribbon__mark { display: flex; font-size: 1.75rem; line-height: 1; }
.s-ribbon__caption {
  font-family: var(--font-label); font-size: .78rem; font-weight: 600; line-height: 1.6;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); text-align: center; padding-inline-start: .16em;
}
@media (min-width: 640px) { .s-ribbon__caption { font-size: var(--text-label); letter-spacing: .22em; padding-inline-start: .22em; } }
.s-ribbon__seg { display: var(--seg, block); white-space: var(--seg-ws, normal); text-wrap: balance; }
.s-ribbon__dot { display: var(--dot, none); color: var(--ribbon-mark); margin-inline: .2em; }
@container ribbon (min-width:180px){.s-ribbon--cap8 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:222px){.s-ribbon--cap12 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:264px){.s-ribbon--cap16 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:306px){.s-ribbon--cap20 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:348px){.s-ribbon--cap24 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:390px){.s-ribbon--cap28 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:436px){.s-ribbon--cap32 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:483px){.s-ribbon--cap36 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:529px){.s-ribbon--cap40 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:576px){.s-ribbon--cap44 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:623px){.s-ribbon--cap48 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:749px){.s-ribbon--cap52 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:800px){.s-ribbon--cap56 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:846px){.s-ribbon--cap60 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:892px){.s-ribbon--cap64 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:938px){.s-ribbon--cap68 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:984px){.s-ribbon--cap72 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:1030px){.s-ribbon--cap76 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}
@container ribbon (min-width:1076px){.s-ribbon--cap80 .s-ribbon__caption{--seg:inline;--dot:inline;--seg-ws:nowrap}}

@media print {
  .s-ribbon--marquee, .s-ribbon--static { display: none !important; }
}


.s-cta__title {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case); text-wrap: balance; overflow-wrap: anywhere;
  font-size: clamp(2.125rem, 1.45rem + 2.6vw, 3.75rem); line-height: 1.06;
}
.s-cta__title em { font-style: italic; }
.s-cta__text { color: var(--fg-muted); font-size: var(--text-lead); line-height: 1.5; max-width: 44ch; text-wrap: pretty; }

/* --- band : grand titre, filet, puis texte à gauche et boutons à droite -- */
.s-cta--band { padding-block: clamp(3.5rem, 2.6rem + 4vw, 6.5rem); }
.s-cta--band .s-cta__title { font-size: clamp(2.25rem, 1.4rem + 3.3vw, 4.5rem); line-height: 1.04; max-width: 22ch; }
.s-cta__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  margin-top: clamp(1.75rem, 1.2rem + 2vw, 3rem); padding-top: clamp(1.25rem, 1rem + 1vw, 2rem); border-top: 1px solid var(--rule);
}
.s-cta__row--solo { justify-content: flex-start; }
.s-cta--band .s-cta__text { max-width: 46ch; }
@media (max-width: 559.98px) {
  .s-cta--band .s-cta__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* --- phone : titre + texte, filet, numéro géant sur une ligne -------------- */
.s-cta--phone .s-cta__head { display: grid; gap: 1rem; padding-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.s-cta--phone .s-cta__title { font-size: var(--text-h2); line-height: var(--leading-h2); max-width: 20ch; }
@media (min-width: 900px) {
  .s-cta--phone .s-cta__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4rem; align-items: end; }
  .s-cta--phone .s-cta__text { justify-self: end; max-width: 34ch; }
}
.s-cta__dial {
  container-type: inline-size; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem;
  border-top: 1px solid var(--rule); padding-top: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  color: var(--fg); text-decoration: none;
}
.s-cta__number {
  display: block; white-space: nowrap;
  font-family: var(--font-heading); font-weight: var(--heading-weight);
  letter-spacing: -0.01em; line-height: .95;
  font-variant-numeric: tabular-nums lining-nums;
  /* Taille = largeur disponible / largeur estimée du numéro : jamais de retour à la ligne. */
  font-size: clamp(1.5rem, calc(100cqi / (var(--w, 7.9) * 1.06)), 8.5rem);
  text-decoration-line: underline; text-decoration-thickness: max(2px, .03em); text-underline-offset: .12em;
  text-decoration-color: transparent; transition: text-decoration-color .2s;
}
.s-cta__go {
  display: inline-flex; align-items: center; gap: .55em; min-height: var(--btn-h); padding: .75em 1.4em; margin-bottom: .35em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: normal; max-width: 100%; min-width: 0; overflow-wrap: anywhere;
  border: 1.5px solid color-mix(in srgb, var(--fg) 35%, transparent); border-radius: var(--radius-btn);
  transition: background-color .2s, color .2s, border-color .2s;
}
.s-cta__go .ico { width: 1.1em; height: 1.1em; }
.s-cta__dial:hover .s-cta__number { text-decoration-color: currentColor; }
.s-cta__dial:hover .s-cta__go { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.s-cta__dial:focus-visible { outline-offset: 6px; }
@media (max-width: 559.98px) {
  .s-cta__go { width: 100%; justify-content: center; margin-bottom: 0; background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
}

/* --- split : texte aligné sur la grille, photo à fond perdu -------------- */
.s-cta__split { display: grid; }
.s-cta__body { display: grid; gap: 1.25rem; align-content: center; padding: var(--section-y) var(--gutter); }
.s-cta--split .s-cta__title { max-width: 18ch; }
.s-cta--split .s-cta__text { font-size: var(--text-body); max-width: 46ch; }
.s-cta--split .s-cta__text > * + * { margin-top: .9em; }
.s-cta--split .s-cta__actions { margin-top: .75rem; }
.s-cta--split .s-cta__photo { border-radius: 0; order: -1; }
@media (min-width: 900px) {
  .s-cta__split {
    grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, calc(var(--container) / 2)) [mid] minmax(0, calc(var(--container) / 2)) [content-end] minmax(var(--gutter), 1fr) [full-end];
    min-height: clamp(30rem, 24rem + 14vw, 42rem);
  }
  .s-cta__body { grid-column: content-start / mid; padding: var(--section-y) clamp(2.5rem, 6vw, 6rem) var(--section-y) 0; }
  .s-cta--split .s-cta__photo { grid-column: mid / full-end; order: 0; aspect-ratio: auto; height: 100%; min-height: 100%; }
}
.s-cta--nophoto .s-cta__body { padding-block: 0; }
@media (min-width: 900px) { .s-cta--nophoto .s-cta__body { grid-column: content-start / content-end; } }


.s-quoteform { --field-bg: var(--card); }
.s-quoteform__head { display: grid; gap: 1rem; align-content: start; }
.s-quoteform__title { max-width: 18ch; }
.s-quoteform__intro { max-width: 44ch; }
.s-quoteform__panel { min-width: 0; container-type: inline-size; }

/* --- card : une carte centrée, titre dans la carte --- */
.s-quoteform__card {
  max-width: 46rem; margin-inline: auto; display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, .8rem + 2.6vw, 3rem);
}
.s-quoteform--card .s-quoteform__title { max-width: none; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }

/* --- split : texte à gauche, formulaire dans une carte à droite --- */
.s-quoteform__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1.5rem + 2vw, 3rem); align-items: start; }
.s-quoteform--split .s-quoteform__panel {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, .8rem + 2.4vw, 2.75rem);
}
@media (min-width: 960px) {
  .s-quoteform__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6.5rem); }
}
/* Sur fond sombre ou accentué la carte garde un fond de champ lisible. */
.s-quoteform .qf { --field-bg: color-mix(in srgb, var(--bg) 70%, var(--card)); }
.s-quoteform--card .qf, .s-quoteform--split .s-quoteform__panel .qf { --field-bg: color-mix(in srgb, var(--bg) 55%, var(--card)); }

/* --- étapes --- */
.qf { gap: 1.5rem; }
.qf__step { display: grid; gap: 1.25rem; min-width: 0; }
.qf__num {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-right: .625rem; vertical-align: .1em;
  border: 1.5px solid var(--btn-bg); border-radius: 50%; color: var(--fg);
  font-family: var(--font-body); font-weight: 700; font-size: .8125rem; line-height: 1; letter-spacing: 0;
}
.qf__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@container (min-width: 28rem) { .qf__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.qf__other[hidden] { display: none; }
.qf__photos { gap: .625rem; position: relative; }
.qf__photos input[type="file"] { width: 100%; max-width: 100%; font-size: var(--text-small); font-weight: 400; color: var(--fg-muted); }
.qf__photos input[type="file"]::file-selector-button {
  margin-right: .875rem; min-height: 2.75rem; padding: .5rem 1.1rem; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--fg); background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--fg) 35%, transparent); border-radius: var(--radius-btn);
}
/* Le vrai bouton français « Ajouter des photos » : caché sans JavaScript (le champ natif suffit), montré avec lui. */
.qf__pick { justify-self: start; }
.qf__pick[hidden] { display: none; }
.qf__pick[disabled] { cursor: not-allowed; }
.qf__count { margin: 0; font-size: var(--text-small); font-weight: 600; color: var(--fg-muted); }
.qf__count:empty { margin: 0 0 -.625rem; }
/* Avec le bouton : le champ natif reste dans le formulaire (il porte les fichiers) mais ne se voit plus et ne prend plus le focus. */
.qf__photos--pick input[type="file"] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
.qf__files { display: grid; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.qf__files[hidden] { display: none; }
.qf__file { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .5rem; background: var(--field-bg); border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.qf__file img { width: 3rem; height: 3rem; object-fit: cover; border-radius: calc(var(--radius-sm) / 1.5); background: var(--rule); }
.qf__file-name { min-width: 0; font-size: var(--text-small); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.qf__file-name small { display: block; font-weight: 400; color: var(--fg-muted); }
.qf__file button { min-height: 2.75rem; min-width: 2.75rem; padding: 0 .75rem; font: inherit; font-size: var(--text-small); font-weight: 600; cursor: pointer; color: var(--fg); background: transparent; border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.qf__file button:hover { border-color: var(--fg); }

/* Navigation : sans JavaScript seul le bouton d'envoi existe. */
.qf__nav { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.qf__prev, .qf__next { display: none; }
.qf__submit { justify-self: start; }
@container (max-width: 29.99rem) { .qf__submit { width: 100%; } }

/* Avec JavaScript : une étape à la fois, barre de progression, boutons Précédent / Suivant. */
.qf--js .qf__step:not(.is-active) { display: none; }
.qf--js .qf__meter { display: flex; gap: .375rem; }
.qf--js .qf__meter span { flex: 1; height: .3125rem; border-radius: 99px; background: var(--rule); transition: background-color .2s; }
.qf--js .qf__meter span.is-done, .qf--js .qf__meter span.is-current { background: var(--btn-bg); }
.qf--js .qf__meter span.is-current { background: color-mix(in srgb, var(--btn-bg) 55%, var(--rule)); }
.qf--js .qf__meter span.is-done { background: var(--btn-bg); }
.qf--js .qf__status { display: block; margin: 0; font-size: var(--text-small); font-weight: 600; color: var(--fg-muted); outline: none; }
.qf--js .qf__prev, .qf--js .qf__next { display: inline-flex; }
.qf--js .qf__submit { display: none; }
.qf--js.qf--last .qf__next { display: none; }
.qf--js.qf--last .qf__submit { display: inline-flex; }
.qf--js.qf--first .qf__prev { display: none; }
.qf--js .qf__nav { justify-content: space-between; }
.qf--js.qf--first .qf__nav { justify-content: flex-end; }
@container (max-width: 29.99rem) { .qf--js .qf__next, .qf--js.qf--last .qf__submit { flex: 1; } }


.s-contact {
  /* Champs : fond et bordure dérivés du thème de section (lisibles sur light, alt, tint, deep, accent). */
  --field-bg: var(--card);
  --field-line: color-mix(in srgb, var(--fg) 56%, var(--bg));
  --field-line-hover: color-mix(in srgb, var(--fg) 82%, var(--bg));
}
.s-contact__head { display: grid; gap: 1rem; }
.s-contact__title { max-width: 16ch; }
.s-contact__intro { max-width: 40ch; }

/* --- Coordonnées : lignes à filets, micro-libellé au-dessus de la valeur --- */
.s-contact__list { border-top: 1px solid var(--rule); }
.s-contact__row { display: grid; gap: .5rem; align-content: start; padding-block: 1.125rem; border-bottom: 1px solid var(--rule); }
.s-contact__row dt { color: var(--fg-muted); }
.s-contact__row dd { margin: 0; min-width: 0; }
.s-contact__row a { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--rule); transition: text-decoration-color .2s; }
.s-contact__row a:hover { text-decoration-color: currentColor; }
.s-contact__row address { font-style: normal; }
.s-contact__phone {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.1; white-space: nowrap; letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration-color: transparent !important;
}
.s-contact__phone:hover { text-decoration-color: currentColor !important; }
.s-contact__mail { overflow-wrap: anywhere; }
.s-contact__go { display: inline-flex; align-items: center; gap: .4em; margin-top: .5rem; font-size: var(--text-small); font-weight: 600; color: var(--link) !important; text-decoration-color: currentColor !important; }
.s-contact__go .ico { width: 1em; height: 1em; transition: transform .2s; }
.s-contact__go:hover .ico { transform: translateX(3px); }

/* Horaires groupés : jour à gauche, plages à droite, chiffres tabulaires. */
.s-contact__hours { border-collapse: collapse; width: 100%; font-variant-numeric: lining-nums tabular-nums; }
.s-contact__hours th, .s-contact__hours td { padding: .25rem 0; vertical-align: top; text-align: left; }
.s-contact__hours th { font-weight: 400; padding-right: 1.5rem; white-space: nowrap; }
.s-contact__hours td { text-align: right; overflow-wrap: anywhere; }
.s-contact__hours .is-closed { color: var(--fg-muted); }
.s-contact__note { margin-top: .625rem; font-size: var(--text-small); color: var(--fg-muted); max-width: 36ch; }

/* Tablette : pas de tableau d'horaires étiré sur toute la largeur. */
@media (max-width: 959.98px) { .s-contact__info { max-width: 40rem; } }

/* --- Formulaire (marquage serveur : form.contact-form > label > input) ---- */
.s-contact__form { container-type: inline-size; min-width: 0; }
.s-contact .contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 1rem; }
.s-contact .contact-form > label { display: grid; gap: .5rem; font-size: var(--text-small); font-weight: 600; line-height: 1.3; color: var(--fg); min-width: 0; }
@container (min-width: 30rem) {
  .s-contact .contact-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .s-contact .contact-form > * { grid-column: 1 / -1; }
  /* E-mail et téléphone côte à côte, quel que soit leur ordre. */
  .s-contact .contact-form > label:has(> input[type="email"]),
  .s-contact .contact-form > label:has(> input[type="tel"]) { grid-column: auto; }
}
.s-contact .contact-form input:not([type="checkbox"]):not([name="company"]),
.s-contact .contact-form textarea {
  display: block; width: 100%; min-height: 3rem; padding: .75rem .875rem;
  font: inherit; font-size: max(1rem, var(--text-body)); font-weight: 400; line-height: 1.4; color: var(--fg);
  background: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--radius-sm);
  box-shadow: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.s-contact .contact-form textarea { min-height: 9.5rem; resize: vertical; }
.s-contact .contact-form input:not([type="checkbox"]):hover,
.s-contact .contact-form textarea:hover { border-color: var(--field-line-hover); }
.s-contact .contact-form input:not([type="checkbox"]):focus-visible,
.s-contact .contact-form textarea:focus-visible,
.s-contact .contact-form input:not([type="checkbox"]):focus,
.s-contact .contact-form textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--fg); }
.s-contact .contact-form label.rgpd { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .75rem; font-weight: 400; color: var(--fg-muted); text-wrap: pretty; }
.s-contact .contact-form label.rgpd input {
  appearance: none; -webkit-appearance: none; display: grid; place-content: center; flex: none;
  width: 1.375rem; height: 1.375rem; margin: 0; cursor: pointer;
  background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: min(var(--radius-sm), 4px);
  transition: background-color .15s, border-color .15s;
}
.s-contact .contact-form label.rgpd input::before {
  content: ''; width: .8rem; height: .8rem; background: var(--btn-fg); transform: scale(0); transition: transform .12s;
  clip-path: polygon(12% 50%, 0 64%, 40% 100%, 100% 22%, 87% 9%, 39% 72%);
}
.s-contact .contact-form label.rgpd input:hover { border-color: var(--field-line-hover); }
.s-contact .contact-form label.rgpd input:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.s-contact .contact-form label.rgpd input:checked::before { transform: scale(1); }
.s-contact .contact-form label.rgpd input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.s-contact .contact-form label.rgpd { cursor: pointer; }
.s-contact .contact-form [type="submit"] {
  justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 3.25rem; padding: .8em 1.6em; margin-top: .25rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid transparent; border-radius: var(--radius-btn);
  transition: background-color .2s;
}
.s-contact .contact-form [type="submit"]:hover { background: color-mix(in srgb, var(--btn-bg) 86%, var(--fg)); }
@container (max-width: 29.99rem) { .s-contact .contact-form [type="submit"] { justify-self: stretch; } }

/* Si le serveur enveloppe quand même (.contact-card / .map-card) : pas de carte dans la carte. */
.s-contact .contact-card { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.s-contact .contact-card .contact-form, .s-contact .contact-form { max-width: none; }

/* --- form-split ------------------------------------------------------------ */
.s-contact--form-split .s-contact__grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.s-contact--form-split .s-contact__info { display: grid; gap: clamp(2rem, 1.6rem + 1.5vw, 3rem); align-content: start; }
.s-contact--form-split .s-contact__form {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, .8rem + 2.4vw, 2.75rem);
}
@media (min-width: 960px) {
  .s-contact--form-split .s-contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6.5rem); align-items: start; }
}

/* --- map-split ------------------------------------------------------------- */
.s-contact--map-split .s-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1.5rem + 2vw, 3rem); grid-template-areas: "head" "map" "info"; }
.s-contact--map-split .s-contact__head { grid-area: head; }
.s-contact--map-split .s-contact__map { grid-area: map; }
.s-contact--map-split .s-contact__info { grid-area: info; }
.s-contact__addr {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: calc(var(--heading-tracking) / 2);
  font-size: var(--text-h3); line-height: var(--leading-h3); font-variant-numeric: lining-nums;
}
.s-contact--map-split .s-contact__info > .s-contact__go { margin-top: .75rem; margin-bottom: 2rem; }
.s-contact--map-split .s-contact__info > .s-contact__go { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (min-width: 960px) {
  .s-contact--map-split .s-contact__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr;
    grid-template-areas: "map head" "map info"; column-gap: clamp(3rem, 6vw, 6.5rem); row-gap: 2.25rem;
  }
  .s-contact--map-split .s-contact__map { min-height: 30rem; aspect-ratio: auto; }
}
/* Sans adresse : pas de carte, les coordonnées passent sur plusieurs colonnes. */
.s-contact--nomap .s-contact__grid { grid-template-areas: "head" "info"; }
@media (min-width: 960px) {
  .s-contact--nomap .s-contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto; grid-template-areas: "head info"; align-items: start; }
}
/* La carte disparaît aussi si le serveur la vide (adresse non géocodée) : même mise en page que sans adresse. */
.s-contact__map:empty { display: none; }
.s-contact--map-split .s-contact__grid:has(> .s-contact__map:empty) { grid-template-areas: "head" "info"; }
/* … ou s'il retire complètement le cadre. */
.s-contact--map-split .s-contact__grid:not(:has(> .s-contact__map)) { grid-template-areas: "head" "info"; }
@media (min-width: 960px) {
  .s-contact--map-split .s-contact__grid:has(> .s-contact__map:empty),
  .s-contact--map-split .s-contact__grid:not(:has(> .s-contact__map)) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto; grid-template-areas: "head info"; align-items: start; }
}
/* Formulaire non injecté (un seul formulaire par page côté serveur) : le bloc vide disparaît. */
.s-contact__form:empty { display: none; }

/* Cadre de carte : fond uni teinté (en prod l'iframe OSM le remplit et s'y fond). */
.s-contact__map {
  /* min-height en min() : une hauteur plancher fixe + ratio 4:3 imposait 341 px de large à 320 px. */
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; min-height: min(16rem, 60vw);
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background-color: color-mix(in srgb, var(--fg) 3%, var(--card));
}
/* Dessin du lab (îlots, trois axes, épingle) : remplacé par l'iframe en prod, jamais superposé à elle. */
.s-contact__mapph {
  --road: color-mix(in srgb, var(--fg) 9%, transparent);
  --street: color-mix(in srgb, var(--fg) 4.5%, transparent);
  background-image:
    linear-gradient(101deg, transparent calc(47% - 7px), var(--road) calc(47% - 7px) calc(47% + 7px), transparent calc(47% + 7px)),
    linear-gradient(17deg, transparent calc(56% - 5px), var(--road) calc(56% - 5px) calc(56% + 5px), transparent calc(56% + 5px)),
    linear-gradient(141deg, transparent calc(24% - 4px), var(--road) calc(24% - 4px) calc(24% + 4px), transparent calc(24% + 4px)),
    repeating-linear-gradient(101deg, transparent 0 118px, var(--street) 118px 121px),
    repeating-linear-gradient(17deg, transparent 0 94px, var(--street) 94px 97px);
}
.s-contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100% !important; border: 0; filter: grayscale(1) contrast(.92); mix-blend-mode: multiply; }
/* Fonds sombres : carte inversée (rues claires sur fond sombre), sans fusion. */
.s-contact.t-deep .s-contact__map iframe, .s-contact.t-accent .s-contact__map iframe { filter: grayscale(1) invert(.9) contrast(.85); mix-blend-mode: normal; }
.s-contact__map .map-card { position: absolute; inset: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.s-contact__mapph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .75rem; }
.s-contact__pin { color: var(--link); }
.s-contact__pin .ico { width: 3rem; height: 3rem; stroke-width: 1.4; fill: var(--bg); }
.s-contact__mapaddr { font-size: var(--text-small); font-weight: 600; padding: .4rem .75rem; background: var(--bg); color: var(--fg); border: 1px solid var(--rule); border-radius: var(--radius-sm); }

/* --- card ------------------------------------------------------------------ */
.s-contact__card {
  max-width: 44rem; margin-inline: auto; display: grid; gap: 1.75rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, .9rem + 3vw, 3.5rem);
}
.s-contact__cardtitle {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case); text-wrap: balance; overflow-wrap: anywhere;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.12;
}
.s-contact--card .s-contact__intro { font-size: var(--text-body); }
.s-contact__quick { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1rem; border-block: 1px solid var(--rule); }
.s-contact__quick a { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-weight: 600; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.s-contact__quick a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.s-contact__quick .ico { color: var(--link); }


.s.s-footer { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; font-size: .9375rem; }
.s-footer a { color: inherit; text-decoration: none; }
.s-footer__nb { white-space: nowrap; }
.s-footer__top { display: grid; gap: 2.75rem; }
.s-footer__name {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere;
}
.s-footer__tagline { margin-top: 1rem; color: var(--fg-muted); max-width: 34ch; line-height: 1.55; text-wrap: pretty; }
.s-footer__statement {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.12; max-width: 16em; text-wrap: balance;
}
.s-footer__statement em { font-style: italic; }
.s-footer__statement--long { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); line-height: 1.25; max-width: 22em; }

.s-footer__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem 2rem; }
.s-footer__head {
  font-family: var(--font-label); font-size: var(--text-label); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.3; color: var(--fg-muted); margin-bottom: 1rem;
}
.s-footer__links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.s-footer__links a, .s-footer__contact a, .s-footer__legal a {
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .25em;
  transition: text-decoration-color .2s;
}
.s-footer__links a { display: inline-flex; align-items: center; min-height: 2.5rem; }
.s-footer a:hover { text-decoration-color: currentColor; }
.s-footer__contact { display: grid; gap: .65rem; justify-items: start; }
.s-footer__phone {
  font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking);
  font-size: 1.375rem; line-height: 1.2;
}
.s-footer__email { overflow-wrap: anywhere; }
.s-footer__address { font-style: normal; line-height: 1.5; }
.s-footer__address a { color: var(--fg-muted); }
.s-footer__address a:hover { color: var(--fg); }
.s-footer__zone { color: var(--fg-muted); }
.s-footer__hours { display: grid; gap: .5rem; }
.s-footer__hours > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: baseline; }
.s-footer__hours dt { color: var(--fg-muted); }
.s-footer__hours dd { margin: 0; text-align: right; line-height: 1.45; }
.s-footer__hours .is-closed dd { color: var(--fg-muted); }
.s-footer__note { margin-top: 1rem; font-size: var(--text-small); color: var(--fg-muted); max-width: 30ch; }

.s-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.75rem;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-block: 1.5rem; border-top: 1px solid var(--rule);
  font-size: var(--text-small); color: var(--fg-muted);
}
.s-footer__legal { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.s-footer__legal a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.s-footer__legal a:hover, .s-footer__badge:hover { color: var(--fg); }
.s-footer__badge {
  display: inline-flex; align-items: center; gap: .3em; min-height: 2.75rem; font-size: .8125rem;
}
.s-footer__badge span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }

/* Nom géant */
.s-footer__giant { margin-top: clamp(3rem, 2rem + 4vw, 6rem); color: var(--fg); }
.s-footer__giant svg { display: block; width: 100%; height: auto; overflow: visible; }
.s-footer__giant text {
  fill: currentColor; font-family: var(--font-heading); font-weight: var(--heading-weight);
  text-transform: var(--heading-case);
}
.s-footer--giant .s-footer__bottom { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }

@media (min-width: 640px) {
  .s-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-footer__links { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .s-footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: start; }
  .s-footer__top--solo { grid-template-columns: minmax(0, 1fr); }
  .s-footer__cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem clamp(2rem, 3.5vw, 3.5rem); }
  .s-footer__col--nav { flex: 0 1 9rem; }
  .s-footer__col--contact { flex: 1 1 13rem; max-width: 17rem; }
  .s-footer__col--hours { flex: 1 1 15rem; max-width: 19rem; }
  .s-footer__badge { margin-left: auto; }
}

/* --- minimal : une bande compacte ------------------------------------------ */
.s.s-footer--minimal { padding-block: clamp(2.25rem, 1.75rem + 2vw, 3.5rem) 0; }
.s-footer__band { display: grid; gap: 1.25rem; }
.s-footer--minimal .s-footer__name { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.s-footer--minimal .s-footer__tagline { margin-top: .5rem; font-size: var(--text-small); max-width: 46ch; }
.s-footer__inline { list-style: none; padding: 0; display: grid; justify-items: start; }
.s-footer__inline a {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .25em;
  transition: text-decoration-color .2s;
}
.s-footer__inline .s-footer__zone { min-height: 2.5rem; display: flex; align-items: center; }
.s-footer__tel { font-weight: 600; font-size: 1.0625rem; letter-spacing: .01em; }
.s-footer--minimal .s-footer__bottom { margin-top: 1.25rem; padding-block: .75rem; }
@media (min-width: 1024px) { .s-footer--minimal .s-footer__bottom { margin-top: 1.75rem; } }
/* Desktop : les coordonnées sont des colonnes séparées par des filets (jamais un retour à la ligne qui laisserait
   un filet orphelin en début de ligne). Faute de place, l'adresse passe sur 2 lignes dans sa colonne ; le numéro et
   l'e-mail ne se coupent pas (sauf e-mail de plus de 40 caractères). Dès 1200 px : une seule bande, nom à gauche. */
@media (min-width: 1024px) {
  .s-footer__inline { display: grid; grid-auto-flow: column; justify-content: start; align-items: center; }
  .s-footer__inline li { min-width: 0; position: relative; }
  .s-footer__inline li + li { padding-left: clamp(1rem, 2vw, 1.75rem); margin-left: clamp(1rem, 2vw, 1.75rem); }
  .s-footer__inline li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 1.25em; margin-top: -.625em; background: var(--rule); }
  .s-footer__inline .s-footer__tel, .s-footer__inline .s-footer__email:not(.s-footer__email--long) { white-space: nowrap; }
}
@media (min-width: 1200px) {
  /* Colonne du nom : sa largeur naturelle, plafonnée à 40 % (un nom d'activité de 120 caractères écrasait les coordonnées à 13 px). */
  .s-footer__band { grid-template-columns: fit-content(40%) minmax(0, 1fr); align-items: center; column-gap: 3rem; }
  .s-footer__inline { justify-content: end; }
}


.s-text__grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.s-text__head, .s-text__prose { width: 100%; max-width: var(--measure); }
.s-text__title { max-width: 20ch; }
.s-text__toc { display: none; }
@media (min-width: 1000px) {
  .s-text__grid { grid-template-columns: minmax(0, var(--measure)); justify-content: center; }
  .s-text--toc .s-text__grid {
    grid-template-columns: minmax(12rem, 15rem) minmax(0, var(--measure)); grid-template-areas: ". head" "toc body";
    column-gap: clamp(3rem, 7vw, 7rem); justify-content: center;
  }
  .s-text--toc .s-text__head { grid-area: head; }
  .s-text--toc .s-text__prose { grid-area: body; }
  .s-text--toc .s-text__toc { grid-area: toc; display: block; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; padding-top: .35rem; }
}
.s-text__toclabel { color: var(--fg-muted); margin-bottom: 1rem; }
.s-text__toc ol { display: grid; gap: .1rem; border-left: 1px solid var(--rule); counter-reset: toc; }
.s-text__toc li { counter-increment: toc; }
.s-text__toc a {
  display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 1px solid transparent;
  font-size: var(--text-small); line-height: 1.4; color: var(--fg-muted); text-decoration: none; transition: color .15s, border-color .15s;
}
.s-text__toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--fg-muted); opacity: .7; }
.s-text__toc a:hover { color: var(--fg); border-left-color: var(--fg); }

/* Contenu : rythme vertical, intertitres à filet, listes et liens lisibles. */
.s-text__prose { font-size: var(--text-body); line-height: 1.7; overflow-wrap: anywhere; }
.s-text__prose > * + * { margin-top: 1.1em; }
.s-text__prose h2 {
  font-family: var(--font-heading); font-weight: min(600, var(--heading-weight)); letter-spacing: calc(var(--heading-tracking) / 2);
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.25; text-wrap: balance;
  margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.s-text__prose h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; line-height: 1.4; margin-top: 2em; }
.s-text__prose h2 + *, .s-text__prose h3 + * { margin-top: .6em; }
.s-text__prose > :first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* Paragraphe d'ouverture (avant le premier intertitre) : chapô. */
.s-text__prose > p:first-child { font-size: var(--text-lead); line-height: 1.55; color: var(--fg-muted); }
.s-text__prose ul, .s-text__prose ol { padding-left: 1.25em; }
.s-text__prose li + li { margin-top: .4em; }
.s-text__prose li::marker { color: var(--fg-muted); }
.s-text__prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.s-text__prose a:hover { text-decoration-thickness: 2px; }
.s-text__prose strong, .s-text__prose b { font-weight: 600; }
.s-text__prose address { font-style: normal; }
.s-text__prose hr { border: 0; border-top: 1px solid var(--rule); }
.s-text__prose blockquote { padding-left: 1.25em; border-left: 2px solid var(--rule); color: var(--fg-muted); }
.s-text__prose table { width: 100%; border-collapse: collapse; font-size: var(--text-small); }
.s-text__prose th, .s-text__prose td { text-align: left; vertical-align: top; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--rule); }
.s-text__prose th { font-weight: 600; }
.s-text__prose .muted, .s-text__prose small { color: var(--fg-muted); }


/* Le conteneur n'occupe aucune place dans la page : seul le bouton est fixé à l'écran. */
.s-whatsapp { position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: max(1rem, env(safe-area-inset-bottom, 0px)); z-index: 55; padding: 0; background: transparent; width: auto; }
.s-whatsapp__btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem .95rem .4rem .75rem;
  border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
  font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; line-height: 1.1; max-width: min(18rem, calc(100vw - 2rem));
  transition: box-shadow .2s, transform .2s;
}
.s-whatsapp__btn:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .2); transform: translateY(-1px); }
.s-whatsapp__glyph { width: 1.5rem; height: 1.5rem; flex: none; fill: #1fa855; stroke: none; }
.s-whatsapp__label { min-width: 0; overflow-wrap: anywhere; }
/* Téléphone : la barre d'actions porte l'entrée WhatsApp ; sans barre, le bouton reste, réduit à son icône. */
@media (max-width: 767px) {
  body.has-mobilebar .s-whatsapp { display: none; }
  .s-whatsapp__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .s-whatsapp__btn { padding: .4rem; min-width: 2.75rem; justify-content: center; }
}


.s-mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  border-top: 1px solid var(--rule);
  padding: .5rem var(--gutter) calc(.5rem + env(safe-area-inset-bottom, 0px));
}
.s-mobilebar__inner { display: flex; gap: .5rem; height: 3rem; }
.s-mobilebar__btn {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: var(--radius-btn); border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none;
  white-space: normal; text-align: center; overflow-wrap: anywhere; text-wrap: balance; min-width: 0; overflow: hidden; padding-inline: .75rem;
}
.s-mobilebar__btn > span { min-width: 0; }
/* Libellé long : texte réduit pour tenir sur trois lignes au plus dans les 3 rem de la barre (3 x .875 x 1.1 = 2,9 rem), jamais un bouton plus large que sa moitié d'écran. */
.s-mobilebar__btn--long { font-size: .875rem; padding-inline: .5rem; }
.s-mobilebar__btn--long .ico { display: none; }
@media (max-width: 359px) { .s-mobilebar__btn { font-size: .9375rem; padding-inline: .5rem; min-width: 0; } .s-mobilebar__btn .ico { display: none; } }
.s-mobilebar__btn .ico { width: 1.15rem; height: 1.15rem; }
/* Entrée WhatsApp : bouton carré, icône seule (le nom accessible est le texte masqué). */
.s-mobilebar__btn--wa { flex: 0 0 3rem; padding: 0; border-color: color-mix(in srgb, var(--fg) 35%, transparent); background: transparent; }
.s-mobilebar__wa { width: 1.5rem; height: 1.5rem; flex: none; fill: #1fa855; stroke: none; }
.s-mobilebar__btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.s-mobilebar__btn--secondary { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 35%, transparent); }
.s-mobilebar__btn:active { transform: translateY(1px); }
@media (min-width: 768px) { .s-mobilebar { display: none; } }
@media (max-width: 767px) { body.has-mobilebar { padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom, 0px)); } }

/* Catalogue du lab : barre posée dans le flux, largeur téléphone, visible à toutes les largeurs. */
.s-mobilebar--preview { position: relative; display: block; max-width: 390px; margin: 1.5rem auto; border: 1px solid var(--rule); padding-inline: 1.25rem; }

/* ==========================================================================
   Habillage : cadres des photos vedettes + tampon circulaire du premier écran.
   body[data-frame="plain|offset|arch|rounded|inset"] et --decor-seed (0..359) posés par core/decor.js.
   Photos vedettes : hero split / framed / page, split (image, image-list, stacked), story, booking split,
   cta split, services featured. Jamais les photos plein cadre (hero cover, bandes, galeries, cartes).
   Variables propres à ce fichier : préfixe --fr-. Tout est dans @media screen : à l'impression, les photos
   retrouvent leur forme de base et le tampon disparaît.
   ========================================================================== */

@media screen {

/* --- Graine → variations ---------------------------------------------------
   --fr-x / --fr-y : côté du décalage (-1 ou 1) ; --fr-diag : diagonale des grands arrondis (0 ou 1).
   Sans mod() (navigateurs d'avant 2024) : valeurs fixes, le rendu reste correct. */
body[data-frame] { --fr-x: 1; --fr-y: 1; --fr-diag: 0; }
@supports (scale: mod(3, 2)) {
  body[data-frame] {
    --fr-x: calc(mod(var(--decor-seed, 0), 2) * 2 - 1);
    --fr-y: calc(mod(round(down, var(--decor-seed, 0) / 2), 2) * 2 - 1);
    --fr-diag: mod(round(down, var(--decor-seed, 0) / 4), 2);
  }
}

/* Couleurs selon le fond de la section : aplat (offset) et filet du passe-partout (inset). */
body[data-frame] :is(.t-light, .t-alt) { --fr-fill: color-mix(in oklab, var(--accent) 22%, var(--bg)); }
body[data-frame] .t-tint   { --fr-fill: color-mix(in oklab, var(--accent) 30%, var(--bg)); }
body[data-frame] .t-deep   { --fr-fill: color-mix(in oklab, var(--accent-on-deep) 45%, var(--bg)); }
body[data-frame] .t-accent { --fr-fill: color-mix(in oklab, var(--deep) 55%, var(--bg)); }
body[data-frame] :is(.t-light, .t-alt, .t-tint, .t-deep, .t-accent) { --fr-filet: color-mix(in oklab, var(--mark) 55%, var(--card)); }

/* Liste des photos vedettes (répétée dans chaque cadre) :
   .s-hero--split .s-hero__media, .s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media,
   .s-split__media, .s-story__media, .s-booking__photo, .s-services__fmedia */

/* --- offset : aplat de couleur décalé derrière la photo --------------------- */
/* box-shadow plein (sans flou) : suit la forme de la photo, ne compte pas dans le débordement. */
body[data-frame="offset"] :is(.s-hero--split .s-hero__media, .s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media, .s-split__media, .s-story__media, .s-booking__photo, .s-services__fmedia) {
  --fr-off: clamp(.75rem, .35rem + 1.6vw, 1.5rem);
  box-shadow: calc(var(--fr-x) * var(--fr-off)) calc(var(--fr-y) * var(--fr-off)) 0 0 var(--fr-fill);
}
/* framed : les faits sont en légende juste sous la photo, l'aplat monte toujours (il ne doit jamais les couvrir). */
body[data-frame="offset"] .s-hero--framed .s-hero__picture { --fr-y: -1; }

/* --- arch : photo en arche --------------------------------------------------
   Portrait : plein cintre. 9999px = le navigateur ramène les rayons à la demi-largeur, donc un demi-cercle exact
   quel que soit le ratio. Paysage et panoramique : arc surbaissé (ellipse découpée sur l'image, piédroits
   verticaux sur les deux tiers), un plein cintre y ferait un tunnel. */
body[data-frame="arch"] :is(.s-hero--split .s-hero__media, .s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media, .s-split__media, .s-story__media, .s-booking__photo, .s-services__fmedia) {
  border-radius: 9999px 9999px var(--radius-sm) var(--radius-sm);
}
body[data-frame="arch"] :is(.s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media, .s-split__smedia, .s-booking__photo, .s-story__media, .s-services__fmedia) {
  border-radius: var(--radius-sm); background: none;
}
body[data-frame="arch"] :is(.s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media, .s-split__smedia, .s-booking__photo, .s-story__media, .s-services__fmedia) > img {
  clip-path: ellipse(70% 100% at 50% 100%);
}
@media (min-width: 56.25em) {
  /* story et services « à la une » à 3-4 prestations passent en 4:5 : plein cintre. */
  body[data-frame="arch"] :is(.s-story__media, .s-services__feat--photo:not(.s-services__feat--wide, .s-services__feat--below) .s-services__fmedia) {
    border-radius: 9999px 9999px var(--radius-sm) var(--radius-sm);
  }
  body[data-frame="arch"] :is(.s-story__media, .s-services__feat--photo:not(.s-services__feat--wide, .s-services__feat--below) .s-services__fmedia) > img { clip-path: none; }
}

/* --- rounded : deux grands arrondis en diagonale (diagonale choisie par la graine) --- */
body[data-frame="rounded"] :is(.s-hero--split .s-hero__media, .s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media, .s-split__media, .s-story__media, .s-booking__photo, .s-services__fmedia) {
  --fr-big: clamp(2.5rem, 1rem + 5vw, 6rem);
  --fr-r1: calc(var(--fr-big) * (1 - var(--fr-diag)) + var(--radius-sm) * var(--fr-diag));
  --fr-r2: calc(var(--fr-big) * var(--fr-diag) + var(--radius-sm) * (1 - var(--fr-diag)));
  border-radius: var(--fr-r1) var(--fr-r2) var(--fr-r1) var(--fr-r2);
}

/* --- inset : passe-partout à filet (lavis), comme un tirage encadré ----------
   Marge de --card bordée d'un filet --rule ; filet fin teinté de l'accent à mi-marge autour de l'image. */
body[data-frame="inset"] :is(.s-hero--split .s-hero__media, .s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media, .s-split__media, .s-story__media, .s-booking__photo, .s-services__fmedia) {
  --fr-mat: clamp(.5rem, .25rem + 1vw, 1.125rem);
  padding: var(--fr-mat); background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule);
  border-radius: var(--radius-sm);
}
body[data-frame="inset"] :is(.s-hero--split .s-hero__media, .s-hero--framed .s-hero__picture, .s-hero--page .s-hero__media, .s-split__media, .s-story__media, .s-booking__photo, .s-services__fmedia) > img {
  border-radius: max(0px, calc(var(--radius-sm) - var(--fr-mat) / 2));
  outline: 1px solid var(--fr-filet); outline-offset: calc(var(--fr-mat) * .45);
}

/* --- cta split : photo à fond perdu (moitié droite, toute la hauteur de la section). Le cadre ne dessine que le
   bord intérieur ; en mobile (photo pleine largeur en tête de section), elle reste nue. */
@media (min-width: 900px) {
  body[data-frame="offset"] .s-cta--split .s-cta__photo {
    box-shadow: calc(-1 * clamp(.75rem, .35rem + 1.6vw, 1.5rem)) 0 0 0 var(--fr-fill);
  }
  body[data-frame="arch"] .s-cta--split .s-cta__photo { border-top-left-radius: clamp(8rem, 2rem + 14vw, 18rem); }
  body[data-frame="rounded"] .s-cta--split .s-cta__photo {
    --fr-big: clamp(3rem, 1rem + 6vw, 7rem);
    border-radius: calc(var(--fr-big) * (1 - var(--fr-diag))) 0 0 calc(var(--fr-big) * var(--fr-diag));
  }
  body[data-frame="inset"] .s-cta--split .s-cta__photo {
    --fr-mat: clamp(.5rem, .25rem + 1vw, 1.125rem);
    padding: var(--fr-mat); background: var(--card);
    box-shadow: inset 1px 0 0 0 var(--rule);
  }
  body[data-frame="inset"] .s-cta--split .s-cta__photo > img { outline: 1px solid var(--fr-filet); outline-offset: calc(var(--fr-mat) * .45); }
}

/* --- Tampon circulaire ------------------------------------------------------
   <span class="decor-stamp"> inséré dans la 1re photo du premier écran. Pastille aux couleurs du bouton
   principal de la section (contraste garanti par la palette), texte et filets en currentColor. */
.decor-stamp {
  --fr-stamp: clamp(5.25rem, 4.5rem + 4vw, 8.5rem);
  --fr-in: clamp(.75rem, 2vw, 1.5rem);
  position: absolute; z-index: 2; width: var(--fr-stamp); height: var(--fr-stamp);
  right: calc(var(--fr-stamp-left, 0) * (100% - var(--fr-stamp) - var(--fr-in)) + (1 - var(--fr-stamp-left, 0)) * var(--fr-in));
  bottom: calc(var(--fr-stamp) * -.3);
  border-radius: 50%; overflow: hidden; pointer-events: none; user-select: none;
  background: var(--btn-bg, var(--accent)); color: var(--btn-fg, var(--on-accent));
}
.decor-stamp:empty { display: none; }
.decor-stamp svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.decor-stamp__spin { transform-box: view-box; transform-origin: 50% 50%; }
.decor-stamp__text { font-family: var(--font-label); font-weight: 600; }
/* La photo laisse dépasser le tampon : ses arrondis (ou son arche) sont reportés sur l'image. */
.media:has(> .decor-stamp) { overflow: visible; }
.media:has(> .decor-stamp) > img { border-radius: inherit; }

/* Photo de côté (hero split, page) : à cheval sur un coin. Mobile : sur le bord bas, dans la largeur, du côté
   opposé à l'aplat (--fr-stamp-left). Desktop : coin extérieur, haut ou bas selon le cadre (--fr-stamp-top) :
   jamais dans le coin de l'aplat (offset), toujours sur un petit arrondi (rounded), jamais sur la courbe (arch). */
body[data-frame] { --fr-stamp-top: 0; --fr-stamp-left: 0; }
body[data-frame="offset"] { --fr-stamp-top: calc((1 + var(--fr-y)) / 2); --fr-stamp-left: calc((1 + var(--fr-x)) / 2); }
body[data-frame="rounded"] { --fr-stamp-top: calc(1 - var(--fr-diag)); }
@media (min-width: 768px) {
  .decor-stamp {
    right: calc(var(--fr-stamp) * -.26);
    bottom: calc(var(--fr-stamp-top, 0) * (100% - var(--fr-stamp) * .74) - (1 - var(--fr-stamp-top, 0)) * var(--fr-stamp) * .26);
  }
}
/* Photo large (cover, poster, framed) : posé dans la photo, en haut à droite, comme une étiquette ; en bas
   sous une arche (le haut est découpé), du côté du petit arrondi en rounded. */
.s-hero:is(.s-hero--poster, .s-hero--framed) .decor-stamp { top: var(--fr-in); right: var(--fr-in); bottom: auto; }
body[data-frame="arch"] .s-hero--framed .decor-stamp { top: auto; bottom: var(--fr-in); }
body[data-frame="rounded"] .s-hero--framed .decor-stamp {
  right: auto; left: calc(var(--fr-diag) * var(--fr-in) + (1 - var(--fr-diag)) * (100% - var(--fr-stamp) - var(--fr-in)));
}
.s-hero--cover .decor-stamp { top: clamp(1.25rem, 3vw, 2.5rem); right: var(--gutter); bottom: auto; }

/* Le tampon est FIXE par défaut. Rotation lente et sobre (un tour en 90 s) seulement si l'habillage la demande
   (`stampSpin: true` → classe decor-stamp--spin posée par core/decor.js) ET si l'utilisateur n'a pas demandé moins d'animations. */
@media (prefers-reduced-motion: no-preference) {
  .decor-stamp--spin .decor-stamp__spin { animation: decor-stamp-turn 90s linear infinite; }
}
@keyframes decor-stamp-turn { to { rotate: 360deg; } }

} /* @media screen */

@media print {
  .decor-stamp { display: none !important; }
}

/* ==========================================================================
   Habillage : motifs métier au trait (dessins de core/decor/motifs.js).
   Mécanisme (core/decor.js) : <div class="decor-motif decor-motif--tr|br" aria-hidden="true"><svg…></div>
   en premier enfant d'au plus une section sur trois, sur fond alt / tint / deep / accent.
   Le dessin est posé dans un coin, en partie hors cadre, sous le contenu, en filigrane.
   ========================================================================== */

.decor-motif { display: none; }

/* La section décorée isole son empilement (le motif passe sous le texte et les photos, au-dessus
   du fond et de la trame) et ne déborde jamais en largeur. */
body[data-ornament*="motif"] .s:has(> .decor-motif) { isolation: isolate; overflow-x: clip; }

/* Fenêtre = toute la section, bordure haute de transition comprise (--sf-edge-h, surfaces.css) :
   le dessin n'est coupé que par les bords de la section, ou par la forme de transition dessinée
   au-dessus de lui. */
body[data-ornament*="motif"] .s > .decor-motif {
  --motif: clamp(15rem, 9rem + 15vw, 26rem);                    /* 240 px (≤ 768) → 416 px (≥ 1440) */
  --motif-out: .2;                                              /* part du dessin rognée de chaque côté du coin */
  --motif-tilt: calc(sin(var(--decor-seed, 0) * 1deg) * 8deg);  /* inclinaison propre au site, ± 8° */
  display: block;
  position: absolute; z-index: -1;
  inset: calc(-1 * var(--sf-edge-h, 0px)) 0 0 0;
  overflow: hidden;
  pointer-events: none; user-select: none;
  color: var(--mark, currentColor);
  opacity: var(--motif-o, .1);
}
/* La boîte du SVG reste dans la section (aucun débordement de mise en page) ; c'est le dessin qui
   est décalé vers le coin, pivoté et rogné (débordement d'encre seulement). */
body[data-ornament*="motif"] .s > .decor-motif > svg {
  position: absolute; right: 0;
  width: var(--motif); height: var(--motif); max-width: none;
  overflow: visible;
  /* Fondu depuis le coin : le dessin est plein dans la marge et s'efface en entrant vers le contenu. */
  --fade: radial-gradient(circle at var(--motif-fx, 100%) var(--motif-fy, 100%), currentColor calc(var(--motif) * .42), transparent calc(var(--motif) * 1.02));
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
}
body[data-ornament*="motif"] .s > .decor-motif > svg > g {
  --o: calc(200px * var(--motif-out));                          /* en unités du viewBox (200) */
  transform-box: view-box; transform-origin: 100px 100px;
}
/* Coin bas-droit : le dessin sort du coin tel qu'il est dessiné. */
body[data-ornament*="motif"] .s > .decor-motif--br > svg { bottom: 0; }
body[data-ornament*="motif"] .s > .decor-motif--br > svg > g { transform: translate(var(--o), var(--o)); rotate: var(--motif-tilt); }
/* Coin haut-droit : quart de tour, le dessin descend du coin. */
body[data-ornament*="motif"] .s > .decor-motif--tr > svg { top: 0; --motif-fy: 0%; }
body[data-ornament*="motif"] .s > .decor-motif--tr > svg > g { transform: translate(var(--o), calc(-1 * var(--o))) rotate(-90deg); rotate: calc(var(--motif-tilt) * -1); }
/* Dessins debout (arches, colonne, tuiles, nuage) : jamais pivotés ni inclinés ; en haut, posés
   sous la bande de transition, entiers à part le côté droit. */
body[data-ornament*="motif"] .s > .decor-motif > svg.m-up > g { rotate: none; }
body[data-ornament*="motif"] .s > .decor-motif--tr > svg.m-up { top: var(--sf-edge-h, 0px); }
body[data-ornament*="motif"] .s > .decor-motif--tr > svg.m-up > g { transform: translate(var(--o), 0); }
/* Coins gauches (--bl / --tl), pour un mécanisme qui poserait le motif à l'opposé d'une photo :
   même dessin, en miroir. Non émis par core/decor.js à ce jour. */
body[data-ornament*="motif"] .s > :is(.decor-motif--bl, .decor-motif--tl) > svg { right: auto; left: 0; --motif-fx: 0%; }
body[data-ornament*="motif"] .s > .decor-motif--bl > svg { bottom: 0; }
body[data-ornament*="motif"] .s > .decor-motif--bl > svg > g { transform: translate(calc(-1 * var(--o)), var(--o)) scale(-1, 1); rotate: calc(var(--motif-tilt) * -1); }
body[data-ornament*="motif"] .s > .decor-motif--tl > svg { top: 0; --motif-fy: 0%; }
body[data-ornament*="motif"] .s > .decor-motif--tl > svg > g { transform: translate(calc(-1 * var(--o)), calc(-1 * var(--o))) scale(-1, 1) rotate(-90deg); rotate: var(--motif-tilt); }
body[data-ornament*="motif"] .s > .decor-motif--tl > svg.m-up { top: var(--sf-edge-h, 0px); }
body[data-ornament*="motif"] .s > .decor-motif--tl > svg.m-up > g { transform: translate(calc(-1 * var(--o)), 0) scale(-1, 1); }

/* Intensité selon le fond, en filigrane. Fonds clairs : trait --mark (l'accent du site). Fond deep :
   trait --fg (l'accent assombri y serait invisible). Bandeau accent : trait à l'opposé du texte (--fg
   inversé, sombre sous un texte blanc, clair sous un texte foncé) : il creuse le fond au lieu de le
   rapprocher du texte, le contraste ne peut que monter. Repli sans couleur relative : --fg. */
body[data-ornament*="motif"] .t-alt > .decor-motif    { --motif-o: .14; }
body[data-ornament*="motif"] .t-tint > .decor-motif   { --motif-o: .14; }
body[data-ornament*="motif"] .t-deep > .decor-motif   { --motif-o: .1; color: var(--fg); }
body[data-ornament*="motif"] .t-accent > .decor-motif { --motif-o: .14; color: var(--fg); color: rgb(from var(--fg) calc(255 - r) calc(255 - g) calc(255 - b)); }

/* Mobile : le texte occupe toute la largeur ; le motif rapetisse et sort davantage du cadre pour ne
   laisser qu'un coin d'ornement, en marge du contenu. */
@media (max-width: 47.99em) {
  body[data-ornament*="motif"] .s > .decor-motif { --motif: 13.5rem; --motif-out: .3; }
  body[data-ornament*="motif"] .t-alt > .decor-motif,
  body[data-ornament*="motif"] .t-tint > .decor-motif { --motif-o: .11; }
  body[data-ornament*="motif"] .t-deep > .decor-motif { --motif-o: .08; }
  body[data-ornament*="motif"] .t-accent > .decor-motif { --motif-o: .1; }
}

@media print { .decor-motif { display: none !important; } }
@media (forced-colors: active) { .decor-motif { display: none !important; } }

/* ==========================================================================
   Habillage graphique, couche « surfaces » : trames de fond et transitions entre sections.
   Mécanisme : core/decor.js (body[data-pattern|data-edge], --decor-seed, .s[data-prev], .decor-edge).
   Aucun JS, aucune couleur en dur : tout vient des variables du thème de section.
   Notes de dessin : notes/decor-surfaces.md.
   ========================================================================== */

/* --- 0. Variations propres au site (--decor-seed : 0 à 359) --------------- */
body[data-pattern], body[data-edge] {
  --sf-seed: var(--decor-seed, 0);
  --sf-flip: calc(mod(var(--sf-seed), 2) * 2 - 1);     /* -1 ou 1 : sens du biais, côté de départ */
  /* Grain : bruit fractal dans l'alpha (points épars), tuile 160 px, 350 octets. */
  --sf-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 -2.05'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* Parité de la section dans son parent : alterne le sens des formes d'une transition à l'autre. */
.s { --sf-par: 1; --sf-pn: 1; }
.s:nth-child(even) { --sf-par: -1; }
/* Rang parmi les sections à fond coloré : la trame change de côté d'une section décorée à l'autre. */
.s:nth-child(even of .t-alt, .t-tint, .t-deep, .t-accent) { --sf-pn: -1; }

/* --- 1. Trames de fond ----------------------------------------------------- */
/* Fonds alt, tint, deep, accent seulement. Jamais light (les sections claires respirent), jamais
   l'en-tête, la barre mobile ni un premier écran à photo plein cadre. La barre d'infos ne reçoit que
   le grain (ses informations passent avant tout dessin). La trame vit dans ::before, sous le contenu. */
body[data-pattern="grain"] .s:is(.t-alt, .t-tint, .t-deep, .t-accent):not(.s-header, .s-mobilebar, .s-ribbon, .s-hero--cover:not(.s-hero--nophoto)),
body:is([data-pattern="dots"], [data-pattern="grid"], [data-pattern="lines"], [data-pattern="topo"])
  .s:is(.t-alt, .t-tint, .t-deep, .t-accent):not(.s-header, .s-mobilebar, .s-ribbon, .s-infobar, .s-hero--cover:not(.s-hero--nophoto)) {
  isolation: isolate; overflow-x: clip;
}
body[data-pattern="grain"] .s:is(.t-alt, .t-tint, .t-deep, .t-accent):not(.s-header, .s-mobilebar, .s-ribbon, .s-hero--cover:not(.s-hero--nophoto))::before,
body:is([data-pattern="dots"], [data-pattern="grid"], [data-pattern="lines"], [data-pattern="topo"])
  .s:is(.t-alt, .t-tint, .t-deep, .t-accent):not(.s-header, .s-mobilebar, .s-ribbon, .s-infobar, .s-hero--cover:not(.s-hero--nophoto))::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  /* Sous une transition, la trame remonte dans la bande de la forme : aucun raccord visible. */
  inset: calc(-1 * var(--sf-edge-h, 0px)) 0 0;
  /* Côté de la trame : alterne d'une section décorée à l'autre, point de départ propre au site. */
  transform: scaleX(calc(var(--sf-flip) * var(--sf-pn)));
}

/* Encre : sur fond clair, la trame ÉCLAIRCIT (--surface) : le texte foncé ne peut que gagner en
   contraste. Sur deep, filet clair à 2,2 % au plus (garde ≥ 3:1 aux grands chiffres en accent et
   ≥ 4,5:1 au texte courant). Sur accent, ton sur ton à l'opposé du texte (inverse de --on-accent :
   ombre si le texte est blanc, lumière s'il est foncé) : le texte y gagne toujours. */
.t-alt, .t-tint { --sf-ink: var(--surface); --sf-k: 1; }
.t-deep   { --sf-ink: var(--on-deep); --sf-k: .022; }
.t-accent { --sf-ink: rgb(from var(--on-accent) calc(255 - r) calc(255 - g) calc(255 - b)); --sf-k: .16; }

/* Mobile : le texte occupe toute la largeur, les trames dessinées baissent d'un tiers. */
@media (max-width: 47.99rem) {
  body:is([data-pattern="dots"], [data-pattern="grid"], [data-pattern="lines"], [data-pattern="topo"]) .s { --sf-m: .65; }
}
body[data-pattern] .s { --sf-c: color-mix(in srgb, var(--sf-ink) calc(var(--sf-k) * var(--sf-p, 1) * var(--sf-m, 1) * 100%), transparent); }

/* grain : grain de papier, uniforme, à peine perceptible. */
body[data-pattern="grain"] .s { --sf-p: .8; }
body[data-pattern="grain"] .s::before {
  background-color: var(--sf-c);
  mask: var(--sf-grain) 0 0 / 160px 160px repeat;
}

/* dots : trame de points fine, dans un coin haut, fondue vers le centre. */
body[data-pattern="dots"] .s::before {
  background: radial-gradient(circle, var(--sf-c) 0 1.3px, transparent 1.9px) calc(var(--sf-seed) * .37px) calc(var(--sf-seed) * .21px) / 15px 15px;
  mask: radial-gradient(ellipse 62% 78% at 100% 0%, currentColor 18%, transparent 100%);
}

/* grid : quadrillage technique, maille fine 24 px et maille forte tous les 5 carreaux (papier calque).
   Les lignes sont dessinées dans le MASQUE (union des calques, plafonnée à 1) et l'encre n'est posée
   qu'une fois : aux croisements, la trame ne fonce ni n'éclaircit davantage qu'ailleurs. */
body[data-pattern="grid"] .s::before {
  --sf-g: calc(var(--sf-seed) * .29px);
  --sf-g2: color-mix(in srgb, currentColor 55%, transparent);
  background-color: var(--sf-c);
  mask:
    radial-gradient(ellipse 58% 95% at 100% 0%, currentColor 22%, transparent 100%),
    linear-gradient(currentColor 1px, transparent 1px) 0 var(--sf-g) / 120px 120px,
    linear-gradient(90deg, currentColor 1px, transparent 1px) var(--sf-g) 0 / 120px 120px,
    linear-gradient(var(--sf-g2) 1px, transparent 1px) 0 var(--sf-g) / 24px 24px,
    linear-gradient(90deg, var(--sf-g2) 1px, transparent 1px) var(--sf-g) 0 / 24px 24px;
  mask-composite: intersect, add, add, add, add;
}

/* lines : hachure fine éditoriale (sens donné par le côté), dans un coin haut. */
body[data-pattern="lines"] .s::before {
  background: repeating-linear-gradient(calc(-45deg + (mod(var(--sf-seed), 5) - 2) * 4deg), var(--sf-c) 0 .6px, transparent 1.3px 7px);
  mask: radial-gradient(ellipse 58% 85% at 100% 0%, currentColor 20%, transparent 100%);
}

/* topo : lignes de niveau douces, un seul relief dont le sommet sort par le coin haut. */
body[data-pattern="topo"] .s { --sf-p: .85; }
body[data-pattern="topo"] .s::before {
  background-color: var(--sf-c);
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900'%3E%3Cpath d='M600 250c1 5-1 11-5 15s-11 7-17 8s-12 1-18 1s-13-1-17-3s-6-6-9-10s-9-7-11-11s-2-11 1-15s10-9 16-10s15 1 20 2s8 5 13 7s14 0 18 3s8 8 9 13zM685 243c1 13-8 29-18 40s-27 22-43 27s-36 2-53 1s-36-2-48-8s-15-19-25-29s-28-18-34-31s-10-33-1-45s35-21 53-25s40 0 55 4s23 14 38 19s40 1 53 9s22 25 23 38zM770 236c1 21-19 45-35 64s-36 43-62 51s-63 2-91-1s-56-7-76-18s-28-29-45-45s-45-30-56-51s-22-58-7-77s65-29 96-34s63-2 88 3s40 19 65 26s64 5 84 19s38 42 39 63zM855 229c1 29-31 61-53 88s-43 65-78 77s-92 3-131-3s-71-20-100-35s-48-33-73-54s-60-43-75-73s-33-84-12-109s98-34 141-41s83-3 119 2s62 17 96 27s79 15 107 35s58 57 59 86zM936 222c3 37-36 77-63 113s-53 86-98 102s-122 6-171-4s-83-39-121-58s-75-30-109-56s-75-57-92-97s-40-108-11-140s128-41 183-49s103-2 150 2s89 9 131 22s90 31 123 58s76 70 78 107zM1013 215c6 45-31 97-63 141s-70 103-126 123s-151 11-209-4s-91-61-139-84s-107-25-151-54s-92-74-110-122s-36-130 0-168s151-52 218-62s124 2 182 5s118-4 168 12s94 52 132 87s92 82 98 126zM1085 208c11 53-13 121-49 173s-97 115-165 137s-178 16-245-3s-98-82-157-109s-141-17-195-50s-113-91-131-148s-18-146 26-192s165-69 241-81s146 6 216 8s149-15 206 5s96 72 138 115s104 92 115 145zM1153 201c18 62 19 149-21 208s-133 121-216 145s-203 20-279-2s-108-97-177-127s-171-13-237-50s-141-109-156-174s12-160 65-213s168-90 252-106s171 7 253 9s176-19 241 5s102 90 148 141s109 102 127 164zM1219 194c25 72 58 182 15 247s-177 123-275 146s-225 18-311-5s-124-101-203-132s-195-13-271-56s-173-128-185-200s51-169 112-230s164-116 255-138s198 4 292 8s199-12 271 17s114 103 164 160s111 111 136 183z' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") calc(100% + clamp(9rem, 16vw, 17rem)) clamp(-12rem, -9vw, -5rem) / clamp(36rem, 64vw, 64rem) auto no-repeat,
    linear-gradient(currentColor, transparent min(40rem, 85%));
  mask-composite: intersect;
}

/* --- 2. Transitions entre sections ---------------------------------------- */
/* .decor-edge = premier enfant d'une section dont le fond diffère de la précédente. La section gagne
   une bordure haute transparente de la hauteur de la forme : la forme y est dessinée et ne touche
   jamais le contenu, quel que soit le padding de la section (barre d'infos compacte comprise). */
.s[data-prev="light"]  { --sf-prev: var(--paper); }
.s[data-prev="alt"]    { --sf-prev: var(--alt); }
.s[data-prev="tint"]   { --sf-prev: var(--tint); }
.s[data-prev="deep"]   { --sf-prev: var(--deep); }
.s[data-prev="accent"] { --sf-prev: var(--accent); }

.decor-edge { display: none; }
/* Pas de forme dans un bandeau d'ornement (ribbon) ni juste après lui (il peut être incliné). */
body:is([data-edge="curve"], [data-edge="arch"], [data-edge="angle"], [data-edge="wave"]) .s:has(> .decor-edge):not(.s-ribbon, .s-ribbon + .s) {
  --sf-edge-h: var(--sf-shape-h, clamp(1.5rem, .9rem + 2.4vw, 3.5rem));   /* 24 px (390) à 56 px (1440 et plus) */
  border-top: var(--sf-edge-h) solid transparent;
  overflow-x: clip;
}
body:is([data-edge="curve"], [data-edge="arch"], [data-edge="angle"], [data-edge="wave"]) .s:not(.s-ribbon, .s-ribbon + .s) > .decor-edge {
  display: block; position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none;
  top: calc(-1 * var(--sf-edge-h) - 1px); height: calc(var(--sf-edge-h) + 1px);   /* 1 px de recouvrement : pas de liseré */
  background: var(--sf-prev);
}

/* curve : ventre doux et asymétrique de la section précédente ; le creux change de côté à chaque
   transition (la page ondule comme un ruban, sans répétition au tampon). */
body[data-edge="curve"] .s > .decor-edge {
  transform: scaleX(calc(var(--sf-flip) * var(--sf-par)));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000C760 0 560 100 380 100C200 100 70 46 0 22Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
/* arch : arc surbaissé, la section monte en voûte dans la précédente ; centré (un site sur trois)
   ou décalé, en alternance. */
body[data-edge="arch"] .s > .decor-edge {
  --sf-arch-x: calc(50% + var(--sf-flip) * var(--sf-par) * mod(var(--sf-seed), 3) * 14%);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000V100H800A454 400 0 0 0 200 100H0Z'/%3E%3C/svg%3E") var(--sf-arch-x) 0 / 140% 100% no-repeat;
}
/* angle : biais léger, toujours dans le même sens sur un site (bandes parallèles, pas de zigzag). */
body[data-edge="angle"] { --sf-shape-h: clamp(1.25rem, .7rem + 2vw, 3rem); }
body[data-edge="angle"] .s > .decor-edge {
  clip-path: polygon(0 0, 100% 0, 100% calc(50% + 50% * var(--sf-flip)), 0 calc(50% - 50% * var(--sf-flip)));
}
/* wave : ondulation lente (une période ≈ 4/5 d'écran), phase propre au site et décalée à chaque
   transition. */
body[data-edge="wave"] { --sf-shape-h: clamp(1.25rem, .8rem + 1.8vw, 2.75rem); }
body[data-edge="wave"] .s { --sf-ph: 0; }
body[data-edge="wave"] .s:nth-child(3n + 1) { --sf-ph: .38; }
body[data-edge="wave"] .s:nth-child(3n + 2) { --sf-ph: .71; }
body[data-edge="wave"] .s > .decor-edge {
  --sf-wave: clamp(34rem, 80vw, 84rem);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000V100C750 100 750 0 500 0C250 0 250 100 0 100Z'/%3E%3C/svg%3E") calc(var(--sf-seed) * -2.7px - var(--sf-ph) * var(--sf-wave)) 0 / var(--sf-wave) 100% repeat-x;
}

/* Grain : la forme de transition porte le grain de la section dont elle prolonge le fond. */
body[data-pattern="grain"] .s:is([data-prev="alt"], [data-prev="tint"], [data-prev="deep"], [data-prev="accent"]) > .decor-edge::before {
  content: ""; position: absolute; inset: 0;
  background-color: color-mix(in srgb, var(--sf-prev-ink) calc(var(--sf-prev-k) * 80%), transparent);
  mask: var(--sf-grain) 0 0 / 160px 160px repeat;
}
.s:is([data-prev="alt"], [data-prev="tint"]) { --sf-prev-ink: var(--surface); --sf-prev-k: 1; }
.s[data-prev="deep"]   { --sf-prev-ink: var(--on-deep); --sf-prev-k: .022; }
.s[data-prev="accent"] { --sf-prev-ink: rgb(from var(--on-accent) calc(255 - r) calc(255 - g) calc(255 - b)); --sf-prev-k: .16; }
body[data-pattern="grain"] .s-hero--cover:not(.s-hero--nophoto) + .s > .decor-edge::before { content: none; }

/* --- 3. Impression : aucun décor ------------------------------------------ */
@media print {
  .decor-edge { display: none !important; }
  .s:has(> .decor-edge) { border-top: 0 !important; }
  body[data-pattern] .s::before { content: none !important; }
}

:root {
  --paper: #eee8dd;
  --surface: #f6f2ea;
  --alt: #e3dbcd;
  --tint: #272e33;
  --deep: #1f2428;
  --ink: #1f2428;
  --muted: #545d63;
  --line: #cfc6b6;
  --on-deep: #eee8dd;
  --muted-on-deep: #c3c9cb;
  --line-on-deep: #3d464d;
  --accent-text: #a3431f;
  --accent-text-alt: #983e1c;
  --accent-on-deep: #c2542c;
  --on-accent-on-deep: #ffffff;
  --b-accent-light: #e9a07b;
}
/* ==========================================================================
   Univers Brut (lot P36) : chargé SEULEMENT si design.univers = brut.
   Palette (ardoise, terre cuite, blanc cassé) en variables :root calculées (univers/brut/index.ts, rootVars) ;
   ici : formes, grain, typographie et thèmes de section propres à l'univers. Aucune forme de métier.
   ========================================================================== */
:root {
  --radius-sm: 0px; --radius-lg: 0px; --radius-btn: 0px;
  /* Sections du socle : titres un peu plus grands (capitales condensées, environ 0,45 em par lettre), jamais au point de couper un mot
     de 14 lettres dans une colonne de 300 px ; interligne de 1,12 (capitale accentuée d'Anton : 1,11 em, elle ne touche pas la ligne du dessus). */
  --leading-h1: 1.12; --leading-h2: 1.12; --leading-h3: 1.15;
  --text-h2: clamp(2.5rem, 1.5rem + 2.4vw, 3.75rem);
  --text-h3: clamp(1.5rem, 1.25rem + .8vw, 2rem);
  --b-cut: 14px;
}
::selection { background: var(--accent); color: var(--on-accent); }

/* Grain statique sur toute la page (coupé sur écran tactile, comme la démo). */
@media (hover: hover) {
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* Titres : capitales condensées serrées, sans faux gras. */
.h1, .h2, .h3, .display { font-synthesis: none; }

/* Boutons : angles droits, coin coupé façon tôle pliée, capitales espacées. */
.btn { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .875rem; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - var(--b-cut)) 0, 100% var(--b-cut), 100% 100%, 0 100%); }
.btn--ghost { border-width: 2px; }

/* Thème « tint » de l'univers : bande sombre secondaire (ardoise claire, fines rayures verticales). */
.t-tint {
  --bg: var(--tint); --fg: var(--on-deep); --fg-muted: var(--muted-on-deep); --rule: var(--line-on-deep); --link: var(--on-deep);
  --btn-bg: var(--accent-on-deep); --btn-fg: var(--on-accent-on-deep); --card: color-mix(in srgb, var(--on-deep) 6%, var(--tint)); --focus: var(--on-deep);
  --accent-fg: var(--b-accent-light); --accent-fg-lg: var(--b-accent-light); --mark: var(--accent);
  --field-bg: color-mix(in srgb, var(--tint) 70%, var(--card)); --field-line: color-mix(in srgb, var(--on-deep) 56%, var(--tint));
  background-image: repeating-linear-gradient(90deg, transparent 0 94px, rgba(255, 255, 255, .04) 94px 95px, rgba(0, 0, 0, .22) 95px 97px);
}
/* Sur fond sombre : repères et surtitres en terre cuite claire (≥ 4,5:1), carrés et filets en accent. */
.t-deep { --accent-fg: var(--b-accent-light); --mark: var(--accent); }


.u-brut { --b-cut: 14px; --b-ease: cubic-bezier(.16, 1, .3, 1); --b-light: var(--b-accent-light, var(--accent-fg-lg)); }
.u-brut.t-deep, .u-brut.t-tint { --b-label: var(--b-light); }
/* Titres géants : la taille voulue (--b-h2), bornée par la largeur de la colonne (.b-col, unités de conteneur) pour que le mot le plus
   long (--lw lettres) y tienne ; interligne serré, relevé si une lettre porte un accent ou une cédille (.b-acc). */
.u-brut .b-col { container-type: inline-size; min-width: 0; }
.u-brut .h2 {
  --b-h2: clamp(2.25rem, 1.2rem + 3.6vw, 5rem);
  font-size: min(calc(var(--b-k, 1) * var(--b-h2)), calc(100cqi / (var(--lw, 6) * var(--cw, .5))));
  line-height: var(--b-lh, .88); letter-spacing: .004em; text-transform: uppercase; text-wrap: balance;
}
.u-brut .b-acc { --b-lh: 1.13; }
.u-brut .b-ced { --b-lh: 1.2; }
.u-brut .b-acc.b-ced { --b-lh: 1.3; }
.u-brut .h3.b-acc { line-height: 1.15; }
.u-brut .h3.b-ced { line-height: 1.22; }
.u-brut .h3 { text-transform: uppercase; line-height: .94; }
.b-label {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem;
  font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4;
  color: var(--b-label, var(--accent-fg));
}
.b-label::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--mark); }
.b-head { display: grid; gap: 1.25rem 3.75rem; margin-bottom: clamp(2.75rem, 2rem + 4vw, 5.5rem); }
.b-head__main > .b-label { margin-bottom: 1.25rem; }
.b-head__intro { color: var(--fg-muted); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); max-width: 34rem; text-wrap: pretty; }
@media (min-width: 900px) {
  .b-head { grid-template-columns: minmax(0, 1fr) minmax(15rem, 26rem); align-items: end; }
  .b-head--solo { grid-template-columns: minmax(0, 1fr); }
  .b-head__intro { padding-bottom: .75rem; }
}
.u-brut .btn {
  border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .875rem; font-weight: 700;
  clip-path: polygon(0 0, calc(100% - var(--b-cut)) 0, 100% var(--b-cut), 100% 100%, 0 100%);
}
.b-outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.b-arrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding-bottom: .25rem; border-bottom: 2px solid currentColor; }
.b-arrow .ico { width: 1rem; height: 1rem; stroke-width: 2.2; transition: transform .4s var(--b-ease); }
.b-arrow:hover .ico { transform: translateX(5px); }
.u-brut .media { border-radius: 0; }
/* Révélations au défilement : CSS seulement (aucun script), contenu visible sans elles ; mouvement réduit = rien (socle). */
@keyframes b-rv { from { opacity: 0; transform: translateY(2.25rem); } }
@keyframes b-curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes b-dezoom { from { transform: scale(1.16); } to { transform: scale(1.03); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .u-brut .b-rv { animation: b-rv linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
    .u-brut .b-curtain { animation: b-curtain linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    .u-brut .b-curtain img { animation: b-dezoom linear both; animation-timeline: view(); animation-range: entry 0% cover 65%; }
  }
}


.s-hero--brut-photo-titre-geant {
  --b-w: min(100vw - 2 * var(--gutter), var(--container-wide)); --b-lines: 3; --b-cap: 9.2vw; --b-max: 9.5rem;
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
}
.s-hero--brut-photo-titre-geant.b-hero--photo {
  min-height: max(36rem, calc(100svh - 4.5rem)); background: var(--deep); color: var(--on-deep);
  --fg: var(--on-deep); --fg-muted: color-mix(in srgb, var(--on-deep) 86%, transparent); --rule: color-mix(in srgb, var(--on-deep) 24%, transparent);
  --link: var(--on-deep); --btn-bg: var(--accent); --btn-fg: var(--on-accent); --focus: var(--on-deep); --b-label: var(--b-light); --mark: var(--accent);
}
.s-hero--brut-photo-titre-geant.b-hero--nophoto { min-height: min(46rem, 88svh); }
.s-hero--brut-photo-titre-geant .b-hero__media { position: absolute; inset: 0; }
.s-hero--brut-photo-titre-geant .b-hero__pic { position: absolute; inset: 0; margin: 0; border-radius: 0; background: var(--deep); }
.s-hero--brut-photo-titre-geant .b-hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; transform-origin: 62% 45%; }
.s-hero--brut-photo-titre-geant .b-hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 24, 27, .82) 0%, rgba(20, 24, 27, .45) 42%, rgba(20, 24, 27, 0) 70%),
    linear-gradient(0deg, rgba(20, 24, 27, .9) 0%, rgba(20, 24, 27, 0) 50%),
    linear-gradient(180deg, rgba(20, 24, 27, .5) 0%, rgba(20, 24, 27, 0) 22%);
}
.s-hero--brut-photo-titre-geant .b-hero__content {
  position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(2.25rem, 6vh, 4rem);
}
.s-hero--brut-photo-titre-geant .b-hero__eyebrow { margin-bottom: 0; max-width: 40rem; }
.s-hero--brut-photo-titre-geant .b-hero__title {
  font-size: max(2.5rem, min(var(--b-max), var(--b-cap), calc(var(--b-w) / (var(--lw) * var(--cw))), calc(var(--b-w) * var(--b-lines) / (var(--n) * var(--cw)))));
  line-height: var(--b-lh, .86); letter-spacing: .004em; text-transform: uppercase; text-wrap: balance;
  margin: 1rem -.06em 1.75rem; padding: .14em .06em .04em; overflow: hidden;
}
.s-hero--brut-photo-titre-geant .b-hero__line { display: inline-block; }
.s-hero--brut-photo-titre-geant .b-hero__dot { color: var(--accent); }
.s-hero--brut-photo-titre-geant .b-hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.75rem 2.5rem; }
.s-hero--brut-photo-titre-geant .b-hero__lead { max-width: 30rem; font-size: 1.0625rem; line-height: 1.6; color: var(--fg-muted); text-wrap: pretty; }
.s-hero--brut-photo-titre-geant .b-hero__ctas { gap: .75rem; }
.s-hero--brut-photo-titre-geant .b-hero__facts {
  list-style: none; padding: 1.25rem 0 0; margin-top: 1.75rem; border-top: 2px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.s-hero--brut-photo-titre-geant .b-hero__facts li { display: inline-flex; align-items: center; gap: .6rem; }
.s-hero--brut-photo-titre-geant .b-hero__facts li::before { content: ""; width: 8px; height: 8px; background: var(--mark); flex: none; }
.s-hero--brut-photo-titre-geant .b-hero__stampwrap { position: absolute; z-index: 2; top: clamp(6.5rem, 17vh, 10.5rem); right: var(--gutter); }
.s-hero--brut-photo-titre-geant .b-hero__stamp {
  width: 9.375rem; height: 9.375rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  text-align: center; color: var(--b-light); transform: rotate(-8deg);
  background: color-mix(in srgb, var(--deep) 62%, transparent);
  box-shadow: inset 0 0 0 3px currentColor, inset 0 0 0 8px transparent, inset 0 0 0 9.5px currentColor;
}
.s-hero--brut-photo-titre-geant .b-hero__stop, .s-hero--brut-photo-titre-geant .b-hero__sbot { font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; max-width: 7.5rem; }
.s-hero--brut-photo-titre-geant .b-hero__sbig { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 3.5rem; line-height: .9; text-transform: uppercase; }
@media (max-width: 760px) {
  .s-hero--brut-photo-titre-geant { --b-lines: 4; --b-cap: 13vw; }
  .s-hero--brut-photo-titre-geant .b-hero__content { padding-bottom: 1.875rem; }
  .s-hero--brut-photo-titre-geant .b-hero__eyebrow { font-size: .66rem; letter-spacing: .14em; max-width: calc(100% - 6.5rem); }
  .s-hero--brut-photo-titre-geant .b-hero__lead { font-size: .97rem; }
  .s-hero--brut-photo-titre-geant .b-hero__ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .s-hero--brut-photo-titre-geant .b-hero__ctas .btn { width: 100%; }
  .s-hero--brut-photo-titre-geant .b-hero__pic img { object-position: 78% 40%; transform-origin: 78% 40%; }
  /* Téléphone : le texte occupe toute la largeur, le voile monte plus haut et reste dense sous le texte. */
  .s-hero--brut-photo-titre-geant .b-hero__veil {
    background: linear-gradient(0deg, rgba(20, 24, 27, .94) 0%, rgba(20, 24, 27, .84) 42%, rgba(20, 24, 27, .66) 64%, rgba(20, 24, 27, .3) 100%);
  }
  .s-hero--brut-photo-titre-geant .b-hero__stampwrap { top: 5.25rem; right: 1rem; }
  .s-hero--brut-photo-titre-geant .b-hero__stamp { width: 6rem; height: 6rem; }
  .s-hero--brut-photo-titre-geant .b-hero__sbig { font-size: 2.25rem; }
  .s-hero--brut-photo-titre-geant .b-hero__stop, .s-hero--brut-photo-titre-geant .b-hero__sbot { font-size: .5rem; letter-spacing: .14em; max-width: 5rem; }
}
/* Entrée (à l'affichage) puis défilement (CSS seulement). */
@keyframes b-hero-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes b-hero-rise { from { transform: translateY(110%); } }
@keyframes b-hero-fade { from { opacity: 0; transform: translateY(1rem); } }
@keyframes b-hero-stamp { 0% { opacity: 0; transform: rotate(-8deg) scale(1.7); } 55% { opacity: 1; transform: rotate(-8deg) scale(.94); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes b-hero-shake { 0%, 100% { transform: none; } 20% { transform: translate(3px, 1px); } 40% { transform: translate(-3px, -1px); } 60% { transform: translate(2px, 1px); } 80% { transform: translate(-1px, 0); } }
@keyframes b-hero-par { to { transform: translateY(20%); } }
@keyframes b-hero-out { to { transform: translateY(-14%); opacity: 0; } }
@keyframes b-hero-up { to { transform: translateY(-60%); } }
@media (prefers-reduced-motion: no-preference) {
  .s-hero--brut-photo-titre-geant .b-hero__pic img { animation: b-hero-in 2.8s cubic-bezier(.16, 1, .3, 1) both; }
  .s-hero--brut-photo-titre-geant .b-hero__line { animation: b-hero-rise 1.1s cubic-bezier(.16, 1, .3, 1) .2s both; }
  .s-hero--brut-photo-titre-geant .b-hero__eyebrow, .s-hero--brut-photo-titre-geant .b-hero__bottom, .s-hero--brut-photo-titre-geant .b-hero__facts { animation: b-hero-fade .9s cubic-bezier(.16, 1, .3, 1) .7s both; }
  .s-hero--brut-photo-titre-geant .b-hero__stamp { animation: b-hero-stamp .7s cubic-bezier(.3, 1.4, .5, 1) 1.2s both; }
  .s-hero--brut-photo-titre-geant .b-hero__inner { animation: b-hero-shake .32s linear 1.55s 1; }
  @supports (animation-timeline: view()) {
    .s-hero--brut-photo-titre-geant { view-timeline: --b-hero block; }
    .s-hero--brut-photo-titre-geant .b-hero__media { animation: b-hero-par linear both; animation-timeline: --b-hero; animation-range: exit 0% exit 100%; }
    .s-hero--brut-photo-titre-geant .b-hero__content { animation: b-hero-out linear both; animation-timeline: --b-hero; animation-range: exit 0% exit 80%; }
    .s-hero--brut-photo-titre-geant .b-hero__stampwrap { animation: b-hero-up linear both; animation-timeline: --b-hero; animation-range: exit 0% exit 100%; }
  }
}


.s-services--brut-cartes-decalees .b-cards { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.625rem; align-items: start; }
.s-services--brut-cartes-decalees .b-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.s-services--brut-cartes-decalees .b-card__media { margin: 0; aspect-ratio: 16 / 10; background: var(--deep); }
.s-services--brut-cartes-decalees .b-card__media img { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.s-services--brut-cartes-decalees .b-card:hover .b-card__media img { transform: scale(1.06); }
.s-services--brut-cartes-decalees .b-card__body {
  position: relative; flex: 1; padding: 1.875rem 1.625rem; color: var(--fg);
  box-shadow: inset 2px 0 0 var(--fg), inset -2px 0 0 var(--fg), inset 0 -2px 0 var(--fg);
}
.s-services--brut-cartes-decalees .b-card__body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.s-services--brut-cartes-decalees .b-card:hover .b-card__body::after { transform: scaleX(1); }
.s-services--brut-cartes-decalees .b-card__n {
  position: absolute; top: -.62em; right: 1.125rem; font-family: var(--font-heading); font-weight: var(--heading-weight);
  font-size: calc(var(--b-k, 1) * 4rem); line-height: 1; color: var(--bg); -webkit-text-stroke: 2px var(--fg); pointer-events: none;
}
.s-services--brut-cartes-decalees .b-card__title { font-size: calc(var(--b-k, 1) * clamp(1.5rem, 1.1rem + .9vw, 2rem)); line-height: .92; margin: 0 0 .875rem; padding-right: 4.75rem; }
.s-services--brut-cartes-decalees .b-card__link { color: inherit; text-decoration: none; }
.s-services--brut-cartes-decalees .b-card__link::after { content: ""; position: absolute; inset: 0; }
.s-services--brut-cartes-decalees .b-card__text { font-size: .97rem; color: var(--fg-muted); text-wrap: pretty; }
.s-services--brut-cartes-decalees .b-card--cta .b-card__body { background: var(--accent); color: var(--on-accent); box-shadow: none; display: flex; align-items: flex-end; min-height: 14rem; }
.s-services--brut-cartes-decalees .b-card--cta .b-card__n { color: var(--accent); -webkit-text-stroke-color: var(--on-accent); top: .25rem; }
.s-services--brut-cartes-decalees .b-card--cta .b-card__body::after { background: var(--deep); }
.s-services--brut-cartes-decalees .b-card__call {
  display: inline-flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; font-family: var(--font-heading);
  font-weight: var(--heading-weight); text-transform: uppercase; font-size: calc(var(--b-k, 1) * clamp(1.5rem, 1.1rem + 1vw, 2.25rem)); line-height: .95;
}
.s-services--brut-cartes-decalees .b-card__call .ico { width: .7em; height: .7em; stroke-width: 2.2; flex: none; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.s-services--brut-cartes-decalees .b-card__call:hover .ico { transform: translateX(6px); }
.s-services--brut-cartes-decalees .b-card__call::after { content: ""; position: absolute; inset: 0; }
.s-services--brut-cartes-decalees .b-card__media--empty { background: color-mix(in srgb, var(--fg) 88%, var(--bg)); }
@media (min-width: 761px) {
  .s-services--brut-cartes-decalees .b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.125rem, 2vw, 1.875rem); }
  .s-services--brut-cartes-decalees .b-card__media { aspect-ratio: 4 / 3; }
  .s-services--brut-cartes-decalees .b-cards > .b-card:nth-child(2n) { margin-top: 3.75rem; }
  .s-services--brut-cartes-decalees .b-cards--span-last > .b-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .s-services--brut-cartes-decalees .b-cards--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-services--brut-cartes-decalees .b-cards--c3 > .b-card:nth-child(2n) { margin-top: 0; }
  .s-services--brut-cartes-decalees .b-cards--c3 > .b-card:nth-child(3n + 2) { margin-top: 4.375rem; }
  .s-services--brut-cartes-decalees .b-cards--span-last > .b-card:last-child { grid-column: auto / span var(--b-span, 1); }
}


.b-steps-sec .b-steps { display: grid; gap: clamp(2.5rem, 2rem + 4vw, 7.5rem); }
.b-steps-sec .b-steps__title { margin-bottom: 0; }
.b-steps-sec .b-steps__intro { margin-top: 1.5rem; color: var(--fg-muted); max-width: 32rem; text-wrap: pretty; }
.b-steps-sec .b-steps__figure { position: relative; margin-top: 2.25rem; max-width: 30rem; }
.b-steps-sec .b-steps__photo { margin: 0; aspect-ratio: 4 / 3; background: var(--deep); }
.b-steps-sec .b-steps__caption {
  position: absolute; left: 0; bottom: 0; max-width: 100%; padding: .6rem .875rem .45rem; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-heading); font-weight: var(--heading-weight); text-transform: uppercase; font-size: 1.375rem; line-height: 1;
}
.b-steps-sec .b-steps__figure:not(:has(figure)) .b-steps__caption { position: static; display: inline-block; }
.b-steps-sec .b-steps__track { position: relative; padding-left: 2.25rem; }
.b-steps-sec .b-steps__line { position: absolute; left: .25rem; top: .75rem; bottom: .75rem; width: 4px; background: color-mix(in srgb, var(--fg) 16%, transparent); }
.b-steps-sec .b-steps__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; }
.b-steps-sec .b-steps__list { list-style: none; padding: 0; }
.b-steps-sec .b-step { display: grid; gap: .75rem; padding: 2.125rem 0; border-bottom: 2px solid var(--rule); }
.b-steps-sec .b-step:first-child { padding-top: 0; }
.b-steps-sec .b-step__n {
  font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: calc(var(--b-k, 1) * 4.5rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--fg); text-transform: uppercase; white-space: nowrap;
}
.b-steps-sec .b-step__n--time { color: var(--accent-fg-lg); -webkit-text-stroke: 0; font-size: calc(var(--b-k, 1) * 3.5rem); }
.b-steps-sec .b-step__when { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-fg); margin-bottom: .5rem; }
.b-steps-sec .b-step__title { font-size: calc(var(--b-k, 1) * clamp(1.5rem, 1.1rem + 1.1vw, 2.25rem)); line-height: .92; margin: 0 0 .875rem; }
.b-steps-sec .b-step__text { max-width: 33rem; color: var(--fg-muted); text-wrap: pretty; }
@media (min-width: 761px) {
  .b-steps-sec .b-steps__track { padding-left: clamp(3.5rem, 6vw, 6rem); }
  .b-steps-sec .b-steps__line { left: clamp(.625rem, 1.6vw, 1.625rem); width: 12px; }
  .b-steps-sec .b-step { grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.125rem, 2.4vw, 2.125rem); align-items: start; padding: clamp(2.125rem, 4vw, 3.375rem) 0; }
  .b-steps-sec .b-step__n { font-size: calc(var(--b-k, 1) * clamp(4.75rem, 3rem + 4vw, 8rem)); min-width: 1.1em; }
  .b-steps-sec .b-step__n--time { font-size: calc(var(--b-k, 1) * clamp(3rem, 2rem + 3vw, 5.5rem)); min-width: 2.6em; }
}
@media (min-width: 1100px) {
  .b-steps-sec .b-steps { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .b-steps-sec .b-steps__aside { position: sticky; top: 2rem; align-self: start; }
  .b-steps-sec .b-steps__photo { aspect-ratio: 4 / 5; max-height: 26rem; }
}
@keyframes b-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes b-on { to { color: var(--accent); -webkit-text-stroke-color: var(--accent); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .b-steps-sec .b-steps__track { view-timeline: --b-steps block; }
    .b-steps-sec .b-steps__line i { animation: b-fill linear both; animation-timeline: --b-steps; animation-range: cover 15% cover 85%; }
    .b-steps-sec .b-step__n:not(.b-step__n--time) { animation: b-on linear both; animation-timeline: view(); animation-range: cover 38% cover 50%; }
  }
}


.s-cta--brut-plein-cadre { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(5.5rem, 4rem + 7vw, 9rem); }
.s-cta--brut-plein-cadre.b-cta--photo {
  background: #14181b; color: var(--on-deep); --fg: var(--on-deep); --fg-muted: color-mix(in srgb, var(--on-deep) 86%, transparent);
  --link: var(--on-deep); --b-label: var(--b-light); --mark: var(--accent); --focus: var(--on-deep); --btn-bg: var(--accent); --btn-fg: var(--on-accent);
}
.s-cta--brut-plein-cadre .b-cta__bg { position: absolute; inset: -12% 0; z-index: -1; }
.s-cta--brut-plein-cadre .b-cta__pic { position: absolute; inset: 0; margin: 0; border-radius: 0; background: #14181b; }
.s-cta--brut-plein-cadre .b-cta__pic img { width: 100%; height: 100%; object-fit: cover; }
.s-cta--brut-plein-cadre .b-cta__veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%),
    linear-gradient(180deg, rgba(20, 24, 27, .86), rgba(20, 24, 27, .58) 50%, rgba(20, 24, 27, .9));
}
.s-cta--brut-plein-cadre .b-cta { display: flex; flex-direction: column; align-items: center; max-width: 82rem; }
.s-cta--brut-plein-cadre .b-cta__label { justify-content: center; }
.s-cta--brut-plein-cadre .b-cta__title { --b-h2: clamp(2.25rem, 1rem + 4vw, 5.5rem); margin: .25rem 0 2rem; }
.s-cta--brut-plein-cadre .b-cta__l1, .s-cta--brut-plein-cadre .b-cta__l2 { display: block; }
.s-cta--brut-plein-cadre .b-cta__l1 { font-size: 1.36em; }
.s-cta--brut-plein-cadre .b-cta__l2 { color: var(--b-light); }
.s-cta--brut-plein-cadre:not(.b-cta--photo) .b-cta__l2 { color: var(--accent-fg-lg); }
.s-cta--brut-plein-cadre .b-cta__text { max-width: 40rem; font-size: 1.125rem; color: var(--fg-muted); text-wrap: pretty; }
.s-cta--brut-plein-cadre .b-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 2.375rem; }
.s-cta--brut-plein-cadre .b-cta__tel {
  display: inline-flex; align-items: center; gap: 1rem; padding: 1.375rem 2.125rem 1.125rem; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: calc(var(--b-k, 1) * clamp(2.5rem, 1.6rem + 2.6vw, 4.25rem)); line-height: 1;
  text-decoration: none; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); transition: filter .3s;
}
.s-cta--brut-plein-cadre .b-cta__tel:hover { filter: brightness(.9); }
.s-cta--brut-plein-cadre .b-cta__tel .ico { width: .62em; height: .62em; stroke-width: 2.2; margin-top: -.08em; }
.s-cta--brut-plein-cadre .b-cta__points {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.875rem; margin-top: 3.125rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted);
}
.s-cta--brut-plein-cadre .b-cta__points li { display: flex; align-items: center; gap: .625rem; }
.s-cta--brut-plein-cadre .b-cta__points li::before { content: ""; width: 8px; height: 8px; background: var(--mark); }
@media (min-width: 761px) { .s-cta--brut-plein-cadre.b-cta--photo { min-height: min(100svh, 58rem); display: grid; place-items: center; } }
@media (max-width: 760px) { .s-cta--brut-plein-cadre .b-cta__points { flex-direction: column; align-items: center; } }
@keyframes b-blink { 50% { opacity: .25; } }
@keyframes b-cta-par { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
@keyframes b-cta-l1 { from { transform: translateX(-6%); } to { transform: translateX(3%); } }
@keyframes b-cta-l2 { from { transform: translateX(6%); } to { transform: translateX(-3%); } }
@media (prefers-reduced-motion: no-preference) {
  .s-cta--brut-plein-cadre .b-cta__label--blink::before { animation: b-blink 1.4s steps(2) infinite; }
  @supports (animation-timeline: view()) {
    .s-cta--brut-plein-cadre { view-timeline: --b-cta block; }
    .s-cta--brut-plein-cadre .b-cta__bg { animation: b-cta-par linear both; animation-timeline: --b-cta; animation-range: cover 0% cover 100%; }
    .s-cta--brut-plein-cadre .b-cta__l1 { animation: b-cta-l1 linear both; animation-timeline: --b-cta; animation-range: cover 0% cover 100%; }
    .s-cta--brut-plein-cadre .b-cta__l2 { animation: b-cta-l2 linear both; animation-timeline: --b-cta; animation-range: cover 0% cover 100%; }
  }
}


.s-footer--brut-nom-geant { padding-block: clamp(3.75rem, 3rem + 4vw, 6.875rem) 2.25rem; color: var(--fg-muted); overflow: hidden; }
.s-footer--brut-nom-geant .b-foot__word {
  font-family: var(--font-heading); font-weight: var(--heading-weight); text-transform: uppercase; line-height: .78; color: var(--fg);
  font-size: min(35vw, calc((min(100vw, var(--container-wide)) - 2 * var(--gutter)) / (var(--n) * var(--cw))));
  white-space: nowrap; overflow: hidden; margin: -.18em 0 clamp(2.25rem, 5vw, 3.75rem) -.02em; padding: .26em 0 .04em;
}
.s-footer--brut-nom-geant .b-foot__word span { display: block; }
.s-footer--brut-nom-geant .b-foot__tagline { max-width: 40rem; margin-bottom: 2rem; font-size: 1.0625rem; color: var(--fg); }
.s-footer--brut-nom-geant .b-foot__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding: 2.5rem 0; border-top: 2px solid var(--rule); font-size: .9375rem; }
.s-footer--brut-nom-geant .b-foot__head { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--b-label, var(--accent-fg)); margin-bottom: 1rem; }
.s-footer--brut-nom-geant .b-foot__col ul { list-style: none; padding: 0; line-height: 2; }
.s-footer--brut-nom-geant a { color: inherit; text-decoration: none; }
.s-footer--brut-nom-geant a:hover { color: var(--fg); }
.s-footer--brut-nom-geant .b-foot__contact { display: grid; gap: .5rem; }
.s-footer--brut-nom-geant .b-foot__tel { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 2rem; line-height: 1; color: var(--fg); }
.s-footer--brut-nom-geant address { font-style: normal; }
.s-footer--brut-nom-geant .b-foot__hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .375rem 0; border-bottom: 1.5px dashed var(--rule); }
.s-footer--brut-nom-geant .b-foot__hours dd { margin: 0; text-align: right; color: var(--fg); }
.s-footer--brut-nom-geant .b-foot__note { margin-top: .75rem; font-size: .8125rem; }
.s-footer--brut-nom-geant .b-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.625rem; padding-top: 1.75rem; border-top: 2px solid var(--rule); font-size: .8125rem; }
.s-footer--brut-nom-geant .b-foot__legal { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.s-footer--brut-nom-geant .b-foot__legal a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.s-footer--brut-nom-geant .b-foot__badge { margin-left: auto; display: inline-flex; min-height: 2.75rem; align-items: center; gap: .3em; }
.s-footer--brut-nom-geant .b-foot__badge span { color: var(--b-light); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 761px) { .s-footer--brut-nom-geant .b-foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .s-footer--brut-nom-geant .b-foot__word span { animation: b-foot-up linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes b-foot-up { from { transform: translateY(70%); } }


.s-ribbon--brut-mots-contour { overflow: hidden; border-block: 2px solid var(--rule); }
.s-ribbon--brut-mots-contour .b-mq { position: relative; padding-block: clamp(1.125rem, .8rem + 1vw, 1.5rem); }
.s-ribbon--brut-mots-contour .b-mq__band { display: flex; width: max-content; }
.s-ribbon--brut-mots-contour .b-mq__track { list-style: none; margin: 0; padding: 0 0 0 2.5rem; display: flex; align-items: center; gap: 2.5rem; flex: none; }
.s-ribbon--brut-mots-contour .b-mq__w {
  font-family: var(--font-heading); font-weight: var(--heading-weight); text-transform: uppercase; line-height: 1; white-space: nowrap;
  font-size: calc(var(--b-k, 1) * clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem)); color: var(--fg);
}
.s-ribbon--brut-mots-contour .b-mq__w--o { color: transparent; -webkit-text-stroke: 1.5px var(--fg-muted); }
.s-ribbon--brut-mots-contour .b-mq__sep { width: 16px; height: 16px; background: var(--accent); transform: rotate(45deg); flex: none; }
.s-ribbon--brut-mots-contour .b-mq__track[aria-hidden="true"], .s-ribbon--brut-mots-contour .b-mq__pause { display: none; }
.s-ribbon--brut-mots-contour .b-mq__band { flex-wrap: wrap; width: auto; justify-content: center; }
@keyframes b-mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .s-ribbon--brut-mots-contour .b-mq__band { flex-wrap: nowrap; width: max-content; justify-content: flex-start; animation: b-mq 38s linear infinite; }
  .s-ribbon--brut-mots-contour .b-mq__track[aria-hidden="true"] { display: flex; }
  .s-ribbon--brut-mots-contour .b-mq:hover .b-mq__band, .s-ribbon--brut-mots-contour .b-mq:focus-within .b-mq__band, .s-ribbon--brut-mots-contour .b-mq:has(.b-mq__toggle:checked) .b-mq__band { animation-play-state: paused; }
  .s-ribbon--brut-mots-contour .b-mq__pause {
    display: inline-flex; position: absolute; right: var(--gutter); bottom: .375rem; align-items: center; gap: .4rem; cursor: pointer;
    font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted);
  }
  .s-ribbon--brut-mots-contour .b-mq__toggle { width: .875rem; height: .875rem; accent-color: var(--accent); }
}
