/* Style de base pour la bannière - toutes tailles d'écran */
/* .row.banner-background : double classe pour surcharger Bootstrap .row (margin-top) chargé après via importmap */
.row.banner-background {
    background-color: #f6f9fe;
    min-height: 400px;
    margin-top: 40px;
    padding-bottom: 50px;
    background-image: url("../img-intelligent-networks/banner-bg-01-sysupVG.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Higher specificity than Bootstrap's .container to override max-width */
.banner-background .banner-container {
    width: 80%;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
}

/* !important needed on banner-heading to override Bootstrap .display-3 and .pb-4 utilities */
@media (max-width: 768px) {
    .banner-heading {
        font-size: 2rem !important;
        padding-bottom: 20px !important;
    }

    .banner-text-container {
        width: 100%;
    }

    .banner-logo {
        padding: 20px 15px !important;
        order: -1;
        width: 100%;
        text-align: center;
    }

    .banner-logo img {
        max-height: 250px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .banner-logo {
        padding: 40px 20px !important;
        width: 40%;
        text-align: center;
    }

    .banner-logo img {
        max-height: 350px !important;
    }

    .banner-text-container {
        padding-top: 25px;
        width: 60%;
    }
}

@media (min-width: 1025px) {
    .banner-logo {
        padding: 60px 30px !important;
        width: 40%;
        text-align: center;
    }

    .banner-logo img {
        max-height: 350px !important;
    }

    .banner-text-container {
        width: 60%;
        padding-top: 25px;
    }
}

/* ========================================
   MARKETING ENHANCEMENTS
   ======================================== */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hero CTA group */
.banner-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .banner-cta-group {
        flex-direction: column;
    }

    .banner-cta-group .btn {
        width: 100%;
    }
}

/* Post-Use Cases CTA */
.post-usecases-cta {
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    position: relative;
    overflow: hidden;
}

.post-usecases-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.post-usecases-cta::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.post-usecases-cta .container {
    position: relative;
    z-index: 1;
}

.post-usecases-cta .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f6f9fe 100%);
    padding: 80px 0;
}

.cta-card {
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(66, 50, 194, 0.15) !important;
}

.cta-benefits li {
    font-size: 1rem;
    padding-left: 10px;
}

.cta-benefits i {
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .final-cta-section {
        padding: 50px 0;
    }

    .final-cta-section .col-lg-7 {
        text-align: center;
    }

    .cta-benefits {
        text-align: left;
        display: inline-block;
    }
}

.cta-card .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(66, 50, 194, 0.3);
    transition: all 0.3s ease;
}

.cta-card .btn-outline-secondary:hover {
    background-color: #6266ea;
    border-color: #6266ea;
    color: white;
}

/* ========================================
   MODULES SECTION - Modern Design
   ======================================== */

.modules-section {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    padding: 60px 0 80px;
}

/* Header */
.modules-header {
    padding: 40px 0;
    text-align: center;
}

.modules-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.modules-subtitle {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.modules-subtitle strong {
    color: #4232c2;
    font-size: 1.25rem;
}

/* Grid Container */
.modules-grid-container {
    padding: 0 20px;
}

/* Module Cards */
.module-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.module-card:hover::before {
    transform: scaleX(1);
}

/* Card Variants */
.module-card--primary::before {
    background: linear-gradient(90deg, #4232c2, #6266ea);
}

.module-card--secondary::before {
    background: linear-gradient(90deg, #2d3748, #4a5568);
}

.module-card--accent::before {
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.module-card--warning::before {
    background: linear-gradient(90deg, #ea580c, #f97316);
}

/* Card Icon */
.module-card__icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.module-card:hover .module-card__icon {
    transform: scale(1.1);
}

.module-card--primary .module-card__icon {
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(66, 50, 194, 0.3);
}

.module-card--secondary .module-card__icon {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(45, 55, 72, 0.3);
}

.module-card--accent .module-card__icon {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.module-card--warning .module-card__icon {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

/* Card Badge */
.module-card__badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.module-card--primary .module-card__badge {
    background: rgba(66, 50, 194, 0.1);
    color: #4232c2;
}

.module-card--secondary .module-card__badge {
    background: rgba(45, 55, 72, 0.1);
    color: #2d3748;
}

.module-card--accent .module-card__badge {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.module-card--warning .module-card__badge {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

/* Card Title */
.module-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

/* Card Text */
.module-card__text {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .modules-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .modules-section {
        padding: 40px 0 60px;
    }

    .modules-title {
        font-size: 1.75rem;
    }

    .modules-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .modules-subtitle strong {
        font-size: 1.1rem;
    }

    .module-card {
        padding: 25px 20px;
    }

    .module-card__icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .module-card__title {
        font-size: 1.05rem;
    }

    .module-card__text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modules-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   USE CASES - même langage visuel que les module-cards
   ======================================== */

.usecase-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.usecase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4232c2, #6266ea);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.usecase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.usecase-card:hover::before {
    transform: scaleX(1);
}

.usecase-card__icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, #4232c2 0%, #6266ea 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(66, 50, 194, 0.3);
    transition: all 0.3s ease;
}

.usecase-card:hover .usecase-card__icon {
    transform: scale(1.1);
}

.usecase-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.usecase-card__text {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
}

.usecase-card .btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .usecase-card {
        padding: 25px 20px;
    }

    .usecase-card__icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .usecase-card__title {
        font-size: 1.05rem;
    }

    .usecase-card__text {
        font-size: 0.85rem;
    }
}
