/* ==========================================================================
   Maison Azaïs : matelas & sommiers, marchés du Val-de-Marne, livraison IDF
   Direction « Nuit & coutil » (refonte 2026-11) :
   - fond bleu nuit mat, filets laiton, rayons nets (4 à 10 px)
   - panneaux clairs « coutil » (.paper) pour tout ce qui se lit au soleil
   - titres Newsreader, texte DM Sans (polices hébergées sur le site)
   Les mêmes variables sémantiques changent de valeur dans .paper :
   les composants n'ont donc qu'une seule version.
   ========================================================================== */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/newsreader.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/newsreader-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/dmsans.woff2") format("woff2"); }

:root {
  /* Primitives */
  --c-night-900: #0E1626;
  --c-night-850: #111A2E;
  --c-night-800: #16213A;
  --c-night-700: #1E2B47;
  --c-night-500: #2B3B5E;
  --c-cream-50: #FBF8F2;
  --c-cream-100: #F5F0E6;
  --c-cream-200: #ECE4D4;
  --c-cream-300: #DDD2BF;
  --c-brass-300: #D8AC67;
  --c-brass-400: #C89B54;
  --c-brass-700: #7C4F18;
  --c-text-dim: #AAB3C5;

  /* Sémantique : contexte sombre (par défaut) */
  --bg: var(--c-night-900);
  --bg-2: var(--c-night-850);
  --surface: var(--c-night-800);
  --sand: var(--c-night-700);
  --line: rgb(216 172 103 / .22);
  --line-strong: rgb(242 236 224 / .3);
  --field: #7C88A3;
  --ink: #F2ECE0;
  --ink-2: var(--c-text-dim);
  --night: var(--c-brass-300);        /* aplat « fort » : laiton sur fond nuit */
  --night-2: #E4BD7E;
  --night-3: var(--c-brass-400);
  --on-night: var(--c-night-900);
  --on-night-2: #3B3020;
  --brass: var(--c-brass-300);
  --brass-2: var(--c-brass-300);
  --wood: #DCC29B;
  --fr-blue: #2D4B9A;
  --fr-red: #C8352F;
  --error: #FF9C8C;
  --todo-bg: #FCE68A;

  /* Rayons nets */
  --r-xs: 4px;
  --r-s: 6px;
  --r-m: 8px;
  --r-l: 10px;
  --radius-s: var(--r-xs);
  --radius: var(--r-s);
  --radius-l: var(--r-l);
  --soft-corner: var(--r-l);
  --shadow-1: 0 1px 2px rgb(14 22 38 / .06), 0 10px 24px -18px rgb(14 22 38 / .35);
  --shadow-2: 0 2px 6px rgb(14 22 38 / .08), 0 24px 48px -28px rgb(14 22 38 / .5);

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 72px;
  --tap: 48px;

  /* Mouvement : une courbe, trois durées */
  --ease-out: cubic-bezier(.2, 0, 0, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --t-quick: .2s;
  --t-std: .3s;
  --t-slow: .35s;
  color-scheme: dark;
}

/* Panneau clair « coutil » : lisible en plein soleil */
.paper {
  --bg: var(--c-cream-100);
  --bg-2: var(--c-cream-200);
  --surface: var(--c-cream-50);
  --sand: #E4D8C4;
  --line: var(--c-cream-300);
  --line-strong: #B4A58C;
  --field: #857862;
  --ink: var(--c-night-900);
  --ink-2: #444C5E;
  --night: var(--c-night-900);
  --night-2: #1A2640;
  --night-3: var(--c-night-500);
  --on-night: var(--c-cream-100);
  --on-night-2: #B9C1D2;
  --brass: var(--c-brass-700);
  --brass-2: var(--c-brass-300);
  --error: #A62B1F;
  color-scheme: light;
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 450;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: normal; color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
strong, b { font-weight: 600; }

:focus-visible { outline: 2.5px solid var(--brass-2); outline-offset: 3px; border-radius: var(--r-xs); }
.paper :focus-visible { outline-color: var(--c-brass-700); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: var(--r-s);
  background: var(--c-brass-300); color: var(--c-night-900); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.i { width: 1.25em; height: 1.25em; flex: none; }
.nw { white-space: nowrap; }
.tel { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
mark.todo, .todo {
  padding: 0 .35em; border-radius: var(--r-xs);
  background: var(--todo-bg); color: var(--c-night-900);
  font-size: .875em; font-weight: 600;
}

/* ---------- Mise en page ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section:not(.paper) { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 1rem; }
.kicker { margin-bottom: .9rem; font-size: .9375rem; font-weight: 600; color: var(--brass); }

h2, .h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
h2 + .lead { margin-top: 1rem; }
.lead {
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Boutons & liens ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.4em;
  border: 1.5px solid transparent; border-radius: var(--r-s);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition-property: background-color, color, border-color, scale;
  transition-duration: var(--t-quick);
  transition-timing-function: var(--ease-out);
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn:active { scale: .96; }
.btn-primary { background: var(--night); color: var(--on-night); }
.btn-primary:hover { background: var(--night-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: var(--on-night); color: var(--night); }
.btn-light:hover { background: #fff; }
.btn-lg { min-height: 60px; padding: 0 1.6em; font-size: 1.0625rem; }
.btn-sm { min-height: var(--tap); padding: 0 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.more {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: var(--tap);
  font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--brass);
  text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.more:hover { color: var(--brass); }
.more .i { transition: translate var(--t-quick) var(--ease-out); }
.more:hover .i { translate: 3px 0; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--brass); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chips li {
  padding: 5px 10px; border-radius: var(--r-xs);
  background: var(--bg); border: 1px solid var(--line);
  font-size: .875rem; font-weight: 500; color: var(--ink-2);
}
.fr-flag { display: inline-flex; flex: none; width: 21px; height: 15px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgb(14 22 38 / .15); }
.fr-flag::before, .fr-flag::after, .fr-flag span { content: ""; flex: 1; }
.fr-flag::before { background: var(--fr-blue); }
.fr-flag span { background: #fff; }
.fr-flag::after { background: var(--fr-red); }

/* Rayure de coutil : le tissu des matelas d'autrefois, utilisé comme filet */
.ticking {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--c-night-500) 0 3px, var(--c-cream-100) 3px 9px, var(--c-night-500) 9px 10px, var(--c-cream-100) 10px 22px);
  opacity: .9;
}

/* ==========================================================================
   Composants repris de la première version (schémas, guide, formulaires)
   ========================================================================== */
/* ---------- Accueil : couche par couche ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.anatomy-figure {
  margin: 0; padding: clamp(14px, 3vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.anatomy-svg { width: 100%; height: auto; overflow: visible; }
.anatomy-svg .layer { cursor: pointer; transition: transform .35s var(--ease-out); }
.anatomy-svg .hl { fill: var(--brass); fill-opacity: 0; stroke: var(--brass); stroke-opacity: 0; stroke-width: 1.5; transition: fill-opacity .25s var(--ease-soft), stroke-opacity .25s var(--ease-soft); }
.anatomy-svg .layer:hover .hl { fill-opacity: .04; stroke-opacity: .35; }
.anatomy-svg .layer.is-active .hl { fill-opacity: .08; stroke-opacity: 1; }
.anatomy-svg .mk line { stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 2 3; }
.anatomy-svg .mk circle { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; transition: fill .25s var(--ease-soft), stroke .25s var(--ease-soft); }
.anatomy-svg .mk text { font: 600 15px var(--font-body); fill: var(--ink); transition: fill .25s var(--ease-soft); }
.anatomy-svg .layer.is-active .mk circle { fill: var(--night); stroke: var(--night); }
.anatomy-svg .layer.is-active .mk text { fill: var(--on-night); }
.a-floor { stroke: var(--line-strong); stroke-width: 1.5; }
.a-tick { fill: #FFFDF9; stroke: var(--ink-2); stroke-width: 1.5; }
.a-stitch { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 4 4; }
.a-tuft { fill: var(--line-strong); }
.a-foam { fill: #F2E7D5; stroke: var(--ink-2); stroke-width: 1.5; }
.a-wave { fill: none; stroke: #CDB48C; stroke-width: 1.5; }
.a-core { fill: #FBF7F0; stroke: var(--ink-2); stroke-width: 1.5; }
.a-pocket { fill: #EEE5D7; stroke: #CDBFA8; stroke-width: 1.2; }
.a-spring { fill: none; stroke: var(--night-3); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.a-slat { fill: var(--wood); stroke: #A88A5E; stroke-width: 1.2; }
.a-holder { fill: var(--ink-2); opacity: .35; }
.a-frame { fill: #E6D2B3; stroke: #9C7E52; stroke-width: 1.5; }
.a-grain { fill: none; stroke: #C4A77B; stroke-width: 1; }
.a-leg { fill: #CFB083; stroke: #9C7E52; stroke-width: 1.5; }
/* Éclaté : les couches se séparent quand la figure entre à l'écran */
html.motion .anatomy-svg:not(.is-in) .layer[data-layer="1"] { transform: translateY(20px); }
html.motion .anatomy-svg:not(.is-in) .layer[data-layer="2"] { transform: translateY(10px); }
html.motion .anatomy-svg:not(.is-in) .layer[data-layer="4"] { transform: translateY(-18px); }
html.motion .anatomy-svg:not(.is-in) .layer[data-layer="5"] { transform: translateY(-30px); }

.anatomy-tabs { display: grid; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.anatomy-tab {
  display: flex; align-items: center; gap: 14px; width: 100%;
  min-height: 56px; padding: 8px 16px 8px 8px;
  border: 1px solid transparent; border-radius: var(--r-m);
  background: transparent; text-align: left; cursor: pointer;
  font-size: 1.0625rem; font-weight: 500;
  transition: background-color .2s var(--ease-soft), border-color .2s var(--ease-soft), box-shadow .2s var(--ease-soft);
}
.anatomy-tab:hover { background: rgb(28 40 64 / .05); }
.anatomy-tab .num {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  font-size: .9375rem; font-weight: 600;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.anatomy-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-1); }
.anatomy-tab[aria-selected="true"] .num { background: var(--night); border-color: var(--night); color: var(--on-night); }
.anatomy-panel h3 { font-size: 1.625rem; }
.anatomy-panel p { margin-top: 10px; color: var(--ink-2); }
.anatomy-panel .chips { margin-top: 16px; }
.anatomy-panel .chips li { background: var(--surface); }
@media (max-width: 960px) { .anatomy { grid-template-columns: 1fr; } }
/* ---------- Accueil : guide des tailles ---------- */
.sizes { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 330px); gap: clamp(20px, 3vw, 36px); align-items: center; }
.size-options { display: grid; gap: 8px; }
.size-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-m);
  background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
  transition: background-color .2s var(--ease-soft), border-color .2s var(--ease-soft), color .2s var(--ease-soft), transform .2s var(--ease-out);
}
.size-opt:hover { border-color: var(--line-strong); transform: translateX(2px); }
.size-opt b { font: 500 1.25rem/1.1 var(--font-display); font-variant-numeric: lining-nums; white-space: nowrap; }
.size-opt span { font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.size-opt[aria-checked="true"] { background: var(--night); border-color: var(--night); color: var(--on-night); }
.size-opt[aria-checked="true"] span { color: var(--on-night-2); }
.size-stage { margin: 0; padding: clamp(10px, 2vw, 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.size-stage figcaption { margin-top: 6px; text-align: center; font-size: .8125rem; color: var(--ink-2); }
.sg-svg { width: 100%; height: auto; }
.sg-ref { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 4 4; }
.sg-head { fill: #CFB083; }
.sg-bed { fill: #FFFDF9; stroke: var(--ink-2); stroke-width: 1.2; }
.sg-quilt { fill: url(#sg-quilt); }
.sg-quilt-line { stroke: #E8DDCB; stroke-width: 1; }
.sg-pillow { fill: var(--bg-2); stroke: #C9BBA4; stroke-width: 1; transition: opacity .25s var(--ease-soft); }
.sg-split { stroke: var(--brass); stroke-width: 1.2; stroke-dasharray: 3 4; transition: opacity .25s var(--ease-soft); }
.sg-dim { stroke: var(--ink-2); stroke-width: 1; }
.sg-text { font: 600 11px var(--font-body); fill: var(--ink); }
.sg-per { font: 600 10.5px var(--font-body); fill: var(--brass); transition: opacity .25s var(--ease-soft); }
.size-info { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-l); background: var(--night); color: var(--on-night); }
.size-info .name { font: 400 1.75rem/1.15 var(--font-display); }
.size-info .name small { display: block; margin-bottom: 6px; font: 600 .75rem/1 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--brass-2); }
.size-info dl { display: grid; gap: 14px; margin: 20px 0 22px; }
.size-info dt { font-size: .8125rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--on-night-2); }
.size-info dd { margin: 2px 0 0; font-size: 1.0625rem; }
.size-info .btn { width: 100%; white-space: normal; text-align: center; }
.size-more { margin-top: 28px; text-align: center; color: var(--ink-2); }
@media (max-width: 1080px) {
  .sizes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .size-options { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .size-opt { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .size-opt:hover { transform: none; }
}
@media (max-width: 680px) {
  .sizes { grid-template-columns: 1fr; }
  .size-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .size-opt { padding: 10px 12px; }
  .size-opt b { font-size: 1.0625rem; }
  .size-opt span { font-size: .8125rem; }
}
/* ---------- Accueil : zone de livraison ---------- */
.zone { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.dept-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.dept-list li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line); transition: color .2s var(--ease-soft); }
.dept-list .code {
  display: grid; place-items: center; flex: none; width: 42px; height: 30px;
  border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface);
  font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.dept-list li.is-hot .code { background: var(--night); border-color: var(--night); color: var(--on-night); }
.zone-note { display: flex; gap: 10px; margin-top: 22px; color: var(--ink-2); }
.zone-note .i { color: var(--brass); margin-top: 3px; }
.idf-map { margin: 0; }
.idf-svg { width: 100%; max-width: 460px; height: auto; margin-inline: auto; }
.idf-ring { stroke: var(--line-strong); stroke-width: 1; }
.idf-ring-3 { fill: #F3ECE0; stroke-dasharray: 3 5; }
.idf-ring-2 { fill: #ECE2D2; }
.idf-ring-1 { fill: #E2D4BE; }
.idf-seine { fill: none; stroke: #9DB1CF; stroke-width: 3; stroke-linecap: round; opacity: .55; }
.idf-pin { cursor: default; }
.idf-pin circle { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.2; transition: fill .2s var(--ease-soft), stroke .2s var(--ease-soft); }
.idf-pin text { font: 600 13px var(--font-body); fill: var(--ink); transition: fill .2s var(--ease-soft); }
.idf-pin.is-hot circle { fill: var(--brass); stroke: var(--brass); }
.idf-pin.is-hot text { fill: #fff; }
.idf-paris circle { fill: var(--night); stroke: var(--night); }
.idf-paris text { fill: var(--on-night); font-size: 12px; }
.idf-paris .idf-paris-name { font: 500 13px var(--font-display); }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } .idf-map { order: -1; } .idf-svg { max-width: 360px; } }
@media (max-width: 420px) { .dept-list { grid-template-columns: 1fr; } }
/* ---------- Pages intérieures ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; list-style: none; font-size: .875rem; color: var(--ink-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-2); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--brass); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(20px, 3vw, 36px); }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -.025em; }
.page-hero .lead { margin-top: 1.25rem; }
.page-hero-media { margin: 0; }
.page-hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-l) var(--soft-corner) var(--radius-l) var(--radius-l); box-shadow: var(--shadow-2); background: var(--sand); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.anchor-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  font-weight: 500; text-decoration: none;
  transition: background-color .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.anchor-nav a:hover { background: var(--surface); border-color: var(--ink-2); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media img { aspect-ratio: 16 / 10; } }

/* Fiches technologies (matelas / sommiers) */
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.tech {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: start;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
}
.tech-illus { width: 112px; height: 88px; padding: 8px; border-radius: var(--radius); background: var(--bg); }
.tech-illus svg { width: 100%; height: 100%; }
.feel { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--brass); }
.tech h3 { font-size: 1.625rem; }
.tech p { margin-top: 10px; color: var(--ink-2); }
.ideal { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .9375rem; }
.ideal li { display: flex; gap: 10px; }
.ideal .i { width: 18px; height: 18px; color: var(--brass); margin-top: 3px; }
.il-line { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.il-soft { fill: #F2E7D5; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.il-white { fill: #FFFDF9; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.il-wood { fill: var(--wood); stroke: #9C7E52; stroke-width: 1.3; stroke-linejoin: round; }
.il-night { fill: none; stroke: var(--night-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.il-brass { fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.il-dot { fill: var(--line-strong); }
@media (max-width: 860px) { .tech-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .tech { grid-template-columns: 1fr; } }

/* Repères de fermeté */
.firm { margin-top: clamp(28px, 4vw, 44px); padding: clamp(22px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.firm-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.firm-head h3 { font-size: 1.75rem; }
.firm-head p { max-width: 46ch; color: var(--ink-2); font-size: .9375rem; }
.firm-scale, .firm-row { display: grid; grid-template-columns: minmax(170px, 1.3fr) repeat(4, minmax(0, 1fr)); align-items: center; column-gap: 6px; }
.firm-scale span { padding-bottom: 8px; text-align: center; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.firm-scale span:first-child { text-align: left; }
.firm-bar { grid-column: 2 / -1; height: 8px; border-radius: var(--r-s); background: linear-gradient(90deg, #EADFCB, #D2B07C 38%, var(--night-3) 74%, var(--night)); }
.firm-row { padding: 12px 0; border-top: 1px solid var(--line); }
.firm-who { font-weight: 500; }
.firm-range {
  display: flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 10px; border-radius: var(--r-s);
  background: rgb(143 91 26 / .1); border: 1.5px solid var(--brass);
  font-size: .8125rem; font-weight: 600; color: var(--brass); white-space: nowrap;
}
.r-12 { grid-column: 2 / 4; } .r-23 { grid-column: 3 / 5; } .r-3 { grid-column: 4 / 5; } .r-34 { grid-column: 4 / 6; }
@media (max-width: 680px) {
  .firm-scale, .firm-row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
  .firm-scale span:first-child { display: none; }
  .firm-scale span { font-size: .75rem; }
  .firm-bar { grid-column: 1 / -1; }
  .firm-who { grid-column: 1 / -1; }
  .r-12 { grid-column: 1 / 3; } .r-23 { grid-column: 2 / 4; } .r-3 { grid-column: 3 / 4; } .r-34 { grid-column: 3 / 5; }
}

/* Ensembles */
.ensemble { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--r-m); background: var(--night); color: var(--on-night); }
.ensemble figure { margin: 0; min-height: 340px; background: var(--night-2); }
.ensemble img { width: 100%; height: 100%; object-fit: cover; }
.ensemble-body { padding: clamp(28px, 5vw, 64px); align-self: center; }
.ensemble .eyebrow { color: var(--brass-2); }
.ensemble h2 { color: var(--on-night); }
.ensemble h2 em { color: var(--brass-2); }
.ensemble p { margin-top: 1rem; color: var(--on-night-2); }
.ensemble ul { display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.ensemble li { display: flex; gap: 10px; }
.ensemble li .i { width: 20px; height: 20px; color: var(--brass-2); margin-top: 3px; }
@media (max-width: 860px) { .ensemble { grid-template-columns: 1fr; } .ensemble figure { min-height: 0; aspect-ratio: 16 / 10; } }

/* Tableau des dimensions */
.table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.size-table { width: 100%; border-collapse: collapse; }
.size-table caption { padding: 0; }
.size-table th, .size-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--bg-2); font-size: .75rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.size-table tbody tr:last-child > * { border-bottom: 0; }
.size-table tbody th { font: 500 1.125rem/1.35 var(--font-display); white-space: nowrap; color: var(--night); }
.size-table td { color: var(--ink-2); }
.size-table td:first-of-type { color: var(--ink); font-weight: 500; }
.size-table .muted { color: var(--ink-2); }
.table-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 720px) {
  .size-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .size-table, .size-table tbody, .size-table tr, .size-table th, .size-table td { display: block; }
  .size-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .size-table tbody tr:last-child { border-bottom: 0; }
  .size-table th, .size-table td { padding: 2px 0; border: 0; }
  .size-table td::before { content: attr(data-label) " : "; font-weight: 600; color: var(--ink); }
}

/* Bien choisir */
.advice { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; padding: 0; list-style: none; }
.questions li { padding-top: 20px; border-top: 1.5px solid var(--line-strong); }
.questions .step-num { font-size: 2rem; }
.questions h3 { margin: 10px 0 8px; font-size: 1.3125rem; }
.questions p { color: var(--ink-2); }
.signs { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-l); background: var(--night); color: var(--on-night); }
.signs h3 { font-size: 1.5rem; }
.signs h3 em { color: var(--brass-2); }
.signs ul { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--on-night-2); }
.signs li { display: flex; gap: 10px; }
.signs li .i { width: 18px; height: 18px; color: var(--brass-2); margin-top: 4px; }
@media (max-width: 960px) { .advice { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .questions { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(22px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.form-card fieldset { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.form-card legend { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 0; font: 400 1.5rem/1.2 var(--font-display); color: var(--night); }
.form-card legend b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--night); color: var(--on-night); font: 600 .9375rem/1 var(--font-body); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field .label { font-size: .9375rem; font-weight: 600; }
.field .hint { font-size: .875rem; font-weight: 400; color: var(--ink-2); }
.req { color: var(--error); }
.form-card input[type="text"], .form-card input[type="tel"], .form-card input[type="email"], .form-card select, .form-card textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--field); border-radius: var(--radius-s);
  background: #fff; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s var(--ease-soft), box-shadow .2s var(--ease-soft);
}
.form-card textarea { min-height: 128px; resize: vertical; }
.form-card select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5163' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.form-card input:hover, .form-card select:hover, .form-card textarea:hover { border-color: var(--ink-2); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2.5px solid var(--brass); outline-offset: 2px; border-color: var(--night); }
.error { display: none; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--error); }
.has-error .error { display: flex; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error) !important; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 18px;
  border: 1.5px solid var(--field); border-radius: var(--r-s); background: #fff;
  font-weight: 500; cursor: pointer;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.choice span .i { width: 0; height: 18px; opacity: 0; transition: width .2s var(--ease-out), opacity .2s var(--ease-soft); }
.choice:hover span { border-color: var(--ink-2); }
.choice input:checked + span { background: var(--night); border-color: var(--night); color: var(--on-night); }
.choice input:checked + span .i { width: 18px; opacity: 1; }
.choice input:focus-visible + span { outline: 2.5px solid var(--brass); outline-offset: 3px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; font-weight: 400; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--night); cursor: pointer; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.form-note { font-size: .875rem; color: var(--ink-2); }
.honey { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-l); background: var(--night); color: var(--on-night); }
.aside-card .label { font-size: .75rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--brass-2); }
.aside-phone { display: inline-block; margin: 8px 0 4px; font: 400 clamp(1.75rem, 1.4rem + 1vw, 2.25rem)/1.1 var(--font-display); color: var(--on-night); text-decoration: none; }
.aside-phone:hover { color: var(--brass-2); }
.aside-card p { color: var(--on-night-2); font-size: .9375rem; }
.aside-card .btn { margin-top: 18px; width: 100%; }
.aside-list { display: grid; gap: 14px; padding: clamp(22px, 3vw, 28px); margin: 0; list-style: none; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.aside-list li { display: flex; gap: 12px; }
.aside-list .i { width: 22px; height: 22px; color: var(--brass); margin-top: 2px; }
.aside-list strong { display: block; color: var(--ink); }
.aside-list span, .aside-list a { color: var(--ink-2); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } .form-submit .btn { width: 100%; } }

/* ---------- Pages légales, merci, 404 ---------- */
.prose { max-width: 780px; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 1em; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
.center-page { display: grid; place-items: center; min-height: calc(100dvh - var(--header-h) - 240px); padding: clamp(56px, 10vw, 120px) 0; text-align: center; }
.center-page .moon-illus { width: 120px; height: 120px; margin: 0 auto 28px; color: var(--brass-2); stroke: var(--night); }
.center-page h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.center-page p { max-width: 46ch; margin: 1.1rem auto 0; color: var(--ink-2); font-size: 1.125rem; }
/* ---------- Apparitions au défilement ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.motion .hero-text > * { animation: rise .35s var(--ease-out) both; }
html.motion .hero-text > :nth-child(2) { animation-delay: .06s; }
html.motion .hero-text > :nth-child(3) { animation-delay: .12s; }
html.motion .hero-text > :nth-child(4) { animation-delay: .18s; }
html.motion .hero-text > :nth-child(5) { animation-delay: .24s; }
html.motion .hero-media { animation: rise .35s .06s var(--ease-out) both; }
html.motion .reveal { opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
html.motion .reveal.is-visible { opacity: 1; transform: none; }
html.motion .reveal-group > * { opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
html.motion .reveal-group.is-visible > * { opacity: 1; transform: none; }
html.motion .reveal-group.is-visible > :nth-child(2) { transition-delay: .08s; }
html.motion .reveal-group.is-visible > :nth-child(3) { transition-delay: .16s; }
html.motion .reveal-group.is-visible > :nth-child(4) { transition-delay: .24s; }
html.motion .reveal-group.is-visible > :nth-child(5) { transition-delay: .32s; }
html.motion .reveal-group.is-visible > :nth-child(n+6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---------- Page produits : en-têtes de section avec image ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head .section-head { margin-bottom: 0; }
.split-head--reverse > :first-child { order: 2; }
.split-head figure { margin: 0; }
.split-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow-1); background: var(--sand); }
.firm-rows { margin: 14px 0 0; padding: 0; list-style: none; }
@media (max-width: 860px) {
  .split-head { grid-template-columns: 1fr; }
  .split-head--reverse > :first-child { order: 0; }
  .split-head img { aspect-ratio: 16 / 9; }
}
.page-intro { margin-top: clamp(20px, 3vw, 36px); }
.section--flush { padding-top: 0; }
.nw { white-space: nowrap; }
/* ---------- Schéma de la colonne vertébrale (matelas moelleux / adapté / ferme) ---------- */
.spine-svg { width: 100%; height: auto; overflow: visible; }
.sp-sommier { fill: var(--wood); stroke: #9C7E52; stroke-width: 1.3; }
.sp-leg { fill: #CFB083; stroke: #9C7E52; stroke-width: 1.2; }
.sp-pillow { fill: #F1E9DB; stroke: var(--line-strong); stroke-width: 1.2; }
.sp-mattress { fill: #FFFDF9; stroke: var(--ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.sp-stitch { fill: none; stroke: var(--line-strong); stroke-width: 1.1; stroke-dasharray: 4 4; }
.sp-body, .sp-fill { fill: #EBD9BC; }
.sp-body { stroke: var(--ink-2); stroke-width: 1.5; }
.sp-outline { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; }
.sp-dev { fill: var(--error); fill-opacity: .2; }
.sp-ideal { stroke: var(--brass); stroke-width: 1.6; stroke-dasharray: 5 4; }
.sp-spine { fill: none; stroke: var(--night); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sp-vert circle { fill: var(--brass-2); stroke: var(--night); stroke-width: 1.2; }
.sp-labels text { font: 600 13px var(--font-body); fill: var(--ink-2); }
.sp-labels line { stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 2 3; }

.spine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 0; padding: 0; }
.spine-card { display: flex; flex-direction: column; margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.spine-card--good { border-color: var(--night); box-shadow: var(--shadow-2); }
.spine-fig { padding: 12px 10px 4px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.spine-card figcaption { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(18px, 2.4vw, 26px); }
.spine-card h3 { font-size: 1.5rem; }
.spine-card p { color: var(--ink-2); font-size: .96875rem; }
.spine-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-s); background: rgb(166 43 31 / .1); color: var(--error); font-size: .8125rem; font-weight: 600; }
.spine-tag .i { width: 15px; height: 15px; }
.spine-card--good .spine-tag { background: var(--night); color: var(--on-night); }
.spine-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .9375rem; }
.spine-legend li { display: inline-flex; align-items: center; gap: 10px; }
.lg-line { width: 34px; height: 0; border-top: 4.5px solid var(--night); border-radius: 3px; }
.lg-ideal { width: 34px; height: 0; border-top: 2px dashed var(--brass); }
.lg-dev { width: 26px; height: 14px; border-radius: 4px; background: rgb(166 43 31 / .22); }
.spine-note { max-width: 70ch; margin: 18px auto 0; text-align: center; color: var(--ink-2); font-size: .9375rem; }
.sp-spine { transition: stroke-dashoffset .35s var(--ease-out) .1s; }
.sp-vert { transition: opacity .2s var(--ease-out) .35s; }
html.motion .reveal-group:not(.is-visible) .sp-spine { stroke-dashoffset: 1.02; }
html.motion .reveal-group:not(.is-visible) .sp-vert { opacity: 0; }
@media (max-width: 999px) { .spine-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ==========================================================================
   Nouvelle structure : en-tête, marchés, accueil, configurateur, mode stand
   ========================================================================== */

/* ---------- Bandeau « marché du jour » (tout en haut, coutil) ---------- */
.today-strip { position: relative; z-index: 51; font-size: .9375rem; }
.today-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 48px; padding-block: 6px; }
.today-dot { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: #2F8F5B; }
.today-strip.is-off .today-dot { background: var(--line-strong); }
.today-text { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.today-text strong { font-weight: 600; }
.today-links { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.today-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brass); }
.today-links .i { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(14 22 38 / .92);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; text-decoration: none; color: var(--ink); }
.brand-mark { flex: none; width: 40px; height: 40px; color: var(--c-brass-300); stroke: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 500 1.375rem/1 var(--font-display); letter-spacing: -.01em; }
.brand-tag { margin-top: 5px; font-size: .75rem; font-weight: 500; color: var(--ink-2); }

.site-nav ul { display: flex; gap: 2px; padding: 0; list-style: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px;
  border-radius: var(--r-s); text-decoration: none;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  transition: background-color var(--t-quick) var(--ease-out), color var(--t-quick) var(--ease-out);
}
.site-nav a:hover { background: rgb(242 236 224 / .06); }
.site-nav a[aria-current="page"] { color: var(--brass); }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: var(--tap); height: var(--tap); padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
  background: transparent; color: var(--ink); cursor: pointer;
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: border-color var(--t-quick) var(--ease-out), background-color var(--t-quick) var(--ease-out), scale var(--t-quick) var(--ease-out);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:active { scale: .96; }
.icon-btn .i { width: 20px; height: 20px; color: var(--brass); }
.menu-toggle { display: none; padding: 0; }
.menu-toggle .i { color: var(--ink); }

@media (max-width: 1240px) {
  .menu-toggle { display: inline-flex; }
  .header-phone span, .stand-btn span { display: none; }
  .header-phone, .stand-btn { padding: 0; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 4px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; animation: drop var(--t-std) var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { width: 100%; min-height: 56px; padding: 0 4px; border-radius: 0; font: 400 1.3125rem/1.2 var(--font-display); }
  .site-nav a:hover { background: transparent; color: var(--brass); }
  .nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.25rem; }
  .nav-cta { grid-template-columns: 1fr; }
}
@keyframes drop { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Accroche ---------- */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 1.6rem + 5vw, 5.75rem); font-weight: 400; line-height: .96; letter-spacing: -.03em; }
.hero .lead { margin-top: 1.4rem; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-call { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 8px; }
.hero-call small { font-size: .8125rem; font-weight: 500; opacity: .8; }
.hero-call b { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
  border-radius: var(--r-l);
  outline: 1px solid oklch(1 0 0 / .1); outline-offset: -1px;
  background: var(--surface);
}
.photo-note { margin-top: 10px; font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } }

/* ---------- Les 4 promesses ---------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises li { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 26px 22px; }
.promises li + li { border-left: 1px solid var(--line); }
.promises .i { grid-row: span 2; width: 28px; height: 28px; color: var(--brass); margin-top: 2px; }
.promises strong { font: 500 1.25rem/1.25 var(--font-display); }
.promises span { font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 960px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .promises li:nth-child(3) { border-left: 0; }
  .promises li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .promises { grid-template-columns: 1fr; }
  .promises li + li { border-left: 0; border-top: 1px solid var(--line); }
  .promises li { padding: 18px 4px; }
}

/* ---------- La semaine des marchés (coutil) ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.day {
  display: flex; flex-direction: column; gap: 6px; min-height: 196px;
  padding: 16px 14px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
}
.day-name { font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.day-market { font: 500 1.25rem/1.2 var(--font-display); }
.day-town { font-size: .9375rem; color: var(--ink-2); }
.day-hours { margin-top: auto; font-size: .8125rem; }
.day .more { min-height: 48px; font-size: .9375rem; }
.day--off { background: transparent; border-style: dashed; }
.day--off .day-market { color: var(--ink-2); font-size: 1.0625rem; }
.day.is-today { background: var(--night); border-color: var(--night); color: var(--on-night); }
.day.is-today .day-name, .day.is-today .day-town { color: var(--on-night-2); }
.day.is-today .more { color: var(--on-night); text-decoration-color: var(--brass-2); }
.day-flag { display: none; align-self: flex-start; padding: 2px 8px; border-radius: var(--r-xs); background: var(--brass-2); color: var(--c-night-900); font-size: .75rem; font-weight: 700; }
.day.is-today .day-flag { display: inline-block; }
.day.is-next:not(.is-today) { border-color: var(--night); box-shadow: inset 0 0 0 1px var(--night); }
.week-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 22px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 1000px) {
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { min-height: 0; }
  .day.is-today { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 460px) { .week { grid-template-columns: 1fr; } }

/* ---------- Configurateur « Trouver mon matelas » (coutil) ---------- */
.finder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.finder-intro .lead { margin-top: 1rem; }
.finder-intro .ticking { margin-top: 28px; max-width: 220px; }
.finder-box { padding: clamp(20px, 3.5vw, 40px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.finder-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.finder-bar { flex: 1; max-width: 220px; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.finder-bar span { display: block; height: 100%; width: 25%; background: var(--night); transition: width var(--t-std) var(--ease-out); }
.q-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.q-step[hidden] { display: none; }
.q-step legend { padding: 0; margin-bottom: 18px; font: 450 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--font-display); }
html.motion .q-step:not([hidden]) { animation: stepIn var(--t-std) var(--ease-out); }
@keyframes stepIn { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.q-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.q-opt { position: relative; }
.q-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-opt label {
  display: flex; align-items: center; gap: 14px;
  min-height: 72px; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-m);
  background: #fff; cursor: pointer;
  transition: border-color var(--t-quick) var(--ease-out), background-color var(--t-quick) var(--ease-out), scale var(--t-quick) var(--ease-out);
}
.q-opt label:active { scale: .98; }
.q-opt label:hover { border-color: var(--ink-2); }
.q-opt svg { width: 40px; height: 40px; flex: none; color: var(--night); }
.q-opt b { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.q-opt small { display: block; margin-top: 2px; font-size: .875rem; color: var(--ink-2); }
.q-opt input:checked + label { border-color: var(--night); background: var(--night); color: var(--on-night); }
.q-opt input:checked + label small { color: var(--on-night-2); }
.q-opt input:checked + label svg { color: var(--brass-2); }
.q-opt input:focus-visible + label { outline: 2.5px solid var(--c-brass-700); outline-offset: 3px; }
.finder-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.finder-nav .btn[hidden] { display: none; }
@media (max-width: 960px) { .finder { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .q-options { grid-template-columns: 1fr; } .q-opt label { min-height: 64px; } }

.result[hidden] { display: none; }
html.motion .result:not([hidden]) { animation: stepIn var(--t-slow) var(--ease-out); }
.result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: .9375rem; font-weight: 600; color: var(--brass); }
.result h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); }
.result-why { margin-top: 10px; color: var(--ink-2); max-width: 56ch; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.result-grid div { padding: 14px 16px; border-radius: var(--r-m); background: var(--bg); border: 1px solid var(--line); }
.result-grid dt { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.result-grid dd { margin: 4px 0 0; font: 500 1.1875rem/1.25 var(--font-display); }
.firm-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 8px; }
.firm-meter span { height: 6px; border-radius: 2px; background: var(--line); }
.firm-meter span.on { background: var(--night); }
.result-note { margin-top: 16px; font-size: .9375rem; color: var(--ink-2); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 640px) { .result-grid { grid-template-columns: 1fr; } .result-actions .btn { width: 100%; } }

/* ---------- Matelas & sommiers (aperçu) ---------- */
.range { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.range + .range { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.range--rev > figure { order: 2; }
.range figure { margin: 0; }
.range img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); outline: 1px solid oklch(1 0 0 / .1); outline-offset: -1px; background: var(--surface); }
.range h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.range > div > p { margin-top: 12px; color: var(--ink-2); max-width: 54ch; }
.range-list { margin: 22px 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.range-list li { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.range-list b { font: 500 1.125rem/1.3 var(--font-display); }
.range-list span { color: var(--ink-2); font-size: .9375rem; }
.tip-line { display: flex; gap: 12px; margin-top: clamp(36px, 5vw, 56px); padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-s); color: var(--ink-2); }
.tip-line strong { color: var(--ink); }
@media (max-width: 900px) { .range { grid-template-columns: 1fr; } .range--rev > figure { order: 0; } }
@media (max-width: 520px) { .range-list li { grid-template-columns: 1fr; } }

/* ---------- Livraison (ajouts à la carte) ---------- */
.free-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: var(--r-xs); background: var(--night); color: var(--on-night); font-weight: 700; font-size: .9375rem; }
.free-tag .i { width: 18px; height: 18px; color: var(--brass-2); }
.idf-market circle { fill: #2F8F5B; stroke: #fff; stroke-width: 1.5; }
.idf-market text { font: 600 10.5px var(--font-body); fill: var(--ink); }
.map-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #2F8F5B; }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step { padding: 26px 22px 6px 0; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step-num { display: block; font: 400 2.5rem/1 var(--font-display); color: var(--brass); font-variant-numeric: lining-nums; }
.step h3 { margin: 14px 0 8px; font-size: 1.375rem; }
.step p { color: var(--ink-2); font-size: .96875rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0 18px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 14px 0;
  font: 450 1.25rem/1.3 var(--font-display);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { width: 22px; height: 22px; color: var(--brass); transition: rotate var(--t-std) var(--ease-out); }
.faq-item[open] summary .i { rotate: 45deg; }
.faq-item .answer { padding: 0 0 22px; max-width: 64ch; color: var(--ink-2); }
.faq-item .answer p + p { margin-top: .7em; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Devis (coutil) ---------- */
.devis-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.prefill-note { display: flex; gap: 10px; margin-bottom: 22px; padding: 12px 14px; border-radius: var(--r-s); background: rgb(47 143 91 / .1); border: 1px solid rgb(47 143 91 / .4); font-size: .9375rem; }
.prefill-note[hidden] { display: none; }
.prefill-note .i { color: #2F8F5B; margin-top: 2px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status:empty { display: none; }
.big-phone { display: block; margin: 6px 0 4px; font: 400 clamp(2rem, 1.5rem + 1.6vw, 2.75rem)/1.05 var(--font-display); color: var(--on-night); text-decoration: none; font-variant-numeric: tabular-nums; }
.big-phone:hover { color: var(--brass-2); }
@media (max-width: 960px) { .devis-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { padding: clamp(48px, 6vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand p { margin-top: 14px; max-width: 34ch; color: var(--ink-2); font-size: .9375rem; }
.footer-title { margin-bottom: 12px; font-size: .9375rem; font-weight: 700; }
.footer-list { display: grid; gap: 4px; padding: 0; list-style: none; font-size: .9375rem; color: var(--ink-2); }
.footer-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-list button { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.footer-bottom a { color: inherit; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(14 22 38 / .96); border-top: 1px solid var(--line);
    transition: translate var(--t-std) var(--ease-out);
  }
  .mobile-bar .btn { min-height: 52px; padding: 0 .8em; }
  .mobile-bar.is-hidden { translate: 0 110%; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Mode stand : QR code plein écran ---------- */
.stand {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0;
  padding: clamp(20px, 4vw, 48px); border: 0;
  background: #fff; color: #0E1626;
  overscroll-behavior: contain;
}
.stand::backdrop { background: rgb(14 22 38 / .85); overflow: hidden; overscroll-behavior: contain; }
.stand[open] { display: grid; place-items: center; }
html.motion .stand[open] { animation: standIn var(--t-std) var(--ease-out); }
@keyframes standIn { from { opacity: 0; scale: .98; } to { opacity: 1; scale: 1; } }
.stand-inner { display: grid; justify-items: center; gap: clamp(12px, 2.4vh, 24px); width: 100%; max-width: 720px; text-align: center; }
.stand-close {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px;
  border: 1.5px solid #0E1626; border-radius: var(--r-s); background: #fff; color: #0E1626;
  font-weight: 600; cursor: pointer;
}
.stand-close .i { width: 20px; height: 20px; }
.stand-brand { display: flex; align-items: center; gap: 12px; font: 500 1.5rem/1 var(--font-display); }
.stand-brand svg { width: 44px; height: 44px; color: var(--c-brass-300); stroke: #0E1626; }
.stand-qr { width: min(72vw, 46vh, 420px); aspect-ratio: 1; padding: 10px; border: 2px solid #0E1626; border-radius: var(--r-m); }
.stand-qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.stand-hint { font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem); font-weight: 600; }
.stand-phone { font: 500 clamp(2.4rem, 1.4rem + 5vw, 4.5rem)/1 var(--font-display); color: #0E1626; text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stand-meta { font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); color: #444C5E; }
.stand-meta strong { color: #0E1626; }

/* ---------- Pages intérieures (contexte sombre) ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero-media img { outline: 1px solid oklch(1 0 0 / .1); outline-offset: -1px; box-shadow: none; }
.anchor-nav a { border-width: 1px; }
.center-page .btn { margin-top: 28px; }

/* ---------- Micro-interactions des icônes (sèches, sans rebond) ---------- */
/* Icônes animées (principe lucide-animated, en CSS) : le trait se dessine, une seule fois,
   en 300 ms ease-out ; sans boucle ni rebond. Le tracé passe par <use> grâce à l'héritage de stroke-dash*. */
@keyframes icon-draw { from { stroke-dasharray: 90; stroke-dashoffset: 90; } to { stroke-dasharray: 90; stroke-dashoffset: 0; } }
@keyframes icon-nudge { 0% { rotate: 0deg; } 40% { rotate: -10deg; } 100% { rotate: 0deg; } }
.btn .i, .icon-btn .i, .today-links .i, .more .i { transition: translate var(--t-quick) var(--ease-out); }
.btn:hover > .i:last-child, .more:hover .i { translate: 3px 0; }
html.motion a[href^="tel:"]:hover .i, html.motion a[href^="tel:"]:focus-visible .i { animation: icon-nudge .3s var(--ease-out); }
html.motion .today-links a:hover .i, html.motion .day .more:hover::after,
html.motion a[href*="google.com/maps"]:hover .i { animation: icon-draw .3s var(--ease-out); }
html.motion .stand-btn:hover .i, html.motion .stand-btn:focus-visible .i { animation: icon-draw .3s var(--ease-out); }
/* Les 4 promesses : les icônes se tracent quand la ligne entre à l'écran, puis au survol */
html.motion .promises.is-visible .i { animation: icon-draw .35s var(--ease-out) backwards; }
html.motion .promises.is-visible li:nth-child(2) .i { animation-delay: .06s; }
html.motion .promises.is-visible li:nth-child(3) .i { animation-delay: .12s; }
html.motion .promises.is-visible li:nth-child(4) .i { animation-delay: .18s; }
html.motion .promises li:hover .i { animation: icon-draw .3s var(--ease-out); }
/* Configurateur : coche nette, l'icône de la réponse choisie se trace */
html.motion .q-opt input:checked + label svg { animation: icon-draw .3s var(--ease-out); }
.faq-call { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .btn:active, .icon-btn:active, .q-opt label:active { scale: 1; } }
.site-nav a, .brand-text, .icon-btn, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1560px) { .stand-btn span { display: none; } .stand-btn { padding: 0; } }
.paper + .paper { border-top: 1px solid var(--line); }
.eyebrow { margin-bottom: .8rem; font-size: .9375rem; font-weight: 600; color: var(--brass); }
.hero-kicker { display: block; margin-bottom: 1.1rem; font: 600 .9375rem/1.3 var(--font-body); letter-spacing: 0; color: var(--brass); }
.site-nav .nav-cta .btn-primary { color: var(--on-night); }
.site-nav .nav-cta .btn-outline { color: var(--ink); }
mark.todo, .todo { font-size: max(.8125rem, .875em); }
.photo-note { font-size: .875rem; }
.result-actions .btn, .hero-actions .btn, .nav-cta .btn { white-space: normal; text-align: center; }
.center-page .hero-actions, .center-page .center-actions { justify-content: center; }
.section--flush { padding-top: clamp(40px, 5vw, 64px); border-top: 0; }

/* ---------- Accroche plein cadre (inspiration Tréca / Savoir / Duxiana) ---------- */
/* Seulement à partir de 901 px : sur téléphone, l'accroche reste en pile (boutons visibles tout de suite au stand) */
@media (min-width: 901px) {
.hero--photo { position: relative; padding: 0; }
.hero--photo .hero-grid { position: relative; display: block; min-height: min(86svh, 820px); padding-block: clamp(120px, 18vh, 200px) clamp(40px, 6vh, 72px); }
.hero--photo .hero-media { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; z-index: 0; margin: 0; }
.hero--photo .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; outline: 0; object-fit: cover; object-position: 60% 60%; }
/* Assombrissement linéaire (pas de halo) pour lire le texte sur la photo claire */
.hero--photo .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(14 22 38 / .92) 0%, rgb(14 22 38 / .78) 38%, rgb(14 22 38 / .25) 75%, rgb(14 22 38 / .1) 100%), linear-gradient(0deg, rgb(14 22 38 / .9) 0%, transparent 35%); }
.hero--photo .hero-media .photo-note { position: absolute; right: var(--gutter); bottom: 16px; z-index: 1; margin: 0; color: var(--ink-2); }
.hero--photo .hero-text { position: relative; z-index: 1; max-width: 640px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }

.hero--photo > .container:last-child { padding-bottom: clamp(40px, 5vw, 72px); }
}
/* Mode stand : le bouton Fermer ne recouvre plus le nom sur téléphone */
@media (max-width: 760px) { .stand-inner { padding-top: 56px; } .stand-close { top: 12px; right: 12px; } }
