/* Preventex — fond minéral, encre marine et le jaune du logo Preventex,
   Archivo condensé en capitales. Objets du sujet : la bande rétroréfléchissante segmentée
   et l'étiquette de marquage cousue dans chaque vêtement. Les photos restent sur fond blanc.
   --accent : le jaune en aplat (boutons, barres, repères), toujours avec du texte marine dessus.
   --accent-ink : l'accent en couleur de texte, or foncé sur fond clair pour rester lisible. */
:root {
  --bg: #EDEFEA; --surface: #F7F8F4; --raised: #FFFFFF; --fg: #14213A; --muted: #566275; --line: rgba(20, 33, 58, .14);
  --accent: #FBD933; --on-accent: #14213A; --accent-ink: #7A5C00; --danger: #B3261E; --navy: #14213A; --on-navy: #FFFFFF;
  --rot-ink: #14213A; --rot-hl: #FBD933; /* mot qui tourne en titre : encre marine surlignée de jaune en clair */
  --hv: #FBD933; --refl: #B8BEC7; --photo: #FFFFFF; --vitrine: #F4F5F1;
  --label: #FBFBF8; --label-ink: #14213A; --stitch: rgba(20, 33, 58, .28);
  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --radius: 14px;
  --bar-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-move: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1828; --surface: #142136; --raised: #1B2B44; --fg: #ECEEE8; --muted: #98A4B7; --line: rgba(236, 238, 232, .13);
    --accent: #FBD933; --on-accent: #14213A; --accent-ink: #FBD933; --danger: #FF8A75; --navy: #ECEEE8; --on-navy: #0E1828;
    --rot-ink: #FBD933; --rot-hl: transparent;
    --vitrine: #E9ECE6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1828; --surface: #142136; --raised: #1B2B44; --fg: #ECEEE8; --muted: #98A4B7; --line: rgba(236, 238, 232, .13);
  --accent: #FBD933; --on-accent: #14213A; --accent-ink: #FBD933; --danger: #FF8A75; --navy: #ECEEE8; --on-navy: #0E1828;
  --rot-ink: #FBD933; --rot-hl: transparent;
  --vitrine: #E9ECE6;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--bar-h) + 16px); }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* champ piège anti-robots */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 8px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nw { white-space: nowrap; }

/* Bande rétroréfléchissante segmentée : jaune fluo et gris réfléchissant */
.hv-stripe { height: 10px; background: repeating-linear-gradient(90deg, var(--hv) 0 26px, var(--refl) 26px 34px); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--f-body); padding: 13px 18px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: var(--raised); color: var(--fg); white-space: nowrap;
  transition: transform 160ms var(--ease-out), border-color 200ms, filter 200ms; }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.navy { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 9px 13px; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--accent-ink); }

/* ---------- Barre ---------- */
.bar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--bar-h); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; background: #14213A; color: #FFFFFF; border-radius: 7px; overflow: hidden; line-height: 1; }
.logo span { padding: 7px 14px 5px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--f-display); text-transform: uppercase; }
.logo small { font-size: .5rem; font-weight: 600; letter-spacing: .16em; }
.logo b { font-weight: 800; font-stretch: 72%; font-size: 1.3rem; letter-spacing: .03em; }
.logo i { display: block; height: 6px; background: repeating-linear-gradient(90deg, var(--hv) 0 14px, var(--refl) 14px 18px); }
.bar-links { display: flex; gap: 6px 16px; align-items: center; }
.bar-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 200ms; }
.bar-links a:not(.btn):hover, .bar-links a[aria-current="page"] { color: var(--fg); }
.bar-links a[aria-current="page"] { border-color: var(--accent); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(255,255,255,.22); font-size: .78rem; font-variant-numeric: tabular-nums; }
.count.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 35% { transform: scale(1.4); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 110px) 0; }
.section-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 4vw, 48px); align-items: center; margin-bottom: 28px; }
.section-head h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: .92; }
.section-head p { color: var(--muted); max-width: 62ch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }

/* ---------- Accueil : accroche ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .92; letter-spacing: -.005em; margin-block: 14px 22px; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
/* Le risque qui tourne : tous les mots sont superposés dans la même case, la hauteur ne bouge pas */
.rot { display: grid; justify-items: start; color: var(--rot-ink); font-size: .84em; margin-top: .06em; }
.rot > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(.45em); filter: blur(4px);
  padding-inline: .06em; background: linear-gradient(transparent 60%, var(--rot-hl) 60% 92%, transparent 92%);
  transition: opacity 380ms ease, transform 560ms var(--ease-out), filter 380ms ease; }
.rot > span.on { opacity: 1; transform: none; filter: none; }
.hero-copy .facts { margin-top: 32px; max-width: 520px; }

/* Anatomie de la protection : la combinaison et ses repères de normes */
.hero-visual { position: relative; margin: 0; display: grid; place-items: center; min-height: clamp(460px, 46vw, 620px); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(ellipse 65% 55% at 50% 48%, #FFFFFF 0%, #F2F4EF 100%); }
.hero-visual::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20, 33, 58, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 33, 58, .06) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 100%); }
.hero-visual > .hv-stripe { position: absolute; top: 0; left: 0; right: 0; }
.hv-tag { position: absolute; top: 24px; left: 22px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #566275; }
.hv-link { position: absolute; bottom: 20px; right: 22px; font-weight: 600; font-size: .9rem; color: #14213A; text-decoration: none; }
.hv-link span { display: inline-block; transition: transform 240ms var(--ease-out); }
.hv-link:hover span { transform: translateX(4px); }
/* Décalée par une marge (pas de transform : il isolerait le fondu « multiply » et ferait réapparaître le fond blanc de la photo) */
.hv-fig { position: relative; height: clamp(360px, 34vw, 500px); aspect-ratio: 427 / 1000; margin-right: 28px; }
.hv-fig img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hs { position: absolute; top: var(--y); height: 0; display: flex; align-items: center; padding: 0; border: 0; background: none; cursor: pointer; color: #14213A; }
.hs-r { left: var(--x); right: -16px; }
.hs-l { right: calc(100% - var(--x)); left: -16px; flex-direction: row-reverse; }
.hs-dot { position: relative; flex: none; width: 14px; height: 14px; margin: 0 -7px; border-radius: 50%; background: #14213A; box-shadow: 0 0 0 3px #FFFFFF; z-index: 1; transition: background-color 250ms; }
.hs-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.hs-line { flex: 1; height: 1.5px; background: currentColor; opacity: .55; }
.hs-r .hs-line { transform-origin: left; } .hs-l .hs-line { transform-origin: right; }
.hs-label { position: absolute; display: grid; gap: 1px; padding: 7px 11px; border-radius: 8px; white-space: nowrap; text-align: left;
  background: #14213A; color: #FFFFFF; box-shadow: 0 10px 24px -14px rgba(20, 33, 58, .7); transition: background-color 250ms, transform 250ms var(--ease-out); }
.hs-r .hs-label { left: 100%; } .hs-l .hs-label { right: 100%; }
.hs-label b { font-weight: 600; font-size: .86rem; line-height: 1.2; }
.hs-label small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .04em; opacity: .75; }
.hs.on .hs-dot { background: var(--accent); }
.hs.on .hs-label { background: var(--accent); color: var(--on-accent); }
.hs.on .hs-line { opacity: 1; }
.hero-cap { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hv-fig img { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity 800ms ease, transform 1000ms var(--ease-out); }
  .hs-dot { transform: scale(0); transition: transform 420ms cubic-bezier(.34, 1.56, .64, 1), background-color 250ms; transition-delay: calc(700ms + var(--i) * 220ms), 0ms; }
  .hs-line { transform: scaleX(0); transition: transform 520ms var(--ease-out); transition-delay: calc(820ms + var(--i) * 220ms); }
  .hs-label { opacity: 0; transition: opacity 400ms ease, background-color 250ms, transform 250ms var(--ease-out); transition-delay: calc(1100ms + var(--i) * 220ms), 0ms, 0ms; }
  .is-in .hv-fig img { opacity: 1; transform: none; }
  .is-in .hs-dot { transform: none; }
  .is-in .hs-line { transform: none; }
  .is-in .hs-label { opacity: 1; }
  .hs.on .hs-dot::after { animation: hs-pulse 1.6s ease-out infinite; }
}
@keyframes hs-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@media (max-width: 1100px) and (min-width: 1024px) { .hs-label small { display: none; } }
@media (max-width: 700px) {
  .hv-fig { height: 400px; margin-right: 0; }
  .hs-line, .hs-label { display: none; }
  .hs-r, .hs-l { left: var(--x); right: auto; }
  .hero-cap { display: grid; position: absolute; bottom: 18px; left: 50%; translate: -50% 0; gap: 1px; padding: 8px 14px; border-radius: 10px; text-align: center; white-space: nowrap;
    background: var(--accent); color: var(--on-accent); font-family: var(--f-mono); font-size: .68rem; }
  .hero-cap b { font-family: var(--f-body); font-size: .9rem; }
  .hv-link { bottom: auto; top: 20px; right: 18px; font-size: .82rem; }
  .hv-tag { display: none; }
}
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 56ch; }
.lead strong { color: var(--fg); font-weight: 600; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; overflow: hidden; }
.facts div { padding: 16px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Accueil : produit vedette, présenté comme une fiche technique ----------
   Plaque blanche quadrillée à gauche (le vêtement à plat, repères dans les coins),
   fiche à droite (chiffres clés, normes, actions), rail d'onglets à avance automatique dessous. */
.feature-head { margin-top: clamp(80px, 10vw, 140px); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-main { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.feature-plate { position: relative; margin: 0; display: grid; place-items: center; min-height: clamp(400px, 44vw, 600px); padding: 48px 24px;
  background-color: var(--photo); border-right: 1px solid var(--line);
  background-image: linear-gradient(rgba(20, 33, 58, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 33, 58, .055) 1px, transparent 1px);
  background-size: 28px 28px; background-position: center; }
.feature-plate img { height: clamp(300px, 36vw, 500px); width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fp-c { position: absolute; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #566275; }
.fp-c::before { content: ""; position: absolute; width: 10px; height: 10px; border: 0 solid #14213A; }
.fp-c.tl { top: 18px; left: 22px; } .fp-c.tl::before { left: -10px; top: -8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.fp-c.tr { top: 18px; right: 22px; } .fp-c.tr::before { right: -10px; top: -8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.fp-c.bl { bottom: 18px; left: 22px; } .fp-c.bl::before { left: -10px; bottom: -8px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.fp-c.br { bottom: 18px; right: 22px; } .fp-c.br::before { right: -10px; bottom: -8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.feature-body { padding: clamp(24px, 3.4vw, 48px); display: grid; align-content: center; gap: 16px; min-width: 0; }
.feature-name { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: .92; }
.feature-desc { color: var(--muted); max-width: 46ch; }
.feature-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0 0; border-block: 1px solid var(--line); }
.feature-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 14px 0; min-width: 0; }
.feature-stats div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.feature-stats dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feature-stats dd small { font-family: var(--f-body); font-weight: 600; font-size: .85rem; margin-left: 4px; color: var(--muted); }
.feature-stats dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.feature-norms li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.feature-norms li svg { grid-row: span 2; width: 22px; height: 22px; color: var(--fg); }
.fn-name { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.feature-norms code { grid-column: 2; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.fn-level { grid-column: 3; grid-row: 1 / span 2; font-family: var(--f-mono); font-size: .74rem; text-align: right; max-width: 18ch; }
.feature-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.feature-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fr-tab { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; min-width: 0;
  padding: 16px 16px 15px; background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; color: var(--muted); transition: background-color 200ms, color 200ms; }
.fr-tab:first-child { border-left: 0; }
.fr-tab:hover, .fr-tab[aria-selected="true"] { background: var(--raised); color: var(--fg); }
.fr-tab img { width: 42px; height: 50px; object-fit: contain; background: var(--photo); border-radius: 6px; }
.fr-txt { display: grid; gap: 3px; min-width: 0; }
.fr-txt b { font-weight: 600; font-size: .84rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fr-txt small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .03em; color: var(--muted); }
.fr-bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; }
.fr-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.fr-tab[aria-selected="true"] .fr-bar i { transform: scaleX(1); }
.fr-tab.run .fr-bar i { animation: fr-fill 6500ms linear forwards; }
@keyframes fr-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1023px) {
  .feature-main { grid-template-columns: minmax(0, 1fr); }
  .feature-plate { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 52px 20px 44px; }
  .feature-plate img { height: min(62vw, 420px); }
  .feature-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .feature-rail::-webkit-scrollbar { display: none; }
}
@media (max-width: 600px) {
  .feature-stats div + div { padding-left: 10px; }
  .feature-ctas .btn { flex: 1 1 auto; }
}

/* Étiquette de marquage cousue */
.etiquette {
  position: relative; background: var(--label); color: var(--label-ink);
  border-radius: 6px; padding: 14px 20px 14px 28px;
  box-shadow: 0 10px 28px -16px rgba(20, 33, 58, .45); /* taste-skill-ignore: étiquette posée sur la vitrine */
  transform: rotate(-1.2deg); width: min(100%, 560px);
}
.etiquette::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed var(--stitch); border-radius: 4px; pointer-events: none; }
.etiquette::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: repeating-linear-gradient(180deg, var(--hv) 0 14px, var(--refl) 14px 18px); border-radius: 6px 0 0 6px; }
.e-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.e-ref { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; color: #566275; }
.etiquette h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1; margin-top: 4px; }
.e-pictos { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.e-pictos svg { width: 30px; height: 30px; }
.e-ce { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; margin-right: 4px; }
.e-norms { margin-top: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .02em; color: #3d4757; line-height: 1.5; }
.etiquette a { color: var(--label-ink); }

/* ---------- Quatre risques (cartes en éventail) ---------- */
.fan-stage { padding-block: clamp(56px, 9vw, 110px) 0; }
.fan-cards { position: relative; width: 1090px; height: 440px; margin-top: 24px; left: 50%; transform: translateX(-50%); }
.fcard:hover img { transform: scale(1.04); }
.fcard img { transition: transform 300ms var(--ease-out); }
.fcard { position: absolute; top: 0; width: 340px; height: 410px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; will-change: transform; }
.fcard .hv-stripe { flex: none; }
.fcard-in { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; max-width: 250px; }
.fcard h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.9rem; line-height: .92; }
.fcard .code { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.fcard img { width: 210px; height: 160px; object-fit: contain; background: var(--photo); border-radius: 10px; }
.fcard p { font-size: .95rem; color: var(--muted); line-height: 1.4; }

/* ---------- Sélecteur de risques ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--fg);
  font: 600 .92rem/1 var(--f-body); cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms, transform 160ms var(--ease-out); }
.chip:hover { border-color: var(--muted); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.chip svg { width: 24px; height: 24px; flex: none; }
.chip.type { padding: 10px 14px; }
.risk-result { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin: 28px 0 16px; }
.risk-result p { font-size: 1.1rem; }
.risk-result strong { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: 1.6rem; text-transform: uppercase; }

/* Rangée glissable */
.row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; cursor: grab; }
.row.dragging { cursor: grabbing; scroll-snap-type: none; }
.row > * { flex: 0 0 clamp(200px, 21vw, 270px); scroll-snap-align: start; }
.row-empty { padding: 32px 0; color: var(--muted); }

/* ---------- Carte produit ---------- */
.spec { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 200ms; }
.spec:hover { border-color: var(--muted); }
.spec-tile { position: relative; aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; }
.spec-tile img { position: absolute; inset: 6% 9%; width: 82%; height: 88%; object-fit: contain; transition: transform 420ms var(--ease-out); }
.spec:hover .spec-tile img, .spec:focus-visible .spec-tile img { transform: scale(1.05); }
.spec-body { padding: 12px 14px 14px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.spec-ref { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--accent-ink); }
.spec-name { font-weight: 600; line-height: 1.25; }
.spec-tag { display: flex; gap: 2px; margin-top: 4px; color: var(--muted); }
.spec-tag svg { width: 22px; height: 22px; }

/* ---------- Toute la gamme : fiches par tissu ---------- */
/* Toute la gamme : une carte par gamme, qui ouvre le catalogue filtré */
.gammes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gamme { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 320ms var(--ease-out), border-color 200ms; }
.gamme:hover, .gamme:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--fg) 40%, transparent); }
.gamme-thumbs { display: flex; justify-content: center; align-items: flex-end; height: 190px; padding: 20px 14px 0; background: var(--photo); border-bottom: 1px solid var(--line); }
.gamme-thumbs img { height: 160px; width: auto; max-width: 42%; object-fit: contain; mix-blend-mode: multiply; transition: transform 420ms var(--ease-out); }
.gamme-thumbs img + img { margin-left: -7%; }
.gamme:hover .gamme-thumbs img:first-child { transform: translateX(-10px) rotate(-3deg); }
.gamme:hover .gamme-thumbs img:last-child:not(:first-child) { transform: translateX(10px) rotate(3deg); }
.gamme-in { flex: 1; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 18px 20px 20px; }
.gamme-count { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.gamme h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; }
.gamme-line { color: var(--muted); font-size: .92rem; }
.gamme-cta { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-weight: 600; }
.gamme-cta span { transition: transform 260ms var(--ease-out); }
.gamme:hover .gamme-cta span { transform: translateX(5px); }
.cat-gamme { display: grid; gap: 4px; margin-top: 14px; max-width: 60ch; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); }
.cat-gamme b { color: var(--fg); font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.2rem; }
@media (max-width: 860px) { .gammes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .gammes { grid-template-columns: minmax(0, 1fr); }
  .gamme-thumbs { height: 160px; }
  .gamme-thumbs img { height: 132px; }
}

/* ---------- Ensembles certifiés ---------- */
.sets-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: clamp(20px, 3vw, 36px); align-items: center; }
.sets-names p { color: var(--muted); margin-top: 8px; max-width: 40ch; }
.sets-names ul { display: grid; gap: 2px; margin-top: 18px; }
.sets-names button { position: relative; background: none; border: 0; padding: 6px 0 10px; text-align: left; cursor: pointer; font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1; color: var(--muted); transition: color 220ms; }
.sets-names button:hover, .sets-names button[aria-pressed="true"] { color: var(--fg); }
/* Sélection : la bande rétroréfléchissante du site glisse sous le nom */
.sets-names button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 5px; border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--hv) 0 14px, var(--refl) 14px 18px);
  transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease-out); }
.sets-names button[aria-pressed="true"]::after { transform: scaleX(1); }
/* Socle : un disque blanc qui découpe son contenu ; les photos (fond blanc) s'y fondent sans déborder */
.sets-stage { position: relative; display: grid; justify-items: center; gap: 18px; }
.disc { position: relative; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--photo); overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12%;
  box-shadow: 0 0 0 1px var(--line), 0 28px 60px -34px rgba(0, 0, 0, .55); /* taste-skill-ignore: socle produit */ }
.disc::before { content: ""; position: absolute; left: 20%; right: 20%; bottom: 9%; height: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 33, 58, .2), transparent); }
.sets-objects { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 78%; height: 74%; }
.sets-objects img { height: 100%; width: auto; max-width: 54%; object-fit: contain; mix-blend-mode: multiply; }
.sets-objects img + img { margin-left: -6%; }
.sets-fact { width: min(440px, 100%); text-decoration: none; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.sets-note { width: min(440px, 100%); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; margin-top: -6px;
  font-size: .82rem; line-height: 1.5; color: var(--muted); }
.sets-note b { color: var(--fg); font-weight: 600; }
.sets-note-i { display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid currentColor;
  font: 600 .7rem/1 var(--f-mono); font-style: normal; }
.sets-fact strong { display: block; font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--accent-ink); }
.sets-fact span { display: block; margin-top: 6px; font-size: .9rem; }

/* ---------- Photo pleine largeur ---------- */
.plate { margin: clamp(56px, 9vw, 110px) auto 0; }
.plate-in { position: relative; border-radius: var(--radius); overflow: hidden; height: min(70svh, 640px); background: #0b0c0d; }
.plate img { width: 100%; height: 118%; object-fit: cover; object-position: center 60%; will-change: transform; }
.plate figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* ---------- Normes : la grande étiquette ---------- */
.norms-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.norms-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.norms-photo img { width: 100%; height: 100%; object-fit: cover; }
.label-big { width: 100%; padding: 24px 26px 22px 38px; transform: rotate(1deg); }
.label-big::after { width: 14px; }
.label-big h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.e-ce-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-family: var(--f-mono); font-size: .72rem; color: #566275; letter-spacing: .04em; }
.label-big ul { margin-top: 14px; }
.label-big li { display: grid; grid-template-columns: 30px minmax(0, 10.5rem) minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 0; border-top: 1px dashed var(--stitch); }
.label-big li svg { width: 28px; height: 28px; }
.label-big li code { font-family: var(--f-mono); font-size: .76rem; }
.label-big li span { font-size: .92rem; }

/* ---------- Questions ---------- */
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 22px; gap: 16px; align-items: center; width: 100%; background: none; border: 0; padding: 18px 0; text-align: left; cursor: pointer; color: var(--fg); }
.qa .tab { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.qa .q { font-weight: 600; font-size: 1.1rem; }
.qa .pm { width: 18px; height: 18px; position: relative; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }
.qa .pm::after { transform: rotate(90deg); transition: transform 300ms var(--ease-out); }
.qa button[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.qa-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-move); }
.qa-body > div { overflow: hidden; min-height: 0; }
.qa-body p { padding: 0 0 20px calc(7rem + 16px); max-width: calc(64ch + 7rem); color: var(--muted); }
.qa.open .qa-body { grid-template-rows: 1fr; }

/* ---------- Coupon ---------- */
.coupon { position: relative; display: grid; grid-template-columns: 46fr 54fr; }
.coupon-l { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.coupon-l h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); line-height: .92; }
.coupon-l p { color: var(--muted); }
.coupon-r { position: relative; padding: clamp(22px, 3vw, 40px); border-left: 2px dashed var(--line); display: grid; gap: 10px; align-content: center; }
.coupon-r::before, .coupon-r::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.coupon-r::before { top: -15px; }
.coupon-r::after { bottom: -15px; }
.coupon-msg { font-size: .9rem; color: var(--muted); }

/* ---------- Champs ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--fg); background: var(--raised); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; min-width: 0; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-ink); outline-offset: 0; border-color: transparent; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-top: 3px; }
.err { color: var(--danger); font-weight: 600; font-size: .92rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.foot { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.foot .hv-stripe { height: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; padding-block: 36px 24px; }
.foot-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.foot-links li + li { margin-top: 8px; }
.foot-links a, .foot-contact a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.foot-links a:hover, .foot-contact a:hover { color: var(--fg); }
.foot-contact p + p { margin-top: 10px; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

/* ---------- Catalogue ---------- */
.cat-head { padding-block: clamp(28px, 5vw, 56px) 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 4vw, 48px); align-items: end; }
.cat-head h1 { font-family: var(--f-display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .9; }
.cat-head p { color: var(--muted); max-width: 60ch; }
.filters { position: sticky; top: var(--bar-h); z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); padding-block: 16px 12px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.filters-in { display: grid; gap: 10px; }
.filters-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filters-row::-webkit-scrollbar { display: none; }
.filters .chip { flex: none; }
.filters-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.filters-meta button { background: none; border: 0; cursor: pointer; color: var(--fg); font: 600 .9rem var(--f-body); text-transform: none; letter-spacing: 0; text-decoration: underline; text-decoration-color: var(--accent-ink); text-underline-offset: 4px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); grid-auto-flow: dense; padding-block: 24px 0; }
.grid .spec.big { grid-column: span 2; grid-row: span 2; }
.grid .spec.big .spec-tile { flex: 1; aspect-ratio: auto; min-height: 300px; }
.grid .spec.big .spec-name { font-size: 1.15rem; }
.grid-empty { grid-column: 1 / -1; padding: 48px 0; display: grid; gap: 16px; justify-items: start; }
.grid-empty p { font-size: 1.1rem; max-width: 44ch; }

/* ---------- Fiche produit ---------- */
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(24px, 3vw, 40px) 0; align-items: start; }
.pp-media { position: sticky; top: calc(var(--bar-h) + 16px); }
.pp-tile { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--bar-h) - 48px); width: 100%; background: var(--photo); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.pp-tile img { width: 82%; height: 88%; object-fit: contain; view-transition-name: prod-img; }
.pp-crumbs { display: flex; gap: 8px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pp-crumbs a { text-decoration: none; }
.pp-crumbs a:hover { color: var(--fg); }
.pp h1 { margin-top: 14px; font-family: var(--f-display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: .92; }
.pp-ref { margin-top: 12px; font-family: var(--f-mono); font-size: .9rem; color: var(--accent-ink); letter-spacing: .04em; }
.pp-desc { margin-top: 14px; font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.pp h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin: 40px 0 14px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-content: start; }
.badge svg { width: 40px; height: 40px; grid-row: 1 / span 4; color: var(--fg); }
.badge > p { grid-column: 2; }
.badge .b-name { font-weight: 600; line-height: 1.2; }
.badge .b-code { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .03em; color: var(--muted); }
.badge .b-level { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.badge .b-level span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .04em; border: 1px solid var(--accent-ink); color: var(--accent-ink); border-radius: 999px; padding: 2px 8px; }
.badge.cat { background: var(--navy); color: var(--on-navy); border-color: var(--navy); grid-template-columns: minmax(0, 1fr); }
.badge.cat > p { grid-column: 1; }
.badge.cat .b-name { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.badge.cat .b-code { color: inherit; opacity: .75; }
.badge-note { margin-top: 10px; color: var(--muted); font-size: .85rem; }
/* Sous le haut de fiche : détails, caractéristiques et documentation sur toute la largeur */
.pp-more { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, .95fr); gap: clamp(24px, 3.5vw, 56px); align-items: start;
  margin-top: clamp(44px, 5vw, 72px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.pp-more h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin: 0 0 14px; }
.pp-more .ft { margin-top: 0; }
.pp-more .pp-prot { grid-column: 1 / -1; }
/* Résumé des normes sous la description, en haut de fiche */
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pp-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .02em; background: var(--surface); }
.pp-chips li svg { width: 18px; height: 18px; flex: none; }
.pp-chips .pp-chip-cat { padding-left: 10px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (max-width: 1023px) {
  .pp-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-more .pp-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) { .pp-more { grid-template-columns: minmax(0, 1fr); } }
.specs { display: grid; grid-template-columns: 9rem minmax(0, 1fr); margin: 0; }
.specs dt, .specs dd { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.specs dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 13px; }
.feat li { padding: 8px 0 8px 24px; position: relative; border-top: 1px solid var(--line); }
.feat li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 14px; height: 6px; background: repeating-linear-gradient(90deg, var(--hv) 0 5px, var(--refl) 5px 7px); border-radius: 1px; }
.order { margin-top: 40px; padding: clamp(18px, 3vw, 28px); }
.order h2 { margin-top: 0; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.size { background: var(--raised); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 6px; }
.size label { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; }
.stepper { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; }
.stepper button { height: 32px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 50%; cursor: pointer; font-size: 1.05rem; font-weight: 600; line-height: 1; transition: border-color 160ms, transform 120ms; }
.stepper button:hover { border-color: var(--muted); }
.stepper button:active { transform: scale(.9); }
.stepper input { height: 32px; text-align: center; border: 0; background: transparent; padding: 0; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.order-foot p { color: var(--muted); font-size: .92rem; max-width: 40ch; }

/* ---------- Devis ---------- */
.dv { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(28px, 5vw, 56px) 0; align-items: start; }
.dv h1 { font-family: var(--f-display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .9; }
.dv-lead { margin-top: 16px; color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.lines { margin-top: 28px; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; padding: 14px; align-items: start; }
.line-img { width: 92px; aspect-ratio: 4 / 5; background: var(--photo); border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.line-img img { width: 84%; height: 88%; object-fit: contain; }
.line h3 { font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.line h3 a { text-decoration: none; }
.line h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent-ink); }
.line .ref { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); margin-top: 4px; }
.line .sizes { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
.line-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; font-weight: 600; font-size: .9rem; }
.line-x:hover { color: var(--accent-ink); }
.dv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.dv-total span:last-child { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.dv-empty { margin-top: 28px; padding: 28px; display: grid; gap: 16px; justify-items: start; }
.dv-empty p { color: var(--muted); max-width: 44ch; }
.form { position: sticky; top: calc(var(--bar-h) + 16px); overflow: hidden; }
.form-in { padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.form h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.form-done { display: grid; gap: 14px; justify-items: start; }
.form-done svg { width: 56px; height: 56px; color: var(--accent-ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 60; translate: -50% 0; display: flex; gap: 14px; align-items: center;
  background: #14213A; color: #FFFFFF; padding: 10px 10px 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; max-width: calc(100vw - 32px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); /* taste-skill-ignore: notification flottante */ }
.toast a { background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.toast.in { animation: toast-in 280ms var(--ease-out); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Transitions de page ---------- */
::view-transition-old(root) { animation: vt-out 200ms cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 340ms var(--ease-out) both; }
::view-transition-group(prod-img) { animation-duration: 420ms; animation-timing-function: var(--ease-out); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bar-links a:not(.btn) { display: none; }
}
@media (max-width: 1023px) {
  .fan-wrap { height: auto; }
  .fan-stage { position: static; height: auto; overflow: visible; padding-block: clamp(56px, 9vw, 110px) 0; display: block; }
  .fan-cards { left: auto; transform: none; width: auto; height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .fcard { position: relative; left: auto !important; flex: 0 0 min(82vw, 330px); scroll-snap-align: start; transform: none !important; }
}
@media (max-width: 860px) {
  .hero-grid, .norms-grid, .sets-card, .pp, .dv, .coupon { grid-template-columns: minmax(0, 1fr); }
  .section-head, .cat-head { grid-template-columns: minmax(0, 1fr); }
  .disc { width: min(80vw, 440px); }
  .sets-names ul { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .sets-names button { white-space: nowrap; font-size: 1.4rem; }
  .norms-photo { aspect-ratio: 16 / 10; }
  .etiquette { transform: rotate(-.6deg); }
  .label-big { transform: none; }
  .coupon-r { border-left: 0; border-top: 2px dashed var(--line); }
  .coupon-r::before { left: -15px; top: -15px; }
  .coupon-r::after { left: auto; right: -15px; bottom: auto; top: -15px; }
  .pp-media, .form { position: static; }
  .pp-tile { max-height: 66svh; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .grid .spec.big { grid-row: auto; }
  .qa button { grid-template-columns: minmax(0, 1fr) 22px; gap: 6px 16px; }
  .qa .tab { grid-column: 1 / -1; }
  .qa-body p { padding-left: 0; }
}
@media (max-width: 600px) {
  .facts dd { font-size: 1.5rem; }
  .facts div { padding: 12px 10px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid .spec.big { grid-column: span 2; }
  .spec-name { font-size: .92rem; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .line { grid-template-columns: 72px minmax(0, 1fr); }
  .line-img { width: 72px; }
  .line-x { grid-column: 2; justify-self: start; padding: 0; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs dd { border-top: 0; padding-top: 0; }
  .label-big li { grid-template-columns: 28px minmax(0, 1fr); }
  .label-big li span { grid-column: 2; }
  .ctas .btn { flex: 1; }
}

/* ---------- Mouvement réduit : par paliers ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .spec, .spec-tile img, .r img, .btn, .chip, .qa .pm::after, .stepper button { transition-property: opacity, background-color, color, border-color !important; transition-duration: 150ms !important; }
  .spec:hover .spec-tile img, .r:hover img { transform: none; }
  .qa-body { transition-duration: 0.01ms; }
  .fan-wrap { height: auto; }
  .fan-stage { position: static; height: auto; overflow: visible; padding-block: clamp(56px, 9vw, 110px) 0; }
  .fan-cards { margin-top: 24px; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: vt-fade 150ms ease both !important; }
  ::view-transition-group(prod-img) { animation-duration: 0.01ms !important; }
}
@keyframes vt-fade { from { opacity: 0; } }
.h-display { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: .92; }

/* ---------- Fiches techniques ---------- */
.ico { width: 18px; height: 18px; flex: none; }
.btn.acct.on { border-color: var(--fg); }

/* ---------- Logo Preventex (vectoriel, posé sur le fond du site, animé à l'arrivée et au survol) ----------
   Sombre : tout en jaune, comme le logo d'origine. Clair : lettres à l'encre marine, cadre jaune. */
:root { --logo-ink: #14213A; --logo-frame: #F5C800; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo-ink: #FBD933; --logo-frame: #FBD933; } }
:root[data-theme="dark"] { --logo-ink: #FBD933; --logo-frame: #FBD933; }
.logo { flex: none; background: none; border-radius: 10px; overflow: visible; }
.logo-svg { display: block; height: 46px; width: auto; overflow: visible; }
.lg-frame { fill: none; stroke: var(--logo-frame); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
/* Le contour des lettres prend la couleur du fond : il découpe le cadre là où le X le croise */
.lg-word { font-family: var(--f-display); font-weight: 900; font-stretch: 100%; font-size: 64px; fill: var(--logo-ink); stroke: var(--bg); stroke-width: 9; paint-order: stroke; stroke-linejoin: round; }
.lg-sub { font-family: var(--f-display); font-weight: 800; font-stretch: 90%; font-size: 19px; fill: var(--logo-ink); }
.lg-shine { transform: translateX(-140px); }
.lg-word-g, .lg-sub { transform-box: fill-box; }
/* Pied de page : le logo, sans slogan, occupe toute la largeur de la page */
.foot-mark { padding: clamp(32px, 5vw, 64px) max(16px, 2.5vw) 0; }
.foot-logo { display: block; width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .lg-anim .lg-frame { stroke-dashoffset: 1; }
  .lg-anim .lg-word-g { opacity: 0; transform: translateX(-26px); }
  .lg-anim .lg-sub { opacity: 0; transform: translateY(8px); }
  .lg-anim.is-in .lg-frame { animation: lg-draw 950ms var(--ease-out) 150ms forwards; }
  .lg-anim.is-in .lg-word-g { animation: lg-in 650ms var(--ease-out) 420ms forwards; }
  .lg-anim.is-in .lg-sub { animation: lg-in 500ms var(--ease-out) 900ms forwards; }
  .lg-anim.is-in .lg-shine { animation: lg-shine 7s ease-in-out 1.3s infinite; }
  .lg-anim.is-in:hover .lg-shine, .logo:focus-visible .lg-shine { animation: lg-shine-once 850ms ease-in-out; }
  .lg-anim.is-in:hover .lg-frame { animation: lg-draw 950ms var(--ease-out) 150ms forwards, lg-glow 900ms ease-in-out; }
}
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-in { to { opacity: 1; transform: none; } }
@keyframes lg-shine { 0% { transform: translateX(-140px); } 14%, 100% { transform: translateX(470px); } }
@keyframes lg-shine-once { from { transform: translateX(-140px); } to { transform: translateX(470px); } }
@keyframes lg-glow { 50% { stroke: #FFF2A0; } }

@media (max-width: 600px) {
  .bar-in { gap: 10px; }
  .bar-links { gap: 6px; }
  .bar-links .btn.sm { padding: 8px 11px; font-size: .82rem; }
  .logo-svg { height: 38px; }
}
@media (max-width: 420px) {
  .bar-in { gap: 8px; }
  .bar-links { gap: 5px; }
  .bar-links .btn.sm { padding: 8px 9px; }
  .logo-svg { height: 29px; }
}
.spec-ref { display: flex; justify-content: space-between; gap: 8px; }
.spec-pdf { color: var(--muted); letter-spacing: .02em; }
.ft { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; margin-top: 32px; padding: 18px 20px; }
.ft .btn { grid-column: 1 / -1; justify-self: start; }
.ft-pdf { width: 40px; height: 48px; color: var(--fg); }
.ft h2, .pp-more .ft h2 { margin: 0 0 4px; font-size: 1.05rem; }
.ft-file { font-family: var(--f-mono); font-size: .8rem; color: var(--fg); overflow-wrap: anywhere; }
.ft-file span { color: var(--muted); white-space: nowrap; }
.ft-note { font-size: .86rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 600px) { .ft .btn { justify-self: stretch; } }

/* ---------- Fenêtre compte ---------- */
.modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--fg); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); overflow: auto; /* taste-skill-ignore: fenêtre modale */ }
.modal::backdrop { background: rgba(14, 24, 40, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in 260ms var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-in { padding: 28px clamp(18px, 4vw, 30px) 26px; display: grid; gap: 14px; border-top: 10px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--hv) 0 26px, var(--refl) 26px 34px) 10; }
.modal-in h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.9rem; line-height: .95; }
.modal-lead { color: var(--muted); font-size: .95rem; }
.modal-in form { display: grid; gap: 12px; }
.modal-x { position: absolute; top: 18px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-x:hover { background: var(--raised); color: var(--fg); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; background: var(--bg); border-radius: 999px; }
.tabs button { border: 0; background: transparent; padding: 9px 10px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--raised); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.btn.wide { width: 100%; }
.err { color: var(--danger); font-size: .9rem; min-height: 0; }
.err:empty { display: none; }
.err .link { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.pwd { position: relative; }
.pwd input { padding-right: 88px; }
.pwd-eye { position: absolute; right: 6px; top: 50%; translate: 0 -50%; padding: 6px 10px; border: 0; border-radius: 8px; background: none;
  font: 600 .8rem var(--f-body); color: var(--muted); cursor: pointer; }
.pwd-eye:hover { color: var(--fg); background: var(--surface); }
.hint { color: var(--muted); font-size: .8rem; }
.modal-forgot { margin-top: -4px; text-align: right; font-size: .88rem; }
.modal-forgot .link, .modal-alt .link { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }

/* Espace pro : historique des demandes de devis */
.qh-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 10px; }
.qh { padding: 16px 18px; display: grid; gap: 10px; }
.qh-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qh-date { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted); }
.qh-status { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.qh-items { display: grid; gap: 4px; font-weight: 600; }
.qh-items small { font-family: var(--f-mono); font-weight: 400; font-size: .74rem; color: var(--muted); margin-left: 4px; }
.qh-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.qh-empty { color: var(--muted); }
.demo-note { font-size: .85rem; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--hv) 35%, var(--surface)); color: var(--fg); }
.modal-alt { text-align: center; }
.modal-alt .link, .prefill .link { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.prefill { font-size: .88rem; color: var(--muted); margin: -4px 0 4px; }
.maquette-tag { position: fixed; left: 12px; bottom: 12px; z-index: 40; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--hv); color: #14213A; padding: 5px 9px; border-radius: 6px; pointer-events: none; }

/* ---------- Espace pro ---------- */
.acc { padding-block: clamp(40px, 7vw, 88px); }
.acc-intro { max-width: 720px; display: grid; gap: 18px; }
.acc-intro .ctas { margin-top: 6px; }
.acc-perks { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
.acc-perks li { padding: 20px; display: grid; gap: 6px; border-left: 1px solid var(--line); }
.acc-perks li:first-child { border-left: 0; }
.acc-perks b { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.15rem; }
.acc-perks span { color: var(--muted); font-size: .92rem; }
.acc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.acc-id { padding: 16px 18px; display: grid; gap: 6px; font-size: .92rem; min-width: 240px; }
.acc-id .link { justify-self: start; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.acc-h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.35rem; margin: 44px 0 14px; }
.acc-lib-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.acc-lib-head input { max-width: 320px; margin: 0 0 14px; }
.lib-group h3 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.dl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 8px; }
.dl-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.dl-img { display: block; background: var(--photo); border-radius: 8px; overflow: hidden; }
.dl-img img { width: 48px; height: 56px; object-fit: contain; }
.dl-txt { display: grid; gap: 2px; min-width: 0; }
.dl-txt a { font-weight: 600; text-decoration: none; line-height: 1.25; }
.dl-txt a:hover { text-decoration: underline; }
.dl-txt small { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); overflow-wrap: anywhere; }
.lib-empty { color: var(--muted); margin-top: 20px; }
@media (max-width: 860px) {
  .acc-perks { grid-template-columns: 1fr; }
  .acc-perks li { border-left: 0; border-top: 1px solid var(--line); }
  .acc-perks li:first-child { border-top: 0; }
  .acc-lib-head input { max-width: none; }
}
