/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
:root {
    --brand-primary: #2B909A;
    --brand-gradient: linear-gradient(135deg, #8C52FF, #FF914D);
    --text-dark: #0E1217;
    --font-logo: 'League Spartan', sans-serif;
    --font-ui: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-dark); overflow-x: hidden; line-height: 1.6; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }


/* ==========================================================================
   FIX RESPONSIVE : BLOCAGE DU SCROLL HORIZONTAL GLOBAL
   ========================================================================== */

html {
    scroll-behavior: smooth;
    /* Verrouille l'espace de la barre de scroll pour éviter le saut vers la droite */
    scrollbar-gutter: stable; 
}

body {
    width: 100%;
    /* Empêche le glissement horizontal sur mobile */
    overflow-x: hidden; 
    position: relative;
    font-family: var(--font-body);
    color: var(--text-dark);
}

body.no-scroll {
    /* On bloque uniquement le défilement */
    overflow: hidden; 
}

.modules-list {
    overflow-x: auto !important; 
    -webkit-overflow-scrolling: touch; 
}

.hero, .section-mobile-ready, .f-hero, .blog-billboard {
    overflow: hidden; 
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    width: 100%;
    height: 80px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header .container {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left, 
.nav-right {
    flex: 1 0 0;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
    gap: 15px;
}

.nav-left img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

/* MENU CENTRAL */
.nav-center {
    flex: 0 0 auto;
    display: flex;
    gap: 45px;
    list-style: none;
    transition: var(--transition);
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after, 
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--brand-primary);
}

/* ==========================================================================
   BOUTONS DE DROITE
   ========================================================================== */
.btn-nav {
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

.btn-contact {
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: var(--text-dark);
}

.btn-trial {
    background-color: var(--brand-primary);
    color: #fff !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--brand-primary);
    cursor: pointer;
}

.btn-trial::before {
    content: ''; position: absolute; top: var(--y); left: var(--x);
    width: 0; height: 0; background: #fff; border-radius: 50%;
    transform: translate(-50%, -50%); transition: width 0.5s ease, height 0.5s ease; z-index: -1;
}
.btn-trial:hover { color: var(--brand-primary) !important; }
.btn-trial:hover::before { width: 300px; height: 300px; }

/* ==========================================================================
   RESPONSIVE MOBILE (FIX)
   ========================================================================== */
.nav-toggle, .nav-close, .mobile-only { display: none; }

@media screen and (max-width: 992px) {
    /* Le menu se transforme en volet latéral */
    .nav-center {
        position: fixed; top: 0; right: -100%; /* Caché */
        width: 80%; height: 100vh; background: #fff;
        flex-direction: column; justify-content: flex-start;
        padding: 100px 40px; z-index: 2000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-center.show-menu { right: 0; } /* Affiché */

    .nav-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1100; }
    .nav-toggle span { width: 25px; height: 3px; background: var(--brand-primary); }
    
    .nav-close { display: block; position: absolute; top: 25px; right: 25px; font-size: 24px; cursor: pointer; }
    
    .mobile-only { display: block; }
    .hide-mobile { display: none; }
}



/* --- MODALE ESSAI GRATUIT --- */
.modal-emblem {
    height: 60px;
    width: auto;
    margin: 0 auto 10px;
    display: block;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 10px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
}

.modal-form input, 
.modal-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.modal-form input:focus, 
.modal-form select:focus {
    border-color: var(--brand-primary);
}

.input-readonly {
    background-color: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    border-style: dashed !important;
}

/* --- BOUTON MODALE --- */
.btn-send-trial {
    background-color: var(--brand-primary);
    color: #ffffff !important;
    border: none;
    padding: 10px;
    width: 10%;
    border-radius: 2px;
    font-weight: 100;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-send-trial::before {
    display: none !important;
}

.btn-send-trial:hover {
    background-color: #1a6d75;
    transform: none !important;
}

.status-msg {
    font-size: 13px;
    text-align: center;
    min-height: 20px;
}


/* ==========================================================================
   SECTION HERO & FEATURES
   ========================================================================== */

.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #F4F9F9 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden; 
}

.hero .container {
    max-width: 1700px; 
    width: 95%;
    margin: 0 auto;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

/* --- TEXTE GAUCHE --- */
.hero-text {
    flex: 1;
    text-align: left;
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-logo);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-title span {
    color: var(--brand-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 550px;
    line-height: 1.6;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.imac-img {
    width: 110%;
    max-width: 850px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.12));
    transition: transform 0.5s ease;
}

.hero-visual:hover .imac-img {
    transform: scale(1.1) ;
}

/* Formes décoratives ajustées */
.shape {
    position: absolute;
    border-radius: 20px;
    z-index: 1;
}

.shape-1 {
    width: 60px; height: 60px;
    background: var(--brand-primary);
    top: 5%; left: -30px;
    transform: rotate(15deg);
    opacity: 0.8;
}

.shape-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px; right: -150px;
    opacity: 0.1;
}

/* ==========================================================================
   GRILLE DES 4 CARTES
   ========================================================================== */
.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
    margin-top: 40px;
    justify-content: center;
}

.f-card {
    padding: 30px 25px; /* Padding généreux pour laisser respirer */
    
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center; 
    text-align: center;     
}

.f-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.f-icon img {
    height: 200px;
    width: auto;
    display: block;
    border-radius: 100px;
    
    /* On part d'un état visible mais gris pour être SÛR de voir l'image */
    clip-path: inset(0 0 0 0); 
    filter: grayscale(100%);
    opacity: 0.3;
    
    transition: clip-path 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 1s ease, 
                opacity 0.8s ease;
}

/* L'état animé déclenché par le JS */
.f-card.is-animated .f-icon img {
    clip-path: inset(0 0 0 0) !important;
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* Animation de secours si JS met trop de temps */
.f-icon img {
    animation: fallbackShow 0.5s forwards;
    animation-delay: 2s; /* S'affiche après 2s même sans scroll si bug */
}

@keyframes fallbackShow {
    to { opacity: 1; filter: grayscale(0%); }
}

.f-card h3 {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.f-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    max-width: 220px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1200px) {
    .features-mini-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 600px) {
    .features-mini-grid {
        grid-template-columns: 1fr;
    }
    .f-card {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 1200px) {
    .imac-img { max-width: 650px; }
    .hero-title { font-size: 3rem; }
}

@media screen and (max-width: 992px) {
    .hero { padding: 120px 0 60px; }
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    .hero-text { text-align: center; }
    .hero-subtitle { margin: 0 auto; }
    .hero-visual { 
        justify-content: center; 
        width: 100%;
        flex: none;
    }
    .imac-img { width: 100%; max-width: 500px; }
}



/* ==========================================================================
   VAGUES DYNAMIQUES (PARALLAX EFFECT)
   ========================================================================== */
.waves-container {
    width: 100%;
    background-color: #F4F9F9;
    line-height: 0;
    margin-bottom: -1px;
}

.waves-svg {
    position: relative;
    width: 100%;
    height: 120px;
    min-height: 100px;
    max-height: 150px;
}

/* Animation des calques */
.parallax-layers > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

/* Chaque couche a une vitesse et un délai différent pour le réalisme */
.parallax-layers > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax-layers > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax-layers > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax-layers > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* --- SECTION POURQUOI --- */
.section-why {
    padding: 20px 25px;
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-family: var(--font-logo);
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-title span { color: var(--brand-primary); }

.section-subtitle {
    font-family: var(--font-ui);
    color: var(--text-light);
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
    .waves-svg { height: 60px; }
}



/* ==========================================================================
   SÉPARATEUR HORIZONTAL CENTRÉ
   ========================================================================== */
.section-divider {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.line-centered {
    width: 100px; 
    height: 2px; 
    background: var(--brand-primary); 
    border-radius: 10px; 
    opacity: 0.5;
}



/* ==========================================================================
   SECTION FONCTIONNALITÉS PHARES
   ========================================================================== */
.section-gh-features {
    padding: 100px 0;
}

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

/* --- TABS NAVIGATION --- */
.gh-tabs-container {
    width: 100%;
    margin-bottom: 40px;
    border-bottom: 5px solid #eef2f6;
}

.gh-tabs-list {
    display: flex;
    justify-content: center;
    gap: 80px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 20px;
}

.gh-tabs-list::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.gh-tab-btn {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.gh-tab-btn img {
    height: 50px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
}

.gh-tab-btn span {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
}

/* État Actif */
.gh-tab-btn.active {
    border-bottom-color: var(--brand-primary);
}

.gh-tab-btn.active img, .gh-tab-btn:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.gh-tab-btn.active span {
    color: var(--brand-primary);
}

/* --- CONTENT BOX (Le Split) --- */
.gh-content-box {
    background: #fcfdfe;
    border-radius: 20px;
    padding: 50px;
    border: 1px solid #edf2f7;
    box-shadow: 0 20px 60px rgba(0,0,0,0.03);
}

.gh-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Image à gauche, Texte à droite */
    align-items: center;
    gap: 60px;
}

.gh-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.gh-text-wrapper h3 {
    font-family: var(--font-logo);
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.gh-text-wrapper p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .gh-content-box { padding: 30px; }
    .gh-content-grid { gap: 30px; }
}

@media (max-width: 992px) {
    .gh-tabs-list { justify-content: flex-start; padding-left: 20px; }
    
    .gh-content-grid {
        grid-template-columns: 1fr; /* Pile sur mobile */
        text-align: center;
    }
    
    .gh-image-wrapper { order: 2; } /* Image en bas sur mobile */
    .gh-text-wrapper { order: 1; }  /* Texte en haut sur mobile */
    
    .gh-text-wrapper h3 { font-size: 24px; }
}


/* ==========================================================================
   SÉPARATEUR HORIZONTAL (VARIANTE LONGUE)
   ========================================================================== */

.line-centered {
    height: 2px;
    background: var(--brand-primary);
    border-radius: 10px;
    opacity: 0.8;
    transition: width 0.4s ease;
}

.line-long {
    width: 200px; 
    opacity: 0.6;
}

@media (max-width: 768px) {
    .line-long {
        width: 100px;
    }
}


/* ==========================================================================
   CENTRAGE DE L'EN-TÊTE DE SECTION
   ========================================================================== */
.section-header {
    text-align: center;       
    max-width: 700px;         
    margin: 0 auto 50px;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-logo);
    font-size: clamp(2rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--brand-primary);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 24px;
    }
    .section-subtitle {
        font-size: 15px;
    }
}

/* --- CARDS LAYOUT --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--brand-primary);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* --- HEADER ET PRIX --- */
.p-header { padding: 30px 25px; border-bottom: 1px solid #f1f5f9; }
.p-header h3 { font-family: var(--font-logo); font-size: 24px; color: #1e293b; margin-bottom: 5px; }
.p-tagline { font-size: 14px; color: #64748b; margin-bottom: 15px; }

.p-price { font-family: var(--font-logo); font-size: 42px; font-weight: 800; color: #0f172a; line-height: 1; }
.p-price span { font-size: 14px; color: #64748b; }

/* --- BOUTON COMMANDER --- */
.btn-commander {
    display: block;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    background: #ffffff;
    color: var(--brand-primary) !important;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
    border: 1px solid var(--brand-primary);
}

.btn-commander::before {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 0;
    height: 0;
    background: var(--brand-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-commander:hover {
    color: #ffffff !important;
}

.btn-commander:hover::before {
    width: 600px;
    height: 600px;
}


/* ==========================================================================
   STYLE UNIQUE POUR LES BOUTONS DE MODALES
   ========================================================================== */

.btn-modal-submit {
    display: block;
    width: 100%;
    background-color: var(--brand-primary);
    color: #ffffff !important;
    padding: 14px;
    border-radius: 6px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(43, 144, 154, 0.2);
}

/* ON DÉSACTIVE TOUTE ANIMATION DE TRAJECTOIRE ICI */
.btn-modal-submit::before, 
.btn-modal-submit::after {
    display: none !important;
    content: none !important;
}

.btn-modal-submit:hover {
    background-color: #1a6d75; 
    box-shadow: 0 6px 15px rgba(43, 144, 154, 0.3);
}

.btn-modal-submit:active {
    transform: translateY(0);
}

/* --- FEATURE LIST --- */
.p-body { padding: 70px; margin-bottom: -50px; margin-top: -50px; }
.feature-group { margin-bottom: 20px; }
.group-title { font-size: 12px; font-weight: 800; color: #94a3b8; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 1px; }

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
    color: #334155;
}

.feature-list .check { color: #22c55e; margin-right: 10px; font-weight: bold; }
.feature-list .info {
    margin-left: auto; width: 16px; height: 16px;
    border: 1px solid #cbd5e1; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; color: #94a3b8; cursor: help;
}

.best-seller { background: var(--brand-primary); color: #fff; text-align: center; padding: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; }

/* --- L'ALIGNEUR (CONTENEUR) --- */
.p-promo-row {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-bottom: 12px;
}

/* --- LE PRIX BARRÉ --- */
.old-price {
    font-size: 16px;
    text-decoration: line-through;
    color: #475569; 
    font-weight: 500;
    opacity: 0.8;
}

/* --- PASTILLE ÉCONOMISEZ --- */
.discount-pill {
    background-color: #dcfce7; 
    color: #166534;           
    padding: 4px 12px;        
    border-radius: 50px;      
    font-size: 13px;
    font-weight: 700;         
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* --- DÉTAIL TAXE --- */
.p-tax-detail {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.p-tax-detail span {
    color: var(--brand-primary);
    font-weight: 700;
}

.pricing-card .btn-commander {
    margin-top: 15px;
}


/* ==========================================================================
   SECTION CTA FONCTIONNALITÉS
   ========================================================================== */
.section-cta-features {
    padding: 40px 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-features {
    display: inline-block;
    background-color: #000000; /* Noir profond pour le contraste */
    color: #ffffff !important;
    padding: 10px 20px;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Pour l'effet de remplissage */
    z-index: 1;
    transition: color 0.4s ease;
    border: 1px solid #000000;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-features::before {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 0;
    height: 0;
    background: var(--brand-gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-features:hover::before {
    width: 900px;
    height: 900px;
}

/* Animation au scroll (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* ==========================================================================
   RESPONSIVE : SECTION CTA FONCTIONNALITÉS
   ========================================================================== */

@media screen and (max-width: 768px) {
    .section-cta-features {
        padding: 50px 0 100px;
    }

    .btn-features {
        width: 80%;
        max-width: 340px;
        padding: 14px 20px; 
        font-size: 16px;
        
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-features:hover::before {
        width: 600px;
        height: 600px;
    }
}

@media screen and (max-width: 480px) {
    .btn-features {
        font-size: 15px;
        padding: 12px 15px;
        max-width: 100%;
    }
}



/* ==========================================================================
   SECTION PHILOSOPHIE
   ========================================================================== */
.section-philosophy {
    padding: 1px 24px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.philosophy-content {
    max-width: 1100px;
    text-align: center;
}

.philosophy-title {
    font-family: var(--font-logo);
    font-size: clamp(1rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.philosophy-title span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.philosophy-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 2;
    margin: 0 auto;
}

.philosophy-text strong {
    color: var(--brand-primary);
    font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .section-philosophy {
        padding: 10px 10px;
    }
    
    .philosophy-title {
    font-family: var(--font-logo);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
    }

    .philosophy-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}



/* ==========================================================================
   SECTION TÉMOIGNAGE (DG I-SOLUTIONS)
   ========================================================================== */
.section-testimonial {
    padding: 100px 24px;
    background-color: #ffffff;
    text-align: center;
}

.testimonial-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Guillemets géants */
.quote-mark {
    font-family: var(--font-logo);
    font-size: 6rem;
    line-height: 1;
    color: var(--brand-primary);
    display: block;
    margin-bottom: -10px;
    opacity: 1;
}

.testimonial-text {
    padding: 1px;
    font-family: var(--font-logo);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 50px;
}

/* --- BLOC SIGNATURE --- */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: left;
}

.author-avatar {
    width: 150px;
    height: 100px;
    border-radius: 20%;
    overflow: hidden;
    background-color: var(--text-dark); /* Fond noir si logo transparent */
    border: 4px solid #f4f9f9;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.author-position {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.author-link {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition);
}

.author-link:hover {
    color: var(--grad-start);
}

/* --- RESPONSIVE TESTIMONIAL --- */
@media (max-width: 768px) {
    .section-testimonial {
        padding: 60px 20px;
    }

    .testimonial-author {
        flex-direction: column; /* On empile sur mobile */
        text-align: center;
    }

    .author-avatar {
        width: 90px;
        height: 90px;
    }
}



/* ==========================================================================
   SECTION GESTION INTELLIGENTE
   ========================================================================== */
.section-mobile-ready {
    padding: 10px 0;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

/* --- CONTENU TEXTE (GAUCHE) --- */
.mobile-title {
    font-family: var(--font-logo);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 35px;
    line-height: 1.3;
    text-transform: uppercase;
}

.mobile-title span {
    background: var(--brand-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mobile-list {
    margin-bottom: 40px;
}

.mobile-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.check-icon {
    color: var(--brand-primary);
    font-weight: 900;
    font-size: 1.1rem;
    padding-top: 3px;
}

.mobile-list p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

/* --- BOUTON DÉCOUVRIR --- */
.btn-discover {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--brand-primary);
    color: #ffffff !important;
    padding: 15px 25px;
    min-width: 300px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-discover .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-discover:hover .arrow {
    transform: translateX(8px);
}

/* --- VISUEL (DROITE) --- */
.mobile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-image img {
    width: 70%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    /* Ombre décalée signature */
    box-shadow: -75px 25px 0px #2B909A; 
    transition: var(--transition);
}

/* --- ANIMATIONS DE BASE (CLASSES JS) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .section-mobile-ready {
        padding: 60px 0;
    }

    .mobile-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .mobile-image {
        order: -1; /* L'image passe au-dessus sur mobile */
    }

    .mobile-image img {
        max-width: 85%;
        /* Inversion de l'ombre pour le mobile pour plus d'équilibre */
        box-shadow: 15px 15px 0px #F4F9F9; 
    }

    .mobile-list li {
        text-align: left;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-discover {
        width: 100%;
        max-width: 400px;
    }
}



/* ==========================================================================
   HEADER DYNAMIQUE
   ========================================================================== */
.header {
    /* ... tes styles existants ... */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s ease, 
                height 0.3s ease;
    will-change: transform; /* Optimisation pour le navigateur */
}

/* Classe injectée par le JS pour masquer le header */
.header-hidden {
    transform: translateY(-100%);
}



/* ==========================================================================
   SECTION TRAVAILLONS ENSEMBLE
   ========================================================================== */
.section-work-together {
    position: relative;
    padding: 150px 0px;
    background-image: url('img/background.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

/* Sombre l'image pour faire ressortir le texte */
.work-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 26, 31, 0.75);
    z-index: 1;
}

.work-content {
    position: relative;
    z-index: 2;
}

.work-title {
    font-family: var(--font-logo);
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 100;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.work-title span {
    color: var(--brand-primary);
}

/* --- LES BOUTONS PILULES --- */
.contact-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 35px;
    border-radius: 100px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-decoration: none;
    color: #ffffff !important;
}

/* Ajustement des icônes SVG dans les pilules */
.pill-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
}

.pill-icon svg {
    width: 100%;
    height: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .section-work-together {
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .contact-pills {
        flex-direction: column;
        align-items: center;
    }

    .pill {
        width: 100%;
        justify-content: center;
        padding: 15px 25px;
    }
}



/* ==========================================================================
   SECTION NEWSLETTER
   ========================================================================== */
.section-newsletter-clean {
    padding: 60px 0;
    background-color: #eeeeee;
}

.news-clean-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.news-clean-text {
    flex: 1;
}

.news-clean-text h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    line-height: 1.3;
    max-width: 550px;
}

/* --- FORMULAIRE --- */
.news-clean-form {
    display: flex;
    flex: 1;
    gap: 0;
    position: relative;
}

.news-clean-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    font-family: var(--font-body);
    outline: none;
}

.btn-news-submit {
    background-color: #000000;
    color: #ffffff;
    padding: 0 35px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-news-submit:hover {
    background-color: var(--brand-primary);
}

/* Message de succès/erreur sous le formulaire */
#news-status {
    position: absolute;
    bottom: -30px;
    left: 0;
    font-size: 13px;
    font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .news-clean-flex {
        flex-direction: column;
        text-align: left;
    }
    .news-clean-form {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .news-clean-form {
        flex-direction: column;
        gap: 10px;
    }
    .btn-news-submit {
        padding: 15px;
    }
}



/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #F5F5F5;
    padding: 1px 0 15px; 
    color: #2B909A;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: -10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

.rating-mini {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-primary);
    font-weight: 700;
    opacity: 0.9;
}

/* --- FOOTER LINKS & WHATSAPP --- */
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.legal-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--text-dark);
    font-family: var(--font-ui);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-links button:hover {
    color: var(--brand-primary);
}

.sep {
    color: rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ICÔNE WHATSAPP OFFICIELLE */
.whatsapp-footer {
    display: flex;
    align-items: center;
    color: #25D366; 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    margin-left: 15px; 
}

.whatsapp-footer svg {
    width: 50px;
    height: 50px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column; /* Empile les liens et l'icône */
        gap: 20px;
        text-align: center;
    }

    .legal-group {
        justify-content: center;
        width: 100%;
    }
    
    .whatsapp-footer {
        margin-left: 0; 
        margin-top: 10px;
    }
}

/* --- COPYRIGHT --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    color: #0E1217;
}

/* ==========================================================================
   MODALES
   ========================================================================== */
.modal {
    border: none;
    border-radius: 16px;
    padding: 0;
    max-width: 550px;
    width: 92%;
    background-color: #ffffff;
    /* FIX CENTRAGE ABSOLU */
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.modal::backdrop {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    padding: 40px;
}

.close-modal {
    position: absolute;
    top: 40px;
    right: 20px;
    background: #F1F5F9;
    width: 35px; height: 35px;
    border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #64748B;
    cursor: pointer; transition: 0.3s;
}

.modal-header {
    text-align: left;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-family: var(--font-logo);
    color: var(--brand-primary);
    font-size: 25px;
    margin: 0;
    text-align: left;
}

.modal-block { 
    margin-bottom: 20px; 
    text-align: left;
    font-size: 14px;
}

.modal-block h4 {
    font-size: 15px; font-weight: 700; letter-spacing: 1px;
    color: #1E293B; margin-bottom: 6px;
    text-align: left;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .footer { padding: 30px 0 20px; }
    .footer-logo { height: 100px; margin-bottom: 5px; }
    .footer-bottom { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
    .modal-wrapper { padding: 40px 25px; }
}



/* --- SECTION CHALLENGE --- */
.section-challenge { padding: 1px 4px; }
.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #f8fafc;
    padding: 30px;
    border-radius: 1px;
}
.tag-alert {
    display: inline-block;
    background: rgba(43, 144, 154, 0.1);
    color: var(--brand-primary);
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
}
.challenge-box h2 { font-family: var(--font-logo); font-size: 2.2rem; margin-bottom: 20px; }
.challenge-box p { color: var(--text-light); }
.solution-box { border-left: 4px solid var(--brand-primary); padding-left: 30px; }

/* --- BENEFITS GRID --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.benefit-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    border-bottom: 3px solid transparent;
}
.benefit-card:hover { border-color: var(--brand-primary); transform: translateY(-5px); }

/* --- STYLE DES ICÔNES DE BÉNÉFICES --- */
.benefit-icon {
    width: 60px;  
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 100%;     
    height: auto;
    max-height: 60px;
    object-fit: contain; 
    transition: transform 0.3s ease;
}

.benefit-card h4 { font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
.benefit-card p { font-size: 14px; color: var(--text-light); }

/* --- PROCESS STEPS --- */
.section-process { padding: 10px 1px; text-align: center; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.step { position: relative; padding: 20px; text-align: center; }
.step-number {
    width: 50px; height: 50px;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
}
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 13px; color: var(--text-light); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .challenge-grid { grid-template-columns: 1fr; padding: 30px; }
    .solution-box { border-left: none; border-top: 4px solid var(--brand-primary); padding: 20px 0 0; }
}



/* ==========================================================================
   PAGE FONCTIONNALITÉS : HERO SECTION
   ========================================================================== */
.f-hero {
    padding: 50px 0 50px;
    background-color: #ffffff;
    overflow: hidden;
}

.f-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

/* --- TYPOGRAPHIE --- */
.f-tag {
    display: block;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.f-hero-text h1 {
    font-family: var(--font-logo);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: #0f172a;
    line-height: 1;
    margin-bottom: 30px;
}

.f-hero-text h1 span {
    display: block;
    color: var(--brand-primary);
}

.f-hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 580px;
    line-height: 1.6;
}

/* --- VISUEL 3D --- */
.f-hero-visual {
    position: relative;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.f-shape {
    position: absolute;
    will-change: transform;
}

.f-shape img {
    width: 100%;
    height: auto;
    display: block;
    /* On force la suppression de tout filtre pour garder la netteté */
    filter: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

/* Positionnement initial des 3 formes */
.f-shape-1 { width: 160px; top: 5%; left: 0%; z-index: 3; }
.f-shape-2 { width: 130px; top: 30%; right: 5%; z-index: 1; }
.f-shape-3 { width: 180px; bottom: 5%; left: 20%; z-index: 2; }

/* --- ANIMATIONS DE FLOTTAISON (GPU ACCELERATED) --- */
@keyframes floatUp {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -20px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes floatDown {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 20px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.float-anim { animation: floatUp 6s ease-in-out infinite; }
.float-anim-reverse { animation: floatDown 7s ease-in-out infinite; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .f-hero { padding: 120px 0 60px; }
    .f-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .f-hero-text p { margin: 0 auto; }
    .f-hero-visual { height: 380px; margin-top: 40px; }
    .f-shape-1 { width: 110px; }
    .f-shape-2 { width: 90px; }
    .f-shape-3 { width: 130px; }
}



/* ==========================================================================
   GRILLE FONCTIONNALITÉS - ALIGNEMENT PRO PAR PAIRES
   ========================================================================== */

.f-grid-main {
    padding: 80px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    /* On définit 2 colonnes égales sur Desktop */
    grid-template-columns: 1fr 1fr; 
    /* Espace entre colonnes (40px) et lignes (80px) */
    gap: 100px 40px; 
    /* CRUCIAL : Aligne les modules en haut pour qu'ils gardent leur taille naturelle */
    align-items: start; 
}

.f-category {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* --- TITRES --- */
.f-cat-title {
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    width: fit-content;
}

.f-cat-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--brand-primary);
    border-radius: 10px;
}

/* --- GRILLE DE CARTES --- */
.f-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 5px;
    width: 100%;
}

/* --- CARTES --- */
.f-card-item {
    background:var(--brand-primary);
    border: 1px solid #eef2f6;
    padding: 10px 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    min-height: 10px;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.f-card-item:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(43, 144, 154, 0.1);
}

.f-card-item span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    line-height: 1.2;
}

.f-category .f-cards-wrapper {
    justify-content: start;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .f-grid-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .f-cat-title {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .f-cat-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .f-cards-wrapper {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .f-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- CARTES --- */
.f-card-item {
    background: var(--brand-primary);
    padding: 10px 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    min-height: 10px;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.f-card-item img {
    height: 40px;
    width: auto;
    margin-bottom: 5px;
    filter: brightness(0) invert(1); 
}

.f-card-item span {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    color: #ffffff;
}



/* ==========================================================================
   MODALE FONCTIONNALITÉS
   ========================================================================== */
.modal {
    border: none;
    border-radius: 16px;
    padding: 0;
    max-width: 550px;
    width: 90%;
    background-color: #ffffff;
    /* Verrouillage au centre exact */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    z-index: 2000;
}

/* L'arrière-plan flouté (Backdrop) */
.modal::backdrop {
    background: rgba(15, 23, 42, 0.8); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- HEADER DE LA MODALE AVEC ICÔNE --- */
.modal-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.modal-icon-circle {
    width: 48px;
    height: 48px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(43, 144, 154, 0.2);
}

.modal-icon-circle img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1); 
}

.modal-header h3 {
    font-family: var(--font-logo);
    color: var(--brand-primary);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding-left: 63px;
}

@media (max-width: 600px) {
    .modal-title-container { gap: 10px; }
    .modal-icon-circle { width: 40px; height: 40px; }
    .modal-icon-circle img { width: 20px; height: 20px; }
    .modal-body { padding-left: 0; }
}

.modal-wrapper {
    position: relative;
    padding: 50px 40px;
}

/* --- BOUTON FERMER --- */
.close-modal {
    position: absolute;
    top: 30px;
    right: 27px;
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- HOVER DE BOUTON FERMER --- */
.close-modal:hover {
    background-color: var(--brand-primary);
    color: #ffffff;                       
    box-shadow: 0 4px 12px rgba(43, 144, 154, 0.3);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-family: var(--font-logo);
    color: var(--brand-primary);
    font-size: 25px;
    margin: 0;
}

.modal-block p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
}

@keyframes modalIn {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 600px) {
    .modal-wrapper { padding: 40px 25px; }
}

/* Bloque le scroll du body sans décalage de mise en page */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}



/* ==========================================================================
   SECTION PORTÉE SOUHAITÉE
   ========================================================================== */
.section-scope {
    padding: 50px 24px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- FLUX CONTINU --- */
.scope-loader-line {
    width: 130px;
    height: 4px;
    background: var(--brand-primary);
    margin-bottom: 10px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.scope-loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    animation: lineSlide 3s infinite linear;
}

@keyframes lineSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.scope-title-wrapper {
    position: relative;
    display: inline-block;
    padding: 0 10px;
}

.title-bg-bar {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--brand-primary);
    opacity: 0.1;
    z-index: -1;
}

.scope-title {
    font-family: var(--font-logo); /* League Spartan */
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CONTENU --- */
.scope-content {
    max-width: 800px;
    margin-top: 30px;
}

.scope-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.scope-content strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .section-scope { padding: 60px 20px; }
    .scope-title { font-size: 24px; }
    .scope-content p { font-size: 1rem; }
}


/* ==========================================================================
   EN-TÊTE DE BLOG
   ========================================================================== */
.blog-header {
    text-align: center;
    padding-top: 120px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
}

.blog-main-title {
    font-family: var(--font-logo);
    font-size: clamp(2rem, 4vw, 1.5rem);
    font-weight: 10;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.blog-header .section-divider {
    padding: 0;
    margin-bottom: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    /* --- EN-TÊTE DU BLOG --- */
    .blog-header {
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .blog-main-title {
        font-size: 22px; 
        font-weight: 800;
        line-height: 1.2;
        padding: 0 15px;
    }

    .blog-header .line-long {
        width: 100px;
        height: 3px;
    }
}

/* ==========================================================================
   BLOG BILLBOARD
   ========================================================================== */
.blog-billboard {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    background-color: #000;
    overflow: hidden;
}

.billboard-slider {
    width: 100%;
    height: 100%;
}

.bb-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: 100% auto; 
    background-position: center;
    background-repeat: no-repeat;
    background-position: center 10%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.bb-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.bb-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 26, 31, 0.95) 0%, rgba(15, 26, 31, 0.4) 60%, transparent 100%);
}

.bb-content {
    position: relative;
    z-index: 5;
    color: #ffffff;
    max-width: 850px;
}

.bb-tag {
    display: inline-block;
    color: var(--brand-primary);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.bb-content h2 {
    font-family: var(--font-logo);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.bb-content p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
}

/* --- NAVIGATION BARRES --- */
.bb-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.bb-bar {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s;
}

.bb-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--brand-primary);
}

.bb-bar.active span {
    animation: progressLine 7s linear forwards;
}

@keyframes progressLine {
    from { width: 0; }
    to { width: 100%; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .blog-billboard {
        height: 550px;
        min-height: 550px;
    }

    .bb-slide {
        background-size: cover !important; 
        background-position: center center !important;
        align-items: center;
        text-align: center;
    }

    .bb-overlay {
        background: linear-gradient(to top, 
            rgba(15, 26, 31, 0.95) 0%, 
            rgba(15, 26, 31, 0.6) 50%, 
            rgba(15, 26, 31, 0.9) 100%);
    }

    .bb-content {
        padding: 0 20px 60px 20px;
        width: 100%;
    }

    .bb-tag {
        font-size: 11px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .bb-content h2 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .bb-content p {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
        opacity: 0.9;
    }

    .bb-nav {
        bottom: 30px;
        gap: 8px;
    }

    .bb-bar {
        width: 40px; 
        height: 3px; 
    }
}



/* ==========================================================================
   PRICING BANNER
   ========================================================================== */
.pricing-banner {
    position: relative;
    width: 100%;
    height: 70vh; 
    min-height: 500px;
    background-color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 75px;
}

/* --- EFFET MESH GRADIENT --- */
.banner-mesh {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Création de nuages de couleurs Teal et Violet */
    background-image: 
        radial-gradient(at 0% 0%, rgba(43, 144, 154, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(140, 82, 255, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(43, 144, 154, 0.2) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(140, 82, 255, 0.1) 0px, transparent 50%);
    filter: blur(60px);
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 2;
}

/* --- CONTENU --- */
.banner-content {
    position: relative;
    z-index: 5;
    color: #ffffff;
    max-width: 900px;
}

.banner-tag {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.banner-title {
    font-family: var(--font-logo);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
}

.banner-title span {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- INDICATEUR DE SCROLL --- */
.scroll-indicator {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background-color: var(--brand-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .pricing-banner { height: 60vh; }
    .banner-subtitle { font-size: 1rem; }
}



/* --- SECTION COMPARATIF --- */
.section-comparison {
    padding: 70px 0 80px 0; 
    background-color: #ffffff;
}


.section-comparison .section-header {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .section-comparison {
        padding-top: 80px;
    }
}

.comparison-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

/* Headers */
.comp-table thead th {
    background-color: #ffffff;
    padding: 25px 20px;
    font-family: var(--font-logo);
    font-size: 16px;
    color: var(--text-dark);
    border-bottom: 2px solid #f1f5f9;
}

.table-head-icon {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-left: 85px;
}
@media (max-width: 768px) {
    .table-head-icon {
        margin-left: 50px;
    }
}

.module-group-title td {
    background-color: #f8fafc;
    color: var(--brand-primary);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    text-align: left !important;
    border-bottom: 1px solid #edf2f7;
}

.comp-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    font-size: 14.5px;
    color: var(--text-light);
}

.feat-name {
    text-align: left !important;
    color: #475569 !important; 
    width: 40%;
    padding-left: 30px !important;
    font-weight: 400 !important;
}

.status-img {
    height: 18px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.comp-table tbody tr:not(.module-group-title):hover {
    background-color: #fafbfc;
}

.col-main { text-align: left !important; }

.comparison-wrapper::-webkit-scrollbar { height: 5px; }
.comparison-wrapper::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }

/* ==========================================================================
   TABLEAU COMPARATIF
   ========================================================================== */

.comparison-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-wrapper.is-collapsed {
    max-height: 0;
    border: none;
    opacity: 0;
    pointer-events: none;
}

.comparison-wrapper.is-open {
    max-height: 2500px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 30px;
    border: 1px solid #eef2f6;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    border: 8px solid #eef2f6;
}

.comp-table th, .comp-table td {
    border: 4px solid #eef2f6;
    padding: 12px 20px;
}

.comp-table thead th {
    background-color: #fcfdfe;
    font-weight: 800;
}

/* --- LE BOUTON TOGGLE --- */
.comparison-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    background: none;
    border: none;
    color: var(--brand-primary);
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 20px;
    transition: var(--transition);
}

.btn-toggle:hover {
    opacity: 0.8;
}

.toggle-icon {
    transition: transform 0.4s ease;
}

.is-open-btn .toggle-icon {
    transform: rotate(180deg);
}

.table-head-icon-mini {
    height: 30px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
    filter: invert(48%) sepia(38%) saturate(621%) hue-rotate(135deg) brightness(91%) contrast(89%);
    
    transition: transform 0.3s ease;
}

.feat-name {
    width: 45%;
    padding-left: 25px !important;
}


/* ==========================================================================
   VERSION MOBILE
   ========================================================================== */

@media screen and (max-width: 768px) {
    .comparison-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        border-radius: 12px;
        margin: 0 10px;
    }

    .comp-table {
        min-width: 650px; 
        border: 1px solid #eef2f6;
    }

    .feat-name, 
    .col-main {
        position: sticky;
        left: 0;
        z-index: 10;
        background-color: #ffffff; 
        border-right: 2px solid #f1f5f9 !important; 
        width: 150px !important;
        min-width: 150px !important;
        font-size: 12px !important;
        padding-left: 15px !important;
    }

    .module-group-title td {
        position: sticky;
        left: 0;
        background-color: #f8fafc !important;
        font-size: 11px !important;
        font-weight: 800;
        padding: 10px 15px !important;
    }

    .comp-table td, 
    .comp-table th {
        padding: 12px 10px !important;
        font-size: 12px !important;
    }

    .table-head-icon-mini {
        height: 24px;
        margin-bottom: 5px;
    }

    .status-img {
        height: 14px;
    }

    .comparison-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    .comparison-wrapper::-webkit-scrollbar-thumb {
        background: var(--brand-primary);
        border-radius: 10px;
    }

    .btn-toggle {
        font-size: 15px;
        padding: 8px 15px;
    }
}


/* ==========================================================================
   SECTION SERVICES À LA CARTE
   ========================================================================== */
.section-extra-services {
    padding: 10px 24px;
    background-color: #ffffff;
}

.service-tag {
    display: inline-block;
    background: rgba(43, 144, 154, 0.1);
    color: var(--brand-primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

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

.extra-card {
    background: #fcfdfe;
    padding: 10px 10px;
    border-radius: 12px;
    border: 5px solid #edf2f7;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    align-items: center;
}

.extra-icon {
    width: 100px;
    height: 80px;
    background: var(--brand-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.extra-icon img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.extra-card h4 {
    font-family: var(--font-logo);
    font-size: 20px;
    font-weight: 100;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.extra-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.extra-price {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .section-extra-services { padding: 60px 20px; }
    .extra-services-grid { grid-template-columns: 1fr; }
    .extra-card { text-align: center; align-items: center; }
}



/* ==========================================================================
   SECTION FAQ 
   ========================================================================== */
.section-faq {
    padding: 50px 0;
    background-color: #ffffff;
}

.faq-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid #edf2f7;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--brand-primary);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--brand-primary);
    transition: transform 0.3s ease;
}

/* Barre horizontale */
.faq-icon::before {
    width: 100%; height: 2px;
    top: 50%; left: 0; transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px; height: 100%;
    top: 0; left: 50%; transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}


/* ==========================================================================
   PAGE CONTACT : HERO SECTION
   ========================================================================== */
.contact-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    
    /* IMAGE DE FOND */
    background-image: url('img/handshake.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 75px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, 
        rgba(43, 144, 154, 0.95) 0%, 
        rgba(43, 144, 154, 0.7) 100%
    );
    z-index: 1;
}

.contact-hero-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* --- TEXTE GAUCHE --- */
.contact-hero-text h1 {
    font-family: var(--font-logo);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #ffffff;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-hero-text p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

/* --- RESPONSIVE CONTACT HERO --- */
@media (max-width: 992px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-hero-text p {
        margin: 0 auto;
    }
    .contact-hero {
        height: 50vh;
    }
}



/* ==========================================================================
   SECTION INTRODUCTION
   ========================================================================== */
.contact-intro {
    padding: 70px 24px 60px;
    background-color: #ffffff;
}

.intro-content {
    max-width: 950px;
    text-align: left;
}

.intro-tag {
    font-family: var(--font-logo);
    font-size: 20px;
    font-weight: 100;
    color: var(--brand-primary); 
    margin-bottom: 5px;
}

.intro-heading {
    font-family: var(--font-logo);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #1a2e35;
    line-height: 1.2;
    margin-bottom: 25px;
}

.intro-line {
    width: 70px;
    height: 4px;
    background-color: var(--brand-primary);
    margin-bottom: 40px;
    border-radius: 2px;
}

.intro-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.intro-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* --- RESPONSIVE INTRO --- */
@media (max-width: 768px) {
    .contact-intro {
        padding: 60px 20px 40px;
    }
    
    .intro-heading {
        font-size: 26px;
    }

    .intro-text {
        font-size: 1rem;
        text-align: justify;
    }
    
    .intro-line {
        margin-bottom: 25px;
    }
}



/* ==========================================================================
   SECTION COORDONNÉES
   ========================================================================== */
.section-coords-clean {
    padding: 50px 24px;
    background-color: #ffffff;
    text-align: center;
}

.coords-header {
    margin-bottom: 60px;
}

.coords-main-title {
    font-family: var(--font-logo);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.coords-divider {
    width: 60px;
    height: 2px;
    background: var(--brand-primary);
    margin: 5px auto 0;
    border-radius: 10px;
}

.coords-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.coord-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.coord-icon-wrapper {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.custom-icon {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.icon-underline {
    width: 50px;
    height: 1px;
    background-color: #f1f5f9;
    border-radius: 2px;
    transition: background-color 0.3s ease, width 0.3s ease;
}   

.coord-item:hover .icon-underline {
    background-color: var(--brand-primary);
    width: 60px;
}

/* --- TEXTES --- */
.coord-item h4 {
    font-family: var(--font-logo);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: none;
}

.coord-item p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 5px;
}

.coord-link {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 14.5px;
    text-decoration: none;
}

.coord-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .coords-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 20px;
    }
}

@media (max-width: 600px) {
    .coords-grid {
        grid-template-columns: 1fr;
    }
    .section-coords-clean { padding: 60px 20px; }
}



/* ==========================================================================
   FORMULAIRE DE CONTACT
   ========================================================================== */
.section-contact-form {
    padding: 70px 24px 120px;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-main-title {
    font-family: var(--font-logo);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 100;
    color: #1a2e35;
}

.form-main-title span {
    color: var(--brand-primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    align-items: end;
}

.input-box {
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.input-box input, 
.input-box textarea {
    width: 100%;
    padding: 15px 5px;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
}

.input-box textarea {
    height: 52px;
    resize: none;
}

.input-box:focus-within {
    border-bottom-color: var(--brand-primary);
}

/* --- BOUTON ENVOYER --- */
.btn-send {
    margin-top: 0 !important;
    width: 100%;
    border-radius: 10px !important;
}

/* --- RESPONSIVE FORM --- */
@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .message-field, .button-field {
        grid-column: span 1;
    }
}



/* ==========================================================================
   MAPS
   ========================================================================== */
.section-map-pro {
    width: 100%;
    position: relative;
    line-height: 0;
    margin-top: 10px;
}

.map-container-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.map-container-wrapper iframe {
    filter: grayscale(0.2) contrast(1.1);
}

.map-address-card {
    position: absolute;
    top: 5px;
    left: 10px;
    background: #ffffff;
    padding: 2px 15px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10;
    min-width: 350px;
}

.map-card-info h4 {
    font-family: var(--font-logo);
    font-size: 15px;
    font-weight: 100;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1;
}

.map-card-info p {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.map-card-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-btn svg {
    width: 15px;
    height: 15px;
    color: var(--brand-primary);
}

.action-btn:hover {
    background-color: #e2e8f0;
    transform: scale(1.1);
}

.action-btn.primary {
    background-color: var(--brand-primary);
}

.action-btn.primary svg {
    color: #ffffff;
}

.action-btn.primary:hover {
    filter: brightness(1.1);
}

/* --- RESPONSIVE MAP --- */
@media (max-width: 768px) {
    .map-address-card {
        position: relative;
        top: 0; left: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .map-container-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .map-container-wrapper iframe {
        height: 300px;
        order: 2;
    }
    
    .map-address-card {
        order: 1;
    }
}



/* ==========================================================================
   GESTION DES COOKIES
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 95%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 144, 154, 0.2);
    border-radius: 12px;
    padding: 15px 0;
    z-index: 5000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-favicon {
    height: 30px;
    width: auto;
}

.cookie-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
}

.cookie-link {
    background: none;
    border: none;
    color: var(--brand-primary);
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

/* --- BOUTONS COOKIES --- */
.cookie-right {
    display: flex;
    gap: 10px;
}

.btn-cookie-border {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-fill {
    background: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    color: #fff;
    padding: 8px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-fill:hover { filter: brightness(1.1); border-color: var(--text-dark); }
.btn-cookie-border:hover { background: #f8fafc; border-color: var(--text-dark); }

/* --- RESPONSIVE COOKIES --- */
@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    .cookie-left { flex-direction: column; }
    .cookie-right { width: 100%; }
    .cookie-right button { flex: 1; }
}


/* --- REPONSE MODALE GLOBALE --- */
#global-success-message {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.success-icon-circle {
    width: 100px; height: 100px;
    background-color: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 50px; margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(43, 144, 154, 0.3);
    animation: successJump 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

@keyframes successJump {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}