/* ==========================================================================
   SERVO 2026 · thème du site Servo Solution (Agence PTL)
   DA : charte Servo (encre, menthe, violet, signal), Space Grotesk + Inter.
   Ambiance : héros nuit (immersion 3D), sections claires « papier lavande »
   reprises des shorts. Tokens d'abord, composants ensuite.
   ========================================================================== */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--ink: #16171b;
	--ink-2: #22242b;
	--ink-soft: #4a4f5c;
	--muted: #6b7180;
	--night: #0c0d11;
	--night-2: #14151b;
	--paper: #ffffff;
	--mist: #f4f5fb;
	--mist-2: #eceef8;
	--line: rgba(22, 23, 27, 0.1);
	--line-dark: rgba(255, 255, 255, 0.12);
	--menthe: #067a68;
	--menthe-vif: #0a9c85;
	--signal: #12f1cd;
	--cyan: #3ec8e8;
	--violet: #5059c9;
	--violet-vif: #5a63d4;
	--violet-doux: #8b93ec;
	--violet-pale: #e9ebfb;
	--menthe-pale: #e3f6f2;
	--danger: #c0392b;
	--grad: linear-gradient(135deg, #12f1cd 0%, #3ec8e8 50%, #8b93ec 100%);
	--grad-deep: linear-gradient(135deg, #0a9c85 0%, #5a63d4 100%);
	--grad-text: linear-gradient(100deg, #0a9c85 0%, #5059c9 70%);
	--ff-title: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(22, 23, 27, 0.04), 0 10px 30px -12px rgba(40, 46, 110, 0.18);
	--shadow-lg: 0 30px 80px -30px rgba(40, 46, 110, 0.35);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--ff-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--menthe); }
p a.btn { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-title); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.s-dark :focus-visible, .site-header--dark :focus-visible { outline-color: var(--signal); }
.screen-reader-text, .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: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow-x: clip; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.s-mist { background: var(--mist); }
.s-dark { background: var(--night); color: #e9eaf0; }
.s-dark h2, .s-dark h3 { color: #fff; }
.s-dark a:not(.btn) { color: var(--signal); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- Titres de section ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--menthe); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-deep); }
.s-dark .eyebrow { color: var(--signal); }
.s-dark .eyebrow::before { background: var(--grad); }
.sec-head { max-width: 760px; margin: 0 0 clamp(32px, 5vw, 56px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.h1 { font-size: clamp(38px, 6.2vw, 74px); }
.h2 { font-size: clamp(30px, 4.4vw, 52px); }
.h3 { font-size: clamp(21px, 2.2vw, 26px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); line-height: 1.55; }
.s-dark .lead { color: #b9bccb; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-dark .grad-text, .hero .grad-text { background-image: var(--grad); }
.small { font-size: 14px; color: var(--muted); }
.s-dark .small { color: #9195a6; }

/* ---------- Boutons ---------- */
.btn { --b-bg: var(--violet); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 24px; border-radius: 999px; border: 0; background: var(--grad-deep); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); box-shadow: 0 10px 24px -10px rgba(80, 89, 201, 0.7); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(80, 89, 201, 0.8); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--violet); }
.s-dark .btn--ghost, .hero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); }
.s-dark .btn--ghost:hover, .hero .btn--ghost:hover { color: var(--signal); box-shadow: inset 0 0 0 1.5px var(--signal); }
.btn--signal { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(18, 241, 205, 0.7); }
.btn--signal:hover { color: var(--ink); }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Pastilles ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--violet-pale); color: var(--violet); font-size: 13.5px; font-weight: 600; }
.chip--menthe { background: var(--menthe-pale); color: var(--menthe); }
.s-dark .chip, .hero .chip { background: rgba(255, 255, 255, 0.08); color: #e6e8f2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.chip svg { width: 15px; height: 15px; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 90; height: var(--header-h); background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; }
.site-header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header__logo { display: inline-flex; align-items: center; flex: none; }
.site-header__logo img { height: 40px; width: auto; }
.site-header__logo .logo--blanc { display: none; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 13px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav a[aria-current="page"] { color: var(--violet); background: var(--violet-pale); }
.site-header .site-header__cta { flex: none; min-height: 44px; padding: 10px 18px; font-size: 15px; }
/* Rejouer l'introduction 3D (référence Boucard TP) : icône ronde dans l'en-tête, lien en pied de page et dans le menu mobile. */
.replay3d { flex: none; width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center; color: var(--ink); border: 1px solid var(--line); text-decoration: none; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.replay3d svg { width: 18px; height: 18px; }
.replay3d:hover { color: var(--violet); border-color: var(--violet); background: var(--violet-pale); }
.site-header--dark .replay3d { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.site-header--dark .replay3d:hover { color: var(--signal); border-color: var(--signal); background: rgba(255, 255, 255, 0.08); }
body.mnav-open .site-header .replay3d { color: var(--ink); border-color: var(--line); }
.mnav__replay { display: inline-flex !important; align-items: center; gap: 10px; font-family: var(--ff-body) !important; font-size: 16px !important; font-weight: 600 !important; color: var(--violet) !important; border-bottom: 0 !important; }
.mnav__replay svg { width: 18px; height: 18px; }
.site-footer__replay { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; }
.site-footer__replay svg { width: 15px; height: 15px; }
.site-footer__replay:hover { color: var(--signal); }
.no-replay [data-replay] { display: none !important; }
.replay3d__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--mist); cursor: pointer; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: inherit; border-radius: 2px; transition: transform 0.3s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* En-tête posé sur l'intro 3D (accueil) : transparent et clair. */
.home .site-header { position: fixed; left: 0; right: 0; }
.site-header--dark { background: rgba(12, 13, 17, 0.55); border-color: rgba(255, 255, 255, 0.08); }
.site-header--dark .logo--couleur { display: none; }
.site-header--dark .logo--blanc { display: block; }
.site-header--dark .site-nav a { color: #e9eaf0; }
.site-header--dark .site-nav a:hover { color: var(--signal); background: rgba(255, 255, 255, 0.08); }
.site-header--dark .burger { background: rgba(255, 255, 255, 0.1); }
.site-header--dark .burger span, .site-header--dark .burger span::before, .site-header--dark .burger span::after { background: #fff; }

/* Panneau mobile : hors du header (piège backdrop-filter, Playbook §13). */
.mnav { position: fixed; inset: 0; z-index: 95; background: var(--paper); padding: calc(var(--header-h) + 12px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; overflow-y: auto; }
.mnav.is-open { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.mnav a { font-family: var(--ff-title); font-size: 26px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 18px; font-family: var(--ff-body); font-size: 17px; border: 0; }
body.mnav-open { overflow: hidden; }
body.mnav-open .site-header { z-index: 100; background: var(--paper); }
body.mnav-open .site-header .logo--couleur { display: block; }
body.mnav-open .site-header .logo--blanc { display: none; }
body.mnav-open .site-header .burger { background: var(--mist); }
body.mnav-open .site-header .burger span::before, body.mnav-open .site-header .burger span::after { background: var(--ink); }

@media (max-width: 1020px) {
	.site-nav { display: none; }
	.burger { display: grid; margin-left: 0; }
	.replay3d { margin-left: auto; }
	.site-header .site-header__cta { display: none; }
}

/* ==========================================================================
   Intro 3D (accueil) : première section épinglée, contenu dans le flux
   ========================================================================== */
.intro3d { position: relative; height: 640vh; background: var(--night); color: #fff; }
.intro3d__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.intro3d__poster, .intro3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro3d__canvas { opacity: 0; transition: opacity 1s ease; }
.intro3d.is-ready .intro3d__canvas { opacity: 1; }
.intro3d.is-ready .intro3d__poster { opacity: 0; transition: opacity 1s ease 0.2s; }
.intro3d__veil { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 50% 110%, rgba(12, 13, 17, 0.9) 10%, transparent 55%), linear-gradient(180deg, rgba(12, 13, 17, 0.55), transparent 22%); }
.intro3d__title { position: absolute; left: 0; right: 0; bottom: clamp(70px, 12vh, 130px); padding: 0 var(--gutter); text-align: center; transition: opacity 0.6s, transform 0.6s var(--ease); }
.intro3d__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal); margin: 0 0 12px; }
.intro3d__big { font-family: var(--ff-title); font-weight: 700; font-size: clamp(32px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 auto 16px; max-width: 15ch; }
.intro3d__big em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro3d__sub { font-size: clamp(16px, 1.5vw, 19px); color: #c5c8d6; margin: 0 auto; max-width: 46ch; }
.intro3d.is-moving .intro3d__title { opacity: 0; transform: translateY(16px); pointer-events: none; }
/* Écran large : titre à gauche, boucle à droite (le cadrage de la caméra suit le même seuil 5/4). */
@media (min-width: 760px) and (min-aspect-ratio: 5/4) {
	.intro3d__title { left: calc(var(--gutter) + max(0px, (100vw - 1280px) / 2)); right: auto; top: 50%; bottom: auto; width: min(560px, 42vw); transform: translateY(-46%); text-align: left; padding: 0; }
	.intro3d__title::before { content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; top: -40%; bottom: -40%; background: radial-gradient(ellipse at 40% 50%, rgba(8, 9, 12, 0.85) 0%, rgba(8, 9, 12, 0.5) 45%, rgba(8, 9, 12, 0) 72%); pointer-events: none; }
	.intro3d__big { margin: 0 0 18px; max-width: 12ch; font-size: clamp(40px, 4.6vw, 68px); }
	.intro3d__sub { margin: 0; max-width: 40ch; }
	.intro3d.is-moving .intro3d__title { transform: translateY(-46%) translateX(-16px); }
	.intro3d:not(.is-moving) .intro3d__chapters { opacity: 0; pointer-events: none; }
	.intro3d__hint { left: calc(var(--gutter) + max(0px, (100vw - 1280px) / 2)); transform: none; align-items: flex-start; }
}
.intro3d__hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #a8acbc; }
.intro3d__hint i { width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 12px; position: relative; }
.intro3d__hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--signal); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.intro3d.is-moving .intro3d__hint { opacity: 0; }
.intro3d__skip { white-space: nowrap; position: absolute; right: var(--gutter); top: calc(var(--header-h) + 14px); z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(12, 13, 17, 0.5); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
.intro3d__skip:hover { border-color: var(--signal); color: var(--signal); }
.intro3d__chapters { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.intro3d__chapters button { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: rgba(255, 255, 255, 0.5); cursor: pointer; padding: 6px 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.intro3d__chapters button i { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: width 0.4s var(--ease); }
.intro3d__chapters button[aria-current="step"] { color: var(--signal); }
.intro3d__chapters button[aria-current="step"] i { width: 34px; }
.intro3d__card { position: absolute; right: clamp(16px, 6vw, 90px); top: 50%; width: min(420px, calc(100% - 2 * var(--gutter))); transform: translateY(-50%); z-index: 2; padding: 26px 28px; border-radius: var(--radius); background: rgba(16, 17, 23, 0.72); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity 0.5s, transform 0.5s var(--ease); pointer-events: none; }
.intro3d__card.is-on { opacity: 1; pointer-events: auto; }
.intro3d__card .num { font-family: var(--ff-title); font-size: 14px; font-weight: 700; color: var(--signal); letter-spacing: 0.1em; }
.intro3d__card h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 6px 0 10px; color: #fff; }
.intro3d__card p { color: #c9ccd8; margin: 0 0 12px; font-size: 16px; }
.intro3d__card .tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--grad); border-radius: 999px; padding: 5px 11px; }
.intro3d__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); z-index: 3; }
.intro3d__enter { white-space: nowrap; position: absolute; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 3; opacity: 0; transition: opacity 0.5s, transform 0.5s var(--ease); pointer-events: none; }
.intro3d.is-end .intro3d__enter { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.intro3d__final { position: absolute; left: 0; right: 0; bottom: clamp(110px, 17vh, 170px); padding: 0 var(--gutter); text-align: center; z-index: 2; opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s var(--ease); pointer-events: none; }
.intro3d__final::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 120vw); height: 190%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(8, 9, 12, 0.9) 0%, rgba(8, 9, 12, 0.72) 38%, rgba(8, 9, 12, 0.3) 62%, rgba(8, 9, 12, 0) 75%); pointer-events: none; }
.intro3d__final-big { font-family: var(--ff-title); font-weight: 700; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 auto 12px; max-width: 20ch; color: #fff; text-shadow: 0 2px 4px rgba(8, 9, 12, 0.9), 0 4px 30px rgba(8, 9, 12, 0.9); }
.intro3d__final-big em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 3px rgba(8, 9, 12, 0.95)) drop-shadow(0 0 18px rgba(8, 9, 12, 0.8)); }
.intro3d__final-sub { font-size: clamp(14px, 1.3vw, 17px); color: #e6e8f0; text-shadow: 0 1px 3px rgba(8, 9, 12, 0.95); margin: 0 auto; max-width: 52ch; }
.intro3d.is-end .intro3d__final { opacity: 1; transform: none; }
.intro3d__chapters { transition: opacity 0.5s; }
.intro3d.is-end .intro3d__chapters { opacity: 0; pointer-events: none; }
/* Sans JS, sans WebGL ou en mouvement réduit : pas de défilement long, l'affiche suffit. */
.intro3d.is-static { height: auto; min-height: 92vh; }
.intro3d.is-static .intro3d__stage { position: relative; height: 92vh; height: 92svh; }
.intro3d.is-static .intro3d__chapters, .intro3d.is-static .intro3d__card, .intro3d.is-static .intro3d__final, .intro3d.is-static .intro3d__hint, .intro3d.is-static .intro3d__skip, .intro3d.is-static .intro3d__progress { display: none; }
@media (max-width: 760px) {
	.intro3d__chapters { display: none; }
	.intro3d__card { top: auto; bottom: 18px; right: 50%; transform: translateX(50%); padding: 18px 20px; }
	.intro3d__card h2 { font-size: 28px; }
	.intro3d__card p { font-size: 14.5px; margin-bottom: 8px; }
	.intro3d__title { bottom: 96px; }
	.intro3d__skip { top: calc(var(--header-h) + 8px); font-size: 13px; }
}

/* ==========================================================================
   Héros de contenu (sous l'intro) et héros des pages
   ========================================================================== */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(64px, 8vw, 110px); }
.hero--home { padding-top: clamp(72px, 9vw, 120px); }
.hero__aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; background: radial-gradient(40% 40% at 20% 30%, rgba(18, 241, 205, 0.22), transparent 70%), radial-gradient(45% 45% at 80% 20%, rgba(139, 147, 236, 0.28), transparent 70%), radial-gradient(40% 40% at 60% 90%, rgba(62, 200, 232, 0.18), transparent 70%); filter: blur(30px); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) scale(1.08); } }
.hero__grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%); }
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; }
.hero--home h1 { font-size: clamp(36px, 4.8vw, 62px); }
.hero .lead { color: #c3c6d4; max-width: 56ch; }
.hero__trust { margin-top: 26px; }
.hero__visual { position: relative; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; } }

/* Carte « Cerveau » (fenêtre produit factice, aucune capture mensongère) */
.brain { position: relative; border-radius: 22px; padding: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: var(--shadow-lg); }
.brain__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.brain__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.brain__msg { background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; font-size: 14.5px; box-shadow: 0 8px 24px -14px rgba(0, 0, 0, 0.5); }
.brain__msg--me { margin-left: 18%; background: var(--violet); color: #fff; }
.brain__msg strong { display: block; font-family: var(--ff-title); font-size: 15px; }
.brain__msg .row { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 6px; font-size: 13.5px; }
.brain__input { display: flex; align-items: center; gap: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--muted); padding: 10px 12px 10px 16px; font-size: 14px; margin-top: 12px; }
.brain__input b { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; color: #fff; font-size: 14px; }
.brain__typing::after { content: "|"; animation: blink 1s steps(1) infinite; color: var(--violet); }
@keyframes blink { 50% { opacity: 0; } }

/* Héros de page intérieure */
.page-hero { padding-bottom: clamp(56px, 7vw, 90px); }
.page-hero .h1 { max-width: 18ch; }
.breadcrumb { font-size: 14px; color: #9a9eb0; margin: 0 0 18px; }
.breadcrumb a { color: #c7cad8; text-decoration: none; }

/* ==========================================================================
   Stories à la une (shorts verticaux)
   ========================================================================== */
.stories { padding: 26px 0 8px; position: relative; }
.stories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.stories__head p { margin: 0; }
.stories__hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px !important; font-size: 14px; color: rgba(233, 234, 240, 0.75); }
.stories__hint svg { width: 14px; height: 14px; color: var(--signal); }
.stories__arrows { display: flex; gap: 8px; }
.stories__arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); transition: background 0.2s, border-color 0.2s, opacity 0.2s; }
.stories__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stories__arrow:hover { background: rgba(18, 241, 205, 0.14); border-color: var(--signal); }
.stories__arrow:disabled { opacity: 0.3; cursor: default; background: none; border-color: rgba(255, 255, 255, 0.12); }
.stories__row { display: flex; gap: clamp(12px, 1.6vw, 18px); overflow-x: auto; padding: 8px 2px 18px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent); }
.stories__row.is-end { -webkit-mask-image: none; mask-image: none; }
.stories__row::-webkit-scrollbar { display: none; }
/* La carte : une vraie vignette verticale, comme une vidéo de réseau social. */
.story-card { position: relative; flex: none; width: clamp(138px, 13.5vw, 172px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; padding: 0; border: 0; cursor: pointer; scroll-snap-align: start; background: #0c0d11; color: #fff; text-align: left; isolation: isolate; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 40px -22px rgba(0, 0, 0, 0.9); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.story-card::before { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 2px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.story-card__media, .story-card__media img, .story-card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-card__media img, .story-card__media video { transition: transform 0.6s var(--ease), opacity 0.4s; }
.story-card__media video { opacity: 0; }
.story-card.is-preview .story-card__media video { opacity: 1; }
.story-card__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 9, 12, 0.45) 0%, rgba(8, 9, 12, 0) 22%, rgba(8, 9, 12, 0) 52%, rgba(8, 9, 12, 0.88) 78%, rgba(8, 9, 12, 0.96) 100%); }
.story-card__chip { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 5px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(12, 13, 17, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.14); }
.story-card__chip svg { width: 13px; height: 13px; color: var(--signal); }
.story-card__time { position: absolute; right: 10px; top: 12px; z-index: 2; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); }
.story-card__play { position: absolute; left: 50%; top: 46%; z-index: 3; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; color: #0c0d11; background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.6); transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, opacity 0.3s; }
.story-card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.story-card__play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.55); animation: story-pulse 2.2s var(--ease) infinite; }
@keyframes story-pulse { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
.story-card__title { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; font-family: var(--ff-title); font-size: 14px; color: var(--signal); font-weight: 700; line-height: 1.22; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.story-card__seen { position: absolute; right: 10px; top: 40px; z-index: 2; display: none; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: #0c0d11; background: var(--signal); padding: 2px 7px 2px 5px; border-radius: 999px; }
.story-card__seen svg { width: 11px; height: 11px; stroke-width: 3; }
.story-card.is-seen .story-card__seen { display: inline-flex; }
.story-card:hover, .story-card:focus-visible { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(18, 241, 205, 0.35), 0 28px 50px -20px rgba(18, 241, 205, 0.35); outline: none; }
.story-card:hover::before, .story-card:focus-visible::before { opacity: 1; }
.story-card:hover .story-card__media img, .story-card:hover .story-card__media video { transform: scale(1.06); }
.story-card:hover .story-card__play, .story-card:focus-visible .story-card__play { transform: scale(1.12); background: var(--grad); color: #0c0d11; }
.story-card.is-preview .story-card__play { opacity: 0; transform: scale(0.8); }
.story-card:active { transform: translateY(-2px) scale(0.98); }
.hero .stories { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
@media (prefers-reduced-motion: reduce) { .story-card__play::after { animation: none; } }
@media (max-width: 560px) { .stories__arrows { display: none; } .story-card { width: 42vw; } .story-card__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; } }

/* Lecteur plein écran : la vidéo au centre, la précédente et la suivante sur les côtés, flèches et puces. */
.story-viewer { position: fixed; inset: 0; z-index: 2147482000; display: none; align-items: center; justify-content: center; background: rgba(8, 9, 12, 0.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.story-viewer.is-open { display: flex; animation: sv-in 0.3s var(--ease); }
@keyframes sv-in { from { opacity: 0; } to { opacity: 1; } }
.story-viewer__stage { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 34px); width: 100%; height: 100%; }
.story-viewer__col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.story-viewer__frame { position: relative; height: min(84vh, 800px); aspect-ratio: 9 / 16; max-width: 100vw; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.story-viewer video { width: 100%; height: 100%; object-fit: cover; }
.story-viewer__frame::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(8, 9, 12, 0.72), rgba(8, 9, 12, 0)); }
.story-viewer__bars { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; gap: 4px; z-index: 3; }
.story-viewer__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.story-viewer__bars i b { display: block; height: 100%; width: 0; background: #fff; }
.story-viewer__top { position: absolute; left: 12px; right: 12px; top: 22px; display: flex; align-items: center; gap: 10px; z-index: 3; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.story-viewer__top img { display: none; }
.story-viewer__titre { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.story-viewer__titre b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-viewer__titre small { font-size: 11.5px; opacity: 0.75; font-variant-numeric: tabular-nums; }
.story-viewer__ctrl { margin-left: auto; display: flex; gap: 6px; flex: none; }
.story-viewer__ctrl button, .story-viewer__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.45); color: #fff; cursor: pointer; display: grid; place-items: center; }
.story-viewer__ctrl svg, .story-viewer__close svg { width: 20px; height: 20px; }
.story-viewer__close { position: absolute; right: 22px; top: 22px; z-index: 5; background: rgba(255, 255, 255, 0.1); }
.story-viewer__close:hover { background: rgba(255, 255, 255, 0.2); }
.story-viewer__tap { position: absolute; top: 70px; bottom: 90px; width: 33%; z-index: 1; background: none; border: 0; cursor: pointer; }
.story-viewer__tap--prev { left: 0; }
.story-viewer__tap--next { right: 0; }
.story-viewer__foot { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3; }
.story-viewer__foot .btn { width: 100%; }
.story-viewer__sound { position: absolute; left: 50%; top: 76px; z-index: 3; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(12, 13, 17, 0.7); backdrop-filter: blur(8px); color: #fff; font: 600 13px/1 var(--ff-body, inherit); cursor: pointer; white-space: nowrap; }
.story-viewer__sound svg { width: 16px; height: 16px; }
.story-viewer__sound[hidden] { display: none; }
.story-viewer__arrow { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); transition: background 0.2s, transform 0.2s, opacity 0.2s; }
.story-viewer__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.story-viewer__arrow:hover { background: var(--grad); color: #0c0d11; transform: scale(1.06); }
.story-viewer__arrow:disabled { opacity: 0.2; pointer-events: none; }
/* La précédente et la suivante, en plus petit sur les côtés : on voit qu'il y en a d'autres. */
.story-viewer__side { position: relative; flex: none; height: min(46vh, 430px); aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; padding: 0; border: 0; cursor: pointer; background: #111; opacity: 0.45; transition: opacity 0.25s, transform 0.25s; }
.story-viewer__side img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.story-viewer__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 12, 0.9)); }
.story-viewer__side-txt { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; color: #fff; text-align: left; line-height: 1.2; }
.story-viewer__side-txt small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--signal); margin-bottom: 3px; }
.story-viewer__side-txt b { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-viewer__side:hover { opacity: 0.9; transform: scale(1.03); }
.story-viewer__side.is-empty { visibility: hidden; }
.story-viewer__dots { display: flex; gap: 8px; align-items: center; }
.story-viewer__dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.3); transition: width 0.3s var(--ease), background 0.3s; }
.story-viewer__dots button:hover { background: rgba(255, 255, 255, 0.6); }
.story-viewer__dots button[aria-selected="true"] { width: 28px; background: var(--grad); }
.story-viewer__fin { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center; color: #fff; background: rgba(8, 9, 12, 0.82); backdrop-filter: blur(6px); }
.story-viewer__fin[hidden] { display: none; }
.story-viewer__fin p { margin: 0; color: rgba(255, 255, 255, 0.8); }
.story-viewer__fin .story-viewer__fin-big { font-family: var(--ff-title); font-size: 26px; font-weight: 700; color: #fff; }
.story-viewer__fin .btn { width: 100%; justify-content: center; }
@media (max-width: 1100px) { .story-viewer__side { display: none; } }
@media (max-width: 560px) {
	.story-viewer__stage { gap: 0; }
	.story-viewer__arrow { display: none; }
	.story-viewer__frame { height: 100svh; border-radius: 0; }
	.story-viewer__col { gap: 0; }
	.story-viewer__dots { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 4; padding: 7px 10px; border-radius: 999px; background: rgba(8, 9, 12, 0.6); }
	.story-viewer__ctrl { margin-right: 46px; }
	.story-viewer__close { top: 22px; right: 12px; background: rgba(0, 0, 0, 0.45); }
}

/* ==========================================================================
   Composants de contenu
   ========================================================================== */
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(80, 89, 201, 0.35); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--violet-pale); color: var(--violet); margin-bottom: 18px; }
.card__ico svg { width: 24px; height: 24px; }
.card__ico--menthe { background: var(--menthe-pale); color: var(--menthe); }
.s-dark .card { background: var(--night-2); border-color: var(--line-dark); box-shadow: none; }
.s-dark .card p { color: #b8bbca; }
.s-dark .card__ico { background: rgba(139, 147, 236, 0.15); color: var(--violet-doux); }

/* Constat chiffré */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--ff-title); font-size: clamp(42px, 5vw, 62px); line-height: 1; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat span { color: var(--ink-soft); font-size: 15.5px; }
.source { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Support + Production + Cerveau */
.combo { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 34px); align-items: stretch; }
.combo__col { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.combo__col h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.combo__col h3 small { font-family: var(--ff-body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; display: block; }
.combo__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.combo__list li { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; background: var(--mist); font-weight: 600; font-size: 14.5px; }
.combo__list li svg { width: 18px; height: 18px; flex: none; color: var(--violet); }
.combo__col--prod .combo__list li svg { color: var(--menthe); }
.combo__core { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; width: clamp(160px, 18vw, 220px); }
.combo__orb { position: relative; width: clamp(120px, 13vw, 170px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2a2c38, var(--night) 70%); box-shadow: 0 0 0 1px rgba(80, 89, 201, 0.25), 0 30px 70px -20px rgba(80, 89, 201, 0.7); }
.combo__orb::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(from 0deg, #12f1cd, #3ec8e8, #8b93ec, transparent 70%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.combo__orb img { width: 56%; }
.combo__core strong { font-family: var(--ff-title); font-size: 20px; }
.combo__core span { font-size: 14px; color: var(--muted); }
.combo__arrows { display: none; }
@media (max-width: 980px) { .combo { grid-template-columns: 1fr; } .combo__core { width: auto; flex-direction: row; text-align: left; } .combo__orb { width: 96px; } }
@media (max-width: 460px) { .combo__list { grid-template-columns: 1fr; } }

/* Bandeau « à votre image » */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--menthe-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067a68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.s-dark .ticks li::before { background-color: rgba(18, 241, 205, 0.15); }
.mock-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; border-radius: 24px; background: var(--mist); border: 1px solid var(--line); }
.mock-modules div { aspect-ratio: 1.15; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; font-weight: 700; font-size: 13.5px; gap: 6px; transition: transform 0.3s var(--ease); }
.mock-modules div svg { width: 22px; height: 22px; color: var(--violet); }
.mock-modules div.is-metier { background: linear-gradient(160deg, #fff, var(--menthe-pale)); }
.mock-modules div.is-metier svg { color: var(--menthe); }
.mock-modules div.is-you { background: var(--grad-deep); color: #fff; border: 0; }
.mock-modules div.is-you svg { color: #fff; }
.mock-modules div:hover { transform: translateY(-3px); }

/* Prix et délais */
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.offer__item { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); overflow: hidden; }
.offer__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.offer__item strong { display: block; font-family: var(--ff-title); font-size: clamp(26px, 2.6vw, 34px); color: #fff; line-height: 1.1; margin-bottom: 10px; }
.offer__item p { color: #b8bbca; margin: 0; font-size: 15.5px; }
.offer__note { margin-top: 22px; font-size: 14px; color: #9195a6; }

/* Méthode : cinq verbes */
.verbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: v; }
.verb { position: relative; padding: 24px 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.verb__num { font-family: var(--ff-title); font-weight: 700; font-size: 14px; color: var(--violet); }
.verb h3 { font-size: 26px; margin: 10px 0 8px; }
.verb p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.verb__tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--mist-2); color: var(--ink-soft); }
.verb--outil { background: var(--grad-deep); border: 0; color: #fff; }
.verb--outil h3, .verb--outil .verb__num { color: #fff; }
.verb--outil p { color: rgba(255, 255, 255, 0.85); }
.verb--outil .verb__tag { background: rgba(255, 255, 255, 0.18); color: #fff; }
@media (max-width: 1080px) { .verbs { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* Parcours d'intervention (schéma) */
.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.journey__step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 0 0 34px; }
.journey__step::before { content: ""; position: absolute; left: 31px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--violet-doux), var(--mist-2)); }
.journey__step:last-child::before { display: none; }
.journey__dot { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--violet-pale); font-family: var(--ff-title); font-weight: 700; font-size: 18px; color: var(--violet); transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.journey__step.is-on .journey__dot { background: var(--grad-deep); color: #fff; border-color: transparent; transform: scale(1.06); }
.journey__body { padding-top: 6px; }
.journey__when { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--menthe); }
.journey__body h3 { font-size: 22px; margin: 4px 0 6px; }
.journey__body p { color: var(--ink-soft); margin: 0 0 10px; }
.journey__out { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--mist); border-radius: 10px; padding: 7px 11px; }
.journey__out svg { width: 16px; height: 16px; color: var(--violet); }
.journey__who { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* Scrollytelling du parcours (page méthode) */
.scene { position: relative; }
.scene__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.scene__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.scene__visual { border-radius: 26px; background: var(--night); color: #fff; padding: 28px; min-height: 440px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.scene__visual .hero__aurora { opacity: 0.8; }
.scene__panel { position: relative; z-index: 1; display: none; }
.scene__panel.is-on { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.scene__panel h3 { font-size: 28px; color: #fff; }
.scene__panel p { color: #c3c6d4; }
.scene__doc { margin-top: 18px; background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); }
.scene__doc b { font-family: var(--ff-title); display: block; font-size: 16px; margin-bottom: 8px; }
.scene__doc li { margin-bottom: 4px; }
.scene__meter { display: flex; gap: 5px; margin-top: 18px; }
.scene__meter i { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.15); }
.scene__meter i.on { background: var(--grad); }
@media (max-width: 900px) { .scene__grid { grid-template-columns: 1fr; } .scene__sticky { position: relative; top: 0; } .scene__visual { min-height: 0; } }

/* Experts / auditeurs */
.axes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
@media (max-width: 860px) { .axes { grid-template-columns: 1fr; } }
.axe { border-radius: 22px; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.axe--humain { background: linear-gradient(160deg, #fff 40%, var(--menthe-pale)); }
.axe--tech { background: linear-gradient(160deg, #fff 40%, var(--violet-pale)); }
.experts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.expert { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.expert__photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: var(--grad-deep); display: grid; place-items: center; color: #fff; font-family: var(--ff-title); font-weight: 700; font-size: 24px; }
.expert__branche { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--menthe); }
.expert h3 { font-size: 21px; margin: 0; }
.expert ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); font-size: 15px; }
.expert__axe { margin-top: auto; padding-top: 6px; }
.expert--plus { background: var(--mist); border-style: dashed; box-shadow: none; }

/* Mission et valeurs */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; counter-reset: val; }
.value { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
.value h3 { font-size: 21px; color: #fff; display: flex; gap: 12px; align-items: baseline; }
.value h3::before { counter-increment: val; content: "0" counter(val); font-size: 14px; color: var(--signal); }
.value p { color: #b8bbca; margin: 0; }
.mission { font-family: var(--ff-title); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -0.02em; color: #fff; max-width: 26ch; margin: 0 0 40px; }

/* Lead magnet (bloc e-book et diagnostic) */
.magnet { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.magnet__cover { border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(40, 46, 110, 0.55); transform: rotate(-3deg); transition: transform 0.5s var(--ease); }
.magnet:hover .magnet__cover { transform: rotate(-1deg) translateY(-4px); }
@media (max-width: 860px) { .magnet { grid-template-columns: 1fr; } .magnet__cover { max-width: 260px; margin: 0 auto; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--ff-title); font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--violet-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235059c9' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); }

/* CTA final + réservation */
.cta-band { position: relative; overflow: hidden; }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 4.5vw, 60px); align-items: start; }
@media (max-width: 920px) { .cta-band__grid { grid-template-columns: 1fr; } }
.booking-shell { position: relative; z-index: 1; }
.cta-band__grid .h1 { font-size: clamp(34px, 3.6vw, 54px); }
/* Widget ptl-booking 1.2 aux couleurs Servo : violet pour les sélections, dégradé pour le bouton principal. */
body .ptl-booking { --bk-accent: #5059c9; --bk-accent-ink: #ffffff; --bk-cta: var(--grad-deep); --bk-ink: #16171b; --bk-soft: #f3f4fa; --bk-font-title: var(--ff-title); --bk-radius: 16px; border-radius: 24px; padding: clamp(18px, 2.6vw, 28px); box-shadow: var(--shadow-lg); border-color: transparent; font-family: var(--ff-body); max-width: none; }
.ptl-booking .bk-mois, .ptl-booking .bk-done__quand { font-family: var(--ff-title); }

/* Formulaires (lead) */
.lead-form { display: grid; gap: 14px; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .lead-form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(80, 89, 201, 0.15); }
.field--consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.field--consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--violet); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; min-height: 0; }
.form-msg.is-err { color: var(--danger); }
.form-msg.is-ok { color: var(--menthe); }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.s-dark .field input, .s-dark .field select { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: #fff; }

/* ==========================================================================
   Diagnostic (quiz)
   ========================================================================== */
.quiz { max-width: 820px; margin: 0 auto; }
.quiz__card { background: var(--paper); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 44px); }
.quiz__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.quiz__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--mist-2); overflow: hidden; }
.quiz__bar b { display: block; height: 100%; width: 0; background: var(--grad-deep); transition: width 0.5s var(--ease); }
.quiz__count { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.quiz__axe { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--menthe); margin: 0 0 8px; }
.quiz__q { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 22px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.quiz__opt i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mist); font-style: normal; font-weight: 700; font-size: 14px; color: var(--violet); }
.quiz__opt:hover { border-color: var(--violet); transform: translateX(3px); }
.quiz__opt[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-pale); }
.quiz__opt[aria-pressed="true"] i { background: var(--violet); color: #fff; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.quiz__back { background: none; border: 0; color: var(--muted); cursor: pointer; font-weight: 600; padding: 10px 0; }
.quiz__step { animation: fadeUp 0.45s var(--ease); }
.result__head { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 26px; }
@media (max-width: 600px) { .result__head { grid-template-columns: 1fr; } }
.gauge { position: relative; width: 150px; height: 150px; }
.gauge svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.gauge__val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--ff-title); font-weight: 700; font-size: 36px; line-height: 1; }
.gauge__val small { display: block; font-size: 12px; font-family: var(--ff-body); font-weight: 600; color: var(--muted); margin-top: 4px; }
.result__profil { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }
.result__axes { display: grid; gap: 12px; margin: 10px 0 26px; }
.result__axe { display: grid; grid-template-columns: 180px 1fr 48px; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; }
.result__axe .track { height: 10px; border-radius: 10px; background: var(--mist-2); overflow: hidden; }
.result__axe .track b { display: block; height: 100%; border-radius: 10px; background: var(--grad-deep); width: 0; transition: width 1s var(--ease); }
@media (max-width: 560px) { .result__axe { grid-template-columns: 1fr 48px; } .result__axe .track { grid-column: 1 / -1; grid-row: 2; } }
.reco { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.reco li { padding: 16px 18px; border-radius: 14px; background: var(--mist); border-left: 4px solid var(--violet); }
.reco li strong { display: block; font-family: var(--ff-title); margin-bottom: 2px; }

/* ==========================================================================
   Landing e-book isolée
   ========================================================================== */
.ebk-body { background: var(--night); color: #e9eaf0; }
.ebk { position: relative; min-height: 100vh; overflow: hidden; padding: 28px var(--gutter) 40px; }
.ebk__top { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ebk__top img { height: 42px; width: auto; }
.ebk__duo { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .ebk__duo { grid-template-columns: 1fr; } }
.ebk h1 { color: #fff; }
.ebk__points { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.ebk__points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: #c9ccd8; }
.ebk__points img { width: 22px; height: 22px; margin-top: 3px; }
.ebk__points strong { color: #fff; }
.ebk__auteur { display: flex; align-items: center; gap: 14px; }
.ebk__auteur img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.ebk__auteur p { margin: 0; font-size: 14px; color: #a9adbd; }
.ebk__auteur strong { display: block; color: #fff; font-size: 15.5px; }
.ebk__panel { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(24px, 3.4vw, 38px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
.ebk__panel h2 { font-size: 26px; }
.ebk__cover { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ebk__cover img { width: 92px; border-radius: 8px; box-shadow: 0 14px 30px -14px rgba(40, 46, 110, 0.6); }
.ebk__cover p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.ebk__done[hidden] { display: none; }
.ebk__pied { position: relative; z-index: 1; max-width: var(--wrap); margin: 50px auto 0; font-size: 13px; color: #868a9b; text-align: center; }
.ebk__pied a { color: #b9bccb; }

/* ==========================================================================
   Pages éditoriales et légales
   ========================================================================== */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #e3e5ee; }
.prose thead th { background: var(--mist); color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--menthe); }
.prose tbody td:first-child { font-weight: 600; color: var(--ink); }
.prose code { font-size: 0.92em; background: var(--mist); padding: 1px 6px; border-radius: 4px; }
@media (max-width: 720px) {
	.prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
	.prose thead { display: none; }
	.prose tr { border: 1px solid #e3e5ee; border-radius: 10px; padding: 6px 0; margin-bottom: 12px; }
	.prose td { border: 0; padding: 6px 14px; }
}
.callout { border-radius: 16px; padding: 18px 20px; background: var(--violet-pale); color: var(--ink); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--night); color: #a9adbd; padding: clamp(56px, 7vw, 90px) 0 32px; font-size: 15px; }
.site-footer a { color: #d6d8e2; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-family: var(--ff-body); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer__logo img { height: 46px; width: auto; margin-bottom: 16px; }
.site-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; }
.badge-host { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 13px; color: #c9ccd8; }
.badge-host i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }

/* ==========================================================================
   Apparitions et mouvement réduit
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Grilles : un enfant ne doit jamais imposer sa largeur min-content (débordement mobile). */
.split > *, .hero__inner > *, .cta-band__grid > *, .scene__grid > *, .magnet > *, .ebk__duo > *, .combo > *, .grid > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 760px) { .intro3d__kicker { display: none; } }
.ebk .lead { color: #c3c6d4; }
.ebk .eyebrow { color: var(--signal); }
.ebk .eyebrow::before { background: var(--grad); }
.site-header--dark .site-nav a[aria-current="page"] { color: var(--signal); background: rgba(255, 255, 255, 0.1); }
