:root {
    --primary: #27ae60;
    --secondary: #2c3e50;
    --dark: #1a252f;
    --light: #ffffff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}



* { margin:0; padding:0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--light); color: var(--secondary); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; width: 90%; }

.logo-block { display: flex; align-items: center; gap: 10px; }
.logo-icon { background: var(--primary); color: white; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 1.2rem; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.logo-text span { color: var(--primary); }

.main-nav { display: flex; list-style: none; gap: 25px; }
.main-nav a { text-decoration: none; color: var(--secondary); font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: white; min-width: 240px; border-radius: 12px; box-shadow: var(--shadow); padding: 15px; display: none; transform: translateY(10px); transition: 0.3s; }
.has-dropdown:not(.lang-picker):hover .dropdown-menu { display: block; transform: translateY(0); }
.dropdown-menu li { list-style: none; margin-bottom: 10px; }
.dropdown-menu i { margin-right: 10px; color: var(--primary); }

/* =========================================== */
/* SECTION SÉLECTEUR DE LANGUE (GLOBAL)    */
/* =========================================== */

/* Le conteneur parent qui sert d'ancrage */
.lang-picker {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 5px 10px !important;
    z-index: 1000;
}

/* L'élément visible (Drapeau + Code FR/EN/DE) */
.lang-selected {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: 0.3s;
}

.lang-selected img {
    width: 25px !important;
    height: 18px !important;
    object-fit: cover;
    border-radius: 2px;
}

#header-code {
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: var(--secondary); /* Utilise votre couleur sombre par défaut */
    text-transform: uppercase;
}

/* --- LE MENU DÉROULANT (DROPDOWN) --- */
.lang-dropdown {
    display: none !important; /* Caché par défaut */
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: #ffffff !important;
    min-width: 160px !important;
    list-style: none !important; /* Supprime les points noirs */
    padding: 8px 0 !important;
    margin: 10px 0 0 0 !important; /* Petit décalage vers le bas */
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border: 1px solid #f1f5f9 !important;
    z-index: 99999 !important;
    overflow: hidden;
}

/* État actif : Affichage UNIQUEMENT si la classe .active est présente */
.lang-picker.active .lang-dropdown {
    display: block !important;
}

/* Protection : On s'assure qu'il reste caché si .active n'est pas là */
.lang-picker:not(.active) .lang-dropdown {
    display: none !important;
}

/* --- STYLE DES ÉLÉMENTS DE LA LISTE --- */
.lang-dropdown li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    color: #2c3e50 !important;
    font-size: 0.95rem !important;
    list-style-type: none !important;
    transition: background 0.2s ease !important;
}

.lang-dropdown li:hover {
    background: #f8fafc !important;
    color: var(--primary) !important; /* Votre vert signature */
}

.lang-dropdown li img {
    width: 24px !important;
    height: auto !important;
    border-radius: 2px !important;
}

/* --- EFFETS DE SURVOL --- */
.lang-picker:hover #header-code {
    color: var(--primary) !important;
}

.lang-picker:hover #header-flag {
    filter: brightness(1.1) !important;
}



/* SECTION PRINCIPALE - MISE EN PAGE */




/* Simulator Card */
.hero-simulator { 
    background: var(--white); 
    border-radius: 24px; 
    padding: 25px !important; /* Réduit de 35px à 25px : moins massif mais aéré */
    box-shadow: var(--shadow); 
    border: 1px solid #f1f5f9; 
}

.sim-header { 
    text-align: center; 
    margin-bottom: 20px !important; /* Réduit de 25px à 20px */
}

.input-box { 
    margin-bottom: 15px !important; /* Réduit de 20px à 15px */
}

.input-label { 
    display: flex; 
    justify-content: space-between; 
    font-weight: 700; 
    margin-bottom: 8px !important; /* Réduit de 10px à 8px */
}

.input-label span { 
    color: var(--primary); 
    font-size: 1.1rem !important; /* Un juste milieu entre 1.2 et 1.0 */
}

input[type="range"] { width: 100%; height: 7px; background: rgb(97, 113, 135); border-radius: 5px; appearance: none; accent-color: var(--primary); }

.results-card { background: var(--light); padding: 20px; border-radius: 16px; margin: 25px 0; }
.res-line { display: flex; justify-content: space-between; margin-bottom: 10px; }
.res-line strong { font-size: 1.8rem; color: var(--primary); }
.total { border-top: 1px solid #cbd5e1; padding-top: 10px; font-size: 0.9rem; }

.btn-primary, .btn-submit { background: var(--primary); color: white; padding: 14px 28px; border-radius: 12px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: 0.3s; display: inline-block; }
.btn-submit { width: 100%; font-size: 1.1rem; }
.btn-primary:hover, .btn-submit:hover { background: #219150; transform: translateY(-2px); }

/* Widgets */
.float-whatsapp { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 1000; }

/* Section Header Commun */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.subtitle { color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.section-header h2 { font-size: 2.5rem; color: var(--dark); margin: 10px 0; }
.section-header h2 span { color: var(--primary); }

/* Features Grid */
.features-grid-section { padding: 100px 0; background: var(--white) ; padding-top: 10px !important;padding-bottom: 10px !important; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { padding: 40px; border-radius: 20px; background: var(--light); transition: 0.4s; border: 1px solid transparent; }
.feature-card:hover { transform: translateY(-10px); background: var(--white); border-color: var(--primary); box-shadow: var(--shadow); }
.icon-circle { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 25px; }
.feature-card h3 { margin-bottom: 15px; color: var(--dark); }

/* Testimonials */
.testimonials-section {
    padding: 30px 0 !important; /* Hauteur très réduite */
    background: #ffffff !important;
}

.trust-header {
    margin-bottom: 20px !important; /* Espace réduit */
    text-align: center;
}

.trust-title {
    font-size: 1.6rem !important; /* Plus discret */
    color: #0f172a !important;
    margin-bottom: 10px !important;
}

.trust-score-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 15px;
    background: #f8fafc !important;
    padding: 8px 20px !important; /* Badge plus fin */
    border-radius: 30px !important;
    border: 1px solid #e2e8f0 !important;
}

.stars-gold i {
    color: #f1c40f !important;
    font-size: 1rem !important;
}

/* --- Animation du Slider Fluide --- */
.testimonial-slider {
    width: 100% !important;
    padding: 10px 0 !important;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); /* Effet fondu sur les bords */
}

.testimonial-track {
    display: flex !important;
    gap: 20px !important;
    width: max-content;
    animation: scrollInfinite 30s linear infinite !important;
}

.testimonial-card {
    width: 280px !important; /* Cartes plus petites */
    background: #fdfdfd !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

.testimonial-card p {
    font-size: 0.9rem !important;
    font-style: italic;
    margin-bottom: 8px !important;
    color: #475569;
}

.testimonial-card strong {
    color: #27ae60 !important;
    font-size: 0.85rem !important;
}

/* L'astuce pour le défilement infini parfait */
@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* On avance de la moitié car on a doublé les cartes */
}

.testimonial-slider:hover .testimonial-track {
    animation-play-state: paused !important;
}

/* CTA Banner */
.cta-banner { padding: 60px 0; background: var(--primary); color: white;  }
.cta-flex { display: flex; justify-content: space-between; align-items: center; }
.cta-text h2 { font-size: 2.2rem; margin-bottom: 10px; }
.cta-btns { display: flex; gap: 20px; }
.btn-primary-white { background: var(--white); color: var(--primary); padding: 15px 30px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: 0.3s; }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); padding: 13px 30px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: 0.3s; }
.btn-primary-white:hover { background: var(--dark); color: white; }

.site-footer {
    background:  #1a1a1a  !important;
    color: #94a3b8 !important;
    padding: 60px 0 0 !important;
    border-top: 1px solid #1e293b !important;
}

/* Grille principale */
.footer-content {
    display: grid !important;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr !important;
    gap: 40px !important;
    padding-bottom: 40px !important;
    align-items: start !important;
}

/* Gestion du Logo Image */
.footer-logo-container {
    margin-bottom: 20px !important;
}

.header-style-logo {
    height: 45px !important; /* Ajustez selon la hauteur de votre logo du haut */
    width: auto !important;
    display: block !important;
}

.footer-desc {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

/* Réseaux Sociaux */
.social-icons {
    display: flex !important;
    gap: 12px !important;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #1e293b;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #27ae60; /* Votre vert signature */
    transform: translateY(-3px);
}

/* Titres et Liens */
.footer-col h4 {
    color: white !important;
    margin-bottom: 25px !important;
    font-size: 1.1rem !important;
    font-weight: 700;
}

.footer-links { list-style: none !important; padding: 0 !important; }
.footer-links li { margin-bottom: 12px !important; }
.footer-links a { color: #94a3b8 !important; text-decoration: none !important; transition: 0.2s; }
.footer-links a:hover { color: #27ae60 !important; padding-left: 5px; }

/* Contact */
.contact-item { display: flex !important; align-items: center !important; gap: 12px !important; margin-bottom: 15px !important; color: white; }
.contact-item i { color: #27ae60 !important; font-size: 0.9rem; }

/* Zone Basse */
.footer-bottom-area {
    background: #0b1222 !important;
    padding: 30px 0 !important;
    text-align: center !important;
    border-top: 1px solid #1e293b !important;
}

.legal-badge {
    color: white !important;
    border: 1px solid #27ae60 !important;
    padding: 8px 25px !important;
    border-radius: 50px !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
    font-size: 0.8rem !important;
    background: rgba(39, 174, 96, 0.05);
}

.legal-text, .copyright { font-size: 0.8rem !important; margin-bottom: 5px !important; }


/* Le bouton de manipulation pour Chrome/Safari */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
    transition: 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(39, 174, 96, 0.1); /* Effet d'aura au survol */
}

/* Le bouton de manipulation pour Firefox */
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}



/* --- SECTION OFFRES : STYLE SIGNATURE VERTE --- */
.offers-section {
    padding: 100px 0;
    background: #ffffff;
}

/* En-tête centré */
.section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header-centered h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 15px;
}

.section-header-centered h2 span {
    color: #27ae60; /* Vert visible */
}

.section-header-centered p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.header-accent-bar {
    width: 60px;
    height: 4px;
    background: #27ae60;
    margin: 0 auto;
    border-radius: 2px;
}

/* Alignement des cartes */
.offers-strip {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.offer-unit {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Style de la bordure visible d'un côté (gauche et bas ici) */
    border: 1px solid #e2e8f0;
    border-left: 5px solid #27ae60; /* Bordure plus visible à gauche */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.offer-unit:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
}

.unit-img {
    height: 150px;
    overflow: hidden;
}

.unit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-unit:hover .unit-img img {
    transform: scale(1.1);
}

.unit-body {
    padding: 30px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.unit-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.unit-body p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    height: 60px; /* Aligne le contenu */
}

.unit-link {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    color: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    transition: 0.3s;
}

.unit-link i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.unit-link:hover i {
    transform: translateX(5px);
}




/* On réduit la taille du logo pour qu'il s'adapte au petit header */
.logo img {
    height: 40px; /* Taille ajustée */
    width: auto;
}

/* On ajuste les liens de navigation */
.nav-menu ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #1a202c;
    font-weight: 600;
    font-size: 0.9rem; /* Police légèrement plus petite pour l'équilibre */
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #27ae60;
}

/* Le bouton d'appel à l'action dans le header (plus fin) */
.btn-header {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
    background: #27ae60;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

/* --- CONTENEUR DES ACTIONS (DROITE) --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre langue, bouton et burger */
}


/* Bouton Primaire ajusté au header compact */
.btn-primary {
    background: #27ae60;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap; /* Empêche le texte du bouton de revenir à la ligne */
}

.btn-primary:hover {
    background: #219150;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

/* Burger Menu (pour le mobile) */
.burger {
    display: none; /* Caché par défaut sur PC */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1a202c;
    cursor: pointer;
}




/* Empêcher le header de couper le menu */
header, .nav-container, .nav-actions {
    overflow: visible !important; 
}



/* Limiter la taille du drapeau principal */
#header-flag {
    width: 25px !important; /* Force la largeur */
    height: 18px !important; /* Force la hauteur */
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}




.results-card {
    background: #f0fdf4; /* Un vert très léger pour le résultat */
    padding: 25px;
    border-radius: 20px;
    margin: 25px 0;
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.res-line strong {
    font-size: 2.2rem; /* Mensualité plus imposante */
    color: var(--primary);
    display: block;
}

.rate-badge {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 10px;
}


/* Badge Taux Bleu Foncé */
.rate-badge {
    background-color: #1e293b !important;
    color: #ffffff !important;
    padding: 20px 25px !important ;
    border-radius: 10px!important;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 25px !important;
    border: 1px solid #334155;
    font-size: 1.1rem !important; /* Augmente la taille globale (était à 0.9rem) */
    font-weight: 800 !important;   /* Rend l'écriture plus grasse/épaisse */
    line-height: 1.2;              /* Resserre un peu les lignes pour que ce soit compact */
    padding: 12px 18px !important; /* On élargit un peu le badge pour laisser respirer le texte */
}

/* Texte d'aide vert pour la durée */
#duration-convert {
    min-height: 1.2em;
    transition: color 0.3s ease;
}



.input-group { margin-bottom: 25px; }
.input-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 12px;
}

.sim-result {
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.result-item strong {
    font-size: 1.8rem;
    color: #27ae60;
}

.result-total {
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
    font-size: 0.85rem;
    color: #64748b;
}

/* Animation au chargement */
.hero-content { animation: fadeIn 0.8s ease-out; }
.hero-simulator { animation: slideUp 1s ease-out; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }


/* --- AJUSTEMENT HAUTEUR --- */

/* 1. On réduit l'espace en haut de la section Hero */
.hero {
    padding-top: 100px !important; /* On remonte fort vers le header */
    padding-bottom: 60px;
    min-height: auto; /* On évite de forcer une hauteur trop grande */
}

.hero {
    margin-top: -40px !important; /* Ajustez ce chiffre : plus il est élevé, plus le bloc remonte */
    padding-top: 0 !important;
}
/* 2. On réduit l'espace entre le badge et le titre */
.trust-tag {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}


/* Supprime les flèches sur Chrome, Safari, Edge et Firefox */
.no-arrows::-webkit-outer-spin-button,
.no-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.no-arrows {
    -moz-appearance: textfield;
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.no-arrows:focus { border-color: #27ae60; }

/* Style du Tableau Pro */
.result-table {
    width: 100%;
    background: #f8fafc;
    border-radius: 12px;
    border-collapse: collapse;
}

.result-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #475569;
}

.result-table .highlight {
    color: #27ae60;
    font-weight: 800;
    font-size: 1.3rem;
    text-align: right;
}

.result-table td:last-child { text-align: right; font-weight: 600; }

.total-row { background: #f1f5f9; font-weight: 700; }

.error-msg {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    font-weight: 600;
}

.btn-calc {
    width: 100%;
    background-color: #27ae60; /* Vert signature */
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Effet au survol */
.btn-calc:hover {
    background-color: #219150;
    transform: translateY(-2px); /* Petit saut vers le haut */
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

/* Effet au clic */
.btn-calc:active {
    transform: translateY(0);
}

/* Style des inputs pour qu'ils s'alignent bien avec le bouton */
#input-amount, #input-duration {
    width: 100%;
    padding: 14px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    margin-bottom: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

#input-amount:focus, #input-duration:focus {
    border-color: #27ae60;
}

/* Le spinner (cercle qui tourne) */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
    margin-left: 10px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation d'apparition du résultat */
#result-area {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajoute uniquement l'espace entre le badge et le titre */
.hero-content .trust-tag {
    margin-bottom: 40px !important;
}



/* --- OPTIMISATION SECTION AVANTAGES (SECTION 2) --- */

.features-grid-section {
    background: #fcfdfe; /* Un blanc légèrement bleuté très propre */
    padding: 120px 0;
}

/* Grille plus aérée */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Style de la Carte Premium */
.feature-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Petit accent discret au survol */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(39, 174, 96, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Icônes plus modernes */
.icon-circle {
    width: 54px;
    height: 54px;
    background: rgba(39, 174, 96, 0.1); /* Fond vert très clair */
    color: var(--primary); /* Icône verte */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.feature-card:hover .icon-circle {
    background: var(--primary);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

/* Typographie */
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

.subtitle { color: var(--primary); 
    font-weight: 800;
     text-transform: uppercase;
      letter-spacing: 2px;
       font-size: 1rem; }



/* --- RAPPROCHEMENT SECTION HERO ET SECTION 2 --- */

/* 1. On réduit l'espace sous la section principale (Hero) */
.hero-section {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

/* 2. On réduit l'espace au-dessus de la section des avantages */
.features-grid-section {
    padding-top: 80px !important; /* Réduit l'espace interne haut */
    margin-top: -10px !important; /* Remonte légèrement la section si besoin */
}

/* 3. Ajustement du titre de la section 2 pour qu'il ne colle pas trop au contenu du haut */
.section-header {
    margin-top:  !important; 
}

/* --- STYLE DU TITRE ET DU BADGE SIMULATEUR --- */

.sim-header {
    text-align: center;
    padding: 20px 10px;
    background: #ffffff; /* Fond blanc pur pour détacher le titre */
    border-radius: 15px 15px 0 0;
}

/* On stylise le badge de taux pour qu'il soit au-dessus */
.sim-header .rate-badge {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    padding: 6px 15px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.sim-title {
    font-size: 1.5rem !important;
    color: #1a252f;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    max-width: 600px;
    margin: 0 auto !important;
}

/* Mise en avant des bénéfices clients */
.sim-title span {
    color: #27ae60;
    font-weight: 800;
    /* Petit effet de soulignement subtil */
    background: linear-gradient(to bottom, transparent 70%, rgba(39, 174, 96, 0.1) 70%);
}



/* --- RÉDUCTION DE LA TAILLE DU TITRE DU SIMULATEUR --- */

.sim-title {
    font-size: 1.25rem !important; /* Taille réduite (était à 1.6rem) */
    font-weight: 600 !important;   /* Un peu moins gras pour plus d'élégance */
    line-height: 1.3 !important;   /* Resserre les lignes */
    max-width: 600px !important;   /* Empêche le texte de s'étaler trop largement */
    margin: 0 auto 20px auto !important;
}

/* On réduit aussi la taille des mots mis en évidence si nécessaire */
.sim-title span {
    font-weight: 700 !important;
}



#scrollTop {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Position à gauche */
    z-index: 1000;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background-color: #27ae60;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    /* On commence invisible pour l'apparition au scroll */
    opacity: 0;
    visibility: hidden;
}


/* 2. On décolle la bannière CTA (Prêt à démarrer) du footer */
.cta-banner {
    margin-top: 30px !important;    /* Espace avec les témoignages */
    margin-bottom: 50px !important; /* Espace important avant le footer */
}

/* 3. Optionnel : Ajouter une marge interne au footer pour plus de confort */
.site-footer {
    padding-top: 40px !important;
}



/* Décorations d'arrière-plan (Blobs) */
.blob-bg {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: rgba(39, 174, 96, 0.15); /* Vert transparent */
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}

.blob-bg-2 {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: rgba(52, 152, 219, 0.1); /* Bleu transparent */
    filter: blur(90px);
    border-radius: 50%;
    z-index: 1;
}

.testimonial-container {
    position: relative;
    z-index: 2; /* Passe devant les blobs */
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 40px; /* Coins très arrondis */
    height: 320px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    /* Inclinaison légère pour casser la rigidité */
    transform: rotate(-1deg);
}

.testimonial-content, .testimonial-image-box {
    /* On remet le contenu droit à l'intérieur */
    transform: rotate(1deg);
}

.testimonial-content {
    flex: 1.4;
    padding: 30px 45px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* --- IMAGE ET BADGE FIXE --- */
.testimonial-image-box {
    flex: 1;
    max-width: 280px;
    position: relative;
}

.testimonial-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 40px 40px 0; /* Arrondi seulement à droite */
}

.mini-badge-fix {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #27ae60 !important;
    color: white !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    font-size: 0.65rem !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

.mini-badge-fix i { color: #f1c40f !important; }

/* SLIDER */
.testimonial-slider-wrapper { position: relative; height: 130px; }
.testimonial-item { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity 0.6s ease; }
.testimonial-item.active { opacity: 1; visibility: visible; }

/* TEXTES */
.quote { font-size: 1rem !important; line-height: 1.5 !important; color: #334155; font-style: italic; }
.client-info { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.client-info img { width: 35px; height: 35px; border-radius: 50%; border: 2px solid #27ae60; }
.stars { color: #f1c40f; font-size: 0.75rem; margin-bottom: 5px; }

/* --- AGRANDISSEMENT DES AVATARS CLIENTS --- */
.client-info {
    display: flex;
    align-items: center;
    gap: 15px; /* Plus d'espace entre la photo et le nom */
    margin-top: 15px;
}

.client-info img {
    width: 60px !important;  /* On passe de 35px à 60px */
    height: 60px !important; /* Doit être identique à la largeur pour rester rond */
    border-radius: 50%;
    border: 3px solid #27ae60; /* Un cercle vert plus épais autour */
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Petite ombre pour le relief */
}

.client-info strong {
    font-size: 1.1rem; /* On agrandit aussi un peu le nom */
    color: #1a252f;
    display: block;
}

.client-info span {
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* =========================================== */
/* BOUTON FLOTTANT SIMULATEUR POUR AUTRES PAGES */
/* =========================================== */
.floating-simulator-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    z-index: 999;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.floating-simulator-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    color: white;
}

.floating-simulator-btn i {
    font-size: 1.2rem;
}

/* CTA REDIRECTION VERS SIMULATEUR */
.cta-simulator-redirect {
    padding: 80px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    text-align: center;
    color: white;
}

.simulator-redirect-content {
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================== */
/* CORRECTIONS ALIGNEMENT BADGES ET ICÔNES */
/* =========================================== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-grid-detailed {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-card {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
}



/* =========================================== */
/* AJUSTEMENT DU CONTENU PRINCIPAL */
/* =========================================== */


/* Ajustez toutes les autres sections */
.features-grid-section,
.offers-section,
.testimonials-section,
.cta-banner {
    scroll-margin-top: 100px; /* Pour un ancrage fluide */
}


/* =========================================== */
/* ANIMATION D'APPARITION DE LA TOPBAR */
/* =========================================== */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* =========================================== */
/* STYLE POUR LA PAGE DE LOGIN */
/* =========================================== */

.login-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    margin: 120px auto 60px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #edf2f7;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #1a2530;
    margin-bottom: 10px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
}

.login-form input:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.btn-login-submit {
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login-submit:hover {
    background: #219150;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

.login-footer a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
}


/* 3. POSITION DE LA NAVBAR SUR LES AUTRES PAGES (SANS TOPBAR) */
.navbar {
    position: fixed !important;
    top: 0 !important; /* Collée en haut */
    width: 100% !important;
    z-index: 1001 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #edf2f7 !important;
    transition: all 0.3s ease !important;
}



/* Ajustement précis pour l'accueil */
body.home-page .hero {
    /* On additionne : Topbar (40px) + Navbar (70px) = 110px */
    padding-top: 110px !important; 
    margin-top: 0 !important;
}

/* Sur Mobile, le logo est souvent plus petit, on réduit un peu */
@media (max-width: 1024px) {
    body.home-page .hero {
        padding-top: 90px !important;
    }
}

body.home-page .hero-page {
    padding-top: 180px !important;
}

/* Pour les autres pages */
body:not(.home-page) .hero,
body:not(.home-page) .hero-page {
    padding-top: 140px !important; /* Uniquement la navbar */
}

/* 6. CORRECTION SPÉCIFIQUE POUR LES PAGES INTERNES */
body:not(.home-page) section:first-of-type {
    padding-top: 140px !important;
    margin-top: 0 !important;
}


/* Sur les autres pages */
body:not(.home-page) .features-grid-section,
body:not(.home-page) .offers-section,
body:not(.home-page) .testimonials-section,
body:not(.home-page) .cta-banner,
body:not(.home-page) section[id] {
    scroll-margin-top: 80px; /* Compense uniquement la navbar */
}

/* 9. CORRECTION DU BOUTON "BACK TO TOP" */
#scrollTop {
    bottom: 30px !important;
    left: 30px !important;
}

body.home-page #scrollTop {
    bottom: 80px !important; /* Plus bas à cause de la topbar */
}



.micro-process {
    text-align: center;
    margin: 25px 0 15px 0;
    padding: 12px 20px;
    background: rgba(39, 174, 96, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.micro-process i {
    color: var(--primary);
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Quand le résultat apparaît */
#result-area[style*="display: block"] .micro-process {
    animation: fadeInUp 0.5s ease 0.3s both;
}

/* --- HEADER & NAVBAR (VERSION NETTOYÉE) --- */
.navbar { 
    background: rgba(255,255,255,0.98); 
    backdrop-filter: blur(10px); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid #edf2f7; 
    height: 70px; /* Hauteur fixe pour stabiliser tout le monde */
    display: flex;
    align-items: center;
}

.nav-container { 
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Gestion du Logo Finance PME */
.logo-block {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-logo-img {
    height: 60px; /* Taille optimale pour votre logo PME */
    width: auto;
    display: block;
    object-fit: contain;
}

/* Menu de navigation */
.main-nav { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    margin: 0;
    padding: 0;
}

.main-nav a { 
    text-decoration: none; 
    color: #2d3748; 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: 0.3s; 
}

.main-nav a:hover, .main-nav a.active { 
    color: #27ae60; /* Votre couleur verte */
}

/* Actions à droite (Langues + Bouton) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Correction pour les menus déroulants (dropdown) */
header, .nav-container, .nav-actions {
    overflow: visible !important; 
}


/* ============================================================
   STRUCTURE HERO PREMIUM - HARMONIE DES ESPACES
   ============================================================ */

/* 1. SECTION PRINCIPALE & FOND */
body.home-page #accueil.hero {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3)), 
                url('https://media.istockphoto.com/id/2190128714/photo/young-woman-preparing-shipping-boxes-is-talking-on-the-phone.jpg?s=612x612&w=0&k=20&c=4GYd8FT4bBP4CB0Q5jMrjF2y10XfyajHJPeClVeTI7E=') !important;
    background-size: cover !important;
    background-position: center 20% !important;
    padding-top: 100px !important;
}

/* 2. LA GRILLE (CÔTE À CÔTE) */
#accueil .hero-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important; /* Aligné en haut pour la propreté */
    gap: 80px !important;
    width: 92% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

/* 3. COLONNE GAUCHE - STYLISATION FINE */
.hero-content {
    flex: 1.2 !important;
    text-align: left !important;
}

.trust-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #ffffff !important;
    color: #27ae60 !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    
    /* MODIFICATIONS DE POSITIONNEMENT */
    margin-top: -40px !important; /* Fait monter le badge vers le haut */
    margin-bottom: 65px !important; /* Augmente l'espace avec le titre pour l'équilibre */
    
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Titre H1 - Correction Étape 2 (Ajustée) */

/* FORCE LE TITRE DE L'ACCUEIL */
h1 .line-1, h1 .line-2 {
    display: block !important; /* Force le passage à la ligne */
    font-size: 3.8rem !important; /* TAILLE UNIQUE ICI */
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: left !important;
}

h1 .line-1 {
    color: #1a252f !important; /* Noir/Gris foncé */
    /* Paramètres : Horizontal Vertical Flou Couleur(Alpha) */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

h1 .line-2 {
    color: #27ae60 !important; /* Votre Vert Finance */
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}

/* --- ALIGNEMENT HARMONIEUX DE LA DESCRIPTION --- */
#accueil .hero-description {
    display: block !important;
    /* On réduit la largeur pour qu'il ne s'étale pas plus loin que le titre */
    max-width: 480px !important; 
    
    /* Alignement strict à gauche */
    margin-left: 0 !important;
    margin-right: auto !important;
    
    /* Espacements verticaux */
    margin-top: 25px !important;
    margin-bottom: 45px !important;
    
    /* Style du texte */
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    /* MODIFICATION DE LA COULEUR ICI */
    color: #ffffff !important;           /* Blanc pur */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important; /* Petite ombre pour décoller le texte du fond */
    text-align: left !important;
}

/* Style du texte important */
#accueil .hero-description strong {
    color: #1e293b !important;
    font-weight: 700 !important;
}

/* --- AJUSTEMENT DE LA GRILLE POUR PLUS D'ESPACE --- */
#accueil .hero-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important; /* TRÈS IMPORTANT : Aligne le haut du texte avec le haut du simulateur */
    gap: 100px !important;
    width: 90% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding-top: 50px !important; /* Ajuste la hauteur globale si nécessaire */
}






/* --- AFFINAGE DU SIMULATEUR (MOINS "GRAS") --- */
.hero-simulator {
    flex: 0.7 !important; /* Il prend moins de place en largeur */
    background: white !important;
    padding: 30px 35px !important; /* Réduction du rembourrage interne */
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important; /* Ombre plus douce */
    max-width: 400px !important; /* ON LIMITE SA LARGEUR FERMEMENT */
    border: 1px solid #f1f5f9 !important;
}

/* --- RÉGLAGE DU TITRE (POUR QU'IL SOIT MOINS ÉTOUFFÉ) --- */
.hero-content h1 {
    font-size: 3.8rem !important; /* Un peu moins haut pour plus d'élégance */
    font-weight: 850 !important;
    line-height: 1.1 !important;
    color: #1a252f !important;
    margin-bottom: 25px !important;
    letter-spacing: -1.5px !important;
}


/* --- CONFIGURATION DES 2 BADGES HERO --- */
.hero-stats {
    display: flex !important;
    gap: 25px !important;            /* Espace entre les deux badges */
    margin-top: 35px !important;     /* Espace sous votre description */
    flex-wrap: wrap !important;      /* S'adapte si l'écran est trop petit */
    justify-content: flex-start !important;
}

.hero-stats .stat-item {
    background: #ffffff !important;   /* Fond blanc pur */
    padding: 15px 22px !important;
    border-radius: 16px !important;  /* Coins arrondis modernes */
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important; /* Ombre douce pour le relief */
    border: 1px solid #f1f5f9 !important;
    min-width: 240px !important;     /* Largeur minimale pour l'équilibre visuel */
    transition: transform 0.3s ease !important;
}

/* Petit effet au survol */
.hero-stats .stat-item:hover {
    transform: translateY(-5px) !important;
}

/* Stylisation des icônes (Vert signature) */
.hero-stats .stat-icon {
    width: 44px !important;
    height: 44px !important;
    background: #f0fdf4 !important;  /* Vert très clair en fond */
    color: #27ae60 !important;       /* Votre vert principal */
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
}

/* Textes internes */
.hero-stats .stat-texts {
    display: flex !important;
    flex-direction: column !important;
}

.hero-stats .stat-title {
    font-weight: 800 !important;
    color: #1a252f !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
}

.hero-stats .stat-sub {
    color: #64748b !important;
    font-size: 0.8rem !important;
    margin-top: 2px !important;
}

/* Option : petite touche spéciale pour le badge "Avis" */
.hero-stats .trust-special .stat-icon i {
    color: #f1c40f !important; /* Étoile dorée pour les avis */
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 1024px) {
    #accueil .hero-grid {
        flex-direction: column !important;
        text-align: center !important;
    }
    .hero-content {
        text-align: center !important;
    }
    .hero-stats {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}


/* ============================================================
   BANNIÈRE DE COOKIES - FINANCE PME
   ============================================================ */

#pme-cookie-container {
    position: fixed;      /* Fixe la bannière par rapport à l'écran */
    bottom: 25px;         /* Distance du bas */
    left: 25px;           /* Distance de la gauche */
    z-index: 100000;      /* Passe au-dessus de TOUS les éléments */
    max-width: 400px;     /* Largeur maximale */
    width: calc(100% - 50px); /* S'adapte sur mobile */
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15); /* Ombre douce et pro */
    border: 1px solid #f1f5f9;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.cookie-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a252f;
    font-weight: 700;
}

.cookie-content p {
    margin: 0 0 20px 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

/* Bouton Accepter (Le plus visible) */
.btn-accept {
    flex: 2;
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: #219150;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Bouton Refuser (Plus discret) */
.btn-refuse {
    flex: 1;
    background: transparent;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-refuse:hover {
    background: #f8fafc;
    color: #64748b;
    border-color: #cbd5e1;
}

/* Animation d'entrée */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ajustement pour les petits écrans (Mobile) */
@media (max-width: 480px) {
    #pme-cookie-container {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
    }
    
    .cookie-buttons {
        flex-direction: column; /* Boutons l'un sur l'autre sur mobile */
    }
}

/* Le style "physique" du bouton primary */
.btn-primary {
    background-color: #27ae60;
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #219150;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

/* On cache par défaut la version mobile dans le menu */
.nav-cta-mobile {
    display: none;
    
    
/* --- 3. VOTRE FOOTER EXACT (CORRIGÉ POUR PC & MOBILE) --- */
    .site-footer {
        padding: 40px 0 20px 0 !important;
        background-color: #1a1a1a !important;
        color: #ffffff !important;
        text-align: left !important; /* Aligné à gauche sur PC */
    }

    .footer-content {
        display: flex !important;
        flex-direction: row !important; /* Côte à côte sur PC */
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 30px !important;
        padding: 0 20px !important;
        max-width: 1200px;
        margin: 0 auto !important;
    }

    .footer-col { 
        flex: 1 !important; 
        width: auto !important; 
        margin-bottom: 0 !important; 
    }

    .footer-col h4 {
        color: #27ae60 !important;
        font-size: 1.2rem !important;
        margin-bottom: 20px !important;
        position: relative !important;
    }

    /* La barre verte sous les titres */
    .footer-col h4::after {
        content: '' !important;
        position: absolute !important;
        bottom: -8px !important;
        left: 0 !important; /* Aligné à gauche sur PC */
        width: 30px !important;
        height: 2px !important;
        background: #27ae60 !important;
    }

    .footer-logo-container img {
        max-width: 100px !important;
        height: auto !important;
        display: block !important;
        margin: 0 0 20px 0 !important; /* Pas de centrage auto sur PC */
    }

    .footer-desc {
        font-size: 0.9rem !important;
        color: #aaa !important;
        max-width: 300px !important;
        margin: 0 0 20px 0 !important;
    }

    .social-icons { display: flex !important; justify-content: flex-start !important; gap: 15px !important; }
    
    .social-icons a {
        width: 40px !important; height: 40px !important;
        background: rgba(255,255,255,0.1) !important;
        border-radius: 50% !important;
        display: flex !important; align-items: center !important; justify-content: center !important;
        color: #fff !important; text-decoration: none !important;
    }

    .footer-links { list-style: none !important; padding: 0 !important; }
    .footer-links li { margin-bottom: 12px !important; }
    .footer-links a { color: #ccc !important; text-decoration: none !important; font-size: 0.95rem !important; }

    .contact-item {
        display: flex !important; 
        flex-direction: row !important; /* Icône à côté du texte sur PC */
        align-items: flex-start !important; 
        gap: 10px !important;
        margin-bottom: 15px !important; 
        color: #ccc !important;
    }

    .contact-item i { color: #27ae60 !important; font-size: 1.1rem !important; margin-top: 4px; }

    .footer-bottom-area {
        margin-top: 40px !important;
        padding: 20px 15px !important;
        border-top: 1px solid rgba(255,255,255,0.05) !important;
        text-align: center !important;
    }

    .legal-badge {
        background: rgba(255, 255, 255, 0.05) !important;
        padding: 15px !important; border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-bottom: 15px !important;
        display: inline-block !important;
    }

    .legal-badge strong { font-size: 0.8rem !important; color: #fff !important; }
    .legal-text, .copyright { font-size: 0.75rem !important; color: #777 !important; margin-bottom: 5px !important; }

    /* --- AJUSTEMENT SPÉCIFIQUE MOBILE POUR LE FOOTER --- */
    @media screen and (max-width: 991px) {
        .site-footer { text-align: center !important; }
        .footer-content { 
            flex-direction: column !important; 
            align-items: center !important; 
        }
        .footer-col { width: 100% !important; }
        .footer-col h4::after { left: 50% !important; transform: translateX(-50%) !important; }
        .footer-logo-container img { margin: 0 auto 20px auto !important; }
        .footer-desc { margin: 0 auto 20px auto !important; }
        .social-icons { justify-content: center !important; }
        .contact-item { flex-direction: column !important; align-items: center !important; }
    }
    
}
