 /* ===== VARIABLES ET RESET ===== */

:root {

    --primary: #2563eb;

    --primary-dark: #1d4ed8;

    --primary-light: #60a5fa;

    --secondary: #f59e0b;

    --secondary-dark: #d97706;

    --dark: #0f172a;

    --gray-800: #1e293b;

    --gray-600: #475569;

    --gray-400: #94a3b8;

    --gray-200: #e2e8f0;

    --gray-100: #f1f5f9;

    --white: #ffffff;

    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);

    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);

    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --border-radius: 12px;

}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: 'Poppins', sans-serif;

    line-height: 1.6;

    color: var(--gray-800);

    overflow-x: hidden;

    background: var(--white);

}


/* --- Style spécifique à l'accueil (Fixe et sans scroll) --- */

body.home-page {
    overflow: hidden;
    height: auto;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Quand modal ouvert sur home-page, on autorise le scroll via le modal overlay */
body.home-page .modal.show {
    overflow-y: auto;
}

body.home-page .hero {

    height: 100vh;

    margin-top: 0;

}


/* --- Style pour les autres pages (Scroll autorisé) --- */

body:not(.home-page) {

    overflow-y: auto;

    height: auto;

    position: relative;

    padding-top: 70px; /* Garde le décalage pour que le contenu ne soit pas caché par la navbar */

}


.container {

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 24px;

}


/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


@keyframes fadeInLeft {

    from {

        opacity: 0;

        transform: translateX(-30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


@keyframes fadeInRight {

    from {

        opacity: 0;

        transform: translateX(30px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


@keyframes scaleIn {

    from {

        opacity: 0;

        transform: scale(0.9);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}


@keyframes float {

    0%, 100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

}


/* ===== LOADER ===== */

.loader-wrapper {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: var(--white);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 9999;

    transition: opacity 0.5s ease, visibility 0.5s ease;

}


.loader-wrapper.hidden {

    opacity: 0;

    visibility: hidden;

}


.loader {

    width: 60px;

    height: 60px;

    border: 4px solid var(--gray-200);

    border-top-color: var(--primary);

    border-radius: 50%;

    animation: spin 1s linear infinite;

}


@keyframes spin {

    to { transform: rotate(360deg); }

}


/* ===== NAVBAR AMÉLIORÉE ===== */

/* ===== NAVBAR AMÉLIORÉE (FUSION AVEC HERO) ===== */
.home-page .navbar {
    /* Fond dégradé sombre très léger pour assurer la lisibilité des textes blancs */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(8px); /* Effet de flou sur l'image derrière */
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Ligne subtile */
}

/* Quand on scrolle, elle devient plus compacte et sombre */
.home-page .navbar.scrolled {
    background: rgba(15, 23, 42, 0.95); /* Couleur --dark avec opacité */
    padding: 5px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

    transition: var(--transition);

}


.navbar.scrolled {

    padding: 5px 0;

    background: rgba(255, 255, 255, 0.98);

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

}


.navbar .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 70px;

    transition: height 0.3s ease;

}


/* Logo avec image */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

}


.logo-img {

    height: 55px;

    padding: 5px 0;

    width: auto;

    transition: var(--transition);

}

.logo-img,
.home-page .logo-img {
    height: 45px;
}

.home-page .logo-img {
    height: 55px;
    padding: 5px 0;
    width: auto;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3)); /* Donne du relief */
    transition: var(--transition);
}


.navbar.scrolled .logo-img {

    height: 40px;

}


.logo-text {

    font-size: 24px;

    font-weight: 700;

    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    text-decoration: none;

}


/* Menu de navigation */

.nav-menu {

    display: flex;

    list-style: none;

    gap: 20px;
    
    align-items: center;

}


.nav-menu li {

    position: relative;

}


/* Liens du menu en blanc pour contrer le fond de l'image */
.home-page .nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9); /* Blanc cassé pour le confort */
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
}

/* État actif et survol */
.home-page .nav-menu a:hover,
.home-page .nav-menu a.active {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* On change la couleur des barres du menu mobile pour qu'elles soient blanches */
.home-page .hamburger span {
    background: var(--white);
}

.nav-menu a {

    text-decoration: none;

    color: var(--gray-600);

    font-weight: 500;

    font-size: 14px;
    
    white-space: nowrap;

    padding: 8px 0;

    transition: var(--transition);

    position: relative;

}


.nav-menu a::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 2px;

    background: linear-gradient(90deg, var(--primary), var(--secondary));

    transition: width 0.3s ease;

}


.nav-menu a:hover::after,

.nav-menu a.active::after {

    width: 100%;

}


.nav-menu a:hover,

.nav-menu a.active {

    color: var(--primary);

}


.btn-account {

    background: linear-gradient(135deg, var(--primary), var(--primary-dark));

    color: var(--white) !important;

    padding: 9px 18px !important;
    
    font-size: 14px !important;

    border-radius: 50px;
    
    white-space: nowrap;
    
    display: inline-flex !important;

    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    
    align-items: center;
    
    line-height: 1.2;

}


.btn-account::after {

    display: none !important;

}


.btn-account:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);

    color: var(--white) !important;

}


/* Menu mobile */

.hamburger {

    display: none;

    flex-direction: column;

    cursor: pointer;

    z-index: 1001;

}


.hamburger span {

    width: 30px;

    height: 3px;

    background: var(--dark);

    margin: 3px 0;

    transition: var(--transition);

    border-radius: 3px;

}


.hamburger.active span:nth-child(1) {

    transform: rotate(45deg) translate(8px, 6px);

}


.hamburger.active span:nth-child(2) {

    opacity: 0;

    transform: translateX(-10px);

}


.hamburger.active span:nth-child(3) {

    transform: rotate(-45deg) translate(8px, -6px);

}


/* --- Corrections Hero --- */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    

    /* Dézoom de l'image : on passe de 'cover' à '115%' ou '120%' 

       pour contrôler l'échelle tout en couvrant l'écran */

    background-size: 110% !important; 

    background-position: center 20% !important; /* Ajuste la position verticale si besoin */

    background-attachment: fixed !important;

    background-repeat: no-repeat !important;

    transition: background-size 0.5s ease; /* Transition douce */

}

/* Sur les écrans moyens (tablette landscape), compresser encore */
@media (max-width: 1100px) and (min-width: 769px) {
    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .btn-account {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }

    .navbar .container {
        height: 65px;
        padding: 0 16px;
    }
}


.hero-overlay {

    display: none;

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    /* Réduis l'opacité (0.6 au lieu de 0.9) pour voir l'image derrière */

    background: linear-gradient(135deg, rgba(10, 42, 68, 0.7) 0%, rgba(30, 58, 95, 0.6) 100%);

    z-index: 0; /* Passe au fond */

}


.hero::before {

    display: none;

    content: '';

    position: absolute;

    top: -50%;

    right: -10%;

    width: 80%;

    height: 200%;

    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);

    border-radius: 50%;

    animation: float 20s infinite;

}


.hero::after {

    display: none;

    content: '';

    position: absolute;

    bottom: -50%;

    left: -10%;

    width: 80%;

    height: 200%;

    background: radial-gradient(circle, rgba(245, 158, 11, 0.03) 0%, transparent 70%);

    border-radius: 50%;

    animation: float 25s infinite reverse;

}


.hero .container {

    position: relative;

    z-index: 2; /* Force le container devant l'overlay */

    display: block; /* Puisque tu as tout centré dans hero-content, pas besoin de grid 1fr 1fr ici */

    text-align: center;

}


.hero-content {

    max-width: 850px;

    /* Correction : 4px au lieu de 40px pour une ombre nette et non un halo flou */

    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9); 

    margin: 0 auto;

    color: var(--white);

    position: relative;

    z-index: 3;

}


.hero-badge {

    margin-bottom: 30px;

    animation: fadeInUp 0.8s ease;

}


.badge-pulse {

    display: inline-block;

    padding: 8px 20px;

    background: rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 50px;

    color: var(--white);

    font-weight: 500;

    font-size: 14px;

    letter-spacing: 1px;

    animation: pulse 2s infinite;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

}


.hero-title {

    font-weight: 800;

    line-height: 1.1;

    font-size: clamp(32px, 6vw, 64px);

    color: #ffffff !important; /* Force le blanc */

    margin-bottom: 20px;

    /* Ombre portée plus forte pour détacher le texte du fond */

    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.8); 

    position: relative;

    z-index: 5;

}


.title-line {

    display: block;

    color: #ffffff !important;

}


.title-gradient {

    display: inline-block;

    /* On utilise une couleur pleine plutôt qu'un dégradé sur le texte 

       pour une meilleure lisibilité sur image */

    color: #ffffff !important; 

}


.hero-description {

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 40px;

    color: #ffffff !important;

    background: rgba(0, 0, 0, 0.4);

    padding: 10px;

    border-radius: 10px;

    backdrop-filter: blur(4px);

    max-width: 600px;

    margin-left: auto;

    margin-right: auto;

    font-weight: 500;

    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);

    display: inline-block;

}


.hero-stats {

    display: flex;

    justify-content: center;

    gap: 50px;

    margin-bottom: 40px;

    flex-wrap: wrap;

}


.stat-item {

    text-align: center;

    position: relative;

}


.stat-item:not(:last-child)::after {

    content: '';

    position: absolute;

    right: -25px;

    top: 50%;

    transform: translateY(-50%);

    width: 2px;

    height: 40px;

    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);

}


.stat-number {

    display: block;

    font-size: 42px !important;

    font-weight: 800;

    color: #f59e0b !important;

    margin-bottom: 5px;

    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;

}


.stat-label {

    font-size: 14px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 4px;

    color: #ffffff;

    background: rgba(0, 0, 0, 0.3);

    text-transform: uppercase;

    letter-spacing: 1px;

}


.hero-buttons {

    display: flex;

    gap: 20px;

    justify-content: center;

    margin: 30px 0;

    flex-wrap: wrap;

}


.btn-glow {

    position: relative;

    overflow: hidden;

    background: linear-gradient(135deg, var(--accent), #e6b422) !important;

    border: none !important;

    color: var(--primary) !important;

    font-weight: 700 !important;

    box-shadow: 0 0 30px rgba(200, 159, 60, 0.5) !important;

}


.btn-glow::before {

    content: '';

    position: absolute;

    top: -50%;

    left: -50%;

    width: 200%;

    height: 200%;

    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);

    opacity: 0;

    transform: scale(0.5);

    transition: all 0.6s ease;

}


.btn-glow:hover::before {

    opacity: 1;

    transform: scale(1);

}


.btn-outline-light {

    background: transparent;

    border: 2px solid rgba(255, 255, 255, 0.5);

    color: var(--white);

    padding: 16px 40px;

    font-size: 16px;

    font-weight: 600;

    border-radius: 50px;

    cursor: pointer;

    transition: var(--transition);

    display: inline-flex;

    align-items: center;

    gap: 10px;

    backdrop-filter: blur(5px);

}


.btn-outline-light:hover {

    background: rgba(255, 255, 255, 0.1);

    border-color: var(--white);

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

}


.hero-features {

    display: flex;

    gap: 30px;

    justify-content: center;

    flex-wrap: wrap;

}


.feature-mini {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 16px;

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(5px);

    border-radius: 50px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: var(--white);

    font-size: 14px;

    transition: var(--transition);

}


.feature-mini:hover {

    background: rgba(255, 255, 255, 0.2);

    transform: translateY(-2px);

}


.feature-mini i {

    color: var(--accent);

    font-size: 16px;

}


/* Éléments décoratifs */

.hero-shape {

    position: absolute;

    border-radius: 50%;

    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);

    pointer-events: none;

    z-index: 1;

}


.shape-1 {

    width: 300px;

    height: 300px;

    top: -150px;

    right: -150px;

    animation: float 20s infinite;

}


.shape-2 {

    width: 200px;

    height: 200px;

    bottom: -100px;

    left: -100px;

    animation: float 25s infinite reverse;

}


.shape-3 {

    width: 150px;

    height: 150px;

    top: 50%;

    left: 20%;

    background: radial-gradient(circle, rgba(200,159,60,0.15) 0%, transparent 70%);

    animation: pulse 4s infinite;

}


/* SUPPRIME CE BLOC ENTIER */

.hero-content h1 {

    font-size: clamp(36px, 5vw, 56px);

    line-height: 1.2;

    margin-bottom: 20px;

    color: var(--dark); /* <--- C'est lui le coupable ! */

    font-weight: 700;

}



.hero-content h1 span {

    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    -webkit-background-clip: text;

    background-clip: text;

    display: inline-block;

    animation: float 6s ease-in-out infinite;

}


.hero-content p {

    font-size: 18px;

    color: var(--gray-600);

    margin-bottom: 30px;

    max-width: 500px;

}


.hero-buttons {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}


.btn-primary {

    background: linear-gradient(135deg, var(--primary), var(--primary-dark));

    color: var(--white);

    border: none;

    padding: 16px 40px;

    font-size: 16px;

    font-weight: 600;

    border-radius: 50px;

    cursor: pointer;

    transition: var(--transition);

    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);

    position: relative;

    overflow: hidden;

}


.btn-primary::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);

    transform: translate(-50%, -50%);

    transition: width 0.6s, height 0.6s;

}


.btn-primary:hover::before {

    width: 300px;

    height: 300px;

}


.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);

}


/* Style épuré pour le bouton principal */

.btn-primary.btn-glow {

    position: relative;

    overflow: hidden;

    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important; /* Bleu pro */

    color: #ffffff !important;

    border: none !important;

    padding: 16px 40px;

    font-weight: 600 !important;

    letter-spacing: 0.5px;

    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important; /* Ombre douce */

    transition: all 0.3s ease;

}


/* Animation de brillance (Shimmer) au survol uniquement */

.btn-primary.btn-glow::after {

    content: '';

    position: absolute;

    top: -50%;

    left: -60%;

    width: 20%;

    height: 200%;

    background: rgba(255, 255, 255, 0.4);

    transform: rotate(30deg);

    transition: none;

}


.btn-primary.btn-glow:hover::after {

    left: 150%;

    transition: all 0.6s ease-in-out;

}


.btn-primary.btn-glow:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;

    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;

}


.btn-outline {

    background: transparent;

    color: var(--primary);

    border: 2px solid var(--primary);

    padding: 14px 40px;

    font-size: 16px;

    font-weight: 600;

    border-radius: 50px;

    cursor: pointer;

    transition: var(--transition);

}


.btn-outline:hover {

    background: var(--primary);

    color: var(--white);

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);

}


.hero-image {

    animation: fadeInRight 1s ease;

    position: relative;

}


.hero-image::before {

    content: '';

    position: absolute;

    top: 20px;

    left: 20px;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, var(--primary-light), transparent);

    border-radius: 30px;

    z-index: -1;

    opacity: 0.3;

}


/* Modifie cette partie dans ton style.css */

.hero-image img {

    width: 100%;

    border-radius: 30px;

    box-shadow: var(--shadow-xl);

    transition: var(--transition);

    animation: float 8s ease-in-out infinite;

    /* Ajoute ceci pour un look plus moderne */

    border: 5px solid rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(5px);

}


.hero-image:hover img {

    transform: scale(1.02);

}


.hero-stats {

    display: flex;

    gap: 40px;

    margin-top: 40px;

}


.stat-item {

    text-align: center;

}


.stat-number {

    font-size: 32px;

    font-weight: 700;

    color: var(--primary);

    display: block;

}


.stat-label {

    font-size: 14px;

}


/* ===== FEATURES SECTION ===== */

.features {

    padding: 80px 0;

    background: var(--white);

}


.section-header {

    text-align: center;

    margin-bottom: 60px;

    animation: fadeInUp 1s ease;

}


.section-header h2 {

    font-size: 36px;

    color: var(--dark);

    margin-bottom: 15px;

    font-weight: 700;

}


.section-header p {

    color: var(--gray-600);

    max-width: 600px;

    margin: 0 auto;

    font-size: 18px;

}


.section-header.light h2,

.section-header.light p {

    color: var(--white);

}


.features-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;

}


.feature-card {

    background: var(--white);

    padding: 40px 30px;

    border-radius: 20px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    text-align: center;

    border: 1px solid var(--gray-200);

    position: relative;

    overflow: hidden;

    animation: scaleIn 0.6s ease;

    animation-fill-mode: both;

}


.feature-card:nth-child(1) { animation-delay: 0.1s; }

.feature-card:nth-child(2) { animation-delay: 0.2s; }

.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:nth-child(4) { animation-delay: 0.4s; }


.feature-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, var(--primary), var(--secondary));

    transform: scaleX(0);

    transition: transform 0.6s ease;

}


.feature-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}


.feature-card:hover::before {

    transform: scaleX(1);

}


.feature-icon {

    width: 80px;

    height: 80px;

    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 25px;

    font-size: 32px;

    color: var(--primary);

    transition: var(--transition);

}


.feature-card:hover .feature-icon {

    transform: rotateY(180deg);

    background: linear-gradient(135deg, var(--primary), var(--secondary));

    color: var(--white);

}


.feature-card h3 {

    font-size: 22px;

    margin-bottom: 15px;

    color: var(--dark);

}


.feature-card p {

    color: var(--gray-600);

    line-height: 1.6;

}


/* ===== MODALS AMÉLIORÉS ===== */

.modal {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: flex-start;      /* ← était center, empêchait le scroll */
    justify-content: center;
    padding: 20px;
    overflow-y: auto;             /* ← le modal lui-même peut scroller */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
    display: flex !important;
}


.modal-content {
    background: var(--white);
    margin: auto;                 /* ← centrage vertical naturel */
    max-height: none;             /* ← supprime la limitation de hauteur */
    overflow-y: visible;          /* ← le scroll est sur .modal, pas ici */
    width: 100%;
    padding: 40px;
    border-radius: 30px;
    max-width: 550px;
    position: relative;
    transform: translateY(-30px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-xl);
}

.modal.show .modal-content {

    transform: translateY(0) scale(1);

}


.modal-content h2 {

    font-size: 28px;

    margin-bottom: 10px;

    background: linear-gradient(135deg, var(--dark), var(--primary));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}


.modal-content h3 {

    font-size: 18px;

    color: var(--gray-600);

    margin-bottom: 25px;

    font-weight: 400;

}


.close, .close-payment {

    position: absolute;

    right: 25px;

    top: 25px;

    width: 40px;

    height: 40px;

    background: var(--gray-100);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    color: var(--gray-600);

    cursor: pointer;

    transition: var(--transition);

    z-index: 10;

}


.close:hover, .close-payment:hover {

    background: var(--primary);

    color: var(--white);

    transform: rotate(90deg);

}


/* Zone Selector Amélioré */

.zone-selector {

    margin: 30px 0;

}


.zone-selector select {

    width: 100%;

    padding: 16px 20px;

    border: 2px solid var(--gray-200);

    border-radius: 15px;

    font-size: 16px;

    font-family: 'Poppins', sans-serif;

    transition: var(--transition);

    background: var(--white);

    cursor: pointer;

    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    background-repeat: no-repeat;

    background-position: right 15px center;

    background-size: 20px;

}


.zone-selector select:focus {

    border-color: var(--primary);

    outline: none;

    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);

} 

/* Plans Grid Amélioré */
#plansList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.plan-card {
    background: linear-gradient(135deg, var(--white), var(--gray-100));
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.plan-card.selected {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #eff6ff, #fff);
}

.plan-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.plan-price {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.plan-duration {
    color: var(--gray-600);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Payment Modal Amélioré */
.payment-modal {
    max-width: 500px;
}

.selected-plan-info {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 25px;
    border-radius: 20px;
    margin: 20px 0;
    text-align: center;
}

.selected-plan-info h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.selected-plan-info .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.payment-methods h3,
.contact-info h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 15px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.payment-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.payment-btn.selected {
    border-color: var(--primary);
    background: #eff6ff;
}

.payment-btn img {
    height: 30px;
    width: auto;
}

.payment-btn span {
    font-weight: 500;
    color: var(--dark);
}

.contact-info input {
    width: 100%;
    padding: 16px 20px;
    margin: 10px 0;
    border: 2px solid var(--gray-200);
    border-radius: 15px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.contact-info input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-confirm-payment {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 15px;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-confirm-payment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== PAGE PLANS AMÉLIORÉE ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M0 0 L100 100 M100 0 L0 100" stroke="white" stroke-width="2"/></svg>');
    animation: move 20s linear infinite;
}

@keyframes move {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(100%) translateY(100%); }
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.plans-page {
    padding: 80px 0;
    background: var(--gray-100);
}

.zone-filter {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease;
}

.zone-filter label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark);
}

.filter-select-wrapper {
    position: relative;
    display: inline-block;
    max-width: 400px;
    width: 100%;
}

.zone-filter select {
    width: 100%;
    padding: 16px 50px 16px 25px;
    font-size: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    transition: var(--transition);
}

.zone-filter select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.filter-select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
    font-size: 12px;
}

.plans-category {
    margin: 60px 0;
    animation: fadeInUp 0.8s ease;
}

.plans-category h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.plans-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plan-card-large {
    background: var(--white);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.plan-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.plan-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-card-large:hover::before {
    transform: translateY(0);
}

.plan-card-large.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.plan-card-large.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary);
}

.plan-card-large h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.plan-card-large .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.plan-card-large .duration {
    color: var(--gray-600);
    margin-bottom: 25px;
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    width: 20px;
    height: 20px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.btn-plan {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Business Card */
.business-card {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: 'BUSINESS';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 100px;
    font-weight: 900;
    opacity: 0.1;
    color: var(--white);
    transform: rotate(15deg);
    pointer-events: none;
}

.business-card h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.business-card .price {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
}

.business-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    text-align: left;
}

.business-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-business {
    background: var(--white);
    color: var(--secondary);
    border: none;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-business:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* ===== PAGE COUVERTURE AMÉLIORÉE ===== */
.coverage-section {
    padding: 80px 0;
}

.coverage-map {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 30px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.map-placeholder {
    max-width: 600px;
    margin: 0 auto;
}

.map-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-md));
}

.zone-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        r: 8;
        opacity: 1;
    }
    50% {
        r: 12;
        opacity: 0.5;
    }
    100% {
        r: 8;
        opacity: 1;
    }
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.zone-card {
    background: var(--white);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.zone-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.zone-card:hover::before {
    opacity: 1;
}

.zone-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 40px;
    transition: var(--transition);
}

.zone-card:hover .zone-icon {
    transform: rotate(360deg) scale(1.1);
}

.zone-card h3 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 15px;
}

.zone-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.zone-stat {
    text-align: center;
}

.zone-stat .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.zone-stat .stat-label {
    font-size: 12px;
}

.zone-coverage {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.coverage-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.coverage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 1s ease;
}

/* Points de vente */
.points-vente {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 80px 0;
}

.points-header {
    text-align: center;
    margin-bottom: 50px;
}

.points-header h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.points-header p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.points-search {
    max-width: 500px;
    margin: 30px auto;
    position: relative;
}

.points-search input {
    width: 100%;
    padding: 16px 50px 16px 25px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
}

.points-search input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.points-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.points-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.point-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.point-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.point-card:hover::after {
    transform: scaleX(1);
}

.point-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.point-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
    padding-right: 80px;
}

.point-zone {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.point-address {
    color: var(--gray-600);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.point-contact {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.point-phone, .point-direction {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.point-phone {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.point-direction {
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary);
}

.point-phone:hover, .point-direction:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

/* Process Steps */
.process-section {
    padding: 80px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin: 50px 0;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 30px;
    position: relative;
    transition: var(--transition);
    counter-increment: step;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: rotate(360deg) scale(1.1);
}

.step h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.step p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: var(--white);
    border-radius: 15px;
    padding: 16px 25px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease, slideOutRight 0.3s ease 4.7s forwards;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.info {
    border-left-color: var(--primary);
}

.toast-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.toast.success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.toast.info .toast-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

.toast-message {
    font-size: 14px;
    color: var(--gray-600);
}

.toast-close {
    cursor: pointer;
    color: var(--gray-400);
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--gray-600);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== FOOTER AMÉLIORÉ ===== */
.footer {
    background: linear-gradient(135deg, var(--dark), #1a2639);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: var(--gray-400);
    margin: 20px 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-400);
}

.footer-contact-info i {
    color: var(--secondary);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    font-size: 14px;
}

/* ===== RESPONSIVE DESIGN OPTIMISÉ POUR MOBILE ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1920px) {
    .hero {
        background-size: cover !important; /* Retour au cover propre pour les très hautes résolutions */
    }
}

@media (max-width: 768px) {
    
    /* Navigation mobile */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        padding: 100px 30px 40px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .home-page .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95); /* Fond sombre */
        padding: 100px 30px 40px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 15px 0;
        display: block;
        white-space: normal;
    }

    .nav-menu a::after {
        bottom: 5px;
    }

    .btn-account {
        display: inline-block !important;
        text-align: center;
        margin-top: 10px;
    }

    .hamburger {
        display: flex;
    }

     .hero {
        min-height: 100vh; 
        padding: 100px 0 60px; /* Plus de padding pour respirer */
        display: flex;
        align-items: center;
        background-attachment: scroll !important; 
        
        /* AJOUTS ICI : On force l'image à toujours remplir 100% de la zone */
        background-size: cover !important; 
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn-primary, .btn-outline-light {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .feature-mini {
        width: fit-content;
    }

    /* Modals mobile */
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    #plansList {
        grid-template-columns: 1fr;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    /* Plans page mobile */
    .plans-category h2 {
        font-size: 28px;
    }

    .plan-card-large.popular {
        transform: scale(1);
    }

    .plan-card-large.popular:hover {
        transform: translateY(-10px);
    }

    .business-features {
        grid-template-columns: 1fr;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-info li {
        justify-content: center;
    }

    .hero-badge {
        margin-top: 40px; /* Donne de l'espace par rapport au menu */
    }
    
    body.home-page {
        height: 100vh;
        height: 100dvh; /* Version dynamique pour mobile */
    }
}

@media (max-width: 480px) {
    
    .home-page .hero-title {
        font-size: 28px !important; /* Force une taille plus petite */
        line-height: 1.3;
    }

    .home-page .hero-buttons {
        flex-direction: column; /* Empile les boutons */
        width: 100%;
        padding: 0 20px;
    }

    .home-page .btn-outline-light, .btn-primary {
        width: 100%; /* Boutons pleine largeur */
        justify-content: center;
    }

    .home-page .hero-features {
        gap: 10px;
    }
    
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .modal-content {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .modal-content h2 {
        font-size: 22px;
    }

    .plan-card-large {
        padding: 30px 20px;
    }

    .toast {
        min-width: 280px;
        max-width: 300px;
        margin-right: 16px;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .points-list {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

        .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        margin-bottom: 25px;
        font-size: 16px;
    }
    
    .hero-stats {
        margin-bottom: 25px;
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
    }
    
    .stat-number {
        font-size: 24px;
        margin-bottom: 0;
    }
    
    .stat-label {
        font-size: 12px;
    }

    .hero-features {
        flex-direction: row; /* On les garde côte à côte */
        flex-wrap: wrap;     /* Mais ils passent à la ligne si besoin */
        justify-content: center;
        gap: 10px;
    }
    
    .feature-mini {
        font-size: 12px;
        padding: 6px 12px;
    }

    .close, .close-payment {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
    }
    body.home-page {
        height: 100vh;
        height: 100dvh; /* Version dynamique pour mobile */
    }
}

/* ===== UTILITAIRES ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Animation supplémentaire */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}