:root{
  --paper:#F6F7FB; --surface:#FFFFFF; --ink:#141A4A; --muted:#454B73; --line:rgba(20,26,74,.16);
  --blue:#2B3BE0; --yellow:#FFC62E; --coral:#FF5C6C; --mint:#22C293; --violet:#5B4BD6;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--paper:#0F1333; --surface:#181D47; --ink:#EEF0FF; --muted:#B4B9E0; --line:rgba(238,240,255,.18)}
}
:root[data-theme="dark"]{--paper:#0F1333; --surface:#181D47; --ink:#EEF0FF; --muted:#B4B9E0; --line:rgba(238,240,255,.18)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:88px}
body{margin:0; background:var(--paper); color:var(--ink); font:1.0625rem/1.6 var(--font)}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-underline-offset:3px}
:focus-visible{outline:3px solid var(--yellow); outline-offset:2px; box-shadow:0 0 0 6px #141A4A; border-radius:4px}
.skip{position:absolute; left:12px; top:-60px; background:var(--ink); color:var(--paper); padding:10px 16px; border-radius:8px; z-index:50; font-weight:700}
.skip:focus{top:12px}
.wrap{max-width:1100px; margin:0 auto; padding:0 20px}
h1,h2,h3{line-height:1.1; margin:0; letter-spacing:-.01em}
h1{font-size:clamp(2rem,5vw,3.4rem); font-weight:800}
h2{font-size:clamp(1.6rem,3.6vw,2.4rem); font-weight:800; margin-bottom:28px}
h3{font-size:1.2rem; font-weight:700}
p{margin:0 0 1em; max-width:60ch}
section{padding:clamp(48px,7vw,88px) 0}
.muted{color:var(--muted)}

/* En-tête */
.top{position:sticky; top:0; z-index:10; background:var(--paper); border-bottom:1px solid var(--line)}
.top .wrap{display:flex; align-items:center; justify-content:space-between; min-height:72px; gap:12px}
.logo{display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.2rem; text-decoration:none}
.logo img{display:block; height:54px; width:auto}
@media (max-width:820px){ .logo img{height:42px} }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .logo img{background:#fff; border-radius:8px; padding:3px 8px} }
:root[data-theme="dark"] .logo img{background:#fff; border-radius:8px; padding:3px 8px}
.nav{display:flex; align-items:center; gap:22px}
.nav a{text-decoration:none; font-weight:500; padding:8px 0}
.nav a:hover{text-decoration:underline}
.nav a[aria-current="page"]{text-decoration:underline; text-decoration-thickness:2px}
.lang{border:2px solid currentColor; border-radius:8px; padding:4px 10px !important; font-weight:700 !important}
.menu-btn{display:none; min-height:44px; background:none; border:2px solid var(--ink); color:var(--ink); border-radius:999px; padding:6px 16px; font:700 1rem var(--font); cursor:pointer}
@media (max-width:820px){
  .js .menu-btn{display:block}
  .js .nav{display:none}
  .nav{position:absolute; top:72px; left:0; right:0; background:var(--paper); flex-direction:column; align-items:flex-start; padding:12px 20px 20px; gap:4px; border-bottom:1px solid var(--line)}
  .no-js .nav{position:static; flex-wrap:wrap; flex-direction:row; padding:0 0 12px}
  .js .nav.open{display:flex}
  .nav a{padding:10px 0; font-size:1.1rem}
}

/* Boutons */
.btn{display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 22px; border-radius:999px; font-weight:700; text-decoration:none; border:2px solid transparent}
.btn-primary{background:var(--blue); color:#fff}
.btn-primary:hover{background:#1E2CC0}
.btn-ghost{border-color:currentColor}
.actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:24px}

/* Accueil */
.hero .wrap{display:grid; grid-template-columns:1.4fr 1fr; gap:48px; align-items:center}
.hero .lede{font-size:1.2rem; color:var(--muted); margin-top:20px}
.hero-visual{width:100%; max-width:440px; height:auto; justify-self:end}
.hero-visual img{width:100%; height:auto}
@media (max-width:820px){ .hero .wrap{grid-template-columns:1fr} .hero-visual{display:none} }

.reel{position:relative; aspect-ratio:16/9; border-radius:16px; overflow:hidden; background:#141A4A; color:#fff}
.reel-video{display:block; width:100%; height:100%; object-fit:cover; background:#141A4A}
.reel-play{position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:84px; height:84px; border-radius:50%; border:0; background:rgba(255,255,255,.92); display:grid; place-items:center; cursor:pointer; box-shadow:0 6px 24px rgba(0,0,0,.35)}
.reel-play:hover{background:#fff}
.reel-play .play::after{content:""; display:block; border-left:24px solid #141A4A; border-top:14px solid transparent; border-bottom:14px solid transparent; margin-left:7px}
.reel-play[hidden]{display:none}
.reel-play.corner{left:auto; right:16px; top:auto; bottom:16px; transform:none; width:60px; height:60px}
.reel-play.corner .play::after{border-left-width:18px; border-top-width:11px; border-bottom-width:11px; margin-left:5px}
.reel-end{position:absolute; left:0; right:0; bottom:0; display:flex; flex-wrap:wrap; justify-content:center; gap:12px; padding:48px 16px 24px; background:linear-gradient(transparent, rgba(20,26,74,.85))}
.reel-end[hidden]{display:none}
.reel-replay{background:#fff; color:#141A4A; cursor:pointer; font:700 1rem var(--font)}
.reel-replay:hover{background:#E6E8F5}
.reel-end .s{display:none}
@media (max-width:820px){ .reel-end{flex-wrap:nowrap; padding:20px 10px 10px; gap:8px; background:linear-gradient(transparent, rgba(20,26,74,.75))} .reel-end .btn{min-height:44px; padding:6px 16px; font-size:.95rem} .reel-end .l{display:none} .reel-end .s{display:inline} }
@media (max-width:820px){ .reel-play{width:56px; height:56px} .reel-play .play::after{border-left-width:16px; border-top-width:10px; border-bottom-width:10px; margin-left:5px} }
.reel iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.reel-btn{position:absolute; inset:0; width:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; background:linear-gradient(135deg,#2B3BE0,#141A4A); color:#fff; border:0; font:700 1.1rem var(--font); cursor:pointer}
.reel-btn .play{width:76px; height:76px; border-radius:50%; background:#fff; display:grid; place-items:center}
.reel-btn .play::after{content:""; border-left:22px solid #141A4A; border-top:13px solid transparent; border-bottom:13px solid transparent; margin-left:6px}
.reel-note{font-size:.9rem; color:var(--muted); margin-top:10px}

.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.card{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:24px; border-top:6px solid var(--c,var(--blue))}
.card h3{margin-bottom:8px}
.card p{margin:0; color:var(--muted)}
@media (max-width:820px){ .cards{grid-template-columns:1fr} }

.steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:16px; counter-reset:s}
.steps li{counter-increment:s; padding-top:14px; border-top:3px solid var(--blue)}
.steps li::before{content:counter(s) ". "; font-weight:800; color:var(--blue)}
.steps strong{font-weight:700}
.steps span{display:block; color:var(--muted); font-size:.95rem}
.steps li:nth-child(2){border-color:var(--violet)} .steps li:nth-child(2)::before{color:var(--violet)}
.steps li:nth-child(3){border-color:var(--coral)} .steps li:nth-child(3)::before{color:#C2273A}
.steps li:nth-child(4){border-color:var(--yellow)} .steps li:nth-child(4)::before{color:#8A6400}
.steps li:nth-child(5){border-color:var(--mint)} .steps li:nth-child(5)::before{color:#0E7A5A}
@media (max-width:820px){ .steps{grid-template-columns:1fr; gap:12px} }

.offers{background:var(--yellow); color:#141A4A}
.offer-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.offer-link{display:block; background:#fff; color:#141A4A; border-radius:14px; padding:20px; text-decoration:none; border:2px solid #141A4A; min-height:100%}
.offer-link:hover{background:#141A4A; color:#fff}
.offer-link h3{margin-bottom:6px}
.offer-link span{font-size:.95rem}
.offer-link h3::after{content:" →"}
@media (max-width:820px){ .offer-grid{grid-template-columns:1fr} }

.case{display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,4vw,48px); align-items:center; padding:32px 0; border-top:1px solid var(--line)}
.case:first-child{border-top:0; padding-top:0}
.case:nth-child(even) .case-video{order:2}
.case-video{border-radius:14px}
.case-video .reel-btn{background:var(--c)}
.case-video .reel-btn .label{background:rgba(20,26,74,.72); color:#fff; padding:4px 12px; border-radius:999px; font-size:1rem}
.case .client{font-size:.95rem; font-weight:700; color:var(--muted); margin:0 0 6px}
.case h3{font-size:clamp(1.3rem,2.4vw,1.7rem); line-height:1.15; margin-bottom:16px}
.case dl{margin:0; display:grid; grid-template-columns:auto 1fr; gap:8px 16px}
.case dt{font-weight:700}
.case dd{margin:0; color:var(--muted)}
@media (max-width:820px){
  .case{grid-template-columns:1fr; gap:16px}
  .case:nth-child(even) .case-video{order:0}
  .case dl{grid-template-columns:1fr; gap:2px}
  .case dd{margin-bottom:10px}
}

.team{background:var(--surface)}
.team-intro{font-size:1.15rem; color:var(--muted); max-width:62ch; margin:-12px 0 36px}
.people{display:grid; grid-template-columns:1fr 1fr; gap:32px}
.person{display:grid; grid-template-columns:160px 1fr; gap:20px; align-items:start}
.person img{border-radius:12px; box-shadow:8px 8px 0 var(--c)}
.person .role{font-weight:600; color:var(--muted); margin:4px 0 8px}
@media (max-width:820px){ .people{grid-template-columns:1fr} .person{grid-template-columns:110px 1fr} }

.eco{padding:40px 0}
.eco .box{border:2px solid var(--mint); border-radius:16px; padding:24px}
.eco h2{font-size:1.4rem; margin-bottom:10px}
.eco p{margin:0}

.contact{background:var(--coral); color:#141A4A}
.contact .btn-primary{background:#141A4A}
.contact a.btn-ghost{color:#141A4A}

footer{padding:28px 0; font-size:.95rem; color:var(--muted)}
footer .wrap{display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px}
footer nav{display:flex; flex-wrap:wrap; gap:16px}

/* Pages offres */
.o-hero{background:var(--oc); color:var(--ot)}
.o-hero .lede{font-size:1.2rem; margin-top:18px; max-width:54ch}
.o-hero .btn-primary{background:var(--ot); color:var(--oc)}
.crumbs{font-size:.95rem; margin-bottom:18px}
.when{list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.when li{border-top:3px solid var(--oc); padding-top:12px}
.when p{margin:6px 0 0; color:var(--muted)}
@media (max-width:820px){ .when{grid-template-columns:1fr} }
.chips{list-style:none; padding:0; margin:28px 0 0; display:flex; flex-wrap:wrap; gap:8px}
.chips li{border:2px solid var(--ink); border-radius:999px; padding:6px 14px; font-weight:600; font-size:.95rem}
.ref{border-left:5px solid var(--oc); padding-left:18px; font-weight:600; max-width:60ch}
.faq details{border-top:1px solid var(--line)}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer; padding:16px 0; font-weight:700; min-height:44px}
.faq details p{color:var(--muted)}

/* Mentions */
.legal h2{font-size:1.4rem; margin:32px 0 10px}
.legal p,.legal li{color:var(--muted)}

@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }
@media print{ .top,.reel,.skip{display:none} }
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
