/* =============================================================
   DAU'IA — Feuille de styles
   Inspiration visuelle : pieterkoopt.nl (dark glassmorphism, mono+sans)
   Thème : IA · réseaux de neurones · math vibe · épuré
   ============================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Palette */
  --bg:            #0c0f0f;
  --bg-2:          #111515;
  --surface:       #171c1c;
  --surface-2:     #1d2323;
  --line:          rgba(255, 255, 255, .09);
  --line-strong:   rgba(255, 255, 255, .18);

  --text:          #f4f6f5;
  --text-muted:    #9aa3a1;
  --text-dim:      #5e6664;

  --accent:        #6c8cff;   /* bleu tech */
  --accent-2:      #8affd1;   /* vert/cyan subtil */
  --accent-soft:   rgba(108, 140, 255, .14);

  /* Glass */
  --glass-bg:      rgba(20, 25, 25, .55);
  --glass-border:  rgba(255, 255, 255, .10);
  --glass-blur:    18px;

  /* Type */
  --font-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* Layout */
  --max:   1240px;
  --pad:   clamp(20px, 5vw, 64px);
  --radius:18px;
  --radius-sm: 12px;
  --nav-h: 58px;   /* hauteur de la navbar (global, utilisé hors navbar) */

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .6s;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #0b0e0e; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section-pad { padding-block: clamp(80px, 12vw, 160px); }
.accent { color: var(--accent); }
.accent-text { color: var(--accent); }
.is-muted { color: var(--text-muted); }

/* ---------- 3. NEURAL CANVAS BG ---------- */
.neural-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: .28;
  pointer-events: none;
}
body::before {
  /* subtle grid */
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .35;
}
.smooth-content, .navbar, .navmenu, .footer { position: relative; z-index: 1; }

/* ---------- 4. SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
}

/* ---------- 5. NAVBAR (boîtes segmentées + glassmorphisme, façon pieterkoopt) ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px var(--pad) 0;
}
/* Box-barre UNIQUE continue. Dedans : gauche = cellules accolées,
   centre = boutons flottants, droite = CTA. --nav-h = hauteur. */
.navbar-inner {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  gap: 0; max-width: 1600px; margin-inline: auto;
  --nav-glass: rgba(20, 25, 25, .5);
  --nav-h: 58px;
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(130%);
  backdrop-filter: blur(var(--glass-blur)) saturate(130%);
  border: 1px solid var(--glass-border);
  border-radius: 4px; overflow: hidden;
  min-height: calc(var(--nav-h) + 2px);
}
.navbar-col { display: flex; align-items: stretch; }
.is-left { justify-content: flex-start; }
.is-center { justify-content: center; align-items: center; gap: 8px; padding-inline: 8px; }
.is-right { justify-content: flex-end; align-items: center; padding-right: 8px; }

/* Gauche : cellules accolées, séparées par un trait (pas de fond propre) */
.navbar-cell {
  display: flex; align-items: center; justify-content: center;
  padding: 0 18px; height: var(--nav-h); color: var(--text-muted);
  border-right: 1px solid var(--glass-border);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.navbar-cell:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.navbar-logo { padding-inline: 22px; }
.navbar-logo-img { height: 55px; width: auto; object-fit: contain; transition: opacity .3s var(--ease); }
.navbar-logo:hover .navbar-logo-img { opacity: .82; }
.navbar-dots { font-family: var(--font-mono); color: var(--text-dim); font-size: 12px; letter-spacing: 3px; }
.navbar-lang { font-family: var(--font-mono); font-size: 12px; color: var(--text); letter-spacing: .12em; }
.navbar-wapp svg { display: block; }

/* Centre : boutons flottants individuels (chacun sa boîte) */
.navbar-menu { display: flex; align-items: center; gap: 8px; }
.navbar-link {
  display: inline-flex; align-items: center;
  padding: 0 22px; height: 40px; border-radius: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--text-muted);
  text-transform: uppercase;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-border);
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.navbar-link:hover, .navbar-link.is-active { color: var(--text); background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.navbar-link-ext { font-size: 10px; color: var(--text-dim); margin-left: 5px; }

/* Droite : CTA = bouton flottant arrondi (icône en retrait du bord) */
.navbar-cta {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 7px 7px 7px 22px; height: 42px; border-radius: 5px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent); color: #0b0e0e;
  transition: background .3s;
}
.navbar-cta:hover { background: var(--accent-2); }
.navbar-cta-arrow {
  display: grid; place-items: center; width: 36px; height: 100%;
  background: rgba(0,0,0,.22); border-radius: 4px; font-size: 14px;
  transition: transform .3s var(--ease);
}
.navbar-cta:hover .navbar-cta-arrow { transform: translateX(2px); }

.nav-trigger {
  display: none; width: var(--nav-h); height: var(--nav-h);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  background: none; border: none; border-left: 1px solid var(--glass-border);
}
.nav-trigger span { width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s; }
.nav-trigger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-trigger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- 6. MOBILE MENU ---------- */
.navmenu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg-2);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.navmenu.is-open { opacity: 1; visibility: visible; transform: none; }
.navmenu-list { display: flex; flex-direction: column; gap: 8px; }
.navmenu-link {
  font-size: clamp(32px, 9vw, 64px); font-weight: 500; letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 16px; color: var(--text-muted);
  transition: color .3s, padding-left .3s var(--ease);
}
.navmenu-link:hover { color: var(--text); padding-left: 12px; }
.navmenu-index { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.navmenu-bottom { margin-top: 48px; display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }

/* ---------- 7. HERO (plein écran, structure pieterkoopt) ---------- */
.hero {
  position: relative; min-height: 100svh; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0; overflow: hidden; background: var(--bg);
}
/* Cadre fin qui encadre toute la page d'accueil (façon pieterkoopt) */
.hero::after {
  content: ""; position: absolute; z-index: 4; pointer-events: none;
  inset: 14px; border: 1px solid var(--line-strong);
}

/* Fond média plein écran (assemblage du réseau-cerveau DAU'IA) */
.hero-media { position: absolute; inset: 0; z-index: 0; }

/* Réseau de fond dérivant */
.brain-bgnet { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }

/* Scène centrée : logo-cerveau (fond) */
.brain-stage {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  padding: clamp(80px, 14vh, 180px) var(--pad) 0;
}
.brain-wrap {
  width: min(96vmin, 940px); aspect-ratio: 1 / 1; position: relative;
  opacity: .85;
  filter: drop-shadow(0 12px 60px rgba(108, 140, 255, .08));
}
.brain-wrap svg { width: 100%; height: 100%; overflow: visible; }

/* Arêtes / nœuds / halos — sous-couche sombre, accents bleu-violet de la DA */
.brain-edge   { fill: none; stroke: #242c3a; stroke-width: 8; stroke-linecap: round; opacity: .9; }
.brain-node   { fill: #343f52; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.brain-halo   { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.brain-cursor { fill: var(--accent); filter: drop-shadow(0 0 7px var(--accent)); }
.brain-signal { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.brain-coord  { fill: var(--accent); font: 13px var(--font-mono); letter-spacing: .05em; opacity: 0; }

@media (max-width: 720px) {
  .brain-stage { padding-bottom: clamp(40px, 8vh, 90px); }
  .brain-wrap { width: min(104vmin, 520px); }
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,10,10,.92) 0%, rgba(8,10,10,.35) 32%, rgba(8,10,10,.08) 60%, transparent 80%),
    radial-gradient(120% 80% at 50% 30%, transparent 40%, rgba(8,10,10,.55) 100%);
}

/* Callout central (caption + ligne verticale), façon pieterkoopt */
.hero-callout {
  position: absolute; z-index: 2; top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  pointer-events: none;
}
.hero-callout-text {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--text-muted); text-transform: uppercase; text-align: center;
}
.hero-callout-text span:last-child { color: var(--text-dim); }
.hero-callout-line { width: 1px; height: 64px; background: linear-gradient(var(--text-muted), transparent); }

/* Contenu : bloc titre en bas à gauche (conteneur 12 col) */
.hero-content {
  position: relative; z-index: 3; width: 100%;
  padding-block: 0 clamp(64px, 10vh, 110px);
}
.hero-content-inner {
  max-width: 1600px; margin-inline: auto; padding-inline: var(--pad);
}
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(38px, 5.4vw, 78px); font-weight: 500; line-height: 1.04;
  letter-spacing: -.02em; margin-bottom: 22px; color: var(--text);
}
.hero-title .line { display: block; }
.hero-title .line.alt { font-weight: 500; }
.hero-subtitle { max-width: 46ch; font-size: clamp(15px, 1.1vw, 17px); color: var(--text-muted); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Bouton pilule à flèche-dans-un-carré (façon "Sell your painting") */
.btn-pill {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 0 8px 0 26px; min-height: 56px; border-radius: 4px; overflow: hidden;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #0b0e0e; isolation: isolate;
}
.btn-pill-bg { position: absolute; inset: 0; z-index: -1; background: var(--accent); transition: background .3s var(--ease); }
.btn-pill:hover .btn-pill-bg { background: var(--accent-2); }
.btn-pill-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: rgba(0,0,0,.18); border-radius: 3px; font-size: 16px;
  transition: transform .35s var(--ease);
}
.btn-pill:hover .btn-pill-icon { transform: translateX(3px); }

/* Boutons génériques (autres pages) */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px; font-size: 15px; font-weight: 500;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #0b0e0e; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px var(--accent); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

.hero-scroll {
  position: absolute; z-index: 3; bottom: 36px; right: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: .2em; text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--text-dim), transparent); animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.5); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- 8. SECTION HEAD ---------- */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; margin-bottom: 18px; }
.section-title { font-size: clamp(30px, 5vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; }
.section-lead { font-size: clamp(15px, 2vw, 18px); color: var(--text-muted); max-width: 600px; }

/* ---------- 9. PÔLES (2 cartes | image | 2 cartes) ---------- */
.section-head-center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head-center .section-lead { margin-inline: auto; }

.poles-split {
  display: grid; grid-template-columns: 1fr minmax(300px, 1.05fr) 1fr;
  gap: 24px; align-items: stretch;
}
.poles-col { display: flex; flex-direction: column; gap: 18px; }
.poles-media {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-border); min-height: 100%;
  position: relative;
}
.poles-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poles-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,15,15,.45));
  pointer-events: none;
}

.poles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pole-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 32px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.pole-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.pole-card:hover, .pole-card:focus-visible { transform: translateY(-4px); border-color: var(--line-strong); outline: none; }
.pole-card:hover::before { opacity: 1; }
.pole-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.pole-index { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }
.pole-icon { width: 38px; height: 38px; object-fit: contain; opacity: .9; filter: invert(1); }
.poles-col .pole-card { flex: 1; }
.pole-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.pole-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.pole-more { font-family: var(--font-mono); font-size: 13px; color: var(--accent); display: inline-flex; gap: 6px; transition: gap .3s var(--ease); }
.pole-card:hover .pole-more { gap: 12px; }

/* ---------- 10. FORMATION CALLOUT ---------- */
.formation-card {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--glass-border); padding: clamp(40px, 7vw, 80px);
  background: var(--surface);
  transition: transform .5s var(--ease), border-color .4s;
}
.formation-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.formation-card-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 100% 0%, var(--accent-soft), transparent 50%),
    radial-gradient(500px circle at 0% 100%, rgba(138,255,209,.08), transparent 50%);
}
.formation-card-content { position: relative; max-width: 620px; }
.formation-card h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 500; letter-spacing: -.02em; margin: 16px 0; }
.formation-card p { color: var(--text-muted); margin-bottom: 28px; font-size: 16px; }
.formation-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 14px; color: var(--accent); transition: gap .3s var(--ease); }
.formation-card:hover .formation-link { gap: 14px; }

/* ---------- 11. NEWS (cartes média) ---------- */
.news-cat {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  color: var(--accent-2); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.news-card-meta {
  display: flex; align-items: center; gap: 8px; margin-top: auto;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
}
.news-card-dot { color: var(--text-dim); }

/* Carte générique */
.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius); transition: transform .45s var(--ease), border-color .4s;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.news-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card-flag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px; color: #0b0e0e;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.news-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px clamp(20px, 3vw, 28px) 24px; }
.news-card-body h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.news-card-body p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin-bottom: 20px; }

/* Accueil : grille vedette + liste latérale */
.news-seeall {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  transition: gap .3s var(--ease);
}
.news-seeall:hover { gap: 14px; }
.news-feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.news-feature-main .news-card.is-featured .news-card-media { aspect-ratio: 16 / 11; }
.news-feature-main .news-card.is-featured .news-card-body h3 { font-size: clamp(22px, 2.8vw, 30px); }
.news-feature-side { display: flex; flex-direction: column; gap: 16px; }

/* Mini-carte horizontale */
.news-mini {
  display: grid; grid-template-columns: 116px 1fr; gap: 16px;
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); overflow: hidden; padding: 12px;
  transition: transform .4s var(--ease), border-color .4s;
}
.news-mini:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.news-mini-media { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; }
.news-mini-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-mini:hover .news-mini-media img { transform: scale(1.05); }
.news-mini-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.news-mini-body .news-cat { margin-bottom: 6px; }
.news-mini-body h4 { font-size: 15px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }

/* Page actualités : grille + filtres + empty */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-grid .news-card.is-featured { grid-column: 1 / -1; }
.news-grid .news-card.is-featured { flex-direction: row; }
.news-grid .news-card.is-featured .news-card-media { flex: 1 1 50%; aspect-ratio: auto; }
.news-grid .news-card.is-featured .news-card-body { flex: 1 1 50%; justify-content: center; }
.news-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.news-filter-btn {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-muted);
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--glass-border);
  transition: color .25s, background .25s, border-color .25s;
}
.news-filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.news-filter-btn.is-active { color: #0b0e0e; background: var(--accent); border-color: var(--accent); }
.news-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 60px 20px; }

/* Carte épinglée "Cheat Sheet" — pleine largeur, format horizontal, toujours en tête */
.news-card-pinned {
  display: flex; flex-direction: row; margin-bottom: 26px;
  text-decoration: none; color: inherit;
}
.news-card-pinned .news-card-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 240px; }
.news-card-pinned .news-card-body { flex: 1 1 58%; justify-content: center; }
.news-pinned-art {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, var(--accent-soft), transparent 60%),
    linear-gradient(150deg, #14181a, #0c0f0f);
  overflow: hidden;
}
.news-pinned-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 80%, rgba(138,255,209,.10), transparent 70%);
}
.news-pinned-glyph {
  width: 46%; max-width: 180px; color: var(--accent);
  filter: drop-shadow(0 8px 24px rgba(108,140,255,.35));
  transition: transform .6s var(--ease);
}
.news-card-pinned:hover .news-pinned-glyph { transform: scale(1.06) rotate(2deg); }
.news-pinned-cta {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px; transition: gap .3s var(--ease);
}
.news-card-pinned:hover .news-pinned-cta { gap: 12px; }

@media (max-width: 720px) {
  .news-card-pinned { flex-direction: column; }
  .news-card-pinned .news-card-media { flex: none; width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
}

/* Page actualités : en-tête */
.section-pad-b { padding-bottom: clamp(80px, 12vw, 160px); }
.news-page-head { padding-top: clamp(140px, 14vw, 190px); padding-bottom: clamp(40px, 6vw, 64px); text-align: center; }
.news-page-head .container { display: flex; flex-direction: column; align-items: center; }
.news-page-title { font-size: clamp(34px, 6vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; margin-bottom: 22px; }
.news-page-lead { font-size: clamp(15px, 2vw, 18px); color: var(--text-muted); max-width: 600px; }

/* ---------- 12. PARTNERS ---------- */
.partners { padding-block: 44px; border-block: 1px solid var(--line); overflow: hidden; }
.partners-rail { display: flex; align-items: center; gap: 40px; max-width: 100%; }
.partners-label {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  letter-spacing: .06em; white-space: nowrap; padding-left: var(--pad); flex: 0 0 auto;
}
.partners-viewport {
  position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.partners-track { display: flex; width: max-content; gap: 80px; animation: marquee 26s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
.partners-set { display: flex; gap: 80px; align-items: center; flex: 0 0 auto; padding-right: 80px; }
.partners-set img { height: 30px; width: auto; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .45; transition: opacity .3s; }
.partners-set img:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 13. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.contact-list a:hover { padding-left: 10px; }
.contact-k { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }
.contact-v { color: var(--text); }

.contact-form {
  background: var(--glass-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--text); font-family: inherit; font-size: 15px;
  transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa3a1' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-status { font-family: var(--font-mono); font-size: 13px; min-height: 18px; }
.form-status.ok { color: var(--accent-2); }
.form-status.err { color: #ff7b7b; }

/* ---------- 14. FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 64px 32px; background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; }
.footer-logo-img { height: 34px; width: auto; object-fit: contain; }
.footer-tagline { margin-top: 16px; color: var(--text); }
.footer-desc { color: var(--text-dim); font-size: 14px; max-width: 320px; margin-top: 6px; }
.footer-nav h4 { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); letter-spacing: .08em; margin-bottom: 18px; text-transform: uppercase; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: var(--text-muted); font-size: 15px; transition: color .3s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); flex-wrap: wrap; gap: 12px; }
.footer-legal-links { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--text-dim); transition: color .3s; }
.footer-legal-links a:hover { color: var(--text); }

/* ---------- 14b. PAGES LÉGALES ---------- */
.legal-hero { padding: 160px var(--pad) 40px; }
.legal-title { font-size: clamp(34px, 6vw, 72px); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; margin: 22px 0 14px; }
.legal-updated { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }

.legal-container { max-width: 820px; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section:first-child { border-top: none; padding-top: 0; }
.legal-section h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 500; letter-spacing: -.01em; margin-bottom: 18px; }
.legal-section h3 { font-size: clamp(16px, 2vw, 18px); font-weight: 600; color: var(--text); margin: 22px 0 12px; }
.legal-section p { color: var(--text-muted); margin-bottom: 12px; max-width: 70ch; }
.legal-section p strong { color: var(--text); font-weight: 600; }
.legal-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; transition: opacity .3s; }
.legal-section a:hover { opacity: .75; }
.legal-list { margin: 0 0 12px; padding-left: 22px; list-style: disc; color: var(--text-muted); max-width: 70ch; }
.legal-list li { margin-bottom: 8px; }
.legal-list li::marker { color: var(--accent); }
.legal-list strong { color: var(--text); font-weight: 600; }
.legal-back { margin-top: 40px; }

/* ---------- 15. MODALS ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; inset: 0; background: rgba(6,8,8,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; width: min(560px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); transform: translateY(20px) scale(.98); transition: transform .4s var(--ease);
}
.modal.is-open .modal-panel { transform: none; }
.modal-panel-wide { width: min(760px, 100%); }
.modal-close { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--text-muted); transition: border-color .3s, color .3s; }
.modal-close:hover { border-color: var(--line-strong); color: var(--text); }
.modal-tag { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.modal-title { font-size: clamp(24px, 4vw, 34px); font-weight: 500; letter-spacing: -.02em; margin: 12px 0 16px; }
.modal-desc { color: var(--text-muted); margin-bottom: 28px; }
.modal-subhead { font-family: var(--font-mono); font-size: 13px; color: var(--text); margin-bottom: 14px; }
.modal-list { display: flex; flex-direction: column; gap: 12px; }
.modal-list li { position: relative; padding-left: 24px; color: var(--text-muted); font-size: 15px; }
.modal-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.modal-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions:empty { display: none; }

/* ---------- Article modal (détail actualité) ---------- */
.article-modal-media { margin: -8px 0 22px; border-radius: var(--radius); overflow: hidden; }
.article-modal-media img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.article-modal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .04em; }
.article-modal-meta .modal-tag { font-size: 12px; }
.article-modal-dot { color: var(--text-muted); }
.article-modal-content { margin-top: 18px; color: var(--text-muted); font-size: 16px; line-height: 1.75; }
.article-modal-content p { margin: 0 0 16px; }
.article-modal-content h2, .article-modal-content h3 { color: var(--text); margin: 24px 0 12px; font-weight: 500; }
.article-modal-content ul, .article-modal-content ol { margin: 0 0 16px; padding-left: 22px; }
.article-modal-content li { margin-bottom: 8px; }
.article-modal-content a { color: var(--accent); text-decoration: underline; }
.article-modal-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.article-modal-content strong { color: var(--text); }
/* Cartes actualités cliquables */
.news-card[role="button"], .news-mini[role="button"] { cursor: pointer; }
.news-card[role="button"]:focus-visible, .news-mini[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- 16. TECHNIQUE PAGE ---------- */
.tech-hero { padding: 160px var(--pad) 80px; }
.tech-hero-title { font-size: clamp(36px, 7vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; margin: 22px 0 28px; }
.tech-hero-lead { max-width: 580px; color: var(--text-muted); font-size: clamp(16px, 2vw, 19px); }
.tech-hero-stats { display: flex; gap: 56px; margin-top: 56px; flex-wrap: wrap; }
.tech-hero-stats strong { display: block; font-size: clamp(32px, 5vw, 52px); font-weight: 500; font-family: var(--font-mono); }
.tech-hero-stats span { font-size: 13px; color: var(--text-dim); }

/* Galerie horizontale (façon Stories) */
.gallery {
  position: relative;
  background:
    radial-gradient(120% 100% at 50% 0%, #14181a 0%, var(--bg) 60%);
  border-block: 1px solid var(--line);
}
.gallery-pin {
  position: relative; overflow: hidden;
  padding-block: clamp(60px, 9vw, 110px);
}
.gallery-pin::after {
  /* "parquet" subtil en bas, clin d'œil au mur de galerie */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
  pointer-events: none;
}
.gallery-head { margin-bottom: 48px; }
.gallery-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 5vw, 60px); letter-spacing: -.02em; line-height: 1.02; }
.gallery-title .alt { font-style: italic; }
.gallery-sub { margin-top: 16px; color: var(--text-muted); max-width: 520px; font-size: clamp(15px, 2vw, 18px); }

.gallery-viewport { overflow: hidden; }
.gallery-rail {
  display: flex; gap: clamp(36px, 6vw, 90px); align-items: flex-end;
  padding: 10px var(--pad) 30px;
}

/* ----- Desktop : scroll horizontal pinné (piloté par JS via transform) ----- */
@media (min-width: 901px) {
  .gallery.is-pinned { } /* hauteur de piste fixée en inline par main.js */
  .gallery.is-pinned .gallery-pin {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(40px, 6vh, 80px);
  }
  .gallery.is-pinned .gallery-viewport { flex: 1 1 auto; display: flex; align-items: center; }
  .gallery.is-pinned .gallery-rail {
    will-change: transform;
    transition: transform .12s linear;
  }
}

/* ----- Mobile / tactile : carrousel à défilement natif ----- */
@media (max-width: 900px) {
  .gallery-viewport {
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; scrollbar-width: none;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  }
  .gallery-viewport::-webkit-scrollbar { display: none; }
}

.gallery-card {
  flex: 0 0 auto; width: clamp(240px, 26vw, 340px); scroll-snap-align: start;
  cursor: pointer; display: flex; flex-direction: column; gap: 18px;
}
/* Carte "à venir" (placeholder) : non cliquable */
.gallery-card.is-soon { cursor: default; }
.gallery-card.is-soon .gallery-view { color: var(--text-dim); }
.paper-card.is-soon { cursor: default; opacity: .85; }
.gallery-frame {
  position: relative;
  padding: 14px; background: linear-gradient(150deg, #2a2622, #14110e);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.04);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gallery-card:hover .gallery-frame { transform: translateY(-8px); box-shadow: 0 44px 80px -24px rgba(0,0,0,.85); }
.gallery-index {
  position: absolute; top: -34px; left: 2px;
  font-family: var(--font-serif); font-style: italic; font-size: 26px; color: var(--text-dim);
}
.gallery-art {
  position: relative; aspect-ratio: 4 / 5; background-size: cover; background-position: center;
  border: 1px solid rgba(0,0,0,.5);
  /* Borne la hauteur pour qu'une carte entière (art + légende) tienne dans la
     zone pinnée 100vh, en laissant la place au titre de section et au pied. */
  max-height: 46vh;
}
.gallery-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); }
.gallery-domain {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); background: rgba(10,12,12,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 5px 9px; border: 1px solid var(--glass-border); border-radius: 100px;
}
.gallery-status { position: absolute; bottom: 12px; left: 12px; z-index: 1; }
.gallery-caption h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(18px, 2.2vw, 24px); letter-spacing: -.01em; margin-bottom: 6px; }
.gallery-author { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.gallery-view { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--accent); display: inline-flex; gap: 6px; transition: gap .3s var(--ease); }
.gallery-card:hover .gallery-view { gap: 12px; }

.gallery-foot { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.gallery-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--text-dim); white-space: nowrap; }
.gallery-progress { flex: 1 1 auto; height: 1px; background: var(--line); position: relative; }
.gallery-progress span { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent); transition: width .1s linear; }

.paper-domain { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .06em; padding: 5px 10px; border: 1px solid var(--line); border-radius: 100px; }
.paper-id { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* Filters */
.papers-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.filter-btn { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; transition: all .3s var(--ease); }
.filter-btn:hover { border-color: var(--line-strong); color: var(--text); }
.filter-btn.is-active { background: var(--text); color: #0b0e0e; border-color: var(--text); }

/* Papers grid — framed research papers */
.papers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.paper-card {
  background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 26px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s; display: flex; flex-direction: column;
}
.paper-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.paper-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.paper-card:hover::after { transform: scaleX(1); }
.paper-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.paper-card h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; letter-spacing: -.01em; }
.paper-card .paper-abstract { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.paper-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.paper-authors { font-size: 13px; color: var(--text-dim); }
.paper-status { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 100px; letter-spacing: .04em; }
.paper-status.prod { color: var(--accent-2); background: rgba(138,255,209,.1); }
.paper-status.wip { color: #ffd27b; background: rgba(255,210,123,.1); }
.paper-status.research { color: var(--accent); background: var(--accent-soft); }

/* Paper modal extras */
.paper-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.paper-modal-status { font-family: var(--font-mono); font-size: 11px; padding: 4px 12px; border-radius: 100px; }
.paper-modal-authors { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.paper-modal-meta { display: flex; gap: 24px; flex-wrap: wrap; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 28px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.paper-modal-meta strong { color: var(--text); }
.paper-modal-section { margin-bottom: 28px; }
.paper-modal-section h3 { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 12px; letter-spacing: .06em; }
.paper-modal-section p { color: var(--text-muted); }
.paper-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.paper-modal-tags li { font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text-muted); }
.paper-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 17. REVEAL ANIM ---------- */
/* Hidden only once JS is ready (progressive enhancement : visible si JS off/échoue) */
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 900px) {
  .navbar-col.is-center { display: none; }
  .navbar-cta { display: none; }
  .nav-trigger { display: flex; }
  .navbar-dots, .navbar-lang { display: none; }
  .hero-frame { width: 80vw; height: 40vh; top: 13vh; }
  .hero-scroll { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .news-feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid .news-card.is-featured { flex-direction: column; }
  .news-grid .news-card.is-featured .news-card-media { aspect-ratio: 16 / 10; }
  .poles-split { grid-template-columns: 1fr 1fr; }
  .poles-media { grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 8; min-height: 0; }
}
@media (max-width: 620px) {
  .poles-grid { grid-template-columns: 1fr; }
  .poles-split { grid-template-columns: 1fr; }
  .poles-media { aspect-ratio: 16 / 10; }
  .hero-coord { display: none; }
  .hero-frame { width: 86vw; height: 34vh; top: 14vh; }
  .hero-frame-caption { font-size: 10px; letter-spacing: .1em; }
  .navbar-logo-img { height: 48px; }
  .tech-hero-stats { gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-mini { grid-template-columns: 96px 1fr; }
  /* Hero : éviter tout débordement de texte sur petits écrans */
  .hero { padding-inline: 20px; }
  .hero-title { font-size: clamp(34px, 8.5vw, 56px); }
  .hero-subtitle, .hero-eyebrow { max-width: 100%; }
  .hero-eyebrow { font-size: 11px; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
