:root {
    --primary: #022c95;
    --primary-light: #25a5f1;
    --primary-dark: #022a91;
    --bg: rgba(30,91,215,.08);
    --hero-tint: rgb(250, 250, 250, 0.60); /* teinte bordeaux façon Constantin */
    --line: rgba(255,255,255,.15);
}


html {
    font-size: 14px;
    height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}
main {
}
body {
    margin-bottom: 60px;
    /*background-color: #808080 !important;*/
    background: var(--bg);
}
/* ----------------------------
   Utilities
   ---------------------------- */
.flex-h {
    display: flex !important;
    flex-direction: row !important;
}

.flex-v {
    display: flex !important;
    flex-direction: column !important;
}

/*
    -----------------------------------
    Effects
    -----------------------------------
*/
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fromLeft {
    0% {
        transform: translateX(-50vw);
    }

    100% {
        transform: translateX(0vw);
    }
}

@keyframes fromRight {
    0% {
        transform: translateX(50vw);
    }

    100% {
        transform: translateX(0vw);
    }
}

@keyframes fromTop {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(0vh);
    }
}

@keyframes fromBottom {
    0% {
        transform: translateY(100vh);
    }

    100% {
        transform: translateY(0vh);
    }
}

.fromRight {
    animation: fromRight 1s ease-in-out;
}

.fromLeft {
    animation: fromLeft 1s ease-in-out;
}

.fromTop {
    animation: fromTop 1s ease-in-out;
}

.fromBottom {
    animation: fromBottom 1s ease-in-out;
}

.fromRight-2 {
    animation: fromRight 2s ease-in-out;
}

.fromLeft-2 {
    animation: fromLeft 2s ease-in-out;
}

.fromTop-2 {
    animation: fromTop 2s ease-in-out;
}

.fromBottom-2 {
    animation: fromBottom 2s ease-in-out;
}

.fromRight-3 {
    animation: fromRight 3s ease-in-out;
}

.fromLeft-3 {
    animation: fromLeft 3s ease-in-out;
}

.fromTop-3 {
    animation: fromTop 3s ease-in-out;
}

.fromBottom-3 {
    animation: fromBottom 3s ease-in-out;
}

.fromRight-4 {
    animation: fromRight 4s ease-in-out;
}

.fromLeft-4 {
    animation: fromLeft 4s ease-in-out;
}

.fromTop-4 {
    animation: fromTop 4s ease-in-out;
}

.fromBottom-4 {
    animation: fromBottom 4s ease-in-out;
}

.fromRight-5 {
    animation: fromRight 5s ease-in-out;
}

.fromLeft-5 {
    animation: fromLeft 5s ease-in-out;
}

.fromTop-5 {
    animation: fromTop 5s ease-in-out;
}

.fromBottom-5 {
    animation: fromBottom 5s ease-in-out;
}
/* -------------------- Background-Color--------------------- */
.bc-primary-light{
    background-color:var(--primary-light);
}
.bc-primary-dark {
    background-color: var(--primary-dark);
}
.bc-primary {
    background-color: var(--primary);
}
/* -------------------- Background-Gradient--------------------- */
.bg-gradient-primary {
    background: linear-gradient(270deg, var(--primary), var(--primary-light), var(--primary-dark));
    background-size: 600% 600%;
    animation: gradient 12s ease infinite;
    color: white;
}
.bg-gradient-primary-light {
    background: linear-gradient(270deg, var(--primary-dark), var(--primary), var(--primary-light));
    background-size: 600% 600%;
    animation: gradient 12s ease infinite;
    color: white;
}
.bg-gradient-primary-dark {
    background: linear-gradient(270deg, var(--primary-dark), var(--primary-light), var(--primary));
    background-size: 600% 600%;
    animation: gradient 12s ease infinite;
    color: white;
}
/* -------------------- Header--------------------- */
.topbar {
    
}
/* -------------------- Footer -------------------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--primary-light);
    color: #fff;
}

.footer-main {
    padding: 40px 0;
    display: grid;
    gap: 24px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-col h4 {
    margin: 0 0 10px;
    font-weight: 800;
    font-size: 16px
}

.footer-col a {
    color: #fff;
    opacity: .85;
    display: block;
    padding: 2px 0;
    text-decoration: none;
}

    .footer-col a:hover {
        opacity: 1;
        text-decoration: underline;
        color:#fff;
    }

.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center
}

    .footer-brand img {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        box-shadow: var(--shadow-sm)
    }

.footer-note {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px
}

@media (max-width: 980px) {
    .footer-main {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr
    }
}

.footer-bottom {
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: #5a6a7d;
    padding: 14px 0;
}

.hero-compact {
    background: linear-gradient(120deg, rgba(30,91,215,.08), rgba(0,183,168,.08));
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 1rem;
    padding: 2.25rem 1.5rem;
    margin-top: .75rem
}

    .hero-compact .lead {
        max-width: 120ch;
    }
.lead {
    color: #fff;
    font-size:60px;
}
/* --- Pricing cards --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: 1rem
}

.pricing-card {
    position: relative;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 1rem;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column
}

    .pricing-card.highlight {
        box-shadow: 0 .8rem 1.5rem rgba(30,91,215,.12);
        border-color: rgba(30,91,215,.25)
    }

.pricing-card-header {
    padding: 1.25rem 1.25rem 0 1.25rem
}

.pricing-card-body {
    padding: 1rem 1.25rem 1.25rem 1.25rem
}

.badge-reco {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: #1e5bd7;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .75rem
}

.plan-name {
    margin: 0;
    font-weight: 700
}

.plan-subtitle {
    margin: .25rem 0 .75rem 0;
    color: #6c757d
}

.plan-price {
    font-size: 1.35rem;
    margin: 0 0 .5rem 0
}

    .plan-price .amount strong {
        font-size: 1.6rem
    }

.plan-cta {
    margin-top: auto
}

.plan-features {
    margin: 0;
    padding-left: 1.25rem
}

    .plan-features li {
        margin: .25rem 0
    }
/* grid spans */
.col-span-12 {
    grid-column: span 12
}

.col-span-6 {
    grid-column: span 6
}

.col-span-4 {
    grid-column: span 4
}

@media (max-width: 991.98px) {
    .col-span-6, .col-span-4 {
        grid-column: span 12
    }
}
/* --- Comparison table --- */
.table-compare thead th {
    white-space: nowrap
}

.table-compare .bi-check {
    font-size: 1.1rem
}

.table-compare .text-muted {
    font-size: .95rem
}
/* --- Legal accordion --- */
.legal-accordion .accordion-button {
    font-weight: 600
}

.legal-accordion .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #1e5bd7;
    color: #fff;
    font-size: .85rem;
    margin-right: .5rem
}
/* --- FAQ --- */
.faq .accordion-button {
    font-weight: 600
}
/* HERO */
.hero-section {
    position: relative;
    height: clamp(40vh, 85vh, 92vh);
    display: grid;
    place-items: center;
    color: #fff;
    opacity:80%;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .hero-section .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
        mix-blend-mode: multiply;
    }

.hero-emblem {
    height: 300px;
    opacity: .9;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}

/* Quick actions (icônes flottantes) */
.quick-actions {
    position: absolute;
    right: 18px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
}

.qa-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--primary-light);
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.45);
    color: #fff;
    backdrop-filter: blur(4px);
    transition: transform .2s ease, background .2s ease;
}

    .qa-btn:hover {
        transform: translateX(-2px) scale(1.03);
        background: rgba(0,0,0,.55);
    }

/* Sidebar droite */
.sidebar {
    position: absolute;
    top: 0;
    right: -380px;
    width: 320px;
    height: 100vh;
    background: #0c1b2e;
    color: #fff;
    z-index: 1040;
    box-shadow: -12px 0 30px rgba(0,0,0,.25);
    transition: right .45s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
}

    .sidebar.open {
        right: 0;
    }

    .sidebar a {
        color: #fff;
        text-decoration: none;
        opacity: .9;
    }

        .sidebar a:hover {
            opacity: 1;
            text-decoration: underline;
        }

.sidebar-close {
    align-self: flex-end;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
}

/* Entrées animées utilitaires (déjà dans ton CSS) */
@keyframes fromTop {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(0);
    }
}

.fromTop-2 {
    animation: fromTop 1.2s ease;
}

.fromTop-3 {
    animation: fromTop 1.6s ease;
}

.fromTop-4 {
    animation: fromTop 2s ease;
}

/* Boutons */
.btn-danger {
    box-shadow: 0 .6rem 1.2rem rgba(220,53,69,.25);
}

/* Responsif */
@media (max-width: 768px) {
    .quick-actions {
        right: 10px;
    }

    .hero-emblem {
        height: 56px;
    }
}