/* =========================================
   FICHIER CMS.CSS - VERSION CORRIGÉE (CONTRASTE & FOOTER)
   ========================================= */

/* --- 1. HEADER TRANSPARENT & HERO --- */
#navbar {
    background-color: transparent !important;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* --- AJOUT CRITIQUE : COULEUR LOGO LED (ACCESSIBILITÉ) --- */
.logo-led {
    color: #4aa3ff !important; /* Bleu clair pour fond sombre */
}

.hero-cms-dark {
    background: linear-gradient(135deg, #02040a 0%, #0a1a30 100%);
    padding-top: 180px;
    padding-bottom: 180px;
    text-align: center;
    color: white;
    position: relative;
}

.hero-cms-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 92, 169, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.hero-cms-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. TEXTE SIMPLE (PAS DE BULLE) */
.hero-top-text {
    color: #4aa3ff; /* CORRECTION CONTRASTE : Bleu clair */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    display: block;
}

.hero-cms-dark h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: white;
    line-height: 1.1;
}

/* 2. VISIONAIR CMS (EN DESSOUS + BULLE) */
.hero-badge-container {
    margin-bottom: 30px;
}

.hero-badge-cms {
    display: inline-block;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    color: #cbd5e1;
    font-family: 'Syne', sans-serif;
    letter-spacing: 1px;
    font-weight: 600;
}

/* 3. PARAGRAPHE ESPACÉ */
.hero-desc-spaced {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    margin-bottom: 20px; /* Espace avant l'image */
}

/* --- LE PONT : CAPTURE D'ÉCRAN A CHEVAL --- */
.hero-screenshot-wrapper {
    margin-top: 60px;
    margin-bottom: -250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    background: #000;
    position: relative;
    z-index: 10;
}

.hero-screenshot-wrapper img {
    width: 100%;
    display: block;
}

/* --- SECTION 1 : "PRENEZ LE CONTRÔLE" --- */
.mission-section.first-mission {
    padding-top: 180px;
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding-bottom: 80px;
}

.mission-section.first-mission .mission-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-section.first-mission .mission-text {
    font-size: 1.2rem;
    color: var(--navy);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* --- SCHÉMA CLOUD (DIAGRAMME) --- */
.schema-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding: 20px 0;
}

.schema-source {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.source-icon { font-size: 3.5rem; color: var(--blue); }
.source-label {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    text-transform: uppercase;
}

.schema-connector {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    width: 60px;
    position: relative;
}

.connector-line { height: 2px; background: #cbd5e1; width: 100%; border-radius: 2px; }
.connector-arrow { font-size: 1rem; margin-left: -5px; }

.schema-steps { display: flex; gap: 15px; }

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    border: 1px dashed #dae1e7;
    background: #fff;
    transition: 0.3s;
}

.step-card i { font-size: 1.5rem; color: #64748b; transition: 0.3s; }
.step-card span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    font-family: 'Manrope', sans-serif;
}

.step-card:hover {
    border-color: var(--blue);
    border-style: solid;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 78, 162, 0.1);
}
.step-card:hover i, .step-card:hover span { color: var(--blue); }

/* 4. CAPTION SOMBRE (TEXTE BLANC) */
.dark-caption-container {
    text-align: center;
    margin-top: 40px;
}

.dark-caption {
    display: inline-block;
    background: #1e293b; /* Fond Sombre */
    color: white; /* Texte Blanc */
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-family: 'Manrope', sans-serif;
}

/* --- SECTION 2 : "COMPATIBILITÉ" --- */
section.mission-section[style*="padding-top: 0"] {
    background-color: #050A18 !important; 
    color: white !important;
    padding: 80px 20px !important;
    margin-top: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}

section.mission-section[style*="padding-top: 0"] .mission-title {
    color: white !important;
    margin-bottom: 10px !important;
}

section.mission-section[style*="padding-top: 0"] .mission-text {
    color: #94a3b8 !important;
    margin-bottom: 40px;
    margin-top: 0 !important;
}

/* Icônes Compatibilité */
.os-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.os-item { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.os-icon { font-size: 2.5rem; color: rgba(255,255,255,0.8) !important; transition: 0.3s; }
.os-name { font-weight: 700; color: white !important; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.os-item:hover .os-icon { color: #4aa3ff !important; transform: scale(1.2); } /* CORRECTION : Bleu clair */

/* --- FEATURES GRID --- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
.feat-card { padding: 40px; border-radius: 12px; background: #f8fafc; border: 1px solid #eee; transition: 0.3s; }
.feat-card:hover { background: white; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); border-color: var(--blue); transform: translateY(-5px); }
.feat-icon { font-size: 2.5rem; color: var(--blue); margin-bottom: 25px; }
.feat-card h3 { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 15px; color: var(--navy); }
.feat-card p { color: #64748b; line-height: 1.6; }

/* --- PRICING DARK --- */
.pricing-section-dark { background: #02040a; padding: 100px 50px; color: white; margin-top: 0; }
.price-grid-dark { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 60px auto 0; }
.price-card-dark { background: #0b0f19; border: 1px solid #222; padding: 50px 30px; border-radius: 16px; text-align: center; position: relative; transition: 0.3s; }
.price-card-dark:hover { border-color: #4aa3ff; transform: translateY(-5px); } /* CORRECTION : Bordure bleu clair */

/* Modification de la bordure Featured */
.price-card-dark.featured { 
    background: #0f1623; 
    border: 3px solid rgba(74, 163, 255, 0.6); /* CORRECTION : Bleu clair transparent */
    box-shadow: 0 0 40px rgba(74, 163, 255, 0.15); 
}

.price-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--blue); color: white; padding: 5px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.price-card-dark h4 { font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 15px; text-transform: uppercase; color: white; }
.price-desc-dark { color: #94a3b8; margin-bottom: 30px; min-height: 50px; font-size: 0.95rem; line-height: 1.5; }
.price-list-dark { list-style: none; padding: 0; text-align: left; margin-bottom: 40px; color: #cbd5e1; line-height: 2.2; }
.price-list-dark i { color: #4aa3ff; margin-right: 10px; } /* CORRECTION : Coche bleu clair */
.price-btn-dark { display: inline-block; padding: 15px 30px; border: 1px solid rgba(255,255,255,0.2); color: white; text-decoration: none; border-radius: 50px; font-weight: 700; transition: 0.3s; text-transform: uppercase; font-size: 0.9rem; }
.price-card-dark.featured .price-btn-dark, .price-btn-dark:hover { background: var(--blue); border-color: var(--blue); }

/* --- BANDEAU FORMATS SUPPORTÉS (ICÔNES) --- */
.tools-strip { background: #000000; padding: 60px 20px; text-align: center; border-top: 1px solid #222; }
.tools-title { color: #ffffff; font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 2px; }
.tools-list { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; align-items: center; }
.tool-item { display: flex; flex-direction: column; align-items: center; gap: 15px; color: #888; transition: 0.3s; }
.tool-icon { font-size: 2rem; color: #fff; transition: 0.3s; }
.tool-item span { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.tool-item:hover .tool-icon { color: #4aa3ff; transform: scale(1.2); } /* CORRECTION : Bleu clair */
.tool-item:hover span { color: white; }

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .feat-grid, .price-grid-dark { grid-template-columns: 1fr; gap: 30px; }
    .hero-cms-dark { padding-bottom: 50px; }
    .hero-screenshot-wrapper { margin-bottom: 30px; margin-top: 30px; }
    .mission-section.first-mission { padding-top: 50px; }
    .hero-cms-dark h1 { font-size: 3rem; }
    .schema-container { flex-direction: column; gap: 20px; }
    .schema-connector { transform: rotate(90deg); width: 40px; }
    .tools-list { gap: 30px; }
}

/* --- CENTRAGE MENU --- */
@media (min-width: 1024px) {
    #navbar .nav-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        white-space: nowrap;
    }
}

/* ========================================= */
/* 6. FOOTER BOTTOM ALIGNMENT (VERSION BLINDÉE) */
/* ========================================= */

/* ESPACEMENT FOOTER (H3) */
.f-col h3 {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 30px !important; 
    font-weight: 700;
    letter-spacing: 1px;
}

/* Conteneur principal - On force le Flexbox vertical centré */
.footer-bottom-centered {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centre horizontalement les enfants */
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 40px;
    padding-bottom: 20px;
    position: relative;
    z-index: 5;
}

/* 1. La barre sociale */
.footer-bottom-centered .social-bar {
    display: flex !important;
    justify-content: center !important; /* Centre les icônes */
    align-items: center !important;
    gap: 15px;
    margin-bottom: 20px !important;
    width: 100%;
}

/* 2. Le lien (<a>) qui entoure le logo - C'EST LUI LE COUPABLE SOUVENT */
.footer-bottom-centered > a {
    display: flex !important; /* On le transforme en flex pour centrer l'img dedans */
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important; /* Prend toute la largeur */
    margin: 0 !important;
    text-decoration: none;
}

/* 3. L'image du logo elle-même */
.footer-bottom-centered .main-logo-footer {
    display: block !important;
    max-width: 150px;
    height: auto;
    margin: 0 auto !important; /* Double sécurité */
}

/* 4. Le Copyright */
.footer-bottom-centered .copyright {
    color: #888;
    font-size: 0.8rem;
    margin-top: 15px !important;
    font-family: 'Manrope', sans-serif;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

/* ========================================= */
/* 7. AJUSTEMENTS MOBILE (Juste la taille)   */
/* ========================================= */
@media (max-width: 768px) {
    /* On réduit juste la taille du logo sur mobile, le centrage est déjà géré au dessus */
    .footer-bottom-centered .main-logo-footer {
        max-width: 120px; 
    }
    
    /* On s'assure que rien ne déborde */
    .footer-bottom-centered {
        padding: 30px 10px !important;
    }
}