/* =========================================================================
   FAYLAIN — DA « Le gabarit »
   Une pièce Faylain naît d'un gabarit : des panneaux plats coupés net, posés
   bord à bord. Le site se monte pareil : un fond écru, l'encre du cuir noir,
   des filets d'un pixel pour lignes de coupe, des bords droits — et un seul
   geste de forme, le PAN COUPÉ (coin biseauté à 45°), réservé à ce qui est
   choisi ou achevé : le bouton d'envoi, le type de demande sélectionné, le
   contour des fiches (« L'atelier », la prise de contact), et le portrait de
   « À propos » — la pièce finie. On coupe le FOND ou le FILET
   (pseudo-élément), jamais l'élément : un clip-path sur l'élément couperait
   aussi son anneau de focus.

   La voix est la seconde signature : Nunito Sans seule, comme une seule
   peau ; affiche légère et serrée, libellés pleins, capitales réservées au
   mot-symbole et au repère de section. La hiérarchie vient de la taille et
   de la graisse, jamais d'une autre police.

   La couleur se tient : écru, cuir, taupe. Un seul accent, le rouge garance
   des cuirs de l'atelier, posé en petit détail à un seul endroit (le statut
   d'ouverture) — et, par nécessité, sur les erreurs.
   ⛔ Aucun décor « couture » (point sellier, tirets, pointillés) : refusé par
   le client, à ne jamais réintroduire. Aucun aplat rose ou grès.

   Phase 1 (2026-11) : feuille de contact.html ; l'accueil et « À propos »
   gardent style.css jusqu'à leur migration. Composition née sur mobile ; les
   points de rupture (40em, 64em) l'allongent. Pas de mode sombre. Aucune
   ombre. Rayon nul, sauf le repère rond des boutons radio (signe du choix
   unique).
   ========================================================================= */

/* -------------------------------------------------------------------------
   0. Police — Nunito Sans, axe YTLC figé à 470 dans le fichier (fontTools,
   varLib.instancer YTLC=470 wght=300:800) : plus de font-variation-settings
   à poser ni à protéger. Nom de famille propre : une Nunito Sans installée
   sur le poste ne prend jamais la place de l'instance.
   ⚠️ Le fichier n'a ni U+202F (espace fine insécable : écrire &nbsp;), ni
   chiffres tabulaires, ni italique (em/i neutralisés plus bas).
   ------------------------------------------------------------------------- */
@font-face {
  font-family: "Faylain Sans";
  src: url("../fonts/nunito-sans-470-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Faylain Sans";
  src: url("../fonts/nunito-sans-470-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Repli métrique : Arial recalé sur Nunito Sans (chasse mesurée 0,880 ;
   ascendante 1011, descendante 353 sur 1000). Le titre-affiche ne change
   pas de largeur quand la vraie police arrive. */
@font-face {
  font-family: "Faylain Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 88%;
  ascent-override: 114.9%;
  descent-override: 40.1%;
  line-gap-override: 0%;
}

/* -------------------------------------------------------------------------
   1. Jetons
   ------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* ---- Matières (tirées des pièces) ----
     Contrastes (WCAG 2.x) : cuir/écru 15,87 · taupe/écru 6,21 ·
     garance/écru 6,28 · garance/écru-2 5,63 · filet-champ/écru 3,31
     (limite de champ, 1.4.11) · taupe/écru-2 5,57 · écru/cuir 15,87 ·
     écru-doux/cuir 8,15 · or/cuir 9,36.
     Interdit : un champ sur écru-2 (filet 2,97). */
  --ecru: #f4efe6;
  --ecru-2: #eae3d6;      /* aplat neutre : plan d'attente, alerte */
  --cuir: #181513;
  --cuir-2: #2b2521;
  --taupe: #62564c;
  --filet-champ: #8e8173;
  --garance: #9e2f3a;     /* l'accent : le rouge des cuirs, en détail */
  --rouge: var(--garance); /* erreurs (fonctionnel) */
  --ecru-doux: #b8ac9c;
  --or: #e8b21c; /* l'or du logo : une seule apparition, le mot-symbole du pied */

  --filet: rgb(24 21 19 / 0.16);
  --filet-fort: rgb(24 21 19 / 0.3);   /* contour de la fiche « L'atelier » */
  --filet-cuir: rgb(244 239 230 / 0.16);
  --souligne: rgb(24 21 19 / 0.35);
  --surface: var(--ecru); /* fond du contexte : couleur du pan coupé des options */
  --focus: var(--cuir);

  /* ---- Typographie ----
     Fluide de 320 à 1 440 px (l'affiche continue jusqu'à 1 920). Une linéale
     se resserre en grandissant : +0,09 em à 12 px, −0,035 em à 120 px. */
  --font: "Faylain Sans", "Faylain Sans Fallback", "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;

  --fs-affiche: clamp(3rem, 2.1rem + 4.5vw, 7.5rem);            /* 48 → 98 (120 à 1920) */
  --fs-h1: clamp(2.25rem, 1.6786rem + 2.8571vw, 4.25rem);       /* 36 → 68 */
  --fs-h2: clamp(1.625rem, 1.375rem + 1.25vw, 2.5rem);          /* 26 → 40 */
  --fs-h3: clamp(1.1875rem, 1.0982rem + 0.4464vw, 1.5rem);      /* 19 → 24 */
  --fs-lede: clamp(1.125rem, 1.0536rem + 0.3571vw, 1.375rem);   /* 18 → 22 */
  --fs-corps: clamp(1rem, 0.9643rem + 0.1786vw, 1.125rem);      /* 16 → 18 */
  --fs-champ: clamp(1.0625rem, 1.0446rem + 0.0893vw, 1.125rem); /* 17 → 18 : jamais < 16 (zoom iOS) */
  --fs-bouton: clamp(0.9375rem, 0.9196rem + 0.0893vw, 1rem);    /* 15 → 16 */
  --fs-petit: clamp(0.875rem, 0.8571rem + 0.0893vw, 0.9375rem); /* 14 → 15 */
  --fs-libelle: var(--fs-petit);
  --fs-capitales: clamp(0.75rem, 0.7321rem + 0.0893vw, 0.8125rem); /* 12 → 13 */
  --fs-marque: clamp(1.0625rem, 0.9911rem + 0.3571vw, 1.3125rem);  /* 17 → 21 */

  --fw-affiche: 340; --fw-h1: 340; --fw-h2: 400; --fw-h3: 600;
  --fw-corps: 400; --fw-nav: 500; --fw-champ: 450; --fw-option: 550;
  --fw-petit: 500; --fw-libelle: 650; --fw-bouton: 650;
  --fw-capitales: 700; --fw-marque: 760;

  --lh-affiche: 0.96; --lh-h1: 1.02; --lh-h2: 1.1; --lh-h3: 1.25;
  --lh-lede: 1.5; --lh-corps: 1.6; --lh-champ: 1.4; --lh-petit: 1.45;
  --lh-libelle: 1.3; --lh-capitales: 1.2;

  --tr-affiche: -0.035em; --tr-h1: -0.03em; --tr-h2: -0.022em; --tr-h3: -0.012em;
  --tr-lede: -0.008em; --tr-corps: -0.003em; --tr-champ: -0.005em;
  --tr-petit: 0em; --tr-libelle: 0.005em; --tr-bouton: 0.01em;
  --tr-capitales: 0.09em; --tr-marque: 0.14em;

  /* ---- Espace (base 4 px) ---- */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --gutter: clamp(1.25rem, 0.75rem + 2.5vw, 4.5rem);   /* 20 → 48 (60 à 1920) */
  --grid-gap: clamp(1rem, 0.6rem + 2vw, 2rem);
  --space-section: clamp(4rem, 2.5rem + 6vw, 9rem);
  --space-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-field: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --space-top: clamp(2.5rem, 1.5rem + 5vw, 6rem);
  --pad-panel: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);

  /* ---- Géométrie ---- */
  --page-max: 110rem;
  /* Fluides au-delà de 1 440 px : aucun saut de largeur (46 → 52rem et
     34 → 45rem entre 1 440 et 1 920). */
  --form-max: clamp(46rem, 28rem + 20vw, 52rem);
  --panel-max: clamp(34rem, 1rem + 36.67vw, 45rem);
  --measure: 62ch;
  --measure-lede: 34ch;
  --header-h: clamp(3.75rem, 3.4rem + 1.5vw, 4.75rem);
  --btn-h: 3.5rem;
  --tap: 2.75rem;
  --radius: 0;
  --hair: 1px;
  --cut: clamp(0.625rem, 0.5rem + 0.6vw, 1rem);          /* commandes */
  --cut-piece: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);       /* la fiche */
  --cut-portrait: clamp(2rem, 1.25rem + 2.5vw, 4rem);     /* le portrait */

  /* ---- Mouvement : une coupe nette, départ franc, fin posée ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);  /* la lame finit sa course */
  --ease-cut: cubic-bezier(0.76, 0, 0.24, 1); /* le geste décidé */
  --ease-std: cubic-bezier(0.2, 0, 0, 1);     /* réponses d'interface */
  --d-1: 160ms; --d-2: 240ms; --d-3: 360ms; --d-4: 520ms; --d-5: 800ms;

  --z-header: 100; --z-menu: 110; --z-toggle: 120; --z-skip: 200;
}
/* Une course plus courte se parcourt plus vite. */
@media (max-width: 39.99em) {
  :root { --d-4: 420ms; --d-5: 600ms; }
}
/* Mobile en paysage : l'affiche ne doit pas manger la hauteur. */
@media (max-height: 30rem) and (orientation: landscape) {
  :root { --fs-affiche: clamp(2.5rem, 1rem + 4vw, 3.75rem); --space-top: 1.5rem; }
}

/* -------------------------------------------------------------------------
   2. Socle
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Un champ atteint au clavier ne passe jamais sous l'en-tête (2.4.11). */
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html[data-scroll-lock] { overflow: hidden; scrollbar-gutter: stable; }
/* La gouttière réservée prend le fond de html : menu ouvert, elle doit être
   cuir, sinon une bande écru longe le panneau (écrans à barre classique). */
html[data-menu-open] { background: var(--cuir); }

body {
  margin: 0;
  background: var(--ecru);
  color: var(--cuir);
  font-family: var(--font);
  font-size: var(--fs-corps);
  font-weight: var(--fw-corps);
  line-height: var(--lh-corps);
  letter-spacing: var(--tr-corps);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
em, i { font-style: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--cuir); color: var(--ecru); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--page-max));
  margin-inline: auto;
}
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  z-index: var(--z-skip);
  padding: var(--s-3) var(--s-4);
  background: var(--cuir);
  color: var(--ecru);
  font-size: var(--fs-petit);
  font-weight: var(--fw-libelle);
  text-decoration: none;
  transform: translateY(calc(-100% - var(--s-4)));
  transition: transform var(--d-2) var(--ease-out);
  --focus: var(--cuir);
}
.skip-link:focus { transform: none; }

/* ---- Voix ---- */
.kicker {
  font-size: var(--fs-capitales);
  font-weight: var(--fw-capitales);
  line-height: var(--lh-capitales);
  letter-spacing: var(--tr-capitales);
  text-transform: uppercase;
  color: var(--taupe);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--fs-marque);
  font-weight: var(--fw-marque);
  line-height: 1;
  letter-spacing: var(--tr-marque);
  text-transform: uppercase;
  text-decoration: none;
  /* l'interlettrage final décalerait le mot vers la gauche */
  margin-right: calc(-1 * var(--tr-marque));
}

/* ---- Statut de l'atelier (rempli par gabarit-atelier.js) ----
   Seul accent de couleur du site (garance). Carré plein = ouvert, carré
   vide = fermé : le mot porte l'information, le
   carré la double. La ligne est réservée même vide (aucun saut au calcul). */
.status {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  min-height: 1lh;
  font-size: var(--fs-petit);
  font-weight: 600;
  line-height: var(--lh-petit);
  color: var(--garance);
}
.status:empty { visibility: hidden; }
.status::before {
  content: "";
  flex: none;
  width: 0.55em;
  height: 0.55em;
  background: currentColor;
}
.status[data-state="closed"]::before,
.status[data-state="holiday"]::before {
  background: transparent;
  box-shadow: inset 0 0 0 1px currentColor;
}

/* -------------------------------------------------------------------------
   3. Boutons
   ------------------------------------------------------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: var(--btn-h);
  padding-inline: var(--s-5);
  border: 0;
  border-radius: var(--radius);
  background: none;
  font-size: var(--fs-bouton);
  font-weight: var(--fw-bouton);
  line-height: 1.2;
  letter-spacing: var(--tr-bouton);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.btn__label { white-space: nowrap; }
.btn__icon { flex: none; transition: transform var(--d-2) var(--ease-std), opacity var(--d-2) var(--ease-std); }

/* Principal : aplat de cuir, coupé en haut à droite (pan coupé = achevé). */
.btn--primary { color: var(--ecru); }
.btn--primary::before {
  background: var(--cuir);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: background-color var(--d-2) var(--ease-std);
}
@media (hover: hover) {
  .btn--primary:hover::before { background: var(--cuir-2); }
  .btn--primary:hover .btn__icon { transform: translateX(0.25rem); }
}
.btn--primary:active { transform: scale(0.985); transition: transform var(--d-1) var(--ease-std); }

/* Deux libellés superposés : la largeur ne bouge pas pendant l'envoi. */
.btn__labels { display: grid; }
.btn__labels > * { grid-area: 1 / 1; transition: opacity var(--d-2) var(--ease-std); }
.btn__label--busy { opacity: 0; }
.btn.is-sending { cursor: progress; }
.btn.is-sending .btn__label--idle,
.btn.is-sending .btn__icon { opacity: 0; }
.btn.is-sending .btn__label--busy { opacity: 1; }

/* Envoi en cours : le libellé change, la flèche cède la place à un petit
   anneau qui tourne (sans décor). La largeur ne bouge pas. */
.btn__spinner {
  position: absolute;
  right: var(--s-5);
  top: 50%;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: -0.4375rem;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--d-2) var(--ease-std);
}
.btn.is-sending .btn__spinner { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .btn.is-sending .btn__spinner { animation: spin 800ms linear infinite; }
}
@keyframes spin { to { transform: rotate(1turn); } }

/* Secondaire : contour d'un pixel, un aplat balaie au survol / focus. Le
   libellé change de couleur sur la même durée que l'aplat : sinon il vire
   à l'écru sur un fond encore clair, illisible un instant. Pas de pan coupé. */
.btn--line { color: var(--cuir); box-shadow: inset 0 0 0 var(--hair) var(--cuir); }
.btn--line::before {
  background: var(--cuir);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 480ms var(--ease-out);
}
.btn--line .btn__label,
.btn--line .btn__icon { transition: color 480ms var(--ease-out), transform var(--d-2) var(--ease-std); }
.btn--line:focus-visible { color: var(--ecru); }
.btn--line:focus-visible::before { transform: scaleX(1); }
@media (hover: hover) {
  .btn--line:hover { color: var(--ecru); }
  .btn--line:hover::before { transform: scaleX(1); }
  .btn--line:hover .btn__icon { transform: translate(2px, -2px); }
}

/* -------------------------------------------------------------------------
   4. En-tête
   Collant ; la BARRE (pas l'en-tête) se translate au masquage : un
   transform sur .site-header ferait de lui le bloc conteneur du menu fixe.
   L'en-tête ne capte pas le pointeur : masqué, il laisse cliquer dessous.
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  pointer-events: none;
}
.site-header__bar {
  position: relative;
  z-index: var(--z-toggle);
  pointer-events: auto;
  background: var(--ecru);
  transition:
    transform var(--d-3) var(--ease-cut),
    background-color var(--d-2) var(--ease-std),
    color var(--d-2) var(--ease-std);
}
.site-header__bar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--hair);
  background: var(--filet);
  opacity: 0;
  transition: opacity var(--d-2) var(--ease-std);
}
.site-header.is-scrolled .site-header__bar::after { opacity: 1; }
.site-header.is-hidden .site-header__bar { transform: translateY(-100%); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  min-height: var(--header-h);
}

.nav { margin-left: auto; display: none; }
/* flex-wrap : avec un texte agrandi à 200 %, les liens passent à la ligne
   au lieu de déborder (1.4.4). */
.nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: var(--fw-nav);
  text-decoration: none;
  color: var(--taupe);
  transition: color var(--d-2) var(--ease-std);
}
/* Page active : l'encre pleine et la graisse du libellé. Les autres liens
   sont en taupe et prennent l'encre au survol. Aucun soulignement. */
@media (hover: hover) {
  .nav__link:hover { color: var(--cuir); }
}
.nav__link[aria-current="page"] { color: var(--cuir); font-weight: 700; }

/* Bouton du menu : le mot, et deux barres qui se croisent. */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--tap);
  margin-left: auto;
  margin-right: calc(-1 * var(--s-2));
  padding-inline: var(--s-2);
  font-size: var(--fs-bouton);
  font-weight: var(--fw-bouton);
  letter-spacing: var(--tr-bouton);
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle__label { min-width: 3.4em; text-align: right; }
.menu-toggle__bars { position: relative; width: 1.375rem; height: 0.75rem; }
.menu-toggle__bars > span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--d-3) var(--ease-cut);
}
.menu-toggle__bars > span:first-child { top: 0.125rem; }
.menu-toggle__bars > span:last-child { bottom: 0.125rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars > span:first-child { transform: translateY(0.24rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars > span:last-child { transform: translateY(-0.24rem) rotate(-45deg); }

/* Tant que gabarit-nav.js n'a pas posé .nav-ready (JS absent, script en
   échec), le bouton Menu ne ferait rien : la navigation reste en ligne et
   passe sous le mot-symbole quand la place manque. */
html:not(.nav-ready) .menu-toggle { display: none; }
html:not(.nav-ready) .nav { display: block; }
@media (max-width: 39.99em) {
  html:not(.nav-ready) .site-header__inner { flex-wrap: wrap; column-gap: var(--s-5); row-gap: 0; padding-bottom: var(--s-1); }
  html:not(.nav-ready) .nav { margin-left: 0; width: 100%; }
}
@media (min-width: 40em) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
/* Mobile en paysage : l'en-tête cesse d'être collant (360 px de haut). */
@media (max-height: 30rem) and (orientation: landscape) {
  .site-header { position: relative; }
}

/* ---- Menu mobile : un aplat de cuir descend du haut ---- */
html[data-menu-open] .site-header__bar { background: transparent; color: var(--ecru); }
html[data-menu-open] .site-header__bar::after { opacity: 0; }
html[data-menu-open] .site-header__bar { --focus: var(--ecru); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--cuir);
  color: var(--ecru);
  --focus: var(--ecru);
  transform: translateY(-100%);
  transition: transform var(--d-3) var(--ease-cut);
}
.mobile-menu.is-open { transform: none; transition-duration: var(--d-4); }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-7);
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: calc(var(--header-h) + var(--s-6)) var(--s-6);
}
.mobile-menu__nav ul { display: grid; gap: var(--s-2); }
.mobile-menu__link {
  position: relative;
  display: inline-block;
  padding-block: var(--s-1) var(--s-3);
  color: var(--ecru-doux);
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
  text-decoration: none;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--d-2) var(--ease-std), transform var(--d-2) var(--ease-std);
}
.mobile-menu__link[aria-current="page"] { color: var(--ecru); font-weight: 600; }
.mobile-menu__link:hover { color: var(--ecru); }
.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: none;
  transition: opacity var(--d-4) var(--ease-out), transform var(--d-4) var(--ease-out);
}
.mobile-menu.is-open li:nth-child(1) .mobile-menu__link { transition-delay: 140ms; }
.mobile-menu.is-open li:nth-child(2) .mobile-menu__link { transition-delay: 190ms; }
.mobile-menu.is-open li:nth-child(3) .mobile-menu__link { transition-delay: 240ms; }

.mobile-menu__foot {
  display: grid;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: var(--hair) solid var(--filet-cuir);
  font-size: var(--fs-corps);
}
/* Sur le cuir, le garance tombe à 2,5:1 : le statut y reste neutre. */
.mobile-menu .status { color: var(--ecru-doux); }
.mobile-menu__contact { display: grid; gap: var(--s-1); }
.mobile-menu__contact a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  overflow-wrap: anywhere;
  text-decoration: none;
}
.mobile-menu__social { display: flex; gap: var(--s-2); margin-left: calc(-1 * var(--s-3)); }
.mobile-menu__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  color: var(--ecru-doux);
  transition: color var(--d-2) var(--ease-std);
}
.mobile-menu__icon:hover,
.mobile-menu__icon:focus-visible { color: var(--ecru); }

@media (max-height: 30rem) and (orientation: landscape) {
  .mobile-menu__inner {
    flex-direction: row;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + var(--s-4));
    padding-bottom: var(--s-5);
  }
  .mobile-menu__link { font-size: var(--fs-h2); }
  .mobile-menu__foot { border-top: 0; padding-top: 0; }
}

/* -------------------------------------------------------------------------
   5. Page contact — composition
   < 40em : une colonne ; accès directs (appeler, venir) sous le chapô.
   40–64em : une colonne, fiche à deux colonnes internes.
   ≥ 64em : 12 colonnes ; formulaire 1–7, chapô ET fiche calés sur le même
   bord gauche (8–12, largeur --panel-max, fluide : aucun saut).
   ------------------------------------------------------------------------- */
.contact { padding-bottom: var(--space-section); }
.contact__layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.contact__layout > * { min-inline-size: 0; }

.intro { padding-block: var(--space-top) var(--space-block); }
.intro__kicker { margin-bottom: var(--s-5); }
.intro__title {
  font-size: var(--fs-affiche);
  font-weight: var(--fw-affiche);
  line-height: var(--lh-affiche);
  letter-spacing: var(--tr-affiche);
  hyphens: manual;
}
/* Deux lignes à toutes les largeurs (« rendez-vous. » = 5,23 em : 251 px
   pour 280 disponibles à 320). Chaque ligne est sa propre fenêtre de coupe. */
.intro__line { display: block; overflow-wrap: break-word; }
.intro__line > span { display: block; }
.intro__lede {
  max-width: var(--measure-lede);
  /* le chapô remplit mieux la tablette (820–1 023 px) */
  margin-top: var(--s-5);
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  letter-spacing: var(--tr-lede);
  text-wrap: pretty;
}

@media (min-width: 40em) {
  .intro__lede { max-width: 44ch; }
}
.intro__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-5);
  margin-top: var(--s-4);
  font-size: var(--fs-petit);
  font-weight: var(--fw-libelle);
}
.intro__quick a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: underline;
  text-decoration-color: var(--souligne);
  text-decoration-thickness: var(--hair);
  text-underline-offset: 0.25em;
}
.intro__quick a:hover { text-decoration-color: currentColor; }

.atelier { margin-top: var(--space-section); }

@media (min-width: 64em) {
  .contact__layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .intro {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: end;
  }
  .intro__kicker { grid-column: 1 / -1; }
  .intro__title { grid-column: 1 / 8; }
  .intro__lede,
  .intro__quick {
    grid-column: 8 / -1;
    justify-self: end;
    width: min(100%, var(--panel-max));
  }
  .intro__quick { display: none; } /* la fiche est déjà à l'écran */
  .intro__lede {
    margin-top: 0;
    /* pose la dernière ligne du chapô sur le pied de « rendez-vous. » */
    padding-bottom: calc(var(--fs-affiche) * 0.09);
  }
  .contact__form { grid-column: 1 / 8; }
  .atelier {
    grid-column: 8 / -1;
    justify-self: end;
    align-self: start;
    width: min(100%, var(--panel-max));
    margin-top: 0;
  }
}

/* ---- Entrée de page ----
   CSS seul (aucun contenu ne dépend du JS pour apparaître). Chaque ligne du
   titre sort de sa coupe, puis le chapô, puis le formulaire et le panneau. */
@media (prefers-reduced-motion: no-preference) {
  /* Fenêtre de coupe de l'entrée. Le mot se replie (overflow-wrap) avant
     d'atteindre le bord : un texte agrandi n'est jamais rogné en largeur. */
  .intro__line { overflow: hidden; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .intro__kicker { animation: rise var(--d-4) var(--ease-out) 40ms both; }
  .intro__line > span { animation: line-in var(--d-5) var(--ease-out) 80ms both; }
  .intro__line + .intro__line > span { animation-delay: 170ms; }
  .intro__lede { animation: rise var(--d-4) var(--ease-out) 300ms both; }
  .contact__form,
  .atelier { animation: rise var(--d-4) var(--ease-out) 380ms both; }
  .atelier { animation-delay: 460ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes line-in { from { transform: translateY(105%); } }

/* -------------------------------------------------------------------------
   6. Formulaire — nu sur l'écru. Ses compositions dépendent de SA largeur.
   ------------------------------------------------------------------------- */
.form-panel { max-width: var(--form-max); }
.form {
  container-type: inline-size;
  display: grid;
  gap: var(--space-field);
}
.form__note {
  font-size: var(--fs-petit);
  font-weight: var(--fw-petit);
  line-height: var(--lh-petit);
  color: var(--taupe);
}
.form__pair { display: grid; gap: var(--space-field); }
.form__pair > * { min-inline-size: 0; }
@container (min-width: 32rem) {
  .form__pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-6); }
  .field--short { width: calc(50% - var(--s-6) / 2); }
}

/* Champ-piège : hors écran, sans display:none (que des robots contournent). */
.field--gotcha {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.field__label {
  display: block;
  margin-bottom: var(--s-2);
  padding: 0;
  font-size: var(--fs-libelle);
  font-weight: var(--fw-libelle);
  line-height: var(--lh-libelle);
  letter-spacing: var(--tr-libelle);
  color: var(--cuir);
}
.field__opt { font-weight: 400; color: var(--taupe); }

.field__control { position: relative; }
.field__input {
  display: block;
  width: 100%;
  margin: 0;
  padding: var(--s-2) 0 var(--s-3);
  border: 0;
  border-bottom: var(--hair) solid var(--filet-champ);
  border-radius: 0;
  background: transparent;
  font-size: var(--fs-champ);
  font-weight: var(--fw-champ);
  line-height: var(--lh-champ);
  letter-spacing: var(--tr-champ);
  color: var(--cuir);
  caret-color: var(--cuir);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--d-2) var(--ease-std);
}
.field__input::placeholder { color: transparent; }
.field__input:focus-visible { outline: none; } /* le filet tracé dit le focus */
.field__input:focus { outline: none; }
/* Rempli : le filet de repos passe à l'encre — on voit ce qui est fait. */
.field__input:not(:placeholder-shown) { border-bottom-color: var(--cuir); }
/* Autoremplissage de Chrome : pas de bloc jaune-bleu sur l'écru. */
.field__input:-webkit-autofill,
.field__input:-webkit-autofill:hover,
.field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cuir);
  box-shadow: 0 0 0 100rem var(--ecru) inset;
  caret-color: var(--cuir);
}
.field__input--area {
  min-height: calc(5lh + var(--s-3));
  max-height: 18lh;
  resize: vertical;
  field-sizing: content;
}

.field__line {
  position: absolute;
  inset: auto 0 calc(-1 * var(--hair));
  height: 2px;
  background: var(--cuir);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--d-3) var(--ease-out), background-color var(--d-2) var(--ease-std);
  pointer-events: none;
}
.field__input:focus ~ .field__line { transform: scaleX(1); }
.field__control.is-invalid .field__line { transform: scaleX(1); background: var(--rouge); }
/* Focus sur un champ en erreur : le filet repasse à l'encre (c'est le champ
   actif), le message garde le rouge (c'est la faute). */
.field__control.is-invalid .field__input:focus ~ .field__line { background: var(--cuir); }

.field__hint {
  margin-top: var(--s-2);
  font-size: var(--fs-petit);
  font-weight: var(--fw-petit);
  line-height: var(--lh-petit);
  color: var(--taupe);
}
.field__hint.is-over { color: var(--rouge); font-weight: 600; }

/* L'erreur se lit à trois signes : filet rouge, carré, phrase. */
.field__error {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-top: var(--s-2);
  font-size: var(--fs-petit);
  font-weight: 600;
  line-height: var(--lh-petit);
  color: var(--rouge);
}
.field__error::before {
  content: "";
  flex: none;
  width: 0.5em;
  height: 0.5em;
  background: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
  .field__error:not([hidden]) { animation: rise-sm var(--d-2) var(--ease-out) both; }
  .form__alert:not([hidden]) { animation: rise-sm var(--d-2) var(--ease-out) both; }
}
@keyframes rise-sm { from { opacity: 0; transform: translateY(-0.25rem); } }

/* ---- Type de demande : quatre tuiles radio ----
   Choisie, la tuile devient une pièce : l'aplat de cuir monte, le pan coupé
   se découpe en haut à droite. */
.choices { min-width: 0; padding: 0; border: 0; }
.choices > .field__label { margin-bottom: var(--s-3); }
.choices__grid { display: grid; gap: var(--s-2); }
@container (min-width: 30rem) {
  .choices__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.choice {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--btn-h);
  padding: var(--s-3) var(--s-4);
  box-shadow: inset 0 0 0 var(--hair) var(--filet-champ);
  font-size: var(--fs-corps);
  font-weight: var(--fw-option);
  line-height: 1.3;
  color: var(--cuir);
  cursor: pointer;
  transition: color var(--d-3) var(--ease-out), box-shadow var(--d-2) var(--ease-std);
  -webkit-tap-highlight-color: transparent;
}
.choice__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cuir);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--d-3) var(--ease-out);
}
.choice::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--cut);
  height: var(--cut);
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: scale(0);
  transform-origin: top right;
  transition: transform var(--d-2) var(--ease-out);
}
/* Repère rond à point central : le signe du choix unique (une case carrée
   promettrait un choix multiple). */
.choice__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.choice__mark::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  transform: scale(0);
  transition: transform var(--d-2) var(--ease-out);
}
.choice__text { min-width: 0; }
@media (hover: hover) {
  .choice:hover:not(:has(:checked)) { box-shadow: inset 0 0 0 var(--hair) var(--cuir); }
}
.choice:has(:checked) { color: var(--ecru); box-shadow: none; }
.choice:has(:checked)::before { transform: scaleY(1); }
.choice:has(:checked)::after { transform: scale(1); transition-delay: 120ms; }
.choice:has(:checked) .choice__mark::before { transform: scale(1); }
.choice:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.choices.is-invalid .choice:not(:has(:checked)) { box-shadow: inset 0 0 0 var(--hair) var(--rouge); }
.choices.is-invalid > .field__label { color: var(--rouge); }

/* ---- Échec ---- */
.form__alert {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  border-top: 2px solid var(--rouge);
  background: var(--ecru-2);
  font-size: var(--fs-corps);
  line-height: var(--lh-corps);
}
.form__alert-title { font-weight: var(--fw-libelle); color: var(--rouge); }
.form__alert a,
.form__alt a {
  text-decoration: underline;
  text-decoration-thickness: var(--hair);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

/* ---- Envoi ---- */
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
  margin-top: var(--s-2);
}
.form__alt {
  font-size: var(--fs-petit);
  font-weight: var(--fw-petit);
  line-height: var(--lh-petit);
  color: var(--taupe);
}
.form__alt a { color: var(--cuir); }
@container (max-width: 29.99rem) {
  .form__submit { width: 100%; }
}

/* ---- Succès ---- */
.form-success { display: grid; justify-items: start; gap: var(--s-5); }
.form-success__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
}
.form-success__title:focus { outline: none; } /* cible de lecture, pas une commande */
.form-success__text { max-width: 46ch; text-wrap: pretty; }
.form-success__reset { margin-top: var(--s-2); }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) > * { animation: rise var(--d-4) var(--ease-out) both; }
  .form-success:not([hidden]) > .form-success__title { animation-delay: 60ms; }
  .form-success:not([hidden]) > .form-success__text { animation-delay: 160ms; }
  .form-success:not([hidden]) > .form-success__reset { animation-delay: 240ms; }
}

/* ---- Réponse de contact.php sans JavaScript (?v=gabarit) ---- */
.reply {
  display: grid;
  justify-items: start;
  gap: var(--s-5);
  padding-top: var(--space-top);
  max-width: var(--form-max);
}
.reply__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
}
.reply__text { max-width: 46ch; font-size: var(--fs-lede); line-height: var(--lh-lede); }
.reply__mail { text-decoration: underline; text-decoration-thickness: var(--hair); text-underline-offset: 0.2em; overflow-wrap: anywhere; }

/* -------------------------------------------------------------------------
   7. La fiche « L'atelier » — posée sur l'écru, dessinée d'un filet, avec
   un pan coupé franc en haut à gauche (le gabarit de la pièce).
   Le filet est un ::before plein découpé, recouvert par un ::after écru
   découpé un pixel plus à l'intérieur : la diagonale garde 1 px d'épaisseur
   (décalage du pan : √2 − 2 ≈ −0,586 px).
   ------------------------------------------------------------------------- */
.atelier {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  gap: var(--s-5);
  padding: var(--pad-panel);
  padding-top: max(var(--pad-panel), calc(var(--cut-piece) * 0.75));
  color: var(--cuir);
}
.atelier::before,
.atelier::after,
.ap-cta__piece::before,
.ap-cta__piece::after {
  content: "";
  position: absolute;
  z-index: -1;
}
.atelier::before,
.ap-cta__piece::before {
  inset: 0;
  background: var(--filet-fort);
  clip-path: polygon(var(--cut-piece) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-piece));
}
.atelier::after,
.ap-cta__piece::after {
  inset: var(--hair);
  background: var(--ecru);
  clip-path: polygon(calc(var(--cut-piece) - 0.586px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut-piece) - 0.586px));
}
.atelier__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
}
.atelier__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
}
.atelier__body { display: grid; gap: var(--s-6); }
.atelier__body > * { min-inline-size: 0; }
@container (min-width: 40rem) {
  .atelier__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-7); align-items: start; }
}

/* ---- Coordonnées : une fiche de coupe, ligne à ligne ---- */
.coords { container-type: inline-size; }
.coords__row {
  display: grid;
  gap: var(--s-1);
  padding-block: var(--s-3);
  border-top: var(--hair) solid var(--filet);
}
.coords__row:last-child { border-bottom: var(--hair) solid var(--filet); }
@container (min-width: 26rem) {
  .coords__row { grid-template-columns: 7rem minmax(0, 1fr); align-items: baseline; gap: var(--s-4); }
}
.coords dt {
  font-size: var(--fs-libelle);
  font-weight: var(--fw-libelle);
  line-height: var(--lh-libelle);
  letter-spacing: var(--tr-libelle);
}
.coords dd { font-weight: 450; min-width: 0; }
.coords__link {
  text-decoration: underline;
  text-decoration-color: var(--souligne);
  text-decoration-thickness: var(--hair);
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--d-2) var(--ease-std);
}
.coords__link:hover { text-decoration-color: currentColor; }
.coords__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-3); }
.coords__row:has(.coords__mail) { padding-block: var(--s-1); }
.coords__email { overflow-wrap: anywhere; }

/* « Copier » : un mailto sur un ordinateur sans messagerie ne fait rien. */
.copy {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);   /* 44 px : une commande autonome */
  padding-inline: var(--s-1);
  margin-inline: calc(-1 * var(--s-1));
  font-size: var(--fs-petit);
  font-weight: var(--fw-libelle);
  text-decoration: underline;
  text-decoration-thickness: var(--hair);
  text-underline-offset: 0.2em;
}
.copy__label { transition: opacity var(--d-1) var(--ease-std); }
.copy.is-swapping .copy__label { opacity: 0; }

/* ---- Carte : un aplat neutre et un repère, puis le plan au clic ----
   Hauteur plafonnée : un plan d'attente ne doit pas manger l'écran. */
.atelier__place { display: grid; gap: var(--s-4); }
.map {
  position: relative;
  /* Largeur explicite + min-width:0 : avec aspect-ratio, une largeur
     « auto » s'élargirait pour tenir le rapport (débordement à 320). */
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  min-height: 17.5rem;
  max-height: 22rem;
  overflow: hidden;
  background: var(--ecru-2);
}
.map__veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-4);
  text-align: center;
  transition: opacity var(--d-4) var(--ease-std);
}
.map__pin { flex: none; color: var(--cuir); }
.map__place {
  display: grid;
  gap: var(--s-1);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
}
.map__region {
  font-size: var(--fs-petit);
  font-weight: var(--fw-petit);
  letter-spacing: var(--tr-petit);
  color: var(--taupe);
}
.map__load { margin-top: var(--s-2); min-height: var(--tap); }
.map__note {
  max-width: 32ch;
  font-size: var(--fs-petit);
  font-weight: var(--fw-petit);
  line-height: var(--lh-petit);
  color: var(--taupe);
}
/* Le plan s'affiche dans ses couleurs d'origine (Roger, 2026-11-01) : ni
   filtre gris ni fusion avec l'aplat. */
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity var(--d-4) var(--ease-std);
}
.map.is-loaded iframe { opacity: 1; }
.map.is-loaded .map__veil { opacity: 0; pointer-events: none; }

.atelier__route { width: 100%; }

/* -------------------------------------------------------------------------
   8. Pied de page — aplat de cuir ; l'or du logo sur son noir.
   ------------------------------------------------------------------------- */
.site-footer {
  --focus: var(--ecru);
  padding-block: var(--space-section) var(--s-6);
  background: var(--cuir);
  color: var(--ecru);
  font-size: var(--fs-petit);
  line-height: var(--lh-petit);
}
.site-footer ::selection { background: var(--ecru); color: var(--cuir); }
/* Mobile : marque sur toute la ligne, navigation et atelier côte à côte,
   l'e-mail (long) sur sa propre ligne. */
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6) var(--grid-gap);
}
.site-footer__brand,
.site-footer__col:last-child { grid-column: 1 / -1; }
.site-footer__grid > * { min-inline-size: 0; }
.site-footer__word {
  font-size: var(--fs-h2);
  font-weight: var(--fw-marque);
  line-height: 1;
  letter-spacing: var(--tr-marque);
  text-transform: uppercase;
  color: var(--or);
}
.site-footer__tag {
  max-width: 30ch;
  margin-top: var(--s-4);
  font-size: var(--fs-corps);
  line-height: var(--lh-corps);
  color: var(--ecru-doux);
}
.site-footer__heading {
  margin-bottom: var(--s-3);
  font-weight: var(--fw-libelle);
  letter-spacing: var(--tr-libelle);
  color: var(--ecru-doux);
}
.site-footer__col ul { display: grid; }
.site-footer__col a,
.site-footer__bottom a {
  position: relative;
  display: inline-block;
  padding-block: var(--s-1);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer__col a::after,
.site-footer__bottom a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.2rem;
  height: var(--hair);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--d-3) var(--ease-out);
}
.site-footer__col a:hover::after,
.site-footer__col a:focus-visible::after,
.site-footer__bottom a:hover::after,
.site-footer__bottom a:focus-visible::after { transform: scaleX(1); }
.site-footer address { padding-block: var(--s-1); }
.site-footer__hours { margin-top: var(--s-2); color: var(--ecru-doux); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--space-block);
  padding-top: var(--s-4);
  border-top: var(--hair) solid var(--filet-cuir);
  color: var(--ecru-doux);
}
.site-footer { padding-top: clamp(3rem, 2rem + 5vw, 9rem); }
@media (min-width: 40em) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-7); }
  .site-footer__col:last-child { grid-column: auto; }
}
@media (min-width: 64em) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  .site-footer__brand { grid-column: auto; }
}

/* -------------------------------------------------------------------------
   8 bis. Page « À propos » — une planche éditoriale, quatre temps :
   A. le titre et le portrait face à face (le portrait porte le grand pan
      coupé : c'est la pièce achevée) ;
   B. la dernière phrase du récit, mise à part : le rythme ralentit ;
   C. les trois repères, posés sur des lignes de coupe ;
   D. une fiche à pan coupé qui mène au contact (seul accent : le statut).
   Aucun texte nouveau : tout vient de l'ancienne page et de la page contact.
   ------------------------------------------------------------------------- */
.ap { padding-bottom: var(--space-section); }

/* ---- A. Titre et portrait ---- */
.ap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-top: var(--space-top);
}
.ap-hero > * { min-inline-size: 0; }
.ap-hero__kicker { margin-bottom: var(--s-5); }
.ap-hero__title {
  font-size: var(--fs-affiche);
  font-weight: var(--fw-affiche);
  line-height: var(--lh-affiche);
  letter-spacing: var(--tr-affiche);
  hyphens: manual;
}
/* Deux lignes à toutes les largeurs : « que le geste. » = 5,21 em, 250 px
   pour 280 disponibles à 320. */
.ap-line { display: block; overflow-wrap: break-word; }
.ap-line > span { display: block; }

.ap-portrait { margin-top: var(--space-block); }
/* Le pan coupé découpe le cadre (pas l'image), et le cadre retient l'image
   pendant qu'elle se pose. Fond neutre pendant le chargement. */
.ap-portrait__frame {
  overflow: hidden;
  aspect-ratio: 1418 / 1861;
  background: var(--ecru-2);
  clip-path: polygon(var(--cut-portrait) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-portrait));
}
.ap-portrait__img { width: 100%; height: 100%; object-fit: cover; }
.ap-hero__lede {
  max-width: 40ch;
  margin-top: var(--space-block);
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  letter-spacing: var(--tr-lede);
  text-wrap: pretty;
}

/* ---- B. La phrase ---- */
.ap-phrase { margin-top: var(--space-section); }
/* Trois segments insécables : la phrase ne se coupe qu'entre eux (jamais
   « un fil, et le / temps »), et « et le temps qu'il faut. » ouvre toujours
   sa propre ligne. Taille propre : à 320, la dernière ligne (8,83 em) doit
   tenir dans 280 px. */
.ap-phrase__text {
  font-size: clamp(1.875rem, 1.2rem + 3.4vw, 4.25rem);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
}
.ap-phrase__text > span { white-space: nowrap; }
.ap-phrase__text > span:last-child { display: block; }

/* ---- C. Les repères : une ligne de coupe à l'encre au-dessus de chacun ---- */
.ap-reperes { margin-top: var(--space-section); }
.ap-reperes__list { display: grid; gap: var(--s-5); }
.ap-repere {
  display: grid;
  gap: var(--s-2);
  align-content: start;
  padding-top: var(--s-4);
  border-top: var(--hair) solid var(--cuir);
}
.ap-repere dt {
  font-size: var(--fs-libelle);
  font-weight: var(--fw-libelle);
  line-height: var(--lh-libelle);
  letter-spacing: var(--tr-libelle);
  color: var(--taupe);
}
.ap-repere dd {
  font-size: var(--fs-h3);
  font-weight: 450;
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
}
@media (min-width: 40em) {
  .ap-reperes__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--grid-gap); }
}

/* ---- D. Vers le contact ---- */
.ap-cta { margin-top: var(--space-section); }
.ap-cta__piece {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  gap: var(--s-6);
  padding: var(--pad-panel);
  padding-top: max(var(--pad-panel), calc(var(--cut-piece) * 0.9));
}
.ap-cta__text { display: grid; gap: var(--s-4); justify-items: start; }
.ap-cta__text .kicker { margin: 0; }
.ap-cta__title {
  max-width: 20ch;
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
  text-wrap: balance;
}
.ap-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.ap-cta__tel {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: var(--fw-libelle);
  text-decoration: underline;
  text-decoration-color: var(--souligne);
  text-decoration-thickness: var(--hair);
  text-underline-offset: 0.25em;
}
.ap-cta__tel:hover { text-decoration-color: currentColor; }
@container (max-width: 29.99rem) {
  .ap-cta__actions .btn { width: 100%; gap: var(--s-4); }
}
@container (min-width: 44rem) {
  .ap-cta__actions { flex-direction: row-reverse; align-items: center; }
}
/* Texte et actions sur une même ligne, centrés : pas de vide sous le titre.
   (Une requête de conteneur ne peut pas styler le conteneur lui-même : la
   grille de la fiche passe donc par une requête média.) */
@media (min-width: 64em) {
  .ap-cta__piece { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-7); }
}

/* ---- Tablette : le titre au-dessus, portrait et récit côte à côte ---- */
@media (min-width: 40em) and (max-width: 63.99em) {
  .ap-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--grid-gap); }
  .ap-hero__kicker,
  .ap-hero__title { grid-column: 1 / -1; }
  .ap-portrait { grid-column: 1; }
  .ap-hero__lede { grid-column: 2; align-self: end; margin-top: 0; }
}

/* ---- Composition large : texte cols 1–6, portrait cols 8–12 ---- */
@media (min-width: 64em) {
  .ap-hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: var(--grid-gap);
  }
  .ap-hero__kicker,
  .ap-hero__title,
  .ap-hero__lede { grid-column: 1 / 7; }
  .ap-hero__kicker { grid-row: 1; }
  /* Titre en affiche élargie : il occupe sa colonne et réduit le blanc au-dessus
     du récit. « que le geste. » = 5,21 em : 578 px à 1440 pour ~780 dispo. */
  .ap-hero__title { grid-row: 2; font-size: clamp(5rem, 1rem + 6.6vw, 10rem); }
  /* Le récit se pose au pied du portrait. */
  .ap-hero__lede { grid-row: 3; align-self: end; margin-top: var(--s-7); }
  .ap-portrait {
    grid-column: 8 / -1;
    grid-row: 1 / 4;
    justify-self: end;
    width: min(100%, 40rem);
    margin-top: 0;
  }
  .ap-phrase__text { margin-left: calc((100% + var(--grid-gap)) / 12 * 2); }
}

/* ---- Mouvement ----
   Entrée : les lignes du titre sortent de leur coupe, le portrait se pose
   (léger recul d'échelle dans son cadre ; pas d'opacité : c'est l'image
   LCP, elle doit peindre tout de suite), puis le récit.
   Au défilement (navigateurs qui savent lier une animation à la vue) : la
   phrase, les repères et la fiche montent à leur arrivée. Ailleurs : rien
   ne se cache, tout est visible. */
@media (prefers-reduced-motion: no-preference) {
  .ap-hero__kicker { animation: rise var(--d-4) var(--ease-out) 40ms both; }
  .ap-line { overflow: hidden; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .ap-line > span { animation: line-in var(--d-5) var(--ease-out) 80ms both; }
  .ap-line + .ap-line > span { animation-delay: 170ms; }
  .ap-portrait__img { animation: settle 1.4s var(--ease-out) both; }
  .ap-hero__lede { animation: rise var(--d-4) var(--ease-out) 320ms both; }
  @supports (animation-timeline: view()) {
    .ap-phrase__text,
    .ap-repere,
    .ap-cta__piece {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
@keyframes settle { from { transform: scale(1.08); } }

/* -------------------------------------------------------------------------
   8 ter. Accueil — il garde SA composition (hero titre + photo, bande « Le
   geste » sur fond distinct, créations en zigzag, bouton catalogue) et ce
   que les autres pages n'ont pas :
   - la seule photo qui touche le bord de l'écran (hero, et les visuels des
     créations sur mobile) ;
   - un titre en TROIS temps, le plus grand du site ;
   - la seule bande sur aplat de CUIR (écru dessus), où l'image glisse
     lentement dans son cadre au défilement ;
   - le nuancier : tant qu'une pièce n'a pas de photo, son visuel est un
     aplat de la couleur du cuir annoncé, nommé comme sur une carte
     d'échantillons — jamais une mention « photo à intégrer » ;
   - les grands numéros 01 / 02 / 03 qui rythment le zigzag.
   ------------------------------------------------------------------------- */
.ix {
  container-type: inline-size;
  padding-bottom: var(--space-section);
  /* Débord jusqu'au bord de l'écran, mesuré sur <main> (100cqw ignore la
     barre de défilement, 100vw non : il ferait défiler en largeur). */
  --bleed: calc((min(100cqw - 2 * var(--gutter), var(--page-max)) - 100cqw) / 2);
  --fs-ix-hero: clamp(3.5rem, 2rem + 7vw, 8.5rem);   /* 56 → 133 ; « à la main. » = 3,89 em */
  --fs-ix-num: clamp(3rem, 2.2rem + 4vw, 6.5rem);
  --cognac: #9c5a30;     /* écru dessus : 4,68:1 */
  --vert-foret: #3d4a3a; /* écru dessus : 8,19:1 */
}

/* ---- Hero ---- */
.ix-hero { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: var(--space-top); }
.ix-hero > * { min-inline-size: 0; }
.ix-hero__kicker { margin-bottom: var(--s-5); }
.ix-hero__title {
  font-size: var(--fs-ix-hero);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.ix-line { display: block; overflow-wrap: break-word; }
.ix-line > span { display: block; }
.ix-hero__lede {
  max-width: 36ch;
  margin-top: var(--s-6);
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  letter-spacing: var(--tr-lede);
  text-wrap: pretty;
}
.ix-hero__cta { margin-top: var(--s-6); }
.ix-hero__visual { margin: var(--space-block) var(--bleed) 0; }
.ix-hero__frame {
  overflow: hidden;
  aspect-ratio: 1300 / 1849;
  background: var(--ecru-2);
}
.ix-hero__img,
.ix-geste__img,
.ix-piece__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ix-hero__img { object-position: 50% 30%; }
@media (min-width: 48em) {
  .ix-hero__visual { margin-inline: 0 var(--bleed); }
}
@media (min-width: 48em) and (max-width: 63.99em) {
  .ix-hero__visual { width: calc(80% - var(--bleed)); justify-self: end; }
  .ix-hero__frame { aspect-ratio: 4 / 5; }
}
@media (min-width: 64em) {
  .ix-hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    align-items: center;
  }
  .ix-hero__text { grid-column: 1 / 7; grid-row: 1; padding-block: var(--s-6); }
  .ix-hero__visual { grid-column: 7 / -1; grid-row: 1; margin-top: 0; }
  /* La photo tient dans l'écran : recadrée (sujet centré) plutôt que de
     dépasser la hauteur de la fenêtre. */
  .ix-hero__frame {
    --hero-h: min(54rem, calc(100svh - var(--header-h) - var(--s-7)));
    aspect-ratio: auto;
    height: var(--hero-h);
    width: min(100%, calc(var(--hero-h) * 0.85));
    margin-left: auto;
  }
}

/* ---- Le geste : aplat de cuir ---- */
.ix-geste {
  --focus: var(--ecru);
  margin-top: var(--space-section);
  padding-block: var(--space-section);
  background: var(--cuir);
  color: var(--ecru);
}
.ix-geste ::selection { background: var(--ecru); color: var(--cuir); }
.ix-geste__inner { display: grid; gap: var(--space-block); align-items: center; }
.ix-geste__inner > * { min-inline-size: 0; }
.ix-geste__frame { overflow: hidden; aspect-ratio: 4 / 5; background: var(--cuir-2); }
.ix-geste__text { display: grid; gap: var(--s-5); max-width: 34rem; }
.ix-geste__text .kicker { color: var(--ecru-doux); }
.ix-geste__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
  text-wrap: balance;
}
.ix-geste__text p:not(.kicker) { color: var(--ecru-doux); max-width: 46ch; text-wrap: pretty; }
@media (min-width: 48em) {
  .ix-geste__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--s-8); }
}
@media (min-width: 64em) {
  .ix-geste__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
  .ix-geste__visual { grid-column: 1 / 6; }
  .ix-geste__text { grid-column: 7 / -1; }
}

/* ---- Les créations : zigzag ---- */
.ix-creations { margin-top: var(--space-section); }
.ix-creations__intro { display: grid; justify-items: center; gap: var(--s-4); text-align: center; }
.ix-creations__title {
  max-width: 16ch;
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
  text-wrap: balance;
}
.ix-creations__list {
  display: grid;
  gap: clamp(4rem, 2rem + 8vw, 9rem);
  margin-top: clamp(3rem, 2rem + 5vw, 7rem);
}
.ix-piece { display: grid; gap: var(--s-6); align-items: center; }
.ix-piece > * { min-inline-size: 0; }
.ix-piece__media { margin-inline: var(--bleed); overflow: hidden; aspect-ratio: 3 / 2; background: var(--ecru-2); }
.ix-piece__media picture { display: block; height: 100%; }
.ix-piece__img { transition: transform 900ms var(--ease-out); }
@media (hover: hover) {
  .ix-piece:hover .ix-piece__img { transform: scale(1.03); }
}
.ix-piece__cat { display: grid; gap: var(--s-2); }
.ix-piece__num {
  font-size: var(--fs-ix-num);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--taupe);
}
.ix-piece__type {
  font-size: var(--fs-capitales);
  font-weight: var(--fw-capitales);
  letter-spacing: var(--tr-capitales);
  text-transform: uppercase;
  color: var(--taupe);
}
.ix-piece__name {
  margin-top: var(--s-4);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
}
.ix-piece__desc { max-width: 42ch; margin-top: var(--s-3); text-wrap: pretty; }
.ix-piece__mat {
  margin-top: var(--s-3);
  font-size: var(--fs-petit);
  font-weight: var(--fw-libelle);
  color: var(--taupe);
}
.ix-piece__cta { margin-top: var(--s-5); max-width: 100%; }
/* Colonne étroite + texte agrandi : le libellé peut passer à la ligne. */
.ix-piece__cta .btn__label { white-space: normal; }

/* Le nuancier : la couleur du cuir, nommée. */
.ix-swatch {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  color: var(--ecru);
}
.ix-swatch--cognac { background: var(--cognac); }
.ix-swatch--foret { background: var(--vert-foret); }
.ix-swatch__top { font-size: var(--fs-petit); font-weight: var(--fw-libelle); }
.ix-swatch__name {
  font-size: var(--fs-ix-num);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

@media (min-width: 48em) {
  .ix-piece {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .ix-piece__media { grid-column: 1 / 8; grid-row: 1; margin-inline: 0; }
  .ix-piece__body { grid-column: 9 / -1; grid-row: 1; }
  .ix-piece:nth-child(even) .ix-piece__media { grid-column: 6 / -1; }
  .ix-piece:nth-child(even) .ix-piece__body { grid-column: 1 / 5; }
}
@media (min-width: 48em) and (max-width: 63.99em) {
  .ix-piece__media { grid-column: 1 / 7; }
  .ix-piece__body { grid-column: 7 / -1; }
  .ix-piece:nth-child(even) .ix-piece__media { grid-column: 7 / -1; }
  .ix-piece:nth-child(even) .ix-piece__body { grid-column: 1 / 7; }
}
.ix-creations__cta { display: flex; justify-content: center; margin-top: clamp(4rem, 2rem + 8vw, 9rem); }

/* ---- Mouvement de l'accueil ----
   Entrée : les trois lignes du titre sortent de leur coupe l'une après
   l'autre, la photo se pose (échelle seule : c'est l'image LCP).
   Au défilement (navigateurs qui lient une animation à la vue) : l'image
   du « geste » glisse dans son cadre — le seul parallaxe du site —, les
   pièces montent à leur arrivée. Ailleurs, tout est simplement visible. */
@media (prefers-reduced-motion: no-preference) {
  .ix-hero__kicker { animation: rise var(--d-4) var(--ease-out) 40ms both; }
  .ix-line { overflow: hidden; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .ix-line > span { animation: line-in var(--d-5) var(--ease-out) 80ms both; }
  .ix-line:nth-child(2) > span { animation-delay: 160ms; }
  .ix-line:nth-child(3) > span { animation-delay: 240ms; }
  .ix-hero__lede { animation: rise var(--d-4) var(--ease-out) 380ms both; }
  .ix-hero__cta { animation: rise var(--d-4) var(--ease-out) 460ms both; }
  .ix-hero__img { animation: settle 1.4s var(--ease-out) both; }
  @supports (animation-timeline: view()) {
    .ix-geste__img {
      transform: scale(1.14);
      animation: drift linear both;
      animation-timeline: view();
    }
    .ix-geste__text,
    .ix-piece__media,
    .ix-piece__body,
    .ix-creations__intro {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}
@keyframes drift {
  from { transform: scale(1.14) translateY(-6%); }
  to { transform: scale(1.14) translateY(6%); }
}

/* -------------------------------------------------------------------------
   9. Couleurs forcées (Windows contraste élevé) : les aplats de fond
   disparaissent, l'état doit rester lisible.
   ------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .btn--primary, .btn--line, .choice, .map__load { border: 1px solid ButtonText; }
  .choice:has(:checked) { outline: 3px solid Highlight; outline-offset: -3px; }
  .choice__mark { border: 1px solid CanvasText; }
  .choice__mark::before { border-radius: 50%; }
  .choice__mark::before, .status::before, .field__error::before { forced-color-adjust: none; background: CanvasText; }
  .field__line { forced-color-adjust: none; background-color: Highlight; }
  .nav__link[aria-current="page"] { text-decoration: underline; } /* la graisse seule ne suffit pas ici */
  .atelier, .form__alert, .map, .ap-cta__piece { border: 1px solid CanvasText; }
}

/* -------------------------------------------------------------------------
   10. Mouvement réduit : tout état reste juste, rien ne se déplace.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .mobile-menu { transform: none; opacity: 0; transition: opacity var(--d-1) linear !important; }
  .mobile-menu.is-open { opacity: 1; }
  .mobile-menu__link { opacity: 1; transform: none; }
}
