/* ================= 1. CONFIGURATION & VARIABLES (Couleurs Figma) ================= */
:root {
    --bg-dark: #0A1A17;          /* Vert ultra sombre Figma */
    --bg-navbar: rgba(10, 26, 23, 0.85); 
    --primary: #1EB394;         /* Le vert turquoise exact de votre Figma */
    --primary-hover: #169c80;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #112924;
    --card-border: rgba(255, 255, 255, 0.12);
    --radius-lg: 24px;
    --radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fafbfc;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= 2. COMPOSANTS UTILITAIRES ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(30, 179, 148, 0.4);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(30, 179, 148, 0.05);
}

/* ================= 3. CAPSULE FLOATING NAVBAR ================= */
.navbar-wrapper {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

.navbar-capsule {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--bg-navbar);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 10px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.navbar-capsule .logo {
    display: flex;
    align-items: center;
    height: 40px;
    z-index: 1001; /* Reste au-dessus du menu mobile */
}

.navbar-capsule .logo img {
    height: 100%;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001; /* Reste visible au-dessus du menu mobile */
}

.lang-selector {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-left: 4px;
}

.lang-selector i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

/* Animation icône burger vers une croix (Optionnel mais joli) */
.menu-toggle.active i::before {
    content: "\f00d"; /* Code FontAwesome pour la croix (times) */
}

/* ================= 4. HERO SECTION (Dégradé Figma) ================= */
.hero {
    background: linear-gradient(135deg, #0A1A17 0%, #0D5143 50%, #1EB394 100%);
    padding-top: 180px; 
    padding-bottom: 220px; 
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    max-width: 850px;
    margin: 0 auto 24px auto;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-cta-group {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 6px 6px 20px;
    border-radius: 100px;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
}

.hero-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    flex-grow: 1;
    font-size: 0.95rem;
}

.hero-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ================= 5. LOGIQUE DU CHEVAUCHEMENT (MOCKUP OVERLAP) ================= */
.hero-mockup-container {
    position: relative;
    z-index: 10;
    width: 100%;
    margin-top: -160px; 
    padding: 0 24px;
}

.hero-mockup-wrapper {
    position: relative;
    max-width: 1000px; 
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(10, 26, 23, 0.15);
    background-color: #ffffff; 
    line-height: 0; 
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
}

.dashboard-glow {
    position: absolute;
    top: -10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(90px);
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
}

/* ================= 6. PARTNERS SECTION ================= */
.partners {
    background-color: #ffffff;
    padding-top: 120px; 
    padding-bottom: 60px;
    border-bottom: 1px solid #edf2f1;
}

.partners-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.partner-logo {
    height: 32px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

/* Reste du code CSS inchangé pour les solutions... */


/* ================= 7. MEDIA QUERIES & RESPONSIVE MENU LOGIC ================= */

@media (max-width: 1100px) {
    .nav-menu { gap: 16px; }
    .nav-link { font-size: 0.85rem; }
    .navbar-capsule { padding: 10px 20px; }
    .hero-title { font-size: 3rem; }
}

/* --- LE CHANGEMENT MOBILE MAJEUR ICI (max-width: 992px) --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: block; /* On affiche le bouton burger */
    }

    /* Transformation du menu horizontal en rideau vertical masqué par défaut */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0A1A17; /* Fond opaque pour bien lire les liens */
        border-radius: 24px;
        margin-top: 10px;
        padding: 24px;
        flex-direction: column;
        gap: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        border: 1px solid rgba(255, 255, 255, 0.08);
        
        /* Logique de masquage fluide */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    /* Classe déclenchée par le JavaScript au clic sur le bouton burger */
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* On cache les gros boutons d'action sur mobile pour ne garder que le burger */
    .nav-actions .btn, .lang-selector {
        display: none; 
    }
    
    .navbar-wrapper { top: 16px; }
    .navbar-capsule { border-radius: 100px; padding: 12px 24px; }
    
    .hero { padding-top: 140px; padding-bottom: 160px; }
    .hero-title { font-size: 2.6rem; }
    .hero-mockup-container { margin-top: -100px; }
    .partners { padding-top: 80px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.1rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .hero-cta-group {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 12px;
        gap: 12px;
        max-width: 100%;
    }
    .hero-input { width: 100%; text-align: center; }
    .hero-cta-group .btn { width: 100%; padding: 12px; }
    .hero-mockup-container { margin-top: -60px; padding: 0 16px; }
    .partners { padding-top: 60px; }
}
/* ================= BARRE DE RECHERCHE / CTA HERO (MISE À JOUR FIGMA) ================= */

.hero-cta-group {
    background: #ffffff; /* Le fond devient blanc pur opaque comme sur la capture */
    border: none;
    padding: 6px 6px 6px 24px;
    border-radius: 100px;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Légère ombre pour donner du relief */
}

/* Le champ texte où l'utilisateur écrit son email */
.hero-input {
    background: transparent;
    border: none;
    outline: none;
    color: #0A1A17; /* Le texte tapé s'écrit en vert très sombre pour être lisible sur le blanc */
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 500;
}

/* Couleur du texte indicatif (E-mail professionnel) */
.hero-input::placeholder {
    color: #8fa39f; /* Couleur gris-vert discrète de la maquette */
    opacity: 1;
}

/* Le bouton interne "Accès gratuit" */
.hero-cta-group .btn-hero {
    background-color: #0D5143; /* Le vert foncé exact de votre bouton Figma */
    color: #ffffff; /* Écrit en blanc pur */
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.hero-cta-group .btn-hero:hover {
    background-color: #0A1A17; /* Devient encore un peu plus sombre au survol */
    transform: translateY(0); /* Reste stable dans la barre */
}


/* ================= NAVBAR CAPSULE (VOTRE IDENTITÉ VISUELLE FIGMA) ================= */

.navbar-capsule {
    max-width: 1300px;
    margin: 0 auto;
    /* Application du dégradé de la marque directement dans la capsule */
    background: linear-gradient(90deg, #0A1A17 0%, #0D5143 100%); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); /* Ombre forte et diffuse sous la capsule */
}

/* Ajustement des liens de la navbar pour le fond sombre */
.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: #1EB394; /* Le vert turquoise éclatant au survol */
}


/* ================= ADAPTATION MOBILE DE LA BARRE BLANCHE (RESPONSIVE) ================= */
@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
        border-radius: 24px;
        padding: 12px;
        gap: 12px;
    }
    
    .hero-input {
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }
    
    .hero-cta-group .btn-hero {
        width: 100%;
        text-align: center;
    }
}

/* Par défaut sur PC : on cache les boutons qui sont dans le menu */
.mobile-only-actions {
    display: none;
}

/* ================= AJUSTEMENTS DANS LES MEDIA QUERIES ================= */
@media (max-width: 992px) {
    
    /* On cache le bloc d'actions original à droite de la capsule */
    .nav-actions {
        display: none; 
    }

    /* On active et on stylise les boutons à l'intérieur du menu déroulant */
    .mobile-only-actions {
        display: flex;
        flex-direction: column; /* Aligne les boutons l'un sous l'autre */
        gap: 12px;
        width: 100%;
        margin-top: 16px; /* Donne de l'espace après le dernier lien 'Contact' */
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Ligne de séparation discrète */
    }

    /* Force les boutons mobiles à prendre toute la largeur du menu */
    .mobile-only-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
    }
    
    /* Optionnel : Ajustement des couleurs pour le menu mobile sombre */
    .mobile-only-actions .btn-secondary {
        border: 1px solid var(--primary);
        color: #ffffff;
    }
}
/* ================= POPUP FLOTTANT WHATSAPP ================= */

.whatsapp-chat-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999; /* Toujours au-dessus du reste du contenu */
    font-family: 'Inter', sans-serif;
}

/* Le bouton rond principal */
.whatsapp-trigger-btn {
    background-color: #25D366; /* Vert officiel WhatsApp */
    color: #ffffff;
    border: none;
    outline: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.whatsapp-trigger-btn:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

/* Badge de notification simulé pour inciter au clic */
.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff3b30;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Fenêtre de discussion (Popup) */
.whatsapp-popup {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(10, 26, 23, 0.25);
    border: 1px solid rgba(10, 26, 23, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    /* Logique d'affichage fluide */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Classe active injectée par le JS */
.whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* En-tête du popup */
.whatsapp-popup-header {
    background: linear-gradient(135deg, #0D5143 0%, #0A1A17 100%); /* Vos couleurs de marque */
    padding: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #25D366;
}

.whatsapp-header-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.whatsapp-header-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.whatsapp-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.whatsapp-close-btn:hover {
    color: #ffffff;
}

/* Corps du popup (Style bulle WhatsApp) */
.whatsapp-popup-body {
    padding: 24px 20px;
    background-color: #f0f5f4; /* Teinte légère rappelant le fond de l'application */
}

.whatsapp-msg {
    background-color: #ffffff;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.9rem;
    color: #112924;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    line-height: 1.4;
    margin: 0;
}

/* Pied du popup (Bouton d'action) */
.whatsapp-popup-footer {
    padding: 16px 20px;
    background-color: #ffffff;
}

.whatsapp-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.whatsapp-send-btn:hover {
    background-color: #20ba59;
    transform: translateY(-1px);
}

/* Adaptations écrans Mobiles */
@media (max-width: 480px) {
    .whatsapp-chat-container {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-popup {
        width: calc(100vw - 40px);
        bottom: 72px;
    }
}
/* ... garde le début du CSS WhatsApp identique (trigger-btn, popup, header) ... */

/* Corps du chat avec défilement si nécessaire */
.whatsapp-popup-body {
    padding: 20px;
    background-color: #f0f5f4; 
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-msg-row {
    display: flex;
    width: 100%;
}

.whatsapp-msg {
    background-color: #ffffff;
    padding: 10px 14px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.9rem;
    color: #112924;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    line-height: 1.4;
    max-width: 85%;
    margin: 0;
}

/* Bulle du message de l'utilisateur (quand il s'affiche dans le popup) */
.whatsapp-msg-row.user-sent {
    justify-content: flex-end;
}

.whatsapp-msg-row.user-sent .whatsapp-msg {
    background-color: #d9fdd3; /* Vert bulle WhatsApp utilisateur */
    border-radius: 12px 0 12px 12px;
    color: #112924;
}

/* Nouveau Pied de page avec champ de saisie intégré */
.whatsapp-popup-footer {
    padding: 12px 16px;
    background-color: #f0f5f4;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.whatsapp-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 6px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.whatsapp-input-group textarea {
    flex-grow: 1;
    border: none;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: #112924;
    padding: 4px 8px;
    background: transparent;
    max-height: 60px;
}

.whatsapp-input-group textarea::placeholder {
    color: #94a3b8;
}

/* Bouton d'envoi rond */
.whatsapp-action-btn {
    background: transparent;
    border: none;
    outline: none;
    color: #0D5143;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.2s ease;
}

.whatsapp-action-btn:hover {
    transform: scale(1.1);
    color: #25D366;
}
/* ================= POPUP MULTI-CANAUX VISUEL ================= */

/* Conteneur de la liste */
.social-channels-list {
    padding: 16px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Style de base d'un bouton de réseau */
.channel-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    background-color: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

/* Contenu textuel */
.channel-info {
    flex-grow: 1;
    margin-left: 14px;
}

.channel-info h5 {
    margin: 0 0 2px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0A1A17;
}

.channel-info p {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
}

/* Petite flèche grise à droite */
.channel-item .arrow {
    color: #cbd5e1;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

/* Les icônes rondes de chaque réseau */
.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
}

/* --- COULEURS ET EFFETS DÉDIÉS AU SURVOL --- */

/* WhatsApp */
.channel-item.whatsapp .channel-icon { background-color: #25D366; }
.channel-item.whatsapp:hover { background-color: #edfdf3; border-color: #25D366; }

/* Messenger */
.channel-item.messenger .channel-icon { background-color: #0084FF; }
.channel-item.messenger:hover { background-color: #e6f3ff; border-color: #0084FF; }

/* Instagram */
.channel-item.instagram .channel-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.channel-item.instagram:hover { background-color: #fff0f5; border-color: #dc2743; }

/* TikTok */
.channel-item.tiktok .channel-icon { background-color: #000000; }
.channel-item.tiktok:hover { background-color: #f1f1f1; border-color: #000000; }

/* Animation globale au survol */
.channel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.channel-item:hover .arrow {
    transform: translateX(3px);
    color: #64748b;
}
/* ================= BULLE D'ACCROCHE TEASER ================= */

.whatsapp-teaser {
    position: absolute;
    bottom: 76px; /* Positionné juste au-dessus du bouton */
    right: 0;
    width: 280px;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(10, 26, 23, 0.15);
    border: 1px solid rgba(10, 26, 23, 0.06);
    padding: 12px 16px;
    border-radius: 12px;
    animation: teaserFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
    pointer-events: none; /* Évite de bloquer les clics */
    z-index: 9998;
}

.whatsapp-teaser p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0A1A17;
    line-height: 1.4;
}

/* Petite flèche en bas du rectangle qui pointe vers le bouton */
.teaser-arrow {
    position: absolute;
    bottom: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    transform: rotate(45deg);
    border-right: 1px solid rgba(10, 26, 23, 0.06);
    border-bottom: 1px solid rgba(10, 26, 23, 0.06);
}

/* Classe pour masquer proprement le teaser en JS */
.whatsapp-teaser.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

/* Animation de flottement douce */
@keyframes teaserFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Ajustement mobile */
@media (max-width: 480px) {
    .whatsapp-teaser {
        width: 240px;
    }
}
/* ================= SECTION PARTENAIRES DÉFILANTS ================= */

.partners-carousel-section {
    padding: 40px 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent; /* Reste transparent pour laisser voir le fond du Hero */
}

/* La capsule principale : Blanc cassé, ovale comme la navbar */
.partners-capsule {
    max-width: 1300px;
    width: 100%;
    background-color: #f8f9fa; /* Magnifique blanc cassé épuré */
    border: 1px solid rgba(10, 26, 23, 0.05);
    border-radius: 100px; /* Forme ovale parfaite identique à la navbar */
    padding: 20px 40px;
    overflow: hidden; /* Masque tout ce qui dépasse de l'ovale */
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
}

/* Effet d'ombrage progressif sur les bords gauche/droite pour un rendu cinéma */
.partners-capsule::before,
.partners-capsule::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.partners-capsule::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}
.partners-capsule::after {
    right: 0;
    background: linear-gradient(270deg, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

/* Conteneur de l'animation */
.partners-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 25s linear infinite; /* Défilement continu et fluide */
}

/* Quand on survole la capsule, le défilement s'arrête doucement pour le confort visuel */
.partners-capsule:hover .partners-track {
    animation-play-state: paused;
}

/* Les blocs de logos */
.partners-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px; /* Espace régulier entre chaque logo */
    padding-right: 60px; /* Aligné avec le gap pour éviter les saccades */
}

/* Style des logos individuels */
.partners-group img {
    height: 35px; /* Ajuste la hauteur selon tes images */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%); /* Force les logos en gris pour rester sobre */
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Au survol d'un logo précis, il reprend ses couleurs / son intensité */
.partners-group img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ================= L'ANIMATION CSS DU DÉFILEMENT ================= */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Déplace exactement de la moitié de la largeur */
    }
}

/* Responsive Tablettes & Mobiles */
@media (max-width: 768px) {
    .partners-capsule {
        border-radius: 30px; /* Réduit un peu l'arrondi sur mobile pour garder de l'espace */
        padding: 16px 20px;
    }
    .partners-group {
        gap: 40px;
        padding-right: 40px;
    }
    .partners-group img {
        height: 28px; /* Un poil plus petit sur smartphone */
    }
}
/* ================= SECTION NOS KONVICTIONS ================= */

.konvictions-section {
    padding: 80px 24px;
    background: radial-gradient(circle at top right, rgba(13, 81, 67, 0.04) 0%, transparent 60%);
    width: 100%;
}

.konvictions-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* En-tête */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #0A1A17; /* Vert très sombre de votre marque */
    font-weight: 700;
    margin-bottom: 20px;
}

.section-header .subtitle-bold {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.section-header .subtitle-text {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* La Grille */
.konvictions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Les Cartes */
.konviction-card {
    background: #ffffff;
    border: 1px solid rgba(13, 81, 67, 0.08);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(13, 81, 67, 0.03), 0 5px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Petit effet de lévitation pro au survol */
.konviction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 81, 67, 0.08);
    border-color: rgba(13, 81, 67, 0.2);
}

/* Ligne supérieure de la carte */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(37, 211, 102, 0.08); /* Teinte verte claire */
    color: #0D5143; /* Couleur de marque principale */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-number {
    font-size: 3rem;
    font-weight: 800;
    color: #eef2f1; /* Grand numéro gris très clair en arrière-plan */
    line-height: 1;
}

/* Corps de la carte */
.card-body h3 {
    font-size: 1.4rem;
    color: #0A1A17;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1eb394; /* Vert éclatant pour le badge d'état */
    margin-bottom: 16px;
}

.card-body p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Footer de la carte */
.card-footer-info {
    margin-top: auto;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0A1A17;
    margin-bottom: 20px;
}

.check-item i {
    color: #25D366;
    font-size: 1rem;
}

/* Conteneur de l'image au bas de la carte */
.card-image {
    width: 100%;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Effet de zoom sur l'image interne au survol de la carte */
.konviction-card:hover .card-image img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .konvictions-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    .konvictions-section {
        padding: 50px 16px;
    }
    .konvictions-grid {
        grid-template-columns: 1fr; /* 1 seule colonne empilée sur mobile */
        gap: 24px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
}
.section-header h2 {
    font-family: 'Archivo', sans-serif; /* Pense à importer la police Archivo si ce n'est pas fait */
    font-size: 36px;
    font-weight: 900;
    font-style: normal;
    line-height: 150%; /* Équivaut à 54px */
    color: #0B3F34; /* Le vert très sombre et premium de KoneKtUs */
    align-self: stretch; /* Force le titre à occuper toute la largeur disponible dans son conteneur flex */
    
    /* Optionnel : un petit espace en dessous pour détacher le sous-titre */
    margin-bottom: 20px; 
}
.konvictions-section {
    padding: 80px 24px;
    /* Superpose l'image de fond et le dégradé radial pour un effet haut de gamme */
    background: radial-gradient(circle at top right, rgba(13, 81, 67, 0.04) 0%, transparent 60%), 
                url('img/bg.png') no-repeat center center;
    background-size: cover; /* Force l'image à couvrir toute la section sans se déformer */
    width: 100%;
}
/* Cet effet d'ombre est un "drop shadow" très diffus qui projette une teinte de vert pour créer un effet de profondeur et de relief sur les cartes blanches. */

.konviction-card {
    /* ... autres propriétés (background, border-radius, etc.) ... */
    
    /* L'effet d'ombre projeté en vert */
    box-shadow: 0px 10px 40px -10px rgba(13, 81, 67, 0.4);
    
    /* Explication des valeurs :
       0px : décalage horizontal (X)
       10px : décalage vertical (Y) vers le bas
       40px : flou (plus le chiffre est grand, plus le vert est diffus)
       -10px : étalement (permet de resserrer l'ombre pour un effet plus "drop")
       rgba(13, 81, 67, 0.4) : la couleur verte de marque KoneKtUs avec 40% d'opacité
    */
}
/* ================= GESTION DU BACKGROUND COMMUN ================= */

/* On applique le fond bg.png sur les deux sections de manière fluide */
.konvictions-section, 
.why-konektus-section {
    width: 100%;
    background: transparent; /* On laisse transparent si tu enveloppes le tout, sinon voir note plus bas */
}

/* Si les sections sont l'une après l'autre sans conteneur global, 
   on applique le bg de manière continue : */
.konvictions-section {
    padding: 80px 24px 40px 24px;
    background: radial-gradient(circle at top right, rgba(13, 81, 67, 0.04) 0%, transparent 60%), url('img/bg.png') no-repeat center top / cover;
}

.why-konektus-section {
    padding: 40px 24px 100px 24px;
    background: url('img/bg.png') no-repeat center bottom / cover;
}

.why-konektus-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* En-tête Pourquoi Choisir */
.why-header {
    margin-bottom: 50px;
    max-width: 800px;
}

.why-tag {
    display: inline-block;
    font-family: 'Archivo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1EB394; /* Vert vif */
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.why-header h2 {
    font-family: 'Archivo', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 140%;
    color: #1EB394;
    margin-bottom: 20px;
}

.why-header p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Grille des 5 cartes horizontales */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Les petites Cartes de Valeurs */
.value-card {
    background: #ffffff;
    border: 1px solid rgba(13, 81, 67, 0.06);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
    /* L'effet d'ombre verte identique demandé */
    box-shadow: 0px 10px 35px -10px rgba(13, 81, 67, 0.35);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 40px -8px rgba(13, 81, 67, 0.5);
    border-color: rgba(13, 81, 67, 0.2);
}

/* Icônes dans les cartes */
.value-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(37, 211, 102, 0.08);
    color: #0D5143;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.value-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0A1A17;
    line-height: 1.4;
    margin: 0;
}

/* Zone du Bouton CTA */
.why-cta-wrapper {
    display: flex;
    justify-content: flex-end; /* Aligne le bouton à droite comme sur la maquette */
}

.btn-en-savoir-plus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #02a884; /* Teinte verte du bouton Figma */
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2, 168, 132, 0.2);
}

.btn-en-savoir-plus:hover {
    background-color: #0B3F34; /* Devient plus sombre au survol */
    transform: translateX(2px);
    box-shadow: 0 6px 16px rgba(11, 63, 52, 0.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 cartes sur tablette paysage */
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cartes sur tablette portrait */
    }
    .why-header h2 {
        font-size: 28px;
    }
    .why-cta-wrapper {
        justify-content: center; /* Centré sur mobile */
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur smartphone */
    }
}
/* ================= CONTENEUR GLOBAL DE FOND CONTINU ================= */

.bg-shared-wrapper {
    width: 100%;
    /* L'image bg.png est appelée UNE SEULE FOIS ici pour tout le bloc complet */
    background: radial-gradient(circle at top right, rgba(13, 81, 67, 0.04) 0%, transparent 60%), 
                url('img/bg.png') no-repeat center center;
    background-size: cover;
}

/* On force les sections internes à être transparentes pour hériter du fond */
.konvictions-section {
    padding: 80px 24px 40px 24px;
    background: transparent !important;
}

.why-konektus-section {
    padding: 40px 24px 100px 24px;
    background: transparent !important;
}

.konvictions-section .container,
.why-konektus-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= TYPOGRAPHIE & EN-TÊTES ================= */

.section-header h2 {
    font-family: 'Archivo', sans-serif;
    font-size: 36px;
    font-weight: 900;
    font-style: normal;
    line-height: 150%;
    color: #0B3F34;
    align-self: stretch;
    margin-bottom: 20px;
}

.section-header .subtitle-bold {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.section-header .subtitle-text {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.why-header {
    margin-bottom: 50px;
    max-width: 800px;
}

.why-tag {
    display: inline-block;
    font-family: 'Archivo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1EB394;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.why-header h2 {
    font-family: 'Archivo', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 140%;
    color: #0B3F34;
    margin-bottom: 20px;
}

.why-header p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ================= GRILLES DE CARTES ================= */

/* Section 1 : Grille de 3 cartes */
.konvictions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Section 2 : Grille de 5 cartes */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* ================= COMPOSANT CARTE (DESIGN & OMBRES) ================= */

/* Communs pour les deux types de cartes */
.konviction-card,
.value-card {
    background: #ffffff;
    border: 1px solid rgba(13, 81, 67, 0.06);
    box-shadow: 0px 10px 40px -10px rgba(13, 81, 67, 0.35); /* Superbe ombre verte diffuse */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.konviction-card:hover,
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 15px 45px -8px rgba(13, 81, 67, 0.5); /* L'ombre s'accentue au survol */
    border-color: rgba(13, 81, 67, 0.2);
}

/* Spécificités grandes cartes (Konvictions) */
.konviction-card {
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-icon, .value-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(37, 211, 102, 0.08);
    color: #0D5143;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
}

.card-body h3 {
    font-size: 1.4rem;
    color: #0A1A17;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #25D366;
    margin-bottom: 16px;
}

.card-body p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0A1A17;
    margin-bottom: 20px;
}

.check-item i {
    color: #25D366;
}

.card-image {
    width: 100%;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spécificités petites cartes (Valeurs) */
.value-card {
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.value-icon {
    border-radius: 12px; /* Icône légèrement plus carrée pour varier */
}

.value-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0A1A17;
    line-height: 1.4;
    margin: 0;
}

/* ================= BOUTON ACTION & WRAPPER ================= */

.why-cta-wrapper {
    display: flex;
    justify-content: flex-end;
}

.btn-en-savoir-plus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #02a884;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2, 168, 132, 0.2);
}

.btn-en-savoir-plus:hover {
    background-color: #0B3F34;
    transform: translateX(2px);
}

/* ================= ADAPTATION RESPONSIVE ================= */

@media (max-width: 1024px) {
    .konvictions-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .konvictions-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .why-header h2, .section-header h2 { font-size: 28px; }
    .why-cta-wrapper { justify-content: center; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
}
.konvictions-grid .konviction-card {
    box-shadow: 0 10px 40px -10px rgba(13, 81, 67, 0.4);
}
/* ==========================================
   CSS POUR LES CARTES AVEC L'OMBRE SIGNATURE
   ========================================== */

/* Version standard appliquée sur vos cartes existantes */
.konviction-card {
    background: #ffffff;
    border: 1px solid rgba(30, 179, 148, 0.12); /* Légère bordure assortie */
    border-radius: 24px;
    padding: 32px;
    
    /* L'ombre verte KoneKtUs (#1eb394) :
       - 0px de décalage horizontal (X)
       - 12px de décalage vertical (Y) pour la projeter vers le bas
       - 40px de flou (très doux et vaporeux)
       - -10px d'étalement (resserré pour éviter l'effet "gros pâté" opaque)
       - rgba(30, 179, 148, 0.25) correspond à votre couleur #1eb394 à 25% d'opacité
    */
    box-shadow: 0px 12px 40px -10px rgba(30, 179, 148, 0.25);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Version dynamique au survol pour un effet de lévitation saisissant */
.konviction-card:hover {
    transform: translateY(-8px);
    
    /* L'ombre s'amplifie, devient plus lumineuse et plus diffuse au survol (35% d'opacité) */
    box-shadow: 0px 20px 50px -12px rgba(30, 179, 148, 0.35);
    
    border-color: rgba(30, 179, 148, 0.3);
}

/* Appliquez exactement la même logique de shadow sur vos petites cartes de valeurs 
   si vous souhaitez harmoniser le tout sur la page !
*/
.value-card {
    background: #ffffff;
    border: 1px solid rgba(30, 179, 148, 0.1);
    border-radius: 20px;
    box-shadow: 0px 10px 35px -10px rgba(30, 179, 148, 0.22);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 16px 45px -10px rgba(30, 179, 148, 0.32);
    border-color: rgba(30, 179, 148, 0.25);
}
/* ==========================================================================
   1. STRUCTURE GLOBAL & ARRIÈRE-PLAN (WRAPPER UNIQUE)
   ========================================================================== */

.bg-shared-wrapper {
    width: 100%;
    /* L'image de fond s'applique une seule fois sur tout le bloc */
    background: radial-gradient(circle at top right, rgba(30, 179, 148, 0.04) 0%, transparent 60%), 
                url('img/bg.png') no-repeat center center;
    background-size: cover;
}

/* Rendre les sections transparentes pour laisser passer le bg.png */
.konvictions-section,
.why-konektus-section,
.vision-section {
    background: transparent !important;
}


/* ==========================================================================
   2. LES OMBRES VERTES SIGNATURE KONEKTUS (#1eb394)
   ========================================================================== */

/* Grandes cartes (Nos Konvictions) */
.konvictions-grid .konviction-card {
    background: #ffffff;
    border: 1px solid rgba(30, 179, 148, 0.12);
    border-radius: 24px;
    padding: 32px;
    /* L'ombre verte diffuse et resserrée comme sur Figma */
    box-shadow: 0px 12px 40px -10px rgba(30, 179, 148, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.konvictions-grid .konviction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 50px -12px rgba(30, 179, 148, 0.35); /* Accentuation au survol */
    border-color: rgba(30, 179, 148, 0.3);
}

/* Petites cartes (Pourquoi choisir) */
.values-grid .value-card {
    background: #ffffff;
    border: 1px solid rgba(30, 179, 148, 0.1);
    border-radius: 20px;
    box-shadow: 0px 10px 35px -10px rgba(30, 179, 148, 0.22);
    transition: all 0.3s ease;
}

.values-grid .value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 16px 45px -10px rgba(30, 179, 148, 0.32);
    border-color: rgba(30, 179, 148, 0.25);
}


/* ==========================================================================
   3. SECTION NOTRE VISION : LAYOUT & TEXTES
   ========================================================================== */

.vision-section {
    padding: 20px 1px;
    width: 100%;
}

.vision-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.vision-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.vision-left {
    flex: 1;
}

.vision-right {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* --- TYPOGRAPHIE VISION --- */

.vision-tag {
    display: inline-block;
    color: #1eb394;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.vision-left h2 {
    color: #0B3F34;
    font-family: 'Archivo', sans-serif;
    font-size: 38px;
    font-weight: 900;
    line-height: 140%;
    margin: 0 0 24px 0;
}

/* Accentuation verte sur le span (...jamais l'inverse.) */
.vision-left h2 span {
    color: #1eb394;
    font-weight: 900;
}

.vision-left p {
    color: #4A5E5A;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 165%;
    margin-bottom: 32px;
    max-width: 550px;
}


/* ==========================================================================
   4. SECTION NOTRE VISION : HALO LUMINEUX & IMAGE
   ========================================================================== */

.vision-image-wrapper {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.vision-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

/* Le halo vert en arrière-plan de l'image */
.vision-image-wrapper::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(30, 179, 148, 0.45) 0%, transparent 70%);
    filter: blur(35px);
    z-index: 1;
    pointer-events: none;
}


/* ==========================================================================
   5. BARRE FLOTTANTE VERTE EN GRILLE (GLASSMORPHISM)
   ========================================================================== */

.vision-features-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.vision-features-bar {
    display: inline-grid;
    width: 100%;
    max-width: 1024px;
    padding: 32px;
    row-gap: 32px;
    column-gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    
    /* Tes propriétés exactes */
    border-radius: 16px;
    border: 1px solid rgba(45, 212, 191, 0.10);
    background: rgba(13, 81, 67, 0.80);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); /* Compatibilité iOS/Safari */
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #ffffff;
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2DD4BF; /* Vert vif pour l'icône */
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.feature-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}


/* ==========================================================================
   6. RESPONSIVE ADAPTATION
   ========================================================================== */

@media (max-width: 992px) {
    .vision-content-row {
        flex-direction: column-reverse; /* L'image passe au-dessus du texte */
        gap: 40px;
        text-align: center;
    }
    .vision-left p {
        margin-left: auto;
        margin-right: auto;
    }
    .vision-features-bar {
        grid-template-columns: 1fr; /* Passage sur 1 seule colonne sur mobile */
        padding: 24px;
    }
}
/* ==========================================================================
   CONTENEUR ET MASQUE DE L'IMAGE VISION (COUPE DU BAS EN MODE CIRCULAIRE)
   ========================================================================== */

.vision-image-wrapper {
    position: relative;
    max-width: 500px; /* Aligné sur la taille de ton image */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;

    /* --- LA MAGIE DE LA DÉCOUPE ASYMÉTRIQUE FIGMA ---
       Explication des valeurs : 
       Coins supérieurs : légers et subtils (40px)
       Coins inférieurs : très étirés horizontalement et verticalement (60% / 85%) 
       pour créer cette coupure en arc de cercle fluide sur le bas.
    */
    border-radius: 40px 40px 60% 60% / 40px 40px 85% 85%;
    
    /* Une petite bordure discrète pour lisser le contour découpé */
    border: 0px solid rgba(30, 179, 148, 0.15);
}

/* ==========================================================================
   HALO LUMINEUX VERT KONEKTUS (#1eb394) VIF ET PERMANENT
   ========================================================================== */

.vision-image-wrapper::after {
    content: '';
    position: absolute;
    
    /* On cale le halo pour qu'il épouse la forme globale de l'image */
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: 1;
    pointer-events: none; /* Ne bloque pas le clic ou la sélection */

    /* On applique la même découpe sur le halo pour un rendu parfait */
    border-radius: 40px 40px 60% 60% / 40px 40px 85% 85%;

    /* Mélange d'une lueur diffuse externe et d'un dégradé radial vif */
    background: radial-gradient(circle, rgba(30, 179, 148, 0.6) 0%, transparent 80%);
    
    /* Box-shadow néon vert intense visible CONSTAMMENT */
    box-shadow: 0 0 40px 10px rgba(30, 179, 148, 0.55);
    
    /* Flou pour l'effet de diffusion lumineuse vaporeuse */
    filter: blur(20px);
}
/* ==========================================================================
   VERSION RESPONSIVE : IMAGE VISION AVEC COUPE CIRCULAIRE & HALO PERMANENT
   ========================================================================== */

.vision-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px; /* Taille maximale sur grand écran */
    margin: 0 auto;   /* Centre l'image parfaitement sur mobile */
    display: block;
}

.vision-image-wrapper img {
    width: 100%;
    height: auto;
    /* aspect-ratio garantit que la découpe reste proportionnelle et ne s'écrase pas */
    aspect-ratio: 4 / 3; 
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;

    /* Découpe elliptique propre : s'adapte dynamiquement à la largeur de l'écran */
    border-radius: 40px 40px 50% 50% / 40px 40px 30% 30%;
    border: 0px solid rgba(30, 179, 148, 0.2);
}

/* Le halo lumineux vert KoneKtUs permanent et fluide */
.vision-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;

    /* Épouse exactement la même forme responsive que l'image */
    border-radius: 40px 40px 50% 50% / 40px 40px 30% 30%;

    /* Halo lumineux vert #1eb394 visible en continu */
    background: radial-gradient(circle, rgba(30, 179, 148, 0.5) 0%, transparent 80%);
    box-shadow: 0 0 35px 5px rgba(30, 179, 148, 0.4);
    filter: blur(15px);
}

/* ==========================================================================
   AJUSTEMENTS SPÉCIFIQUES POUR ÉCRANS MOBILES (Évite les débordements)
   ========================================================================== */
@media (max-width: 576px) {
    .vision-image-wrapper {
        max-width: 90%; /* Donne de l'air sur les côtés sur petit écran */
        margin-top: 20px;
    }

    .vision-image-wrapper img,
    .vision-image-wrapper::after {
        /* Sur mobile, on adoucit légèrement les rayons pour garder un rendu harmonieux */
        border-radius: 24px 24px 50% 50% / 24px 24px 25% 25%;
    }
}
/* ==========================================================================
   INTERACTION SUR LES CARTES DE VALEURS (EFFET EXPLORER)
   ========================================================================== */

/* Structure de base de la carte */
.value-card {
    position: relative; /* Crucial pour positionner le texte "Explorer" */
    background: #ffffff;
    border: 1px solid rgba(30, 179, 148, 0.1);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    overflow: hidden; /* Masque tout ce qui dépasse (comme le texte Explorer au début) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px; /* Assure une hauteur stable pour l'animation */
    
    /* Transition globale douce */
    box-shadow: 0px 10px 35px -10px rgba(30, 179, 148, 0.22);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Enveloppe du contenu initial (Icône + Titre) */
.card-initial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
}

/* Style du texte "Explorer" caché par défaut en bas */
.explore-text {
    position: absolute;
    bottom: 0; /* Positionné en bas à l'intérieur du masque */
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    /* Style du texte */
    color: #1eb394; /* Vert KoneKtUs */
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    
    /* État initial caché */
    opacity: 0;
    transform: translateY(20px); /* Poussé vers le bas */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease;
}

/* ==========================================================================
   EFFETS AU PASSAGE DE LA SOURIS (HOVER)
   ========================================================================== */

.value-card:hover {
    /* Éléments visuels de la carte qui se soulève */
    transform: translateY(-5px);
    box-shadow: 0px 16px 45px -10px rgba(30, 179, 148, 0.35);
    border-color: rgba(30, 179, 148, 0.3);
}

/* 1. Le contenu initial monte et s'efface */
.value-card:hover .card-initial-content {
    transform: translateY(-15px);
    opacity: 0;
}

/* 2. Le texte Explorer monte au centre et devient visible */
.value-card:hover .explore-text {
    opacity: 1;
    /* Centrage parfait à la place du contenu précédent */
    transform: translateY(-80px); 
}

/* Petite animation bonus sur la flèche au survol */
.explore-text i {
    transition: transform 0.3s ease;
}
.value-card:hover .explore-text i {
    transform: translateX(4px); /* La flèche se déplace vers la droite */
}
/* ==========================================================================
   INTERACTION SUR LES CARTES DE VALEURS (EFFET VERRE DÉPOLI / GLASSMORPHISM)
   ========================================================================== */

/* Structure de base de la carte (État normal : fond blanc opaque) */
.values-grid .value-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(30, 179, 148, 0.1);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    
    /* Transition fluide pour une métamorphose douce en verre */
    box-shadow: 0px 10px 35px -10px rgba(30, 179, 148, 0.22);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Enveloppe du contenu initial (Icône + Titre) */
.card-initial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
}

/* Style du texte "Explorer" caché par défaut en bas */
.explore-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    /* Blanc pur pour rester ultra-lisible sur le fond vert translucide */
    color: #ffffff; 
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    
    /* État caché initial */
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease;
}


/* ==========================================================================
   EFFETS AU SURVOL (HOVER) : TRANSFORMATION EN VERRE VERT TRANSPARENT
   ========================================================================== */

.values-grid .value-card:hover {
    /* 1. Fond vert KoneKtUs très léger (35% d'opacité) pour laisser passer le fond du site */
    background-color: rgba(30, 179, 148, 0.35);
    
    /* 2. L'effet magique : Floute à 8px ce qui se trouve derrière la carte */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Compatibilité Safari/iOS */
    
    /* 3. Bordure un peu plus lumineuse pour accentuer l'effet de plaque de verre */
    border-color: rgba(30, 179, 148, 0.5);
    
    /* 4. Élévation et halo vert extérieur */
    transform: translateY(-8px);
    box-shadow: 0px 20px 45px -10px rgba(30, 179, 148, 0.45);
}

/* Le contenu d'origine monte et s'efface */
.values-grid .value-card:hover .card-initial-content {
    transform: translateY(-20px);
    opacity: 0;
}

/* Le texte "Explorer" apparaît magnifiquement au centre */
.values-grid .value-card:hover .explore-text {
    opacity: 1;
    transform: translateY(-80px);
}

/* Animation de la flèche */
.explore-text i {
    transition: transform 0.3s ease;
}
.values-grid .value-card:hover .explore-text i {
    transform: translateX(5px);
}
/* ==========================================================================
   SECTION SERVICES : CARROUSEL ET ANIMATIONS HOVER AVANCEES
   ========================================================================== */

.services-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Grille de services qui déborde proprement pour laisser la place au défilement */
.services-grid {
    display: flex;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px 40px 5px;
    scrollbar-width: none; /* Cache la barre de défilement sur Firefox */
}

.services-grid::-webkit-scrollbar {
    display: none; /* Cache la barre de défilement sur Chrome/Safari */
}

/* --- LE CARREAU INDIVIDUEL (ETAT STANDARD) --- */
.service-card {
    flex: 0 0 calc(25% - 18px); /* 4 carreaux visibles sur grand écran */
    min-width: 260px;
    background: rgba(30, 179, 148, 0.15); /* Teinte vert clair transparente d'origine */
    border: 1px solid rgba(30, 179, 148, 0.1);
    border-radius: 24px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.05);
}

/* 1. L'image 3D verte */
.service-image-wrapper {
    width: 230px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Titre sous l'image */
.service-static-title h3 {
    font-family: 'Archivo', sans-serif;
    color: #0B3F34;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

/* 2. Texte de description masqué au centre (État Initial bas et invisible) */
.service-hover-text {
    position: absolute;
    top: 55%; /* Centrage vertical cible */
    left: 0;
    width: 100%;
    padding: 0 24px;
    text-align: center;
    z-index: 3;
    
    /* Caché et abaissé par défaut */
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease;
}

.service-hover-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4A5E5A;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   ANIMATIONS DYNAMIQUES AU PASSAGE DE LA SOURIS (HOVER EFFECT)
   ========================================================================== */

.service-card:hover {
    background: #ffffff; /* Le fond devient blanc brillant au survol */
    border-color: rgba(30, 179, 148, 0.25);
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px -10px rgba(30, 179, 148, 0.2);
}

/* L'image monte et réduit sa taille de 25% */
.service-card:hover .service-image-wrapper {
    transform: translateY(-25px) scale(0.75);
}

/* Le titre s'efface ou descend pour laisser place au texte explicatif */
.service-card:hover .service-static-title {
    opacity: 0;
    transform: translateY(10px);
}

/* Le texte explicatif monte au milieu et apparaît proprement */
.service-card:hover .service-hover-text {
    opacity: 1;
    transform: translateY(0); /* Atterrit au milieu parfait */
}

/* ==========================================================================
   BOUTON FLECHE DE DEROULEMENT (NAVIGATEUR DU SLIDER)
   ========================================================================== */

.slider-arrow {
    position: absolute;
    right: -20px; /* Positionné à cheval sur le bord droit */
    top: calc(50% - 10px);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid rgba(30, 179, 148, 0.2);
    color: #1eb394;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: #1eb394;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0px 8px 25px rgba(30, 179, 148, 0.3);
}

/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 1200px) {
    .service-card {
        flex: 0 0 calc(33.333% - 16px); /* 3 colonnes visibles sur tablette */
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 calc(50% - 12px); /* 2 colonnes sur tablette verticale */
    }
    .slider-arrow {
        right: 0px; /* Aligné sur les petits écrans */
    }
}

@media (max-width: 480px) {
    .service-card {
        flex: 0 0 100%; /* Pleine largeur sur mobile */
    }
}