/* GROUPE TAC — variante B « Ingénierie / plan technique » */
:root {
  --paper: #f5f4ef;
  --paper-2: #ecebe4;
  --white: #fdfdfb;
  --ink: #1f2a44;
  --ink-2: #48536d;
  --ink-3: #6b7489;
  --rule: rgba(31, 42, 68, .16);
  --rule-strong: rgba(31, 42, 68, .42);
  --grid: rgba(31, 42, 68, .05);
  --grid-major: rgba(31, 42, 68, .09);
  --red: #C8161D;
  --red-dark: #a51117;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
.nw { white-space: nowrap; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* placeholders */
.a-confirmer {
  outline: 1.5px dashed var(--red); outline-offset: 2px; background: rgba(200, 22, 29, .07);
  color: var(--red-dark); padding: 0 .2em; border-radius: 2px; font-style: normal;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: 600 15px/1 var(--sans); text-decoration: none; padding: 14px 20px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap;
}
.btn-lg { padding: 18px 26px; font-size: 16px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn span[aria-hidden] { transition: transform .2s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* top bar + header */
.topbar { background: var(--ink); color: #dfe3ec; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; font-size: 11px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 239, .93); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule-strong); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand-txt .mono { font-size: 10px; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: 15px; display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav ul a .mono { font-size: 10px; color: var(--red); }
.nav ul a:hover { border-color: var(--ink); }
.nav-toggle { display: none; }

/* sheet corners (registration marks) */
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); pointer-events: none; }
.corner.tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--rule); font-size: 10.5px; color: var(--ink-2); }

/* SVG stroke system */
.draw { overflow: visible; }
.draw [class^="s-"], .draw [class*=" s-"] { fill: none; stroke: var(--ink); stroke-linecap: square; }
.s-ground { stroke-width: 1.6; }
.s-hatch { stroke-width: .8; stroke: var(--rule-strong) !important; }
.s-wall { stroke-width: 1.4; stroke: var(--ink-2) !important; }
.s-win { stroke-width: .9; stroke: var(--ink-3) !important; }
.s-std { stroke-width: 2.2; }
.s-deck { stroke-width: 2; }
.s-led { stroke-width: 1.2; }
.s-rail { stroke-width: 1.2; }
.s-toe { stroke-width: 1; fill: rgba(31, 42, 68, .08) !important; }
.s-diag { stroke-width: 1; stroke-dasharray: none; stroke: var(--ink-2) !important; }
.s-plate { stroke-width: 1; fill: var(--ink) !important; }
.s-jack { stroke-width: 3; }
.s-tie { stroke-width: 1.4; stroke: var(--red) !important; }
.s-anchor { stroke: var(--red) !important; fill: var(--paper) !important; stroke-width: 1.4; }
.s-lead { stroke-width: .8; stroke: var(--ink-2) !important; }
.s-dot { fill: var(--ink) !important; stroke: none !important; }
.s-dim, .s-dimtick { stroke-width: .8; stroke: var(--red) !important; }
.s-red { stroke: var(--red) !important; stroke-width: 2; }
.t-ann { font: 500 11px var(--mono); fill: var(--ink); letter-spacing: .06em; }
.t-dim { font: 500 9.5px var(--mono); fill: var(--red); letter-spacing: .08em; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 96px); border-bottom: 1px solid var(--rule-strong); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 28px; }
.kicker .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 4px rgba(200, 22, 29, .15); }
.h-display { font-size: clamp(40px, 5vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: .95; margin-bottom: 28px; }
.h-display em { font-style: normal; color: var(--red); position: relative; }
.h-display em::after { content: ""; position: absolute; left: 0; right: .1em; bottom: .02em; height: 3px; background: var(--red); transform-origin: left; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-meta { margin: 0; border-top: 1px solid var(--rule-strong); }
.hero-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.hero-meta dt { color: var(--ink-3); }
.hero-meta dd { margin: 0; color: var(--ink); }
.hero-sheet { position: relative; padding-bottom: 40px; }
.sheet { position: relative; background: var(--white); border: 1px solid var(--rule-strong); box-shadow: 0 30px 60px -40px rgba(31, 42, 68, .45); margin-right: 18%; }
.hero-drawing { width: 100%; height: auto; padding: 18px 14px 6px; }
.cartouche { width: auto; min-width: 62%; border-collapse: collapse; font-size: 10.5px; }
.cartouche th, .cartouche td { border-top: 1px solid var(--rule); padding: 7px 10px; text-align: left; }
.cartouche th { color: var(--ink-3); font-weight: 500; width: 1%; white-space: nowrap; border-right: 1px solid var(--rule); }
.cartouche td + th { border-left: 1px solid var(--rule); }
.hero-detail { position: absolute; right: 0; bottom: 0; width: 30%; margin: 0; background: var(--white); padding: 12px 12px 0; border: 1px solid var(--rule-strong); box-shadow: 0 24px 50px -30px rgba(31, 42, 68, .6); }
.node-drawing { width: 100%; height: auto; }
.hero-detail figcaption { font-size: 10px; padding: 8px 0 10px; color: var(--ink-2); border-top: 1px solid var(--rule); margin-top: 8px; }
.hero-ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background-image: repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 120px);
  background-size: 100% 6px, 100% 12px; background-repeat: no-repeat; background-position: bottom; }

/* ---------- DATASHEET ---------- */
.datasheet { background: var(--white); border-bottom: 1px solid var(--rule-strong); padding: 56px 0 64px; }
.ds-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.ds-head h2 { font-size: 12px; letter-spacing: .08em; }
.ds-head span { color: var(--ink-2); }
.counters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.counters li { display: flex; flex-direction: column; padding: 28px 24px 30px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.counters li:first-child { padding-left: 0; }
.counters li:last-child { border-right: 0; }
.c-label { color: var(--ink-3); font-size: 11px; }
.c-val { font-size: clamp(48px, 6vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 22px 0 18px; font-variant-numeric: tabular-nums; }
.c-val .a-confirmer { outline-width: 2px; outline-offset: 4px; }
.c-unit { color: var(--ink-2); font-size: 15px; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.trust h3 { font-size: 11px; color: var(--ink-3); margin-bottom: 14px; }
.trust-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.trust-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.tl-k { color: var(--red); font-size: 10.5px; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.clients li { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 76px; padding: 10px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 13px;
  background-image: repeating-linear-gradient(45deg, transparent 0 7px, rgba(31,42,68,.04) 7px 8px); }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; border-bottom: 1px solid var(--rule-strong); }
.sec-head { margin-bottom: 48px; max-width: 760px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-idx { color: var(--red); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.sec-idx::before { content: ""; width: 32px; height: 1.5px; background: var(--red); }
.h-sec { font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.sec-intro { color: var(--ink-2); font-size: 18px; max-width: 36em; }

/* services */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); }
.svc { position: relative; padding: 24px 26px 30px; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: rgba(253, 253, 251, .7); transition: background .25s; }
.svc:hover { background: var(--white); }
.svc-head { display: flex; justify-content: space-between; }
.ref { color: var(--red); }
.svc-idx { color: var(--ink-3); font-size: 10.5px; }
.svc-drawing { width: 100%; max-width: 230px; height: auto; margin: 18px 0 22px; }
.svc h3 { font-size: 23px; font-weight: 700; margin-bottom: 12px; }
.svc p { color: var(--ink-2); font-size: 15.5px; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; border: 1px solid var(--rule-strong); padding: 4px 8px; }
.svc-cta { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.svc-cta:hover { background-color: #17203a; }
.svc-cta .ref { color: #ff8a8f; margin-bottom: auto; }
.svc-cta p { color: #cfd5e2; }
.svc-cta .btn { align-self: flex-start; margin-top: 8px; }

/* video */
.video-sec { padding: clamp(56px, 7vw, 100px) 0; background: var(--ink); color: #fff; position: relative;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.video-frame { position: relative; border: 1px solid rgba(255,255,255,.3); }
.video-frame .corner { border-color: #fff; }
.video-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 11px; }
.video-head h2 { font: inherit; letter-spacing: inherit; }
.video-head span { color: #ff8a8f; }
.video-box { position: relative; }
.video-box video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; background: #0e1424; }
.crosshair { position: absolute; inset: 0; pointer-events: none; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,255,255,.7); }
.crosshair::before { width: 44px; height: 1px; transform: translate(-50%, -50%); }
.crosshair::after { width: 1px; height: 44px; transform: translate(-50%, -50%); }
.video-cap { padding: 12px 16px; margin: 0; color: #cfd5e2; font-size: 11px; }
.video-sec .a-confirmer { color: #fff; outline-color: #ff8a8f; background: rgba(255,138,143,.12); }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 14px var(--sans); color: var(--ink); background: transparent; border: 1.5px solid var(--rule-strong); padding: 10px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: all .2s; }
.chip .n { font-size: 10px; color: var(--ink-3); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: #ff9fa3; }
.proj-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.proj[hidden] { display: none; }
.proj figure { margin: 0; background: var(--white); border: 1px solid var(--rule-strong); padding: 8px; height: 100%; display: flex; flex-direction: column; }
.proj-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.proj:hover .proj-media img { transform: scale(1.04); }
.proj-ref { position: absolute; top: 10px; left: 10px; background: var(--white); color: var(--ink); font: 700 11px var(--mono); padding: 4px 7px; letter-spacing: .06em; }
.spec { margin: 0; padding: 4px 4px 2px; }
.spec div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.spec div:last-child { border-bottom: 0; }
.spec dt { font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding-top: 3px; }
.spec dd { margin: 0; }
.ph-tile { position: relative; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px; }
.ph-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-svg rect { opacity: .7; }
.ph-scaf [class^="s-"] { stroke: var(--ink-3) !important; stroke-width: 1.2; fill: none; }
.ph-label { position: relative; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--white); border: 1px solid var(--rule-strong); padding: 7px 10px; }

/* method */
.method-line { width: 100%; height: 40px; margin-bottom: -20px; position: relative; }
.method-line .s-red { stroke-width: 3; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { position: relative; padding-top: 44px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; transform: translateY(-50%); background: var(--paper); border: 2px solid var(--red); }
.step-n { color: var(--red); display: block; margin-bottom: 12px; }
.steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }

/* zone */
.zone-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.zone-copy > p { color: var(--ink-2); }
.dep-list { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); font-size: 11.5px; }
.dep-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 10px; }
.dep-list b { color: var(--ink); min-width: 22px; font-weight: 700; }
.dep-list .is-base { color: var(--red); }
.dep-list .is-base b { color: var(--red); }
.base-card { font-style: normal; display: inline-flex; flex-direction: column; gap: 6px; border-left: 3px solid var(--red); padding: 4px 0 4px 16px; }
.base-card .mono { color: var(--ink-3); }
.base-card strong { font-size: 20px; line-height: 1.3; }
.zone-map { position: relative; background: var(--white); border: 1px solid var(--rule-strong); }
.zone-map { overflow: hidden; }
.idf-map { width: 100%; height: auto; padding: 18px; overflow: hidden; }
.s-dep { fill: rgba(31, 42, 68, .03) !important; stroke-width: 1.2; transition: fill .25s; }
.dep-tile:hover .s-dep { fill: rgba(31, 42, 68, .08) !important; }
.dep-tile[data-dep="95"] .s-dep { fill: rgba(200, 22, 29, .07) !important; stroke: var(--red) !important; stroke-width: 1.6; }
.t-depnum { font: 800 26px var(--sans); fill: var(--ink); letter-spacing: -.02em; }
.t-depname { font: 500 7.5px var(--mono); fill: var(--ink-2); letter-spacing: .08em; }
.dep-tile[data-dep="95"] .t-depnum { fill: var(--red); }
.dep-tile[data-dep="95"] text:not(.t-depnum) { opacity: 0; }
.s-ring { stroke: var(--red) !important; stroke-width: .9; stroke-dasharray: 3 5 !important; opacity: .55; }
.pin { fill: var(--red); }
.pin-halo { fill: rgba(200, 22, 29, .18); }
.s-redlead { stroke: var(--red) !important; stroke-width: 1 !important; }
.t-pin { font: 700 10px var(--mono); fill: var(--red); letter-spacing: .08em; }

/* devis */
.devis { background: var(--white); }
.devis-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.devis-side > p { color: var(--ink-2); }
.contact-spec { margin: 28px 0 0; border-top: 1px solid var(--rule-strong); font-size: 11.5px; }
.contact-spec div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact-spec dt { color: var(--ink-3); }
.contact-spec dd { margin: 0; text-transform: none; font-size: 13px; overflow-wrap: anywhere; }
.contact-spec a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.quote { border: 1px solid var(--rule-strong); background: var(--paper); padding: clamp(20px, 3vw, 36px); position: relative; }
.q-progress { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 10.5px; color: var(--ink-3); }
.q-progress li { border-top: 3px solid var(--rule); padding-top: 10px; display: flex; gap: 8px; align-items: center; transition: color .3s, border-color .3s; }
.q-progress span { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; font-size: 10px; }
.q-progress .is-active, .q-progress .is-done { color: var(--ink); border-color: var(--red); }
.q-progress .is-done span { background: var(--red); color: #fff; border-color: var(--red); }
.q-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .q-step:not(.is-active) { display: none; }
.no-js-sep, .q-step + .q-step { margin-top: 0; }
html:not(.js) .q-step + .q-step { margin-top: 36px; padding-top: 28px; border-top: 1px dashed var(--rule-strong); }
html:not(.js) [data-next], html:not(.js) [data-prev], html:not(.js) .q-progress { display: none; }
legend { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
legend .mono { color: var(--red); font-size: 11px; }
.field { margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.f-label abbr { color: var(--red); text-decoration: none; }
.opt { color: var(--ink-3); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], textarea {
  width: 100%; font: 400 16px var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid var(--rule-strong); border-radius: 0; padding: 13px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 22, 29, .25); }
input::placeholder, textarea::placeholder { color: #8a92a5; }
.field.has-error input, .field.has-error .radio-grid { border-color: var(--red); }
.err { color: var(--red-dark); font-size: 13.5px; margin-top: 6px; font-weight: 500; }
.radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 1.5px solid transparent; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio span { display: flex; align-items: center; min-height: 56px; padding: 10px 12px 10px 34px; background: var(--white); border: 1.5px solid var(--rule-strong); font-size: 14px; font-weight: 500; line-height: 1.25; position: relative; transition: all .2s; }
.radio span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; border: 1.5px solid var(--ink); transform: translateY(-50%); }
.radio input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.radio input:checked + span::before { background: var(--red); border-color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.drop { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1.5px dashed var(--rule-strong); background: var(--white); cursor: pointer; transition: border-color .2s; }
.drop:hover { border-color: var(--ink); }
.drop svg { width: 36px; height: 36px; flex: none; }
.drop svg path { fill: none; stroke: var(--red); stroke-width: 2; }
.drop-txt { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.drop-txt .mono { font-size: 10px; color: var(--ink-3); font-weight: 400; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-input:focus-visible + .drop, .drop:has(+ .file-input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rgpd { font-size: 13px; color: var(--ink-2); }
.q-nav { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* footer */
.site-footer { background: var(--ink); color: #dfe3ec; padding: 64px 0 28px; overflow: hidden; }
.foot-big { font-weight: 800; font-size: clamp(56px, 15vw, 220px); letter-spacing: -.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); margin-bottom: 48px; white-space: nowrap; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot-grid h2 { font-size: 11px; color: #ff9fa3; margin-bottom: 12px; letter-spacing: .08em; }
.foot-grid address { font-style: normal; }
.foot-grid a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.foot-grid a:hover { border-color: #fff; }
.foot-brand img { width: 64px; height: 64px; margin-bottom: 16px; }
.foot-brand p { max-width: 26em; color: #b9c0d0; }
.cartouche-foot { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; border: 1px solid rgba(255,255,255,.25); font-size: 11px; }
.cartouche-foot > * { padding: 12px 18px; border-right: 1px solid rgba(255,255,255,.25); color: #dfe3ec; text-decoration: none; }
.cartouche-foot > *:last-child { border-right: 0; }
.cartouche-foot a:hover { background: rgba(255,255,255,.08); }

/* motion — elements are only hidden when JS + GSAP are active */
.anim .reveal { opacity: 0; transform: translateY(24px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .svc-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .counters li:nth-child(2) { border-right: 0; }
  .counters li:nth-child(3) { padding-left: 0; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; background: transparent; border: 1.5px solid var(--ink); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .25s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: flex; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .nav .btn { margin-top: 16px; }
  html:not(.js) .nav { position: static; display: flex; }
  .hero-grid, .zone-grid, .devis-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .method-line { display: none; }
  .steps li { border-top: 1.5px solid var(--red); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-s { display: none; }
  .sheet { margin-right: 0; }
  .hero-sheet { padding-bottom: 0; }
  .hero-detail { position: relative; width: 62%; margin: 20px 0 0 auto; }
  .svc-grid, .proj-grid { grid-template-columns: 1fr; }
  .counters li { padding: 22px 14px 22px 0; }
  .counters li:nth-child(even) { padding-left: 14px; }
  .clients { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .radio-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .video-box video { aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr; }
  .cartouche-foot { grid-template-columns: 1fr 1fr; }
  .cartouche-foot > *:nth-child(2) { border-right: 0; }
  .cartouche-foot > *:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
  .hero-meta div { grid-template-columns: 90px 1fr; }
  .brand-txt .mono { display: none; }
  .q-nav .btn { flex: 1; }
}
@media (max-width: 380px) {
  .radio-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .topbar-in { font-size: 10px; }
}


/* =================== MULTI-PAGE ADDITIONS =================== */
.link-arrow { display: inline-flex; gap: .5em; align-items: center; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
.link-arrow:hover { color: var(--red); }
.svc .link-arrow { margin-top: 14px; font-size: 11px; border: 0; color: var(--red); }
.svc h3 a { text-decoration: none; color: inherit; }
.stretch::after { content: ""; position: absolute; inset: 0; }
.svc:focus-within { outline: 2px solid var(--red); outline-offset: -2px; }
.svc h3 a:focus-visible { outline: none; }

/* page banner + breadcrumb */
.page-banner { position: relative; padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--rule-strong); background: linear-gradient(90deg, rgba(253,253,251,.85), rgba(253,253,251,.2)); }
.pb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 40px; align-items: end; }
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); font-size: 11px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); }
.h-page { font-size: clamp(40px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: .95; margin-bottom: 18px; }
.pb-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 36em; margin: 0; }
.pb-draw { border: 1px solid var(--rule-strong); background: var(--white); padding: 18px; position: relative; }
.pb-draw:empty { display: none; }
.pb-svg { width: 100%; height: auto; }

/* call band */
.call-band { background-color: var(--red); color: #fff; position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.cb-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.cb-k { color: #ffe1e3; margin: 0 0 8px; }
.cb-title { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0 0 10px; }
.cb-hours { margin: 0; color: #fff; font-size: 11px; }
.cb-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cb-tel { color: #fff; text-decoration: none; font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; display: flex; flex-direction: column; line-height: 1.1; }
.cb-tel .mono { font-size: 10.5px; color: #ffe1e3; }
.cb-tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.call-band .btn-red { background: #fff; color: var(--red); }
.call-band .btn-red:hover { background: var(--ink); color: #fff; }
.call-band :focus-visible { outline-color: #fff; }

/* footer columns */
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid p { margin: 0 0 10px; }
.foot-grid address { margin-bottom: 10px; }

/* intro / why */
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-txt { font-size: 18px; color: var(--ink-2); }
.intro-txt .contact-spec { margin-top: 28px; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); }
.why-grid li { padding: 24px; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: rgba(253,253,251,.7); }
.why-grid h3 { font-size: 20px; margin: 18px 0 10px; }
.why-grid p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* services page */
.subnav { position: sticky; top: 72px; z-index: 40; background: rgba(245,244,239,.95); border-bottom: 1px solid var(--rule-strong); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.subnav a { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; padding: 14px 12px; text-decoration: none; font-weight: 500; font-size: 14.5px; border-bottom: 2px solid transparent; }
.subnav a .mono { color: var(--red); font-size: 10px; }
.subnav a:hover { border-color: var(--red); }
.svc-detail { scroll-margin-top: 130px; }
.svc-detail.is-alt { background: rgba(253,253,251,.6); }
.sd-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.is-alt .sd-sheet { order: 2; }
.sd-sheet { position: relative; background: var(--white); border: 1px solid var(--rule-strong); }
.sd-svg { width: 100%; height: auto; padding: clamp(18px, 4vw, 48px); }
.sd-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 28px; }
.sd-lists h3 { font-size: 11px; color: var(--ink-3); margin-bottom: 10px; }
.check { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.check li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.check li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; background: var(--red); }

/* placeholders (no photos yet) */
.ph-tile { background: var(--paper-2); }
.ph-draw { position: absolute; left: 12%; top: 14%; width: 76%; height: auto; }
.ph-draw [class^="s-"], .ph-draw [class*=" s-"] { stroke: var(--ink-3) !important; }
.ph-draw .s-red { stroke: var(--red) !important; }
.video-box { min-height: 220px; }
.video-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; pointer-events: none;
  background-color: #18213a; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.vp-svg { width: min(280px, 50%); height: auto; }
.video-ph .vp-svg [class^="s-"], .video-ph .vp-svg [class*=" s-"] { stroke: rgba(255,255,255,.75) !important; }
.video-ph .ph-label { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* envoi banners */
.envoi { border: 1.5px solid; padding: 16px 20px; margin-bottom: 40px; font-size: 16px; }
.envoi:focus { outline: none; }
.envoi-ok { border-color: #1d7a46; background: #eaf6ef; color: #145a33; }
.envoi-err { border-color: var(--red); background: #fdeced; color: var(--red-dark); }
.envoi a { color: inherit; font-weight: 600; }

/* legal */
.legal-grid { max-width: 820px; }
.legal-txt h2 { font-size: 26px; font-weight: 700; margin: 40px 0 14px; }
.legal-txt h2:first-child { margin-top: 0; }
.legal-txt p { color: var(--ink-2); }
.legal-dl div { grid-template-columns: minmax(120px, 210px) 1fr; }

@media (max-width: 1080px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 920px) {
  .pb-grid, .intro-grid, .sd-grid { grid-template-columns: 1fr; }
  .pb-draw { max-width: 300px; }
  .is-alt .sd-sheet { order: 0; }
}
@media (max-width: 640px) {
  .why-grid, .sd-lists { grid-template-columns: 1fr; }
  .pb-draw { display: none; }
  .cb-actions { width: 100%; }
  .cb-actions .btn { width: 100%; }
  .legal-dl div { grid-template-columns: 1fr; gap: 2px; }
}
input, textarea, select, legend, .envoi { scroll-margin-top: 120px; }
/* nav collapses earlier: 6 items + CTA need ~1100px */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; background: transparent; border: 1.5px solid var(--ink); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .25s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: flex; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .nav .btn { margin-top: 16px; }
  html:not(.js) .nav { position: static; display: flex; }
}
.nav ul a[aria-current="page"] { border-bottom-color: var(--red); color: var(--red); }
@media (max-width: 640px) { .proj-media { aspect-ratio: 4 / 3; } }

/* Site photo under the drawing on the services sheets (31/10/2026) */
.sd-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 18px; border: 1px solid var(--line, #1f2a44); }
