/* ==========================================================================
   Déko d'Ailleurs — direction « etoffe-editoriale »
   Papier lin, encre prune, laiton. Aucune image : toute la matière est
   dessinée en CSS (capitonné, galon, tissages).
   ========================================================================== */

/* ---------- Polices embarquées (OFL, cf. assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  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: "Fraunces";
  src: url("assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
@font-face {
  font-family: "Karla";
  src: url("assets/fonts/karla-latin.woff2") format("woff2");
  font-weight: 400 700;
  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: "Karla";
  src: url("assets/fonts/karla-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}

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

  --lin: #f0e9dc;
  --lin-2: #e7dccb;
  --vellum: #fbf7f0;
  --vellum-2: #f6f0e6;

  --encre: #241a20;
  --encre-2: #4c3f45;
  --encre-3: #6d5e64;

  --prune: #4b2340;
  --prune-2: #3a1a31;
  --prune-3: #281123;
  --prune-wash: rgba(75, 35, 64, 0.07);

  --laiton: #a67c3e;
  --laiton-txt: #7a5a2a;
  --laiton-lum: #d3a865;
  --laiton-wash: rgba(166, 124, 62, 0.12);

  --filet: rgba(36, 26, 32, 0.14);
  --filet-2: rgba(36, 26, 32, 0.26);
  --filet-clair: rgba(240, 233, 220, 0.18);

  /* Angles vifs : la coupe d'une étoffe, pas un bouton d'application. */
  --r: 2px;
  --r-lg: 4px;

  --ombre-s: 0 1px 2px rgba(36, 26, 32, 0.05), 0 10px 24px -18px rgba(36, 26, 32, 0.5);
  --ombre-m: 0 2px 4px rgba(36, 26, 32, 0.06), 0 30px 60px -40px rgba(36, 26, 32, 0.6);

  --ease: cubic-bezier(0.2, 0.8, 0.25, 1);
  --shell: min(1180px, 100% - 3rem);

  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "Karla", ui-sans-serif, system-ui, sans-serif;
}

/* ---------------------------------- Base ---------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--encre);
  background-color: var(--lin);
  /* Trame de lin : deux passes croisées, très basse opacité. */
  background-image:
    repeating-linear-gradient(45deg, rgba(36, 26, 32, 0.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 4px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.shell { width: var(--shell); margin-inline: auto; }

::selection { background: var(--prune); color: var(--vellum); }

:where(a, .btn):focus-visible {
  outline: 2px solid var(--prune);
  outline-offset: 3px;
  border-radius: var(--r);
}

/* ------------------------------- Typographie ------------------------------ */
.titre-2 {
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 84;
  font-weight: 600;
  font-size: clamp(1.9rem, 1.15rem + 2.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--encre);
  text-wrap: balance;
}
.titre-2--clair { color: var(--vellum); }

.titre-3 {
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 24;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.24;
  letter-spacing: -0.008em;
  margin: 0;
  color: var(--encre);
}

.etiq {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--laiton-txt);
}
.etiq--clair { color: var(--laiton-lum); }

.tete-bloc { max-width: 40ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }

/* Filet orné : la passementerie du site, réutilisée telle quelle partout. */
.filet-orne {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.6rem 0;
  max-width: 22rem;
}
.filet-orne span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--filet-2), rgba(36, 26, 32, 0.05));
}
.filet-orne span:last-child { background: linear-gradient(90deg, rgba(36, 26, 32, 0.05), transparent); }
.filet-orne i {
  width: 6px;
  height: 6px;
  flex: none;
  transform: rotate(45deg);
  background: var(--laiton);
}

/* --------------------------------- Boutons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r);
  font-family: var(--f-texte);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--plein {
  background: var(--prune);
  color: var(--vellum);
  box-shadow: var(--ombre-s);
}
.btn--plein:hover { background: var(--prune-2); }

.btn--ligne {
  border-color: var(--filet-2);
  color: var(--encre);
  background: rgba(251, 247, 240, 0.6);
}
.btn--ligne:hover { border-color: var(--prune); background: var(--vellum); }

.btn--laiton {
  background: var(--laiton);
  color: #201409;
  box-shadow: var(--ombre-s);
}
.btn--laiton:hover { background: var(--laiton-lum); }

.btn--tel {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  padding: 0.55rem 1.05rem;
  border-color: var(--filet);
  background: var(--vellum);
  line-height: 1.2;
}
.btn--tel:hover { border-color: var(--prune); }
.btn__lab {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--laiton-txt);
}
.btn__num {
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 20;
  font-size: 1.02rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--encre);
}

/* --------------------------- Bandeau aperçu Meriova ------------------------ */
.bandeau {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--prune-3);
  color: var(--vellum);
  border-bottom: 1px solid rgba(211, 168, 101, 0.4);
}
.bandeau__in {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  font-size: 0.85rem;
}
.bandeau__pastille {
  width: 7px;
  height: 7px;
  flex: none;
  transform: rotate(45deg);
  background: var(--laiton-lum);
}
.bandeau__txt { margin: 0; }
.bandeau__txt strong { font-weight: 700; }
.bandeau__lien {
  margin-left: auto;
  flex: none;
  color: var(--laiton-lum);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(211, 168, 101, 0.45);
  padding-bottom: 1px;
}
.bandeau__lien:hover { color: var(--vellum); border-color: var(--vellum); }

/* --------------------------------- En-tête -------------------------------- */
.tete {
  border-bottom: 1px solid var(--filet);
  background: rgba(251, 247, 240, 0.72);
}
.tete__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
}
.marque { text-decoration: none; display: block; margin-right: auto; }
.marque__nom {
  display: block;
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 30;
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.012em;
  color: var(--encre);
}
.marque__sous {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-3);
}
.nav { display: flex; gap: 1.6rem; }
.nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--encre-2);
  padding-bottom: 2px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--laiton);
  transition: right 0.3s var(--ease);
}
.nav a:hover { color: var(--encre); }
.nav a:hover::after { right: 0; }

/* ---------------------------------- Héros --------------------------------- */
.heros { padding: clamp(3.4rem, 7vw, 6.4rem) 0 clamp(3rem, 6vw, 5.4rem); }
.heros__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.heros__titre {
  margin: 0;
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 144;
  font-weight: 600;
  font-size: clamp(2.9rem, 1.2rem + 5.6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.028em;
  color: var(--encre);
}
.heros__chapo {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(1.02rem, 0.96rem + 0.25vw, 1.14rem);
  color: var(--encre-2);
}
.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.heros__adr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.8rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--filet);
  font-size: 0.9rem;
  color: var(--encre-3);
}
.heros__adr::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  transform: rotate(45deg);
  background: var(--laiton);
}

/* Capitonné : boutons de tapissier + plis, dessinés en dégradés. */
.heros__objet { position: relative; }
.capitonne {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: var(--prune-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 62px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 62px),
    radial-gradient(circle at 31px 31px, rgba(0, 0, 0, 0.42) 0 3.5px, rgba(211, 168, 101, 0.55) 3.5px 5px, transparent 5.5px);
  background-size: 62px 62px, 62px 62px, 62px 62px;
  box-shadow: var(--ombre-m), inset 0 0 0 1px rgba(211, 168, 101, 0.22);
}
.capitonne__voile {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255, 255, 255, 0.16), transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 115%, rgba(0, 0, 0, 0.42), transparent 60%);
}
.capitonne__cartouche {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.2rem;
  background: rgba(40, 17, 35, 0.72);
  border: 1px solid rgba(211, 168, 101, 0.4);
  border-radius: var(--r);
  backdrop-filter: blur(3px);
}
.capitonne__mono {
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 40;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--laiton-lum);
}
.capitonne__txt {
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 247, 240, 0.86);
}
/* Galon : la bande de passementerie qui déborde du visuel. */
.galon {
  position: absolute;
  left: -14px;
  top: 12%;
  width: 28px;
  height: 42%;
  border-radius: var(--r);
  background:
    repeating-linear-gradient(180deg, var(--laiton) 0 6px, var(--laiton-txt) 6px 12px);
  box-shadow: var(--ombre-s);
}

/* --------------------------------- Blocs ---------------------------------- */
.bloc { padding: clamp(3.4rem, 6.5vw, 6rem) 0; }
.bloc--savoir { border-top: 1px solid var(--filet); }

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.duo__carte {
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: var(--vellum);
  border: 1px solid var(--filet);
  border-radius: var(--r-lg);
  box-shadow: var(--ombre-s);
}
.duo__num,
.carte__num {
  margin: 0 0 0.9rem;
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 20;
  font-weight: 600;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  color: var(--laiton-txt);
}
.duo__txt {
  margin: 0.7rem 0 0;
  color: var(--encre-2);
  max-width: 44ch;
}
.note-source {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--laiton);
  font-size: 0.95rem;
  color: var(--encre-3);
  max-width: 62ch;
}

/* Prestations */
.bloc--presta { border-top: 1px solid var(--filet); }
.cartes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--filet);
  border: 1px solid var(--filet);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.carte {
  position: relative;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  background: var(--vellum);
  transition: background-color 0.3s var(--ease);
}
.carte--large { grid-column: span 4; background: var(--vellum-2); }
.carte:hover { background: #fffdf9; }
.carte__txt {
  margin: 0.6rem 0 0;
  font-size: 0.98rem;
  color: var(--encre-2);
  max-width: 46ch;
}
.carte__filet {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--laiton);
  transition: width 0.4s var(--ease);
}
.carte:hover .carte__filet { width: 100%; }

/* Étoffes — le seul bloc sombre, respiration de la page. */
.bloc--etoffes {
  background: var(--prune-3);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 5px);
  color: rgba(251, 247, 240, 0.82);
}
.etoffes__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.etoffes__chapo {
  max-width: 42ch;
  margin: 1.5rem 0 2.2rem;
  color: rgba(251, 247, 240, 0.78);
}
.tissage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.tissage__ech {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  border: 1px solid rgba(211, 168, 101, 0.3);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}
.tissage__ech--chevron {
  background-color: #58294a;
  background-image:
    repeating-linear-gradient(45deg, rgba(211, 168, 101, 0.28) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.3) 0 2px, transparent 2px 8px);
  background-size: 16px 16px;
}
.tissage__ech--serge {
  background-color: #3f2a3b;
  background-image: repeating-linear-gradient(60deg,
    rgba(251, 247, 240, 0.18) 0 2px, rgba(0, 0, 0, 0.22) 2px 6px);
}
.tissage__ech--toile {
  background-color: #6a4a35;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, rgba(251, 247, 240, 0.16) 0 2px, transparent 2px 5px);
}
.tissage__ech--cotele {
  background-color: #4b2340;
  background-image: repeating-linear-gradient(90deg,
    rgba(0, 0, 0, 0.34) 0 3px, rgba(211, 168, 101, 0.16) 3px 5px, transparent 5px 11px);
}
.tissage__legende {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: rgba(251, 247, 240, 0.52);
}

/* Note d'aperçu */
.bloc--note { padding-top: clamp(2.6rem, 5vw, 4.2rem); }
.note {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--prune-wash);
  border: 1px solid rgba(75, 35, 64, 0.18);
  border-left: 3px solid var(--prune);
  border-radius: var(--r-lg);
}
.note__titre { margin-bottom: 0.7rem; }
.note__txt { margin: 0; max-width: 68ch; color: var(--encre-2); }

/* Contact */
.bloc--contact { padding-bottom: clamp(3.6rem, 7vw, 6rem); }
.contact__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
.coord { margin: 2rem 0 0; }
.coord__l {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--filet);
}
.coord__l:last-child { border-bottom: 1px solid var(--filet); }
.coord dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--laiton-txt);
  padding-top: 0.28rem;
}
.coord dd {
  margin: 0;
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 24;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.42;
  color: var(--encre);
}
.coord dd a {
  text-decoration: none;
  border-bottom: 1px solid var(--laiton);
  padding-bottom: 1px;
  word-break: break-word;
}
.coord dd a:hover { color: var(--prune); border-color: var(--prune); }

/* Formulaire volontairement inerte : aucun <form>, aucun champ saisissable. */
.formule {
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  background: var(--vellum-2);
  border: 1px dashed rgba(36, 26, 32, 0.3);
  border-radius: var(--r-lg);
}
.formule__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r);
  background: var(--laiton-wash);
  border: 1px solid rgba(166, 124, 62, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-txt);
}
.formule__txt {
  margin: 0.7rem 0 1.4rem;
  font-size: 0.95rem;
  color: var(--encre-2);
}
.formule__champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  opacity: 0.55;
  user-select: none;
}
.formule__champ {
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--filet);
  border-radius: var(--r);
  font-size: 0.88rem;
  color: var(--encre-3);
}
.formule__champ--large { grid-column: span 2; padding-bottom: 2.6rem; }
.formule__faux-btn {
  grid-column: span 2;
  padding: 0.85rem 1rem;
  text-align: center;
  background: rgba(36, 26, 32, 0.14);
  border-radius: var(--r);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--encre-3);
  text-decoration: line-through;
}
.formule__pied {
  margin: 1.2rem 0 0;
  font-size: 0.85rem;
  color: var(--encre-3);
}

/* -------------------- Pages intérieures (légales, avant/après) ------------- */
.page { padding: clamp(2.8rem, 5.5vw, 5rem) 0 clamp(3.4rem, 6vw, 5.4rem); }
.page__tete { max-width: 46ch; margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem); }
.page__titre {
  margin: 0;
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 110;
  font-weight: 600;
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.026em;
  color: var(--encre);
}
.page__chapo { margin: 0; color: var(--encre-2); }
.page__retour {
  margin: clamp(2.4rem, 4vw, 3.4rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--filet);
  font-weight: 700;
  font-size: 0.94rem;
}
.page__retour a { text-decoration: none; color: var(--laiton-txt); }
.page__retour a:hover { color: var(--prune); }

.mono {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.92em;
  color: var(--encre-2);
}
code {
  font-family: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  background: var(--laiton-wash);
  border-radius: var(--r);
}

.prose { max-width: 70ch; }
.prose__sec { padding: 1.8rem 0; border-top: 1px solid var(--filet); }
.prose__sec:first-child { border-top: 0; padding-top: 0; }
.prose p { margin: 0.9rem 0 0; color: var(--encre-2); }
.prose__note {
  margin-top: 1.2rem !important;
  padding-left: 1.1rem;
  border-left: 2px solid var(--laiton);
  font-size: 0.95rem;
  color: var(--encre-3);
}

.fiche { margin: 1.4rem 0 0; }
.fiche__l {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--filet);
}
.fiche__l:last-child { border-bottom: 1px solid var(--filet); }
.fiche dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--laiton-txt);
  padding-top: 0.25rem;
}
.fiche dd { margin: 0; font-weight: 600; color: var(--encre); word-break: break-word; }
.fiche dd a { text-decoration: none; border-bottom: 1px solid var(--laiton); }

.liste-src { margin: 1.2rem 0 0; padding-left: 1.1rem; }
.liste-src li { margin-bottom: 0.5rem; color: var(--encre-2); word-break: break-word; }
.liste-src a { color: var(--encre); }

/* Comparaison avant / après */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
}
.compare__f { margin: 0; }
.compare__lab {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.7rem;
  border-radius: var(--r);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.compare__lab--avant {
  background: rgba(36, 26, 32, 0.08);
  border: 1px solid var(--filet-2);
  color: var(--encre-2);
}
.compare__lab--apres {
  background: var(--prune);
  border: 1px solid var(--prune);
  color: var(--vellum);
}
.compare__cadre {
  border: 1px solid var(--filet);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--vellum);
  box-shadow: var(--ombre-m);
}
.compare__cadre img { width: 100%; height: auto; }
.compare figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--encre-3);
}
.compare figcaption a { color: var(--laiton-txt); font-weight: 700; }

.ameliorations { margin-top: clamp(3rem, 6vw, 5rem); }
.amel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--filet);
  border: 1px solid var(--filet);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.amel__i { padding: clamp(1.5rem, 2.2vw, 2rem); background: var(--vellum); }
.amel__n {
  margin: 0 0 0.9rem;
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 20;
  font-weight: 600;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  color: var(--laiton-txt);
}
.amel__t { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--encre-2); }

.limites {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--prune-wash);
  border: 1px solid rgba(75, 35, 64, 0.18);
  border-left: 3px solid var(--prune);
  border-radius: var(--r-lg);
}
.limites__t { margin-bottom: 0.7rem; }
.limites__txt { margin: 0; max-width: 72ch; color: var(--encre-2); }

/* ---------------------------------- Pied ---------------------------------- */
.pied {
  background: var(--prune-3);
  color: rgba(251, 247, 240, 0.76);
  padding-top: clamp(2.6rem, 5vw, 4rem);
}
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.4rem;
}
.pied__nom {
  margin: 0;
  font-family: var(--f-titre);
  font-variation-settings: "opsz" 40;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--vellum);
}
.pied__sous {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: rgba(251, 247, 240, 0.6);
}
.pied__t {
  margin: 0 0 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--laiton-lum);
}
.pied__col p { margin: 0 0 0.45rem; font-size: 0.92rem; }
.pied__col a { text-decoration: none; border-bottom: 1px solid rgba(211, 168, 101, 0.35); }
.pied__col a:hover { color: var(--vellum); border-color: var(--laiton-lum); }
.pied__bas {
  padding: 1.2rem 0 1.6rem;
  border-top: 1px solid rgba(251, 247, 240, 0.14);
}
.pied__bas p { margin: 0; font-size: 0.8rem; color: rgba(251, 247, 240, 0.5); }

/* ------------------------------- Responsive ------------------------------- */
@media (max-width: 1080px) {
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carte--large { grid-column: span 2; }
  .amel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --shell: min(1180px, 100% - 2.4rem); }
  .tete__in { flex-wrap: wrap; row-gap: 0.9rem; }
  .marque { margin-right: 0; }
  .tete__tel { margin-left: auto; }
  .nav { order: 3; width: 100%; gap: 1.2rem; flex-wrap: wrap; }
  .heros__grille { grid-template-columns: minmax(0, 1fr); }
  .heros__objet { max-width: 26rem; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .etoffes__grille,
  .contact__grille { grid-template-columns: minmax(0, 1fr); }
  .pied__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pied__marque { grid-column: span 2; }
  .compare { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  :root { --shell: min(1180px, 100% - 2rem); }
  body { font-size: 1rem; }
  .bandeau__in { flex-wrap: wrap; row-gap: 0.2rem; padding: 0.55rem 0; font-size: 0.8rem; }
  .bandeau__lien { margin-left: 0; width: 100%; }
  .tete__in { padding: 0.9rem 0; }
  .marque__nom { font-size: 1.16rem; }
  .marque__sous { font-size: 0.62rem; letter-spacing: 0.1em; }
  .btn--tel { padding: 0.45rem 0.85rem; }
  .btn__num { font-size: 0.94rem; }
  .nav { gap: 1rem; font-size: 0.9rem; }
  .heros { padding-top: 2.6rem; }
  .heros__actions .btn { width: 100%; }
  .galon { left: -8px; width: 18px; }
  .cartes { grid-template-columns: minmax(0, 1fr); }
  .carte--large { grid-column: span 1; }
  .tissage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .coord__l { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .formule__champs { grid-template-columns: minmax(0, 1fr); }
  .formule__champ--large,
  .formule__faux-btn { grid-column: span 1; }
  .pied__grille { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .pied__marque { grid-column: span 1; }
  .fiche__l { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
}

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