/* =================================================================
   ATOM IMPACT AI — styles.css
   v2 — Aligné sur l'univers AtomImpact.design : nuit profonde,
   dégradé bleu → cyan, Syne + Manrope. La touche « code » de l'IA
   (JetBrains Mono) signe les libellés. Le rouge du noyau reste un
   signal rare. Version précédente : _sauvegarde_2026-10-03/
   ================================================================= */

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Fonds : nuit bleutée */
  --bg-deep:     #04050d;
  --bg-surface:  #070a14;
  --bg-elevated: #0a0f1e;
  --bg-paper:    #0e1528;

  /* Texte */
  --ink-100: #f0f0f5;
  --ink-300: #a7abc2;
  --ink-500: #7b8099;
  --ink-700: #4a4f66;

  /* Bordures (bleu translucide, comme AtomImpact.design) */
  --border-soft:   rgba(68, 136, 255, 0.10);
  --border-mid:    rgba(68, 136, 255, 0.18);
  --border-strong: rgba(68, 136, 255, 0.34);

  /* Signal : bleu → cyan */
  --blue:       #1e5fff;
  --blue-light: #4488ff;
  --cyan:       #00d4ff;
  --grad:       linear-gradient(135deg, var(--blue-light), var(--cyan));
  --grad-deep:  linear-gradient(135deg, var(--blue), var(--cyan));

  /* Noyau (rare) */
  --atom-core: #e0342e;
  --atom-glow: #ff6b54;

  /* Électrons du logo */
  --e-blue:   #2E5EE6;
  --e-yellow: #E9C54B;
  --e-green:  #3FBE6A;

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-md: 0 18px 40px rgba(0, 0, 0, 0.45);
  --sh-lg: 0 26px 60px rgba(0, 0, 0, 0.6);
  --sh-glow: 0 0 0 4px rgba(0, 212, 255, 0.16), 0 10px 32px rgba(0, 212, 255, 0.35);

  /* Mouvement */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mo-fast: 160ms cubic-bezier(.2, .8, .2, 1);
  --mo-base: 240ms cubic-bezier(.2, .8, .2, 1);
  --mo-slow: 480ms cubic-bezier(.16, 1, .3, 1);

  /* Polices */
  --ff-display: "Syne", "Manrope", sans-serif;
  --ff-body:    "Manrope", -apple-system, system-ui, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, monospace;
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-300);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; -webkit-user-drag: none; }   /* images non glissables hors de la page */
/* Appui long sur écran tactile : ni menu (iOS : -webkit-touch-callout), ni sélection de texte.
   Le clic droit est bloqué dans js/ui.js. Les champs du formulaire restent utilisables. */
@media (hover: none) and (pointer: coarse) {
  body { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  input, textarea, select { -webkit-touch-callout: default; -webkit-user-select: text; user-select: text; }
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--mo-fast); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(0, 212, 255, 0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Halo d'ambiance */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(68, 136, 255, 0.07) 0, transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(0, 212, 255, 0.05) 0, transparent 42%);
  pointer-events: none;
  z-index: -1;
}

/* ── CURSEUR ATOMIQUE (signature AtomImpact.design) ───────────── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  z-index: 9999;
  pointer-events: none;
  transition: opacity .4s ease;
  will-change: transform;
}
#cursor.cursor-idle,
#cursor.cur-hidden { opacity: 0; }
.cur-body { position: absolute; transition: transform .22s var(--ease); }
#cursor.cur-excited .cur-body { transform: scale(1.3); }
#cursor.cur-press .cur-body { transform: scale(.85); }
.cur-nucleus {
  position: absolute;
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: #e0342e;
  box-shadow: 0 0 8px 2px rgba(224, 52, 46, .6);
}
.cur-ring {
  position: absolute;
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
}
.cur-r2 { transform: rotate(62deg); }
.cur-r3 { transform: rotate(-62deg); }
.cur-el {
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 6px 1px var(--c);
  offset-path: path('M 0,21 A 21,9 0 1 0 42,21 A 21,9 0 1 0 0,21');
  offset-rotate: 0deg;
  animation: curOrbit 2.6s linear infinite;
}
.cur-r2 .cur-el { animation-duration: 3.4s; }
.cur-r3 .cur-el { animation-duration: 3s; animation-direction: reverse; }
#cursor.cur-excited .cur-el { animation-duration: 1s; }
#cursor.cur-excited .cur-r2 .cur-el { animation-duration: 1.15s; }
@keyframes curOrbit { to { offset-distance: 100%; } }

html.has-atom-cursor,
html.has-atom-cursor body,
html.has-atom-cursor a,
html.has-atom-cursor button,
html.has-atom-cursor summary,
html.has-atom-cursor label,
html.has-atom-cursor canvas,
html.has-atom-cursor [data-atom-pin] { cursor: none; }
html.has-atom-cursor input,
html.has-atom-cursor textarea { cursor: text; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--bg-paper); color: var(--ink-100);
  border: 1px solid var(--cyan);
  transform: translateY(-160%);
  transition: transform var(--mo-base);
}
.skip-link:focus { transform: none; }

/* Apparition au défilement (classe posée par ui.js : sans JS, tout est visible).
   Animation sur la propriété « translate » : elle se compose avec les
   « transform » de survol des cartes au lieu de les écraser. */
.reveal:not(.is-visible) { opacity: 0; }
.reveal.is-visible { animation: revealUp .9s var(--ease) var(--reveal-delay, 0ms) both; }
@keyframes revealUp {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ── TYPOGRAPHIE ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--ink-100);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h3, h4 { font-weight: 700; letter-spacing: -0.01em; }

/* Mot-clé en dégradé, comme les titres d'AtomImpact.design */
h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--cyan);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Libellés : une seule signature sur tout le site, celle d'AtomImpact.design
   (« Agence IA sur mesure ») - Syne 700, capitales espacées, bleu clair,
   précédées d'un trait dégradé bleu → cyan */
.eyebrow, .hero-label, .atom-tag, .label-eyebrow, .footer-label, .vision-label, .rx-num, .rx-intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.eyebrow::before, .hero-label::before, .atom-tag::before, .label-eyebrow::before,
.footer-label::before, .vision-label::before, .rx-num::before, .rx-intro-kicker::before {
  content: '';
  flex: none;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.eyebrow { margin-bottom: 1.5rem; }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 1.5rem;
  max-width: 21ch;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-300);
  max-width: 64ch;
  margin-bottom: 3rem;
}

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

.section {
  padding: 128px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
}

/* ── BOUTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--mo-base), box-shadow var(--mo-base), background var(--mo-base), border-color var(--mo-base), color var(--mo-base);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 11.5px; }
.btn-lg { padding: 18px 36px; font-size: 14px; }

.btn-primary {
  background: var(--grad-deep);
  /* le dégradé couvre aussi la bordure transparente de .btn : sinon il se répète dessous
     et laisse un filet de l'autre couleur sur les bords gauche et droit
     (après le raccourci « background », qui remettrait ce réglage à zéro) */
  background-origin: border-box;
  color: #fff;
  box-shadow: 0 8px 26px rgba(30, 95, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.42);
}
.btn-primary:focus-visible { outline: none; box-shadow: var(--sh-glow); }
.btn-primary:disabled { opacity: .6; transform: none; cursor: default; }

.btn-secondary {
  background: transparent;
  color: var(--ink-100);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--blue-light);
  background: rgba(68, 136, 255, 0.08);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-100);
  padding: 14px 0;
  border-radius: 0;
  position: relative;
}
/* même trait animé que les liens du menu : dégradé qui se déroule au survol */
.btn-ghost::after {
  content: '';
  position: absolute;
  left: 0; bottom: 12px;   /* ≈ 4,5 px sous le texte, comme dans le menu */
  width: 0; height: 1.5px;
  background: var(--grad);
  transition: width var(--mo-base);
}
.btn-ghost:hover { color: #fff; }
.btn-ghost:hover::after,
.btn-ghost:focus-visible::after { width: 100%; }

/* ── NAV ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: rgba(4, 5, 13, 0.82);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  transition: transform .38s cubic-bezier(.4, 0, .2, 1), opacity .38s ease;
}
.nav.nav-hidden { transform: translateY(-110%); opacity: 0; }

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-100);
}

/* Logo en plein écran (clic sur le logo du menu), comme AtomImpact.design */
#logo-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 600;
  background: rgba(4, 5, 13, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  align-items: center; justify-content: center;
  cursor: pointer;
}
#logo-overlay.visible { display: flex; }
/* Cadre de l'animation 3D : le logo (3350 × 2364 unités) plus 120 unités de chaque côté, où
   passent les électrons en bout de course (3590 × 2604). Le logo y garde sa taille d'avant :
   min(900px, 80vw, 120vh) de large. */
#logo-overlay .logo-plein {
  position: relative;
  width: min(964.5px, 85.73vw, 128.6vh);
  aspect-ratio: 3590 / 2604;
  animation: logoFadeIn .25s ease;
}
/* Logo fixe : en attendant la 3D (même pose que son départ), et sans WebGL2 */
#logo-overlay img {
  position: absolute;
  left: 3.3426%; top: 4.6083%;
  width: 93.315%; height: auto;
  filter: drop-shadow(0 0 40px rgba(68, 136, 255, 0.4));
  transition: opacity .3s ease;
}
#logo-overlay canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .3s ease;
}
#logo-overlay.logo-3d canvas { opacity: 1; }
#logo-overlay.logo-3d img { opacity: 0; }
@keyframes logoFadeIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { #logo-overlay .logo-plein { animation: none; } }
.logo-mark-img {
  height: 40px;
  width: 40px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(68, 136, 255, 0.4));
  transition: transform var(--mo-base), filter var(--mo-base);
}
.nav-logo:hover .logo-mark-img {
  transform: rotate(12deg);
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.55));
}
/* Logo « ATOM IMPACT AI » sur une ligne (en-tête), comme sur AtomImpact.design : « ATOM » est
   le logo ATOM en 3D (atome chromé et lettres A, T, M, js/logo-atom-entete.js), IMPACT AI le
   SVG (logo-ligne-impact-ai.svg, recomposé depuis images/ATOM Impact AI FINAL.svg). ATOM garde
   ses proportions du grand logo ; IMPACT AI est décalé de 73 unités pour garder 480 unités
   entre les mots. Image fixe de l'ATOM 3D (même pose qu'au départ) dessous, en secours sans
   WebGL2 ou avec « réduire les animations ». --logo-h fixe la taille, tout le reste en découle
   (cadre du SVG : 8595 × 1238 unités ; fenêtre 3D : 3590 × 2604 unités, à -120 / -726 du coin
   du SVG). */
.logo-line {
  --logo-h: 34px;
  position: relative;
  display: block;
  height: var(--logo-h);
  width: calc(var(--logo-h) * 6.94265);
  flex: none;
  /* l'atome dépasse de 0,49 × --logo-h au-dessus des lettres et de 0,42 × dessous : il tient
     dans la hauteur du menu (marges de 12 px), sans décalage (AtomImpact.design l'abaisse) */
}
.logo-line-img { display: block; width: 100%; height: 100%; }
.logo-line-atom, #nav-atom-canvas {
  position: absolute;
  left: calc(var(--logo-h) * -0.09693);
  top: calc(var(--logo-h) * -0.58643);
  width: calc(var(--logo-h) * 2.89984);
  height: calc(var(--logo-h) * 2.10339);
  pointer-events: none;
}
#nav-atom-canvas {
  display: block;
  opacity: 0;
  transition: opacity .4s ease, filter var(--mo-base);
}
.nav-logo.has-atom #nav-atom-canvas { opacity: 1; }
.nav-logo.has-atom .logo-line-atom { opacity: 0; }
.nav-logo.has-atom:hover #nav-atom-canvas { filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6)); }
@media (max-width: 1100px) { .logo-line { --logo-h: 28.5px; } }   /* laisse de l'air aux liens du menu */
/* Mobile : le bouton menu est centré (cf. .nav plus bas) ; le logo tient dans la moitié
   gauche : largeur ≤ (100vw - marges 40 - bouton 44) / 2 - 16 = (100vw - 116px) / 2,
   soit --logo-h ≤ (100vw - 116px) / (2 × 6,943). 16 px d'air sur téléphone ; encore 8 px
   dans une fenêtre d'ordinateur étroite, où 100vw inclut l'ascenseur */
@media (max-width: 920px) { .logo-line { --logo-h: min(28.5px, calc((100vw - 116px) / 13.89)); } }
.logo-word {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.logo-word em {
  font-style: normal;
  font-weight: 600;
  margin-left: 4px;
  color: var(--cyan);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-300);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--grad);
  transition: width var(--mo-base);
}
.nav-links a:hover { color: var(--blue-light); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink-100);
  margin: 0 auto;
  transition: transform var(--mo-base), opacity var(--mo-base);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(4, 5, 13, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-mid);
  padding: 16px 24px 28px;
  display: none;
  flex-direction: column;
  text-align: center;   /* menu mobile centré, comme le bouton qui l'ouvre */
  z-index: 49;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.nav-mobile a:hover { color: var(--blue-light); }
.nav-mobile a.btn { margin-top: 16px; border-bottom: none; color: #fff; padding: 15px 30px; align-self: center; }

@media (max-width: 920px) {
  .nav-links, .nav .btn-primary { display: none; }
  .nav-burger { display: flex; }
  /* comme AtomImpact.design : logo à gauche, bouton menu au centre de l'en-tête */
  .nav { padding: 10px 20px; display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-logo { justify-self: start; }
  .nav-burger { grid-column: 2; justify-self: center; }
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 100px 48px 40px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
/* Grille fine, fondue en ellipse (signature AtomImpact.design) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(68, 136, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 136, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 25%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: 18%; right: 6%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(68, 136, 255, 0.16) 0, rgba(0, 212, 255, 0.05) 35%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* Colonne de texte centrée, logo au-dessus du titre (mise en page d'AtomImpact.design) */
.hero-text { text-align: center; }
.hero-logo-large {
  display: block;
  width: min(540px, 95%, 42vh);   /* rétrécit sur les écrans peu hauts : le bouton reste visible */
  height: auto;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 0 24px rgba(68, 136, 255, 0.35));
}
/* Écrans très peu hauts (portable 1280 × 680…) : taille d'avant, sinon les boutons passent sous la ligne de flottaison */
@media (max-height: 720px) { .hero-logo-large { width: min(420px, 90%, 32vh); } }
/* Libellé sous le logo (style commun des libellés, centré) */
.hero-label { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.hero-text .hero-title { margin-bottom: 1.4rem; }
.hero-text .hero-sub { margin-bottom: 1.8rem; }

.hero-title {
  /* « impact atomique » (≈ 13,4 em) doit tenir sur une ligne dans la colonne : 3 lignes, comme AtomImpact.design */
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
@media (max-width: 480px) { .hero-title { font-size: 1.8rem; } }

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-300);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}
html:not(.has-atom-cursor) .hero-sub strong[data-atom-pin] { cursor: pointer; }
.hero-sub strong[data-atom-pin] {
  font-weight: 600;
  color: var(--ink-100);
  border-bottom: 1.5px dotted var(--ink-500);
  transition: color var(--mo-fast), border-color var(--mo-fast), text-shadow var(--mo-fast);
  padding-bottom: 1px;
}
.hero-sub strong[data-atom-pin="blue"]:hover,
.hero-sub strong[data-atom-pin="blue"].active,
.hero-sub strong[data-atom-pin="blue"].atom-linked    { color: #6d8dff; border-color: #6d8dff; text-shadow: 0 0 12px rgba(46,94,230,0.6); }
.hero-sub strong[data-atom-pin="yellow"]:hover,
.hero-sub strong[data-atom-pin="yellow"].active,
.hero-sub strong[data-atom-pin="yellow"].atom-linked  { color: var(--e-yellow); border-color: var(--e-yellow); text-shadow: 0 0 12px rgba(233,197,75,0.5); }
.hero-sub strong[data-atom-pin="green"]:hover,
.hero-sub strong[data-atom-pin="green"].active,
.hero-sub strong[data-atom-pin="green"].atom-linked   { color: var(--e-green); border-color: var(--e-green); text-shadow: 0 0 12px rgba(63,190,106,0.5); }
.hero-sub strong[data-atom-pin="nucleus"]:hover,
.hero-sub strong[data-atom-pin="nucleus"].active,
.hero-sub strong[data-atom-pin="nucleus"].atom-linked { color: var(--atom-glow); border-color: var(--atom-core); text-shadow: 0 0 14px rgba(224,52,46,0.55); }

.hero-cta {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-canvas-wrap {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}
#atom-canvas {
  width: 100%; height: 100%;
  display: block;
}
#atom-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(4, 5, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 9px 18px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--mo-base);
  z-index: 20;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
#atom-tooltip.visible { opacity: 1; }
#atom-tooltip .tt-l1,
#atom-tooltip .tt-l2 {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-100);
}
#atom-tooltip .tt-l2 {
  margin-top: 3px;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 10.5px;
  color: var(--cyan);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 104px;
    padding-left: 24px;
    padding-right: 24px;
  }
  /* version mobile : pas d'atome 3D entre les boutons et le bandeau déroulant
     (js/atom.js ne crée alors même pas le rendu) */
  .hero-canvas-wrap { display: none; }
  /* … donc les mots reliés à l'atome (« process », « outils »…) ne sont plus soulignés en pointillés */
  .hero-sub strong[data-atom-pin] { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .hero-cta .btn-primary { width: 100%; }
}

/* ── TICKER ─────────────────────────────────────────────────────── */
.ticker-wrap {
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  background: rgba(7, 10, 22, 0.8);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  gap: 4rem;
  animation: ticker 40s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
  font-family: var(--ff-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.ticker-dot { color: var(--blue-light); margin-left: 4rem; font-size: 9px; vertical-align: 2px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── VISION ─────────────────────────────────────────────────────── */
.section-vision { background: var(--bg-deep); }
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 3rem;
}
.vision-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 40px;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.vision-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--sh-md); }
.vision-card--accent {
  background: linear-gradient(135deg, rgba(68, 136, 255, 0.12), rgba(0, 212, 255, 0.03));
  border-color: rgba(0, 212, 255, 0.3);
}
.vision-label {
  color: var(--ink-500);   /* gris : ce que l'IA gère ; cyan : ce que vos équipes font enfin */
  margin-bottom: 1.5rem;
}
.vision-card--accent .vision-label { color: var(--cyan); }
.vision-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vision-card li {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink-100);
  padding-left: 24px;
  position: relative;
}
.vision-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-700);
}
.vision-card--accent li::before {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

@media (max-width: 768px) {
  .vision-grid { grid-template-columns: 1fr; }
  .vision-card { padding: 30px; }
}

/* ── BÉNÉFICES (grille jointive, façon « pôles » d'AtomImpact.design) ── */
.section-benefits { background: var(--bg-surface); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--border-mid);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  overflow: hidden;
}
.benefit {
  background: var(--bg-surface);
  padding: 38px 34px;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.benefit::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.benefit:hover { background: #0a0e1e; }
.benefit:hover::before { opacity: 1; }
.benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--blue-light);
  margin-bottom: 1.4rem;
  transition: border-color .3s, background .3s, color .3s;
}
.benefit:hover .benefit-num { border-color: var(--blue-light); background: rgba(68, 136, 255, 0.12); color: var(--cyan); }
.benefit h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.benefit p {
  font-size: 0.93rem;
  color: var(--ink-300);
}

@media (max-width: 960px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ── ATOMES ─────────────────────────────────────────────────────── */
.section-atoms { background: var(--bg-deep); }
.atoms-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
.atom-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 40px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.atom-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.atom-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md), 0 0 0 1px rgba(68, 136, 255, 0.2);
  border-color: var(--blue-light);
}
.atom-card:hover::before { opacity: 1; }
.atom-tag { margin-bottom: 1.25rem; }
.atom-card h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.atom-card p {
  color: var(--ink-300);
  margin-bottom: 1.5rem;
}
.atom-card p strong { color: var(--ink-100); }
.atom-card blockquote {
  font-size: 0.95rem;
  color: var(--ink-500);
  padding-left: 16px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--blue-light), var(--cyan)) 1;
}
.atom-card blockquote em { color: var(--ink-100); font-style: italic; }

.atom-card--sur-mesure {
  background: linear-gradient(135deg, rgba(68, 136, 255, 0.14), rgba(0, 212, 255, 0.03));
  border-color: rgba(0, 212, 255, 0.35);
}
.atom-card--sur-mesure .atom-tag { color: var(--cyan); }

@media (max-width: 768px) {
  .atoms-list { grid-template-columns: 1fr; }
  .atom-card { padding: 30px; }
}

/* ── MÉTHODE ────────────────────────────────────────────────────── */
.section-method {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.section-method::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(68, 136, 255, 0.09) 0, transparent 70%);
  pointer-events: none;
}
.section-method > * { position: relative; z-index: 1; }

.method-steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 4rem;
  position: relative;
}
.method-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 40px; right: 40px;
  height: 1.5px;
  background: repeating-linear-gradient(to right, rgba(0, 212, 255, 0.45) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.method-steps li {
  position: relative;
  z-index: 1;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--blue-light);
  font-family: var(--ff-mono);
  font-size: 20px;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 6px rgba(68, 136, 255, 0.06), 0 0 28px rgba(0, 212, 255, 0.22);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.method-steps li:hover .step-num { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.1), 0 0 36px rgba(0, 212, 255, 0.4); }
.method-steps h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}
.method-steps p {
  color: var(--ink-300);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .method-steps { grid-template-columns: 1fr 1fr; }
  .method-steps::before { display: none; }
}
@media (max-width: 560px) { .method-steps { grid-template-columns: 1fr; } }

/* ── ÉTHIQUE ────────────────────────────────────────────────────── */
.section-ethics { background: var(--bg-deep); }
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
.ethics-card {
  position: relative;
  padding: 34px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.ethics-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}
.ethics-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--border-strong);
}
.ethics-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.ethics-card p {
  font-size: 0.9rem;
  color: var(--ink-300);
}

@media (max-width: 960px) { .ethics-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ethics-grid { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────────────── */
.section-faq { background: var(--bg-surface); }
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--mo-base), box-shadow var(--mo-base);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--blue-light); box-shadow: 0 0 28px rgba(0, 212, 255, 0.08); }
.faq-item summary {
  list-style: none;
  padding: 24px 28px;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--ff-mono);
  font-size: 20px;
  color: var(--cyan);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 28px 24px;
  color: var(--ink-300);
  line-height: 1.7;
}
.faq-item p strong { color: var(--ink-100); }

/* ── CONTACT ────────────────────────────────────────────────────── */
.section-contact {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0, rgba(68, 136, 255, 0.05) 40%, transparent 70%);
  pointer-events: none;
}
.section-contact > * { position: relative; z-index: 1; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  color: var(--ink-100);
  transition: border-color var(--mo-fast), box-shadow var(--mo-fast);
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-500); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: var(--sh-glow);
}
.contact-form button {
  align-self: flex-start;
  margin-top: 12px;
}
/* Message après envoi : cyan si le message est parti, rouge si l'envoi a échoué */
.form-status {
  padding: 16px 20px;
  background: rgba(0, 212, 255, 0.1);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
  color: var(--ink-100);
}
.form-status[hidden] { display: none; }
.form-status strong { color: #fff; }
.form-status.is-error {
  background: rgba(224, 52, 46, 0.1);
  border-left-color: var(--atom-core);
}
.form-status a { color: var(--blue-light); text-decoration: underline; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form button { align-self: stretch; }
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: #020309;
  color: var(--ink-500);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-mid);
}
.footer-logo {
  display: block;
  width: min(240px, 80%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(68, 136, 255, 0.3));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-tag {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 14px;
  width: fit-content;
  color: var(--cyan);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-label { margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: var(--ink-500); }
.footer a:hover { color: var(--blue-light); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--ink-700);
}
/* signature : © ATOM IMPACT DESIGN, lien vers le site de la marque sœur */
.footer-bottom a { font-size: inherit; color: var(--ink-300); letter-spacing: .04em; }
.footer-bottom a:hover { color: var(--blue-light); }
/* Informations légales : même présentation qu'AtomImpact.design */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
  margin-top: 1.1rem;
  font-size: .68rem;
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--ink-500);
}
.footer-legal strong {
  color: var(--ink-100);
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
