/* 3CS Levage & Sécurité — feuille de style */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-k3kQo8UD.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-tDbv2o-f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-tDbv2o-f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/public-sans-ijwRs572.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/public-sans-ijwRs572.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/public-sans-ijwRs572.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* base (remplace la réinitialisation de l'aperçu) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; }
:where(img[width][height]) { width: auto; height: auto; }
a.uni { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice.ok { background: #E7F6EC; color: #145C2E; }
.notice.err { background: #FDECE7; color: #8A2A10; }
.empty a { color: var(--accent); }
.page-404 { min-height: 50vh; display: grid; place-items: center; text-align: center; }
.page-404 h1 { font-size: clamp(64px, 12vw, 160px); line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-404 p { color: var(--muted); font-size: 18px; margin: 16px 0 28px; }
.nv-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.nv .doc-link { color: var(--sky); font-weight: 600; text-underline-offset: 3px; }
.nv .doc-link:hover { color: #fff; }
.doc-btn svg { flex: none; }
/* Layout: 3CS brand chart (logo colours) — white pages, navy chapters (atelier, contrôles, footer), orange gradient as the single accent, sky blue as secondary. Deliberately light-only to match the brand. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #1D2062;
  --muted: #5A5F84;
  --line: #E1E5F0;
  --accent: #E8622C;
  --accent-2: #F2A33A;
  --grad: linear-gradient(100deg, #F2A33A 0%, #E8622C 55%, #D9502A 100%);
  --sky: #6EC1E4;
  --tint: #F1F5FB;
  --night: #282B78;
  --night-2: #31358A;
  --night-line: #41469A;
  --on-night: #FFFFFF;
  --on-night-muted: #C4C8EC;
  --paper: #FFFFFF;
  color-scheme: light;
  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 116%; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
.eyebrow { font: 500 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--grad); }
.night { background: var(--night); color: var(--on-night); }
.night .eyebrow { color: var(--sky); }
.tinted { background: var(--tint); }

/* reveal on scroll (scroll-driven, visible by default) */
@supports (animation-timeline: view()) {
  .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  @keyframes rv { from { opacity: 0; transform: translateY(48px); } }
  .rv-img img { animation: rvimg linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  @keyframes rvimg { from { transform: scale(1.18); } }
}

/* Header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.92); color: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 46px; width: auto; }
.logo-mark { font: 800 24px/1 var(--f-display); font-stretch: 125%; letter-spacing: -0.03em; }
.logo-mark b { color: var(--accent); }
.logo small { font: 500 10.5px/1.25 var(--f-mono); color: var(--on-night-muted); text-transform: uppercase; letter-spacing: .12em; border-left: 1px solid var(--night-line); padding-left: 12px; }
nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main a { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 14px; color: var(--muted); transition: color .2s; }
nav.main a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
nav.main a:hover, nav.main a.on { color: var(--ink); }
nav.main a:hover::after, nav.main a.on::after { transform: scaleX(1); }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 13px 20px; border-radius: 6px; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--grad); background-size: 160% 100%; background-position: 0 0; color: #fff; box-shadow: 0 8px 20px -10px rgba(232,98,44,.7); transition: background-position .5s var(--ease), transform .2s, box-shadow .3s; }
.btn-accent:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(232,98,44,.8); }
.btn-line { border-color: color-mix(in srgb, currentColor 30%, transparent); }
.btn-line:hover { border-color: currentColor; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; cursor: pointer; color: var(--ink); }
@media (max-width: 960px) {
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
  nav.main.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .top .btn-accent { display: none; }
}
@media (max-width: 480px) { .logo small { display: none; } .logo-img { height: 38px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); background: linear-gradient(180deg, #FFFFFF 0%, var(--tint) 100%); }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -320px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(110,193,228,.28), transparent 65%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .8; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: .94; font-weight: 800; font-stretch: 122%; margin-top: 26px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero h1 .w > span { display: inline-block; animation: up 1s var(--ease) both; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .sky { color: var(--sky); }
@keyframes up { from { transform: translateY(105%); } }
.hero .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 52ch; margin: 28px 0 36px; animation: fade 1s .5s var(--ease) both; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: fade 1s .65s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
.stage { position: relative; color: var(--on-night); aspect-ratio: 707 / 1000; max-height: 640px; width: 100%; max-width: 100%; justify-self: end; border-radius: 10px; overflow: hidden; background: var(--night); animation: fade 1.2s .2s var(--ease) both; box-shadow: 0 40px 70px -40px rgba(40,43,120,.65); }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.2s ease, transform 7s linear; }
.stage img.on { opacity: 1; transform: scale(1); }
.stage img[src*="rema-sr"] { object-position: 50% 8%; transform-origin: 45% 0; }
.stage img[src*="rema-sr"].on { transform: scale(1.07); }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,32,98,.9), transparent 48%); pointer-events: none; }
.stage .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: grid; gap: 12px; }
.stage .cap strong { font: 700 20px/1.2 var(--f-display); font-stretch: 112%; }
.stage .cap span { font: 500 11px var(--f-mono); color: var(--sky); text-transform: uppercase; letter-spacing: .12em; }
.bars { display: flex; gap: 6px; }
.bars button { flex: 1; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.22); cursor: pointer; position: relative; overflow: hidden; }
.bars button i { position: absolute; inset: 0; background: var(--on-night); transform: scaleX(0); transform-origin: left; }
.bars button.on i { animation: bar 5.5s linear forwards; }
.bars button.done i { transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }
.badge { position: absolute; z-index: 3; left: -1px; top: 28px; background: var(--grad); color: #fff; padding: 12px 16px; font: 600 13px/1.3 var(--f-body); border-radius: 0 4px 4px 0; }
.badge b { display: block; font: 800 22px/1 var(--f-display); font-stretch: 120%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { justify-self: stretch; aspect-ratio: 4 / 3.4; }
}
.hero-facts { position: relative; margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-facts div { padding: 20px 20px 0 0; display: grid; gap: 4px; }
.hero-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-facts strong { font: 700 19px/1.2 var(--f-display); font-stretch: 112%; }
.hero-facts strong::before { content: ""; display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--sky); margin-bottom: 10px; }
.hero-facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts div:nth-child(n+3) { margin-top: 16px; border-top: 1px solid var(--line); }
}

/* Brand marquee */
.marquee { background: var(--night); color: #fff; overflow: hidden; white-space: nowrap; border-top: 4px solid transparent; border-image: var(--grad) 1; }
.marquee .track { display: inline-flex; align-items: center; animation: mq 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { padding: 22px 30px; display: inline-flex; align-items: center; gap: 60px; }
.marquee span::after { content: ""; width: 7px; height: 7px; background: var(--sky); transform: rotate(45deg); flex: none; }
.marquee img { height: 34px; width: auto; max-width: none; opacity: .92; transition: opacity .3s, transform .3s var(--ease); }
.marquee img:hover { opacity: 1; transform: scale(1.06); }
.marquee img.b-rema { width: 96px; height: 42px; object-fit: cover; object-position: left center; border-radius: 3px; }
.marquee img.b-singer { height: 40px; }
.marquee img.b-pewag { height: 30px; }
.marquee img.b-vtic { height: 40px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Sections */
section.block { padding-block: clamp(72px, 10vw, 128px); }
.sec-head { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: end; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; font-weight: 780; margin-top: 16px; }
.sec-head p { color: var(--muted); max-width: 44ch; margin: 0; font-size: 17px; }
.night .sec-head p { color: var(--on-night-muted); }

/* Universe tiles */
.unis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.uni { position: relative; aspect-ratio: 3 / 4.2; border-radius: 4px; overflow: hidden; background: var(--night); color: var(--on-night); text-decoration: none; cursor: pointer; border: 0; padding: 0; text-align: left; }
.uni img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.9); }
.uni::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,32,98,.94) 8%, rgba(40,43,120,.08) 60%); transition: background .5s; }
.uni { border-radius: 10px; }
.uni .num { color: var(--sky) !important; }
.uni .txt { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 10px; }
.uni .num { font: 500 12px var(--f-mono); color: var(--on-night-muted); }
.uni h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.05; }
.uni ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; color: var(--on-night-muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
.uni .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.uni .go svg { transition: transform .35s var(--ease); }
.uni:hover img, .uni:focus-visible img { transform: scale(1.08); filter: saturate(1.1); }
.uni:hover ul, .uni:focus-visible ul { max-height: 140px; opacity: 1; }
.uni:hover .go svg { transform: translateX(5px); }
@media (max-width: 960px) { .unis { grid-template-columns: 1fr 1fr; } .uni ul { max-height: 140px; opacity: 1; } .uni li:nth-child(n+4) { display: none; } }
@media (max-width: 640px) {
  .unis { gap: 10px; }
  .uni { aspect-ratio: 4 / 5; }
  .uni::after { background: linear-gradient(to top, rgba(29,32,98,.96) 12%, rgba(29,32,98,.6) 45%, rgba(40,43,120,.05) 78%); }
  .uni .txt { left: 14px; right: 14px; bottom: 14px; gap: 6px; }
  .uni h3 { font-size: 19px; hyphens: auto; overflow-wrap: break-word; }
  .uni ul { display: none; }
  .uni .go { font-size: 13px; }
}

/* Catalogue */
.explorer-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--bg); padding-block: 12px; }
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 4px; background: var(--tint); border-radius: 8px; }
.tabs .pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; background: var(--ink); border-radius: 6px; transition: transform .45s var(--ease), width .45s var(--ease); }
.tabs button { position: relative; z-index: 1; flex: none; border: 0; background: none; border-radius: 6px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); transition: color .3s; }
.tabs button .count { font: 500 11.5px var(--f-mono); opacity: .7; }
.tabs button[aria-selected="true"] { color: var(--bg); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; padding: 12px 14px 12px 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.search input:focus { border-color: var(--ink); outline: none; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.uni-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; align-items: end; margin-bottom: 24px; }
.uni-intro h3 { font-size: clamp(24px, 2.6vw, 32px); }
.uni-intro p { margin: 6px 0 0; color: var(--muted); max-width: 66ch; }
.uni-intro .tag { font: 500 12px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 640px) { .uni-intro { grid-template-columns: 1fr; } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; cursor: pointer; text-align: left; padding: 0;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(40,43,120,.45); border-color: var(--sky); }
.card { border-radius: 10px; }
.card .pic { position: relative; aspect-ratio: 1 / 1; background: var(--paper); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .7s var(--ease); }
.card .pic img.cover { object-fit: cover; padding: 0; }
.card:hover .pic img { transform: scale(1.07); }
.card .pic .brand { position: absolute; left: 12px; top: 12px; font: 600 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--night); color: var(--on-night); padding: 5px 8px; border-radius: 3px; }
.card .pic .zoom { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.card:hover .pic .zoom, .card:focus-visible .pic .zoom { transform: scale(1); }
.card .body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; border-top: 1px solid var(--line); }
.card h4 { font-size: 17.5px; line-height: 1.25; font-stretch: 108%; font-weight: 680; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.card .uni-label { font: 500 10.5px var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; grid-column: 1 / -1; }

/* Quick view */
dialog.pv { border: 0; padding: 0; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 8px; background: var(--surface); color: var(--ink); overflow: auto; }
dialog.pv::backdrop { background: rgba(8,9,11,.72); backdrop-filter: blur(4px); }
dialog.pv[open] { animation: pvIn .45s var(--ease); }
@keyframes pvIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.pv-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pv-pic { background: var(--paper); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.pv-pic img { width: 100%; height: 100%; object-fit: contain; padding: 28px; animation: fade .5s var(--ease); }
.pv-pic img.cover { object-fit: cover; padding: 0; }
.pv-info { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 16px; align-content: start; }
.pv-info h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.pv-info p { margin: 0; color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 12px/1 var(--f-mono); padding: 7px 9px; border-radius: 3px; background: var(--tint); }
.pv-nav { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.icon-btn { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.pv-close { position: absolute; right: 12px; top: 12px; z-index: 2; }
@media (max-width: 720px) { .pv-in { grid-template-columns: 1fr; } .pv-pic { aspect-ratio: 4 / 3; } }

/* Atelier / chain slings */
.atelier .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .atelier .wrap { grid-template-columns: 1fr; } }
.legs { display: inline-flex; gap: 4px; padding: 4px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 8px; margin: 28px 0; }
.legs button { border: 0; background: none; color: var(--on-night-muted); padding: 10px 16px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background .3s, color .3s; }
.legs button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.specs div { padding: 18px 16px 0 0; display: grid; gap: 4px; }
.specs div + div { padding-left: 16px; border-left: 1px solid var(--night-line); }
.specs dt { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--on-night-muted); }
.specs dd { margin: 0; font: 750 clamp(24px, 2.6vw, 34px)/1.05 var(--f-display); font-stretch: 118%; font-variant-numeric: tabular-nums; }
.note { font-size: 13px; color: var(--on-night-muted); margin-top: 16px; }
.sling-stage { position: relative; aspect-ratio: 1 / 1; background: var(--paper); border-radius: 4px; overflow: hidden; }
.sling-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; opacity: 0; transform: translateY(-30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.sling-stage img.on { opacity: 1; transform: none; }
.sling-stage .stamp { position: absolute; right: 18px; bottom: 18px; z-index: 2; font: 600 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #15181C; border: 1.5px solid #15181C; padding: 6px 9px; border-radius: 3px; }
.atelier p.body { color: var(--on-night-muted); font-size: 17px; max-width: 50ch; margin: 22px 0 0; }
.atelier h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; margin-top: 16px; }

/* Field */
.field-sec { position: relative; }
.field-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.field-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: var(--tint); }
.field-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.field-grid .f1 { grid-row: 1 / 3; aspect-ratio: 4 / 3; }
.field-grid figcaption { position: absolute; left: 14px; bottom: 14px; font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--night); color: var(--on-night); padding: 6px 9px; border-radius: 3px; }
.field-copy { background: var(--night); color: var(--on-night); border-radius: 4px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: end; }
.field-copy h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.field-copy p { margin: 0; color: var(--on-night-muted); }
@media (max-width: 760px) { .field-grid { grid-template-columns: 1fr; } .field-grid .f1 { grid-row: auto; } .field-grid figure { aspect-ratio: 4 / 3; } }

/* Contrôles */
.ctrl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .ctrl { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.timeline li { position: relative; padding: 0 0 26px 52px; display: grid; gap: 4px; }
.timeline li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--night-line); display: grid; place-items: center; font: 600 13px var(--f-mono); color: var(--on-night); background: var(--night); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 16px; top: 30px; bottom: 0; width: 1.5px; background: var(--night-line); }
.timeline li:last-child::after { display: none; }
.timeline li.lit::before { background: var(--grad); border-color: var(--accent); }
.timeline li.lit::after { background: var(--sky); }
.timeline strong { font: 700 18px/1.3 var(--f-display); font-stretch: 110%; }
.timeline span { color: var(--on-night-muted); font-size: 15px; }
.vtic-visual { position: relative; display: grid; gap: 14px; }
.vtic-visual .screen { background: var(--paper); border-radius: 4px; overflow: hidden; }
.vtic-visual .screen img { width: 100%; height: auto; }
.vtic-visual .row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 4px; padding: 18px; }
.vtic-visual .row p { margin: 0; color: var(--on-night-muted); font-size: 14.5px; }
.vtic-visual .row strong { color: var(--on-night); display: block; font-size: 16px; }
.law { font: 500 12px var(--f-mono); color: var(--on-night-muted); text-transform: uppercase; letter-spacing: .1em; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.partner { text-decoration: none; display: grid; gap: 14px; perspective: 900px; }
.partner .cover { aspect-ratio: 3 / 4; background: var(--paper); border-radius: 3px; overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); transform-style: preserve-3d; }
.partner .cover img { width: 100%; height: 100%; object-fit: cover; }
.partner:hover .cover { transform: rotateY(-10deg) rotateX(3deg) translateY(-6px); box-shadow: 18px 26px 40px -26px rgba(16,18,21,.6); }
.partner strong { font: 800 22px/1 var(--f-display); font-stretch: 122%; }
.partner span { color: var(--muted); font-size: 14.5px; }
.partner em { font: 500 12px var(--f-mono); font-style: normal; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.where { display: grid; gap: 26px; align-content: start; }
.where .map { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px; color: var(--ink); }
.where .map svg { width: 100%; height: auto; display: block; }
.map .pulse { transform-origin: 196px 122px; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: .7; } to { transform: scale(2.4); opacity: 0; } }
.coord { display: grid; gap: 4px; }
.coord .k { font: 500 11.5px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.coord .v { font-size: 17px; }
.phone-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone-row .v { font: 750 28px var(--f-display); font-stretch: 115%; user-select: all; }
.copy { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
form.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.quote h3 { grid-column: 1 / -1; font-size: 28px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 13.5px; font-weight: 600; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.fld textarea { min-height: 120px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--muted); }
.notice { grid-column: 1 / -1; padding: 12px 14px; border-radius: 6px; background: var(--tint); font-size: 14.5px; }
@media (max-width: 560px) { form.quote { grid-template-columns: 1fr; } }

/* 3D product spin (DELTA RED High-Speed) */
.spin { position: relative; height: 460vh; background: var(--night); color: var(--on-night); }
.spin-sticky { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); height: calc(100vh - 76px); overflow: hidden;
  background: radial-gradient(ellipse 55% 60% at 50% 46%, #3B3FA0 0%, var(--night) 62%, #1D2062 100%); }
.spin-sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, transparent 25%, #000 80%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 25%, #000 80%); }
.spin-grid { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: center; }
.spin-copy { display: grid; gap: 22px; align-content: center; }
.spin .new { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #fff; font: 700 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(232,98,44,.9); }
.spin .new i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.spin h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: .98; font-weight: 800; font-stretch: 120%; }
.spin h2 small { display: block; font: 500 clamp(15px, 1.3vw, 18px)/1.4 var(--f-body); color: var(--on-night-muted); margin-top: 12px; font-stretch: 100%; letter-spacing: 0; }
.spin-steps { position: relative; min-height: 262px; }
.spin-step { position: absolute; inset: 0 0 auto 0; display: grid; gap: 8px; padding: 22px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.spin-step.on { opacity: 1; transform: none; pointer-events: auto; }
.spin-step .k { font: 500 11.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); display: flex; justify-content: space-between; gap: 12px; }
.spin-step h3 { font-size: 22px; line-height: 1.15; font-stretch: 112%; }
.spin-step p { margin: 0; color: var(--on-night-muted); font-size: 15px; }
.spin-bars { display: flex; gap: 6px; }
.spin-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; position: relative; }
.spin-bars i b { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.spin-stage { position: relative; height: 100%; min-height: 0; cursor: grab; touch-action: pan-y; }
.spin-stage:active { cursor: grabbing; }
.spin-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.spin-stage .floor { position: absolute; left: 50%; bottom: 6%; width: 46%; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(8,9,30,.55), transparent 70%); pointer-events: none; }
.spin-stage .ring { position: absolute; left: 50%; bottom: 3%; width: 62%; aspect-ratio: 5 / 1; transform: translateX(-50%); border: 1.5px solid rgba(110,193,228,.35); border-radius: 50%; pointer-events: none; }
.spin-stage .fallback { position: absolute; inset: 8% 10%; width: 80%; height: 84%; object-fit: contain; border-radius: 12px; background: #fff; }
.spin-hud { position: absolute; left: 0; right: 0; top: 18px; display: flex; justify-content: space-between; align-items: start; pointer-events: none; }
.deg b { display: block; font: 800 clamp(34px, 3.4vw, 50px)/1 var(--f-display); font-stretch: 125%; font-variant-numeric: tabular-nums; }
.deg span, .hint { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); }
.hint { display: inline-flex; align-items: center; gap: 8px; }
.hint svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.spin-specs { display: grid; gap: 16px; align-content: center; }
.spin-specs dl { margin: 0; display: grid; border-top: 1px solid rgba(255,255,255,.14); }
.spin-specs dl div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.spin-specs dt { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); }
.spin-specs dd { margin: 0; font: 700 19px/1.2 var(--f-display); font-stretch: 112%; }
.spin-specs dd.mono { font: 500 15px var(--f-mono); }
.spin-video { color: var(--on-night); }
.spin-photo { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--on-night-muted); }
.spin-photo img { width: 58px; height: 58px; border-radius: 8px; background: #fff; object-fit: contain; flex: none; }
@media (max-width: 1000px) {
  .spin { height: 420vh; }
  .spin-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto auto; gap: 10px; padding-block: 10px 14px; align-items: stretch; }
  .spin-stage { order: -1; }
  .spin-copy { gap: 10px; }
  .spin h2, .spin .new, .spin-photo, .spin-specs .btn { display: none; }
  .spin-steps { min-height: 150px; }
  .spin-step { padding: 14px 16px; }
  .spin-step h3 { font-size: 18px; }
  .spin-step p { font-size: 14px; }
  .spin-specs dl { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
  .spin-specs dl div { padding: 8px 0; }
  .spin-specs dl div:nth-child(n+4) { display: none; }
  .spin-specs dd { font-size: 16px; }
}
/* New products showcase */
.spin.nv { height: 340vh; }
.nv .spin-sticky { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding-block: clamp(14px, 2.4vh, 28px); gap: clamp(8px, 1.6vh, 18px); }
.nv-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 28px; width: 100%; }
.nv-head > div { display: grid; gap: 10px; justify-items: start; }
.nv-head h2 { font-size: clamp(24px, min(3vw, 4.8vh), 42px); line-height: 1; font-weight: 800; font-stretch: 120%; }
.nv-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.nv-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  color: var(--on-night-muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.nv-tabs button img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.92); padding: 3px; }
.nv-tabs button:hover { color: #fff; border-color: var(--sky); }
.nv-tabs button.on { background: #fff; color: var(--night); border-color: #fff; }
.nv-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, .8fr); grid-template-rows: minmax(0, 1fr); gap: clamp(16px, 2.5vw, 40px); align-items: center; min-height: 0; height: 100%; width: 100%; }
.nv-grid .nv-stage { align-self: stretch; }
.nv-in > * { animation: nvIn .7s var(--ease) both; }
.nv-in > *:nth-child(2) { animation-delay: .06s; } .nv-in > *:nth-child(3) { animation-delay: .12s; } .nv-in > *:nth-child(4) { animation-delay: .18s; }
@keyframes nvIn { from { opacity: 0; transform: translateX(calc(var(--d, 1) * 48px)); } }
.nv-copy .nv-in { display: grid; gap: 14px; }
.nv-brand { font: 600 12px var(--f-mono); letter-spacing: .16em; color: var(--sky); }
.nv-copy h3 { font-size: clamp(28px, 3.4vw, 50px); line-height: .98; font-weight: 800; font-stretch: 120%; }
.nv-tag { margin: 0; color: var(--on-night-muted); font-size: clamp(15px, 1.2vw, 17px); max-width: 44ch; }
.nv-copy ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.nv-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: 15px; animation: nvIn .6s var(--ease) both; animation-delay: calc(.2s + var(--k) * 60ms); }
.nv-copy li svg { margin-top: 3px; width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--grad); color: #fff; }
.nv-stage { position: relative; height: 100%; min-height: 0; }
.nv-stage { overflow: visible; }
.nv-fig { position: absolute; inset: 4% 0; margin: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; will-change: transform, opacity; }
.nv-fig > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 34px 40px rgba(8,9,30,.5)); }
.nv .spin-sticky { overflow: hidden; }
.nv-copy, .nv-specs { position: relative; z-index: 2; }
.nv-inset { position: absolute; right: 2%; bottom: 10%; width: clamp(96px, 26%, 160px); aspect-ratio: 1 / 1; display: grid; }
.nv-inset img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(110,193,228,.35), 0 18px 30px rgba(8,9,30,.5); }
.nv-inset em { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); white-space: nowrap; font: 600 10.5px var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--night); color: #fff; padding: 4px 8px; border-radius: 4px; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
.nv-specs dl { margin: 0; display: grid; border-top: 1px solid rgba(255,255,255,.14); }
.nv-specs dl div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); animation: nvIn .6s var(--ease) both; animation-delay: calc(.15s + var(--k) * 50ms); }
.nv-specs dt { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); }
.nv-specs dd { margin: 0; font: 700 18px/1.2 var(--f-display); font-stretch: 110%; }
.nv-src { margin: 12px 0 14px; font-size: 12.5px; color: var(--on-night-muted); }
.nv-foot { display: flex; align-items: center; gap: 22px; width: 100%; }
.nv-foot .deg { display: flex; align-items: baseline; gap: 6px; }
.nv-foot .deg b { font-size: 30px; }
.nv-foot .spin-bars { flex: 1; max-width: 420px; }
/* keep everything inside the screen on shorter displays */
.nv-copy .nv-in { gap: clamp(8px, 1.6vh, 14px); }
.nv-copy h3 { font-size: clamp(26px, min(3.4vw, 5.6vh), 50px); }
.nv-copy li { font-size: clamp(13px, 1.9vh, 15px); }
.nv-copy ul { gap: clamp(5px, 1vh, 9px); }
.nv-specs dl div { padding-block: clamp(5px, 1.1vh, 10px); }
.nv-specs dd { font-size: clamp(15px, 2.2vh, 18px); }
.nv-tag { font-size: clamp(14px, 2vh, 17px); }
.nv-head { gap: clamp(8px, 1.4vh, 14px) 28px; }
.nv-head > div { gap: clamp(6px, 1.2vh, 10px); }
.nv-tabs button { padding-block: clamp(3px, .6vh, 6px); }
.nv-tabs button img { width: clamp(26px, 4.2vh, 34px); height: clamp(26px, 4.2vh, 34px); }
@media (max-width: 1000px) {
  .spin.nv { height: 320vh; }
  .nv-tabs, .nv-foot .hint, .nv-tag, .nv-src { display: none; }
  .nv-grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: start; }
  .nv-stage { min-height: 180px; }
  .nv-stage { grid-column: 1 / -1; order: -1; }
  .nv-copy h3 { font-size: 24px; }
  .nv-copy li { font-size: 13px; }
  .nv-copy li:nth-child(n+4) { display: none; }
  .nv-specs dl div:nth-child(n+5) { display: none; }
  .nv-specs dd { font-size: 15px; }
  .nv-specs dl div { padding: 6px 0; }
  .nv-ctas { display: none; }
}
@media (max-width: 560px) { .nv-grid { grid-template-columns: 1fr; } .nv-specs { display: none; } }
.spin-mobile-title { display: none; }
@media (max-width: 1000px) { .spin-mobile-title { display: block; font: 800 22px/1.1 var(--f-display); font-stretch: 118%; } }

/* Legal pages */
.legal-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px); background: linear-gradient(180deg, #FFFFFF 0%, var(--tint) 100%); border-bottom: 1px solid var(--line); }
.legal-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .8; mask-image: radial-gradient(ellipse at 25% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 25% 30%, #000 20%, transparent 75%); }
.legal-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -300px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(110,193,228,.3), transparent 65%); }
.legal-hero .wrap { position: relative; z-index: 1; }
.crumb { font: 500 12px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.legal-hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: .96; font-weight: 800; font-stretch: 122%; margin-top: 18px; }
.legal-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.legal-hero h1 .w > span { display: inline-block; animation: up .9s var(--ease) both; }
.legal-hero p.lead { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 18px 0 0; animation: fade .9s .3s var(--ease) both; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; animation: fade .9s .4s var(--ease) both; }
.doc-tabs a { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: border-color .2s, color .2s, background .2s; }
.doc-tabs a:hover { border-color: var(--sky); color: var(--ink); }
.doc-tabs a.on { background: var(--night); border-color: var(--night); color: #fff; }
.legal-body { padding-block: clamp(40px, 6vw, 80px); }
.legal-body .wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.toc { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); display: grid; gap: 2px; }
.toc .eyebrow { margin-bottom: 12px; }
.toc button { text-align: left; border: 0; background: none; cursor: pointer; padding: 9px 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14.5px; transition: color .2s, border-color .3s, background .2s; }
.toc button:hover { color: var(--ink); background: var(--tint); }
.toc button.on { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.toc button .n { font: 500 11.5px var(--f-mono); color: var(--accent); margin-right: 8px; }
.doc { display: grid; gap: 18px; min-width: 0; }
.doc-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3vw, 36px); scroll-margin-top: 100px; animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.doc-sec h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; display: flex; align-items: baseline; gap: 14px; }
.doc-sec h2 .n { font: 500 13px var(--f-mono); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; flex: none; }
.doc-sec h3 { font-size: 18px; font-stretch: 108%; margin-top: 22px; color: var(--ink); }
.doc-sec h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--sky); margin-right: 10px; vertical-align: middle; }
.doc-sec p { color: var(--muted); margin: 12px 0 0; max-width: 72ch; }
.doc-sec ul { color: var(--muted); margin: 12px 0 0; padding-left: 22px; display: grid; gap: 4px; }
.doc-sec li::marker { color: var(--accent); }
.doc-sec a { color: var(--ink); text-decoration-color: var(--sky); text-underline-offset: 3px; }
.doc-sec a:hover { color: var(--accent); }
.idt { margin: 18px 0 0; display: grid; grid-template-columns: minmax(150px, auto) 1fr; border-top: 1px solid var(--line); }
.idt dt, .idt dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.idt dt { font: 500 12px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-right: 16px; }
.idt dd { font-weight: 500; overflow-wrap: anywhere; }
.idt dd.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .idt { grid-template-columns: 1fr; } .idt dt { border-bottom: 0; padding-bottom: 0; } }
.pending { border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); border-radius: 12px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.pending .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.pending h2 { font-size: 22px; }
.pending p { color: var(--muted); margin: 8px 0 0; max-width: 64ch; }
.doc-cta { background: var(--night); color: var(--on-night); border-radius: 12px; padding: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.doc-cta strong { font: 700 20px/1.2 var(--f-display); font-stretch: 112%; display: block; }
.doc-cta span { color: var(--on-night-muted); font-size: 15px; }
@media (max-width: 860px) {
  .legal-body .wrap { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc .eyebrow { width: 100%; margin-bottom: 4px; }
  .toc button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
  .toc button.on { border-color: var(--accent); }
}

/* Pages */
.pg-in { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(28px); } }
.next-sec { background: var(--tint); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px); }
.next-pages { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.next-pages a { position: relative; overflow: hidden; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 22px; display: grid; gap: 6px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.next-pages a::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.next-pages a:hover { transform: translateY(-4px); border-color: var(--sky); box-shadow: 0 20px 36px -24px rgba(40,43,120,.45); }
.next-pages a:hover::before { transform: scaleX(1); }
.next-pages strong { font: 700 19px/1.2 var(--f-display); font-stretch: 112%; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.next-pages strong svg { color: var(--accent); transition: transform .35s var(--ease); flex: none; }
.next-pages a:hover strong svg { transform: translateX(4px); }
.next-pages span { color: var(--muted); font-size: 14px; }

footer { padding-block: 48px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 36px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; color: var(--on-night-muted); }
footer a:hover { color: var(--on-night); }
footer .muted { color: var(--on-night-muted); }
.foot-logo { background: #fff; border-radius: 10px; padding: 10px; }
.foot-logo img { width: 110px; height: auto; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--night); color: var(--on-night); padding: 11px 18px; border-radius: 6px; font-size: 14px; transition: .3s var(--ease); z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .stage img.on, .sling-stage img.on { opacity: 1; }
}

/* pages par famille et titres principaux */
.sec-head h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; font-weight: 780; margin-top: 16px; }
.atelier h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; margin-top: 16px; }
.sec-head .eyebrow a { color: inherit; text-decoration: none; }
.sec-head .eyebrow a:hover { color: var(--accent); }
.fam-links { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fam-links a { display: grid; gap: 4px; padding: 18px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.fam-links a:hover { border-color: var(--sky); transform: translateY(-3px); }
.fam-links a[aria-current] { border-color: var(--accent); }
.fam-links strong { font: 700 17px/1.2 var(--f-display); font-stretch: 110%; }
.fam-links span { color: var(--muted); font-size: 14px; }
.fam-cta { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.fam-cta h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; margin-top: 12px; }
.fam-cta p { color: var(--on-night-muted); max-width: 60ch; margin: 12px 0 0; }
.fam-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.fam-cta .btn-line { color: #fff; }
@media (max-width: 860px) { .fam-links { grid-template-columns: 1fr 1fr; } }
/* formulaires : pièces jointes, choix multiples */
.fld .opt { font-weight: 400; color: var(--muted); }
fieldset.fld { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.fld legend { font-size: 13.5px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.drop { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1.5px dashed var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop:focus-within { border-color: var(--sky); background: var(--tint); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.drop-txt { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.drop-txt b { color: var(--ink); }
.drop-txt small { font-size: 12.5px; }
.files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.files li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 12px; border-radius: 6px; background: var(--tint); }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files small { color: var(--muted); flex: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; cursor: pointer; }
.pill-check input { position: absolute; opacity: 0; pointer-events: none; }
.pill-check span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.pill-check input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.pill-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* page Demander un contrôle VGP */
.vgp-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.vgp-info { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); display: grid; gap: 22px; background: var(--night); color: var(--on-night); border-radius: 12px; padding: clamp(22px, 3vw, 34px); }
.vgp-info h2 { font-size: 24px; line-height: 1.15; }
.vgp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vgp-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--on-night-muted); }
.vgp-list svg { margin-top: 3px; width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--grad); color: #fff; }
.vgp-law { display: grid; gap: 4px; padding: 16px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.vgp-law strong { font: 700 18px/1.2 var(--f-display); font-stretch: 110%; color: var(--sky); }
.vgp-law span { color: var(--on-night-muted); font-size: 14.5px; }
.vgp-law span b { color: #fff; font-weight: 600; }
.vgp-call { display: grid; gap: 2px; }
.vgp-call span { color: var(--on-night-muted); font-size: 14px; }
.vgp-call a { font: 750 26px var(--f-display); font-stretch: 115%; color: #fff; text-decoration: none; }
.ctrl-cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 4px; }
@media (max-width: 900px) { .vgp-layout { grid-template-columns: 1fr; } .vgp-info { position: static; } }

/* configurateur d'élingues (page Atelier, fond bleu marine) */
.cfg { display: grid; gap: 16px; margin-top: 4px; }
.cfg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cfg-f { display: grid; gap: 6px; min-width: 0; }
.cfg-f[hidden] { display: none !important; }
.cfg-f label { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); }
.cfg-f input, .cfg-f select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; font-size: 15px; }
.cfg-f select option { color: var(--ink); }
.cfg-f input:focus, .cfg-f select:focus { outline: none; border-color: var(--sky); }
.cfg-unit { position: relative; }
.cfg-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--on-night-muted); font-size: 14px; pointer-events: none; }
.cfg-unit input { padding-right: 30px; }
.cfg-check { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.cfg-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.cfg-check.light { padding-top: 26px; font-weight: 500; }
.cfg-out { display: grid; gap: 4px; padding: 16px 18px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.cfg-out .k { font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.cfg-out strong { font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--f-display); font-stretch: 118%; }
.cfg-out small { color: var(--on-night-muted); font-size: 13.5px; }
.cfg .btn { justify-self: start; }
.cfg .note { margin: 0; }
.atelier .legs { margin: 22px 0 18px; }
@media (max-width: 560px) { .cfg-grid { grid-template-columns: 1fr 1fr; } }

/* bouton « Appeler », toujours visible en bas à droite (l'essentiel de son style est aussi écrit sur le bouton lui-même) */
footer a.call-fab { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transition: filter .2s, transform .2s var(--ease); }
footer a.call-fab:hover, footer a.call-fab:active { color: #fff; filter: brightness(1.06); transform: translateY(-2px); }
footer a.call-fab svg { flex: none; }
footer a.call-fab .call-num { font-weight: 600; opacity: .92; }
footer { padding-bottom: 104px; }
.toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 900px) { footer a.call-fab .call-num { display: none; } }

/* demande de devis groupée (« panier de devis ») */
.cart-link { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); transition: border-color .2s; }
.cart-link:hover { border-color: var(--ink); }
.cart-link[hidden] { display: none !important; }
.cart-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12.5px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cart-link.bump .cart-n { animation: cartBump .5s var(--ease); }
@keyframes cartBump { 40% { transform: scale(1.35); } }
/* le logo garde toujours sa taille, même quand l'en-tête est chargé */
header.top .logo, header.top .logo-img { flex: none; }
header.top .logo-img { width: auto; }
@media (max-width: 1240px) { .cart-link .cart-lbl { display: none; } .cart-link { padding: 8px 10px; } }
/* écrans moyens : avec une demande en cours, « Ma demande » remplace le bouton « Demander un devis » (même destination) */
@media (max-width: 1180px) and (min-width: 961px) {
  header.top.has-cart .btn-accent { display: none; }
  header.top.has-cart .cart-link .cart-lbl { display: inline; }
  header.top.has-cart .cart-link { padding: 9px 12px; }
}
@media (max-width: 1100px) and (min-width: 961px) { .top .wrap { gap: 16px; } nav.main a { padding-inline: 10px; } nav.main a::after { left: 10px; right: 10px; } }
@media (max-width: 960px) { .cart-link { margin-left: 4px; padding: 7px 10px; } }
button.add-cart { background: transparent; }
.add-cart svg { flex: none; }
.add-cart.in { border-color: currentColor; }
.cfg-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cart-box { display: grid; gap: 10px; padding: 16px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); }
.cart-box[hidden] { display: none !important; }
.cart-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cart-title { font-size: 13.5px; font-weight: 600; }
.cart-h a { font-size: 14px; color: var(--accent); font-weight: 600; text-decoration: none; }
.cart-h a:hover { text-decoration: underline; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--bg); }
.cart-list .ci-t { display: grid; gap: 2px; min-width: 0; }
.cart-list .ci-t b { font-size: 15px; font-weight: 600; }
.cart-list .ci-t small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.qty { justify-self: start; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty button { width: 32px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 17px; line-height: 1; color: var(--ink); }
.qty button:hover { background: var(--tint); }
.qty input { width: 40px; height: 34px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-variant-numeric: tabular-nums; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ci-x { width: 32px; height: 32px; border-radius: 6px; border: 0; background: none; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.ci-x:hover { background: #FDECE7; color: #8A2A10; }
.cart-tip { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.cart-tip a { color: var(--accent); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.person { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; }
.person .k { font: 500 11.5px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.person .p-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.person .p-tel { font: 750 22px var(--f-display); font-stretch: 115%; color: var(--ink); text-decoration: none; white-space: nowrap; }
.person .p-tel:hover { color: var(--accent); }
.person .p-mail { font-size: 15px; overflow-wrap: anywhere; }
.form-foot small a { color: inherit; text-underline-offset: 3px; }
.form-foot small a:hover { color: var(--accent); }
@media (max-width: 520px) { .cart-list li { grid-template-columns: minmax(0, 1fr) auto; } .cart-list .ci-t { grid-column: 1 / -1; } }
/* rubrique Ressources */
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.res-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, transform .3s var(--ease); }
.res-card:hover { border-color: var(--sky); transform: translateY(-3px); }
.res-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.res-card-t { display: grid; gap: 8px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.res-card-t small { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.res-card-t strong { font: 700 19px/1.2 var(--f-display); font-stretch: 108%; }
.res-card-t > span { color: var(--muted); font-size: 15px; }
.res-card-t em { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--accent); margin-top: 4px; }
.block.res-top { padding-bottom: 0; }
.res-crumb { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px var(--f-mono); color: var(--muted); margin-bottom: 28px; }
.res-crumb a { color: inherit; text-decoration: none; }
.res-crumb a:hover { color: var(--accent); }
.res-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.res-hero h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; font-weight: 780; margin-top: 16px; }
.res-lead { color: var(--muted); font-size: 18px; margin: 18px 0 0; max-width: 56ch; }
.res-meta { font: 500 12px var(--f-mono); color: var(--muted); margin: 18px 0 0; }
.res-fig { margin: 0; border-radius: 12px; overflow: hidden; background: var(--line); }
.res-fig img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.res-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.res-toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; }
.res-toc .eyebrow { margin-bottom: 12px; }
.res-toc a { color: var(--muted); text-decoration: none; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); }
.res-toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.res-body { max-width: 74ch; min-width: 0; font-size: 17px; }
.res-body h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; margin: 44px 0 0; scroll-margin-top: 100px; }
.res-body h2:first-child { margin-top: 0; }
.res-body p, .res-body li, .res-body dd { color: var(--muted); }
.res-body p { margin: 14px 0 0; }
.res-body ul, .res-body ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.res-body li::marker { color: var(--accent); }
.res-body strong { color: var(--ink); font-weight: 600; }
.res-body a { color: var(--ink); text-decoration-color: var(--sky); text-underline-offset: 3px; }
.res-body a:hover { color: var(--accent); }
.res-table { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.res-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.res-table th { text-align: left; font: 500 11.5px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface); }
.res-table th, .res-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.res-table tr:last-child td { border-bottom: 0; }
.res-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: -1px; }
.res-gloss { margin: 16px 0 0; display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.res-gloss dt, .res-gloss dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.res-gloss dt { font-weight: 600; color: var(--ink); padding-right: 16px; }
.res-q { border-bottom: 1px solid var(--line); }
.res-q:first-of-type { margin-top: 12px; }
.res-q summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 14px 0; }
.res-q p { margin: 0 0 16px; }
.block.res-main { padding-top: clamp(36px, 5vw, 64px); }
.block.res-rel { padding-top: 0; }
.res-rel h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 22px; }
.res-rel .res-card-t strong { font-size: 17px; }
.res-more { margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.res-more a { color: inherit; text-underline-offset: 3px; }
.res-more a:hover { color: var(--accent); }
.night .res-more { color: var(--on-night-muted); }
.night .res-more strong { color: #fff; }
.vgp-law a { color: #fff; text-underline-offset: 3px; }
@media (max-width: 960px) { .res-grid { grid-template-columns: 1fr 1fr; } .res-layout { grid-template-columns: minmax(0, 1fr); } .res-toc { display: none; } .res-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .res-grid { grid-template-columns: minmax(0, 1fr); } .res-gloss { grid-template-columns: minmax(0, 1fr); } .res-gloss dt { border-bottom: 0; padding-bottom: 0; } .res-gloss dd { padding-top: 4px; } }
/* WordPress : barre d'administration et contenus éditoriaux */
body.admin-bar header.top { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.top { top: 46px; } }
.wp-content .wrap { max-width: 860px; }
.wp-entry + .wp-entry { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.wp-entry h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 14px 0 20px; }
.wp-entry .entry { color: var(--muted); font-size: 17px; }
.wp-entry .entry img { height: auto; border-radius: 8px; }
.wp-entry .entry a { color: var(--accent); }
.wp-pager { margin-top: 40px; display: flex; justify-content: space-between; }