/* Polices hébergées localement : aucune requête vers Google (RGPD) */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0d1014;
  --ink-2: #13171d;
  --ink-3: #1a1f27;
  --paper: #f6f3ec;
  --white: #fff;
  --accent: #e3141c;
  --accent-2: #b70f16;
  --on-accent: #fff;
  --accent-light: #ff5c63; /* rouge lisible sur fond sombre (contraste AA) */
  --logo-blue: #1f5fbf;
  --logo-green: #3aa935;
  --logo-yellow: #f4c20d;
  --jpm: #2f6bff;
  --muted: #6b7280;
  --muted-d: rgba(255,255,255,.66);
  --line-d: rgba(255,255,255,.1);
  --radius: 18px;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
section[id] { scroll-margin-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Barre de progression */
#progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 1100; }

/* Labels éditoriaux */
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .label, .hero .label, .scene-welcome .label { color: var(--accent-light); }
.hero .stars, .float-badge .stars { color: var(--accent-light); }
.h2 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 900; max-width: 18ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin-top: 18px; }

/* Boutons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 100px; font-weight: 700; font-size: 15px; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), color .3s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--ink); }
.btn-accent::before { background: var(--white); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark::before { background: var(--ink-3); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--white); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; display: flex; align-items: center; gap: 28px; padding: 0 max(24px, calc((100% - 1180px) / 2)); height: 84px; color: var(--white); transition: height .35s var(--ease), background .35s, box-shadow .35s; }
.nav.scrolled { height: 66px; background: rgba(13,16,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 2px 24px rgba(0,0,0,.25); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -.01em; }
.brand em { font-style: normal; color: var(--accent); }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: dot 3s ease-in-out infinite; }
@keyframes dot { 50% { transform: scale(1.5); box-shadow: 0 0 0 6px rgba(227,20,28,.15); } }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: radial-gradient(1200px 600px at 85% 10%, rgba(227,20,28,.14), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(47,107,255,.14), transparent 60%), var(--ink); color: var(--white); overflow: hidden; padding: 120px 0 200px; }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.hero-inner { position: relative; z-index: 2; }
.hero-title { font-size: clamp(46px, 9vw, 128px); font-weight: 900; line-height: .95; letter-spacing: -.035em; max-width: 11ch; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero-title .w > span { display: inline-block; }
.hl { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted-d); max-width: 560px; margin-top: 28px; }
.hero-sub strong { color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14px; color: var(--muted-d); }
.hero-proof strong { color: var(--white); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* Route animée du hero */
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(#1b2028, #15191f); border-top: 3px solid #2a303a; z-index: 1; }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px; background: rgba(255,255,255,.5); }
.road-lines { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; background: repeating-linear-gradient(90deg, #f1f1f1 0 60px, transparent 60px 120px); background-size: 120px 6px; animation: lines .9s linear infinite; opacity: .9; }
@keyframes lines { to { background-position: -120px 0; } }
.car { position: absolute; top: 18px; left: 8%; width: 120px; height: 56px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(2px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 150px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; transform: translateX(-50%); z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Marquee */
.marquee { background: var(--accent); color: var(--on-accent); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.marquee-track i { font-style: normal; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.light { background: var(--paper); }
.dark { background: var(--ink-2); color: var(--white); background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; }
.dark .lead { color: var(--muted-d); }

/* Cartes formations */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.card { grid-column: span 2; position: relative; background: var(--white); border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-feature { grid-column: span 4; background: var(--ink); color: var(--white); border-color: transparent; }
.card-feature p { color: var(--muted-d); }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--accent); transition: width .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.25); }
.card:hover::after { width: 100%; }
.card h3 { font-size: 24px; font-weight: 800; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.card-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: rgba(227,20,28,.14); border: 1px solid rgba(227,20,28,.4); color: var(--accent-2); font-size: 24px; transition: transform .35s var(--ease); }
.card-feature .card-ico { color: var(--accent-light); }
.card:hover .card-ico { transform: scale(1.08) rotate(-4deg); }
.card-link { display: inline-block; margin-top: 8px; padding: 10px 0; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--accent-2); }
.card-feature .card-link { color: var(--accent-light); }
.card-link span { display: inline-block; transition: transform .3s var(--ease); }
.card-link:hover span { transform: translateX(5px); }
.badge { position: absolute; top: 22px; right: 22px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }

/* Parcours */
.parcours-track { position: relative; margin-top: 64px; }
.parcours-road { position: absolute; left: 50%; top: 0; width: 200px; height: 100%; transform: translateX(-50%); overflow: visible; }
.parcours-road path { fill: none; }
.parcours-road #roadPath { stroke: #2a303a; stroke-width: 34; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.road-dash { stroke: #f1f1f1; stroke-width: 3; stroke-dasharray: 14 14; vector-effect: non-scaling-stroke; }
.parcours-car { position: absolute; left: 0; top: 0; width: 64px; height: 30px; z-index: 2; filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }
.steps { position: relative; display: grid; gap: clamp(60px, 10vw, 120px); padding: 40px 0; }
.step { width: calc(50% - 130px); background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 28px 30px; }
.step:nth-child(even) { margin-left: auto; }
.step-n { display: block; font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 24px; margin: 10px 0 8px; }
.step p { color: var(--muted-d); font-size: 16px; }

/* Enseignes */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.brand-card { position: relative; border-radius: 24px; padding: clamp(32px, 4vw, 52px); color: var(--white); overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; transform-style: preserve-3d; transition: transform .2s ease-out; }
.brand-cl2s { background: linear-gradient(140deg, #1a1f27, #0d1014); }
.brand-jpm { background: linear-gradient(140deg, #1d4fd6, #0f2f8a); }
.brand-mark { position: absolute; top: -10px; right: -6px; font-family: var(--display); font-weight: 900; font-size: clamp(110px, 14vw, 190px); line-height: 1; letter-spacing: -.05em; color: rgba(255,255,255,.07); pointer-events: none; }
.brand-cl2s .brand-mark { color: rgba(227,20,28,.14); }
.brand-card h3 { font-size: 34px; font-weight: 900; }
.brand-card p { color: rgba(255,255,255,.75); margin-top: 10px; max-width: 40ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }

/* Bandeau chiffres */
.accent-band { background: var(--accent); color: var(--on-accent); padding: 70px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 10px 16px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.25); }
.stat-n { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.stat-n small { font-size: .45em; margin-left: 2px; }
.stat-l { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Agences */
.agencies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.agency { background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: border-color .35s, transform .45s var(--ease); }
.agency:hover { border-color: rgba(227,20,28,.5); transform: translateY(-6px); }
.agency header { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 28px; }
.agency-brand { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent-light); }
.open-status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: #3ddc84; background: rgba(61,220,132,.12); }
.open-status.is-open::before { animation: dot 2s ease-in-out infinite; }
.open-status.is-closed { color: #ff7a7a; background: rgba(255,122,122,.12); }
.agency h3 { font-size: 30px; font-weight: 900; margin: 14px 0 8px; }
.addr { color: var(--muted-d); font-size: 16px; line-height: 1.55; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 18px 0 22px; font-size: 14px; }
.hours dt { color: var(--muted-d); }
.hours dd { margin: 0; font-weight: 600; }
.agency-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; background: rgba(255,255,255,.07); border: 1px solid var(--line-d); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .3s, color .3s, transform .3s var(--ease); }
.chip:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.note { margin-top: 28px; color: var(--muted-d); font-size: 15px; }
.note a { color: var(--accent-light); font-weight: 700; }

/* CTA */
.cta { background: var(--paper); text-align: center; overflow: hidden; }
.ghost { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--display); font-weight: 900; font-size: clamp(120px, 24vw, 320px); line-height: 1; color: rgba(0,0,0,.05); white-space: nowrap; pointer-events: none; user-select: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta .h2 { max-width: 20ch; }
.cta-phone { display: inline-block; margin: 30px 0; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 6vw, 64px); text-decoration: none; color: var(--ink); background: linear-gradient(transparent 62%, var(--accent) 62%); padding: 0 6px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.small { font-size: 14px; color: var(--muted); margin-top: 26px; }
.small a { font-weight: 700; }

/* Footer */
.footer { background: var(--ink); color: var(--white); border-top: 3px solid var(--accent); padding: 64px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; }
.footer p { color: var(--muted-d); font-size: 15px; margin-top: 14px; }
.footer .f-title { font-family: var(--body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.footer li { margin: 6px 0; }
.footer li a { text-decoration: none; color: rgba(255,255,255,.75); font-size: 15px; }
.footer li a:hover { color: var(--white); }
.copy { text-align: center; color: rgba(255,255,255,.4); font-size: 13px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); }

/* Barre d'actions flottante */
.dock { position: fixed; left: 50%; bottom: 18px; z-index: 900; display: flex; gap: 4px; padding: 6px; border-radius: 100px; background: rgba(13,16,20,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 40px rgba(0,0,0,.35); transform: translate(-50%, 140%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; }
.dock.show { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
.dock a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 100px; color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .3s; }
.dock a:hover { background: rgba(255,255,255,.1); }
.dock .dock-main { background: var(--accent); color: var(--on-accent); }
.dock .dock-main:hover { background: var(--white); color: var(--ink); }

/* États initiaux pour l'animation (seulement si le JS tourne) */
.js [data-reveal], .js [data-hero], .js [data-step] { opacity: 0; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 28px; background: var(--ink); clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s; margin: 0; }
  .nav-links a { font-family: var(--display); font-weight: 900; font-size: 34px; opacity: 1; }
  .nav.open .nav-links { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
  .burger { display: block; z-index: 2; margin-left: auto; }
  .nav-cta { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { grid-column: span 1; }
  .card-feature { grid-column: span 2; }
  .agencies { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(1180px, 100% - 36px); }
  .cards { grid-template-columns: 1fr; }
  .card-feature { grid-column: span 1; }
  .parcours-road { left: 28px; transform: none; width: 60px; }
  .parcours-car { width: 48px; height: 22px; }
  .step, .step:nth-child(even) { width: auto; margin-left: 76px; }
  .hero { padding-bottom: 170px; }
  .road { height: 100px; }
  .car { top: 12px; width: 96px; height: 45px; }
  .scroll-hint { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .dock { left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; }
  .dock.show { transform: translateY(0); }
  .dock a { flex: 1; flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 11px; }
  .dock .ico { width: 20px; height: 20px; }
}


/* Logo volant */
.brand-logo { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.12); will-change: transform; }
.footer .brand-logo { width: 46px; height: 46px; }

/* Hero : photo */
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-photo { position: relative; margin: 0; }
.hero-photo-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); transform: rotate(2deg); background: linear-gradient(135deg, #2a0d0f, var(--accent)); }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(13,16,20,.55)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.22) translate(3%, -2%); } }
.float-badge { position: absolute; top: 28px; right: -14px; z-index: 2; padding: 10px 18px; border-radius: 100px; background: rgba(13,16,20,.82); border: 1px solid var(--accent); font-weight: 700; font-size: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: floaty 6s ease-in-out infinite; }
.float-card { position: absolute; left: -26px; bottom: 34px; z-index: 2; display: flex; flex-direction: column; padding: 14px 20px; border-radius: 14px; background: rgba(13,16,20,.72); border-left: 4px solid var(--accent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: floaty 7s ease-in-out infinite reverse; }
.float-card strong { font-family: var(--display); font-size: 34px; line-height: 1; }
.float-card small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); margin-top: 4px; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Scène : phares + porte */
.showroom { background: var(--paper); }
.scene { position: relative; margin-top: 48px; border-radius: 28px; overflow: hidden; aspect-ratio: 1360 / 907; background: #222; box-shadow: 0 40px 90px -40px rgba(0,0,0,.55); isolation: isolate; }
.scene-zoom { position: absolute; inset: 0; transform-origin: 52.2% 44%; will-change: transform; }
.scene-inner { position: absolute; inset: 0; }
.scene-zoom img { width: 100%; height: 100%; object-fit: cover; transition: filter .8s var(--ease); }
.scene.lights-on .scene-zoom img { filter: brightness(.62) saturate(1.1); }
.lamp { position: absolute; left: var(--x); top: var(--y); width: 9%; aspect-ratio: 2 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, #fff 0%, rgba(255,250,225,.95) 30%, rgba(255,240,190,.45) 60%, transparent 100%); mix-blend-mode: screen; opacity: 0; transition: opacity .25s; pointer-events: none; }
.lamp-s { width: 4%; }
.lamp::after { content: ""; position: absolute; inset: -120% -80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,245,210,.4), transparent); }
.beam { position: absolute; left: var(--x); top: calc(var(--y) + 14%); width: 26%; aspect-ratio: 3 / 1; transform: translate(-50%, -50%) rotate(var(--r)); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,246,215,.55), rgba(255,246,215,.15) 60%, transparent); mix-blend-mode: screen; filter: blur(6px); opacity: 0; transition: opacity .6s; pointer-events: none; }
.scene.lights-on .lamp, .scene.lights-on .beam { opacity: 1; }
.scene.blink .lamp { animation: blink .9s steps(1) 2; }
@keyframes blink { 0% { opacity: 1; } 25% { opacity: 0; } 50% { opacity: 1; } 75% { opacity: 0; } }
.scene-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 2; }
.scene-ui { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 26px 20px 70px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.scene-ui .btn-ghost { background: rgba(13,16,20,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.scene-ui .btn-ghost[aria-pressed="true"] { background: #fff4c7; color: var(--ink); border-color: #fff4c7; }
.scene-welcome { position: fixed; inset: 0; z-index: 1200; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; color: var(--white); background: radial-gradient(circle at 50% 40%, rgba(227,20,28,.35), transparent 60%), rgba(13,16,20,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scene-welcome[hidden] { display: none; }
.scene-welcome .label { margin: 14px 0 8px; }
.scene-welcome h3 { font-size: clamp(28px, 4.4vw, 52px); font-weight: 900; }
.scene-welcome > p:not(.label) { color: var(--muted-d); margin-top: 8px; }
.welcome-logo { width: 84px; height: 84px; border-radius: 50%; }
.welcome-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.welcome-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); cursor: pointer; }
.welcome-close span { position: absolute; left: 13px; right: 13px; top: 22px; height: 2px; background: #fff; transform: rotate(45deg); }
.welcome-close span + span { transform: rotate(-45deg); }

/* Agences : visuels */
.agency-visual { position: relative; margin: -28px -28px 20px; height: 170px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.agency-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.agency:hover .agency-visual img { transform: scale(1.08); }
.agency-visual-map { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--accent); font-family: var(--display); font-weight: 900; font-size: 44px; background: radial-gradient(circle at 30% 30%, rgba(227,20,28,.25), transparent 60%), repeating-linear-gradient(35deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px), repeating-linear-gradient(-55deg, rgba(255,255,255,.035) 0 2px, transparent 2px 34px), #10141a; }
.agency-visual-map span { color: rgba(255,255,255,.14); }
.agency-visual-map .ico { width: 40px; height: 40px; animation: floaty 3s ease-in-out infinite; }

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
}
@media (max-width: 720px) {
  .scene { border-radius: 18px; }
  .scene-ui { padding: 12px 10px 40px; gap: 8px; }
  .scene-ui .btn { padding: 9px 14px; font-size: 13px; }
  .agency-visual { height: 130px; }
  .scene-ui .btn { padding: 12px 18px; font-size: 14px; }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-hero], .js [data-step] { opacity: 1; }
}
.parcours { overflow: hidden; }
.scroll-hint::after { content: ""; position: absolute; inset: -10px; }
