/* Hallmark · shape: le mur qui se construit dans un studio sombre, puis l'atelier ouvert (métiers épinglés, méthode, galerie, avant/après, carte, composeur, appel) · genre: editorial · theme: custom · brand: Maestro Rénovations (logo du client gardé tel quel, en petit, sur une pastille chaux ; palette choisie avec artistic-color-palettes, 12/11/26) · job: hire · idea: "la chaux qui recouvre le mur au scroll devient le papier de toute la page" · vibe: "revue d'architecture, pierre et chaux, lumière rasante"  * paper: chaux mesurée dans Chromium sur la dernière frame · accent: Magenta du logo #D80078 en petites surfaces (BRIEF-FIX2, planche qa/accent_options.jpg : A retenue contre Wada pl. 48 et magenta + brique), versions mesurées par build.py (texte sur la chaux, repères sur Sumi) ; la brique reste dans la vidéo · display: Libre Bodoni 500 + Albert Sans 300 (titres en deux faces, demande client) · body: Albert Sans 400 · hero: film au scroll en séquence d'images sur canvas (assets/js/sequence.js), cadre qui part sous la nav sur la couleur mesurée du studio puis passe plein cadre, texte dans la colonne sombre mesurée sur la frame 0 · nav: pastille du logo + logotype, liens, numéro ; fond studio, puis transparente sur la chaux, puis chaux · footer: pastille du logo, logotype, mentions · imagery: photographies des chantiers du client à leur taille réelle, carte swisstopo · signature: le mur pierre, brique, béton, chaux qui se construit au scroll  * axes: dark-to-light/didone-grotesk/one-logo-accent · posture: committed (Sumi, chaux, pierre claire en surfaces ; magenta du logo = action et repères, jamais en aplat) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 · weakest: R, quatre modules et une chorégraphie demandés par le client ; chaque écran garde une idée, le magenta du logo reste la seule couleur, en petites surfaces */
/* Hallmark · choreography: demande client écrite (« des animations au scroll, ça rajoute l'effet wow ») ; remplace la règle d'une seule révélation : 4 motifs, chacun réservé à un type d'élément, au plus 700 ms, IntersectionObserver une fois, rien sous reduced-motion ni sans JS */
/* Hallmark · reduced-motion: demande client (BRIEF-FIX2, « pas d'effet de film au scroll ? ») : le film du hero et la croissance de son cadre restent, ce sont des mouvements pilotés par le doigt qui s'arrêtent net avec lui ; révélations, compteurs et parallaxe (autonomes) sont coupés */
/* Hallmark · waive 59 · 96px entre le mur du hero et le titre des métiers · le brief client fixe environ 104 px pour que le titre arrive sur la chaux sans blanc */
/* Hallmark · waive 79 · le hero est une scène vidéo plein cadre, l'espace sous le texte montre le bloc de pierre et sa lumière · le texte reste dans la colonne sombre mesurée sur la frame 0 */
/* Hallmark · dismissed 58 · le brief client exige 600 à 850 mots visibles dans main pour le référencement, chaque écran reste sous 100 mots */
/* Hallmark · dismissed F4 · un seul bouton plein (magenta) ; les boutons fantômes, l'état actif des sélecteurs et les puces choisies du composeur (accent, demande client BRIEF-FIX2) sont des contrôles, pas des actions primaires */
/* Hallmark · answered F7 · les pastilles sont des contrôles (puces du composeur, poignée du curseur, points de carte, sélecteur d'état) */
/* Hallmark · titles: chaque H1/H2 en deux faces (Libre Bodoni 500 / Albert Sans 300) par groupes de mots entiers, même couleur, demande client (deux polices pour les titres) ; avoid-ai-design-ignore: SD5 au-dessus de chaque titre */

@font-face { font-family: "Libre Bodoni"; src: url("../fonts/libre-bodoni-500.woff2?v=e121892655") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-300-500.woff2?v=73c5ea2ea9") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Bodoni fallback"; src: local("Georgia"); size-adjust: 96%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Albert Sans fallback"; src: local("Arial"); size-adjust: 98%; ascent-override: 96%; descent-override: 26%; }

/* Base du kit : reset, titres en deux faces, boutons, badge, nav, contrôles des modules, images d'habillage,
   révélations, pied de page, barre d'action. Tokens (couleurs, polices, aplats mesurés) injectés par build.py
   dans un <style>:root{...}</style> ; @font-face générés depuis direction.polices. */
:root {
  --wall: var(--wall-d);
  --color-paper: var(--wall);
  --color-veil: var(--studio);
  --color-veil-0: color-mix(in oklab, var(--studio) 0%, transparent);


  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.1875rem; --text-xl: 1.5rem; --text-2xl: 2rem;
  --text-display: clamp(2.25rem, 2.6vw + 0.75rem, 3.875rem);
  --text-section: clamp(2.125rem, 2.5vw + 0.9rem, 3.625rem);
  --text-title: clamp(1.375rem, 0.6vw + 1.05rem, 1.75rem);
  --text-lead: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  --text-giant: clamp(5.5rem, 12vw, 11rem);
  --text-tel: clamp(2.75rem, 8vw, 8rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-reveal: 640ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px;
  --section-gap: 144px; --section-gap-s: 120px;
  --z-base: 1; --z-raised: 10; --z-sticky-nav: 300; --z-modal: 400;
  --radius: 2px; --radius-pill: 999px;
  --badge-h: 32px; --nav-h: 72px; --bar-h: 56px;
  --frame-top: var(--nav-h);
}
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) { :root { --wall: var(--wall-m); } }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--nav-h) + var(--space-md)); scrollbar-color: var(--color-neutral) var(--color-paper); -webkit-text-size-adjust: 100%; }
body { caret-color: var(--color-accent-ui); margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-weight: var(--weight-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; font-synthesis: none; font-variant-numeric: lining-nums tabular-nums; }
::selection { background: var(--color-dark); color: var(--color-on-dark); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--color-accent-ui); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-display); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Titres en deux faces : groupes de mots entiers, une ligne chacun, même couleur */
.t1 { display: block; font-family: var(--font-display); font-weight: var(--weight-display); letter-spacing: var(--t1-ls, -0.01em); }
.t2 { display: block; font-family: var(--font-display-2); font-weight: var(--weight-display-2); font-size: var(--t2-size, 0.8em); letter-spacing: var(--t2-ls, -0.02em); line-height: var(--t2-lh, 1.16); margin-top: var(--t2-mt, 0.08em); }
h1, h2 { line-height: var(--h-lh, 1.08); }
h2 { font-size: var(--text-section); max-width: var(--h2-max, 18ch); }

.skip { position: absolute; left: var(--space-md); top: var(--space-xs); z-index: var(--z-modal); padding: var(--space-xs) var(--space-md); background: var(--color-dark); color: var(--color-on-dark); transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline-color: var(--color-focus-dark); }

/* ------------------------------------------------------------------ boutons et liens */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 1px solid transparent; border-radius: var(--radius); font-family: var(--font-body); font-weight: var(--btn-weight, 400); font-size: var(--text-md); line-height: 1.1; letter-spacing: var(--btn-ls, normal); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-primary:active { background: var(--color-accent-hover); transform: translateY(1px); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
.btn-ghost:active { transform: translateY(1px); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-decoration-color: var(--color-accent-ui); }
.link:hover { text-decoration-thickness: 2px; }
.link:active { opacity: 0.8; }
.btn:disabled, button:disabled, input:disabled, select:disabled { opacity: 0.5; cursor: not-allowed; }

/* ------------------------------------------------------------------ badge et nav */
.demo-badge { display: flex; align-items: center; justify-content: center; min-height: var(--badge-h); margin: 0; padding: var(--space-2xs) var(--space-md); background: var(--color-dark); color: var(--color-on-dark-muted); font-size: var(--text-xs); line-height: 1.2; text-align: center; border-bottom: 1px solid var(--color-rule-dark); }
.nav { position: absolute; left: 0; right: 0; top: var(--badge-h); z-index: var(--z-sticky-nav); height: var(--nav-h); color: var(--color-ink); }
html.js .nav { position: fixed; top: 0; transform: translate3d(0, var(--badge-h), 0); }
.nav::before { content: ""; position: absolute; inset: 0; background: var(--color-paper); transition: opacity var(--dur-long) var(--ease-in-out), background-color var(--dur-long) var(--ease-in-out); }
.nav.is-dark { color: var(--color-on-dark); }
.nav.is-dark::before { background: var(--studio); }
.nav.is-clear::before { opacity: 0; }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-rule); opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.nav.has-rule::after { opacity: 1; }
.nav-in { position: relative; display: flex; align-items: center; gap: var(--space-xl); height: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); transition: color var(--dur-long) var(--ease-in-out); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; margin-right: auto; text-decoration: none; }
.brand-tile { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: var(--space-xs); background: var(--tile-bg, var(--color-dark)); border-radius: var(--radius); flex-shrink: 0; }
.brand-logo { width: 30px; height: auto; }
.wordmark { display: inline-flex; align-items: baseline; gap: 0.3em; font-size: 1.375rem; line-height: 1; white-space: nowrap; }
.wm-1 { font-family: var(--font-display); font-weight: var(--weight-display); }
.wm-2 { font-family: var(--font-display-2); font-weight: var(--weight-display-2); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; font-size: var(--text-sm); white-space: nowrap; }
.nav-links a:hover { text-decoration: underline; text-decoration-color: var(--color-accent-ui); text-decoration-thickness: 2px; }
.nav-links a:active { opacity: 0.8; }
.nav-tel { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-md); border: 1px solid currentColor; border-radius: var(--radius); text-decoration: none; font-weight: var(--btn-weight, 400); font-size: var(--text-sm); white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out); }
.nav-tel:hover { background: color-mix(in oklab, currentColor 12%, transparent); }
.nav-tel:active { transform: translateY(1px); }
.nav.is-dark .nav-links a:hover { text-decoration-color: var(--color-accent-on-dark); }
.nav.is-dark :focus-visible { outline-color: var(--color-focus-dark); }
/* ------------------------------------------------------------------ options (radios et cases stylées) */
.opts { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.opts legend, .field > span, .field > label, .composer legend { display: block; width: 100%; margin-bottom: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-muted); }
.opt, .chip { position: relative; display: inline-flex; }
.opt input, .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span, .chip span { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 46px; padding-inline: var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font-size: var(--text-sm); background: var(--color-surface); pointer-events: none; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.opt span::before { content: ""; width: 10px; height: 10px; border-radius: var(--radius-pill); border: 1px solid currentColor; flex-shrink: 0; }
.chip span::before { content: ""; display: none; width: 5px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -2px); }
.opt:hover span, .chip:hover span { border-color: var(--color-ink); }
.opt input:checked + span, .chip input:checked + span { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
.opt input:checked + span::before { background: var(--color-accent-on-dark); border-color: var(--color-accent-on-dark); }
.chip input:checked + span::before { display: block; color: var(--color-accent-on-dark); }
.opt input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.opt input:active + span, .chip input:active + span { transform: translateY(1px); }
.field { display: flex; flex-direction: column; }
.field input[type="text"], .field select { min-height: 48px; padding: 0 var(--space-2xs); border: 0; border-bottom: 1px solid var(--color-rule-strong); border-radius: 0; background: transparent; color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-micro) var(--ease-out); }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.field input::placeholder { color: var(--color-ink-muted); }
.field input:hover, .field select:hover { border-bottom-color: var(--color-ink); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-bottom-color: var(--color-ink); }
.footer { background: var(--color-dark); color: var(--color-on-dark-muted); padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule-dark); }
.footer-in { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; column-gap: var(--space-lg); row-gap: var(--space-md); }
.brand-tile-lg { width: 76px; height: 76px; padding: var(--space-xs); border: 1px solid var(--color-rule-dark); }
.footer-logo { width: 58px; height: auto; }
.wordmark-lg { color: var(--color-on-dark); font-size: 1.75rem; }
.footer-note { justify-self: end; max-width: 52ch; font-size: var(--text-xs); text-align: right; }

.actionbar { display: none; }
/* ------------------------------------------------------------------ révélations (4 motifs, demande client) */
html.js.motion .reveal-title .t1, html.js.motion .reveal-title .t2 { opacity: 0; transform: translateY(0.4em); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
html.js.motion .reveal-title .t2 { transition-delay: 120ms; }
html.js.motion .reveal-photo { clip-path: inset(100% 0 0 0); transition: clip-path 700ms var(--ease-out); }
html.js.motion .reveal-photo.is-in { clip-path: inset(0 0 0 0); }
html.js.motion .reveal-title.is-in .t1, html.js.motion .reveal-title.is-in .t2 { opacity: 1; transform: none; }
html.js.motion .reveal-list > * { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
html.js.motion .reveal-list.is-in > * { opacity: 1; transform: none; }
.art { margin: 0; }
.art-frame { width: 100%; position: relative; overflow: hidden; background: var(--color-dark); }
.art img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.art-portrait .art-frame { aspect-ratio: 3 / 4; }
.art-band { width: 100%; }
.art-band .art-frame { aspect-ratio: 16 / 9; max-height: 92vh; min-height: 56vh; }
.art-band picture { display: contents; }
@media (min-width: 961px) and (hover: hover) { html.js.motion .art-band img[data-parallax] { position: absolute; left: 0; top: -42px; height: calc(100% + 84px); will-change: transform; } }
/* bande-image : cadrage et fondu vers la section sombre suivante (champs position et fondu_bas) */
.art-band img { object-position: var(--art-pos, 50% 50%); }
.art-fade .art-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--color-dark)); }

html.js.motion .art-frame { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
html.js.motion .art.is-in .art-frame { opacity: 1; transform: none; }
html.js.motion .art-portrait img { transform: scale(1.07); transition: transform 1400ms var(--ease-out); }
html.js.motion .art-portrait.is-in img { transform: none; }

/* ------------------------------------------------------------------ tablettes */
@media (max-width: 1100px) {
  .nav-links { display: none; }
}
@media (max-width: 960px) {
  :root { --gutter: 32px; --section-gap: 112px; --section-gap-s: 96px; }
  .art-portrait .art-frame, .creation-grid .art-frame { aspect-ratio: 4 / 5; }
  .art-portrait img { object-position: 50% 40%; }
}
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) {
  :root { --gutter: 24px; --gap-columns: 12px; --nav-h: 64px; --section-gap: 96px; --section-gap-s: 88px; --frame-top: max(50svh, 340px); }
  .nav-in { gap: var(--space-sm); }
  .nav-tel { padding-inline: var(--space-sm); }
  .wordmark { font-size: 1.1875rem; }
  .nav .wordmark .wm-2 { display: none; }
  h2 { font-size: 2.125rem; }
  .art-band .art-frame { aspect-ratio: 4 / 5; min-height: 56vh; max-height: none; }
  .footer-in { grid-template-columns: auto minmax(0, 1fr); }
  .footer-note { grid-column: 1 / -1; justify-self: start; text-align: left; }
  body { padding-bottom: calc(var(--bar-h) + var(--space-xs) + env(safe-area-inset-bottom)); }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky-nav); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); height: calc(var(--bar-h) + var(--space-xs) + env(safe-area-inset-bottom)); padding: calc(var(--space-2xs) + var(--space-xs)) var(--space-xs) calc(var(--space-2xs) + env(safe-area-inset-bottom)); background: var(--color-paper); border-top: 1px solid var(--color-rule); color: var(--color-ink); transition: transform var(--dur-short) var(--ease-out), visibility 0s linear 0s; }
  .actionbar .btn { min-height: 48px; }
  .actionbar.is-hidden { transform: translateY(100%); visibility: hidden; transition: transform var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
}
@media (max-width: 380px) {
  .nav-tel { font-size: var(--text-xs); }
}

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

/* ------------------------------------------------------------------ hero : écrin sombre, le mouvement doré */
.hero { position: relative; height: calc(100svh - var(--badge-h)); min-height: 560px; background: var(--studio); color: var(--color-on-dark); }
.hero-sticky { position: relative; height: 100%; overflow: hidden; background: var(--studio); color: var(--color-on-dark); }
html.scrub .hero { height: calc(100lvh + 140lvh); }
html.scrub .hero-sticky { position: sticky; top: 0; height: 100lvh; }
.hero-frame { position: absolute; left: 0; right: 0; bottom: 0; top: var(--frame-top); transform-origin: 50% 50%; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.hero-canvas { display: block; opacity: 0; }
.hero-frame.has-film .hero-canvas { opacity: 1; }
.hero-veil { position: absolute; left: 0; right: 0; top: -1px; height: 24%; background: linear-gradient(to bottom, var(--color-veil) 0%, color-mix(in oklab, var(--color-veil) 72%, var(--color-veil-0)) 30%, color-mix(in oklab, var(--color-veil) 30%, var(--color-veil-0)) 62%, var(--color-veil-0) 100%); pointer-events: none; }
/* texte dans la colonne sombre mesurée de la frame 0, centré dans la partie visible du 1er écran */
.hero-copy { --hero-l: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)), calc(var(--copy-l) + 2.5vw)); position: absolute; top: var(--frame-top); height: calc(100svh - var(--badge-h) - var(--frame-top)); left: var(--hero-l); width: min(34rem, calc(var(--copy-r) - 2.5vw - var(--hero-l))); display: flex; flex-direction: column; justify-content: center; padding-block: var(--space-xl); }
.hero h1 { font-size: min(var(--text-display), 3.25rem); }
.hero h1 .t2 { font-size: 0.66em; margin-top: 0.3em; }
.hero-lead { margin-top: var(--space-lg); max-width: 34ch; font-size: var(--text-lead); line-height: 1.5; color: var(--color-on-dark-muted); }
.hero :focus-visible { outline-color: var(--color-focus-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
/* raccord : la dernière frame du film continue sous le haut de la 1re section (retournée, fondue dans le papier) */
.wall { position: absolute; left: 0; right: 0; top: 0; height: 100lvh; overflow: hidden; pointer-events: none; }
html:not(.scrub) .wall { display: none; }
.wall-img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; transform: scaleY(-1); }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-paper) 0%, transparent) 0%, color-mix(in oklab, var(--color-paper) 0%, transparent) 8%, var(--color-paper) 52%); }
/* texte à droite (direction.hero.texte_cote = droite) : colonne sombre mesurée à droite de la frame 0 */
.hero--droite .hero-copy { --hero-r: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)), calc(100% - var(--copy-r) + 2.5vw)); left: auto; right: var(--hero-r); width: min(34rem, calc(100% - var(--copy-l) - 2.5vw - var(--hero-r))); }
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) {
  html.scrub .hero { height: calc(100lvh + 120lvh); }
  .hero-copy, .hero--droite .hero-copy { top: var(--nav-h); bottom: auto; left: var(--gutter); right: var(--gutter); width: auto; height: calc(var(--frame-top) - var(--nav-h)); max-width: none; justify-content: flex-end; padding-block: var(--space-md) var(--space-lg); }
  .hero h1 { font-size: 2.375rem; }
  .hero-lead { margin-top: var(--space-sm); font-size: var(--text-md); }
  .hero-actions { flex-wrap: nowrap; gap: var(--space-xs); margin-top: var(--space-lg); }
  .hero-actions .btn { min-height: 48px; padding-inline: var(--space-md); }
  .hero-actions .btn-primary { flex: 1 1 auto; }
  .hero-veil { height: 30%; }
  .hero-actions .btn-num { display: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.125rem; }
}

/* ------------------------------------------------------------------ métiers : la chaux devient la page */
.metiers { position: relative; padding-top: var(--space-3xl); padding-bottom: var(--section-gap); }
.wall { position: absolute; left: 0; right: 0; top: 0; height: 100lvh; overflow: hidden; pointer-events: none; }
html:not(.scrub) .wall { display: none; }
.wall-img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; transform: scaleY(-1); }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-paper) 0%, transparent) 0%, color-mix(in oklab, var(--color-paper) 0%, transparent) 8%, var(--color-paper) 52%); }
.metiers-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.metiers-head { grid-column: 1 / span 9; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-3xl); }
.metiers-head h2 { grid-column: 1 / -1; margin-bottom: var(--space-lg); }
.metiers-lead { max-width: 44ch; font-size: var(--text-lead); }
.stat { display: flex; align-items: baseline; gap: var(--space-sm); margin: 0; }
.stat-n { display: inline-block; width: 2ch; text-align: right; font-family: var(--font-display); font-weight: 500; font-size: 3rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--color-accent-text); }
.stat-l { font-size: var(--text-sm); color: var(--color-ink-muted); max-width: 16ch; line-height: 1.3; }
.metiers-photo { grid-column: 1 / span 5; grid-row: 2; align-self: start; position: sticky; top: calc(var(--nav-h) + var(--space-xl)); max-width: 440px; }
.mp-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--color-surface-2); }
.mp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-long) var(--ease-in-out); }
.mp-img.is-on { opacity: 1; }
.mp-cap { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-muted); }
.metiers-list { grid-column: 7 / span 6; grid-row: 2; }
.metiers-list li { position: relative; min-height: 15lvh; padding: var(--space-lg) 0 var(--space-lg) var(--space-lg); border-top: 1px solid var(--color-rule); }
.metiers-list li::before { content: ""; position: absolute; left: 0; top: var(--space-lg); bottom: var(--space-lg); width: 2px; background: var(--color-accent-ui); transform: scaleY(0); transform-origin: 50% 0; transition: transform var(--dur-long) var(--ease-out); }
.metiers-list li.is-active::before { transform: scaleY(1); }
.metiers-list h3 { font-size: var(--text-title); line-height: 1.2; color: var(--color-ink-muted); transition: color var(--dur-short) var(--ease-out); }
.metiers-list li.is-active h3 { color: var(--color-ink); }
.metiers-list p { margin-top: var(--space-2xs); color: var(--color-ink-muted); max-width: 46ch; }

@media (max-width: 960px) {
  .metiers-head, .metiers-photo, .metiers-list { grid-column: 1 / -1; }
  .metiers-photo { position: relative; top: auto; grid-row: auto; margin-bottom: var(--space-xl); }
  .metiers-list { grid-row: auto; }
}
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) {
  .metiers { padding-top: var(--space-2xl); }
  .metiers-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); margin-bottom: var(--space-xl); }
  .metiers-photo { max-width: none; }
  .metiers-list li { min-height: 0; }
}

/* ------------------------------------------------------------------ méthode (bande Sumi) */
.methode { background: var(--color-dark); color: var(--color-on-dark); padding-block: var(--section-gap-s); }
.methode :focus-visible { outline-color: var(--color-focus-dark); }
.methode-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.methode-title { grid-column: 1 / span 5; max-width: 12ch; }
.methode-list { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.methode-list div { padding-top: var(--space-md); border-top: 1px solid var(--color-accent-on-dark); }
.methode-list dt { font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); line-height: 1.2; }
.methode-list dd { margin-top: var(--space-xs); color: var(--color-on-dark-muted); max-width: 30ch; }

@media (max-width: 960px) { .methode-title, .methode-list { grid-column: 1 / -1; } }
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) { .methode-list { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); } }

/* ------------------------------------------------------------------ galerie éditoriale (pierre claire), photos à leur taille */
.galerie { background: var(--color-surface); padding-block: var(--section-gap); }
.galerie-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-3xl); }
.galerie-head h2 { grid-column: 1 / span 7; }
.galerie-lead { grid-column: 9 / span 4; max-width: 34ch; color: var(--color-ink-muted); }
.galerie-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-3xl); align-items: start; }
.g figcaption { margin-top: var(--space-sm); padding-top: var(--space-xs); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-ink-muted); }
.g-frame { overflow: hidden; border-radius: var(--radius); background: var(--color-surface-2); }
.g-frame img { width: 100%; }
.g-1 { grid-column: 1 / span 7; max-width: 760px; }
.g-1 .g-frame { aspect-ratio: 3 / 2; }
html.js.motion .g-1 .g-frame img { height: 108%; max-width: none; object-fit: cover; }
.g-2 { grid-column: 9 / span 4; max-width: 420px; margin-top: var(--space-3xl); }
.g-3 { grid-column: 2 / span 6; max-width: 600px; margin-top: calc(-1 * var(--space-4xl)); }
.g-4 { grid-column: 9 / span 4; max-width: 420px; }

@media (max-width: 960px) {
  .galerie-head h2, .galerie-lead { grid-column: 1 / -1; }
  .galerie-lead { margin-top: var(--space-md); }
  .g-1, .g-2, .g-3, .g-4 { grid-column: 1 / -1; margin-top: 0; }
  .g-2, .g-4 { justify-self: end; width: min(100%, 420px); }
  html.js.motion .g-1 .g-frame img { height: auto; }
}
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) { .galerie-grid { row-gap: var(--space-2xl); } }

:root { --stage-h: 620px; }
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) { :root { --stage-h: 520px; } }
/* ------------------------------------------------------------------ avant / après (chaux) */
.realisations { padding-block: var(--section-gap); }
.real-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.real-head h2 { grid-column: 1 / span 7; }
.real-lead { grid-column: 9 / span 4; max-width: 36ch; color: var(--color-ink-muted); }
.ba { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.ba-tabs { grid-column: 1 / span 3; display: flex; flex-direction: column; border-top: 1px solid var(--color-rule); }
.ba-tabs [role="tab"] { position: relative; display: flex; align-items: center; min-height: 60px; padding: 0 0 0 var(--space-lg); border: 0; border-bottom: 1px solid var(--color-rule); background: none; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: var(--text-title); color: var(--color-ink-muted); cursor: pointer; transition: color var(--dur-micro) var(--ease-out); }
.ba-tabs [role="tab"]::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--color-accent-ui); transform: scaleY(0); transition: transform var(--dur-short) var(--ease-out); }
.ba-tabs [role="tab"]:hover { color: var(--color-ink); }
.ba-tabs [role="tab"][aria-selected="true"] { color: var(--color-ink); }
.ba-tabs [role="tab"][aria-selected="true"]::before { transform: scaleY(1); }
.ba-tabs [role="tab"]:active { opacity: 0.8; }
.ba-panel { grid-column: 5 / span 8; display: flex; flex-direction: column; align-items: flex-start; }
.ba-panel[hidden] { display: none; }
html:not(.js) .ba-tabs { display: none; }
html:not(.js) .ba-panel { grid-column: 1 / -1; margin-bottom: var(--space-2xl); }
.ba-frame { position: relative; height: min(var(--stage-h), calc(var(--maxw) / var(--ar)), calc((100vw - 2 * var(--gutter)) / var(--ar))); aspect-ratio: var(--ar); max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--color-surface-2); touch-action: pan-y; --pos: 50%; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; z-index: var(--z-raised); width: 100%; height: 100%; margin: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; touch-action: pan-y; }
.ba-range::-webkit-slider-runnable-track { height: 100%; background: none; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 56px; height: 100%; background: none; }
.ba-range::-moz-range-thumb { width: 56px; height: 100%; border: 0; background: none; }
.ba-range::-moz-range-track { background: none; }
.ba-range:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--color-accent-ui); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-surface) 70%, transparent); }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 0; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: var(--radius-pill); background: var(--color-accent-ui); box-shadow: 0 0 0 3px var(--color-surface), 0 2px 10px var(--color-shadow); }
.ba-tag { position: absolute; top: var(--space-sm); z-index: var(--z-base); padding: var(--space-2xs) var(--space-sm); background: var(--color-dark); color: var(--color-on-dark); font-size: var(--text-xs); pointer-events: none; }
.ba-tag-before { left: var(--space-sm); }
.ba-tag-after { right: var(--space-sm); }
.ba-cap { margin-top: var(--space-md); max-width: 60ch; font-size: var(--text-sm); color: var(--color-ink-muted); }
.ba-cap strong { font-weight: 500; color: var(--color-ink); }
.ba-note { margin-top: var(--space-2xl); max-width: 60ch; font-size: var(--text-sm); color: var(--color-ink-muted); }
.ba-steps { display: flex; width: max-content; margin-bottom: var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); padding: var(--space-3xs); }
.ba-steps button { min-height: 44px; padding-inline: var(--space-lg); border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.ba-steps button:hover { background: var(--color-surface-2); }
.ba-steps button[aria-pressed="true"] { background: var(--color-dark); color: var(--color-on-dark); }
.ba-steps button:active { transform: translateY(1px); }
.ba-panel[data-mode="steps"] .ba-img { opacity: 0; transition: opacity var(--dur-long) var(--ease-in-out); }
.ba-panel[data-mode="steps"] .ba-img.is-on { opacity: 1; }
html:not(.js) .ba-frame { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-sm); height: auto; aspect-ratio: auto; background: none; }
html:not(.js) .ba-img { position: static; height: auto; opacity: 1; clip-path: none; }
html:not(.js) .ba-range, html:not(.js) .ba-handle, html:not(.js) .ba-tag, html:not(.js) .ba-steps { display: none; }

@media (max-width: 960px) {
  .real-head h2, .real-lead { grid-column: 1 / -1; }
  .real-lead { margin-top: var(--space-md); }
  .ba-tabs { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; border-top: 0; margin-bottom: var(--space-lg); gap: var(--space-xs); scrollbar-width: none; }
  .ba-tabs [role="tab"] { flex-shrink: 0; min-height: 44px; padding-inline: var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font-family: var(--font-body); font-size: var(--text-sm); }
  .ba-tabs [role="tab"]::before { display: none; }
  .ba-tabs [role="tab"][aria-selected="true"] { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
  .ba-panel { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ carte (pierre claire) */
.carte { background: var(--color-surface); padding-block: var(--section-gap); }
.carte-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gap-columns); align-items: end; max-width: 980px; margin-bottom: var(--space-2xl); }
.carte-head h2 { grid-column: 1 / -1; margin-bottom: var(--space-lg); }
.carte-lead { max-width: 52ch; color: var(--color-ink-muted); }
.carte-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.carte-fig { grid-column: 1 / span 7; }
.carte-map { position: relative; border-radius: var(--radius); overflow: hidden; }
.carte-img { width: 100%; }
.carte-credit { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-ink-muted); }
.pin { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer; }
.pin::before { content: ""; position: absolute; inset: 13px; border-radius: var(--radius-pill); background: var(--color-accent-ui); box-shadow: 0 0 0 2px var(--color-surface), 0 1px 6px var(--color-shadow); transition: transform var(--dur-short) var(--ease-out); }
.pin-atelier::before { border-radius: 0; background: var(--color-accent-ui-strong, var(--color-dark)); }
.pin:hover::before { transform: scale(1.25); }
.pin[aria-pressed="true"]::before { transform: scale(1.5); box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent-ui); }
.pin:active::before { transform: scale(1.1); }
.carte-side { grid-column: 9 / span 4; }
.carte-panel { min-height: 320px; }
.place { display: none; }
.place.is-on { display: block; }
.place img { width: 100%; max-width: 360px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-md); }
.place h3 { font-size: var(--text-xl); line-height: 1.2; }
.place p { margin-top: var(--space-2xs); color: var(--color-ink-muted); }
.carte-list { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xl); }
.carte-list button { min-height: 44px; padding-inline: var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); background: none; font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.carte-list button:hover { background: var(--color-surface-2); }
.carte-list button[aria-pressed="true"] { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
.carte-list button:active { transform: translateY(1px); }
html:not(.js) .place { display: block; margin-bottom: var(--space-lg); }
html:not(.js) .carte-panel { min-height: 0; }

@media (max-width: 960px) { .carte-fig, .carte-side { grid-column: 1 / -1; } .carte-side { margin-top: var(--space-xl); } }
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) { .carte-head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); } .carte-map .pin { pointer-events: none; } }
.stat { display: flex; align-items: baseline; gap: var(--space-sm); margin: 0; }
.stat-n { display: inline-block; width: 2ch; text-align: right; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 3rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--color-accent-text); }
.stat-l { font-size: var(--text-sm); color: var(--color-ink-muted); max-width: 16ch; line-height: 1.3; }

/* ------------------------------------------------------------------ composeur (chaux) */
.projet { padding-block: var(--section-gap); }
.projet-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.projet-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
.projet-head h2 { margin-bottom: var(--space-lg); }
.projet-lead { max-width: 36ch; color: var(--color-ink-muted); }
.composer { grid-column: 6 / span 7; display: grid; row-gap: var(--space-2xl); }
.composer legend, .field > span, .c-out-title { padding: 0; margin-bottom: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding-inline: var(--space-md); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font-size: var(--text-sm); background: var(--color-surface); transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); pointer-events: none; }
.chip span::before { content: ""; display: none; width: 5px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -2px); }
.chip:hover span { border-color: var(--color-ink); }
.chip input:checked + span { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.chip input:checked + span::before { display: block; }
.chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.chip input:active + span { transform: translateY(1px); }
.c-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.field { display: flex; flex-direction: column; }
.field > span { font-weight: 400; color: var(--color-ink-muted); margin-bottom: var(--space-2xs); }
.field input, .field select { min-height: 48px; padding: 0 var(--space-2xs); border: 0; border-bottom: 1px solid var(--color-rule-strong); border-radius: 0; background: transparent; color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-micro) var(--ease-out); }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink) 50%), linear-gradient(135deg, var(--color-ink) 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.field input::placeholder { color: var(--color-ink-muted); }
.field input:hover, .field select:hover { border-bottom-color: var(--color-ink); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-bottom-color: var(--color-ink); }
.c-out { padding: var(--space-xl); background: var(--color-dark); color: var(--color-on-dark); border-radius: var(--radius); }
.c-out :focus-visible { outline-color: var(--color-focus-dark); }
.c-out-title { color: var(--color-on-dark-muted); font-weight: 400; }
.c-recap { min-height: 6.5em; padding: var(--space-md) var(--space-lg); border-radius: var(--radius); background: var(--color-dark-2); white-space: pre-line; line-height: 1.55; }
.c-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.c-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-on-dark-muted); }

@media (max-width: 960px) { .projet-head, .composer { grid-column: 1 / -1; } .projet-head { position: static; } }
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) { .c-fields { grid-template-columns: minmax(0, 1fr); } .c-out { padding: var(--space-lg); } .c-recap { padding: var(--space-sm) var(--space-md); } }

/* ------------------------------------------------------------------ avis et contact (Sumi) */
.avis { background: var(--color-dark); color: var(--color-on-dark); padding-block: var(--section-gap-s) var(--space-3xl); }
.avis :focus-visible, .contact :focus-visible { outline-color: var(--color-focus-dark); }
.avis-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.avis h2 { max-width: none; }
.avis-note { font-size: var(--text-giant); line-height: 0.95; font-variant-numeric: lining-nums; }
.avis-lead { margin-top: var(--space-lg); max-width: 50ch; color: var(--color-on-dark-muted); }
.avis .link { margin-top: var(--space-md); }

.contact { background: var(--color-dark); color: var(--color-on-dark); padding-block: var(--space-3xl) var(--section-gap); border-top: 1px solid var(--color-rule-dark); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.contact-grid h2 { grid-column: 1 / span 6; }
.contact-lead { grid-column: 8 / span 5; max-width: 40ch; color: var(--color-on-dark-muted); }
.contact-tel { grid-column: 1 / -1; margin-top: var(--space-2xl); font-family: var(--font-display); font-weight: 500; font-size: var(--text-tel); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; text-decoration: none; font-variant-numeric: lining-nums; }
.contact-tel:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--color-accent-on-dark); }
.contact-tel:active { opacity: 0.85; }
.contact-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.contact-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); margin-top: var(--space-3xl); }
.contact-facts div { padding-top: var(--space-md); border-top: 1px solid var(--color-rule-dark); }
.contact-facts dt { font-size: var(--text-sm); color: var(--color-on-dark-muted); }
.contact-facts dd { margin-top: var(--space-xs); }
.contact-facts a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-facts a:hover { text-decoration-thickness: 2px; }
@media (max-width: 960px) { .contact-grid h2, .contact-lead { grid-column: 1 / -1; } .contact-lead { margin-top: var(--space-lg); } .contact-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) { .contact-facts { grid-template-columns: minmax(0, 1fr); } }
