/* MEKARYX maquette v05 : feuille unique (remplace site.css, mascotte.css et v04.css, archivées dans _retires-v04).
   Famille Hexterm : fond abyssal, ion, chrome, hexagone. MEKARYX y ajoute le violet du dôme.
   Polices locales sous licence OFL : Saira (titres, partagée avec hextermsecurity.com) et Outfit (texte). */

@font-face {
  font-family: "Saira"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/saira-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --abysse: #04060f;      /* fond mesuré sur les bords des clips Veo : la vidéo s'y fond sans cadre */
  --nuit: #070b1d;
  --panneau: #0d1430;
  --trait: rgb(150 175 255 / .14);
  --trait-fort: rgb(150 175 255 / .3);
  --givre: #eef3ff;
  --brume: #a3b0cf;
  --ion: #4fe7ff;
  --dome: #7b3cff;        /* violet du dôme, réservé aux lumières */
  --lilas: #b39cff;       /* violet lisible pour les traits fins */
  --chrome-hi: #f5f7fa;
  --chrome: #c9cfd6;
  --chrome-lo: #858f9b;

  /* Repli court : chercher des polices système absentes coûte cher au premier affichage. */
  --f-display: "Saira", system-ui, sans-serif;
  --f-text: "Outfit", system-ui, sans-serif;

  /* Échelle en quarte (1,333) à partir de 17 px. */
  --t-0: 1.0625rem;
  --t-1: 1.3125rem;
  --t-2: clamp(1.45rem, 1.1rem + 1.2vw, 1.85rem);
  --t-3: clamp(2.05rem, 1.25rem + 3vw, 3.35rem);
  --t-4: clamp(2.35rem, .9rem + 5.6vw, 6rem);

  --gut: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; background: var(--abysse); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--abysse); color: var(--givre);
  font: 400 var(--t-0)/1.62 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; }
.lead, .hero p { text-wrap: pretty; }
::selection { background: var(--lilas); color: var(--abysse); }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 60;
  background: var(--givre); color: var(--abysse); padding: .7rem 1.1rem; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }
/* Mot et ponctuation double (: ;) toujours sur la même ligne, à la française. */
.insec { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

section { position: relative; padding-block: clamp(4.5rem, 11vw, 9rem); }
section h2 { font-size: var(--t-3); font-weight: 300; line-height: 1.04; letter-spacing: -.02em; max-width: 18ch; }
.lead { color: var(--brume); max-width: 54ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); }

/* Lanterne : une lumière douce suit la souris sur toute la page (souris seulement). */
.lanterne { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .motion.fine .lanterne {
    display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, -20%), rgb(123 60 255 / .085), rgb(79 231 255 / .025) 45%, transparent 70%);
  }
}
main, .foot { position: relative; z-index: 1; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer;
  font: 600 1rem/1 var(--f-text); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, box-shadow .35s;
}
.btn--solid {
  color: var(--abysse);
  background: linear-gradient(180deg, #ffffff, #dfe7f5);
  box-shadow: 0 10px 30px -12px rgb(79 231 255 / .55), inset 0 -1px 0 rgb(0 0 0 / .12);
}
.btn--ghost { color: var(--givre); border-color: var(--trait-fort); background: rgb(7 11 29 / .5); }
.btn--ghost:hover { border-color: var(--ion); }
/* Reflet spéculaire qui traverse le bouton au survol. */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .55) 48%, transparent 62%);
  transform: translateX(-130%);
}
.btn--ghost::after { background: linear-gradient(105deg, transparent 30%, rgb(79 231 255 / .22) 48%, transparent 62%); }
@media (prefers-reduced-motion: no-preference) {
  .fine .btn:hover::after { transform: translateX(130%); transition: transform .8s var(--ease-out); }
}
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Barre ---------- */
.bar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(.8rem, 2vw, 1.25rem) var(--gut);
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: none;
  font: 500 1.05rem/1 var(--f-display); letter-spacing: .3em; color: var(--givre);
}
.brand span { margin-right: -.3em; }
.brand picture { display: contents; }
.brand__mark { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px rgb(179 156 255 / .35), 0 0 18px -4px rgb(123 60 255 / .9); }
.nav { display: flex; align-items: center; gap: clamp(.25rem, 1.6vw, 1.6rem); }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .6rem .2rem;
  font-size: .95rem; color: var(--brume); text-decoration: none; transition: color .2s;
}
.nav a:hover { color: var(--givre); }
.nav .nav__cta { color: var(--givre); border: 1px solid var(--trait-fort); border-radius: 999px; padding: .55rem 1.15rem; }
.nav .nav__cta:hover { border-color: var(--ion); }
.nav-toggle {
  display: none; align-items: center; gap: .7rem; min-height: 44px; padding: .4rem .9rem;
  border: 1px solid var(--trait-fort); border-radius: 999px; background: rgb(7 11 29 / .7);
  font: 600 .9rem/1 var(--f-text); cursor: pointer;
}
.nav-toggle__glyph { position: relative; width: 16px; height: 16px; display: grid; align-items: center; }
.nav-toggle__glyph::before, .nav-toggle__glyph::after { content: ""; position: absolute; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
.nav-toggle__glyph::before { transform: translateY(-3px); }
.nav-toggle__glyph::after { transform: translateY(3px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__glyph::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__glyph::after { transform: rotate(-45deg); }
@media (max-width: 71.99rem) {
  .bar { flex-wrap: wrap; }
  .nav { flex: 1 0 100%; flex-wrap: wrap; gap: .1rem .8rem; }
  .nav-openable .nav-toggle { display: inline-flex; }
  .nav-openable .nav {
    position: absolute; inset: calc(100% - .35rem) var(--gut) auto;
    display: grid; gap: .2rem; padding: .6rem; border: 1px solid var(--trait-fort); border-radius: 1rem;
    background: rgb(10 15 36 / .97); box-shadow: 0 24px 60px rgb(0 0 0 / .65);
    visibility: hidden; opacity: 0; transform: translateY(-.45rem) scale(.99); pointer-events: none;
  }
  .nav-openable .nav-toggle[aria-expanded="true"] + .nav { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .nav-openable .nav a { padding-inline: .9rem; border-radius: .6rem; }
  .nav-openable .nav a:hover, .nav-openable .nav a:focus-visible { background: var(--panneau); }
  .nav-openable .nav .nav__cta { border-color: transparent; }
}
@media (min-width: 62rem) and (max-width: 74.99rem) { .nav a { font-size: .9rem; } .nav { gap: 1rem; } }
@media (prefers-reduced-motion: no-preference) {
  .nav-ready .nav { transition: opacity .22s, transform .25s var(--ease), visibility 0s .25s; }
  .nav-ready .nav-toggle[aria-expanded="true"] + .nav { transition-delay: 0s; }
  .nav-toggle__glyph::before, .nav-toggle__glyph::after { transition: transform .22s var(--ease); }
}

/* ---------- Emplacements de clips ---------- */
.clip-slot { position: relative; }
.clip-slot__still, .clip-slot__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.clip-slot__still img { width: 100%; height: 100%; object-fit: cover; }
.clip-slot__video { object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.clip-slot__video.is-shown { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .clip-slot__video { display: none; } }

/* ---------- Héros ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: max(100svh, 40rem);
  display: grid; grid-template-rows: auto 1fr;
  background: radial-gradient(60% 50% at 50% 52%, rgb(76 52 170 / .2), transparent 75%), var(--abysse);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 9rem; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--abysse));
}
.hero__media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero.is-ready .hero__canvas { opacity: 1; }

/* Le clip : boîte 9:16 exacte, pour que l'ancre du noyau reste juste à toutes les tailles. */
.hero__clip {
  --clip-x: 50%; --clip-top: 5svh; --clip-h: 100%;
  position: absolute; left: var(--clip-x); top: var(--clip-top); height: var(--clip-h);
  aspect-ratio: 9 / 16; transform: translateX(-50%);
  translate: var(--px, 0px) var(--py, 0px); scale: var(--sc, 1);
  pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 74%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 74%, transparent 97%);
  mask-composite: intersect;
}
.hero__glow {
  position: absolute; left: var(--glow-x, 50%); top: var(--glow-y, 52%);
  width: min(140vw, 70rem); aspect-ratio: 1.3; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(123 60 255 / .24), rgb(79 231 255 / .06) 55%, transparent);
}
.hero__core-light {
  position: absolute; left: 50%; top: 57.8%; width: 15%; aspect-ratio: 1; z-index: 3;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(120 240 255 / .55), rgb(79 231 255 / .18) 45%, transparent);
  mix-blend-mode: screen; opacity: .35;
}
/* Faisceau volumétrique : trois cônes superposés qui respirent à des rythmes différents. */
.hero__beam {
  position: absolute; z-index: 1; left: var(--clip-x-abs, 50%); top: -6%; width: min(44rem, 130vw); height: 74%;
  transform: translateX(-50%); pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(#000 15%, transparent 95%); mask-image: linear-gradient(#000 15%, transparent 95%);
}
.hero__beam span { position: absolute; inset: 0; }
.hero__beam span:nth-child(1) { background: conic-gradient(from 180deg at 50% 0%, transparent 170deg, rgb(110 180 255 / .1) 176deg, rgb(170 225 255 / .2) 180deg, rgb(110 180 255 / .1) 184deg, transparent 190deg); }
.hero__beam span:nth-child(2) { background: conic-gradient(from 180deg at 50% 0%, transparent 175deg, rgb(200 235 255 / .16) 180deg, transparent 185deg); }
.hero__beam span:nth-child(3) { background: conic-gradient(from 180deg at 50% 0%, transparent 163deg, rgb(123 60 255 / .08) 172deg, transparent 180deg, rgb(123 60 255 / .08) 188deg, transparent 197deg); }

/* Poussière en suspension dans le faisceau (points purement décoratifs, pas la mascotte). */
.hero__motes { position: absolute; z-index: 2; left: var(--clip-x-abs, 50%); top: 0; width: min(26rem, 80vw); height: 70%; transform: translateX(-50%); pointer-events: none; }
.hero__motes i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #d8f6ff; opacity: 0;
  box-shadow: 0 0 6px rgb(160 230 255 / .9);
}

.hero__content {
  position: relative; z-index: 4; min-height: 0;
  display: grid; grid-template-rows: auto 1fr auto; text-align: center;
  width: min(100% - 2 * var(--gut), 40rem); margin-inline: auto;
  padding-block: clamp(.25rem, 1.5svh, 1rem) clamp(1.1rem, 3.5svh, 2.2rem);
  translate: 0 var(--cy, 0px); opacity: var(--co, 1);
}
.hero__top { grid-row: 1; }
.hero__bottom { grid-row: 3; display: grid; justify-items: center; gap: .6rem; }
.hero__parent {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .8rem;
  font-size: .9rem; color: #bccae6;
}
.hero__parent img { width: 22px; height: 22px; border-radius: 5px; }
.hero__content h1 {
  font-size: clamp(2.05rem, 8.4vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -.035em;
  text-shadow: 0 2px 24px rgb(4 6 15 / .9);
}
.hero__sub {
  color: #bfcbe2; max-width: 36ch; margin: .7rem auto 0;
  font-size: clamp(.95rem, 3.6vw, 1.08rem); line-height: 1.5; text-shadow: 0 1px 14px rgb(4 6 15 / .95);
}
.hero__title { margin: 0; line-height: 1; }
/* Mot chromé : dégradé métal, plus un reflet qui suit la souris (--sx). */
.hero__word {
  display: inline-block;
  font: 300 clamp(2rem, 11vw, 3.1rem)/1 var(--f-display); letter-spacing: .22em; margin-right: -.22em;
  background:
    linear-gradient(100deg, transparent calc(var(--sx, 30%) - 9%), rgb(255 255 255 / .95) var(--sx, 30%), transparent calc(var(--sx, 30%) + 9%)),
    linear-gradient(180deg, var(--chrome-hi) 0%, var(--chrome) 47%, var(--chrome-lo) 52%, #e9eef5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgb(4 6 15 / .9));
}
.hero__base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
/* Le canevas forme le mot avec des particules ; le texte net prend ensuite le relais. */
.motion .hero__word { opacity: 0; transition: opacity 1.6s ease; }
.motion .hero.is-formed .hero__word { opacity: 1; }
.motion .hero:not(.is-ready) .hero__word { animation: show .6s 3s forwards; }
@keyframes show { to { opacity: 1; } }

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 1rem; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  background: none; border: 0; padding: .5rem .3rem; color: var(--brume);
  font: 500 .92rem/1.2 var(--f-text); cursor: pointer;
}
.motion-toggle:hover { color: var(--givre); }
.motion-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.i-play { display: none; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: inline; }

@media (prefers-reduced-motion: no-preference) {
  .motion .hero__core-light { animation: core-breathe 4s ease-in-out infinite; }
  .motion .hero__clip.is-pulse .hero__core-light { animation: core-burst 1.1s ease-out; }
  .motion .hero__glow { animation: glow-breathe 8s ease-in-out infinite; }
  .motion .hero__beam span:nth-child(1) { animation: beam-a 7s ease-in-out infinite; }
  .motion .hero__beam span:nth-child(2) { animation: beam-b 5.3s ease-in-out infinite; }
  .motion .hero__beam span:nth-child(3) { animation: beam-a 11s ease-in-out infinite reverse; }
  .motion .hero__motes i { animation: mote var(--d, 9s) linear var(--w, 0s) infinite; }
  .hero.is-paused :is(.hero__core-light, .hero__glow, .hero__beam span, .hero__motes i),
  .hero.is-away :is(.hero__core-light, .hero__glow, .hero__beam span, .hero__motes i) { animation-play-state: paused; }
  .motion .hero__top { animation: rise 1.1s var(--ease) both; }
  .motion .hero__bottom { animation: fade-in 1.1s .25s var(--ease) both; }
  .motion .hero__clip { animation: clip-in 1.4s ease both; }
}
@keyframes core-breathe { 0%, 100% { opacity: .22; scale: .9; } 50% { opacity: .62; scale: 1.12; } }
@keyframes core-burst { 0% { opacity: .3; scale: .8; } 25% { opacity: 1; scale: 2.2; } 100% { opacity: .3; scale: 1; } }
@keyframes glow-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes beam-a { 0%, 100% { opacity: .7; transform: scaleX(1); } 50% { opacity: 1; transform: scaleX(1.1); } }
@keyframes beam-b { 0%, 100% { opacity: .4; } 45% { opacity: 1; } }
@keyframes mote { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 15% { opacity: .8; } 85% { opacity: .6; } 100% { opacity: 0; transform: translate3d(var(--dx, 10px), 22vh, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }
/* Opacité de départ 0,01 et non 0 : l'image officielle compte alors comme plus grand élément affiché (LCP). */
@keyframes clip-in { from { opacity: .01; filter: brightness(.3) blur(8px); } }

@media (max-width: 61.99rem) and (max-height: 44rem) { .hero__sub { display: none; } }
@media (min-width: 40rem) and (max-width: 61.99rem) { .hero__clip { --clip-top: 2svh; --clip-h: 104%; } }

/* Bureau : la mascotte à droite du titre. */
@media (min-width: 62rem) {
  .hero { min-height: max(min(100svh, 62rem), 44rem); }
  .hero__clip {
    --clip-x: 71%; --clip-top: -13%; --clip-h: 132%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, #000 0, #000 66%, transparent 86%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, #000 0, #000 66%, transparent 86%);
  }
  .hero__glow { --glow-x: 71%; --glow-y: 50%; width: 62rem; }
  .hero__beam, .hero__motes { --clip-x-abs: 71%; }
  .hero__content {
    width: min(100% - 2 * var(--gut), 80rem);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    text-align: left; padding-block: 0 clamp(2rem, 6svh, 4rem);
  }
  .hero__top, .hero__bottom { display: contents; }
  .hero__content > * > * { max-width: min(40rem, 50vw); }
  .hero__parent { order: 1; margin-bottom: 1.2rem; }
  .hero__title { order: 2; margin: 0 0 1rem -.04em; }
  .hero__content h1 { order: 3; font-size: clamp(2.6rem, 3.9vw, 3.9rem); max-width: 15ch; }
  .hero__sub { order: 4; margin: 1.1rem 0 0; max-width: 44ch; font-size: 1.125rem; }
  .hero__actions { order: 5; justify-content: flex-start; margin-top: 2rem; }
  .hero__word { font-size: clamp(4.4rem, 8.4vw, 8.4rem); letter-spacing: .12em; margin-right: -.12em; }
  .hero::after { height: 7rem; }
}
@media (min-width: 62rem) and (max-width: 79.99rem) {
  .hero__clip { --clip-x: 73%; }
  .hero__glow { --glow-x: 73%; }
  .hero__beam, .hero__motes { --clip-x-abs: 73%; }
}

/* ---------- Manifeste ---------- */
.manifeste { padding-block: clamp(5rem, 14vw, 11rem) clamp(4rem, 10vw, 8rem); }
.manifeste__lines {
  display: grid; gap: .28em; max-width: none;
  font: 300 var(--t-4)/1.02 var(--f-display); letter-spacing: -.035em;
}
.manifeste__line { display: block; --p: 1; }
.manifeste__line + .manifeste__line { padding-left: clamp(0rem, 8vw, 9rem); }
/* Remplissage au défilement, avec une arête de lumière là où l'encre avance. */
.manifeste__ink {
  -webkit-text-fill-color: transparent; color: transparent;
  background-image:
    linear-gradient(90deg, transparent calc(var(--p) * 100% - 4%), rgb(255 255 255 / .95) calc(var(--p) * 100%), transparent calc(var(--p) * 100% + .5%)),
    linear-gradient(100deg, #ffffff 0%, #dcebff 32%, var(--ion) 68%, var(--lilas) 100%),
    linear-gradient(rgb(238 243 255 / .13), rgb(238 243 255 / .13));
  background-size: 100% 100%, calc(var(--p) * 100%) 100%, 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-box-decoration-break: slice; box-decoration-break: slice;
}
.manifeste__line.is-full .manifeste__ink, html:not(.motion) .manifeste__ink, .capture .manifeste__ink { background-size: 0 0, 100% 100%, 100% 100%; }
.manifeste__cols {
  display: grid; gap: 2rem; margin-top: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid var(--trait); padding-top: 2rem;
}
.manifeste__cols h3 { font: 600 var(--t-1)/1.2 var(--f-display); letter-spacing: .01em; margin-bottom: .55rem; }
.manifeste__cols p { color: var(--brume); max-width: 36ch; }
@media (min-width: 48rem) { .manifeste__cols { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ---------- Centre de commandement multi-IA (scène 3D épinglée) ---------- */
.centre { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.centre__track { position: relative; }
.centre__pin {
  display: grid; grid-template-rows: auto 1fr; gap: clamp(.5rem, 2vh, 1.5rem);
  background:
    radial-gradient(60% 45% at 50% 58%, rgb(76 52 170 / .28), transparent 72%),
    radial-gradient(38% 28% at 50% 60%, rgb(79 231 255 / .08), transparent 70%);
}
.centre__head { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.centre__head h2 { max-width: 24ch; font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem); }
.centre__head p { color: var(--brume); max-width: 60ch; }
.centre__stage {
  position: relative; width: min(100%, 86rem); margin-inline: auto;
  height: clamp(32rem, 50vw, 44rem); min-height: 0;
}
.centre__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.centre__core {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: clamp(14rem, 30vw, 27rem); aspect-ratio: 1000 / 750;
  transform: translate(-50%, -50%) translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotateY(var(--ry, 0deg));
  pointer-events: none;
}
.centre__mascot { position: absolute; inset: 0; display: block; }
.centre__mascot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgb(4 6 15 / .85)) drop-shadow(0 0 30px rgb(123 60 255 / .35)); }
.centre__halo {
  position: absolute; inset: -30% -20%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgb(123 60 255 / .42), rgb(79 231 255 / .1) 55%, transparent);
}
/* Noyau de la poitrine : 50 % et 75,5 % de l'image officielle transparente. */
.centre__core-light {
  position: absolute; left: 50%; top: 75.5%; width: 17%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%) scale(calc(1 + var(--flash, 0) * .5));
  background: radial-gradient(closest-side, rgb(140 245 255 / .85), rgb(79 231 255 / .2) 45%, transparent);
  mix-blend-mode: screen; opacity: calc(.3 + var(--flash, 0) * .7);
}
.centre__nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.centre__nodes li { position: absolute; left: 0; top: 0; z-index: 3; will-change: transform, opacity; }
.centre__nodes li.is-back { z-index: 1; }
.centre__nodes li.is-far .node-chip { filter: blur(1.2px) saturate(.7); }
.centre__nodes li .node-chip { transition: filter .5s ease, border-color .25s, box-shadow .25s; }
html:not(.js) .centre__nodes { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding-top: 28rem; }
html:not(.js) .centre__nodes li { position: static; }

.node-chip {
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  min-height: 44px; padding: .55rem 1.05rem .55rem .8rem; border-radius: 999px; cursor: pointer;
  font: 600 clamp(.8rem, .72rem + .32vw, 1rem)/1 var(--f-display); letter-spacing: .05em; color: var(--givre);
  background: linear-gradient(180deg, rgb(24 34 70 / .92), rgb(10 16 36 / .94));
  border: 1px solid rgb(160 190 255 / .22);
  box-shadow: 0 12px 30px -12px rgb(0 0 0 / .85), inset 0 1px 0 rgb(255 255 255 / .07);
}
.node-chip::before {
  content: ""; width: .55rem; height: .55rem; flex: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--chip-c, #7fdcff); box-shadow: 0 0 10px var(--chip-c, #7fdcff);
}
.node-chip:hover, .node-chip.is-active, .node-chip:focus-visible {
  border-color: var(--chip-c, #7fdcff);
  box-shadow: 0 0 0 1px var(--chip-c, #7fdcff), 0 0 30px -4px var(--chip-c, #7fdcff), 0 12px 30px -12px rgb(0 0 0 / .85);
}
.node-chip:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.node-chip--more { font-style: italic; color: #d4dcff; border-style: dashed; }
.centre__nodes li:nth-child(1) .node-chip { --chip-c: hsl(28 90% 68%); }
.centre__nodes li:nth-child(2) .node-chip { --chip-c: hsl(160 75% 60%); }
.centre__nodes li:nth-child(3) .node-chip { --chip-c: hsl(190 90% 64%); }
.centre__nodes li:nth-child(4) .node-chip { --chip-c: hsl(150 70% 60%); }
.centre__nodes li:nth-child(5) .node-chip { --chip-c: hsl(20 85% 68%); }
.centre__nodes li:nth-child(6) .node-chip { --chip-c: hsl(260 90% 76%); }
.centre__nodes li:nth-child(7) .node-chip { --chip-c: hsl(220 90% 72%); }
.centre__nodes li:nth-child(8) .node-chip { --chip-c: hsl(95 70% 58%); }
.centre__nodes li:nth-child(9) .node-chip { --chip-c: hsl(300 80% 76%); }

.centre__caption {
  position: absolute; left: 50%; bottom: .5rem; z-index: 5; transform: translateX(-50%);
  width: min(100% - 2 * var(--gut), 40rem); text-align: center;
  padding: .85rem 1.2rem; border-radius: 16px;
  background: rgb(8 12 30 / .8); border: 1px solid var(--trait);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--brume); font-size: .95rem; line-height: 1.45;
}
.centre__caption-name { display: block; font: 600 .95rem/1.2 var(--f-display); letter-spacing: .1em; color: var(--givre); margin-bottom: .2rem; }

@media (prefers-reduced-motion: no-preference) {
  .motion .centre__mascot { animation: flotte 6s ease-in-out infinite; }
  .motion .centre__halo { animation: glow-breathe 8s ease-in-out infinite; }
  .centre.is-away :is(.centre__mascot, .centre__halo) { animation-play-state: paused; }
  /* Épinglage : la scène reste à l'écran pendant que la caméra tourne autour de l'orbite. */
  .motion .centre__track { height: 230svh; }
  .motion .centre__pin { position: sticky; top: 0; height: 100svh; padding-block: clamp(1rem, 4vh, 2.5rem) .75rem; }
  .motion .centre__stage { height: auto; }
}
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@media (max-width: 39.99rem) {
  .centre__stage { height: 36rem; }
  .centre__core { width: 13.5rem; }
  .node-chip { padding: .45rem .75rem .45rem .6rem; gap: .4rem; letter-spacing: .02em; }
  .centre__caption { font-size: .88rem; padding: .65rem .85rem; }
  .motion .centre__track { height: 200svh; }
  .motion .centre__head p { display: none; }
}

.outils {
  list-style: none; margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, rgb(79 231 255 / .32), rgb(123 60 255 / .38));
}
.outils li {
  --n: 0; position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: .3rem; align-content: start; padding: 1.2rem 1.25rem 1.3rem;
  background: linear-gradient(160deg, rgb(14 20 46 / .97), rgb(7 11 28 / .98));
  transition: background-color .3s;
}
.outils li:nth-child(2) { --n: 1; } .outils li:nth-child(3) { --n: 2; } .outils li:nth-child(4) { --n: 3; }
.outils li:nth-child(5) { --n: 4; } .outils li:nth-child(6) { --n: 5; }
.outils__i {
  width: 26px; height: 26px; margin-bottom: .45rem; color: var(--ion);
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgb(79 231 255 / .55));
  transition: transform .35s var(--ease), color .3s;
}
.outils__k { font: 600 1.05rem/1.2 var(--f-display); }
.outils__v { color: var(--brume); font-size: .92rem; line-height: 1.42; }
/* Relais : un signal passe d'un outil à l'autre, comme le contexte qui circule entre les modèles. */
.outils li::before, .outils li::after { content: ""; position: absolute; pointer-events: none; opacity: 0; }
.outils li::before { inset: 0; z-index: -1; background: radial-gradient(120% 80% at 20% 0%, rgb(79 231 255 / .16), rgb(123 60 255 / .06) 50%, transparent 75%); }
.outils li::after { left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ion), #fff, var(--lilas), transparent); box-shadow: 0 0 14px rgb(79 231 255 / .7); }
.fine .outils li:hover::before { opacity: 1; transition: opacity .3s; }
.fine .outils li:hover .outils__i { transform: translateY(-3px); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .motion .outils li.is-in::before, .motion .outils li.is-in::after { animation: relais 7.2s linear infinite; animation-delay: calc(var(--n) * 1.2s + 1s); }
}
@keyframes relais { 0% { opacity: 0; } 4% { opacity: 1; } 18% { opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 64rem) { .outils { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Cartes en profondeur (modèles et produits) ---------- */
.carte {
  --accent: 186 92% 62%;
  position: relative; isolation: isolate; border-radius: 26px;
  transform-style: preserve-3d;
  background:
    radial-gradient(440px circle at var(--mx, 85%) var(--my, 0%), hsl(var(--accent) / .17), transparent 60%),
    linear-gradient(160deg, rgb(20 28 62 / .92), rgb(7 11 28 / .96));
  border: 1px solid rgb(160 190 255 / .14);
  box-shadow: 0 40px 80px -50px hsl(var(--accent) / .6);
}
/* Accent de chaque carte (classes plutôt qu'attributs style : compatible avec une CSP stricte). */
.accent-core { --accent: 186 92% 62%; }
.accent-guard { --accent: 258 100% 76%; }
.accent-code { --accent: 205 100% 66%; }
.accent-finance { --accent: 199 100% 67%; }
.accent-shop { --accent: 40 63% 57%; }
/* Bord lumineux conique (signature Hexterm), visible au survol et au focus. */
.carte::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, hsl(var(--accent) / .95) 50deg, transparent 120deg, rgb(179 156 255 / .6) 220deg, transparent 280deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s;
}
.fine .carte:hover::after, .carte:focus-within::after { opacity: 1; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes tour-bord { to { --ang: 360deg; } }
/* Couches : l'icône et le titre flottent au-dessus de la carte quand elle s'incline. */
.couche-1 { transform: translateZ(18px); }
.couche-2 { transform: translateZ(36px); }
@media (prefers-reduced-motion: no-preference) {
  .motion .carte:hover::after { animation: tour-bord 4s linear infinite; }
  .motion.fine .carte.is-in {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform .35s var(--ease), opacity .9s var(--ease), translate .9s var(--ease);
    transition-delay: 0s;
  }
}

/* ---------- Nos modèles ---------- */
.modeles__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.modeles__intro { display: grid; gap: 1.25rem; align-content: start; }
.modeles__clip {
  position: relative; width: min(100%, 22rem); aspect-ratio: 9 / 16; margin-top: .75rem;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--trait), 0 50px 100px -40px rgb(123 60 255 / .75), 0 0 80px -30px rgb(79 231 255 / .5);
}
.modeles__clip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.5rem 1.2rem 1.05rem;
  font: 500 .98rem/1.25 var(--f-display); letter-spacing: .04em;
  background: linear-gradient(180deg, transparent, rgb(4 6 15 / .92));
}
.modeles__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; align-content: start; }
.modele { display: grid; gap: .55rem; padding: clamp(1.5rem, 3vw, 2.15rem); }
.modele__glyph { width: 54px; height: 54px; margin-bottom: .4rem; }
.modele__glyph .g-line { fill: none; stroke: hsl(var(--accent)); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.modele__glyph .g-soft { fill: none; stroke: hsl(var(--accent) / .45); stroke-width: 1.2; stroke-linecap: round; }
.modele__glyph .g-core { fill: hsl(var(--accent)); filter: drop-shadow(0 0 6px hsl(var(--accent))); }
.modele__glyph .g-core-line { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px hsl(var(--accent))); }
.modele__status {
  position: absolute; top: clamp(1.5rem, 3vw, 2.15rem); right: clamp(1.5rem, 3vw, 2.15rem);
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .75rem; border-radius: 999px;
  font-size: .82rem; color: #d3e8ff; background: rgb(79 231 255 / .08); border: 1px solid rgb(79 231 255 / .26);
}
.modele__pulse { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--accent)); }
@media (prefers-reduced-motion: no-preference) { .motion .modele__pulse { animation: battement 2.2s ease-out infinite; } }
@keyframes battement { 0% { box-shadow: 0 0 0 0 hsl(var(--accent) / .6); } 70%, 100% { box-shadow: 0 0 0 8px hsl(var(--accent) / 0); } }
.modele h3 {
  font: 500 clamp(1.5rem, 1.1rem + 1.3vw, 2.05rem)/1.1 var(--f-display); letter-spacing: .01em;
  background: linear-gradient(180deg, var(--chrome-hi) 0%, var(--chrome) 50%, var(--chrome-lo) 54%, var(--chrome-hi) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modele__role { color: hsl(var(--accent)); font-weight: 600; }
.modele__texte { color: var(--brume); max-width: 52ch; }
.modele__tags { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.modele__tags li { padding: .3rem .65rem; border-radius: 8px; font-size: .84rem; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); }
@media (min-width: 64rem) {
  .modeles__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); align-items: start; }
  .modeles__intro { position: sticky; top: 2rem; }
}

/* ---------- Ils utilisent MEKARYX ---------- */
.produits { background: radial-gradient(50% 40% at 50% 30%, rgb(46 134 255 / .1), transparent 70%); }
.produits__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.produits__grid { display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .produits__grid { grid-template-columns: 1fr 1fr; } }
.produit { display: grid; gap: 1.2rem; align-content: start; grid-template-rows: auto auto 1fr auto; padding: clamp(1.5rem, 3.4vw, 2.6rem); border-radius: 30px; }
.produit__top { display: flex; align-items: center; gap: 1rem; }
.produit__icon {
  flex: none; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 19px;
  background: radial-gradient(closest-side, hsl(var(--accent) / .2), transparent), rgb(4 8 20 / .85);
  border: 1px solid hsl(var(--accent) / .38); box-shadow: 0 0 30px -8px hsl(var(--accent) / .65);
}
.produit__icon img { width: 46px; height: auto; }
/* Logo officiel Finance OS (hexagone doré), affiché tel quel dans un cadre aux tons de l'or. */
.produit__icon--logo {
  background: radial-gradient(closest-side, rgb(226 182 92 / .22), transparent), rgb(10 9 6 / .85);
  border-color: rgb(226 182 92 / .45); box-shadow: 0 0 30px -8px rgb(226 182 92 / .6);
}
.produit__icon--logo img { width: 40px; filter: drop-shadow(0 0 8px rgb(226 182 92 / .45)); }
.produit__icon svg { width: 40px; height: 40px; color: hsl(var(--accent)); filter: drop-shadow(0 0 6px hsl(var(--accent) / .7)); }
.produit h3 { font: 500 clamp(1.45rem, 1rem + 1.2vw, 1.95rem)/1.1 var(--f-display); }
.produit__tag { color: hsl(var(--accent)); font-size: .97rem; margin-top: .25rem; }
.produit__lead { color: #cbd6ec; max-width: 54ch; }
.produit__ia { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.produit__ia li { position: relative; padding: .85rem 0 .85rem 1.6rem; border-top: 1px solid rgb(160 190 255 / .1); color: var(--brume); line-height: 1.52; }
.produit__ia li::before {
  content: ""; position: absolute; left: .1rem; top: 1.32rem; width: .55rem; height: .55rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: hsl(var(--accent)); box-shadow: 0 0 8px hsl(var(--accent));
}
.produit__ia strong { color: var(--givre); font-weight: 600; }
.produit__link {
  justify-self: start; display: inline-flex; align-items: center; gap: .55rem; min-height: 50px;
  padding: .8rem 1.35rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  color: var(--abysse); background: linear-gradient(180deg, hsl(var(--accent)), hsl(var(--accent) / .84));
  box-shadow: 0 12px 30px -12px hsl(var(--accent) / .85);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.produit__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.produit__link:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px hsl(var(--accent)); }
.produit__link:hover svg { transform: translate(2px, -2px); }
.produits__note { margin-top: 1.5rem; color: var(--brume); font-size: .92rem; max-width: 70ch; }

/* ---------- Maison mère ---------- */
.maison { padding-block: clamp(3rem, 7vw, 5rem); }
.maison__inner {
  display: grid; gap: 1.5rem; align-items: center; justify-items: start;
  padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 30px;
  background: linear-gradient(120deg, rgb(46 134 255 / .16), rgb(123 60 255 / .1) 55%, transparent), rgb(6 12 30 / .9);
  border: 1px solid rgb(79 231 255 / .22);
}
.maison__inner { position: relative; isolation: isolate; overflow: hidden; }
.maison__logo { position: relative; display: grid; place-items: center; }
.maison__logo img { position: relative; width: clamp(11rem, 18vw, 15rem); height: auto; filter: drop-shadow(0 0 30px rgb(46 134 255 / .45)); }
/* Lumière conique qui tourne lentement derrière le logo, et reflet qui traverse le bandeau à son arrivée. */
.maison__logo::before {
  content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent, rgb(46 134 255 / .35), transparent 30%, rgb(123 60 255 / .3), transparent 60%, rgb(79 231 255 / .3), transparent 85%);
  filter: blur(26px); opacity: .8;
}
.maison__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(160 220 255 / .14) 48%, transparent 60%);
  translate: -110% 0;
}
@media (prefers-reduced-motion: no-preference) {
  .motion .maison__logo::before { animation: spin 22s linear infinite; }
  .motion .maison__inner.is-in::after { animation: balayage 1.8s var(--ease-out) .5s both; }
}
@keyframes balayage { from { translate: -110% 0; } to { translate: 110% 0; } }
.maison__text { display: grid; gap: .75rem; }
.maison__text h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); font-weight: 400; max-width: 26ch; }
.maison__text p { color: var(--brume); max-width: 60ch; }
.maison__motto {
  font: 600 1.05rem/1.2 var(--f-display); letter-spacing: .04em;
  background: linear-gradient(100deg, #ffffff 0%, #d7ecff 30%, #55c8ff 62%, #2e86ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
@media (min-width: 60rem) { .maison__inner { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }

/* ---------- Confiance ---------- */
.trust { overflow: hidden; isolation: isolate; background: linear-gradient(180deg, transparent, rgb(10 16 40 / .5)); }
.trust__seal { position: absolute; z-index: -1; width: min(150vw, 54rem); aspect-ratio: 1; right: -40%; top: 50%; transform: translateY(-50%); opacity: .5; }
.trust__canvas { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .motion .trust__canvas { animation: spin 160s linear infinite; }
  .is-paused-seal .trust__canvas { animation-play-state: paused; }
}
@keyframes spin { to { transform: rotate(1turn); } }
.trust__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.trust__head { display: grid; gap: 1.25rem; }
.principles { display: grid; }
.principle { position: relative; isolation: isolate; padding: 1.5rem 0; border-top: 1px solid var(--trait); }
.principle dt { font: 500 var(--t-1)/1.25 var(--f-display); }
.principle dd { margin-top: .45rem; color: var(--brume); max-width: 42ch; }
.principle::before {
  content: ""; position: absolute; inset: 0 -1rem; z-index: -1; border-radius: 18px; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgb(123 60 255 / .16), rgb(79 231 255 / .05) 45%, transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.fine .principle:hover::before { opacity: 1; }
.trust__note { color: var(--brume); font-size: .95rem; max-width: 52ch; }
@media (min-width: 48rem) { .principles { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } .trust__seal { right: -18rem; } }
@media (min-width: 64rem) { .trust__grid { grid-template-columns: 1fr 1.25fr; align-items: end; } }

/* ---------- Contact ---------- */
.contact__inner { display: grid; gap: 2.5rem; align-items: center; }
.contact__text { display: grid; gap: 1.25rem; justify-items: start; }
.contact__text h2 { max-width: 16ch; }
.contact__mail { color: var(--brume); font-size: .95rem; }
/* Cible tactile d'au moins 24 px de haut (WCAG 2.5.8). */
.contact__mail a { display: inline-block; padding-block: .3rem; color: var(--givre); text-underline-offset: .22em; text-decoration-color: rgb(79 231 255 / .6); }
.contact__mail a:hover { text-decoration-color: var(--ion); }
.app-badge {
  display: flex; align-items: center; gap: 1rem; margin-top: .5rem;
  padding: .9rem 1.25rem .9rem .9rem; border-radius: 22px;
  background: rgb(14 22 48 / .7); border: 1px solid var(--trait);
}
.app-badge img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 24px -6px rgb(123 60 255 / .9); }
.app-badge__name { font: 600 1.1rem/1.2 var(--f-display); letter-spacing: .06em; }
.app-badge__note { color: var(--brume); font-size: .93rem; max-width: 36ch; margin-top: .2rem; }
.contact__media {
  position: relative; justify-self: center; width: min(100%, 21rem); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--trait), 0 50px 100px -40px rgb(123 60 255 / .75), 0 0 80px -30px rgb(79 231 255 / .5);
}
.contact__figure { display: grid; justify-items: center; gap: .9rem; }
.hoquet {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem 1.1rem;
  border-radius: 999px; border: 1px dashed rgb(179 156 255 / .55); background: rgb(123 60 255 / .1);
  color: #e3dcff; font: 500 .95rem/1 var(--f-text); cursor: pointer; transition: background-color .25s, border-color .25s;
}
.hoquet:hover { background: rgb(123 60 255 / .2); border-color: var(--lilas); }
.hoquet[aria-disabled="true"] { opacity: .6; cursor: progress; }
.hoquet svg { width: 18px; height: 18px; }
.contact__statut { min-height: 1.4em; color: var(--brume); font-size: .9rem; text-align: center; }
@media (min-width: 60rem) { .contact__inner { grid-template-columns: 1.35fr 1fr; } }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--trait); padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom)); }
.foot__inner { display: grid; gap: 1.25rem; }
.brand--small { font-size: .95rem; }
.brand--small .brand__mark { width: 32px; height: 32px; border-radius: 9px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.foot__nav a { color: var(--brume); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot__nav a:hover { color: var(--givre); text-decoration: underline; text-underline-offset: 4px; }
.foot__end { display: grid; gap: .5rem; }
.foot__parent { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; }
.foot__parent img { width: 28px; height: 28px; border-radius: 6px; }
.foot__legal { color: var(--brume); font-size: .9rem; }
@media (min-width: 60rem) {
  .foot__inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot__nav { justify-content: center; }
  .foot__end { justify-items: end; text-align: right; }
}

/* ---------- Sections hors écran : rendu différé par le navigateur (premier affichage plus léger) ---------- */
:is(.modeles, .produits, .maison, .trust, .contact, .foot) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.capture :is(.modeles, .produits, .maison, .trust, .contact, .foot) { content-visibility: visible; }

/* ---------- Rythme : horizons entre les sections et barre de lecture ---------- */
/* La ligne d'horizon se trace au défilement (animation liée à la vue) ; sans cette prise en charge, elle reste tracée. */
.horizon { position: relative; z-index: 1; width: min(100% - 2 * var(--gut), 72rem); height: 1px; margin-inline: auto; background: linear-gradient(90deg, transparent, rgb(160 190 255 / .16), transparent); }
.horizon span {
  position: absolute; inset: -.5px 0; display: block; opacity: .5;
  background: linear-gradient(90deg, transparent, var(--ion) 30%, #fff 50%, var(--lilas) 70%, transparent);
  box-shadow: 0 0 18px rgb(79 231 255 / .45);
}
.horizon span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; translate: -50% -50%;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #fff; box-shadow: 0 0 10px var(--ion);
}
.progression { display: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .motion .horizon span { animation: horizon linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    .motion .progression {
      display: block; position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: 2px; pointer-events: none;
      transform-origin: 0 50%; background: linear-gradient(90deg, var(--ion), var(--dome) 65%, var(--lilas));
      box-shadow: 0 0 12px rgb(79 231 255 / .55);
      animation: progression linear both; animation-timeline: scroll(root);
    }
  }
}
@keyframes horizon { from { scale: 0 1; opacity: 0; } 55% { opacity: 1; } to { scale: 1 1; opacity: .5; } }
@keyframes progression { from { scale: 0 1; } to { scale: 1 1; } }

/* ---------- Retour tactile : chaque appui se voit ---------- */
.btn:active, .produit__link:active, .hoquet:active, .nav-toggle:active { scale: .97; }
.node-chip:active { filter: brightness(1.25); }
:is(.btn, .produit__link, .hoquet, .node-chip, .foot__nav a, .nav a) { -webkit-tap-highlight-color: transparent; }

/* ---------- Entrées au défilement (une seule grammaire pour toute la page) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--rd, 0s); }
  .motion [data-reveal="scale"] { translate: 0 0; scale: .94; clip-path: inset(8% 6% 8% 6% round 30px); transition-property: opacity, scale, clip-path; }
  .motion [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }
  .motion [data-reveal="scale"].is-in { clip-path: inset(0 0 0 0 round 30px); }
  .motion [data-kinetic] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
  .motion [data-kinetic] .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
  .motion [data-kinetic].is-in .w > span { transform: none; }
  [data-magnet] { transition: transform .35s var(--ease), background-color .25s, border-color .25s, box-shadow .35s; }
}

/* ---------- Rendu figé pour les captures (?capture) ---------- */
.capture { scroll-behavior: auto !important; }
.capture :is(.hero__clip, .hero__top, .hero__bottom) { animation: none !important; }
.capture [data-reveal], .capture [data-kinetic] .w > span { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; clip-path: none !important; transition: none !important; }
.capture .hero__word { opacity: 1 !important; transition: none !important; }
.capture .hero__canvas { display: none; }
.capture .horizon span { animation: none !important; }
.capture .progression { display: none !important; }
.capture .outils li::before, .capture .outils li::after { animation: none !important; }
.capture .manifeste__line { --p: 1 !important; }
.capture .centre__track { height: auto !important; }
.capture .centre__pin { position: static !important; height: auto !important; }
.capture .centre__stage { height: clamp(32rem, 50vw, 44rem) !important; }

/* ---------- Mode calme ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
