/* =========================================================================
   Atelier de Flo — Darnétal (76) — aperçu Meriova
   Direction artistique « passementerie-écru » :
   papier écru chaud, encre prune profonde, un seul accent laiton.
   Toute la matière est produite en CSS (trame de toile, galons, échantillons
   dégradés) : aucune photographie, aucun logo, aucun média importé — le site
   d'origine réserve ses images et ses textes.
   Rayons : plateau extérieur 22px / cœur intérieur 14px / boutons 999px.
   Polices auto-hébergées (SIL OFL 1.1), aucune requête réseau.
   ========================================================================= */

/* ---------- Polices ------------------------------------------------------ */
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/spectral-500-latin.woff2") format("woff2");
  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: "Spectral";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/spectral-500-latin-ext.woff2") format("woff2");
  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: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/spectral-600-latin.woff2") format("woff2");
  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: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/spectral-600-latin-ext.woff2") format("woff2");
  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: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  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: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  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;

  --papier: #f4eee3;
  --papier-2: #ece2d2;
  --papier-3: #e2d5c1;
  --carte: #fbf8f2;

  --encre: #241a22;
  --encre-2: #4c3b45;
  --encre-3: #6f5c68;

  --prune: #5b2c44;
  --laiton: #96733a;
  --laiton-clair: #b9944f;

  --trait: rgba(36, 26, 34, 0.14);
  --trait-fort: rgba(36, 26, 34, 0.26);

  --serif: "Spectral", "Iowan Old Style", Georgia, serif;
  --ui: "Archivo", ui-sans-serif, system-ui, sans-serif;

  --r-plateau: 22px;
  --r-coeur: 14px;

  --w: 1180px;
  --marge: clamp(20px, 5vw, 48px);

  --ressort: cubic-bezier(0.32, 0.72, 0, 1);

  /* Trame de toile : deux passes croisées, très basse opacité. */
  --toile:
    repeating-linear-gradient(90deg, rgba(36, 26, 34, 0.05) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(36, 26, 34, 0.04) 0 1px, transparent 1px 5px);
}

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

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

body {
  margin: 0;
  background: var(--papier);
  background-image: var(--toile);
  color: var(--encre);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain fixe, hors flux, non interactif. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

em {
  font-style: italic;
  color: var(--prune);
}

.wrap {
  width: min(100% - (2 * var(--marge)), var(--w));
  margin-inline: auto;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--prune);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Bandeau aperçu ---------------------------------------------- */
.bandeau {
  position: relative;
  z-index: 6;
  margin: 0;
  padding: 11px var(--marge);
  background: var(--encre);
  color: #f0e6da;
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.45;
}

.bandeau strong {
  font-weight: 700;
  color: var(--laiton-clair);
}

.bandeau a {
  color: #f0e6da;
  text-underline-offset: 3px;
}

/* ---------- En-tête ------------------------------------------------------ */
.entete {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(244, 238, 227, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--trait);
}

.entete-in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  padding-block: 12px;
}

.marque {
  display: block;
  text-decoration: none;
  margin-right: auto;
  line-height: 1.15;
}

.marque b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.marque small {
  display: block;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 26px;
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav a {
  text-decoration: none;
  color: var(--encre-2);
  position: relative;
  padding-block: 4px;
  transition: color 0.45s var(--ressort);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--laiton);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ressort);
}

.nav a:hover {
  color: var(--encre);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--trait-fort);
  border-radius: 999px;
  background: transparent;
  color: var(--encre);
  cursor: pointer;
}

.burger span {
  display: block;
  position: absolute;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.5s var(--ressort), opacity 0.3s var(--ressort);
}

.burger span:nth-child(1) {
  transform: translateY(-5px);
}
.burger span:nth-child(3) {
  transform: translateY(5px);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ---------- Boutons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--ui);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.5s var(--ressort), background-color 0.5s var(--ressort),
    border-color 0.5s var(--ressort), color 0.5s var(--ressort);
}

.btn .pastille {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.5s var(--ressort);
}

.btn:active {
  transform: scale(0.98);
}

.btn-fort {
  background: var(--encre);
  color: #f6efe4;
}

.btn-fort:hover {
  background: var(--prune);
}

.btn-fort:hover .pastille {
  transform: translate(2px, -1px) scale(1.06);
}

.btn-doux {
  background: transparent;
  color: var(--encre);
  border-color: var(--trait-fort);
}

.btn-doux .pastille {
  background: rgba(36, 26, 34, 0.07);
}

.btn-doux:hover {
  border-color: var(--encre);
  background: rgba(36, 26, 34, 0.04);
}

.btn-doux:hover .pastille {
  transform: translate(2px, -1px) scale(1.06);
}

.btn-tel-entete {
  padding: 9px 11px 9px 18px;
  font-size: 13.5px;
}

/* ---------- Étiquettes / filets ----------------------------------------- */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--trait-fort);
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--encre-2);
}

.etiquette::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--laiton);
}

/* Galon : ruban de passementerie tissé en dégradés. */
.galon {
  height: 9px;
  border-radius: 999px;
  background-image:
    repeating-linear-gradient(90deg, var(--laiton) 0 5px, transparent 5px 11px),
    repeating-linear-gradient(90deg, var(--prune) 0 11px, transparent 11px 22px);
  opacity: 0.55;
}

.filet {
  height: 1px;
  background: linear-gradient(90deg, var(--trait-fort), transparent);
  border: 0;
  margin: 0;
}

/* ---------- Rythme des sections ----------------------------------------- */
.section {
  padding-block: clamp(72px, 9vw, 132px);
}

.section-sombre {
  background: var(--encre);
  color: #efe5d9;
}

.section-sombre h2,
.section-sombre h3 {
  color: #f7f0e6;
}

.section-sombre em {
  color: var(--laiton-clair);
}

.tete {
  max-width: 62ch;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.tete h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-block: 20px 16px;
}

.tete p {
  color: var(--encre-2);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 58ch;
}

.section-sombre .tete p {
  color: #c9bcb1;
}

.section-sombre .etiquette {
  border-color: rgba(255, 255, 255, 0.22);
  color: #d8cabd;
}

/* ---------- Héros -------------------------------------------------------- */
.heros {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 112px);
  overflow: hidden;
}

.heros::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 82% 8%, rgba(150, 115, 58, 0.16), transparent 62%),
    radial-gradient(70% 55% at 6% 92%, rgba(91, 44, 68, 0.13), transparent 60%);
  pointer-events: none;
}

.heros-in {
  position: relative;
}

.heros h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  margin-block: 24px 0;
  max-width: 22ch;
}

.heros-corps {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
  margin-top: clamp(36px, 4vw, 52px);
}

.heros-lede {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  color: var(--encre-2);
  max-width: 46ch;
  line-height: 1.58;
}

.heros-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.heros-adresse {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--trait);
  font-family: var(--ui);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--encre-2);
}

.heros-adresse strong {
  display: block;
  font-weight: 600;
  color: var(--encre);
  letter-spacing: 0.02em;
}

/* Panneau d'échantillons : plateau extérieur + cœur intérieur. */
.plateau {
  padding: 9px;
  border-radius: var(--r-plateau);
  background: rgba(36, 26, 34, 0.05);
  border: 1px solid var(--trait);
}

.plateau-coeur {
  border-radius: var(--r-coeur);
  background: var(--carte);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8),
    0 24px 50px -32px rgba(36, 26, 34, 0.42);
  overflow: hidden;
}

.echantillons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.echantillon {
  aspect-ratio: 3 / 4;
  border-right: 1px solid var(--trait);
  position: relative;
}

.echantillon:last-child {
  border-right: 0;
}

.echantillon-a {
  background-color: #6d3550;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.14) 0 2px, transparent 2px 7px);
}

.echantillon-b {
  background-color: #b9944f;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 6px);
}

.echantillon-c {
  background-color: #2f3a35;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 3px, transparent 3px 9px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.07) 0 30%, transparent 31%);
  background-size: auto, 22px 22px;
}

.plateau-pied {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid var(--trait);
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--encre-3);
}

.plateau-note {
  margin-top: 12px;
  font-family: var(--ui);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--encre-3);
  text-align: right;
}

/* ---------- Métiers ------------------------------------------------------ */
.metiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.metier {
  padding: 9px;
  border-radius: var(--r-plateau);
  background: rgba(36, 26, 34, 0.05);
  border: 1px solid var(--trait);
}

.metier-coeur {
  border-radius: var(--r-coeur);
  background: var(--carte);
  padding: clamp(26px, 3.4vw, 40px);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.metier-bandeau {
  height: 84px;
  border-radius: 10px;
  margin-bottom: 26px;
}

.metier-bandeau-siege {
  background-color: #5b2c44;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 8px);
}

.metier-bandeau-rideau {
  background-color: #3c4a44;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14) 0 3px,
    rgba(255, 255, 255, 0.03) 3px 9px,
    rgba(0, 0, 0, 0.16) 9px 13px
  );
}

.metier h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  margin-bottom: 14px;
}

.metier p {
  color: var(--encre-2);
  margin-bottom: 22px;
}

.liste {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-family: var(--ui);
  font-size: 14.5px;
  color: var(--encre-2);
}

.liste li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}

.liste li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  margin-top: 10px;
  background: var(--laiton);
  border-radius: 2px;
}

.source {
  margin-top: auto;
  font-family: var(--ui);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--encre-3);
}

.source a {
  color: var(--prune);
  text-underline-offset: 3px;
}

/* ---------- Showroom ----------------------------------------------------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.trio-carte {
  padding: 8px;
  border-radius: var(--r-plateau);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.trio-coeur {
  border-radius: var(--r-coeur);
  background: #2e222b;
  padding: clamp(24px, 3vw, 34px);
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.07);
}

.trio-num {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--laiton-clair);
}

.trio h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  margin-block: 16px 12px;
}

.trio p {
  color: #c3b5aa;
  font-size: 16px;
}

/* ---------- Infos pratiques ---------------------------------------------- */
.pratique {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.fiche {
  padding: 9px;
  border-radius: var(--r-plateau);
  background: rgba(36, 26, 34, 0.05);
  border: 1px solid var(--trait);
}

.fiche-coeur {
  border-radius: var(--r-coeur);
  background: var(--carte);
  padding: clamp(26px, 3.2vw, 38px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.fiche h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.horaires {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ui);
  font-size: 14.5px;
}

.horaires caption {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--encre-3);
  padding-bottom: 12px;
}

.horaires th,
.horaires td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}

.horaires th {
  font-weight: 600;
  color: var(--encre);
  width: 46%;
}

.horaires td {
  color: var(--encre-2);
  font-variant-numeric: tabular-nums;
}

.horaires tr:last-child th,
.horaires tr:last-child td {
  border-bottom: 0;
}

.horaires .ferme {
  color: var(--encre-3);
}

.coord {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.coord li {
  display: grid;
  gap: 4px;
}

.coord dt,
.coord .cle {
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--encre-3);
}

.coord .val {
  font-size: 1.12rem;
  font-weight: 600;
}

.coord a {
  color: var(--encre);
  text-decoration-color: var(--trait-fort);
  text-underline-offset: 4px;
  transition: color 0.4s var(--ressort);
}

.coord a:hover {
  color: var(--prune);
}

/* Module de contact volontairement inactif sur l'aperçu. */
.module-off {
  margin-top: clamp(22px, 3vw, 32px);
  padding: 9px;
  border-radius: var(--r-plateau);
  background: repeating-linear-gradient(
    -45deg,
    rgba(36, 26, 34, 0.05) 0 8px,
    rgba(36, 26, 34, 0.02) 8px 16px
  );
  border: 1px dashed var(--trait-fort);
}

.module-off-coeur {
  border-radius: var(--r-coeur);
  background: rgba(251, 248, 242, 0.72);
  padding: clamp(22px, 3vw, 30px);
}

.module-off-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.jeton-off {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--prune);
  border: 1px solid rgba(91, 44, 68, 0.35);
  border-radius: 999px;
  padding: 5px 11px;
}

.module-off h3 {
  font-size: 1.2rem;
  margin: 0;
}

.module-off > .module-off-coeur > p {
  color: var(--encre-2);
  font-size: 15.5px;
  margin-bottom: 20px;
}

.faux-champs {
  display: grid;
  gap: 12px;
  opacity: 0.5;
  filter: saturate(0.3);
}

.faux-champ {
  border: 1px solid var(--trait-fort);
  border-radius: 10px;
  background: rgba(36, 26, 34, 0.03);
  padding: 12px 14px;
  font-family: var(--ui);
  font-size: 13.5px;
  color: var(--encre-3);
}

.faux-champ-haut {
  min-height: 74px;
}

.faux-bouton {
  justify-self: start;
  border-radius: 999px;
  padding: 11px 22px;
  background: rgba(36, 26, 34, 0.12);
  color: var(--encre-3);
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- Réserves / sources ------------------------------------------ */
.reserves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.reserves li {
  border-top: 1px solid var(--trait-fort);
  padding-top: 18px;
  font-family: var(--ui);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--encre-2);
}

.reserves strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--encre);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.sources {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-family: var(--ui);
  font-size: 13.5px;
  color: var(--encre-2);
  word-break: break-word;
}

.sources a {
  color: var(--prune);
  text-underline-offset: 3px;
}

/* ---------- Pied --------------------------------------------------------- */
.socle {
  background: var(--encre);
  color: #cbbdb2;
  padding-block: clamp(48px, 6vw, 76px) 34px;
  font-family: var(--ui);
  font-size: 13.5px;
  line-height: 1.65;
}

.socle-haut {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.socle b {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #f7f0e6;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.socle-titre {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8d7d72;
  margin-bottom: 14px;
}

.socle-liens {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.socle a {
  color: #e4d8cc;
  text-underline-offset: 3px;
}

.socle a:hover {
  color: var(--laiton-clair);
}

.socle-legal {
  padding-top: 26px;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: #94847a;
}

/* ---------- Pages annexes ------------------------------------------------ */
.page-annexe {
  padding-block: clamp(44px, 6vw, 80px) clamp(64px, 8vw, 104px);
}

.retour {
  display: inline-block;
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--encre-2);
  text-decoration: none;
  border-bottom: 1px solid var(--trait-fort);
  padding-bottom: 3px;
  margin-bottom: 34px;
}

.retour:hover {
  color: var(--prune);
}

.page-annexe h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 20px;
}

.intro {
  max-width: 62ch;
  color: var(--encre-2);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.comparatif {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}

/* Le relevé « avant » reste lisible pendant le défilement de la capture. */
@media (min-width: 1001px) {
  .volet-colle {
    position: sticky;
    top: 104px;
  }
}

.volet h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  margin-bottom: 8px;
}

.volet-note {
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--encre-3);
  margin-bottom: 16px;
}

.panneau-avant {
  padding: 9px;
  border-radius: var(--r-plateau);
  background: rgba(36, 26, 34, 0.05);
  border: 1px solid var(--trait);
}

.panneau-avant-coeur {
  border-radius: var(--r-coeur);
  background: var(--carte);
  padding: clamp(24px, 3vw, 34px);
}

.constat {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.constat li {
  display: grid;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--trait);
}

.constat li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.constat .cle {
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--encre-3);
}

.constat .val {
  font-size: 16px;
  color: var(--encre-2);
}

.ameliorations {
  margin-top: clamp(48px, 6vw, 76px);
}

.ameliorations h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 28px;
}

.ameliorations ol {
  counter-reset: amelio;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.ameliorations li {
  counter-increment: amelio;
  border-top: 2px solid var(--laiton);
  padding-top: 18px;
}

.ameliorations li::before {
  content: "0" counter(amelio);
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--laiton);
  margin-bottom: 12px;
}

.ameliorations strong {
  display: block;
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.ameliorations p {
  color: var(--encre-2);
  font-size: 15.5px;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-block: 44px 14px;
}

.prose p,
.prose li {
  color: var(--encre-2);
  margin-bottom: 14px;
}

.prose ul {
  padding-left: 20px;
}

.prose a {
  color: var(--prune);
  text-underline-offset: 3px;
}

.capture {
  border-radius: var(--r-coeur);
  border: 1px solid var(--trait);
  overflow: hidden;
  background: var(--papier-2);
}

/* ---------- Révélations au défilement ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ressort), transform 0.85s var(--ressort);
  will-change: transform, opacity;
}

.reveal.vu {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- Adaptations ------------------------------------------------- */
@media (max-width: 1000px) {
  .heros-corps,
  .pratique {
    grid-template-columns: minmax(0, 1fr);
  }

  .heros-corps {
    align-items: start;
  }

  .plateau-note {
    text-align: left;
  }

  .metiers,
  .trio,
  .comparatif,
  .ameliorations ol,
  .socle-haut {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 90px;
  }

  .burger {
    display: inline-flex;
    position: relative;
    order: 3;
  }

  .btn-tel-entete {
    order: 2;
  }

  .nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ressort);
  }

  .nav.ouvert {
    max-height: 320px;
  }

  .nav a {
    padding: 14px 2px;
    border-top: 1px solid var(--trait);
    font-size: 15px;
  }

  .nav a::after {
    display: none;
  }

  .entete-in {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16.5px;
  }

  .bandeau {
    font-size: 12px;
  }

  /* En-tête compact : la ligne d'accroche cède la place aux deux actions. */
  .marque small {
    display: none;
  }

  .marque b {
    font-size: 19px;
  }

  .entete-in {
    gap: 12px;
    min-height: 64px;
  }

  .btn-tel-entete span.txt {
    display: none;
  }

  .btn-tel-entete {
    padding: 9px;
  }

  .heros h1 {
    max-width: none;
  }

  .heros-actions .btn {
    width: 100%;
    justify-content: space-between;
  }

  .echantillons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .echantillon {
    aspect-ratio: 2 / 3;
  }

  .plateau-pied {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .bandeau,
  .entete,
  .module-off {
    display: none;
  }
}
