﻿/* ==========================================================================
   PATCH — CTA TOUJOURS VISIBLE + ESPACEMENTS RÉDUITS
   À coller à la toute fin de page_tarifs.css (après tout le reste)
   pour gagner la guerre de spécificité sur les règles existantes.
   ========================================================================== */

/* ------------------------------------------------------------------------
   1. STRUCTURE DE LA CARTE : le bouton reste ancré en bas, la liste de
      fonctionnalités défile à l'intérieur si elle est trop longue.
   ------------------------------------------------------------------------ */
.capps-pricing-grid {
    align-items: stretch !important;
}

.capps-pricing-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    max-height: 640px !important;
}

.capps-pricing-body,
.capps-pricing-body2 {
    flex: 1 1 auto !important;
    min-height: 0 !important; /* obligatoire pour que overflow fonctionne dans un flex */
    overflow-y: auto !important;
    padding: 1.75rem 1.75rem 0.5rem !important; /* réduit vs 3rem 2.5rem d'origine */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

    .capps-pricing-body::-webkit-scrollbar,
    .capps-pricing-body2::-webkit-scrollbar {
        width: 5px;
    }

    .capps-pricing-body::-webkit-scrollbar-thumb,
    .capps-pricing-body2::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

/* 2. LE BOUTON RESTE COLLÉ EN BAS, TOUJOURS VISIBLE */
.capps-pricing-footer {
    flex: 0 0 auto !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 5 !important;
    background: #ffffff !important;
    padding: 1rem 1.75rem 1.5rem !important; /* réduit vs 2.5rem 3rem d'origine */
    margin-top: 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -8px 16px -12px rgba(15, 23, 42, 0.12) !important; /* légère ombre pour détacher le bouton du contenu qui défile */
    border-radius: 16px;
}

/* La carte populaire garde son fond dégradé sur le footer aussi */
.capps-pricing-popular .capps-pricing-footer {
    background: #faf5ff !important;
}

/* ------------------------------------------------------------------------
   2. RÉDUCTION DES ESPACEMENTS ENTRE ÉLÉMENTS
   ------------------------------------------------------------------------ */

/* En-tête de carte (titre, prix, sous-titre) plus compact */
.capps-pricing-header {
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
}

    .capps-pricing-header h3 {
        margin-bottom: 6px !important;
    }

.capps-price {
    margin-bottom: 2px !important;
}

.capps-price-subtitle {
    margin-top: 6px !important;
    padding: 3px 10px !important;
}

.capps-plan-desc {
    margin-top: 6px !important;
}

/* Liste de fonctionnalités : gap et marges réduits */
.capps-feature-list {
    gap: 6px !important;
    margin: 10px 0 12px 0 !important;
}

    .capps-feature-list li {
        padding: 7px 10px !important;
        margin-bottom: 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }

        .capps-feature-list li i {
            font-size: 1rem !important;
        }

/* Version Starter (2 colonnes) : encore plus compacte */
.capps-pricing-card--starter-wide .capps-feature-list {
    row-gap: 4px !important;
    column-gap: 10px !important;
}

    .capps-pricing-card--starter-wide .capps-feature-list li {
        font-size: 12px !important;
        padding: 6px 8px !important;
    }

/* Bannières "Pack Starter inclus" / "Pack Transformation inclus" : marges réduites */
.capps-feature-list li.pack-starter-hero-badge,
.capps-feature-list li.capps-pack-banner {
    padding: 12px 90px 12px 14px !important;
    margin: 8px 0 10px 0 !important;
}

    .capps-feature-list li.pack-starter-hero-badge .starter-badge-icon,
    .capps-pack-banner__icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.3rem !important;
        border-radius: 12px !important;
    }

    .capps-feature-list li.pack-starter-hero-badge .starter-badge-title,
    .capps-pack-banner__title {
        font-size: 0.95rem !important;
    }

    .capps-feature-list li.pack-starter-hero-badge .starter-badge-subtitle,
    .capps-pack-banner__subtitle {
        font-size: 0.7rem !important;
    }

/* Boutons CTA plus compacts pour laisser plus de place au contenu défilant */
.capps-pricing-footer .btn,
.capps-pricing-card .btn {
    min-height: 44px !important;
    padding: 0.6rem 1.25rem !important;
}

/* ------------------------------------------------------------------------
   3. RESPONSIVE : sur mobile, la carte peut être un peu plus haute,
      le scroll interne + bouton sticky restent identiques.
   ------------------------------------------------------------------------ */
@media (max-width: 767px) {
    .capps-pricing-card {
        max-height: 560px !important;
    }

    .capps-pricing-body,
    .capps-pricing-body2 {
        padding: 1.25rem 1.25rem 0.5rem !important;
    }

    .capps-pricing-footer {
        padding: 0.85rem 1.25rem 1.25rem !important;
    }
}


.capps-hyper-wrapper {
    /*position:relative !important;*/
}


/****/

/* ==========================================================================
   PATCH CSS — BANDEAU DE TRANSPARENCE ULTRA-COMPACT ET DESIGN
   ========================================================================== */

.capps-pricing-top-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    margin-bottom: 35px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04) !important;
    text-align: center !important;
}

/* Badge supérieur compact */
.capps-transparency-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border: 1px solid #c7d2fe !important;
    padding: 5px 14px !important;
    border-radius: 9999px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.capps-transparency-badge i {
    font-size: 1rem !important;
    color: #4f46e5 !important;
}

/* Titre resserré */
.capps-transparency-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    line-height: 1.2 !important;
}

/* Grille ultra-compacte sur une seule ligne (ou flex wrap serré) */
.capps-guarantees-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

/* Pastilles (Pills) affinées et dynamiques */
.capps-guarantee-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 6px 12px !important;
    border-radius: 30px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.capps-guarantee-pill i {
    color: #10b981 !important;
    font-size: 0.95rem !important;
    background: #ecfdf5 !important;
    padding: 2px !important;
    border-radius: 50% !important;
}

/* Effet au survol des pastilles */
.capps-guarantee-pill:hover {
    background: #eef2ff !important;
    border-color: #818cf8 !important;
    color: #4f46e5 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.1) !important;
}

/* Responsive mobile : garde un aspect compact et propre */
@media (max-width: 768px) {
    .capps-pricing-top-banner {
        padding: 18px 12px !important;
        margin-bottom: 25px !important;
    }
    
    .capps-transparency-title {
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }
    
    .capps-guarantees-grid {
        gap: 6px !important;
    }
    
    .capps-guarantee-pill {
        font-size: 0.75rem !important;
        padding: 5px 10px !important;
    }
}

/****/

/* ==========================================================================
   DESIGN EXTRA - PANIER FLOTTANT FIXE HAUT DROITE
   ========================================================================== */
.capps-floating-cart {
    position: fixed;
    top: 95px; /* Juste sous ta barre de navigation fixe */
    right: 25px;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    z-index: 1050;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.capps-cart-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.capps-cart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

    .capps-cart-title i {
        font-size: 1.2rem;
        color: #818cf8;
    }

.capps-cart-count {
    background: #4f46e5;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
}

.capps-cart-body {
    padding: 16px;
    max-height: 250px;
    overflow-y: auto;
}

.capps-cart-empty {
    text-align: center;
    color: #64748b;
    padding: 15px 0;
}

    .capps-cart-empty i {
        font-size: 2.5rem;
        color: #cbd5e1;
        margin-bottom: 8px;
    }

    .capps-cart-empty p {
        font-weight: 600;
        color: #334155;
        margin-bottom: 4px;
        font-size: 0.9rem;
    }

    .capps-cart-empty span {
        font-size: 0.75rem;
        color: #94a3b8;
    }

/* Élément de panier rempli */
.capps-cart-item {
    display: block;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    animation: fadeInCart 0.3s ease;
}

.capps-cart-item-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.capps-cart-item-info span {
    font-size: 0.75rem;
    color: #64748b;
}

.capps-cart-item-price {
    font-weight: 800;
    color: #4f46e5;
    font-size: 0.9rem;
}

.capps-cart-footer {
    padding: 14px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.capps-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #334155;
}

    .capps-cart-total-row strong {
        color: #0f172a;
        font-size: 1.1rem;
    }

.capps-cart-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

    .capps-cart-checkout-btn:hover {
        background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(79, 70, 229, 0.35);
    }

@keyframes fadeInCart {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive mobile : repositionne discrètement ou adapte */
@media (max-width: 991px) {
    .capps-floating-cart {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
        width: auto;
        max-width: 400px;
        margin: 0 auto;
    }
}

/****/

/* Style du conteneur des sous-titres de prix */
.capps-price-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
}

/* Style de la partie prix mensuel par utilisateur */
.capps-price-monthly-rate {
    font-weight: 700;
    color: #4f46e5; /* Couleur principale accentuée (Indigo) */
    background: rgba(79, 70, 229, 0.08); /* Léger fond coloré subtil */
    padding: 3px 8px;
    border-radius: 6px;
}

/* Style du séparateur (le point médian) */
.capps-sub-divider {
    color: #cbd5e1;
    font-weight: bold;
}

/* Style de la partie nombre d'utilisateurs */
.capps-sub-highlight {
    color: #64748b;
    font-weight: 500;
}

/*****/

.capps-floating-cart {
    position: fixed;
    top: 95px;
    right: 25px;
    width: 350px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    z-index: 1050;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.capps-cart-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.capps-cart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

    .capps-cart-title i {
        font-size: 1.2rem;
        color: #818cf8;
    }

.capps-cart-count {
    background: #4f46e5;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
}

.capps-cart-body {
    padding: 16px;
    max-height: 320px;
    overflow-y: auto;
}

.capps-cart-empty {
    text-align: center;
    color: #64748b;
    padding: 15px 0;
}

    .capps-cart-empty i {
        font-size: 2.5rem;
        color: #cbd5e1;
        margin-bottom: 8px;
    }

    .capps-cart-empty p {
        font-weight: 600;
        color: #334155;
        margin-bottom: 4px;
        font-size: 0.9rem;
    }

    .capps-cart-empty span {
        font-size: 0.75rem;
        color: #94a3b8;
    }

.capps-cart-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.capps-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.capps-cart-item-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.capps-cart-item-info span {
    font-size: 0.75rem;
    color: #64748b;
}
/* Slider Utilisateurs */
.capps-cart-slider-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 8px;
}

.capps-slider-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

    .capps-slider-label-row span:last-child {
        color: #4f46e5;
        font-weight: 700;
    }

.capps-users-range {
    width: 100%;
    accent-color: #4f46e5;
    cursor: pointer;
}

.capps-cart-footer {
    padding: 14px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.capps-cart-totals-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #475569;
}

.capps-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .capps-cart-total-row.ttc-row {
        border-top: 1px dashed #cbd5e1;
        padding-top: 6px;
        margin-top: 4px;
        font-weight: 700;
        color: #0f172a;
        font-size: 1rem;
    }

        .capps-cart-total-row.ttc-row strong {
            color: #4f46e5;
            font-size: 1.15rem;
        }

.capps-cart-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

    .capps-cart-checkout-btn:hover {
        background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(79, 70, 229, 0.35);
    }

.capps-price-monthly-rate {
    font-weight: 700;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}

@media (max-width: 991px) {
    .capps-floating-cart {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
        width: auto;
        max-width: 400px;
        margin: 0 auto;
    }
}

/****/

/* ===== CAPPS ULTRA-PREMIUM FLOATING CART CSS ===== */

.capps-floating-cart {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 340px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 1px 1px rgba(0, 0, 0, 0.04);
    z-index: 1050;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    font-family: 'Inter', sans-serif;
}

    .capps-floating-cart:hover {
        box-shadow: 0 24px 50px -12px rgba(99, 102, 241, 0.15), 0 0 1px 1px rgba(99, 102, 241, 0.1);
    }

/* En-tête du panier */
.capps-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.capps-cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

    .capps-cart-title i {
        font-size: 20px;
        color: #6366f1; /* Indigo accent */
        background: rgba(99, 102, 241, 0.1);
        padding: 6px;
        border-radius: 10px;
    }

.capps-cart-count {
    background: #6366f1;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Corps du panier (État vide ou Article) */
.capps-cart-body {
    padding: 20px;
}

.capps-cart-empty {
    text-align: center;
    padding: 15px 0;
    color: #64748b;
}

    .capps-cart-empty i {
        font-size: 38px;
        color: #cbd5e1;
        margin-bottom: 8px;
    }

    .capps-cart-empty p {
        font-weight: 600;
        font-size: 14px;
        color: #334155;
        margin: 0 0 4px 0;
    }

    .capps-cart-empty span {
        font-size: 12px;
        color: #94a3b8;
        line-height: 1.4;
        display: block;
    }

/* Style de l'item sélectionné */
.capps-cart-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.capps-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.capps-cart-item-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.capps-cart-item-info span {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Boîte du slider utilisateurs */
.capps-cart-slider-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #f1f5f9;
}

.capps-slider-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

    .capps-slider-label-row span:last-child {
        color: #6366f1;
    }

/* Input Range Ultra-Clean */
.capps-users-range {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

    .capps-users-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #6366f1;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(99, 102, 241, 0.4);
        transition: transform 0.2s ease;
    }

        .capps-users-range::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

/* Pied de page du panier (Totaux & CTA) */
.capps-cart-footer {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.capps-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

    .capps-cart-total-row:nth-child(2) {
        font-size: 15px;
        font-weight: 700;
        color: #0f172a;
        border-top: 1px dashed #cbd5e1;
        padding-top: 8px;
        margin-top: 4px;
        margin-bottom: 14px;
    }

    .capps-cart-total-row strong {
        color: #0f172a;
    }

#cartTotalPrice {
    color: #6366f1;
    font-size: 16px;
}

/* Bouton de validation premium */
.capps-cart-checkout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    transition: all 0.25s ease;
}

    .capps-cart-checkout-btn:hover {
        background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
        box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
        transform: translateY(-1px);
    }

    .capps-cart-checkout-btn i {
        font-size: 18px;
        transition: transform 0.2s ease;
    }

    .capps-cart-checkout-btn:hover i {
        transform: translateX(4px);
    }

/* Responsive Mobile adaptation */
@media (max-width: 768px) {
    .capps-floating-cart {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
        width: auto;
    }
}

/****/

/* ===== CAPPS CART WARNING MESSAGE ===== */
.capps-cart-warning {
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid #6366f1;
    padding: 12px;
    border-radius: 8px;
    font-size: 11px;
    color: #334155;
    margin-bottom: 12px;
    line-height: 1.5;
}

.capps-warning-inner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.capps-warning-icon {
    font-size: 16px;
    color: #6366f1;
    margin-top: 1px;
    flex-shrink: 0;
}

.capps-warning-title {
    color: #1e293b;
    display: block;
    margin-bottom: 2px;
}

/****/

.capps-cart-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.capps-cart-remove-action {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .capps-cart-remove-action:hover {
        background: rgba(239, 68, 68, 0.2);
        transform: scale(1.05);
    }

    .capps-cart-remove-action i {
        font-size: 14px;
    }

    /*****/

/* ===== STYLING DU PACK TRANSFORMATION MIS EN AVANT ===== */
.capps-pricing-card.capps-pricing-popular {
    border: 3px solid #6366f1 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%) !important;
    transform: scale(1.02);
    box-shadow: 0 20px 35px -10px rgba(99, 102, 241, 0.25) !important;
    z-index: 3;
}

.capps-popular-badge {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4) !important;
    border: 2px solid #ffffff !important;
}

/* ===== BLOC "POURQUOI CAPPS ?" (Bénéfices Métier) ===== */
.capps-why-us-block {
    margin-top: 60px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

    .capps-why-us-block h3 {
        font-size: 1.5rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 30px;
    }

.capps-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.capps-why-item {
    background: #f8fafc;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

    .capps-why-item:hover {
        transform: translateY(-4px);
        border-color: #cbd5e1;
    }

    .capps-why-item i {
        font-size: 2.2rem;
        color: #4f46e5;
        margin-bottom: 12px;
    }

    .capps-why-item h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 8px;
    }

    .capps-why-item p {
        font-size: 0.9rem;
        color: #64748b;
        margin: 0;
        line-height: 1.5;
    }

/* ===== BLOC PREUVES SOCIALES ===== */
.capps-social-proof-section {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
}

.capps-proof-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.capps-proof-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.capps-client-badge {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* ===== BLOC CTAs SECONDAIRES ===== */
.capps-secondary-cta-bar {
    margin-top: 40px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.capps-secondary-copy h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.capps-secondary-copy p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

.capps-secondary-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

    .capps-secondary-actions .btn-outline-primary {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: #ffffff;
        font-weight: 600;
        border-radius: 10px;
        padding: 10px 18px;
        transition: all 0.2s ease;
    }

        .capps-secondary-actions .btn-outline-primary:hover {
            border-color: #ffffff;
            background: rgba(255, 255, 255, 0.1);
        }

    .capps-secondary-actions .btn-primary {
        background: #6366f1;
        border: none;
        font-weight: 600;
        border-radius: 10px;
        padding: 10px 18px;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }

/* Responsive mobile pour les blocs secondaires */
@media (max-width: 768px) {
    .capps-secondary-cta-bar {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .capps-secondary-actions {
        width: 100%;
        flex-direction: column;
    }
}

/*****/

/* Style du curseur de sélection d'utilisateurs */
.capps-users-range {
    width: 100%;
    accent-color: #6366f1;
    cursor: pointer;
    margin-top: 8px;
}

.capps-cart-slider-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 10px;
    margin-top: 12px;
}

.capps-slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

/****/

/* ===== TRAITS DE SÉPARATION ÉLÉGANTS (CSS ONLY) ===== */

/* 1. Trait simple horizontal */
.capps-divider {
    width: 100%;
    height: 1px;
    background-color: #e2e8f0;
    margin: 16px 0;
    border: none;
}

/* 2. Trait avec dégradé subtil (effet fondu sur les bords) */
.capps-divider-gradient {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1 15%, #cbd5e1 85%, transparent);
    margin: 16px 0;
    border: none;
}

/* 3. Trait pointillé moderne */
.capps-divider-dashed {
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, #cbd5e1 50%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 8px 1px;
    background-repeat: repeat-x;
    margin: 16px 0;
    border: none;
}

/****/

/* ===== GRADUATIONS DU SLIDER (CSS ONLY) ===== */
.capps-slider-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    margin-top: -2px;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
}

    .capps-slider-ticks span {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .capps-slider-ticks span::before {
            content: '';
            width: 1px;
            height: 4px;
            background-color: #cbd5e1;
            margin-bottom: 2px;
        }


/****/


/* ==========================================================================
   CAPPS REASSURE BAR - OFFICIEL & ÉPURÉ (FIXE EN BAS)
   ========================================================================== */

.capps-reassure-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #0b0f19 !important;
    border-top: 1px solid rgba(126, 200, 227, 0.25) !important;
    padding: 0.9rem 0 !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    .capps-reassure-container

{
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;

    @media (max-width: 992px) {
        justify-content: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }
}

.capps-reassure-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;

    @media (max-width: 992px) {
        flex-direction: column !important;
        gap: 0.35rem !important;
    }
}

.capps-reassure-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 0.5rem !important;
    background: rgba(126, 200, 227, 0.1) !important;
    color: #7ec8e3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
}

.capps-reassure-text {
    display: flex !important;
    flex-direction: column !important;
    strong

{
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

span {
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
}

}

.capps-reassure-divider {
    width: 1px !important;
    height: 25px !important;
    background: rgba(255, 255, 255, 0.1) !important;

    @media (max-width: 992px) {
        display: none !important;
    }
}

.capps-reassure-action {
    display: flex !important;
    align-items: center !important;
}

.capps-reassure-btn {
    background: linear-gradient(135deg, #7ec8e3 0%, #3a9bdc 100%) !important;
    color: #0b0f19 !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    box-shadow: 0 4px 15px rgba(58, 155, 220, 0.3) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    i

{
    font-size: 1.1rem !important;
    color: #0b0f19 !important;
}

&:hover {
    opacity: 0.95 !important;
    transform: translateY(-1px) !important;
}

}
}

/***/

/* ==========================================================================
   ULTRA-PREMIUM CAPPS REASSURANCE BAR - ELITE SAAS EDITION
   ========================================================================== */

.capps-reassure-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: radial-gradient(circle at 50% -20%, rgba(58, 155, 220, 0.25) 0%, rgba(11, 15, 25, 0.95) 70%) !important;
    border-top: 1px solid rgba(126, 200, 227, 0.35) !important;
    padding: 1rem 0 !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    /* Animated background ambient sweep */
    &::before

{
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
}

.capps-reassure-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
    position: relative !important;
    z-index: 1 !important;

    @media (max-width: 992px) {
        justify-content: center !important;
        text-align: center !important;
        gap: 1.25rem !important;
    }
}

.capps-reassure-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;

    @media (max-width: 992px) {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
}

.capps-reassure-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 1rem !important;
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.2), rgba(58, 155, 220, 0.3)) !important;
    border: 1px solid rgba(126, 200, 227, 0.4) !important;
    color: #7ec8e3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.4rem !important;
    box-shadow: 0 0 25px rgba(58, 155, 220, 0.4), inset 0 0 10px rgba(126, 200, 227, 0.3) !important;
    flex-shrink: 0 !important;
    animation: cappsIconPulse 3s ease-in-out infinite alternate !important;
}

.capps-reassure-text {
    display: flex !important;
    flex-direction: column !important;
    strong

{
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

span {
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
}

}

.capps-reassure-divider {
    width: 1px !important;
    height: 35px !important;
    background: linear-gradient(to bottom, transparent, rgba(126, 200, 227, 0.4), transparent) !important;

    @media (max-width: 992px) {
        display: none !important;
    }
}

.capps-reassure-action {
    display: flex !important;
    align-items: center !important;
}

.capps-reassure-btn {
    background: linear-gradient(135deg, #7ec8e3 0%, #3a9bdc 100%) !important;
    color: #0b0f19 !important;
    padding: 0.75rem 1.6rem !important;
    border-radius: 0.85rem !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    box-shadow: 0 10px 30px -5px rgba(58, 155, 220, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
    i

{
    font-size: 1.25rem !important;
    color: #0b0f19 !important;
    transition: transform 0.3s ease !important;
}

&:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 40px -5px rgba(58, 155, 220, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    i

{
    transform: translateX(4px) !important;
}

}
}
}

/* Elite Keyframe Animations */
@keyframes cappsShimmerSweep {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes cappsIconPulse {
    0% {
        box-shadow: 0 0 15px rgba(58, 155, 220, 0.3);
    }

    100% {
        box-shadow: 0 0 30px rgba(126, 200, 227, 0.6);
    }
}

/***/

/* ==========================================================================
   ULTRA-PREMIUM CAPPS REASSURE BAR - RASSURANT FINTECH & SAAS EDITION
   ========================================================================== */

.capps-reassure-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    /* Fond dégradé subtil combinant bleu nuit SaaS et émeraude rassurant */
    background: radial-gradient(circle at 50% -50%, rgba(16, 185, 129, 0.12) 0%, rgba(11, 15, 25, 0.96) 80%) !important;
    /* Bordure supérieure lumineuse vert émeraude/cyan inspirée des meilleures apps financières */
    border-top: 1px solid rgba(52, 211, 153, 0.3) !important;
    padding: 1rem 0 !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    /* Effet lumineux balayant l'arrière-plan en douceur */
    &::before

{
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
}

.capps-reassure-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
    position: relative !important;
    z-index: 1 !important;

    @media (max-width: 992px) {
        justify-content: center !important;
        text-align: center !important;
        gap: 1.25rem !important;
    }
}

.capps-reassure-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;

    @media (max-width: 992px) {
        flex-direction: column !important;
        gap: 0.4rem !important;
    }
}

/* Icônes avec halo émeraude/confiance sécurisante */
.capps-reassure-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 1rem !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.15)) !important;
    border: 1px solid rgba(52, 211, 153, 0.4) !important;
    color: #34d399 !important; /* Vert émeraude rassurant */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25) !important;
    flex-shrink: 0 !important;
}

.capps-reassure-text {
    display: flex !important;
    flex-direction: column !important;
    strong

{
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

span {
    color: #94a3b8 !important;
    font-size: 0.825rem !important;
    font-weight: 400 !important;
}

}

.capps-reassure-divider {
    width: 1px !important;
    height: 35px !important;
    background: linear-gradient(to bottom, transparent, rgba(52, 211, 153, 0.3), transparent) !important;

    @media (max-width: 992px) {
        display: none !important;
    }
}

.capps-reassure-action {
    display: flex !important;
    align-items: center !important;
}

/* Bouton d'action à fort taux de conversion (Vert Émeraude de la confiance) */
.capps-reassure-btn {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
    padding: 0.7rem 1.6rem !important;
    border-radius: 0.85rem !important;
    font-weight: 800 !important;
    font-size: 0.925rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
    i

{
    font-size: 1.2rem !important;
    color: #ffffff !important;
    transition: transform 0.3s ease !important;
}

&:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 15px 30px -4px rgba(16, 185, 129, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
    i

{
    transform: translateX(3px) !important;
}

}
}
}