/* ==========================================================================
   NGLT — Maison de confection, Lyon
   Feuille de styles unique — https://nglt-textile.com
   --------------------------------------------------------------------------
   Sommaire
   00. Variables (couleurs, typographie, espacements)
   01. Reset & base
   02. Typographie
   03. Layout : container, grilles, sections
   04. Détails couture : surpiqûre, mètre-ruban, motif tissé
   05. Accessibilité : skip-link, visually-hidden, focus
   06. Header, navigation desktop, menu mobile
   07. Boutons & liens
   08. Hero (accueil + pages internes)
   09. Titres de section
   10. Emplacements photo (.media)
   11. Cartes pôles, engagements, split éditorial
   12. Étapes numérotées (process / timeline)
   13. Formules (3 colonnes)
   14. Lots produits + étiquette "Sur devis"
   15. Styles / silhouettes, matières, accessoires
   16. FAQ (accordéon <details>)
   17. Bandeau CTA
   18. Formulaire
   19. Coordonnées
   20. Footer
   21. Prose (mentions légales), pages simples (merci, 404)
   22. Animations .reveal & prefers-reduced-motion
   Convention : mobile-first, points de rupture 640px / 960px / 1200px.
   ========================================================================== */

/* ==========================================================================
   00. Variables
   ========================================================================== */
:root {
  /* — Couleurs — */
  --encre: #1d1f23;          /* noir encre / anthracite : texte, fonds sombres */
  --encre-2: #2a2d32;        /* anthracite relevé : cartes sur fond sombre */
  --ivoire: #f7f5f0;         /* fond principal */
  --ecru: #ece6da;           /* fond alterné */
  --lin: #d6cebf;            /* filets, bordures sur fond clair */
  --laiton: #b48f4d;         /* accent décoratif (filets, surpiqûres, accent sur fond sombre) */
  --laiton-clair: #d2b47c;   /* accent texte sur fond sombre */
  --laiton-fonce: #7a5c28;   /* accent texte sur fond clair (AA) */
  --gris: #5b5852;           /* texte secondaire sur fond clair (AA) */
  --gris-clair: #b9b4aa;     /* texte secondaire sur fond sombre (AA) */
  --erreur: #9e2a22;
  --succes: #2e5a43;

  /* Rôles (surchargés dans .section--dark) */
  --bg: var(--ivoire);
  --fg: var(--encre);
  --fg-muted: var(--gris);
  --accent: var(--laiton-fonce);
  --rule: var(--lin);

  /* — Typographie — */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-text: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Échelle modulaire (quarte augmentée ~1.333), fluide */
  --fs-xs: 0.8125rem;                               /* 13px : mentions, légendes */
  --fs-sm: 0.9375rem;                               /* 15px */
  --fs-base: 1.0625rem;                             /* 17px : texte courant */
  --fs-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);/* chapeau (serif) */
  --fs-h4: 1.375rem;
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  --fs-h2: clamp(2.125rem, 1.6rem + 2.2vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 1.8rem + 4vw, 5.25rem);
  --fs-display: clamp(3.25rem, 1.6rem + 7vw, 8rem); /* hero accueil */

  /* — Espacements (base 8) — */
  --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;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.25rem, 0.8rem + 2.4vw, 3rem);
  --container: 77.5rem;      /* 1240px */
  --container-narrow: 46rem; /* ~736px : prose, FAQ, formulaire */

  /* — Divers — */
  --radius: 2px;             /* quasi droit : esprit atelier, pas "SaaS" */
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Motif tissé (chevrons / sergé) en data-URI, utilisé par .media et fonds sombres */
  --motif-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cpath d='M0 8 6 2l6 6 6-6 6 6M0 16l6-6 6 6 6-6 6 6' fill='none' stroke='%23b48f4d' stroke-opacity='.28' stroke-width='1'/%3E%3C/svg%3E");
  --motif-serge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M-2 2 2-2M0 8 8 0M6 10l4-4' stroke='%23f7f5f0' stroke-opacity='.05' stroke-width='1'/%3E%3C/svg%3E");
}

/* ==========================================================================
   01. Reset & base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem); /* ancres sous le header sticky */
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden; /* garde-fou : aucun scroll horizontal */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
p, li, dd, h1, h2, h3, h4 { overflow-wrap: break-word; }
hr { border: 0; border-top: 1px solid var(--rule); }

/* ==========================================================================
   02. Typographie
   ========================================================================== */
h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.02em; }
h2, .h2 { font-size: var(--fs-h2); font-weight: 400; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.2; font-weight: 600; }

p { max-width: 68ch; text-wrap: pretty; }
p + p { margin-top: 1em; }

strong, b { font-weight: 500; }
small { font-size: var(--fs-xs); }

/* Chapeau éditorial, en serif */
.lead {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.45;
  font-weight: 400;
  color: var(--fg);
  max-width: 40ch;
}

.text-muted { color: var(--fg-muted); }
.text-center { text-align: center; }
.text-center p, .text-center .lead { margin-inline: auto; }

::selection { background: var(--laiton); color: var(--encre); }

/* ==========================================================================
   03. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

/* Sections — fond clair par défaut */
.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  color: var(--fg);
}
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

/* Fond écru (alterné) */
.section--alt { --bg: var(--ecru); --rule: #cfc5b3; }

/* Fond sombre : on redéfinit les rôles, tous les composants suivent */
.section--dark,
.site-footer,
.cta-band {
  --bg: var(--encre);
  --fg: var(--ivoire);
  --fg-muted: var(--gris-clair);
  --accent: var(--laiton-clair);
  --rule: rgba(247, 245, 240, 0.16);
}
.section--dark {
  background-color: var(--bg);
  background-image: var(--motif-serge);
}

/* Grilles génériques */
.grid {
  display: grid;
  gap: var(--s-7) var(--s-6);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Split éditorial texte / image (7/5 colonnes) */
.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-9); }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* Pile verticale avec espacement régulier */
.stack > * + * { margin-top: var(--s-5); }
.stack--sm > * + * { margin-top: var(--s-3); }

/* ==========================================================================
   04. Détails couture
   ========================================================================== */

/* Filet fin */
.rule { height: 1px; border: 0; background: var(--rule); margin-block: var(--s-7); }

/* Surpiqûre : filet en pointillés couleur laiton */
.stitch {
  height: 0;
  border: 0;
  border-top: 1.5px dashed var(--laiton);
  margin-block: var(--s-7);
  opacity: 0.8;
}

/* Mètre-ruban : graduations (petites tous les 8px, grandes tous les 80px).
   Usage : <div class="tape" aria-hidden="true"></div> */
.tape {
  height: 18px;
  border-bottom: 1px solid var(--laiton);
  background-image:
    linear-gradient(90deg, var(--laiton) 1px, transparent 1px),
    linear-gradient(90deg, var(--laiton) 1px, transparent 1px),
    linear-gradient(90deg, var(--laiton) 1px, transparent 1px);
  background-size: 80px 16px, 40px 10px, 8px 5px;
  background-position: left bottom;
  background-repeat: repeat-x;
  opacity: 0.75;
}

/* ==========================================================================
   05. Accessibilité
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  padding: var(--s-3) var(--s-4);
  background: var(--encre);
  color: var(--ivoire);
  text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

/* Focus visible : double anneau, lisible sur fond clair ET sombre */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--laiton-clair); }

/* ==========================================================================
   06. Header, navigation, menu mobile
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 245, 240, 0.96);
  color: var(--encre);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--lin); }

/* Variante accueil : header transparent posé sur le hero sombre */
.site-header--overlay {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
  color: var(--ivoire);
}
.site-header--overlay.is-scrolled {
  background: rgba(247, 245, 240, 0.97);
  color: var(--encre);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: 100%;
}

/* Logo (wordmark SVG inline, couleur = currentColor) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand__mark { width: auto; height: 26px; }
.brand__baseline {
  display: none;
  padding-left: var(--s-4);
  border-left: 1px solid currentColor;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
@media (min-width: 480px) { .brand__baseline { display: block; } }

/* Burger (mobile) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  padding: 0 var(--s-2);
  font-size: var(--fs-sm);
  color: inherit;
}
.nav-toggle__bars {
  position: relative;
  width: 24px;
  height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* Panneau de navigation — mobile : plein écran sous le header */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: var(--s-6) var(--gutter) var(--s-7);
  background: var(--ivoire);
  color: var(--encre);
  border-top: 1px solid var(--lin);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.site-nav__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.site-nav__list li { border-bottom: 1px solid var(--lin); }
.site-nav__link {
  display: block;
  padding: var(--s-4) 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
  text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--laiton-fonce); }
.site-nav__cta { margin-top: var(--s-6); align-self: flex-start; }

html.nav-open { overflow: hidden; } /* bloque le scroll quand le menu mobile est ouvert */

/* Desktop : navigation horizontale */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--s-6);
    padding: 0;
    background: none;
    color: inherit;
    border: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav__list { flex-direction: row; gap: var(--s-6); }
  .site-nav__list li { border: 0; }
  .site-nav__link {
    position: relative;
    padding: var(--s-2) 0;
    font-family: var(--font-text);
    font-size: var(--fs-sm);
    letter-spacing: 0.01em;
  }
  /* soulignement "surpiqûre" au survol / page active */
  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    border-top: 1px dashed currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__link[aria-current="page"] { color: inherit; }
  .site-nav__cta { margin-top: 0; }
}

/* Bouton CTA du header en mode overlay (fond sombre) */
.site-header--overlay:not(.is-scrolled) .site-nav__cta.btn--primary {
  --btn-bg: var(--ivoire);
  --btn-fg: var(--encre);
}
@media (max-width: 959.98px) {
  .site-header--overlay:not(.is-scrolled) .site-nav__cta.btn--primary {
    --btn-bg: var(--encre);
    --btn-fg: var(--ivoire);
  }
  /* Menu ouvert sur l'accueil : le header passe en clair */
  html.nav-open .site-header--overlay { background: var(--ivoire); color: var(--encre); }
}

/* ==========================================================================
   07. Boutons & liens
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-border: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-text);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
/* surpiqûre intérieure, révélée au survol */
.btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed currentColor;
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.btn:hover::before { opacity: 0.55; }

/* Primaire : encre sur clair, laiton sur sombre */
.btn--primary {
  --btn-bg: var(--encre);
  --btn-fg: var(--ivoire);
  --btn-border: var(--btn-bg);
}
.btn--primary:hover { --btn-bg: #000; }
.section--dark .btn--primary,
.cta-band .btn--primary,
.hero--home .btn--primary,
.offer--featured .btn--primary {
  --btn-bg: var(--laiton-clair);
  --btn-fg: var(--encre);
}
.section--dark .btn--primary:hover,
.cta-band .btn--primary:hover,
.hero--home .btn--primary:hover,
.offer--featured .btn--primary:hover { --btn-bg: #e2c895; }

/* Secondaire : contour */
.btn--secondary { --btn-border: currentColor; }
.btn--secondary:hover { --btn-bg: rgba(127, 120, 108, 0.12); }

.btn--small { min-height: 40px; padding: 0.5rem 1.125rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }

/* Lien fléché */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-block: var(--s-1);
  color: var(--fg);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow::after {
  content: "";
  width: 1.1em;
  height: 0.7em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.link-arrow:hover { border-bottom-style: solid; gap: 0.9em; }

/* Liens dans le texte courant */
.prose a,
.link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.prose a:hover, .link:hover { text-decoration-thickness: 2px; }

/* ==========================================================================
   08. Hero
   ========================================================================== */

/* --- Accueil : plein écran, fond encre --- */
.hero--home {
  --bg: var(--encre);
  --fg: var(--ivoire);
  --fg-muted: var(--gris-clair);
  --accent: var(--laiton-clair);
  --rule: rgba(247, 245, 240, 0.16);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + var(--s-8)) 0 var(--s-7);
  background-color: var(--bg);
  background-image: var(--motif-serge);
  color: var(--fg);
  overflow: hidden;
}
.hero--home .hero__grid {
  display: grid;
  gap: var(--s-7);
  align-items: end;
}
.hero__title {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--fg);
}
/* seconde ligne du titre en italique, décalée (mise en page éditoriale) */
.hero__title-line { display: block; }
.hero__title-line--indent { padding-left: 0.9em; font-style: italic; color: var(--laiton-clair); }

.hero__text { max-width: 34rem; }
.hero__text .lead { color: var(--fg); }
.hero__actions { margin-top: var(--s-6); }

/* Photo du hero accueil (optionnelle) */
.hero__media { display: none; }

/* Bas du hero : mètre-ruban + liste des 4 pôles */
.hero__foot {
  margin-top: var(--s-8);
}
.hero__poles {
  list-style: none;
  padding: 0;
  margin-top: var(--s-4);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3) var(--s-5);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}
.hero__poles a { text-decoration: none; }
.hero__poles a:hover { color: var(--fg); }

@media (min-width: 960px) {
  /* Texte sur les ~2/3 gauche, photo pleine hauteur sur le tiers droit : aucun chevauchement */
  .hero--home .hero__grid,
  .hero--home .hero__foot { max-width: 64%; }
  .hero--home .hero__grid { gap: var(--s-6); }
  .hero__text { padding-left: 0.9em; font-size: var(--fs-display); } /* aligné sur l'indentation du titre */
  .hero__text > * { font-size: 1rem; }
  .hero__text .lead { font-size: var(--fs-lead); }
  .hero__media {
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 30%;
  }
  .hero__media .media { height: 100%; aspect-ratio: auto; }
  /* voile en haut de la photo : garde la navigation lisible */
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 9rem;
    background: linear-gradient(rgba(29, 31, 35, 0.75), transparent);
    pointer-events: none;
  }
  .hero--home .container { position: relative; z-index: 1; }
  .hero__poles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- Pages internes : fond ivoire, titre + chapeau, mètre-ruban en pied --- */
.hero--page {
  padding: var(--s-8) 0 var(--s-7);
  background: var(--bg);
}
.hero--page .hero__grid {
  display: grid;
  gap: var(--s-6);
}
.hero--page h1 { max-width: 16ch; }
.hero--page .lead { max-width: 36ch; }
.hero--page .tape { margin-top: var(--s-7); }
.hero--page .media { margin-top: var(--s-6); }
@media (min-width: 960px) {
  .hero--page { padding-top: var(--s-9); }
  .hero--page .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s-8); }
  .hero--page .media { margin-top: 0; }
}

/* Fil d'Ariane */
.breadcrumb {
  margin-bottom: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--lin); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   09. Titres de section
   ========================================================================== */
.section-head {
  max-width: 48rem;
  margin-bottom: var(--s-8);
}
.section-head > * + * { margin-top: var(--s-4); }
.section-head p { color: var(--fg-muted); }

/* Indication de rubrique : italique serif précédée d'une surpiqûre (pas de capitales) */
.kicker {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 2.5rem;
  border-top: 1.5px dashed var(--laiton);
  flex-shrink: 0;
}

/* Variante : titre à gauche, texte à droite (desktop) */
@media (min-width: 960px) {
  .section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: var(--s-4) var(--s-9);
    align-items: end;
  }
  .section-head--split > * + * { margin-top: 0; }
  .section-head--split .kicker { grid-column: 1 / -1; }
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .kicker::after {
  content: "";
  width: 2.5rem;
  border-top: 1.5px dashed var(--laiton);
}
.section-head--center p { margin-inline: auto; }

/* ==========================================================================
   10. Emplacements photo (.media)
   Usage : <div class="media media--ratio-4x5" data-photo="Description"></div>
   Pour remplacer : placer un <img src alt> à l'intérieur (la légende disparaît).
   ========================================================================== */
.media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #d9d1c2;
  background-image:
    var(--motif-chevron),
    linear-gradient(160deg, #e6dfd2 0%, #cfc5b3 55%, #b9ad97 100%);
  background-size: 24px 16px, cover;
}
.media--ratio-16x9 { aspect-ratio: 16 / 9; }
.media--ratio-4x5  { aspect-ratio: 4 / 5; }
.media--ratio-1x1  { aspect-ratio: 1 / 1; }
.media--ratio-3x4  { aspect-ratio: 3 / 4; }

/* Variante sombre (sur sections foncées) */
.section--dark .media,
.hero--home .media,
.media--dark {
  background-color: var(--encre-2);
  background-image:
    var(--motif-chevron),
    linear-gradient(160deg, #3a3c41 0%, #2a2d32 60%, #202226 100%);
}

/* Cadre surpiqûré intérieur */
.media::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(122, 92, 40, 0.45);
  pointer-events: none;
  z-index: 1;
}
.section--dark .media::before,
.hero--home .media::before,
.media--dark::before { border-color: rgba(210, 180, 124, 0.35); }

/* Légende du placeholder : affiche data-photo */
.media[data-photo]::after {
  content: attr(data-photo);
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #4a443a;
}
.section--dark .media[data-photo]::after,
.hero--home .media[data-photo]::after,
.media--dark[data-photo]::after { color: var(--gris-clair); }

/* Quand la vraie photo est en place */
.media > img,
.media > picture,
.media > picture > img,
.media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media:has(> img, > picture, > video)::before,
.media:has(> img, > picture, > video)::after { display: none; }

/* ==========================================================================
   11. Cartes pôles, engagements
   ========================================================================== */

/* --- Cartes pôles (accueil) : toute la carte est cliquable --- */
.poles {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-8) var(--s-6);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .poles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .poles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* décalage éditorial d'une carte sur deux */
  .poles > :nth-child(even) { margin-top: var(--s-8); }
}

.pole {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.pole .media { margin-bottom: var(--s-2); transition: filter 0.4s var(--ease); }
.pole__title { font-size: var(--fs-h3); }
.pole__title a { text-decoration: none; }
/* lien étiré : la carte entière devient cliquable */
.pole__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pole__text { color: var(--fg-muted); font-size: var(--fs-sm); }
.pole__more { margin-top: auto; align-self: flex-start; }
.pole:hover .media { filter: brightness(0.94); }
.pole:hover .link-arrow { border-bottom-style: solid; gap: 0.9em; }
.pole:focus-within { outline: 2px solid var(--accent); outline-offset: 8px; }
.pole__title a:focus-visible { outline: 0; }

/* --- Engagements / avantages / valeurs : colonnes à filet supérieur --- */
.features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-6) var(--s-6);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.feature {
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.feature__icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--s-4);
  color: var(--laiton);
}
.feature__title { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.feature p { color: var(--fg-muted); font-size: var(--fs-sm); }

/* --- Listes à puces "point de couture" --- */
.list-stitch {
  list-style: none;
  padding: 0;
}
.list-stitch li {
  position: relative;
  padding: var(--s-3) 0 var(--s-3) 1.75rem;
  border-bottom: 1px solid var(--rule);
}
.list-stitch li::before {
  /* point de croix */
  content: "";
  position: absolute;
  left: 2px;
  top: calc(var(--s-3) + 0.55em);
  width: 10px;
  height: 10px;
  background:
    linear-gradient(45deg, transparent 45%, var(--laiton) 45% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 45%, var(--laiton) 45% 58%, transparent 58%);
}
.list-stitch--cols { column-gap: var(--s-7); }
@media (min-width: 640px) { .list-stitch--cols { columns: 2; } .list-stitch--cols li { break-inside: avoid; } }

/* ==========================================================================
   12. Étapes numérotées — le mètre-ruban vertical
   <ol class="steps"> … <li class="step"> …
   Variante horizontale (desktop) : .steps--row
   ========================================================================== */
.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  position: relative;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 0 0 var(--s-7) calc(3.5rem + var(--s-5));
  min-height: 3.5rem;
}
/* rail gradué (mètre-ruban vertical) reliant les étapes */
.step::before {
  content: "";
  position: absolute;
  left: calc(1.75rem - 0.5px);
  top: 3.5rem;
  bottom: 0;
  width: 12px;
  border-left: 1px solid var(--laiton);
  background-image:
    linear-gradient(var(--laiton) 1px, transparent 1px),
    linear-gradient(var(--laiton) 1px, transparent 1px);
  background-size: 12px 40px, 6px 8px;
  background-repeat: repeat-y;
  opacity: 0.6;
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

/* numéro dans une pastille ronde (bouton de veste) */
.step__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--laiton);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--fg);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__body { padding-top: 0.6rem; }
.step__title { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.step__body p { color: var(--fg-muted); }
/* délai indicatif ("à partir de …") */
.step__meta {
  display: inline-block;
  margin-top: var(--s-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  color: var(--accent);
  border-bottom: 1px dashed var(--laiton);
}

@media (min-width: 960px) {
  .steps--row {
    display: grid;
    grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
    gap: var(--s-6);
    padding-top: calc(1.75rem + 1px);
  }
  /* mètre-ruban horizontal qui traverse la rangée */
  .steps--row::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 0; right: 0;
    height: 14px;
    border-top: 1px solid var(--laiton);
    background-image:
      linear-gradient(90deg, var(--laiton) 1px, transparent 1px),
      linear-gradient(90deg, var(--laiton) 1px, transparent 1px);
    background-size: 40px 12px, 8px 6px;
    background-repeat: repeat-x;
    opacity: 0.6;
  }
  .steps--row .step {
    padding: 2.75rem 0 0;
  }
  .steps--row .step::before { display: none; }
  .steps--row .step__num { top: -1.75rem; }
  .steps--row .step__body { padding-top: var(--s-5); }
}

/* ==========================================================================
   13. Formules (3 colonnes)
   ========================================================================== */
.offers {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-5);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) { .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }

.offer {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-7) var(--s-6);
  border: 1px solid var(--rule);
  background: var(--bg);
}
@media (min-width: 960px) {
  .offer + .offer { border-left: 0; }
}
.offer__name { font-size: var(--fs-h3); }
.offer__for { font-family: var(--font-display); font-style: italic; font-size: 1.1875rem; color: var(--accent); }
.offer__desc { color: var(--fg-muted); font-size: var(--fs-sm); }
.offer .list-stitch { margin-top: var(--s-3); font-size: var(--fs-sm); }
.offer__price {
  margin-top: auto;
  padding-top: var(--s-5);
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.offer__price small { display: block; font-family: var(--font-text); font-size: var(--fs-xs); color: var(--fg-muted); }

/* Formule mise en avant : fond encre */
.offer--featured {
  --bg: var(--encre);
  --fg: var(--ivoire);
  --fg-muted: var(--gris-clair);
  --accent: var(--laiton-clair);
  --rule: rgba(247, 245, 240, 0.16);
  color: var(--fg);
  border-color: var(--encre);
  background-image: var(--motif-serge);
}
.offer--featured h3 { color: var(--fg); }

/* ==========================================================================
   14. Lots produits + étiquette "Sur devis"
   ========================================================================== */
.lots {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-5);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .lots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.lot {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--ivoire);
  border: 1px solid var(--rule);
}
.section--alt .lot { background: var(--ivoire); }
.lot__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.lot__title { font-size: var(--fs-h3); }
.lot__desc { color: var(--fg-muted); font-size: var(--fs-sm); margin-bottom: var(--s-5); }

/* Composition type : liste de définitions en tableau */
.lot__spec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  font-size: var(--fs-sm);
  border-top: 1px solid var(--rule);
}
.lot__spec dt,
.lot__spec dd {
  padding: var(--s-2) 0;
  border-bottom: 1px dashed var(--rule);
}
.lot__spec dt { color: var(--fg-muted); padding-right: var(--s-4); }
.lot__spec dd { text-align: right; }
.lot__foot { margin-top: auto; padding-top: var(--s-5); }

/* Étiquette volante ("hang tag") — badge "Sur devis" */
.tag {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 0.75rem 0 1.5rem;
  background: var(--encre);
  color: var(--ivoire);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
/* œillet */
.tag::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--ivoire);
  box-shadow: 0 0 0 1px var(--laiton);
}
.tag--light { background: var(--laiton-clair); color: var(--encre); }

/* ==========================================================================
   15. Styles / silhouettes, matières, accessoires
   ========================================================================== */

/* --- Grille de silhouettes --- */
.styles {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-7) var(--s-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 960px) { .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); } }
.style { margin: 0; }
.style figcaption { margin-top: var(--s-4); }
.style__name { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; }
.style__desc { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--fg-muted); }

/* --- Matières : nuancier --- */
.fabrics {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule);
}
@media (min-width: 640px) { .fabrics { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); } }
@media (min-width: 1100px) { .fabrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fabric {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}
.fabric__name { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; margin-bottom: var(--s-1); }
.fabric p { font-size: var(--fs-sm); color: var(--fg-muted); }

/* Échantillons de tissu (rendus en CSS, aucune image) */
.swatch {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid var(--lin);
  background-color: #f3eee4;
  box-shadow: inset 0 0 0 3px var(--ivoire);
}
.swatch--dentelle {
  background-image:
    radial-gradient(circle at 50% 50%, transparent 2.5px, rgba(122, 92, 40, 0.35) 3px, transparent 3.6px),
    radial-gradient(circle at 0 0, rgba(122, 92, 40, 0.25) 1.2px, transparent 1.6px);
  background-size: 10px 10px, 5px 5px;
}
.swatch--tulle {
  background-image:
    linear-gradient(60deg, rgba(91, 88, 82, 0.22) 1px, transparent 1px),
    linear-gradient(-60deg, rgba(91, 88, 82, 0.22) 1px, transparent 1px);
  background-size: 6px 10px;
}
.swatch--crepe {
  background-color: #efe8db;
  background-image: repeating-radial-gradient(circle at 30% 40%, rgba(0,0,0,0.04) 0 1px, transparent 1px 3px);
}
.swatch--satin {
  background-image: linear-gradient(115deg, #e9e1d1 0%, #fffdf8 38%, #e3d9c6 55%, #fbf7ef 75%, #ddd2bd 100%);
}
.swatch--mikado {
  background-color: #ebe3d3;
  background-image: repeating-linear-gradient(0deg, rgba(122, 92, 40, 0.12) 0 1px, transparent 1px 3px);
}
.swatch--organza {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(236,230,218,0.4)),
    repeating-linear-gradient(90deg, rgba(91,88,82,0.1) 0 1px, transparent 1px 4px);
}
/* Tissus costume (pôle homme) */
.swatch--laine { background-color: #34373d; background-image: var(--motif-serge); border-color: #34373d; }
.swatch--flanelle { background-color: #6f6a62; }
.swatch--prince-de-galles {
  background-color: #8b8679;
  background-image:
    repeating-linear-gradient(0deg, rgba(29,31,35,0.35) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(90deg, rgba(29,31,35,0.35) 0 2px, transparent 2px 9px);
}

/* ==========================================================================
   16. FAQ — accordéon natif <details>
   ========================================================================== */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* signe + / − dessiné en CSS */
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer {
  padding: 0 0 var(--s-6);
  color: var(--fg-muted);
}
.faq__answer > * + * { margin-top: var(--s-3); }

/* ==========================================================================
   17. Bandeau CTA
   ========================================================================== */
.cta-band {
  position: relative;
  padding: var(--s-8) var(--s-6);
  background-color: var(--bg);
  background-image: var(--motif-serge);
  color: var(--fg);
  text-align: center;
}
/* cadre surpiqûré */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(210, 180, 124, 0.45);
  pointer-events: none;
}
.cta-band h2 { color: var(--fg); max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: var(--s-4) auto 0; color: var(--fg-muted); }
.cta-band .btn-group { justify-content: center; margin-top: var(--s-6); }
@media (min-width: 960px) { .cta-band { padding: var(--s-9) var(--s-8); } }

/* ==========================================================================
   18. Formulaire
   ========================================================================== */
.form { display: grid; gap: var(--s-6); }
.form__grid {
  display: grid;
  gap: var(--s-5) var(--s-5);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.field[hidden] { display: none; }
.field__label { font-size: var(--fs-sm); font-weight: 500; }
.field__label .optional { font-weight: 400; color: var(--fg-muted); }
.field__label .req { color: var(--erreur); }
.field__hint { font-size: var(--fs-xs); color: var(--fg-muted); }

/* input, select, textarea partagent .input */
.input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid #a9a090;
  border-radius: var(--radius);
  background: #fffdf9;
  color: var(--encre);
  font-size: 1rem; /* ≥16px : évite le zoom iOS */
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder { color: #8a847a; }
.input:hover { border-color: var(--encre); }
.input:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(180, 143, 77, 0.45); }
textarea.input { min-height: 10rem; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1f23' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}

/* États d'erreur : classe .field--error (posée par JS) ou :user-invalid natif */
.field--error .input,
.input:user-invalid {
  border-color: var(--erreur);
  box-shadow: 0 0 0 1px var(--erreur);
}
.field__error {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--erreur);
}
.field--error .field__error { display: block; }
.field--success .input { border-color: var(--succes); }

/* Groupe de choix en "chips" (radios ou cases) */
.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: var(--s-3); }
.chips__list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.125rem;
  border: 1px solid #a9a090;
  border-radius: 999px;
  background: #fffdf9;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip span:hover { border-color: var(--encre); }
.chips.field--error .chip span { border-color: var(--erreur); }
.chips.field--error .field__error { margin-top: var(--s-2); }
.chip input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--ivoire); }
.chip input:focus-visible + span { outline: 2px solid var(--laiton-fonce); outline-offset: 2px; }

/* Case à cocher (RGPD) */
.checkbox {
  display: grid;
  grid-template-columns: 1.375rem minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--fg-muted);
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.1rem;
  border: 1px solid #8f8676;
  border-radius: var(--radius);
  background: #fffdf9;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.checkbox input::before {
  content: "";
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--ivoire);
  border-bottom: 2px solid var(--ivoire);
  transform: translateY(-2px) rotate(-45deg) scale(0);
  transition: transform 0.15s var(--ease);
}
.checkbox input:checked { background: var(--encre); border-color: var(--encre); }
.checkbox input:checked::before { transform: translateY(-2px) rotate(-45deg) scale(1); }
.checkbox input:focus-visible { outline: 2px solid var(--laiton-fonce); outline-offset: 2px; }
.field--error .checkbox input,
.checkbox input:user-invalid { border-color: var(--erreur); box-shadow: 0 0 0 1px var(--erreur); }

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px dashed var(--laiton);
}
.form__note { font-size: var(--fs-xs); color: var(--fg-muted); }

/* Message de statut (succès / erreur globale) */
.form-status {
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid currentColor;
  font-size: var(--fs-sm);
}
.form-status[hidden] { display: none; }
.form-status--success { color: var(--succes); background: #e5ede6; }
.form-status--error { color: var(--erreur); background: #f4e3df; }

/* ==========================================================================
   19. Coordonnées
   ========================================================================== */
.contact-card {
  padding: var(--s-6);
  border: 1px solid var(--rule);
  background: var(--bg);
}
.contact-card__title { font-size: var(--fs-h3); margin-bottom: var(--s-5); }
.contact-list { display: grid; gap: var(--s-4); }
.contact-list div { display: grid; gap: var(--s-1); padding-bottom: var(--s-4); border-bottom: 1px solid var(--rule); }
.contact-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list dt { font-size: var(--fs-xs); color: var(--fg-muted); }
.contact-list dd { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; }
.contact-list a { text-decoration: none; border-bottom: 1px dashed var(--accent); }
.contact-list a:hover { border-bottom-style: solid; }

/* Bloc récapitulatif des informations légales (page Maison) */
.legal-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-sm);
}
@media (min-width: 640px) { .legal-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); } }
.legal-facts div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); }
.legal-facts dt { color: var(--fg-muted); }
.legal-facts dd { text-align: right; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   20. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg);
  background-image: var(--motif-serge);
  color: var(--fg);
  padding-top: var(--s-8);
  font-size: var(--fs-sm);
}
.site-footer .tape { margin-bottom: var(--s-7); opacity: 0.5; }
.site-footer__grid {
  display: grid;
  gap: var(--s-7) var(--s-6);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: var(--s-8);
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr)); } }

.site-footer__brand .brand__mark { height: 34px; color: var(--ivoire); }
.site-footer__baseline {
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--laiton-clair);
}
.site-footer__about { margin-top: var(--s-4); color: var(--fg-muted); max-width: 32ch; }
.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: var(--s-4);
}
.site-footer__list { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.site-footer__list a { color: var(--fg-muted); text-decoration: none; }
.site-footer__list a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer address { font-style: normal; color: var(--fg-muted); display: grid; gap: var(--s-2); }
.site-footer address a { color: var(--fg); text-decoration: none; border-bottom: 1px dashed var(--laiton); }

/* Ligne légale */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  justify-content: space-between;
  padding-block: var(--s-5);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}
.site-footer__ids { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); list-style: none; padding: 0; }
.site-footer__legal a { color: var(--fg-muted); }
.site-footer__legal a:hover { color: var(--fg); }

/* ==========================================================================
   21. Prose (mentions légales) & pages simples
   ========================================================================== */
.prose {
  max-width: var(--container-narrow);
  font-size: var(--fs-base);
}
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem);
  margin-top: 2.2em;
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.prose h3 { font-size: var(--fs-h4); margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--laiton-fonce); }
.prose dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 640px) { .prose dl { grid-template-columns: 14rem minmax(0, 1fr); } }
.prose dt, .prose dd { padding: var(--s-2) 0; border-bottom: 1px solid var(--rule); }
.prose dt { color: var(--fg-muted); font-size: var(--fs-sm); padding-right: var(--s-4); }
@media (max-width: 639.98px) { .prose dt { border-bottom: 0; padding-bottom: 0; } }
.prose .updated { font-size: var(--fs-xs); color: var(--fg-muted); }

/* Page simple centrée (merci, 404) */
.page-simple {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: var(--s-9) 0;
  text-align: center;
}
.page-simple__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 11rem);
  font-weight: 400;
  line-height: 1;
  color: var(--laiton-fonce);
}
.page-simple .lead { margin: var(--s-4) auto 0; }
.page-simple .btn-group { justify-content: center; margin-top: var(--s-6); }

/* ==========================================================================
   22. Animations
   ========================================================================== */

/* Apparition au scroll : active uniquement si JS a posé .js sur <html>.
   Sans JS, le contenu reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero accueil : la surpiqûre se "coud" au chargement (moment unique orchestré) */
.hero--home .tape {
  transform-origin: left;
  animation: coudre 1.6s var(--ease) 0.3s both;
}
@keyframes coudre {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   23. Compléments d'intégration
   ========================================================================== */
/* Tableaux dans les mentions légales */
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: var(--s-2) var(--s-3) var(--s-2) 0; border-bottom: 1px solid var(--rule); }
.prose th { color: var(--fg-muted); font-weight: 500; }
.prose a { overflow-wrap: anywhere; }

/* Pages merci / 404 : listes alignées à gauche dans un bloc centré */
.page-simple .kicker { justify-content: center; }
.page-simple .steps,
.page-simple .list-stitch { display: inline-block; text-align: left; margin-inline: auto; }
.page-simple .tape { margin-top: var(--s-7); }

/* Aide contextuelle du champ "objet" */
.field__hint[data-help]:empty { display: none; }

/* Titre d'accueil plus long : taille légèrement réduite pour tenir en 3-4 lignes */
.hero--home .hero__title { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem); }
.hero--home .hero__text { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem); }
.hero--home .hero__text > * { font-size: 1rem; }
.hero--home .hero__text .lead { font-size: var(--fs-lead); }
.hero--home .hero__actions .btn-group, .hero__actions { flex-wrap: wrap; }

/* Photo en tête des cartes lots */
.lot > .media { margin-bottom: var(--s-4); }
