@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');
.list-group-custom {
    display: flex ; flex-direction: column; padding-left: 0; margin-bottom: 0; border: none;
}
.list-group-custom .list-group-item {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}
.section-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #0d5f7d;
    padding-bottom: 5px;
    color: #0d5f7d;
}

.section-box-form {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9); /* Léger fond translucide */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; /* Empile le texte et le spinner */
    align-items: center; /* Centre horizontalement */
    justify-content: center; /* Centre verticalement */
    width: 200px; /* Ajustez selon vos besoins */
    height: 200px; /* Ajustez selon vos besoins */
}

.spinner {
    width: 80px; /* Taille augmentée */
    height: 80px; /* Taille augmentée */
    border: 6px solid transparent; /* Bordure plus épaisse */
    border-top: 6px solid #3498db; /* Couleur de la rotation */
    border-radius: 50%;
    animation: spin 1.5s linear infinite; /* Animation fluide */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#loader p {
    margin: 20px 0 0; /* Espacement entre le texte et le spinner */
    font-size: 16px; /* Taille du texte */
    color: #333; /* Couleur du texte */
}

.last-preview{
    max-height:150px;
    object-fit:cover
}
.carousel{
    padding: 48px 0;
    background-color: #cce0e8;
}
.carousel .swiper-slide a{
    display: block;
    max-width: 180px;
    margin: 0 auto;
}
.carousel .swiper-button-next, .carousel .swiper-button-prev{
    color: #0d5f7d;
}

:root {
    --wc-danger: #fe765e !important;      /* rouge principal */
    --wc-danger-100: #ffe6e0 !important;  /* rouge très clair */
    --wc-danger-200: #ffc8bb !important;  /* rouge clair */

    --wc-success: #37b24d !important;     /* vert principal */
    --wc-success-100: #eaf8f2 !important;  /* vert très clair */
    --wc-success-200: #cfe9da !important;  /* vert clair */

    --wc-radius: 1.25rem !important;
}

/* Cartes plans */
.plan-card {
    border: 0 !important;
    border-radius: var(--wc-radius) !important;
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.08) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    height: 100% !important;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%) !important;
}
.plan-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 50px rgba(16,24,40,.12) !important;
}

.plan-header {
    color: #fff !important;
    padding: 1.1rem 1.25rem 1rem !important;
    border-radius: 1.25rem 1.25rem 0 0;
}
.plan-header .badge-soft {
    display: inline-block !important;
    background: rgba(255,255,255,.18) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    color: #fff !important;
    padding: .25rem .6rem !important;
    border-radius: 999px !important;
    font-size: .875rem !important;
    font-weight: 600 !important;
    letter-spacing: .2px !important;
}

.plan-danger .plan-header {
    background: linear-gradient(135deg, var(--wc-danger) 0%, #d55340 100%) !important;
}
.plan-success .plan-header {
    background: linear-gradient(135deg, var(--wc-success) 0%, #2a8f46 100%) !important;
}

.plan-body {
    padding: .75rem 0 .5rem !important;
}

.plan-items .list-group-item {
    padding: .95rem 1.25rem !important;
    border: 0 !important;
    border-bottom: 1px solid var(--bs-border-color) !important;
    background: transparent !important;
}
.plan-items .list-group-item:last-child {
    border-bottom: 0 !important;
}

.item-title {
    font-weight: 500 !important;
}
.item-amount {
    font-feature-settings: "tnum" on, "lnum" on !important;
    font-variant-numeric: tabular-nums lining-nums !important;
}

.item-amount.negative {
    color: var(--wc-danger) !important;
}
.item-amount.positive {
    color: var(--wc-success) !important;
}

.plan-footer {
    padding: 1.25rem !important;
    background: linear-gradient(0deg, rgba(16,24,40,.02), rgba(16,24,40,0)) !important;
}

.btn-cta {
    display: block !important;
    width: 100% !important;
    padding: .9rem 1.25rem !important;
    border-radius: .9rem !important;
    font-weight: 700 !important;
    letter-spacing: .2px !important;
}
.btn-cta-danger {
    background: var(--wc-danger-100) !important;
    color: #8b1f2a !important;
    border: 1px solid var(--wc-danger-200) !important;
}
.btn-cta-danger:hover {
    background: #fbe0e4 !important;
}

.btn-cta-success {
    background: var(--wc-success-100) !important;
    color: #164c19 !important;
    border: 1px solid var(--wc-success-200) !important;
}
.btn-cta-success:hover {
    background: #e1f2e6 !important;
}

.divider-dot {
    position: relative !important;
    height: 1px !important;
    background: var(--bs-border-color) !important;
    margin: .25rem 1.25rem 0 !important;
}
.divider-dot::after {
    content: "" !important;
    position: absolute !important;
    inset: -3px auto auto 50% !important;
    transform: translateX(-50%) !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--bs-border-color) !important;
    border-radius: 999px !important;
    opacity: .8 !important;
}
div.card {
    max-width: 100% !important;
}
div.simulation .card-header {
    display: block !important;
}
.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}
.form-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0d5f7d;
}
.btn-primary {
    background: #fe765e;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
}
.btn-primary:hover {
    background: #e85c46;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.form-check-input:checked {
    background-color: #0061a8;
    border-color: #0061a8;
}
.option-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    height: 100%;
}
.option-card .form-check {
    padding: 0 !important;
}
.option-card:hover {
    border-color: #0061a8;
    transform: translateY(-3px);
}
.option-card.selected {
    border-color: rgb(6, 182, 212);
    background-color: rgba(6, 182, 212, 0.063);
    color: rgb(2, 132, 199);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.option-card .form-check-input {
    position: absolute;
    top: 15px;
    right: 15px;
}
.start-3 { left: .9rem; }
.accordion { --bs-accordion-active-bg: #dae3ea;}
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-item { border-radius: 1rem; overflow: hidden; border: 1px solid rgba(0,0,0,.05); margin-bottom: .5rem; }
.accordion#faqAccordion .accordion-item{border-radius:.5rem}
.accordion#faqAccordion .accordion-item .accordion-header{background-color: #dae3ea;}
.accordion#faqAccordion .accordion-item .accordion-header .accordion-button:not(.collapsed){color:#0e507b; font-size:1.2rem}

#faqSearch{color:#f3f3f3;border-color:#f3f3f3;}
#faqSearch::placeholder{color:#e5e5e5}

.simulation .card-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.simulation .card-option:hover {
    border-color: #116698;
    background-color: #f0f5ff;
    transform: translateY(-5px);
}

.simulation .card-option{ cursor:pointer; transition:.2s ease }

.simulation .card-option.selected {
    border:2px solid #116698;
    /** border-color: #116698; **/
    background-color: #f0f5ff;
    box-shadow: 0 0 20px rgba(58, 134, 255, 0.2);
}

.simulation .price-box {
    background: #116698;
    border-radius: 12px;
    color: white;
}

.simulation .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.2em;
}

.simulation .form-check-input:checked {
    background-color: #116698;
    border-color: #116698;
}
.baner .cart-list.mnew .card .list-group .list-group-item:nth-child(2) figure{height:100%;}
.baner .cart-list.mnew .card .list-group .list-group-item:first-child .para{font-size:28px;}

/* Modal container */
#noelModal .noel-modal{
    position: relative;
    border: 0;
    border-radius: 42px;
    background: #fccb75;
    padding: 28px 24px 22px;
    overflow: hidden;
}

/* Close button (X) */
#noelModal .noel-close{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
    border: 0;
    background: transparent;
    color: #cd6b57;
    font-size: 52px;
    line-height: 54px;
    cursor: pointer;
    opacity: .95;
}
#noelModal .noel-close:hover{ opacity: 1; transform: scale(1.02); }

/* Typography */
#noelModal .noel-title{
    color: #cd6b57;
    font-weight: 800 !important;;
    letter-spacing: .2px;
    font-size: clamp(28px, 3vw, 44px);
}
#noelModal .noel-text{
    color: #0e507b;
    font-weight: 800 !important;;
    font-size: clamp(18px, 2.1vw, 28px);
    line-height: 1.25;
}

/* Email input */
#noelModal .noel-form{ max-width: 520px; }

#noelModal .noel-input{
    background-color: #fccb75;
    border: 3px solid #0e507b;
    border-radius: 999px;
    padding: 18px 22px;
    font-weight: 800;
    font-size: 26px;
    text-align: center;
    box-shadow: none;
    color: #2b2f38;
}

/* Focus */
#noelModal .noel-input:focus{
    background-color: #fccb75;
    border-color: #fe765e;
    box-shadow: none;
    font-weight: 400;
    color: #2b2f38;
}

/* Placeholder */
#noelModal .noel-input::placeholder{
    color: #2b2f38;
    font-weight: 400;
}

#noelModal .noel-input:focus::placeholder{
    color: #2b2f38;
    font-weight: 400;
}

/* CTA button */
#noelModal .noel-cta{
    background: #0e507b;
    color: #fccb75;
    border-radius: 999px;
    padding: 18px 34px;
    font-weight: 900;
    font-size: clamp(22px, 2.3vw, 42px);
    border: 3px solid transparent;
    min-width: min(720px, 92%);
    transition:
        background-color 220ms ease,
        color 220ms ease,
        border-color 220ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

/* Hover */
#noelModal .noel-cta:hover{
    background-color: transparent;
    color: #0e507b;
    border-color: #0e507b;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(14, 80, 123, 0.25);
}

/* Active (clic) */
#noelModal .noel-cta:active{
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 10px rgba(14, 80, 123, 0.25);
}

/* Illustration */
#noelModal .noel-illustration img{
    max-height: 210px;
    width: auto;
}

/* Footer links */
#noelModal .noel-footer{
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
    margin-top: 10px;
}
#noelModal .noel-link{
    color: #1F3E58;
    text-decoration: underline;
    font-weight: 700;
}

/* =========================
   Responsive Mobile
   ========================= */
@media (max-width: 576px){

    #noelModal .noel-modal{
        border-radius: 26px;
        padding: 18px 14px 16px;
    }

    #noelModal .noel-close{
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 40px;
        line-height: 44px;
    }

    #noelModal .noel-title{
        font-size: 26px;
        margin-bottom: 12px !important;
        padding-right: 40px;
    }

    #noelModal .noel-text{
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 14px !important;
    }

    #noelModal .noel-form{
        max-width: 100%;
    }

    #noelModal .noel-input{
        font-size: 16px;
        padding: 12px 16px;
        border-width: 2px;
    }

    #noelModal .noel-cta{
        font-size: 20px;
        padding: 14px 18px;
        border-width: 2px;
        min-width: 100%;
        transform: none;
    }

    #noelModal .noel-cta:hover{
        transform: none;
        box-shadow: 0 8px 18px rgba(14, 80, 123, 0.18);
    }

    #noelModal .noel-illustration img{
        max-height: 150px;
    }

    #noelModal .noel-footer{
        gap: 10px;
        font-size: 12px;
    }

    #noelModal .noel-body{
        padding-top: 32px;
    }
}

@media (min-width: 992px){
    #noelModal .modal-dialog{
        max-width: 800px !important; /* Bootstrap modal-lg ≈ 800px */
    }
}
