/* ==========================================================================
   Propulse Agency — feuille de style principale
   ========================================================================== */

@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0B0B0E;
  --bg-2: #0E1413;
  --bg-3: #151E1C;
  --fg: #FFF8E1;
  --fg-2: #D3E2DD;
  --muted: #A9C7BF;
  --line: rgba(255, 248, 225, 0.12);
  --line-strong: rgba(255, 248, 225, 0.24);
  --accent: #4DD9BE;
  --accent-ink: #04211D;
  --yellow: #FFDA00;
  --lime: #F3D371;
  --teal-deep: #0B3D39;
  --teal-btn: #12806C;

  --f-display: 'Syne', 'Arial Black', sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --radius: 22px;
  --radius-lg: 34px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --header-h: 84px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 18px;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-weight: 700;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(77, 217, 190, .6); animation: pulse 2.2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(77, 217, 190, 0); } 100% { box-shadow: 0 0 0 0 rgba(77, 217, 190, 0); } }

.h2 {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(2.4rem, 6.2vw, 6rem);
}
.h2 em, .page-hero__title em, .footer__title em, .case-hero__title em {
  font-family: var(--f-display); font-style: normal; color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
  background: linear-gradient(100deg, var(--accent), var(--yellow)) text;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0;
}

.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 90px); max-width: 1100px; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }

/* Découpe de texte (SplitText) : marge autour de chaque ligne pour ne pas rogner cédilles, jambages et accents */
.split-line-inner-mask { padding: 0.12em 0 0.2em; margin: -0.12em 0 -0.2em; }

/* ---------- Boutons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fg); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover i { transform: translateX(5px) rotate(-45deg); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { color: var(--bg); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--fg); }
.btn--ghost:hover { color: var(--bg); border-color: var(--fg); }
.btn--small { --h: 44px; padding: 0 20px; font-size: 0.9rem; }
.btn--lg { --h: 66px; padding: 0 36px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 700;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .6s var(--ease), gap .4s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; gap: 18px; }
.link-arrow--back { margin-bottom: 40px; color: var(--muted); }

.link-line {
  background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
  padding-bottom: 2px;
}
.link-line:hover, .link-line:focus-visible { background-size: 100% 1px; background-position: left bottom; }

.link-roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
.link-roll span { display: inline-block; transition: transform .55s var(--ease); }
.link-roll span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent);
}
.link-roll:hover span, .link-roll:focus-visible span { transform: translateY(-100%); }
.link-roll[aria-current="page"] { color: var(--accent); }

/* ---------- Préchargement ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 120; background: var(--bg);
  display: grid; place-items: center; pointer-events: none;
}
.preloader__inner { display: flex; align-items: flex-end; gap: 18px; overflow: hidden; }
.preloader__word {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 12vw, 10rem);
  letter-spacing: -0.05em; line-height: 0.9; display: inline-block;
}
.preloader__count { color: var(--accent); font-size: 1rem; padding-bottom: 1.2em; }
.preloader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: var(--line); }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.no-js .preloader, .preloader.is-done { display: none; }
/* Filet de sécurité sans JavaScript fonctionnel : l'écran de chargement s'efface seul */
.js .preloader { animation: preloader-failsafe .5s 11s forwards; }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Transition de page ---------- */
.transition { position: fixed; inset: 0; z-index: 110; display: flex; pointer-events: none; }
.transition__panel { flex: 1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; }
.transition__panel:nth-child(2n) { background: #1FA98F; }
.transition__panel:nth-child(3) { background: var(--fg); }

/* ---------- Curseur ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 130; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent); transition: opacity .3s, width .3s, height .3s; }
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(255, 248, 225, .5);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), border-color .45s, opacity .3s;
}
.cursor__label { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease); }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-color: var(--accent); background: rgba(77, 217, 190, .08); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot, .cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.85); }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

/* ---------- Grain & progression ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 4%); } 40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 7%); } 80% { transform: translate(6%, -2%); }
}
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--yellow)); transform: scaleX(0); transform-origin: left; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s;
}
.header.is-scrolled { background: rgba(11, 11, 14, .55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.menu-open .header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.04em; }

.header__nav { display: flex; gap: clamp(20px, 2.6vw, 40px); font-weight: 600; font-size: 0.95rem; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.burger {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-content: center; gap: 6px; transition: border-color .3s, background-color .3s;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease); }
.burger:hover { border-color: var(--fg); }
.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Menu plein écran ---------- */
.menu { position: fixed; inset: 0; z-index: 85; visibility: hidden; }
.menu-open .menu { visibility: visible; }
.menu__bg { position: absolute; inset: 0; background: var(--bg-2); clip-path: circle(0% at calc(100% - var(--gutter) - 24px) 42px); }
.menu__inner {
  position: relative; height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 40px;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(32px, 6vh, 70px);
}
.menu__nav { display: grid; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px; padding: .1em 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(2.6rem, 8.4vh, 6.6rem); overflow: hidden;
}
.menu__nav a .mono { color: var(--muted); font-size: .8rem; transform: translateY(-1.2em); }
.menu__label { display: inline-block; transition: transform .6s var(--ease), color .3s; }
.menu__nav a:hover .menu__label, .menu__nav a[aria-current="page"] .menu__label { color: var(--accent); transform: translateX(16px); }
.menu__aside { display: grid; gap: 10px; align-content: end; }
.menu__aside .mono { color: var(--muted); margin-top: 18px; }
.menu__mail { font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 600; }
.menu__social { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.menu__social a:hover { color: var(--accent); }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: var(--header-h); }
.hero__gl, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback {
  background:
    radial-gradient(60% 60% at 75% 30%, rgba(77, 217, 190, .45), transparent 70%),
    radial-gradient(50% 50% at 20% 80%, rgba(243, 211, 113, .4), transparent 70%), var(--bg);
  filter: blur(10px);
}
.hero.gl-ready .hero__fallback { opacity: 0; transition: opacity 1.2s; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(30px, 5vh, 60px); }
.hero__eyebrow { margin-bottom: clamp(18px, 3vh, 36px); color: var(--accent); }
.hero__title {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.055em; line-height: .92;
  font-size: clamp(2.4rem, 7.2vw, 8.6rem);
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.hero__pill {
  display: inline-block; vertical-align: middle; width: 1.9em; height: .78em; border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--yellow)); position: relative; overflow: hidden; transform: translateY(-.06em);
}
.hero__pill-inner { position: absolute; inset: 12%; left: 8%; width: .56em; height: auto; aspect-ratio: 1; border-radius: 50%; background: var(--fg); animation: pill 3.6s var(--ease-in-out) infinite; }
@keyframes pill { 0%, 100% { left: 8%; } 50% { left: calc(92% - .56em); } }
.rotator { display: inline-block; height: 1.25em; margin-bottom: -0.25em; overflow: hidden; vertical-align: bottom; color: var(--yellow); }
.rotator__track { display: flex; flex-direction: column; animation: rotate-words 10s var(--ease-in-out) infinite; }
/* Chaque mot dispose d'un espace sous la ligne : les jambages (g, p, q) ne sont plus rognés */
.rotator__track span { display: block; height: 1.25em; line-height: 1; padding-top: 0; }
@keyframes rotate-words {
  0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-1.25em); } 50%, 68% { transform: translateY(-2.5em); }
  75%, 93% { transform: translateY(-3.75em); } 100% { transform: translateY(-5em); }
}
.hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(28px, 5vh, 56px); }
.hero__lead { max-width: 460px; color: var(--fg-2); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px;
  padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll-line { width: 1px; height: 26px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: scroll-line 2s var(--ease-in-out) infinite; }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Bandeau défilant ---------- */
.marquee { position: relative; overflow: hidden; padding-block: clamp(22px, 3vw, 40px); border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: clamp(24px, 3vw, 48px);
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.04em; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 5.6rem); line-height: 1; will-change: transform;
}
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--fg); }
.marquee__track b { color: var(--accent); font-size: .5em; }
.marquee--alt { background: var(--accent); color: var(--accent-ink); border: 0; transform: rotate(-2deg); margin-block: 60px; width: 104%; margin-left: -2%; }
.marquee--alt .marquee__track span:nth-of-type(even) { -webkit-text-stroke-color: var(--accent-ink); }
.marquee--alt .marquee__track b { color: var(--accent-ink); }

/* ---------- Manifeste ---------- */
.manifesto { padding-block: clamp(90px, 14vw, 200px); }
.manifesto__text {
  margin-top: 28px; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12;
  font-size: clamp(1.8rem, 4.4vw, 4.4rem); max-width: 1250px;
}
.manifesto__text .w { opacity: .14; transition: none; }
.no-anim .manifesto__text .w { opacity: 1; }
.manifesto__foot { margin-top: 48px; }

/* ---------- Services (accueil) ---------- */
.services-teaser { padding-bottom: clamp(90px, 12vw, 180px); }
.srv-list { border-top: 1px solid var(--line); }
.srv { border-bottom: 1px solid var(--line); position: relative; }
.srv a {
  position: relative; display: grid; grid-template-columns: 80px 1.2fr 1fr 60px; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 40px) 0; isolation: isolate;
}
.srv a::before {
  content: ''; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--accent);
  clip-path: inset(50% 0 50% 0); transition: clip-path .6s var(--ease);
}
.srv a:hover::before, .srv a:focus-visible::before, .srv.is-active a::before { clip-path: inset(0 0 0 0); }
.srv.is-active a, .srv.is-active .srv__num, .srv.is-active .srv__desc, .srv.is-active .srv__cta { color: var(--accent-ink); }
.srv.is-active .srv__icon { transform: rotate(45deg); background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.srv a:hover, .srv a:focus-visible { color: var(--accent-ink); }
.srv__num { color: var(--muted); transition: color .3s; }
.srv a:hover .srv__num { color: var(--accent-ink); }
.srv__title { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; font-size: clamp(1.6rem, 3.4vw, 3.2rem); line-height: 1; transition: transform .6s var(--ease); }
.srv a:hover .srv__title { transform: translateX(16px); }
.srv__desc { color: var(--fg-2); transition: color .3s; max-width: 420px; }
.srv a:hover .srv__desc { color: var(--accent-ink); }
.srv__icon { justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 1.3rem; transition: transform .6s var(--ease), background-color .3s, border-color .3s; }
.srv a:hover .srv__icon { transform: rotate(45deg); background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding-block: clamp(80px, 10vw, 160px); }
.stat-card { padding: 34px 24px; border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.stat-card__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -0.05em; line-height: .9; }
.stat-card__num sup { font-size: .32em; color: var(--accent); vertical-align: top; margin-left: 4px; letter-spacing: 0; }
.stat-card__label { color: var(--muted); max-width: 240px; }

/* ---------- Méthode (cartes empilées) ---------- */
.process { padding-bottom: clamp(80px, 10vw, 160px); }
.stack { display: grid; gap: 0; }
.stack__card {
  position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 18px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: clamp(20px, 4vw, 60px);
  min-height: clamp(260px, 40vh, 380px); padding: clamp(28px, 4vw, 56px); margin-bottom: 28px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .35);
  transform-origin: center top;
}
.stack__card:nth-child(2) { background: linear-gradient(160deg, #0F2824, #0B1816); }
.stack__card:nth-child(3) { background: linear-gradient(160deg, #24210F, #16140A); }
.stack__card:last-child { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.stack__card:last-child p, .stack__card:last-child .stack__tag { color: var(--accent-ink); }
.stack__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.6rem, 9vw, 8rem); line-height: .8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.stack__card:not(:last-child) .stack__num { -webkit-text-stroke-color: var(--accent); }
.stack__card:last-child .stack__num { -webkit-text-stroke-color: var(--accent-ink); }
.stack__card h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3.2rem); letter-spacing: -0.035em; line-height: 1; margin-bottom: 18px; }
.stack__card p { color: var(--fg-2); max-width: 520px; font-size: 1.05rem; }
.stack__tag { color: var(--muted); padding: 8px 14px; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; }

/* ---------- Bento ---------- */
.bento { padding-bottom: clamp(80px, 10vw, 160px); }
.bento__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.bento__cell {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-2); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.bento__cell .mono { color: var(--muted); }
.bento__cell h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.1; }
.bento__cell p:not(.mono) { color: var(--fg-2); }
.bento__cell--spot { grid-column: span 4; }
.bento__cell--perf { grid-column: span 2; align-items: flex-start; }
.bento__cell--type { grid-column: span 2; }
.bento__cell--theme { grid-column: span 2; }
.bento__cell--seo { grid-column: span 2; }
[data-spotlight] { --mx: 50%; --my: 50%; }
[data-spotlight]::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(77, 217, 190, .22), transparent 60%);
}
[data-spotlight]::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx) var(--my), var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
[data-spotlight]:hover::before, [data-spotlight]:hover::after { opacity: 1; }
.bento__cell--spot h3 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); max-width: 640px; }
.gauge { position: relative; width: 150px; height: 150px; align-self: center; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 8; }
.gauge__bg { stroke: var(--line); }
.gauge__fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.gauge__value { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; color: var(--lime); }
.bento__type { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 9vw, 8.4rem); line-height: .9; letter-spacing: -0.06em; transition: font-weight .6s; }
.bento__type span { color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-left: .05em; transition: color .5s; }
.bento__cell--type:hover .bento__type span { color: var(--accent); }
.devices { position: relative; height: 120px; }
.devices span { position: absolute; bottom: 0; border: 1.5px solid var(--fg-2); border-radius: 10px; transition: transform .7s var(--ease); }
.devices__desk { left: 0; width: 62%; height: 100px; }
.devices__desk::after { content: ''; position: absolute; inset: 10px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--yellow)); opacity: .7; }
.devices__tab { left: 52%; width: 30%; height: 84px; background: var(--bg-2); }
.devices__phone { left: 78%; width: 16%; height: 62px; background: var(--bg-2); border-color: var(--accent) !important; }
.bento__cell--theme:hover .devices__desk { transform: translateX(-6px); }
.bento__cell--theme:hover .devices__tab { transform: translateY(-10px); }
.bento__cell--theme:hover .devices__phone { transform: translate(6px, -18px) rotate(8deg); }
.serp { display: grid; gap: 6px; padding: 18px; border-radius: 14px; background: var(--fg); color: #1a1a1a; }
.serp__url { font-size: .75rem; color: #3c7a3c; }
.serp__title { font-weight: 700; color: #2a3fd6; font-size: .98rem; line-height: 1.3; }
.serp__line { height: 7px; border-radius: 4px; background: #d6d4ce; }
.serp__line--short { width: 60%; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: clamp(100px, 12vw, 180px); display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 0; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -0.02em;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary i { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .5s var(--ease), background-color .3s; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq__item[open] summary i { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding-bottom: 28px; color: var(--fg-2); max-width: 640px; }

/* ---------- Pied de page ---------- */
.footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer__cta { display: grid; justify-items: center; text-align: center; gap: 30px; padding: clamp(90px, 13vw, 200px) var(--gutter) clamp(70px, 9vw, 140px); }
.footer__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 11vw, 11rem); letter-spacing: -0.055em; line-height: .9; }
.btn-orb {
  position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; align-content: center; gap: 10px; text-align: center;
  font-weight: 700; padding: 24px; line-height: 1.2; transition: background-color .4s, color .4s;
}
.btn-orb:hover { background: var(--fg); }
.btn-orb svg { transition: transform .6s var(--ease); }
.btn-orb:hover svg { transform: rotate(45deg); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; padding: 80px var(--gutter) 60px; border-top: 1px solid var(--line); max-width: var(--maxw); margin-inline: auto; }
.footer__col ul { display: grid; gap: 10px; }
.footer__head { color: var(--muted); margin-bottom: 18px; }
.footer__baseline { color: var(--muted); margin-top: 18px; max-width: 320px; }
.footer__legal {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px;
  padding: 26px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; background: var(--bg-2);
}
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal button { font-size: inherit; color: inherit; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--fg); }

/* ---------- Bandeau cookies ---------- */
.cookies {
  position: fixed; z-index: 105; left: 16px; bottom: 16px; width: min(480px, calc(100% - 32px));
  padding: 24px; border-radius: var(--radius); background: rgba(18, 27, 25, .92); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  max-height: calc(100svh - 32px); overflow-y: auto;
}
.cookies[hidden] { display: none; }
.cookies.is-entering { animation: cookies-in .8s var(--ease) both; }
@keyframes cookies-in { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.cookies__title { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.cookies__icon { color: var(--accent); }
.cookies__desc { color: var(--fg-2); font-size: .9rem; line-height: 1.55; }
.cookies__desc a { color: var(--fg); background-size: 100% 1px; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookies__actions .btn { flex: 1 1 auto; }
.cookies__prefs { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.cookies__prefs fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.toggle-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.toggle-row__title { font-weight: 700; font-size: .95rem; }
.toggle-row__desc { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.switch { position: relative; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__ui { display: block; width: 46px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background-color .3s; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg); transition: transform .4s var(--ease); }
.switch input:checked + .switch__ui { background: var(--accent); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .55; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(60px, 10vw, 140px)); padding-bottom: clamp(50px, 7vw, 100px); position: relative; }
.page-hero::before {
  content: ''; position: absolute; z-index: -1; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(77, 217, 190, .18), rgba(243, 211, 113, .12) 40%, transparent 70%); filter: blur(40px); pointer-events: none;
}
.page-hero__title { overflow-wrap: break-word; margin-top: 26px; font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 9vw, 9.6rem); letter-spacing: -0.055em; line-height: .92; }
.page-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(30px, 5vw, 70px); }
.page-hero__lead { max-width: 560px; color: var(--fg-2); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.page-hero__badge { position: relative; width: 150px; height: 150px; flex: 0 0 auto; display: grid; place-items: center; }
.page-hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__badge text { fill: var(--fg); font-family: var(--f-mono); font-size: 13.5px; letter-spacing: 2.5px; }
.page-hero__badge-arrow { font-size: 2rem; color: var(--accent); }
.spin { animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-hero--legal .page-hero__title { font-size: clamp(2.6rem, 7vw, 6.6rem); }
.legal-updated { margin-top: 26px; color: var(--muted); }

/* Orbite (section L'agence) */
.orbit { position: relative; width: min(560px, 86vw); aspect-ratio: 1; display: grid; place-items: center; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); animation: spin linear infinite; }
.orbit__ring i { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px var(--accent); }
.orbit__ring--1 { inset: 0; animation-duration: 24s; }
.orbit__ring--2 { inset: 16%; animation-duration: 16s; animation-direction: reverse; }
.orbit__ring--2 i { background: var(--yellow); box-shadow: 0 0 24px var(--yellow); }
.orbit__ring--3 { inset: 32%; animation-duration: 10s; }
.orbit__ring--3 i { background: var(--lime); box-shadow: 0 0 24px var(--lime); width: 10px; height: 10px; top: -5px; margin-left: -5px; }
.orbit__core {
  width: 22%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #12806C, #1FA98F); font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem); color: var(--fg);
  box-shadow: 0 0 80px rgba(77, 217, 190, .45);
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 7vw, 120px); padding-bottom: clamp(90px, 12vw, 180px); align-items: start; }
.contact__aside { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 40px; }
.contact__intro { font-size: 1.15rem; color: var(--fg-2); }
.contact__info { display: grid; gap: 22px; }
.contact__info dt { color: var(--muted); margin-bottom: 4px; }
.contact__info dd { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.form { display: grid; gap: 30px; }
.form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__legend { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 16px; padding: 0; }
.form__opt { color: var(--muted); font-family: var(--f-body); font-weight: 400; font-size: .85em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chip span { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: .92rem; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip input:active + span { transform: scale(.95); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 12px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--fg); font: inherit; font-size: 1.1rem; outline: none; resize: vertical;
  transition: border-color .3s;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.78); color: var(--fg-2); }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }
.field__error { display: block; min-height: 0; color: #ff8a8a; font-size: .85rem; margin-top: 6px; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; color: var(--fg-2); font-size: .95rem; position: relative; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, border-color .3s; margin-top: 1px; }
.check__box::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease); margin-top: -3px; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.form__notice { font-size: .82rem; color: var(--muted); line-height: 1.6; padding: 18px 20px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.form__notice a { color: var(--fg-2); background-size: 100% 1px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.form__status { font-weight: 600; }
.form__status.is-success { color: var(--lime); }
.form__status.is-error { color: #ff8a8a; }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* Pages légales */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 100px); padding-bottom: clamp(90px, 12vw, 180px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 14px; }
.legal__toc .mono { color: var(--muted); }
.legal__toc ol { display: grid; gap: 8px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; color: var(--fg-2); font-size: .95rem; transition: color .3s, transform .4s var(--ease); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; color: var(--muted); padding-top: 3px; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--accent); transform: translateX(4px); }
.prose { max-width: 820px; color: var(--fg-2); }
.prose > * + * { margin-top: 18px; }
.prose__lead { font-size: 1.2rem; color: var(--fg); }
.prose h2 { margin-top: 60px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.025em; color: var(--fg); scroll-margin-top: calc(var(--header-h) + 30px); }
.prose h3 { margin-top: 30px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--fg); }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .68em; width: 8px; height: 1.5px; background: var(--accent); }
.prose strong { color: var(--fg); }
.prose code { font-family: var(--f-mono); font-size: .85em; padding: 2px 6px; border-radius: 6px; background: var(--bg-3); color: var(--fg); }
.prose .btn { text-decoration: none; color: var(--accent-ink); }
.prose .btn:hover { color: var(--bg); }
.legal-card { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.legal-card > div { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.legal-card > div:last-child { border-bottom: 0; }
.legal-card > div:nth-child(odd) { background: var(--bg-2); }
.legal-card dt { color: var(--muted); font-size: .9rem; }
.legal-card dd { color: var(--fg); overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 26px; padding-top: var(--header-h); }
.notfound__title { position: relative; font-family: var(--f-display); font-weight: 800; font-size: clamp(8rem, 30vw, 24rem); line-height: .8; letter-spacing: -0.06em; }
.notfound__title::before, .notfound__title::after { content: attr(data-glitch); position: absolute; inset: 0; mix-blend-mode: screen; }
.notfound__title::before { color: var(--accent); animation: glitch 2.4s infinite steps(1); }
.notfound__title::after { color: var(--yellow); animation: glitch 2.4s infinite steps(1) reverse; }
@keyframes glitch {
  0%, 100% { transform: translate(0); clip-path: inset(0 0 0 0); }
  10% { transform: translate(-6px, 2px); clip-path: inset(10% 0 60% 0); }
  20% { transform: translate(5px, -3px); clip-path: inset(50% 0 20% 0); }
  30% { transform: translate(0); clip-path: inset(0 0 0 0); }
  60% { transform: translate(4px, 1px); clip-path: inset(70% 0 5% 0); }
  70% { transform: translate(0); clip-path: inset(0 0 0 0); }
}
.notfound__text { font-size: 1.25rem; color: var(--fg-2); }

/* Révélations génériques (avant initialisation JS) */
.js .reveal-up { opacity: 0; transform: translateY(40px); }
.js .reveal-clip { clip-path: inset(100% 0 0 0); }
.no-anim .reveal-up, .no-anim .reveal-clip { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .bento__cell--spot { grid-column: span 6; }
  .bento__cell--perf, .bento__cell--type, .bento__cell--theme, .bento__cell--seo { grid-column: span 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .srv a { grid-template-columns: 60px 1fr 52px; }
  .srv__desc { grid-column: 2; grid-row: 2; }
  .srv__icon { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; --radius: 18px; --radius-lg: 24px; }
  .header__cta { display: none; }
  .menu__inner { grid-template-columns: 1fr; align-content: end; }
  .menu__nav a { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero__title { font-size: clamp(2.2rem, 10.2vw, 6rem); }
  .bento__type { font-size: clamp(3.6rem, 19vw, 6rem); }
  .page-hero__title { font-size: clamp(2.2rem, 10vw, 5rem); }
  .page-hero--legal .page-hero__title { font-size: clamp(1.9rem, 8vw, 4rem); }
  .srv a { grid-template-columns: 34px 1fr 44px; gap: 14px; }
  .srv__icon { width: 44px; height: 44px; }
  .notfound__text { max-width: 28ch; }
  .hero__title .line { white-space: normal; }
  .hero__meta span:first-child { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-card:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stack__card { grid-template-columns: 1fr; gap: 18px; position: relative; top: auto; min-height: 0; margin-bottom: 16px; box-shadow: none; }
  .stack__tag { justify-self: start; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .faq .section-head { position: static; }
  .page-hero__foot { flex-direction: column; align-items: flex-start; }
  .page-hero__badge { width: 120px; height: 120px; }
  .contact { grid-template-columns: 1fr; }
  .contact__aside { position: static; }
  .form__row { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
  .legal-card > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .bento__cell--perf, .bento__cell--type, .bento__cell--theme, .bento__cell--seo { grid-column: span 6; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__ctas, .hero__ctas .btn { width: 100%; }
  .hero__meta { font-size: .68rem; }
  .stat-card { padding: 24px 12px; }
  .stat-card__label { font-size: .88rem; }
  .cookies { left: 8px; bottom: 8px; width: calc(100% - 16px); padding: 20px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .rotator__track { animation: none; }
}


/* Garde-fous contre le défilement horizontal (halos décoratifs, tableaux) */
.main { overflow-x: clip; }
.legal > *, .contact > *, .case-body__cols > * { min-width: 0; }

/* ---------- Page unique : compléments ---------- */
section[id] { scroll-margin-top: var(--header-h); }
.hero__slogan { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; margin-bottom: 12px; color: var(--yellow); }
.hero__bottom > div:first-child { max-width: 520px; }
.srv__cta { display: block; margin-top: 10px; font-weight: 700; color: var(--accent); transition: color .3s; }
.srv a:hover .srv__cta, .srv a:focus-visible .srv__cta { color: var(--accent-ink); }
.srv__desc { max-width: 480px; }
.menu__zone { font-weight: 600; }
.h2--md { font-size: clamp(2rem, 4.2vw, 4rem); }

.agency { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding-bottom: clamp(60px, 8vw, 120px); }
.agency__text .h2 { margin: 22px 0 32px; }
.agency__text > p:not(.eyebrow) { color: var(--fg-2); font-size: 1.08rem; margin-bottom: 18px; max-width: 640px; }
.agency__points { margin-top: 34px; border-top: 1px solid var(--line); }
.agency__points li { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.3rem); letter-spacing: -0.01em; }
.agency__points .mono { color: var(--accent); }
.agency__visual { display: grid; place-items: center; }
.agency__visual .orbit { width: min(480px, 80vw); }
.orbit__core { width: 38%; text-align: center; font-size: clamp(.8rem, 1.1vw, 1rem); line-height: 1.2; font-weight: 700; }
.orbit__core b { display: block; font-size: clamp(1.3rem, 3vw, 2.6rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }

.contact-block { position: relative; padding-block: clamp(90px, 12vw, 180px); border-top: 1px solid var(--line); background: radial-gradient(60% 50% at 85% 0%, rgba(77, 217, 190, .12), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(243, 211, 113, .1), transparent 70%); }
.contact-block__head { margin-bottom: clamp(50px, 7vw, 100px); display: grid; gap: 26px; }
.contact-block .footer__title { font-size: clamp(2.6rem, 8vw, 8rem); }
.contact { padding-bottom: 0; }

@media (max-width: 860px) {
  .agency { grid-template-columns: 1fr; }
  .agency__visual { order: -1; }
  .contact-block .footer__title { font-size: clamp(2.2rem, 11vw, 4rem); }
}

/* ---------- Logo ProPulse ---------- */
.logo__img { display: block; height: 46px; width: auto; }
.logo--footer img { display: block; width: clamp(180px, 18vw, 240px); height: auto; }
.preloader__gold { color: #DFA414; }
@media (max-width: 860px) { .logo__img { height: 38px; } }

/* ---------- Réseaux sociaux ---------- */
.social { display: flex; gap: 12px; margin-top: 22px; }
.social__link {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-weight: 600; transition: background-color .3s, border-color .3s, color .3s;
}
.social__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1877F2; color: #fff; }
.social__icon svg { width: 18px; height: 18px; }
.social__link:hover, .social__link:focus-visible { border-color: var(--accent); color: var(--accent); }
