/* ==========================================================================
   Golden Digital — bleu nuit, bleu électrique & accent doré
   ========================================================================== */

:root {
  --navy: #041457;
  --navy-2: #0a2290;
  --electric: #1f4bff;
  --electric-2: #4a72ff;
  --gold: #ffb23f;
  --gold-2: #ffc76b;
  --gold-d: #e8890c;
  --light: #f3f5fb;
  --white: #ffffff;
  --ink: #0a1442;
  --muted: #56618a;
  --line: #e1e5f1;
  --on-navy-muted: #bcc5ec;
  --glass-line: rgba(255, 255, 255, .13);
  --r-xl: 32px;
  --r-lg: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--ink); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: 100px; }
.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; padding: .6rem 1rem; border-radius: 10px; background: var(--gold); color: var(--navy); }
.skip:focus { left: 12px; }

/* Mot mis en avant dans les titres */
.acc { color: var(--electric); }
.navy .acc { color: var(--gold); }

/* ---------- Zones bleu nuit ---------- */
.navy { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.navy .lead, .navy .stitle > p:not(.stitle__h) { color: var(--on-navy-muted); }
.shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.shape { position: absolute; border-radius: 999px; transform: rotate(40deg); animation: drift 18s ease-in-out infinite alternate; }
.shape--1 { width: clamp(260px, 30vw, 440px); height: 1700px; right: 6%; top: 18%; background: linear-gradient(180deg, rgba(31, 75, 255, .95), rgba(31, 75, 255, .15) 60%, transparent); }
.shape--2 { width: clamp(200px, 22vw, 320px); height: 1300px; right: -10%; top: 48%; background: linear-gradient(180deg, rgba(74, 114, 255, .7), transparent 70%); animation-delay: -6s; }
.shape--3 { width: clamp(300px, 36vw, 560px); aspect-ratio: 1; height: auto; right: 22%; top: 38%; border-radius: 50%; background: radial-gradient(circle, rgba(31, 75, 255, .55), transparent 68%); animation-delay: -12s; }
@keyframes drift { to { translate: -40px 60px; } }

.glass {
  border: 1px solid var(--glass-line); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* Photo teintée en bleu */
.duo { position: relative; overflow: hidden; background: #2d55ff; }
.duo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .92; }

/* ---------- Éléments communs ---------- */
.pill-label {
  display: inline-flex; align-items: center; gap: .55rem; padding: .42rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: .85rem; font-weight: 500;
}
.navy .pill-label { border-color: var(--glass-line); background: rgba(255, 255, 255, .06); color: #e3e8ff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 178, 63, .6); animation: ping 2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 178, 63, 0); } }
.lead { max-width: 36rem; color: var(--muted); font-size: clamp(1.02rem, 1.2vw, 1.12rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 50px; padding: 0 1.45rem; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: .95rem; white-space: nowrap; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease), box-shadow .3s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 28px -12px rgba(255, 178, 63, .9); }
.btn--gold:hover { background: var(--gold-2); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--outline:hover { border-color: var(--electric); color: var(--electric); }
.navy .btn--outline { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); color: #fff; }
.navy .btn--outline:hover { border-color: var(--gold); background: rgba(255, 178, 63, .08); color: #fff; }
.btn--sm { height: 42px; padding: 0 1.15rem; font-size: .9rem; }
.btn.is-loading { opacity: .65; pointer-events: none; }

/* Champ e-mail en pilule */
.capture { display: flex; align-items: center; max-width: 540px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 5px rgba(255, 255, 255, .12), 0 20px 40px -20px rgba(0, 0, 0, .45); }
.capture input { flex: 1; min-width: 0; height: 48px; padding: 0 1.3rem; border: 0; background: transparent; color: var(--ink); font-size: 1rem; outline: none; }
.capture input::placeholder { color: #8a93b4; }
.capture .btn { height: 48px; flex: none; }
.capture:focus-within { box-shadow: 0 0 0 5px rgba(255, 178, 63, .45), 0 20px 40px -20px rgba(0, 0, 0, .45); }

.stitle { max-width: 50rem; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); text-align: center; }
.stitle .pill-label { margin-bottom: 1.4rem; }
.stitle__h { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
p.stitle__h { font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.stitle > p:not(.stitle__h) { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section--flush { padding-top: 0; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: reveal .9s var(--ease) calc(var(--d, 0) * 110ms) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s; }
.header.is-scrolled { background: rgba(4, 20, 87, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--glass-line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 80px; }
.logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.logo__mark { width: 38px; height: 38px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg); }
.logo b { margin-left: .25em; font-weight: 700; color: var(--gold); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .5rem .95rem; border-radius: 999px; color: #dbe1ff; font-weight: 500; font-size: .95rem; transition: color .25s, background-color .25s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
.header__end { display: flex; align-items: center; gap: .7rem; }
.burger { display: none; }

@media (max-width: 1000px) {
  .header__cta { display: none; }
  .burger { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .06); cursor: pointer; }
  .burger span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header.menu-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: .3rem; padding: 100px var(--gutter) 40px;
    background: var(--navy); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { padding: .8rem 1.2rem; font-size: 1.5rem; font-weight: 600; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100svh; padding: 130px 0 90px; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1; }
.hero__photo img { object-position: 60% 30%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(4, 20, 87, .55) 35%, rgba(4, 20, 87, .1) 70%), linear-gradient(0deg, var(--navy) 0%, transparent 40%), linear-gradient(180deg, rgba(4, 20, 87, .6), transparent 25%); }
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 220px); }
.hero__content { max-width: 40rem; }
.hero h1 { margin: 1.5rem 0 1.3rem; font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.hero .lead { margin-bottom: 2.2rem; color: #d3daf7; }
.hero__note { margin-top: 1rem; color: var(--on-navy-muted); font-size: .88rem; }
.hero__note a { border-bottom: 1px solid currentColor; color: #fff; }
.hero__badge { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 1rem; padding: .85rem 1.3rem .85rem .9rem; border-radius: 18px; font-size: .92rem; color: #dfe5ff; transition: border-color .3s; }
.hero__badge:hover { border-color: rgba(255, 178, 63, .5); }
.hero__badge b { color: #fff; }
.avatars { display: flex; }
.avatars i { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--navy); background: var(--gold); color: var(--navy); }
.avatars i:first-child { margin-left: 0; }
.avatars .ic { width: 16px; height: 16px; }

/* ---------- Présentation + chiffres ---------- */
.intro { padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.intro .stitle { max-width: 56rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; text-align: center; }
.stat__ic { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 1.3rem; border-radius: 50%; background: rgba(255, 178, 63, .14); color: var(--gold); }
.stat__ic .ic { width: 20px; height: 20px; }
.stat__n { display: block; font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.stat__n small { margin-left: .06em; font-size: .42em; letter-spacing: 0; }
.stat__l { display: block; margin-top: .9rem; color: var(--on-navy-muted); font-size: .95rem; }

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.work { position: relative; display: flex; flex-direction: column; min-height: 270px; padding: 1.8rem; transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
.work:hover { transform: translateY(-6px); border-color: rgba(255, 178, 63, .45); }
.work__head { display: flex; align-items: center; gap: .7rem; padding-right: 2.5rem; font-weight: 600; }
.work__logo { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); }
.work__logo .ic { width: 18px; height: 18px; }
.work__big { margin-top: 2.4rem; font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; }
.work__text { margin-top: .4rem; color: var(--on-navy-muted); font-size: .9rem; line-height: 1.5; }
.work__go { position: absolute; top: 1.6rem; right: 1.6rem; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--glass-line); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.work__go .ic { width: 16px; height: 16px; }
.work:hover .work__go { transform: rotate(45deg); background: var(--gold); color: var(--navy); border-color: var(--gold); }
.notice { display: flex; align-items: flex-start; gap: 1.1rem; margin-top: 2rem; padding: 1.4rem 1.8rem; border-radius: var(--r-lg); color: #dbe1ff; font-size: .95rem; }
.notice .ic { width: 26px; height: 26px; color: var(--gold); }

/* ---------- Cartes d'expertise ---------- */
.xcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.xcard { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.2rem); transition: border-color .3s, transform .5s var(--ease); }
.xcard:hover { border-color: rgba(255, 255, 255, .25); transform: translateY(-4px); }
.xcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.xcard h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.xcard__badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--gold); }
.xcard__badge .ic { width: 20px; height: 20px; }
.xcard > p { margin: .8rem 0 1.5rem; color: var(--on-navy-muted); font-size: .95rem; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: .95rem 0; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.strip > div { min-width: 0; padding: 0 1.1rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.strip > div:first-child { border-left: 0; }
.strip small { display: block; margin-bottom: .2rem; color: var(--on-navy-muted); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.strip b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.strip > div:nth-child(2) b { color: var(--gold); }
.xcard__foot { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 1.5rem; }
.xcard--cta { justify-content: center; gap: 1rem; border-color: rgba(255, 178, 63, .35); background: linear-gradient(160deg, rgba(255, 178, 63, .14), rgba(255, 255, 255, .03)); }
.xcard--cta > p { margin: 0 0 .5rem; }

/* ---------- Parcours ---------- */
.journey-wrap { padding: clamp(80px, 10vw, 130px) 0; }
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.journey__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); }
.chip-float {
  position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; padding: .6rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(4, 20, 87, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); animation: bob 6s ease-in-out var(--t, 0s) infinite;
}
@keyframes bob { 50% { transform: translateY(-10px); } }
.steps { display: grid; gap: .3rem; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; width: 100%; padding: 1rem; border: 0; border-radius: 18px; background: transparent; color: #fff; text-align: left; cursor: pointer; opacity: .45; transition: opacity .4s, background-color .4s; }
.step:hover { opacity: .8; }
.step.is-active { opacity: 1; background: rgba(255, 255, 255, .06); }
.step__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 178, 63, .14); color: var(--gold); }
.step__ic .ic { width: 20px; height: 20px; }
.step__body strong { display: block; font-size: 1.15rem; font-weight: 600; }
.step__body > span { display: block; margin-top: .25rem; color: var(--on-navy-muted); font-size: .93rem; line-height: 1.55; }
.step__bar { display: block; height: 2px; margin-top: .9rem; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; visibility: hidden; }
.step__bar i { display: block; width: 0; height: 100%; background: var(--gold); }
.step.is-active .step__bar { visibility: visible; }
.steps.is-playing .step.is-active .step__bar i { animation: fill 4.5s linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------- Zones claires ---------- */
.light { position: relative; isolation: isolate; overflow: hidden; background: var(--light); }
.light::before, .light::after { content: ""; position: absolute; z-index: -1; border-radius: 999px; background: linear-gradient(180deg, #e3e8f6, rgba(227, 232, 246, 0)); transform: rotate(40deg); pointer-events: none; }
.light::before { width: 380px; height: 1400px; right: 4%; top: -10%; }
.light::after { width: 300px; height: 1200px; left: -12%; bottom: -30%; }

.features { display: grid; gap: clamp(80px, 10vw, 140px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media > img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 40px 80px -40px rgba(4, 20, 87, .45); }
.chips-over { position: absolute; left: 6%; right: 6%; bottom: 6%; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chip-dark { display: inline-flex; align-items: center; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(4, 20, 87, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: .86rem; font-weight: 600; }
.media-badge { position: absolute; left: 50%; bottom: 7%; display: inline-flex; align-items: center; gap: .8rem; padding: .55rem 1.3rem .55rem .55rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(4, 20, 87, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.media-badge span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.icon3d { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 32% 28%, #ffe0a6, var(--gold) 45%, var(--gold-d)); box-shadow: 0 14px 26px -10px rgba(232, 137, 12, .7), inset 0 -5px 10px rgba(0, 0, 0, .12), inset 0 4px 8px rgba(255, 255, 255, .45); }
.icon3d .ic { width: 26px; height: 26px; stroke-width: 2.2; }
.feature h2 { margin: 1.4rem 0 1rem; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.15; letter-spacing: -.03em; }
.feature__text { margin-bottom: 1.2rem; color: var(--muted); font-size: 1.04rem; }
.blist { display: grid; gap: .55rem; margin-bottom: 2rem; }
.blist li { display: flex; gap: .85rem; color: var(--ink); font-weight: 500; }
.blist li::before { content: ""; flex: none; width: 16px; height: 5px; margin-top: .65em; border-radius: 4px; background: linear-gradient(90deg, var(--gold-2), var(--gold-d)); transform: rotate(-38deg); }

/* Technologies */
.tech { padding: 0 0 clamp(70px, 9vw, 110px); }
.tech__label { margin-bottom: 1.4rem; text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: .8rem; width: max-content; padding-right: .8rem; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tech__chip { padding: .65rem 1.3rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.25rem; font-weight: 400; transition: transform .4s var(--ease), background-color .3s; }
.faq summary:hover::after { background: var(--gold); border-color: var(--gold); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.faq details p { max-width: 44rem; padding: 0 0 1.4rem; color: var(--muted); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Cartes blanches */
.card { display: block; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 60px -45px rgba(4, 20, 87, .35); }

/* ---------- Pages intérieures ---------- */
.phero { padding: 150px 0 clamp(70px, 9vw, 110px); }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.phero h1 { margin: 1.5rem 0 1.2rem; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.035em; }
.phero .actions { margin-top: 2rem; }
.phero__media { aspect-ratio: 5 / 4; border-radius: var(--r-xl); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.crumbs { flex-wrap: wrap; gap: .45rem; }
.crumbs a { color: var(--on-navy-muted); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.phero__media-wrap { position: relative; padding-bottom: 2.5rem; }
.strip--float { position: absolute; left: 6%; right: 6%; bottom: 0; border-radius: 20px; background: rgba(10, 34, 144, .6); }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.offer { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.2rem); }
.offer h3 { margin-top: .6rem; font-size: 1.5rem; }
.offer p { color: var(--on-navy-muted); }
.offer ul { display: grid; gap: .55rem; margin: .4rem 0 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--glass-line); }
.offer li { display: flex; gap: .6rem; font-weight: 500; font-size: .95rem; }
.offer li .ic { width: 18px; height: 18px; margin-top: .2rem; color: var(--gold); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer--hl { border-color: rgba(255, 178, 63, .45); background: linear-gradient(160deg, rgba(255, 178, 63, .15), rgba(255, 255, 255, .04)); }

.duo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.duo-cards h2 { margin: 1.3rem 0 .8rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.duo-cards p { color: var(--muted); font-size: 1.04rem; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fcard { padding: clamp(1.5rem, 3vw, 2rem); transition: border-color .3s, transform .5s var(--ease); }
.fcard:hover { border-color: rgba(255, 255, 255, .25); transform: translateY(-4px); }
.fcard__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .9rem; }
.fcard h3 { margin: 1.3rem 0 .5rem; font-size: 1.2rem; }
.fcard p { color: var(--on-navy-muted); font-size: .95rem; }
.blocks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; padding: 1.4rem 1.8rem; border-radius: var(--r-lg); border: 1px solid var(--glass-line); }
.blocks__label { color: var(--on-navy-muted); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.blocks__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-glass { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .06); font-size: .88rem; font-weight: 500; }
.next { display: grid; grid-template-columns: 220px 1fr auto; gap: 2rem; align-items: center; padding: 1rem 2rem 1rem 1rem; transition: transform .5s var(--ease), border-color .3s; }
.next:hover { transform: translateY(-4px); border-color: var(--electric); }
.next__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.next small { color: var(--electric); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.next strong { display: block; margin: .3rem 0; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; }
.next__body > span { color: var(--muted); }
.next__go { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); transition: transform .5s var(--ease); }
.next:hover .next__go { transform: translateX(6px); }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.contact__info { display: grid; gap: 1rem; }
.info { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.4rem; transition: border-color .3s; }
a.info:hover { border-color: var(--electric); }
.info .icon3d { width: 50px; height: 50px; }
.info .icon3d .ic { width: 22px; height: 22px; }
.info small { display: block; color: var(--muted); font-size: .82rem; }
.info strong { font-weight: 600; word-break: break-word; }
.how h3 { margin-bottom: 1.2rem; font-size: 1.2rem; }
.how ol { display: grid; gap: 1rem; }
.how li { display: flex; gap: 1rem; }
.how li > span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: .88rem; }
.how strong { font-weight: 600; }
.how p { color: var(--muted); font-size: .92rem; }
.form { padding: clamp(1.5rem, 4vw, 2.8rem); }
.form h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.form__sub { margin: .5rem 0 1.8rem; color: var(--muted); font-size: .92rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; }
.req { color: var(--gold-d); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--light);
  font-size: 1rem; outline: none; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--electric); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 75, 255, .14); }
.field textarea { min-height: 160px; resize: vertical; }
.field textarea::placeholder { color: #8a93b4; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.8rem; cursor: pointer;
  background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4bff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 18px;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; }
.field__err { color: #c2302a; font-size: .84rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.8rem; }
.form__foot small { max-width: 22rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1.6rem; padding: 1rem 1.2rem; border-radius: 14px; font-size: .95rem; }
.alert .ic { margin-top: .15rem; }
.alert--ok { border: 1px solid #b6e6d2; background: #e9f8f1; color: #07563b; }
.alert--err { border: 1px solid #f3c4c0; background: #fdf0ef; color: #9b241e; }

/* 404 */
.notfound { display: flex; align-items: center; min-height: 100svh; padding: 140px 0 100px; }
.notfound__code { margin: 1rem 0; font-size: clamp(7rem, 22vw, 15rem); font-weight: 700; line-height: .9; letter-spacing: -.06em; }
.notfound h1 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.notfound .lead { margin-bottom: 2rem; }

/* ---------- Pied de page ---------- */
.footer { padding-top: clamp(60px, 8vw, 100px); }
.footer__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.6rem, 4vw, 2.6rem); }
.footer__cta h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.footer__cta p { margin-top: .5rem; color: var(--on-navy-muted); }
.footer__cta .capture { justify-self: end; width: 100%; }
.footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1fr; gap: 2.5rem 2rem; padding: clamp(50px, 7vw, 80px) 0; }
.footer__brand p { max-width: 24rem; margin: 1.2rem 0; color: var(--on-navy-muted); font-size: .94rem; }
.footer__mail { display: inline-flex; align-items: center; gap: .6rem; padding-bottom: .2rem; border-bottom: 1px solid rgba(255, 255, 255, .35); font-weight: 500; }
.footer h4 { margin-bottom: 1.1rem; color: var(--on-navy-muted); font-size: .9rem; font-weight: 500; }
.footer ul { display: grid; gap: .6rem; }
.footer ul a { font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--glass-line); color: var(--on-navy-muted); font-size: .86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero__photo { width: 100%; opacity: .55; }
  .hero__photo::after { background: linear-gradient(0deg, var(--navy) 10%, rgba(4, 20, 87, .5)); }
  .hero__inner { min-height: auto; }
  .hero__badge { position: static; align-self: flex-start; margin-top: 2.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .xcards, .journey, .feature, .phero__grid, .offers, .duo-cards, .contact, .footer__cta { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .journey__photo { aspect-ratio: 16 / 11; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .footer__cta .capture { justify-self: stretch; }
}
@media (max-width: 640px) {
  .works, .fgrid, .form__grid, .footer__main { grid-template-columns: 1fr; }
  .work { min-height: 210px; }
  .strip { grid-template-columns: 1fr; gap: .7rem; }
  .strip > div { border-left: 0; }
  .strip--float { position: static; margin-top: 1rem; }
  .phero__media-wrap { padding-bottom: 0; }
  .capture { flex-wrap: wrap; border-radius: 24px; }
  .capture input { flex-basis: 100%; }
  .capture .btn { width: 100%; }
  .next { grid-template-columns: 1fr; padding: 1rem; }
  .next__go { display: none; }
  .chip-float { font-size: .78rem; padding: .45rem .8rem; }
  .media-badge { font-size: .85rem; }
}

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