:root {
    --cpvs-navy: #061a3a;
    --cpvs-blue: #0759ae;
    --cpvs-blue-bright: #0e72cf;
    --cpvs-gold: #d6ae4a;
    --cpvs-red: #b51f36;
    --cpvs-ink: #12243b;
    --cpvs-muted: #617089;
    --cpvs-surface: #f5f7fb;
    --cpvs-line: rgba(11, 36, 69, .1);
    --cpvs-shadow: 0 24px 70px rgba(5, 24, 50, .11);
}

.vitrine-shell {
    color: var(--cpvs-ink);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif !important;
    background: var(--cpvs-surface);
}

.vitrine-shell .container {
    max-width: 1240px;
}

.vitrine-header {
    border-bottom: 1px solid rgba(8, 31, 63, .06);
    box-shadow: 0 8px 28px rgba(6, 26, 58, .06);
}

.vitrine-header .flag-stripe {
    height: 5px;
    background: linear-gradient(90deg, var(--cpvs-blue) 0 55%, var(--cpvs-red) 55% 72%, var(--cpvs-gold) 72%);
}

.brand-mark {
    border: 1px solid rgba(7, 89, 174, .1);
    box-shadow: 0 8px 25px rgba(7, 36, 75, .06);
}

.vitrine-nav a {
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.vitrine-nav a:not(.nav-login):hover,
.vitrine-nav a.is-active {
    background: #eef5fe;
    color: var(--cpvs-blue);
}

.vitrine-nav .nav-login {
    color: #fff;
    background: var(--cpvs-navy);
    padding-inline: 1.1rem;
}

.vitrine-nav .nav-login:hover {
    background: var(--cpvs-blue);
    transform: translateY(-1px);
}

.premium-hero {
    isolation: isolate;
    background: var(--cpvs-navy) !important;
}

.premium-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -28% 44%;
    height: 390px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(214, 174, 74, .28), transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.premium-hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 15, 36, .94) 0%, rgba(3, 18, 41, .84) 38%, rgba(3, 18, 41, .36) 73%, rgba(3, 18, 41, .62) 100%),
        linear-gradient(0deg, rgba(3, 15, 36, .75), transparent 45%);
}

.hero-stage {
    min-height: min(690px, calc(100vh - 112px));
    display: flex;
    align-items: center;
}

.premium-hero .hero-copy {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .45rem .9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #f6e7b6;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.hero-eyebrow::before {
    content: "";
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: var(--cpvs-gold);
    box-shadow: 0 0 0 5px rgba(214, 174, 74, .16);
}

.premium-hero .hero-heading {
    font-size: clamp(2.5rem, 4.4vw, 4.25rem);
    letter-spacing: -.055em;
    max-width: 700px;
}

.premium-hero .hero-subtitle {
    max-width: 650px;
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    font-weight: 500;
    color: rgba(255, 255, 255, .86);
}

.hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: .9rem;
    margin-top: 2.9rem;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.hero-action:hover {
    transform: translateY(-2px);
}

.hero-action-primary {
    color: var(--cpvs-navy);
    background: var(--cpvs-gold);
    box-shadow: 0 14px 34px rgba(214, 174, 74, .28);
}

.hero-action-primary:hover {
    background: #e7c56b;
}

.hero-action-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .08);
}

.slider-rail {
    bottom: 2rem;
}

.slider-rail .slider-indicator {
    height: .3rem;
    width: 2.25rem;
    border-radius: 999px;
}

.quick-stats {
    max-width: 1120px;
    margin-inline: auto !important;
    border: 1px solid rgba(10, 40, 77, .08);
    border-radius: 1.25rem !important;
    box-shadow: var(--cpvs-shadow) !important;
    overflow: hidden;
}

.quick-stats.stats-compact {
    max-width: 760px;
}

.stat-card {
    position: relative;
    padding: 1rem 1.3rem;
    text-align: left;
}

.stat-card + .stat-card {
    border-left: 1px solid var(--cpvs-line);
}

.stat-label {
    color: var(--cpvs-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stat-value {
    display: block;
    color: var(--cpvs-navy);
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.04em;
    margin-top: .25rem;
}

.stat-detail {
    color: var(--cpvs-blue);
    font-size: .82rem;
    margin-top: .15rem;
}

.section-intro {
    max-width: 690px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-kicker {
    display: block;
    margin-bottom: .65rem;
    color: var(--cpvs-gold);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-intro p {
    margin-top: .9rem;
    color: var(--cpvs-muted);
    line-height: 1.75;
}

#engagements {
    background: var(--cpvs-surface);
}

#engagements a.group {
    border: 1px solid rgba(9, 36, 72, .07);
    border-radius: 1.1rem;
    box-shadow: 0 10px 30px rgba(5, 23, 50, .045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#engagements a.group:hover {
    border-color: rgba(7, 89, 174, .18);
    box-shadow: 0 24px 52px rgba(5, 23, 50, .1);
    transform: translateY(-5px);
}

#engagements a.group > div:first-child {
    height: 5.3rem;
}

#engagements a.group > div:first-child i {
    font-size: 1.85rem;
}

#realisations,
#transparence,
#presse {
    background: #fff;
}

.premium-section-title {
    letter-spacing: -.04em;
    color: var(--cpvs-navy) !important;
}

.premium-filters {
    width: fit-content;
    margin-inline: auto;
    padding: .55rem;
    border: 1px solid var(--cpvs-line);
    border-radius: .9rem;
    background: var(--cpvs-surface);
}

.premium-filters select {
    min-height: 2.9rem;
    border-color: transparent;
    border-radius: .65rem;
    color: var(--cpvs-ink);
    background: #fff;
}

#realisations-list article {
    border: 1px solid var(--cpvs-line);
    box-shadow: 0 9px 32px rgba(5, 23, 50, .055);
}

.vitrine-footer {
    background: var(--cpvs-navy) !important;
    border-top: 4px solid var(--cpvs-gold);
}

.vitrine-footer h3 {
    color: #efd16f !important;
    letter-spacing: -.02em;
}

@media (min-width: 1024px) {
    .vitrine-header .container {
        max-width: 1360px;
    }

    .vitrine-nav-shell {
        min-height: 92px;
    }

    .vitrine-header .brand-mark {
        width: 4.5rem !important;
        height: 4.5rem !important;
    }

    .vitrine-header .brand-mark img {
        height: 3.4rem !important;
    }

    .vitrine-header h1 {
        overflow: visible;
        font-size: 1.18rem !important;
        letter-spacing: -.035em;
        white-space: nowrap;
    }

    .vitrine-header p {
        font-size: .76rem;
    }

    .vitrine-nav ul {
        flex-wrap: nowrap;
        gap: .25rem !important;
    }

    .vitrine-nav a {
        padding-inline: .65rem !important;
        font-size: .85rem;
        white-space: nowrap;
    }

    .vitrine-nav .nav-login {
        padding-inline: 1rem !important;
    }

    .premium-hero .hero-image {
        object-position: center 30%;
    }

    #engagements,
    #realisations,
    #carte,
    #temoignages,
    #transparence,
    #presse {
        padding-block: 5.75rem;
    }
}

@media (max-width: 767px) {
    .hero-stage {
        min-height: 550px;
        align-items: end;
        padding-bottom: 4.5rem;
    }

    .premium-hero::after {
        display: none;
    }

    .premium-hero-overlay {
        background: linear-gradient(0deg, rgba(3, 15, 36, .92), rgba(3, 15, 36, .28));
    }

    .hero-eyebrow {
        margin-bottom: 1rem;
    }

    .premium-hero .hero-heading {
        font-size: clamp(1.7rem, 7vw, 2.15rem);
        letter-spacing: -.04em;
    }

    .hero-actions {
        margin-top: 2rem;
        gap: .55rem;
    }

    .hero-action {
        padding: .72rem .9rem;
        font-size: .88rem;
    }

    .quick-stats {
        margin-inline: 1rem !important;
    }

    .stat-card {
        padding: .85rem .65rem;
    }

    .stat-card:nth-child(odd) {
        border-left: 0;
    }

    .stat-label {
        font-size: .66rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .vitrine-header #btn-open-menu {
        display: inline-flex !important;
    }

    .vitrine-header .vitrine-nav {
        display: none !important;
    }
}
