/* ==========================================================================
   MINCATEC ENERGY — « SOLID STATE »
   Noir profond, os, un seul accent électrique (le vert hydrogène du logo poussé au néon).
   Grille stricte à traits fins, typographie géante, données en chasse fixe.
   ========================================================================== */

:root {
  --black: #08090b;
  --graphite: #111317;
  --steel: #1b1e24;
  --bone: #edece6;
  --bone-2: #e2e1da;
  --white: #f4f3ee;
  --acid: #c9f73a;          /* accent « hydrogène » */
  --acid-ink: #1c2400;
  --cyan: #19b9ea;
  --line-d: rgba(244, 243, 238, .12);
  --line-l: rgba(8, 9, 11, .14);
  --muted-d: rgba(244, 243, 238, .58);
  --muted-l: rgba(8, 9, 11, .58);

  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-serif: "Instrument Serif", Georgia, serif;

  --wrap: 1480px;
  --gx: clamp(20px, 3.4vw, 56px);
  --sy: clamp(96px, 11vw, 176px);
  --hd: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 20px); }
body {
  margin: 0; background: var(--black); color: var(--white); font: 400 17px/1.6 var(--f-sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: .98; }
p { margin: 0 0 1em; }
::selection { background: var(--acid); color: var(--acid-ink); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.mono { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gx)); margin: 0 auto; padding: 0 var(--gx); }
.wrap.narrow { max-width: calc(860px + 2 * var(--gx)); }
.skip-link { position: absolute; left: -9999px; z-index: 1001; padding: 10px 14px; background: var(--acid); color: var(--acid-ink); }
.skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text, .elementor-screen-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* thèmes de section */
.s { position: relative; padding: var(--sy) 0; }
.t-dark { background: var(--black); color: var(--white); }
.t-soft { background: var(--graphite); color: var(--white); }
.t-light { background: var(--bone); color: var(--black); --line-d: var(--line-l); --muted-d: var(--muted-l); }
.t-dark em, .t-soft em { color: var(--acid); }
.t-light em { color: var(--black); background: linear-gradient(transparent 62%, var(--acid) 62%, var(--acid) 92%, transparent 92%); padding: 0 .06em; }
.t-light + .t-light, .t-dark + .t-dark:not(.s-hero):not(.s-cta):not(.s-ticker) { border-top: 1px solid var(--line-d); }

/* ---------- boutons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px; height: 56px; padding: 0 24px; overflow: hidden;
  font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn .arw { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary { background: var(--acid); border-color: var(--acid); color: var(--acid-ink); }
.btn-primary::before { background: var(--white); }
.t-light .btn-primary { background: var(--black); border-color: var(--black); color: var(--bone); }
.t-light .btn-primary::before { background: var(--acid); }
.t-light .btn-primary:hover { color: var(--acid-ink); border-color: var(--acid); }
.btn-ghost { color: inherit; border-color: var(--line-d); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--black); border-color: var(--white); }
.t-light .btn-ghost::before { background: var(--black); }
.t-light .btn-ghost:hover { color: var(--bone); border-color: var(--black); }
.btn-link { height: auto; padding: 0 0 6px; border: 0; border-bottom: 1px solid currentColor; }
.btn-link::before { display: none; }
.arw { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- en-tête ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; }
.hd-bar {
  display: flex; align-items: center; gap: 28px; height: var(--hd); padding: 0 var(--gx);
  background: rgba(8, 9, 11, .9); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-d); transition: transform .5s var(--ease), background .3s;
}
.hd.is-hidden .hd-bar { transform: translateY(-100%); }
.hd-logo img { width: 132px; height: auto; }
.hd-nav { margin: 0 auto; }
.hd-nav > ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hd-nav > ul > li { position: relative; }
.hd-nav > ul > li > a { display: block; padding: 10px 14px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(244, 243, 238, .78); transition: color .2s; }
.hd-nav > ul > li > a:hover, .hd-nav .is-current > a { color: var(--acid); }
.hd-nav .has-sub > a::after { content: " +"; color: var(--muted-d); }
.hd-sub {
  position: absolute; top: calc(100% + 18px); left: 0; min-width: 300px; padding: 10px; background: var(--graphite); border: 1px solid var(--line-d);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.hd-sub::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.hd-nav li:hover > .hd-sub, .hd-nav li:focus-within > .hd-sub { opacity: 1; visibility: visible; transform: none; }
.hd-sub ul { margin: 0; padding: 0; list-style: none; }
.hd-sub a { display: flex; gap: 14px; align-items: baseline; padding: 11px 12px; font-size: 15px; color: var(--white); border-bottom: 1px solid var(--line-d); transition: background .2s, color .2s; }
.hd-sub li:last-child a { border-bottom: 0; }
.hd-sub a .mono { color: var(--muted-d); font-size: 10.5px; }
.hd-sub a:hover { background: var(--acid); color: var(--acid-ink); }
.hd-sub a:hover .mono { color: var(--acid-ink); }
.hd-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hd-nav + .hd-right { margin-left: 0; }
.hd-langs { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; font: 500 11.5px/1 var(--f-mono); }
.hd-langs a { display: block; padding: 6px 7px; color: var(--muted-d); }
.hd-langs a:hover { color: var(--white); }
.hd-langs a[aria-current] { color: var(--black); background: var(--white); }
.hd-cta { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; background: var(--acid); color: var(--acid-ink); font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; transition: background .25s; }
.hd-cta:hover { background: var(--white); }
.hd-burger { display: none; align-items: center; gap: 12px; height: 40px; padding: 0 0 0 12px; border: 0; background: none; color: var(--white); cursor: pointer; }
.hd-burger .bars { display: grid; gap: 6px; width: 26px; }
.hd-burger i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .hd-burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .hd-burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.overlay { position: fixed; inset: var(--hd) 0 0; z-index: 99; overflow-y: auto; background: var(--black); }
.overlay-inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: 32px var(--gx); }
.overlay-nav { margin: 0; padding: 0; list-style: none; }
.overlay-nav > li { border-bottom: 1px solid var(--line-d); }
.overlay-nav > li > a { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; font-size: clamp(30px, 8vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.overlay-nav > li > a .mono { color: var(--acid); }
.overlay-nav ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 18px; padding: 0 0 0 38px; list-style: none; }
.overlay-nav ul a { color: var(--muted-d); font-size: 15px; }
.overlay-foot { display: flex; justify-content: space-between; gap: 20px; padding-top: 32px; color: var(--muted-d); }
.overlay-langs { display: flex; gap: 14px; }
.overlay-langs a[aria-current] { color: var(--acid); }
@media (max-width: 1180px) {
  .hd-nav, .hd-langs { display: none; }
  .hd-burger { display: inline-flex; }
}
@media (max-width: 560px) { .hd-cta { display: none; } }
body.menu-open { overflow: hidden; }

/* ---------- bandeau d'accueil ---------- */
.s-hero { padding: 0; overflow: hidden; }
.tpl-home .s-hero { min-height: max(100svh, 760px); display: flex; flex-direction: column; }
.lattice { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-noise { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.s-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--black) 0%, rgba(8, 9, 11, .85) 38%, rgba(8, 9, 11, .1) 75%), linear-gradient(0deg, var(--black) 0%, transparent 30%); }
.hero-top, .hero-main, .hero-stats { position: relative; z-index: 2; }
.hero-top { display: flex; justify-content: space-between; gap: 20px; padding-top: calc(var(--hd) + 28px); color: var(--muted-d); }
.hero-top .r { text-align: right; }
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 28px; padding-bottom: 40px; }
.tag-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-bottom: 34px; padding: 8px 14px; border: 1px solid var(--line-d); font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(201, 247, 58, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(201, 247, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 247, 58, 0); } }
.hero-title { max-width: 14ch; font-size: clamp(52px, min(8.6vw, 15.5vh), 150px); font-weight: 600; line-height: .88; letter-spacing: -.055em; }
.hero-title em { font-size: 1.06em; letter-spacing: -.03em; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 60px; margin-top: 36px; }
.hero-lead { max-width: 520px; margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: rgba(244, 243, 238, .76); }
.hero-foot .btns { margin-top: 0; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; border-top: 1px solid var(--line-d); }
.hero-stats > div { padding: 26px 24px 30px 0; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line-d); }
.hero-stats dt { color: var(--muted-d); margin-bottom: 14px; }
.hero-stats dd { margin: 0; }
.num { font-size: clamp(34px, 3.6vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.unit { margin-left: 8px; font: 500 14px/1 var(--f-mono); color: var(--acid); text-transform: uppercase; }
.t-light .unit { color: var(--black); }
@media (max-width: 860px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .hero-top .r { display: none; }
}

/* ---------- bandeau de page ---------- */
.ph { position: relative; z-index: 2; padding-top: calc(var(--hd) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(48px, 6vw, 88px); }
.ph-crumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 56px); color: var(--muted-d); }
.ph-crumb a:hover { color: var(--acid); }
.ph-title { max-width: 16ch; font-size: clamp(48px, 8.4vw, 140px); line-height: .9; letter-spacing: -.055em; }
.ph-title.is-article { max-width: 22ch; font-size: clamp(36px, 5vw, 80px); line-height: .98; letter-spacing: -.04em; }
.ph-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 64px; margin-top: clamp(36px, 4vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-d); }
.ph-lead { max-width: 640px; margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: rgba(244, 243, 238, .76); }
.ph-foot .btns { margin-top: 0; }
.ph-meta, .ph-count { margin: 24px 0 0; color: var(--muted-d); }
.ph-count { margin: 0; }
.ph-visual { position: relative; height: clamp(260px, 42vw, 620px); margin: 0 var(--gx) var(--sy); overflow: hidden; background: var(--steel); }
.ph-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.9); transform: scale(1.06); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.ph-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 11, .5), transparent 50%); mix-blend-mode: multiply; }
.ph-visual.is-visible img, .no-js .ph-visual img { transform: scale(1); }
.ph-visual:hover img { filter: grayscale(0) contrast(1.05); }
.ph-visual-tag { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: var(--white); }
.ph-visual.is-article { height: clamp(240px, 36vw, 560px); margin-bottom: 0; }
.ph-visual.is-article img { filter: none; transform: none; }

/* ---------- en-tête de section ---------- */
.s-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); padding-top: 22px; border-top: 1px solid var(--line-d); }
.s-head.is-stack { grid-template-columns: 1fr; }
.s-label { display: flex; gap: 14px; margin: 0; font: 500 12px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); }
.s-idx { color: var(--acid); }
.t-light .s-idx { color: var(--black); background: var(--acid); padding: 0 5px; height: max-content; }
.s-title { font-size: clamp(36px, 5.2vw, 88px); line-height: .94; letter-spacing: -.05em; }
.s-intro { max-width: 680px; margin: 28px 0 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--muted-d); }
@media (max-width: 860px) { .s-head { grid-template-columns: 1fr; } }

/* ---------- bandeau défilant ---------- */
.s-ticker { padding: 0; background: var(--acid); color: var(--acid-ink); overflow: hidden; }
.ticker { display: flex; }
.ticker-track { display: flex; flex-shrink: 0; gap: 0; margin: 0; padding: 0; list-style: none; animation: marquee 40s linear infinite; }
.ticker-track li { display: flex; align-items: center; gap: 28px; padding: 22px 28px 22px 0; font-size: clamp(20px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.ticker-track li::after { content: "✦"; font-size: .6em; }
.ticker-track em { color: var(--acid-ink); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- manifeste ---------- */
.statement { max-width: 22ch; margin: 0; font-size: clamp(40px, 6.4vw, 112px); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.statement-sign { margin-top: 36px; color: var(--muted-d); }

/* ---------- chiffres clés ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line-d); }
.stat-grid.n-2 { grid-template-columns: repeat(2, 1fr); }
.stat-grid.n-3 { grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; flex-direction: column; padding: 28px 28px 36px 0; border-bottom: 1px solid var(--line-d); }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-d); }
.stat dt { order: 2; margin-top: 16px; color: var(--muted-d); }
.stat dd { margin: 0; }
.stat .num { font-size: clamp(48px, 6vw, 104px); }
.stat-text { order: 3; margin-top: 10px !important; font-size: 15px; color: var(--muted-d); }
@media (max-width: 860px) { .stat-grid[class] { grid-template-columns: 1fr 1fr; } .stat:nth-child(odd) { padding-left: 0; border-left: 0; } }

/* ---------- texte + média ---------- */
.mt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.mt.is-left .mt-media { order: -1; }
.mt-text .s-label { margin-bottom: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.mt-text .s-title { font-size: clamp(34px, 4.2vw, 72px); margin-bottom: 32px; }
.mt-text .prose { color: var(--muted-d); font-size: 18px; }
.mt-text .prose strong { color: inherit; filter: brightness(1.6); }
.t-light .mt-text .prose strong { filter: none; color: var(--black); }
.mt-media { position: sticky; top: calc(var(--hd) + 24px); }
.fig { margin: 0; }
.fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.85) contrast(1.06); transition: filter .9s var(--ease); }
.fig:hover img { filter: none; }
.fig figcaption { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-d); color: var(--muted-d); }
.fig.is-contain img { aspect-ratio: auto; max-height: 560px; object-fit: contain; filter: none; padding: clamp(24px, 4vw, 64px); background: var(--white); }
.t-light .fig.is-contain img { background: #fff; }
.fig-wide { margin-top: clamp(56px, 7vw, 104px); }
.ticks { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.ticks li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 15px 0; border-bottom: 1px solid var(--line-d); font-size: 16px; }
.ticks .mono { color: var(--acid); padding-top: 3px; }
.t-light .ticks .mono { color: var(--muted-l); }
.ticks em { font-family: inherit; font-style: normal; font-weight: 600; background: none; color: inherit; padding: 0; }
.t-dark .ticks em, .t-soft .ticks em { color: var(--acid); }
@media (max-width: 960px) { .mt { grid-template-columns: 1fr; } .mt.is-left .mt-media { order: 0; } .mt-media { position: static; } }

/* ---------- atouts ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.feat-grid.c-2 { grid-template-columns: repeat(2, 1fr); }
.feat-grid.c-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .feat-grid.c-3, .feat-grid.c-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid[class] { grid-template-columns: 1fr; } }
.feat { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: 28px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.feat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acid); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.feat:hover { color: var(--acid-ink); }
.feat:hover::before { transform: scaleY(1); }
.feat-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 40px; color: var(--muted-d); }
.feat:hover .feat-top { color: var(--acid-ink); }
.feat-icon { width: 30px; height: 30px; color: var(--acid); }
.t-light .feat-icon { color: var(--black); }
.feat:hover .feat-icon { color: var(--acid-ink); }
.feat h3 { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.035em; line-height: 1.05; }
.feat p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted-d); transition: color .5s; }
.feat:hover p { color: var(--acid-ink); }
.feat em { font-family: inherit; font-style: normal; background: none; color: inherit; }

/* ---------- panneaux immersifs ---------- */
.panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.panel { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 48vw, 760px); overflow: hidden; background: var(--steel); color: var(--white); }
.panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transform: scale(1.04); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.panel:hover .panel-img { filter: grayscale(0); transform: scale(1); }
.panel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 11, .1) 30%, rgba(8, 9, 11, .92) 100%); }
.panel-idx { position: absolute; top: 22px; left: 24px; z-index: 1; }
.panel-body { position: relative; z-index: 1; display: grid; gap: 14px; padding: clamp(24px, 3vw, 44px); width: 100%; }
.panel-label { color: var(--acid); }
.panel-title { font-size: clamp(32px, 3.6vw, 60px); font-weight: 600; line-height: .95; letter-spacing: -.05em; }
.panel-text { max-width: 480px; color: rgba(244, 243, 238, .74); }
.panel-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line-d); font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.panel:hover .panel-more .arw { transform: translateX(6px); }
.panel-more .arw { transition: transform .4s var(--ease); }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } }

/* ---------- lignes éditoriales (liens) ---------- */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.row { display: grid; grid-template-columns: 60px minmax(0, 2.2fr) minmax(0, 4fr) minmax(0, 4.6fr) 40px; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line-d); transition: padding .5s var(--ease), background .4s; }
a.row:hover { padding-left: 18px; padding-right: 18px; background: var(--acid); color: var(--acid-ink); }
.row-idx, .row-label { color: var(--muted-d); }
a.row:hover .row-idx, a.row:hover .row-label, a.row:hover .row-text { color: var(--acid-ink); }
.row-label { display: inline-flex; gap: 8px; align-items: center; }
.row-icon { width: 16px; height: 16px; }
.row-title { font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.row-text { color: var(--muted-d); font-size: 15.5px; }
.row-go .arw { width: 26px; height: 26px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
a.row:hover .row-go .arw { transform: rotate(0); }
.row em { font-family: inherit; font-style: normal; background: none; color: inherit; }
@media (max-width: 860px) { .row { grid-template-columns: 40px 1fr 30px; } .row-label, .row-text { grid-column: 2; } .row-go { grid-row: 1; grid-column: 3; } }

/* ---------- cartes (avec visuel) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-d); border: 1px solid var(--line-d); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--black); color: inherit; transition: background .4s; }
.t-soft .card { background: var(--graphite); }
.t-light .card { background: var(--bone); }
a.card:hover { background: var(--steel); }
.t-light a.card:hover { background: #fff; }
.card-media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--steel); }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
a.card:hover .card-media img { filter: none; transform: scale(1.04); }
.card-media.is-contain { display: grid; place-items: center; padding: 34px; background: #fff; }
.card-media.is-contain img { width: auto; height: auto; max-height: 120px; object-fit: contain; filter: grayscale(1); }
.card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 26px 30px; }
.card-label { color: var(--muted-d); }
.card-title { font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.card-text { color: var(--muted-d); font-size: 15.5px; line-height: 1.5; }
.card-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--acid); }
.t-light .card-more { color: var(--black); }
.card em { font-family: inherit; font-style: normal; background: none; color: inherit; }

/* ---------- étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.steps.n-2 { --n: 2; } .steps.n-4 { --n: 4; }
.step { position: relative; padding: 30px 28px 10px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-d); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--acid); transition: width 1.4s var(--ease) calc(var(--d, 0) * 250ms); }
.step.is-visible::before { width: 100%; }
.t-light .step::before { background: var(--black); }
.step-num { display: block; margin-bottom: 56px; font-size: clamp(56px, 6vw, 96px); font-weight: 300; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--white); }
.t-light .step-num { -webkit-text-stroke-color: var(--black); }
.step h3 { margin-bottom: 14px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.04em; }
.step p { margin: 0; color: var(--muted-d); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-d); } }

/* ---------- fiche technique ---------- */
.specs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.specs-side { position: sticky; top: calc(var(--hd) + 24px); }
.specs-side .s-label { margin-bottom: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.specs-side .s-title { font-size: clamp(34px, 4.2vw, 72px); }
.sheet { margin: 0; border: 1px solid var(--line-d); }
.sheet-head { display: flex; justify-content: space-between; margin: 0; padding: 14px 18px; background: var(--acid); color: var(--acid-ink); }
.sheet dl { margin: 0; }
.sheet-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 16px 18px; border-top: 1px solid var(--line-d); transition: background .2s; }
.sheet-row:hover { background: rgba(201, 247, 58, .06); }
.sheet-row dt { display: flex; gap: 16px; color: var(--muted-d); font-size: 15.5px; }
.sheet-row dt .mono { color: var(--muted-d); opacity: .6; }
.sheet-row dd { margin: 0; font-size: 14px; color: var(--white); text-align: right; }
.t-light .sheet-row dd { color: var(--black); }
@media (max-width: 960px) { .specs { grid-template-columns: 1fr; } .specs-side { position: static; } }

/* ---------- logos ---------- */
.logos { display: flex; overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.logos-track { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; animation: marquee 50s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-track li { display: grid; place-items: center; width: 240px; height: 140px; padding: 30px; border-right: 1px solid var(--line-d); }
.logos-track img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.2); opacity: .7; mix-blend-mode: multiply; transition: filter .4s, opacity .4s; }
.logos-track li:hover img { filter: none; opacity: 1; }
.t-dark .logos-track li, .t-soft .logos-track li { background: var(--bone); }

/* ---------- actualités ---------- */
.news-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.news-row a { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) 180px 40px; gap: 28px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line-d); transition: padding .5s var(--ease), color .3s; }
.news-row time, .news-cat { color: var(--muted-d); }
.news-title { font-size: clamp(22px, 2.3vw, 38px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; transition: color .3s; }
.news-go { font-size: 24px; transition: transform .5s var(--ease); }
.news-row a:hover { padding-left: 16px; }
.news-row a:hover .news-title { color: var(--acid); }
.t-light .news-row a:hover .news-title { color: var(--black); text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.news-row a:hover .news-go { transform: translateX(8px); }
.news-thumb { position: absolute; right: 90px; top: 50%; z-index: 5; width: 260px; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(.9); transition: opacity .35s, transform .5s var(--ease); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row a:hover .news-thumb { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
@media (max-width: 860px) { .news-row a { grid-template-columns: 1fr 30px; gap: 10px; } .news-row time { grid-column: 1; } .news-title { grid-column: 1; } .news-cat { display: none; } .news-go { grid-row: 1 / 3; grid-column: 2; } .news-thumb { display: none; } }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 40px; padding: 0; list-style: none; }
.filters a { display: block; padding: 10px 14px; border: 1px solid var(--line-d); color: var(--muted-d); transition: all .25s; }
.filters a:hover { color: var(--white); border-color: var(--white); }
.filters a[aria-current] { background: var(--acid); border-color: var(--acid); color: var(--acid-ink); }
.archive { padding-top: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 56px; font: 500 13px/1 var(--f-mono); }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 14px; border: 1px solid var(--line-d); }
.pagination a:hover { border-color: var(--white); }
.pagination .current { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.pagination .dots { border: 0; }

/* ---------- appel à l'action ---------- */
.s-cta { overflow: hidden; padding: clamp(120px, 14vw, 220px) 0; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); opacity: .22; }
.cta { position: relative; }
.cta-eyebrow { color: var(--acid); margin-bottom: 28px; }
.cta-title { max-width: 15ch; font-size: clamp(52px, 9vw, 160px); line-height: .88; letter-spacing: -.055em; }
.cta-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 60px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.cta-text { max-width: 560px; margin: 0; font-size: clamp(17px, 1.35vw, 20px); color: rgba(244, 243, 238, .74); }
.cta-foot .btns { margin-top: 0; }

/* ---------- galerie, vidéo ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px; }
.gal-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .7s var(--ease), transform 1s var(--ease); }
.gal-item:hover img { filter: none; transform: scale(1.04); }
.gal-item .mono { position: absolute; left: 14px; bottom: 12px; color: var(--white); mix-blend-mode: difference; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-file { width: 100%; }

/* ---------- accordéon ---------- */
.acc { border-top: 1px solid var(--line-d); }
.acc-item { border-bottom: 1px solid var(--line-d); }
.acc-item summary { display: grid; grid-template-columns: 60px 1fr 30px; gap: 20px; align-items: center; padding: 26px 0; cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .mono { color: var(--acid); }
.t-light .acc-item summary .mono { color: var(--muted-l); }
.acc-title { font-size: clamp(20px, 2vw, 30px); font-weight: 600; letter-spacing: -.035em; }
.acc-plus { position: relative; width: 22px; height: 22px; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.acc-plus::after { transform: rotate(90deg); }
.acc-item[open] .acc-plus::after { transform: rotate(0); }
.acc-body { padding: 0 0 30px 80px; max-width: 820px; color: var(--muted-d); }

/* ---------- frise ---------- */
.tl { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.tl-item { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 32px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line-d); }
.tl-year { font-size: clamp(56px, 7vw, 120px); font-weight: 300; letter-spacing: -.06em; line-height: .85; color: transparent; -webkit-text-stroke: 1px var(--white); transition: color .5s; }
.t-light .tl-year { -webkit-text-stroke-color: var(--black); }
.tl-item:hover .tl-year { color: var(--acid); -webkit-text-stroke-color: var(--acid); }
.tl-body h3 { margin-bottom: 12px; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.04em; line-height: 1.05; }
.tl-body p { margin: 0; color: var(--muted-d); }
.tl-media img { width: 100%; max-height: 240px; object-fit: contain; background: #fff; padding: 16px; }
@media (max-width: 860px) { .tl-item { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- équipe ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 2px; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member-photo { position: relative; aspect-ratio: 4 / 5; margin-bottom: 18px; overflow: hidden; background: var(--steel); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .7s var(--ease), transform 1s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.03); }
.member-idx { position: absolute; top: 12px; left: 12px; padding: 4px 6px; background: var(--black); color: var(--acid); }
.member h3 { font-size: 22px; letter-spacing: -.035em; line-height: 1.1; padding-right: 12px; }
.member-role { margin: 8px 0 0; padding-right: 12px; color: var(--muted-d); font-size: 11px; line-height: 1.5; }
.member-more { margin-top: 14px; padding-right: 12px; }
.member-more summary { cursor: pointer; list-style: none; color: var(--acid); }
.member-more summary::-webkit-details-marker { display: none; }
.member-bio { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--muted-d); }
.member-contacts { display: grid; gap: 6px; margin-top: 12px; }
.member-contacts a { color: var(--white); word-break: break-all; text-transform: none; }

/* ---------- citations ---------- */
.quotes { display: grid; gap: clamp(56px, 7vw, 104px); }
.quote { margin: 0; padding-top: 28px; border-top: 1px solid var(--line-d); }
.quote blockquote { margin: 0 0 36px; max-width: 30ch; font-family: var(--f-serif); font-size: clamp(30px, 3.6vw, 60px); line-height: 1.08; letter-spacing: -.02em; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote figcaption > span { display: grid; gap: 4px; }
.quote figcaption .mono { color: var(--muted-d); }
.quote-photo { width: 64px; height: 64px; object-fit: cover; filter: grayscale(1); }

/* ---------- documents ---------- */
.files { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-d); }
.file { display: grid; grid-template-columns: 60px minmax(0, 3fr) minmax(0, 5fr) 60px 24px; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line-d); transition: padding .5s var(--ease), background .3s, color .3s; }
.file:hover { padding: 24px 16px; background: var(--acid); color: var(--acid-ink); }
.file > .mono, .file-text, .file-ext { color: var(--muted-d); }
.file:hover > .mono, .file:hover .file-text, .file:hover .file-ext { color: var(--acid-ink); }
.file-title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.03em; }
.file-text { font-size: 15px; }
@media (max-width: 860px) { .file { grid-template-columns: 40px 1fr 24px; } .file-text, .file-ext { display: none; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-side .s-label { margin-bottom: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.contact-side .s-title { font-size: clamp(34px, 4.2vw, 72px); }
.contact-sheet { margin-top: 40px; }
.contact-sheet .sheet-row { grid-template-columns: 90px 1fr; }
.contact-sheet dd { text-align: left !important; font-size: 16px !important; }
.contact-sheet dd a:hover { color: var(--acid); }
.map { margin-top: 24px; aspect-ratio: 16 / 10; border: 1px solid var(--line-d); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.contact-form-box { padding: clamp(28px, 4vw, 56px); background: var(--bone); color: var(--black); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* formulaire */
.contact-form { display: grid; gap: 22px; }
.cf-field label { display: block; margin-bottom: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-l); }
.cf-required { color: var(--black); }
.cf-field input[type="text"], .cf-field input[type="email"], .cf-field input[type="tel"], .cf-field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(8, 9, 11, .3); border-radius: 0; background: transparent; color: var(--black); font: 400 19px/1.4 var(--f-sans); transition: border-color .25s;
}
.cf-field textarea { min-height: 130px; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-bottom: 2px solid var(--black); }
.cf-field.has-error input, .cf-field.has-error textarea { border-bottom-color: #c4321f; }
.cf-consent label { display: flex; gap: 12px; text-transform: none; letter-spacing: 0; font: 400 14px/1.45 var(--f-sans); }
.cf-consent input { width: 18px; height: 18px; accent-color: var(--black); }
.cf-error { margin: 6px 0 0; color: #b0281a; font-size: 13.5px; }
.cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; height: 64px; padding: 0 24px; border: 0; background: var(--black); color: var(--bone); font: 500 14px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.cf-submit::after { content: "→"; font-size: 20px; }
.cf-submit:hover { background: var(--acid); color: var(--acid-ink); }
.cf-submit[disabled] { opacity: .6; cursor: wait; }
.cf-message { padding: 16px 18px; font-size: 15px; }
.cf-message.success { background: var(--acid); color: var(--acid-ink); }
.cf-message.error { background: #f6d9d4; color: #8a1f12; }

/* ---------- contenu éditorial ---------- */
.prose { font-size: 18px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.8em 0 .6em; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.045em; }
.prose h3 { margin: 1.6em 0 .5em; font-size: clamp(21px, 2vw, 28px); letter-spacing: -.035em; line-height: 1.1; }
.prose a { text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:hover { background: var(--acid); color: var(--acid-ink); }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--acid); }
.t-light .prose li::marker { color: var(--black); }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: 10px; font: 500 12px/1.4 var(--f-mono); text-transform: uppercase; color: var(--muted-d); }
.prose-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; margin: 2em 0; }
.prose-gallery figure { margin: 0; }
.prose-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose .video-frame { position: relative; aspect-ratio: 16 / 9; margin: 2em 0; }
.prose .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose blockquote { margin: 2em 0; font-family: var(--f-serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.prose blockquote cite { display: block; margin-top: 12px; font: 500 12px/1.4 var(--f-mono); font-style: normal; text-transform: uppercase; color: var(--muted-d); }
.prose details { margin: 0 0 10px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.prose details summary { cursor: pointer; font-weight: 600; }
.prose-cta a { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; background: var(--acid); color: var(--acid-ink); font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.prose-cta a::after { content: "→"; margin-left: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line-d); text-align: left; vertical-align: top; }
.single .s-rich-text { padding-top: clamp(64px, 7vw, 112px); }
.single-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 32px; padding-bottom: var(--sy); border-top: 1px solid var(--line-d); }
.legacy { background: #fff; color: #272626; padding: 40px 0 var(--sy); }
.page-404 { padding: calc(var(--hd) + 120px) var(--gx) var(--sy); }

/* ---------- pied de page ---------- */
.ft { position: relative; background: var(--black); border-top: 1px solid var(--line-d); overflow: hidden; }
.ft-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 60px; padding-top: clamp(80px, 9vw, 140px); padding-bottom: 72px; }
.ft-kicker { color: var(--acid); margin-bottom: 28px; }
.ft-big-link { display: inline-block; font-size: clamp(44px, 6vw, 104px); font-weight: 600; letter-spacing: -.055em; line-height: .9; transition: color .3s; }
.ft-big-link:hover { color: var(--acid); }
.ft-big-link em { color: var(--acid); }
.ft-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.ft-col-title { margin-bottom: 18px; color: var(--muted-d); }
.ft-nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ft-nav a { font-size: 15px; transition: color .2s; }
.ft-nav a:hover { color: var(--acid); }
.ft-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line-d); color: var(--muted-d); line-height: 1.7; }
.ft-meta p { margin: 0; }
.ft-meta a:hover { color: var(--acid); }
.ft-word { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 0 var(--gx); font-size: clamp(64px, 15.4vw, 300px); font-weight: 700; letter-spacing: -.07em; line-height: .78; color: var(--white); white-space: nowrap; user-select: none; }
.ft-word span { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.04em; color: var(--acid); font-size: .42em; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; color: var(--muted-d); }
.ft-legal ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.ft-legal a:hover { color: var(--white); }
@media (max-width: 960px) { .ft-top { grid-template-columns: 1fr; } .ft-meta { grid-template-columns: 1fr 1fr; } }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; height: 40px; padding: 0 14px; border: 1px solid var(--line-d); background: var(--black); color: var(--white); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s, color .2s; }
.to-top.visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }

/* ---------- visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px; background: rgba(8, 9, 11, .96); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 1px solid var(--line-d); background: var(--black); color: var(--white); font-size: 22px; cursor: pointer; }
.lightbox button:hover { background: var(--acid); color: var(--acid-ink); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero-title .w > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-title .w > span { transform: none; animation: none; }
  .ticker-track, .logos-track, .dot { animation: none; }
}
.s-logos { padding-bottom: 0; }

/* ==========================================================================
   PALETTE GREEN-TECH (remplace le noir) : papier clair, sauge, vert forêt,
   accent vert frais et bleu ciel du logo. Les photos restent en couleur.
   ========================================================================== */
:root {
  --black: #0d3a2c;          /* vert forêt : sections fortes, pied de page */
  --steel: #165040;
  --bone: #f5f8f2;           /* papier */
  --white: #f7faf5;
  --ink: #0b2a1f;            /* texte principal */
  --sage: #e4eee0;
  --sky: #e3f3fb;
  --acid: #b9ee45;           /* vert frais */
  --acid-ink: #0b2a1f;
  --leaf: #2f9e5a;           /* vert lisible sur fond clair */
  --line-l: rgba(11, 42, 31, .14);
  --muted-l: rgba(11, 42, 31, .62);
}
body { background: var(--bone); color: var(--ink); }
.t-light { background: var(--bone); color: var(--ink); }
.t-light.t-sage { background: var(--sage); }
.t-light .btn-primary { background: var(--black); border-color: var(--black); color: var(--white); }
.t-light .s-title, .t-light h3 { color: var(--ink); }
.t-light .num { color: var(--ink); }
.t-light .unit, .t-light .ticks .mono, .t-light .acc-item summary .mono { color: var(--leaf); }
.t-light .feat-icon, .t-light .row-icon { color: var(--leaf); }
.t-light .s-idx { background: var(--acid); color: var(--acid-ink); }
.t-light .card-more { color: var(--leaf); }
.t-light .step::before { background: var(--leaf); }
.t-light .member-idx { background: var(--white); color: var(--leaf); }
.t-light .member-more summary { color: var(--leaf); }
.t-light .member-contacts a { color: var(--ink); }
.t-light .prose li::marker { color: var(--leaf); }
.t-light .sheet-head { background: var(--black); color: var(--white); }
.t-light .sheet-row dd { color: var(--ink); }
.t-light .card { background: #fff; }
.t-light .cards { background: var(--line-l); }
.t-light .gal-item .mono { color: #fff; mix-blend-mode: normal; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }

/* sections vert forêt */
.t-dark { background: var(--black); color: var(--white); }
.t-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 100% 0%, rgba(25, 185, 234, .16), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(185, 238, 69, .12), transparent 70%); }
.t-dark > * { position: relative; }
.t-dark em { color: var(--acid); }

/* bandeaux lumineux (ciel → prairie) */
.t-bright { background: linear-gradient(180deg, var(--sky) 0%, #eef7ee 55%, var(--bone) 100%); color: var(--ink); --line-d: var(--line-l); --muted-d: var(--muted-l); }
.t-bright em { color: var(--leaf); background: none; padding: 0; }
.t-bright .hero-lead, .t-bright .ph-lead { color: var(--muted-l); }
.t-bright .tag-pill { border-color: var(--line-l); background: rgba(255, 255, 255, .6); }
.t-bright .dot { background: var(--leaf); box-shadow: 0 0 0 0 rgba(47, 158, 90, .5); }
.t-bright .btn-primary { background: var(--black); border-color: var(--black); color: var(--white); }
.t-bright .btn-primary::before { background: var(--acid); }
.t-bright .btn-primary:hover { color: var(--acid-ink); border-color: var(--acid); }
.t-bright .btn-ghost { border-color: var(--line-l); }
.t-bright .btn-ghost::before { background: var(--black); }
.t-bright .btn-ghost:hover { color: var(--white); border-color: var(--black); }
.t-bright .unit { color: var(--leaf); }
.t-bright .ph-crumb a:hover { color: var(--leaf); }
.s-hero.t-bright::after { background: linear-gradient(90deg, rgba(240, 248, 242, .97) 0%, rgba(240, 248, 242, .82) 40%, rgba(240, 248, 242, 0) 78%), linear-gradient(0deg, var(--bone) 0%, transparent 28%); }
.t-bright .hero-noise { display: none; }
.t-bright .hero-stats { background: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-l); }
.t-bright .hero-stats > div { padding-left: 24px; }
.ph-visual::after { display: none; }

/* photos en couleur, traitement doux */
.ph-visual img, .fig img, .panel-img, .card-media img, .gal-item img, .member-photo img, .quote-photo { filter: none; }
.ph-visual img { filter: saturate(1.05); }
.panel-shade { background: linear-gradient(180deg, rgba(13, 58, 44, 0) 35%, rgba(13, 58, 44, .9) 100%); }
.panel:hover .panel-img { filter: saturate(1.1); }
.cta-bg img { filter: saturate(1.1); opacity: .28; }
.logos-track img { mix-blend-mode: multiply; }
.t-dark .logos-track li, .t-soft .logos-track li { background: #fff; }
.map iframe { filter: saturate(.8); }
.contact-form-box { background: #fff; border: 1px solid var(--line-l); }
.legacy { background: #fff; }

/* en-tête clair */
.hd-bar { background: rgba(247, 250, 245, .88); border-bottom-color: var(--line-l); color: var(--ink); }
.hd-nav > ul > li > a { color: rgba(11, 42, 31, .78); }
.hd-nav > ul > li > a:hover, .hd-nav .is-current > a { color: var(--leaf); }
.hd-nav .has-sub > a::after { color: var(--muted-l); }
.hd-sub { background: #fff; border-color: var(--line-l); box-shadow: 0 24px 50px -24px rgba(11, 42, 31, .3); }
.hd-sub a { color: var(--ink); border-bottom-color: var(--line-l); }
.hd-sub a .mono { color: var(--muted-l); }
.hd-langs a { color: var(--muted-l); }
.hd-langs a:hover { color: var(--ink); }
.hd-langs a[aria-current] { background: var(--ink); color: var(--white); }
.hd-cta:hover { background: var(--black); color: var(--white); }
.hd-burger { color: var(--ink); }
.overlay { background: var(--bone); color: var(--ink); }
.overlay-nav > li { border-bottom-color: var(--line-l); }
.overlay-nav > li > a .mono { color: var(--leaf); }
.overlay-nav ul a, .overlay-foot { color: var(--muted-l); }
.overlay-langs a[aria-current] { color: var(--leaf); }
.to-top { background: #fff; color: var(--ink); border-color: var(--line-l); }

/* filtres, pagination et lignes d'actualités sur fond clair */
.t-light .filters a, .t-bright .filters a { color: var(--muted-l); border-color: var(--line-l); }
.t-light .filters a:hover { color: var(--ink); border-color: var(--ink); }
.t-light .pagination a:hover { border-color: var(--ink); }
.t-light .news-row a:hover .news-title { color: var(--leaf); text-decoration: none; }
