/* --- FORCE LE FOND BLANC PARTOUT --- */
body, main, section {
    background-color: #ffffff !important;
}

/* --- Styles spécifiques Page Fonctionnalités --- */

/* Alignement parfait Icône/Titre des sections principales */
.feature-title-wrapper {
    /* Ces classes sont déjà dans le HTML, mais on s'en assure ici au besoin */
    display: flex;
    align-items: center;
}

.feature-title-wrapper h2 {
    /* Retire la marge par défaut de Bootstrap qui crée le décalage vers le bas */
    margin-bottom: 0 !important;
}

.feature-icon-box {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    font-size: 1.6rem;
    background: #f0f7ff;
    color: #0d6efd;
    transition: all 0.3s ease;
    /* On assure l'absence de marge du bas si on n'utilise pas .feature-title-wrapper */
    margin-bottom: 0 !important;
}

/* Alignement parfait Icône/Titre des cartes Bento */
.bento-header {
    display: flex;
    align-items: center;
}

.bento-header h5 {
    /* Retire la marge par défaut */
    margin-bottom: 0 !important;
}

/* Version plus petite pour les cartes Bento */
.feature-icon-box-small {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
    background: #f0f7ff;
    color: #0d6efd;
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

.feature-icon-box-small-alt {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
    background: #f0f7ff;
    color: #0d6efd;
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
    background-color: #f0f7ff;
    color: #0d6efd;
}

.feature-card:hover .feature-icon-box-small,
.feature-card:hover .feature-icon-box-small-alt {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.feature-img-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.4s ease;
}

.feature-img-container:hover {
    transform: translateY(-8px);
}

.badge-pill-soft {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    padding: 0.6em 1.2em;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    text-transform: uppercase;
}

/* --- CTA CARD MODERNE --- */
.cta-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 30px;
    padding: 5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(13, 110, 253, 0.4);
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.circle-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.circle-2 { width: 200px; height: 200px; bottom: -80px; left: 5%; }

/* BOUTONS CTA */
.btn-cta-premium {
    background-color: #ffffff;
    color: #0b5ed7;
    font-weight: 800;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-cta-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: #0b5ed7;
    background-color: #ffffff;
}

.btn-cta-outline {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-3px);
}
