/* ============================================================
   Operandi - styles.css
   Tokens issus du releve design (Inter Variable, palette peche/encre/teal)
   ============================================================ */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2018-2019, U+2192, U+25B8, U+2022;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0152-0153, U+1E00-1EFF, U+2020, U+20AC;
}

:root {
  --ink: #1C2632;
  --ink-soft: #545A63;
  --teal: #014F63;
  --teal-deep: #023E4E;
  --coral: #FF704E;
  --coral-soft: #FF987F;
  --coral-text: #BF3D1E;
  --peach: #FFE2D9;
  --peach-deep: #F2836B;
  --card-dark: #2B3949;
  --card-darker: #202C3A;
  --paper: #FFFFFF;
  --paper-warm: #F0EFEA;
  --line: rgba(28, 38, 50, 0.12);

  --font: "Inter Variable", "Inter", -apple-system, "Segoe UI", sans-serif;
  --r-sm: 5px;
  --r-md: 10px;
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }

::selection { background: var(--coral-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}
.card-dark :focus-visible, .band :focus-visible, .closing :focus-visible,
.footer :focus-visible, .btn:focus-visible {
  outline-color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 100;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transform: translateY(-250%);
}
.skip-link:focus { transform: none; }

/* ---------- Typographie ---------- */
h1 {
  font-size: clamp(40px, 7.2vw, 100px);
  font-weight: 420;
  line-height: 0.94;
  letter-spacing: -0.042em;
  text-wrap: pretty;
}
h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
h3 {
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: 14px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-big { font-size: 17px; padding: 16px 30px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: 100%;
  padding: 19px clamp(22px, 3vw, 46px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--teal);
  grid-column: 1;
  justify-self: start;
}
.brand-mark { width: 40px; height: 40px; }
.brand-name {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.footer-brand .brand-mark { width: 26px; height: 26px; }
.nav-links {
  display: flex;
  gap: 36px;
  grid-column: 2;
  justify-self: center;
}
.nav-links a {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  opacity: 1;
  font-weight: 650;
  color: var(--teal);
}
.btn-nav {
  font-size: 15px;
  padding: 12px 22px;
  grid-column: 3;
  justify-self: end;
}
.nav-burger { grid-column: 3; justify-self: end; }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px var(--pad) 24px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.mobile-menu a { padding: 12px 0; font-size: 17px; font-weight: 500; }
.mobile-menu .btn { margin-top: 10px; text-align: center; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--peach);
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero.no-webgl .hero-canvas { display: none; }
.hero.no-webgl {
  background:
    radial-gradient(120% 90% at 15% 20%, #FFF0EA 0%, transparent 55%),
    radial-gradient(100% 80% at 85% 75%, var(--peach-deep) 0%, transparent 60%),
    var(--peach);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad) 80px;
  width: 100%;
  will-change: transform;
}
.hero-sub {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 30px;
  color: var(--ink);
  opacity: 0.88;
  max-width: 720px;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-note {
  width: 100%;
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- En-tete des pages interieures ---------- */
.page-hero {
  background:
    radial-gradient(120% 90% at 15% 20%, #FFF0EA 0%, transparent 55%),
    radial-gradient(100% 80% at 85% 75%, var(--coral-soft) 0%, transparent 60%),
    var(--peach);
  padding: 170px var(--pad) clamp(60px, 7vw, 100px);
}
.page-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(40px, 6.4vw, 86px);
}
.page-hero p {
  font-size: clamp(18px, 2vw, 25px);
  margin-top: 22px;
  color: var(--ink);
  opacity: 0.85;
  max-width: 640px;
}

/* ---------- Teaser approche (accueil) ---------- */
.teaser {
  text-align: center;
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
}
.teaser .prose-wide {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 22px auto 30px;
}
.text-link {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.text-link:hover { color: var(--teal-deep); border-color: var(--coral-soft); }

/* ---------- Strip secteurs ---------- */
.strip {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.strip-label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  padding: 0 var(--pad);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  padding-right: 34px;
  animation: marquee 36s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.marquee.running .marquee-track { animation-play-state: running; }
.marquee-track span {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.75;
}
.marquee-track .sep { color: var(--coral); opacity: 1; font-size: 15px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections generiques ---------- */
section { padding: 0 var(--pad); }
.section-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 18px auto 0;
  text-align: center;
  text-wrap: balance;
}

/* ---------- Approche : sticky + cartes ---------- */
.thesis {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.thesis-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.thesis-sticky {
  position: sticky;
  top: 110px;
}
.thesis-sticky h2 { margin-bottom: 26px; }
.thesis-sticky p {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 420px;
}
.thesis-sticky p.lead {
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 550;
  color: var(--ink);
}
.sticky-points {
  margin-top: 26px;
  max-width: 420px;
}
.sticky-points li {
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--teal);
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.sticky-points li:last-child { border-bottom: 1px solid var(--line); }

.thesis-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}
.thesis-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.thesis-card-body {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 3.6vw, 48px);
}
.thesis-card-body h3 {
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #234F63;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.thesis-card-body p {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: #024F63;
  margin-bottom: 14px;
  max-width: 520px;
}
.thesis-card-body p.lead { font-weight: 550; }
.thesis-card-body strong { font-weight: 620; color: #024F63; }

/* formes decoratives douces, facon site original */
.card-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.shape-losange {
  top: -50px; right: -60px;
  width: 260px; height: 260px;
  background: #ECEBE5;
  border-radius: 56px;
  transform: rotate(45deg) scaleY(0.72);
}
.shape-cercle {
  top: -70px; right: -50px;
  width: 240px; height: 240px;
  background: #FBE9E1;
  border-radius: 50%;
}
.shape-galet {
  bottom: -80px; right: -40px;
  width: 260px; height: 200px;
  background: #E7EEF0;
  border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
}

.arrow-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 4px 0 18px;
}
.arrow-list li {
  font-weight: 550;
  color: #024F63;
  padding-left: 24px;
  position: relative;
}
.arrow-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--coral-text);
}

/* ---------- Piliers ---------- */
.pillars {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
  text-align: center;
  background: var(--paper-warm);
}
.card-grid {
  max-width: var(--maxw);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.card-dark {
  background: var(--card-darker);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 26px 24px 30px;
  min-height: 236px;
}
.icon-holder {
  display: inline-flex;
  width: 54px; height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--card-dark);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
}
.icon-holder svg { width: 26px; height: 26px; }
.card-dark h3 {
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  min-height: 56px;
  margin-bottom: 10px;
}
.card-dark ul li {
  font-size: 15.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.66);
}
.card-dark ul li + li { margin-top: 11px; }

/* ---------- Cout cache de l'adoption sauvage ---------- */
.risks {
  background: var(--card-dark);
  color: #fff;
  text-align: center;
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
}
.risks h2 { color: #fff; }
.risks .eyebrow { color: var(--coral-soft); }
.risks .lead-line {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: clamp(17px, 1.8vw, 21px);
  color: rgba(255, 255, 255, 0.72);
  text-wrap: balance;
}
.risk-grid {
  max-width: var(--maxw);
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.risk-col {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 22px;
}
.risk-col h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}
.risk-col p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}
.risk-close {
  margin: 54px auto 0;
  max-width: 680px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 550;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}

/* ---------- Engagements chiffres ---------- */
.stats {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
  text-align: center;
}
.stat-grid {
  max-width: var(--maxw);
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.stat p.stat-num {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--teal);
  margin-bottom: 12px;
}
.stat p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.stats-note {
  margin: 42px auto 0;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
}

/* ---------- Parcours Sprint Diagnostic ---------- */
.path {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
  text-align: center;
  background: var(--paper-warm);
}
.path-grid {
  max-width: var(--maxw);
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.path-col {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.path-col h3 {
  font-size: 20px;
  margin: 10px 0 12px;
}
.path-col p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Bandeau teal ---------- */
.band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
}
.band h2 { color: #fff; }
.band-lines { margin-top: 38px; }
.band-lines p {
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
.band-lines p:nth-child(1) { opacity: 0.6; }
.band-lines p:nth-child(2) { opacity: 0.7; }
.band-lines p:nth-child(3) { opacity: 0.8; }
.band-lines p:nth-child(4) { opacity: 0.9; font-weight: 500; }
.band-lines p:nth-child(5) { opacity: 1; font-weight: 600; }

/* ---------- Missions ---------- */
.missions {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
  text-align: center;
}
.missions .card-grid:first-child { margin-top: 0; }
.card-light {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card-light:hover {
  box-shadow: 0 10px 30px rgba(28, 38, 50, 0.08);
}
.card-light .card-visual { line-height: 0; }
.card-light .card-visual svg { width: 100%; height: 88px; }
.card-light > :not(.card-visual) { padding-left: 26px; padding-right: 26px; }
.card-tag {
  font-size: 13px;
  font-weight: 650;
  color: var(--coral-text);
  letter-spacing: 0.1em;
  margin-top: 22px;
  margin-bottom: 12px;
}
.card-light h3 {
  margin-bottom: 6px;
  text-align: left;
  line-height: 1.27;
  min-height: 2.54em;
}
.card-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  text-align: left;
}
.card-light ul { margin-bottom: 28px; text-align: left; }
.card-featured {
  border-color: rgba(1, 79, 99, 0.4);
  box-shadow: 0 10px 34px rgba(28, 38, 50, 0.1);
}
.card-cta { text-align: left; margin: -8px 0 26px; }
.founders-note {
  max-width: var(--maxw);
  margin: 14px auto 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.page-hero .page-hero-note {
  font-size: 16.5px;
  margin-top: 16px;
  color: var(--ink-soft);
  opacity: 1;
}
.card-light ul li {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.card-light ul li + li { margin-top: 11px; }

/* ---------- Friction / flux : fond anime + pastilles verre ---------- */
.flow {
  position: relative;
  background: var(--peach);
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.flow.no-webgl {
  background:
    radial-gradient(110% 90% at 20% 25%, #FFF0EA 0%, transparent 55%),
    radial-gradient(100% 80% at 82% 70%, var(--peach-deep) 0%, transparent 60%),
    var(--peach);
}
.flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow.no-webgl .flow-canvas { display: none; }
.flow-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
}
.flow-content .section-sub { color: var(--ink); opacity: 0.75; }
.marquee-flow {
  margin-top: 48px;
}
.marquee-flow .marquee-track {
  gap: 14px;
  padding-right: 14px;
  animation-duration: 48s;
}
.glass-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-sm);
  padding: 15px 24px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(28, 38, 50, 0.07);
  white-space: nowrap;
}
.glass-pill .ga { color: var(--coral-text); margin: 0 5px; }

/* ---------- Bandeau fondateurs (sobre) ---------- */
.founders {
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 34px var(--pad);
}
.founders-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.founders p {
  font-size: 15.5px;
  color: var(--ink-soft);
}
.founders p strong { color: var(--ink); font-weight: 600; }
.founders-logos {
  display: flex;
  align-items: center;
  gap: 28px;
}
.founders-logos img {
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
}
.founders-logo-essec { height: 26px; }
.founders-logo-hec { height: 38px; }

/* ---------- Closing ---------- */
.closing {
  background: var(--card-darker);
  color: #fff;
  text-align: center;
  padding-top: clamp(90px, 11vw, 150px);
  padding-bottom: clamp(90px, 11vw, 150px);
}
.closing h2 {
  color: #fff;
  max-width: 900px;
  margin: 0 auto 40px;
}
.closing .eyebrow { color: var(--coral-soft); }
.closing .btn-big { background: var(--coral); color: var(--ink); font-weight: 550; }
.closing .btn-big:hover { background: var(--coral-soft); }
.closing-note {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: balance;
}
.closing-alt {
  margin-top: 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
}
.closing-alt a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}
.closing-alt a:hover { border-color: #fff; }
.closing .text-link {
  color: #fff;
  border-color: var(--coral-soft);
  margin-top: 26px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px var(--pad) 0;
  overflow: hidden;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 14px; align-items: center; color: var(--coral-soft); }
.footer-title { color: #fff; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.footer-sub { font-size: 14px; opacity: 0.7; }
.footer-links { display: flex; gap: 24px; font-size: 15px; }
.footer-links a { opacity: 0.8; transition: opacity 0.15s ease; }
.footer-links a:hover { opacity: 1; }
.footer-links a:not([href]) { opacity: 0.45; cursor: default; }
.footer-legal {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  opacity: 0.55;
}

/* Le nom geant, revele lettre par lettre au scroll */
.footer-giant {
  max-width: var(--maxw);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  line-height: 0.84;
  overflow: hidden;
  padding-top: 20px;
  user-select: none;
}
.footer-giant span {
  display: inline-block;
  font-size: clamp(84px, 18vw, 268px);
  font-weight: 650;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.08);
  transform: translateY(112%);
  transition: transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) calc(var(--i) * 90ms);
}
.footer-giant.visible span { transform: none; }
html:not(.js) .footer-giant span { transform: none; }

/* ---------- Apparitions au scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal[data-reveal="left"] { transform: translateX(-40px); }
.js .reveal[data-reveal="right"] { transform: translateX(40px); }
.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .btn, .card-light, .card-dark, .nav, .nav-burger span,
  .nav-links a, .footer-links a, .mobile-menu { transition: none; }
  .footer-giant span { transform: none; transition: none; }
  .hero-content { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-sticky { position: static; max-width: 620px; margin: 0 auto; text-align: center; }
  .thesis-sticky p, .sticky-points { margin-left: auto; margin-right: auto; }
  .thesis-cards { max-width: 620px; margin: 0 auto; width: 100%; }
}
@media (max-width: 820px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .nav { background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .mobile-menu {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .team-grid { grid-template-columns: 1fr; }
  .risk-grid, .stat-grid, .path-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .closing h2 br { display: none; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-dark { min-height: 0; }
  .card-dark h3, .card-light h3 { min-height: 0; }
  .hero-content { padding-top: 140px; }
  .hero h1 br { display: none; }
}
