/* ==========================================================================
   VENETZ ENERGY — feuille de style
   Couleurs reprises du site d'origine : rouge #FF5252, encre #1F1F1F, blanc.
   ========================================================================== */

:root {
  --red: #ff5252;
  --red-deep: #e8403f;
  --ink: #1f1f1f;
  --ink-2: #3a3a3a;
  --muted: #6d6a66;
  --paper: #f5f3ef;
  --paper-2: #ece9e3;
  --white: #ffffff;
  --night: #0a0e13;
  --night-2: #111821;
  --panel: #121b28;
  --on-night: #eeece8;
  --on-night-muted: #9aa1a9;
  --line: rgba(31, 31, 31, .14);
  --line-night: rgba(238, 236, 232, .14);

  --f-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 8px, 18.5px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* --------- petits éléments récurrents --------- */
.sq { display: inline-block; width: .62em; height: .62em; background: var(--red); vertical-align: baseline; }
.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.label {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; color: var(--muted);
}
.label::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
.on-night .label { color: var(--on-night-muted); }

.h-sec {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(46px, 8.2vw, 128px); line-height: 1.13; letter-spacing: -.012em; margin: 18px 0 0;
}
.h-sec em { font-style: normal; color: var(--red); }
.h-sec.long { font-size: clamp(38px, 7.4vw, 118px); }
.lead { font-size: clamp(19px, 1.5vw + 8px, 26px); line-height: 1.4; font-weight: 500; }

.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px 15px 24px; border: 1.5px solid var(--b); background: var(--b); color: #fff;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  position: relative; overflow: hidden; cursor: pointer; transition: color .35s var(--ease), border-color .35s;
  isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateY(0); }
.btn:hover { border-color: var(--ink); }
.btn .arr { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; --b: currentColor; color: inherit; }
.btn--ghost::after { background: var(--red); }
.btn--ghost:hover { color: #fff; border-color: var(--red); }
.on-night .btn::after { background: #fff; }
.on-night .btn:hover { color: var(--ink); border-color: #fff; }
.on-night .btn--ghost::after { background: var(--red); }
.on-night .btn--ghost:hover { color: #fff; border-color: var(--red); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: transform .5s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { background: rgba(245, 243, 239, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header.is-hidden { transform: translateY(-105%); }
.header.is-intro { opacity: 0; transform: translateY(-20px); }
.header { opacity: 1; }

.brand { display: flex; align-items: center; text-decoration: none; background: #fff; padding: 7px 10px 6px; line-height: 0; flex: none; }
.brand img { height: 38px; width: auto; }
.brand .brand-txt { display: none; font-family: var(--f-display); color: var(--ink); line-height: 1; font-size: 18px; }
.brand.no-img img { display: none; }
.brand.no-img .brand-txt { display: block; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a.nl { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav a.nl::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a.nl:hover::after, .nav a.nl.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .tel { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 10px 14px; text-decoration: none; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; transition: background .3s; }
.nav .tel:hover { background: var(--ink); }
.header.is-solid .nav .tel:hover { background: var(--ink); }

.burger { display: none; background: none; border: 0; width: 46px; height: 46px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 24px) var(--gutter) 28px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.mmenu ol { list-style: none; margin: 0; padding: 0; }
.mmenu li { overflow: hidden; border-bottom: 1px solid var(--line-night); }
.mmenu li a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; text-decoration: none; font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 9vw, 60px); text-transform: uppercase; line-height: 1; transform: translateY(105%); transition: transform .6s var(--ease-out); }
.mmenu li a small { font-family: var(--f-mono); font-size: 12px; color: var(--red); letter-spacing: .08em; }
.menu-open .mmenu li a { transform: none; }
.menu-open .mmenu li:nth-child(1) a { transition-delay: .18s; }
.menu-open .mmenu li:nth-child(2) a { transition-delay: .23s; }
.menu-open .mmenu li:nth-child(3) a { transition-delay: .28s; }
.menu-open .mmenu li:nth-child(4) a { transition-delay: .33s; }
.menu-open .mmenu li:nth-child(5) a { transition-delay: .38s; }
.menu-open .mmenu li:nth-child(6) a { transition-delay: .43s; }
.menu-open .mmenu li:nth-child(7) a { transition-delay: .48s; }
.mmenu .mm-foot { display: grid; gap: 6px; font-family: var(--f-mono); font-size: 13px; color: var(--on-night-muted); }
.mmenu .mm-foot a { color: var(--on-night); text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   HERO — « les panneaux s'allument »
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1200px;
  background: #06090d; color: #fff; overflow: hidden; isolation: isolate;
  touch-action: pan-y;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 0; z-index: -1; opacity: 0; }
.no-canvas .hero__fallback { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6, 9, 13, .92) 0%, rgba(6, 9, 13, .55) 32%, rgba(6, 9, 13, 0) 62%),
    linear-gradient(to bottom, rgba(6, 9, 13, .55) 0%, rgba(6, 9, 13, 0) 18%);
}
.hero__sun {
  position: absolute; left: 0; top: 0; z-index: 3; width: 40px; height: 40px; background: var(--red);
  transform-origin: 0 0; opacity: 0; pointer-events: none; will-change: transform;
  box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
}
.hero__sun.is-on { opacity: 1; box-shadow: 0 0 40px 12px rgba(255, 82, 82, .55), 0 0 140px 60px rgba(255, 140, 90, .25); transition: opacity .5s, box-shadow 1.2s; }
.hero__sun.is-flying { transition: transform 1s var(--ease), box-shadow .8s, opacity .3s; box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }

.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  padding-bottom: clamp(28px, 6vh, 72px);
}
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__kicker { color: rgba(255, 255, 255, .78); }
.hero__kicker::before { background: var(--red); }
.hero h1 {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase; margin: 18px 0 0;
  font-size: clamp(58px, 12.2vw, 196px); line-height: 1.15; letter-spacing: -.015em;
}
.hero h1 .ln { display: block; overflow: hidden; padding: .18em 0 .04em; margin-top: -.18em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(135%); transition: transform 1.1s var(--ease-out); }
.hero.is-ready h1 .ln > span { transform: none; }
.hero.is-ready h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .period { display: inline-block; width: .19em; height: .19em; background: var(--red); margin-left: .06em; vertical-align: baseline; opacity: 0; }
.hero h1 .period.is-on { opacity: 1; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(18px, 3vh, 34px); flex-wrap: wrap; }
.hero__lead { max-width: 560px; color: rgba(255, 255, 255, .86); font-size: clamp(17px, 1.1vw + 8px, 21px); line-height: 1.5; margin: 0; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero__fade { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hero.is-ready .hero__fade { opacity: 1; transform: none; }
.hero.is-ready .hero__fade.d1 { transition-delay: .35s; }
.hero.is-ready .hero__fade.d2 { transition-delay: .5s; }
.hero.is-ready .hero__fade.d3 { transition-delay: .65s; }
.hero__meta { text-align: right; color: rgba(255, 255, 255, .62); display: grid; gap: 4px; }
.hero__meta b { color: #fff; font-weight: 500; }
.hero__hint { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 18px); z-index: 2; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 10px; pointer-events: none; }
.hero__hint i { width: 10px; height: 10px; background: var(--red); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.scrollcue { position: absolute; left: 50%; bottom: 0; z-index: 2; width: 1px; height: 64px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.scrollcue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.sec { position: relative; padding: clamp(80px, 10vw, 150px) 0; }
.sec--tight { padding: clamp(64px, 8vw, 120px) 0; }
.on-night { background: var(--night); color: var(--on-night); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: clamp(40px, 6vw, 88px); }

/* Révélations au défilement */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em 0 .06em; margin: -.2em 0 -.06em; }
.split .w > span { display: inline-block; transform: translateY(135%); transition: transform .95s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .w > span { transform: none; }

/* Photos qui apparaissent cellule par cellule */
.cellimg { position: relative; overflow: hidden; background: var(--paper-2); }
.cellimg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.cellimg.is-in img { transform: scale(1); }
.cellimg .cov { position: absolute; inset: -1px; display: grid; pointer-events: none; }
.cellimg .cov i { background: var(--cov, var(--paper)); transition: transform .55s var(--ease); transition-delay: var(--d); }
.cellimg.is-in .cov i { transform: scale(0); }
.on-night .cellimg { background: var(--night-2); }
.on-night .cellimg .cov { --cov: var(--night); }

/* ==========================================================================
   01 — Intro
   ========================================================================== */
.intro__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 72px); }
.scrub { font-size: clamp(26px, 2.9vw + 6px, 58px); line-height: 1.16; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.scrub .sw { color: rgba(31, 31, 31, .16); transition: color .35s; }
.scrub .sw.on { color: var(--ink); }
.scrub .sw.hl.on { color: var(--red); }
.aud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 48px); padding: 0; list-style: none; }
.aud li { border: 1.5px solid var(--ink); padding: 8px 14px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.aud li b { color: var(--red); font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 9vw, 130px); border-top: 1.5px solid var(--ink); }
.fact { padding: 22px 22px 0 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 22px; }
.fact:last-child { border-right: 0; }
.fact .num { font-family: var(--f-display); font-weight: 500; font-size: clamp(56px, 6vw, 104px); line-height: 1; letter-spacing: -.02em; display: flex; align-items: flex-start; gap: 4px; }
.fact .num sup { font-size: .38em; color: var(--red); line-height: 1.3; }
.fact p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.45; max-width: 24ch; }

.strip { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; }
.strip .cellimg { aspect-ratio: 1280 / 240; }
.strip figcaption { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted); }

/* ==========================================================================
   02 — Bureau d'études (esthétique « plan technique »)
   ========================================================================== */
.bureau {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(31, 31, 31, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 31, 31, .055) 1px, transparent 1px),
    linear-gradient(rgba(31, 31, 31, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 31, 31, .03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  border-top: 1.5px solid var(--ink);
}
.bureau__banner { aspect-ratio: 1280 / 205; margin-bottom: clamp(48px, 6vw, 90px); }
.bureau__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.bureau__q { font-size: clamp(22px, 1.4vw + 12px, 34px); line-height: 1.25; font-weight: 500; margin: 0 0 22px; }
.bureau__q strong { font-weight: 600; background: linear-gradient(transparent 62%, rgba(255, 82, 82, .35) 62%); }
.stamp {
  display: inline-grid; gap: 2px; margin: 34px 0 30px; padding: 12px 18px; border: 2px solid var(--red); color: var(--red);
  font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; line-height: 1.35;
  transform: rotate(-4deg); position: relative;
}
.stamp::after { content: ""; position: absolute; inset: 4px; border: 1px solid var(--red); opacity: .6; pointer-events: none; }
.stamp b { font-size: 17px; font-weight: 600; }
.bureau__txt { color: var(--ink-2); max-width: 52ch; }

.plan { border: 1.5px solid var(--ink); background: rgba(255, 255, 255, .72); }
.plan__head { display: grid; grid-template-columns: 1fr auto; border-bottom: 1.5px solid var(--ink); }
.plan__head > * { padding: 12px 16px; margin: 0; }
.plan__head h3 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
.plan__head span { border-left: 1.5px solid var(--ink); display: flex; align-items: center; }
.plan ol { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.plan li { display: grid; grid-template-columns: 64px 1fr 28px; align-items: center; border-bottom: 1px solid var(--line); position: relative; min-height: 58px; transition: background .3s; }
.plan li:last-child { border-bottom: 0; }
.plan li::before { counter-increment: p; content: counter(p, decimal-leading-zero); font-family: var(--f-mono); font-size: 13px; color: var(--muted); padding-left: 16px; }
.plan li span { font-size: clamp(17px, .6vw + 13px, 21px); font-weight: 500; padding: 12px 0; }
.plan li span small { display: block; font-weight: 400; color: var(--muted); font-size: 14.5px; }
.plan li i { width: 10px; height: 10px; background: var(--red); transform: scale(0); transition: transform .35s var(--ease); }
.plan li:hover { background: rgba(255, 82, 82, .07); }
.plan li:hover i { transform: scale(1); }
.plan li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.plan.is-in li::after { transform: scaleX(1); }
.plan li:last-child::after { display: none; }

.drawing { margin-top: clamp(48px, 6vw, 80px); border: 1.5px solid var(--ink); background: rgba(255, 255, 255, .6); position: relative; }
.drawing svg { display: block; width: 100%; height: auto; }
.drawing .d-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.drawing .d-red { stroke: var(--red); stroke-width: 2.2; }
.drawing .d-thin { stroke-width: 1; }
.drawing .d-dash { stroke-dasharray: 1; }
.drawing .d-fill { fill: var(--red); opacity: 0; transition: opacity .6s; }
.drawing .d-pv { fill: #16202e; opacity: 0; transition: opacity .5s; }
.drawing text { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; fill: var(--ink); text-transform: uppercase; opacity: 0; transition: opacity .6s; }
.drawing text.t-red { fill: var(--red); }
.drawing.is-in .d-line { stroke-dashoffset: 0; }
.drawing.is-in .d-fill, .drawing.is-in text { opacity: 1; }
.drawing.is-in .d-pv { opacity: 1; }
.drawing .flow { stroke-dasharray: 5 7; animation: flow 1.2s linear infinite; opacity: 0; transition: opacity .6s; }
.drawing.is-in .flow { opacity: 1; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.drawing figcaption { position: absolute; left: 16px; bottom: 12px; color: var(--muted); }

/* ==========================================================================
   03 — Installations PV
   ========================================================================== */
.inst__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.inst__top p { color: var(--on-night-muted); margin: 0; max-width: 46ch; }
.seg { display: inline-grid; grid-auto-flow: column; border: 1.5px solid var(--on-night); position: relative; margin-bottom: 36px; max-width: 100%; }
.seg button { background: none; border: 0; padding: 14px 20px; cursor: pointer; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--on-night); position: relative; z-index: 1; transition: color .35s; white-space: nowrap; }
.seg button + button { border-left: 1.5px solid var(--line-night); }
.seg button[aria-pressed="true"] { color: #fff; }
.seg .seg__ind { position: absolute; top: 0; bottom: 0; left: 0; background: var(--red); transition: transform .55s var(--ease), width .55s var(--ease); z-index: 0; }
.seg small { display: block; font-size: 10.5px; opacity: .7; letter-spacing: .06em; margin-top: 2px; }

.inst__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.inst__panes { position: relative; min-height: 290px; }
.pane { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease-out); pointer-events: none; }
.pane.is-on { position: relative; opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.pane .who { color: var(--red); }
.pane h3 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.08; margin: 14px 0 18px; }
.pane p { margin: 0 0 14px; color: rgba(238, 236, 232, .86); max-width: 52ch; }
.pane p.big { font-size: clamp(20px, 1vw + 12px, 26px); line-height: 1.35; color: #fff; font-weight: 500; }

.flowchart { margin-top: 34px; }
.flowchart ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; perspective: 800px; }
.flowchart li { position: relative; aspect-ratio: 1 / 1.08; transform-style: preserve-3d; transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.flowchart li .f { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; font-size: 13.5px; line-height: 1.2; font-weight: 500; }
.flowchart li .f small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.flowchart li .f--us { background: var(--red); color: #fff; }
.flowchart li .f--you { background: transparent; border: 1.5px solid var(--on-night); color: var(--on-night); transform: rotateY(180deg); }
.flowchart li .f--both { background: linear-gradient(135deg, var(--red) 0 50%, transparent 50%); border: 1.5px solid var(--red); color: #fff; transform: rotateX(180deg); }
.flowchart li.is-you { transform: rotateY(180deg); }
.flowchart li.is-both { transform: rotateX(180deg); }
.flowchart .legend { display: flex; gap: 18px; margin-top: 14px; color: var(--on-night-muted); flex-wrap: wrap; }
.flowchart .legend span { display: inline-flex; align-items: center; gap: 8px; }
.flowchart .legend i { width: 12px; height: 12px; display: inline-block; }
.flowchart .legend i.us { background: var(--red); }
.flowchart .legend i.you { border: 1.5px solid var(--on-night); }
.flowchart .legend i.both { background: linear-gradient(135deg, var(--red) 0 50%, transparent 50%); border: 1.5px solid var(--red); }

.inst__visual { position: relative; aspect-ratio: 16 / 11; }
.inst__visual .cellimg { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.inst__visual .cellimg.is-show { opacity: 1; }
.inst__visual .tag { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--night); padding: 10px 14px; color: var(--on-night); }
.inst__note { margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line-night); display: grid; grid-template-columns: auto 1fr; gap: 18px; color: var(--on-night-muted); font-size: 16px; }
.inst__note b { color: var(--on-night); font-weight: 500; }

/* ==========================================================================
   04 — Références
   ========================================================================== */
.refs__marquee { overflow: hidden; margin: 0 0 clamp(48px, 6vw, 90px); position: relative; }
.refs__marquee .track { display: flex; gap: 10px; width: max-content; animation: marquee 70s linear infinite; }
.refs__marquee:hover .track { animation-play-state: paused; }
.refs__marquee button { border: 0; padding: 0; background: var(--paper-2); width: clamp(210px, 22vw, 340px); aspect-ratio: 4 / 3; cursor: zoom-in; overflow: hidden; flex: none; }
.refs__marquee button img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; filter: saturate(.85); }
.refs__marquee button:hover img { transform: scale(1.06); filter: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
.refs__mhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }

.refs__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1.5px solid var(--ink); background: transparent; padding: 9px 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip b { font-weight: 500; color: var(--red); margin-left: 6px; transition: color .3s; }
.chip:hover { border-color: var(--red); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] b { color: var(--red); }

.refs__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.rlist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rrow { border-bottom: 1px solid var(--line); }
.rrow[hidden] { display: none; }
.rlist.is-collapsed .rrow[data-more] { display: none; }
.refs__more { margin-top: 22px; }
.refs__more[hidden] { display: none; }
.rrow button {
  width: 100%; background: none; border: 0; padding: 16px 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; position: relative;
}
.rrow .idx { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.rrow .loc { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 44px); line-height: 1; letter-spacing: -.005em; transition: transform .45s var(--ease), color .3s; display: block; }
.rrow .loc sup { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); vertical-align: top; margin-left: 6px; font-weight: 400; }
.rrow .desc { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; margin-top: 6px; }
.rrow .meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rrow .tag { border: 1px solid currentColor; padding: 3px 7px; white-space: nowrap; }
.rrow .tag.int { color: var(--ink); }
.rrow .tag.auto { color: var(--red); }
.rrow .thumb { display: none; }
.rrow button::before { content: ""; position: absolute; left: -12px; top: 50%; width: 8px; height: 8px; background: var(--red); transform: translateY(-50%) scale(0); transition: transform .35s var(--ease); }
.rrow button:hover::before, .rrow.is-hot button::before { transform: translateY(-50%) scale(1); }
.rrow button:hover .loc, .rrow.is-hot .loc { transform: translateX(10px); color: var(--red); }

.rmap { position: sticky; top: 100px; border: 1.5px solid var(--ink); background: var(--white); }
.rmap__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1.5px solid var(--ink); }
.rmap svg { display: block; width: 100%; height: auto; }
.rmap .grid line { stroke: rgba(31, 31, 31, .08); stroke-width: 1; }
.rmap .grid text { font-family: var(--f-mono); font-size: 10px; fill: rgba(31, 31, 31, .4); }
.rmap .lake { fill: #dfe6ec; stroke: #c3ced7; stroke-width: 1; }
.rmap .lake-line { fill: none; stroke: #c9d5de; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.rmap .lake-lbl { font-family: var(--f-mono); font-size: 10px; fill: #8a9aa8; letter-spacing: .08em; text-transform: uppercase; }
.rmap .ct { font-family: var(--f-display); font-size: 64px; fill: rgba(31, 31, 31, .05); font-weight: 600; }
.rmap .pt rect { fill: var(--ink); transition: fill .25s, transform .35s var(--ease); transform-box: fill-box; transform-origin: center; }
.rmap .pt text { font-family: var(--f-mono); font-size: 12px; fill: var(--ink); opacity: 0; transition: opacity .25s; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.rmap .pt.is-hot rect { fill: var(--red); transform: scale(1.8); }
.rmap .pt.is-hot text { opacity: 1; }
.rmap .pt.is-dim rect { fill: rgba(31, 31, 31, .18); }
.rmap .pt { cursor: pointer; }
.rmap .home rect { fill: var(--red); }
.rmap .home text { opacity: 1; fill: var(--red); }
.rmap .pulse { fill: none; stroke: var(--red); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.rmap__foot { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.preview { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s var(--ease-out); overflow: hidden; background: var(--night); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.preview.is-on { opacity: 1; transform: scale(1); }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview span { position: absolute; left: 0; bottom: 0; background: var(--red); color: #fff; padding: 5px 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* Visionneuse */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(8, 11, 15, .96); color: #fff; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); gap: 16px; }
.lb__close { background: none; border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; width: 46px; height: 46px; cursor: pointer; font-size: 22px; line-height: 1; transition: background .3s, border-color .3s; }
.lb__close:hover { background: var(--red); border-color: var(--red); }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); min-height: 0; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; transform: scale(.98); transition: opacity .35s, transform .5s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.lb__stage img.is-on { opacity: 1; transform: none; }
.lb__spin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; background: var(--red); animation: blink .9s steps(2, jump-none) infinite; transform: translate(-50%, -50%); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(10, 14, 19, .6); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lb__nav:hover { background: var(--red); border-color: var(--red); }
.lb__nav.prev { left: var(--gutter); }
.lb__nav.next { right: var(--gutter); }
.lb__nav svg { width: 20px; height: 20px; }
.lb__cap { padding: 16px var(--gutter) 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.lb__cap h4 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 3vw, 38px); margin: 0; line-height: 1; }
.lb__cap p { margin: 6px 0 0; color: rgba(255, 255, 255, .7); font-size: 15.5px; max-width: 70ch; }
.lb__count { font-family: var(--f-mono); font-size: 13px; color: rgba(255, 255, 255, .7); white-space: nowrap; }

/* ==========================================================================
   05 — Présentation & équipe
   ========================================================================== */
.pres__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.pres__txt p { margin: 0 0 16px; max-width: 54ch; }
.timeline { position: relative; margin-top: 10px; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.timeline.is-in ol::before { transform: scaleX(1); }
.timeline li { position: relative; padding: 30px 12px 0 0; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease-out); transition-delay: calc(.3s + var(--i) * 180ms); }
.timeline.is-in li { opacity: 1; transform: none; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; background: var(--paper); border: 1.5px solid var(--ink); }
.timeline li.key::before { background: var(--red); border-color: var(--red); }
.timeline b { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 32px); line-height: 1; display: block; }
.timeline span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.35; margin-top: 8px; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(70px, 9vw, 130px); border-top: 1.5px solid var(--ink); }
.value { padding: 26px 26px 0 0; }
.value + .value { padding-left: 26px; border-left: 1px solid var(--line); }
.value h3 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 60px); line-height: 1.06; margin: 14px 0 16px; }
.value p { margin: 0; color: var(--ink-2); max-width: 36ch; }

.team { margin-top: clamp(80px, 10vw, 150px); }
.team__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.team__head h3 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(40px, 5vw, 80px); line-height: 1.04; margin: 12px 0 0; }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.member { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.member .ph { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--paper-2); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.04); transition: filter .7s, transform 1.2s var(--ease-out); }
.member:hover .ph img, .member.is-color .ph img { filter: none; transform: scale(1.03); }
.member .pct { position: absolute; right: 0; top: 0; background: var(--red); color: #fff; padding: 6px 9px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; z-index: 1; }
.member .bd { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.member h4 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0; }
.member h4 small { display: block; font-family: var(--f-body); text-transform: none; font-size: 14px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.member .role { color: var(--red); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.member dl { margin: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.member dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.member dd { margin: 2px 0 0; }
.langs { display: flex; flex-wrap: wrap; gap: 5px; }
.langs span { border: 1px solid var(--line); padding: 2px 7px; font-size: 13px; }
.member .more { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.member .more button { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.member .more button i { width: 14px; height: 14px; position: relative; }
.member .more button i::before, .member .more button i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--red); transition: transform .35s var(--ease); }
.member .more button i::after { transform: rotate(90deg); }
.member .more button[aria-expanded="true"] i::after { transform: rotate(0); }
.member .more .xp { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.member .more .xp > div { overflow: hidden; }
.member .more .xp p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.member .more button[aria-expanded="true"] + .xp { grid-template-rows: 1fr; }
.member .contact { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: 13px; }
.member .contact a { text-decoration: none; border-bottom: 1px solid var(--red); }
.member .contact a:hover { color: var(--red); }

/* ==========================================================================
   Certifications / partenaires
   ========================================================================== */
.certs { border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: var(--white); }
.certs .wrap { display: grid; grid-template-columns: auto 1fr; align-items: stretch; }
.certs__lbl { padding: 26px 30px 26px 0; border-right: 1px solid var(--line); display: flex; align-items: center; }
.certs__row { display: flex; align-items: center; flex-wrap: wrap; }
.certs__row a { display: flex; align-items: center; gap: 16px; padding: 18px 28px; text-decoration: none; border-right: 1px solid var(--line); min-height: 100px; transition: background .3s; }
.certs__row a:hover { background: var(--paper); }
.certs__row img { height: 62px; width: auto; }
.certs__row a span { font-size: 14.5px; line-height: 1.3; color: var(--muted); max-width: 22ch; }
.certs__row a span b { display: block; color: var(--ink); font-weight: 600; }
.certs__row .li { font-family: var(--f-display); font-size: 26px; text-transform: uppercase; white-space: nowrap; }
.certs__row .li b { color: var(--red); display: inline; }

/* ==========================================================================
   06 — Liens utiles
   ========================================================================== */
.tools__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); }
.tools__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.tools__list a { display: grid; grid-template-columns: 110px minmax(0, 1fr) 40px; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; isolation: isolate; transition: color .35s, padding .45s var(--ease); }
.tools__list a::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.tools__list a:hover { color: #fff; padding-left: 16px; padding-right: 16px; }
.tools__list a:hover::before { transform: scaleY(1); }
.tools__list .who { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; color: var(--red); }
.tools__list .what { font-size: clamp(18px, .7vw + 13px, 23px); font-weight: 500; line-height: 1.3; }
.tools__list svg { width: 22px; height: 22px; justify-self: end; transition: transform .35s var(--ease); }
.tools__list a:hover svg { transform: translate(3px, -3px); }

/* ==========================================================================
   07 — Contact
   ========================================================================== */
.contact { position: relative; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .42; }
.contact .wrap { position: relative; z-index: 1; }
.contact__big { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(56px, 11vw, 180px); line-height: 1.1; letter-spacing: -.015em; margin: 18px 0 clamp(40px, 6vw, 80px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.cinfo { display: grid; gap: 26px; }
.cinfo a.big { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3.2vw, 50px); line-height: 1; text-decoration: none; display: inline-flex; align-items: center; gap: 14px; transition: color .3s; }
.cinfo a.big:hover { color: var(--red); }
.cinfo a.mail { font-size: clamp(20px, 1.6vw + 8px, 30px); font-family: var(--f-body); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--red); justify-self: start; }
.cinfo .addr { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line-night); padding-top: 22px; font-size: 16px; color: var(--on-night-muted); }
.cinfo .addr b { color: var(--on-night); font-weight: 500; display: block; }
.map { aspect-ratio: 16 / 10; border: 1px solid var(--line-night); overflow: hidden; background: var(--night-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }

.form { border: 1.5px solid var(--line-night); padding: clamp(20px, 3vw, 36px); background: rgba(10, 14, 19, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.form h3 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(28px, 2.4vw, 38px); margin: 0 0 6px; line-height: 1; }
.form > p { margin: 0 0 24px; color: var(--on-night-muted); font-size: 15px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line-night); color: var(--on-night);
  font: inherit; font-size: 17px; padding: 10px 0; border-radius: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 26px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types label { cursor: pointer; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: inline-block; border: 1.5px solid var(--line-night); padding: 8px 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--on-night); transition: background .3s, border-color .3s; }
.types input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.types input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form .btn { margin-top: 26px; }
.form .hint { margin: 12px 0 0; font-size: 13.5px; color: var(--on-night-muted); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { background: var(--night); color: var(--on-night-muted); padding: clamp(60px, 7vw, 100px) 0 28px; border-top: 1px solid var(--line-night); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); align-items: start; }
.footer__mark { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: #fff; }
.footer__mark img { width: 100%; height: 100%; object-fit: cover; }
.footer h5 { font-family: var(--f-mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.footer h5::before { content: ""; width: 7px; height: 7px; background: var(--red); }
.footer p { margin: 0 0 6px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--red); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__word { margin-top: clamp(50px, 7vw, 100px); font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(54px, 15.4vw, 250px); line-height: .8; color: transparent; -webkit-text-stroke: 1.2px rgba(238, 236, 232, .22); white-space: nowrap; letter-spacing: -.02em; user-select: none; display: flex; align-items: flex-end; gap: .04em; }
.footer__word i { width: .16em; height: .16em; background: var(--red); display: inline-block; margin-bottom: .02em; }
.footer__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-night); font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }

/* ==========================================================================
   Page FAQ
   ========================================================================== */
.phero { position: relative; background: #06090d; color: #fff; overflow: hidden; padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(50px, 6vw, 90px); }
.phero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 9, 13, .9), rgba(6, 9, 13, .35)); pointer-events: none; }
.phero .wrap { position: relative; z-index: 2; pointer-events: none; }
.phero .wrap > * { pointer-events: auto; }
.phero h1 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(52px, 10vw, 160px); line-height: .88; letter-spacing: -.015em; margin: 16px 0 22px; }
.phero .kicker { color: rgba(255, 255, 255, .72); }
.search { margin-top: 28px; display: flex; align-items: center; gap: 12px; max-width: 640px; border-bottom: 1.5px solid rgba(255, 255, 255, .5); padding: 6px 0; transition: border-color .3s; }
.search:focus-within { border-color: var(--red); }
.search svg { width: 20px; height: 20px; flex: none; color: var(--red); }
.search input { flex: 1; background: none; border: 0; color: #fff; font: inherit; font-size: clamp(18px, 1.4vw + 8px, 24px); padding: 8px 0; outline: 0; min-width: 0; }
.search input::placeholder { color: rgba(255, 255, 255, .45); }
.search .n { font-family: var(--f-mono); font-size: 12px; color: rgba(255, 255, 255, .6); white-space: nowrap; }

.faq__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.slides { position: relative; aspect-ratio: 16 / 9.4; border: 1.5px solid var(--ink); background: var(--white); }
.slides iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.faq__layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 4vw, 70px); align-items: start; margin-top: clamp(60px, 8vw, 120px); }
.toc { position: sticky; top: 100px; }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.toc a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; line-height: 1.3; transition: color .3s; }
.toc a span { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--red); }
.toc a.is-dim { opacity: .35; }

.qa { border-top: 1.5px solid var(--ink); }
.qa:last-child { border-bottom: 1.5px solid var(--ink); }
.qa[hidden] { display: none; }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 22px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .n { font-family: var(--f-mono); font-size: 12.5px; color: var(--red); }
.qa summary h2 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 40px); line-height: 1.1; margin: 0; transition: color .3s; }
.qa summary:hover h2 { color: var(--red); }
.qa summary .pm { width: 44px; height: 44px; border: 1.5px solid var(--ink); position: relative; transition: background .3s, border-color .3s; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); transition: transform .4s var(--ease), background .3s; }
.qa summary .pm::after { transform: rotate(90deg); }
.qa[open] summary .pm { background: var(--red); border-color: var(--red); }
.qa[open] summary .pm::before, .qa[open] summary .pm::after { background: #fff; }
.qa[open] summary .pm::after { transform: rotate(0); }
.qa .ans { padding: 0 0 40px 68px; max-width: 900px; }
.qa .ans h3 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; margin: 30px 0 12px; display: flex; align-items: center; gap: 10px; }
.qa .ans h3::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
.qa .ans h4 { font-size: 18px; font-weight: 600; margin: 22px 0 8px; }
.qa .ans p { margin: 0 0 14px; }
.qa .ans ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.qa .ans ul li { position: relative; padding-left: 22px; }
.qa .ans ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 1.5px; background: var(--red); }
.qa .ans ul ul { margin-top: 8px; }
.qa .ans a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.qa .ans a:hover { color: var(--red); }
.qa .ans .note { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 26px; }
.qa .ans .warn { border-left: 3px solid var(--red); background: rgba(255, 82, 82, .07); padding: 14px 18px; margin: 16px 0; }
.qa .ans .form-ex { font-family: var(--f-mono); font-size: 14px; background: var(--white); border: 1px solid var(--line); padding: 16px 18px; display: grid; gap: 8px; margin: 12px 0 16px; }
.qa .ans .form-ex b { font-weight: 500; color: var(--red); }
.qa .ans .unit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 16px; }
.qa .ans .unit div { background: var(--white); border: 1px solid var(--line); padding: 12px; font-size: 14.5px; line-height: 1.35; }
.qa .ans .unit b { font-family: var(--f-display); font-weight: 500; font-size: 26px; display: block; }
mark { background: rgba(255, 82, 82, .28); color: inherit; padding: 0 1px; }
.qa .ans .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 22px 0 26px; border: 1.5px solid var(--ink); background: var(--white); }
.qa .ans .compare > div { padding: 4px 22px 10px; }
.qa .ans .compare > div + div { border-left: 1px solid var(--line); }
.qa .ans .compare h3 { font-size: 20px; }
.qa .ans .compare p { font-size: 16px; }
.qa .ans ol.steps { list-style: none; margin: 8px 0 16px; padding: 0; counter-reset: st; display: grid; gap: 0; }
.qa .ans ol.steps > li { counter-increment: st; position: relative; padding: 16px 0 18px 58px; border-top: 1px solid var(--line); }
.qa .ans ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 14px; }
.qa .ans ol.steps > li:last-child::before { background: var(--red); }
.qa .ans ol.steps > li::after { content: ""; position: absolute; left: 17px; top: 50px; bottom: -14px; width: 1.5px; background: var(--line); }
.qa .ans ol.steps > li:last-child::after { display: none; }
.qa .ans ul li br { content: ""; display: block; margin-top: 6px; }
.qa .ans .vocab { margin: 6px 0 10px; display: grid; gap: 0; }
.qa .ans .vocab > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.qa .ans .vocab dt { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: 21px; line-height: 1.1; }
.qa .ans .vocab dd { margin: 0; }
.calc { border: 1.5px solid var(--ink); background: var(--white); padding: 18px 20px; margin: 18px 0 8px; }
.calc__row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.calc label { display: grid; gap: 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.calc label span { text-transform: none; letter-spacing: 0; }
.calc input { width: 150px; font-family: var(--f-display); font-size: 34px; font-weight: 500; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 2px 0; color: var(--ink); border-radius: 0; }
.calc input:focus { outline: 0; border-color: var(--red); }
.calc .op { font-family: var(--f-display); font-size: 34px; color: var(--red); padding-bottom: 22px; }
.calc output { font-family: var(--f-display); font-size: clamp(40px, 4vw, 56px); font-weight: 600; line-height: 1; padding-bottom: 20px; display: flex; align-items: baseline; gap: 8px; }
.calc output small { font-family: var(--f-mono); font-size: 13px; color: var(--muted); font-weight: 400; }
.calc__hint { margin: 8px 0 0 !important; font-size: 14.5px; color: var(--muted); }

.faq__empty { display: none; padding: 30px 0; color: var(--muted); }
.faq__empty.is-on { display: block; }
.faq__cta { margin-top: clamp(60px, 8vw, 110px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border: 1.5px solid var(--ink); padding: clamp(22px, 3vw, 40px); background: var(--white); }
.faq__cta h2 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.06; margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav a.nl { display: none; }
  .burger { display: block; }
  .nav { gap: 8px; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: auto 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 32px; }
  .intro__grid, .bureau__grid, .inst__top, .inst__body, .refs__grid, .pres__grid, .tools__grid, .contact__grid, .faq__intro, .faq__layout { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 26px; }
  .rmap { position: relative; top: 0; order: -1; }
  .inst__visual { order: -1; }
  .toc { position: relative; top: 0; }
  .timeline ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline ol::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; transform: scaleY(0); transform-origin: top; }
  .timeline.is-in ol::before { transform: scaleY(1); }
  .timeline li { padding: 0 0 22px 36px; }
  .certs .wrap { grid-template-columns: minmax(0, 1fr); }
  .certs__lbl { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .certs__row a { border-right: 0; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); min-height: 0; }
  .certs__row a:last-child { border-bottom: 0; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip figcaption { writing-mode: horizontal-tb; transform: none; }
}
@media (max-width: 640px) {
  .hero__meta { display: none; }
  .hero__hint { display: none; }
  .hero__ctas .btn { padding: 13px 16px; font-size: 12px; }
  .nav .tel span { display: none; }
  .nav .tel { padding: 10px 12px; }
  .seg { display: grid; grid-auto-flow: row; width: 100%; }
  .seg button { text-align: left; }
  .seg button + button { border-left: 0; border-top: 1.5px solid var(--line-night); }
  .flowchart ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .flowchart li { aspect-ratio: 1 / 1.9; }
  .flowchart li .f { padding: 7px 6px; font-size: 11.5px; }
  .flowchart li .f small { font-size: 9px; }
  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .member { display: grid; grid-template-columns: 42% 1fr; }
  .member .ph { aspect-ratio: auto; min-height: 100%; }
  .member .bd { padding: 14px; }
  .member h4 { font-size: 22px; }
  .member dl .fo { display: none; }
  .rrow button { grid-template-columns: 76px minmax(0, 1fr); padding: 12px 0; }
  .rrow .idx { display: none; }
  .rrow .thumb { display: block; width: 76px; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); grid-row: span 2; }
  .rrow .meta { flex-direction: row; flex-wrap: wrap; grid-column: 2; justify-content: flex-start; align-items: center; gap: 6px 8px; min-width: 0; }
  .rrow .desc { font-size: 14px; }
  .drawing { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .drawing svg { min-width: 720px; }
  .drawing figcaption { position: sticky; left: 0; }
  .rrow button::before { display: none; }
  .tools__list a { grid-template-columns: minmax(0, 1fr) 30px; gap: 4px 12px; }
  .tools__list .who { grid-column: 1; }
  .tools__list .what { grid-column: 1; }
  .tools__list svg { grid-row: 1 / span 2; grid-column: 2; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .cinfo .addr { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid > div:last-child { grid-column: auto; }
  .footer__mark { width: 96px; height: 96px; }
  .qa summary { grid-template-columns: 34px minmax(0, 1fr) 40px; }
  .qa summary .pm { width: 40px; height: 40px; }
  .qa summary .pm::before, .qa summary .pm::after { left: 11px; right: 11px; }
  .qa .ans { padding-left: 0; }
  .qa .ans .unit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa .ans .compare { grid-template-columns: minmax(0,1fr); }
  .qa .ans .compare > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .qa .ans .vocab > div { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .qa .ans ol.steps > li { padding-left: 48px; }
  .calc input { width: 110px; font-size: 28px; }
  .lb__nav { top: auto; bottom: 8px; transform: none; width: 48px; height: 48px; }
  .lb__stage { padding-bottom: 64px; }
  .lb__cap { flex-direction: column; align-items: flex-start; }
  .aud li { font-size: 11.5px; }
  .fact .num { font-size: 52px; }
  .fact p { font-size: 14.5px; }
}

@media (hover: none) {
  .preview { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w > span, .hero h1 .ln > span, .hero__fade { opacity: 1 !important; transform: none !important; }
  .cellimg .cov { display: none; }
  .refs__marquee .track { animation: none; }
  .drawing .d-line { stroke-dashoffset: 0; }
}
