/* =========================================================
   CAP CREDIT — Charte graphique site public
   Identité : courtier lyonnais depuis 2006 · navy & or
   Typo     : Sora (titres) · DM Sans (texte)
   Motif    : diagonale ascendante (le « A » du logo)
   ========================================================= */

:root {
    --navy:       #0B2B5B;
    --navy-2:     #10366F;
    --navy-deep:  #071C3D;
    --navy-soft:  #EEF2F9;
    --gold:       #C9A24A;
    --gold-2:     #B8892F;
    --gold-l:     #E3C77A;
    --gold-soft:  #FBF5E6;
    --ivory:      #F7F5F0;
    --sand:       #EFEBE2;
    --white:      #FFFFFF;
    --ink:        #14213A;
    --muted:      #5B6B85;
    --muted-2:    #8B97AC;
    --line:       #E4E7EE;
    --ok:         #1B8A5A;
    --ok-soft:    #E6F4EC;
    --err:        #C1272D;
    --err-soft:   #FDECEC;

    --font-display: 'Sora', system-ui, sans-serif;
    --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

    --container: 1200px;
    --radius:    18px;
    --radius-sm: 12px;
    --shadow:    0 10px 30px rgba(11, 43, 91, .08);
    --shadow-lg: 0 30px 70px rgba(7, 28, 61, .22);
    --ease:      cubic-bezier(.2, .7, .2, 1);
    --diag:      72px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
    color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.gold { color: var(--gold); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ BOUTONS ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold-l), var(--gold) 55%, var(--gold-2)); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(201, 162, 74, .35); }
.btn-gold:hover { box-shadow: 0 16px 34px rgba(201, 162, 74, .45); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(11, 43, 91, .25); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--muted); padding-left: 12px; padding-right: 12px; }
.btn-ghost:hover { color: var(--navy); transform: none; }
.btn-lg { padding: 18px 36px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none !important; }
.btn-loading .btn-spinner, .btn-spinner {
    width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11,43,91,.25); border-top-color: var(--navy);
    animation: spin .8s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ NAVIGATION ============ */
.cap-nav {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.cap-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11,43,91,.07); }
.cap-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.cap-brand { display: flex; align-items: center; gap: 12px; }
.cap-brand img { width: 52px; height: auto; }
.cap-brand-txt { display: flex; flex-direction: column; line-height: 1; }
.cap-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: .04em; color: var(--navy); }
.cap-brand-name span { color: var(--gold); }
.cap-brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.cap-menu { display: flex; align-items: center; gap: 30px; }
.cap-menu > a { font-weight: 500; font-size: .98rem; color: var(--ink); position: relative; padding: 6px 0; }
.cap-menu > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.cap-menu > a:hover::after, .cap-menu > a.is-active::after { transform: scaleX(1); }
.cap-menu .btn { margin-left: 6px; }
.cap-menu .cta-short { display: none; }
.cap-burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.cap-burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
#capNavToggle { display: none; }

/* ============ ORNEMENTS ============ */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.eyebrow-light { color: var(--gold-l); }
.bars { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; }
.bars i { display: block; width: 7px; background: var(--gold); border-radius: 2px 2px 0 0; }
.bars i:nth-child(1) { height: 35%; } .bars i:nth-child(2) { height: 65%; } .bars i:nth-child(3) { height: 100%; }
.section { padding: 104px 0; }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-navy .section-head p { color: rgba(255,255,255,.72); }
.diag-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%); }
.diag-top { clip-path: polygon(0 var(--diag), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--diag) * -1); padding-top: calc(var(--diag) + 90px); }

/* ============ HERO VIDÉO ============ */
.hero-video { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--white); overflow: hidden; padding: 70px 0 150px; }
.hero-video video, .hero-video .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(7,28,61,.94) 0%, rgba(7,28,61,.78) 38%, rgba(7,28,61,.35) 72%, rgba(7,28,61,.15) 100%);
}
.hero-video::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; background: linear-gradient(to top, rgba(7,28,61,.85), transparent); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.hero-copy h1 { color: var(--white); margin: 18px 0 24px; max-width: 12ch; }
.hero-copy h1 .gold { color: var(--gold-l); }
.hero-lead { font-size: 1.18rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-trust { display: flex; flex-wrap: wrap; row-gap: 16px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; }
.hero-trust div { display: flex; flex-direction: column; padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-trust div:last-child { border: 0; margin: 0; padding-right: 0; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-l); line-height: 1; }
.hero-trust span { font-size: .84rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.hero-card {
    justify-self: end; background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--radius);
    padding: 28px 30px; max-width: 380px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--gold-l), var(--gold-2)); }
.hero-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hero-card li:last-child { border: 0; }
.hero-card li svg { width: 20px; height: 20px; flex: none; color: var(--gold-2); margin-top: 2px; }
.hero-card li strong { color: var(--ink); }
.hero-card .btn { margin-top: 16px; width: 100%; }

/* ============ PARTENAIRES ============ */
.partners { padding: 40px 0 34px; background: var(--white); border-bottom: 1px solid var(--line); }
.partners-label { text-align: center; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.plogo img { height: 32px; width: auto; filter: grayscale(1) opacity(.55); transition: filter .3s; }
.plogo:hover img { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SPLIT (image + texte) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.split-media .float-tag {
    position: absolute; left: -26px; bottom: 34px; background: var(--navy); color: var(--white); border-radius: 14px;
    padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center;
}
.float-tag strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-l); line-height: 1; }
.float-tag span { font-size: .82rem; color: rgba(255,255,255,.75); line-height: 1.3; }
.split-body h2 { margin-bottom: 20px; }
.split-body > p { color: var(--muted); font-size: 1.08rem; }
.feature-list { margin: 30px 0 34px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .bars { flex: none; margin-top: 3px; }
.feature-list strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--navy); font-weight: 600; margin-bottom: 3px; }
.feature-list span { color: var(--muted); font-size: .98rem; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-media::before { inset: 22px 22px -22px -22px; }

/* ============ EXPERTISES (cartes photo) ============ */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.exp-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--navy); color: var(--white); display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.exp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,28,61,.95) 0%, rgba(7,28,61,.45) 48%, rgba(7,28,61,.05) 100%); }
.exp-card:hover img { transform: scale(1.06); }
.exp-body { position: relative; z-index: 1; padding: 26px 24px; }
.exp-body .bars { margin-bottom: 12px; }
.exp-body h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.exp-body p { color: rgba(255,255,255,.78); font-size: .93rem; margin: 0; }
.exp-body .tag { display: inline-block; margin-top: 14px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); font-weight: 700; }

/* ============ PILIERS (navy) ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.pillar { padding: 34px 30px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: background .3s, transform .3s var(--ease); }
.pillar:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.pillar-num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 22px; }
.pillar h3 { margin-bottom: 12px; font-size: 1.2rem; }
.pillar p { color: rgba(255,255,255,.72); font-size: .98rem; margin: 0; }

/* ============ CHIFFRES ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 30px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 26px; bottom: 0; width: 44px; height: 4px; background: var(--gold); border-radius: 4px 4px 0 0; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stat-label { color: var(--muted); font-size: .95rem; }

/* ============ TÉMOIGNAGES ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: var(--white); border-radius: var(--radius); padding: 34px 30px 28px; border: 1px solid var(--line); position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testi::before { content: "\201C"; position: absolute; top: 10px; right: 26px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--gold-soft); font-weight: 800; }
.testi .stars { color: var(--gold); letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.testi blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--ink); line-height: 1.6; flex: 1; position: relative; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--navy); }
.testi-author span { font-size: .84rem; color: var(--muted); }

/* ============ ÉQUIPE ============ */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.2; }
.team-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255,255,255,.94); border-radius: 14px; padding: 16px 20px; }
.team-card figcaption strong { display: block; font-family: var(--font-display); color: var(--navy); }
.team-card figcaption span { font-size: .88rem; color: var(--muted); }

/* ============ TIMELINE (société) ============ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(201,162,74,.15)); }
.tl-item { position: relative; padding-top: 34px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--gold); box-shadow: 0 0 0 4px var(--white); }
.tl-year { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.5rem; margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ============ DIRIGEANTS ============ */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.leader { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; gap: 18px; align-items: center; }
.leader-ini { width: 58px; height: 58px; border-radius: 16px; background: var(--navy); color: var(--gold-l); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; flex: none; font-size: 1.1rem; }
.leader strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1rem; }
.leader span { color: var(--muted); font-size: .88rem; }

/* ============ ÉTAPES ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); position: relative; }
.step-num { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-l), var(--gold-2)); color: var(--navy-deep); font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; margin-bottom: 20px; font-size: 1.1rem; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-weight: 700; flex: none; transition: transform .3s, background .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--navy-deep); }
.faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq-body p { margin: 0; }

/* ============ CTA FINAL ============ */
.cta-band { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); padding: 110px 0; }
.cta-band::before { content: ""; position: absolute; right: -10%; top: -30%; width: 55%; height: 160%; background: linear-gradient(135deg, var(--navy-2), var(--navy)); transform: skewX(-14deg); }
.cta-band::after { content: ""; position: absolute; right: 38%; top: 0; bottom: 0; width: 6px; background: var(--gold); transform: skewX(-14deg); opacity: .9; }
.cta-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-inner h2 { color: var(--white); margin-bottom: 18px; }
.cta-inner p { color: rgba(255,255,255,.78); font-size: 1.12rem; margin-bottom: 30px; }
.cta-inner .micro { font-size: .84rem; color: rgba(255,255,255,.55); margin: 18px 0 0; }
.cta-mark { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 280px; opacity: .14; z-index: 1; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 70px 0 34px; border-top: 4px solid var(--gold); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,.62); }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer li { margin-bottom: 10px; }
.footer li a { transition: color .2s; }
.footer li a:hover { color: var(--gold-l); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom { padding-top: 26px; font-size: .8rem; color: rgba(255,255,255,.48); line-height: 1.6; }
.footer-bottom p { margin: 0 0 6px; }

/* ============ SOUS-PAGES : EN-TÊTE ============ */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; }
.page-hero-copy { padding: 90px 0 110px; position: relative; z-index: 2; }
.page-hero-copy h1 { color: var(--white); margin: 14px 0 20px; max-width: 14ch; }
.page-hero-copy p { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 520px; }
.page-hero-media { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero-media img, .page-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,43,91,.55), rgba(11,43,91,0) 50%); }
.page-hero-compact { padding: 80px 0 90px; }
.page-hero-compact h1 { color: var(--white); margin: 14px 0 16px; }
.page-hero-compact p { color: rgba(255,255,255,.75); max-width: 640px; font-size: 1.1rem; margin: 0; }

/* ============ MENTIONS LÉGALES ============ */
.legal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 52px; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow); }
.legal-card h3 { margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-soft); font-size: 1.15rem; }
.legal-card h3:first-child { margin-top: 0; }
.legal-card p { color: var(--muted); }
.legal-card a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal-dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0; }
.legal-dl dt { color: var(--muted-2); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.legal-dl dd { margin: 0; color: var(--ink); font-weight: 500; }
.legal-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.legal-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-soft); color: var(--gold-2); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700; }
.legal-badge.navy { background: var(--navy-soft); color: var(--navy); }

/* ============ TUNNEL DE DEMANDE ============ */
.quiz-hero { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy) 100%); color: var(--white); padding: 56px 0 96px; position: relative; overflow: hidden; }
.quiz-hero::before { content: ""; position: absolute; left: -8%; bottom: -35%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(201,162,74,.22), transparent); pointer-events: none; }
.quiz-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: start; position: relative; z-index: 1; }
.quiz-aside { position: sticky; top: 108px; }
.quiz-aside h1 { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); margin: 14px 0 18px; }
.quiz-aside .lead { color: rgba(255,255,255,.78); font-size: 1.08rem; margin-bottom: 28px; max-width: 480px; }
.quiz-points { display: grid; gap: 14px; margin-bottom: 30px; }
.quiz-points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.86); }
.quiz-points svg { width: 22px; height: 22px; color: var(--gold-l); flex: none; margin-top: 2px; }
.quiz-points strong { color: var(--white); }
.quiz-advisor { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 18px; max-width: 480px; }
.quiz-advisor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold); }
.quiz-advisor strong { display: block; color: var(--white); font-family: var(--font-display); font-size: .98rem; }
.quiz-advisor span { font-size: .86rem; color: rgba(255,255,255,.7); }
.quiz-card { background: var(--white); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.quiz-head { padding: 26px 32px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.quiz-head h2 { font-size: 1.25rem; margin-bottom: 4px; }
.quiz-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.secure-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 999px; padding: 7px 12px; white-space: nowrap; }
.secure-tag svg { width: 14px; height: 14px; }
.quiz-body { padding: 26px 32px 30px; }
.progress { display: flex; gap: 6px; align-items: center; margin-bottom: 26px; position: relative; }
.progress-seg { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.progress-seg i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-l), var(--gold-2)); transition: width .4s var(--ease); }
.progress-seg.done i { width: 100%; }
.progress-label { font-size: .78rem; color: var(--muted-2); font-weight: 600; margin-left: 10px; white-space: nowrap; }
.quiz-step { display: none; animation: fadeUp .35s var(--ease); }
.quiz-step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quiz-question { font-size: 1.32rem; margin-bottom: 6px; }
.quiz-subtitle { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.quiz-question + .quiz-options { margin-top: 18px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px;
    cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s; min-height: 66px; background: var(--white);
}
.opt-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.opt-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.opt-icon svg { width: 21px; height: 21px; }
.opt-text { font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.3; }
.quiz-option input:checked + .opt-card { border-color: var(--navy); background: var(--navy); }
.quiz-option input:checked + .opt-card .opt-text { color: var(--white); }
.quiz-option input:checked + .opt-card .opt-icon { background: var(--gold); color: var(--navy-deep); }
.quiz-option input:focus-visible + .opt-card { outline: 3px solid var(--gold-l); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .84rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field input[type="password"] {
    padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); font-size: 1rem;
    transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,43,91,.1); }
.form-field.field-valid input { border-color: var(--ok); }
.form-field.field-invalid input { border-color: var(--err); background: #FFF8F8; }
.field-error { font-size: .8rem; color: var(--err); font-weight: 600; }
.consent .check-label { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); font-weight: 400; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.quiz-nav .btn { min-width: 150px; }
.form-reassurance { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--muted-2); margin: 16px 0 0; }
.form-reassurance svg { width: 14px; height: 14px; }

/* ============ DÉPÔT DE DOCUMENTS ============ */
.doc-hero { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); color: var(--white); padding: 64px 0 120px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 16px; font-size: .82rem; font-weight: 600; margin-bottom: 20px; }
.doc-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.doc-hero .highlight { color: var(--gold-l); }
.doc-hero p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.doc-page { padding: 0 0 90px; margin-top: -70px; }
.doc-form-card { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 40px; max-width: 880px; margin: 0 auto; }
.doc-alert { background: var(--err-soft); color: var(--err); border-left: 4px solid var(--err); padding: 14px 18px; border-radius: 10px; font-weight: 600; margin-bottom: 24px; }
.doc-section { padding: 6px 0 30px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.doc-section:last-of-type { border-bottom: 0; }
.doc-section-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.doc-section-head h2 { font-size: 1.3rem; margin-bottom: 4px; }
.doc-section-head p { color: var(--muted); font-size: .95rem; margin: 0; }
.doc-step { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--gold-l), var(--gold-2)); color: var(--navy-deep); font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; flex: none; }
.doc-group { margin-bottom: 26px; }
.doc-group-title { font-size: 1.02rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.doc-optional { font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: var(--gold-2); background: var(--gold-soft); border-radius: 999px; padding: 3px 10px; }
.doc-note { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.doc-uploads { display: grid; gap: 12px; }
.doc-uploads.grid-2 { grid-template-columns: 1fr 1fr; }
.file-drop, .fd-locked {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px dashed var(--line); border-radius: 14px;
    cursor: pointer; transition: border-color .2s, background .2s; position: relative; background: var(--ivory);
}
.file-drop:hover { border-color: var(--navy); background: var(--white); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.fd-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--white); color: var(--navy); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.fd-icon svg { width: 20px; height: 20px; }
.fd-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fd-text strong { font-size: .95rem; color: var(--navy); font-family: var(--font-display); font-weight: 600; }
.fd-hint { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--line); color: var(--white); display: grid; place-items: center; flex: none; transition: background .2s; }
.fd-badge svg { width: 14px; height: 14px; }
.file-drop.has-file { border-style: solid; border-color: var(--ok); background: var(--ok-soft); }
.file-drop.has-file .fd-badge { background: var(--ok); }
.file-drop.fd-error { border-color: var(--err); background: var(--err-soft); }
.file-drop.fd-error .fd-hint { color: var(--err); font-weight: 600; }
.fd-locked { cursor: default; border-style: solid; border-color: var(--navy-soft); background: var(--navy-soft); }
.fd-locked .fd-badge { background: var(--navy); }
.selfie-guide { display: flex; gap: 20px; align-items: center; background: var(--navy-soft); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.selfie-illu { width: 170px; flex: none; }
.selfie-illu-lg { width: 200px; }
.selfie-text p { margin-bottom: 8px; font-size: .95rem; }
.selfie-text ul { list-style: disc; padding-left: 18px; font-size: .88rem; color: var(--muted); }
.selfie-text li { margin-bottom: 3px; }
.doc-consent { margin: 26px 0 20px; }
.doc-success { text-align: center; padding: 50px 40px; }
.doc-success .success-icon { margin: 0 auto 20px; }

/* ============ PAGE SUCCÈS ============ */
.success-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.success-card { background: var(--white); border-radius: 26px; padding: 50px 44px; max-width: 560px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.success-mark { width: 84px; margin: 0 auto 22px; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; background: linear-gradient(135deg, var(--gold-l), var(--gold-2)); color: var(--navy-deep); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.error-card .success-icon { background: var(--err-soft); color: var(--err); }
.success-card h1 { font-size: 1.9rem; margin-bottom: 14px; }
.success-card p { color: var(--muted); }
.success-steps { text-align: left; margin: 26px 0; display: grid; gap: 10px; }
.success-steps li { display: flex; gap: 14px; align-items: center; background: var(--ivory); border-radius: 12px; padding: 12px 16px; font-size: .96rem; }
.ck { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold-l); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; flex: none; font-size: .85rem; }
.success-spam { background: var(--gold-soft); border-radius: 12px; padding: 14px 18px; color: var(--gold-2); font-size: .95rem; }
.success-card .btn { margin: 6px 4px; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .exp-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .section { padding: 80px 0; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card { justify-self: stretch; max-width: none; }
    .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; }
    .split.reverse .split-media { order: 0; }
    .pillars, .testi-grid, .steps, .leaders, .timeline { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .page-hero-in { grid-template-columns: 1fr; }
    .page-hero-media { position: relative; width: 100%; height: 300px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%); }
    .page-hero-copy { padding: 60px 0 70px; }
    .quiz-layout { grid-template-columns: 1fr; gap: 34px; }
    .quiz-aside { position: static; }
    .cap-menu { position: absolute; top: 84px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(11,43,91,.12); display: none; }
    .cap-menu > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .cap-menu .btn { margin: 14px 0 0; }
    #capNavToggle:checked ~ .cap-menu { display: flex; }
    .cap-burger { display: flex; }
    #capNavToggle:checked ~ .cap-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #capNavToggle:checked ~ .cap-burger span:nth-child(2) { opacity: 0; }
    #capNavToggle:checked ~ .cap-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 18px; }
    :root { --diag: 36px; }
    .hero-video { min-height: 0; padding: 56px 0 100px; }
    .hero-trust div { padding-right: 18px; margin-right: 18px; }
    .hero-trust strong { font-size: 1.2rem; }
    .exp-grid, .team, .stats { grid-template-columns: 1fr; }
    .exp-card { aspect-ratio: 4/3; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .legal-card { padding: 30px 22px; }
    .legal-dl { grid-template-columns: 1fr; gap: 2px 0; }
    .legal-dl dd { margin-bottom: 12px; }
    .quiz-head, .quiz-body { padding-left: 20px; padding-right: 20px; }
    .quiz-head { flex-direction: column; align-items: flex-start; }
    .quiz-options, .form-grid, .doc-uploads.grid-2 { grid-template-columns: 1fr; }
    .quiz-nav .btn { min-width: 0; flex: 1; }
    .doc-form-card { padding: 26px 18px; }
    .selfie-guide { flex-direction: column; }
    .cta-mark { display: none; }
    .split-media .float-tag { left: 10px; }
    .cap-brand-sub { display: none; }
}
