:root {
    --primary-color: #0a2351; /* Bleu nuit pro */
    --accent-color: #007bff;
    --bg-light: #ffffff;
    --text-dark: #1a1a1a;
    --border-color: #e9ecef;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* --- Header & Branding --- */
.pro-name { 
    font-weight: 800; 
    color: var(--primary-color); 
    margin-bottom: 0; 
    transition: color var(--transition-speed);
}

/* Widget Temps (Style Business) */
.pro-time-box {
    background: #212529;
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    overflow: hidden;
    min-width: 260px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.time-row { 
    display: flex; 
    align-items: center; 
}

.time-row .label { 
    background: #343a40; 
    padding: 8px 12px; 
    width: 85px; 
    font-weight: bold; 
    font-size: 0.7rem;
    color: #adb5bd;
}

.time-row .value { 
    padding: 8px 15px; 
    flex-grow: 1; 
    text-align: left; 
    color: #00d4ff; 
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold; 
}



/* --- Navigation Globale --- */
/* --- CONFIGURATION PC --- */
@media (min-width: 992px) {
    .nav-item-link, [style*="font-size: 13.5px"] {
        font-size: 16px !important; /* On remet en grand sur ordinateur */
        padding: 15px 20px !important;
    }
}
.nav-item-link {
    display: block;
    padding: 15px 20px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px; /* Taille normale sur ordinateur */
    font-weight: 500;
    white-space: nowrap;
}

/* --- CONFIGURATION MOBILE (C'est ici qu'on règle ton problème) --- */
@media (max-width: 480px) {
    .nav-menu-list {
        display: flex !important;
        justify-content: space-around !important; /* Répartit les 4 onglets */
    }

    .nav-item-link {
        /* ON DIMINUE TOUT ICI */
        padding: 10px 4px !important; /* Presque plus d'espace sur les côtés */
        font-size: 11px !important;  /* Texte très petit pour que tout rentre */
        letter-spacing: -0.5px;      /* On resserre les lettres */
    }

    /* On s'assure que rien ne dépasse */
    .nav-menu-list li {
        flex: 1; 
        text-align: center;
    }
}


/* --- Cards Articles --- */
.card {
    border: none;
    border-radius: 12px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* --- Mode Sombre (Dark Mode) --- */
body.dark-mode { 
    background: #0f172a !important; 
    color: #f1f5f9; 
}

body.dark-mode header, 
body.dark-mode main {
    background-color: #0f172a !important;
}

body.dark-mode .pro-name { 
    color: #38bdf8; 
}

body.dark-mode .card {
    background-color: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
}

body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

body.dark-mode .border-bottom {
    border-color: #334155 !important;
}

/* Style du bouton de changement de thème */
#theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

#theme-toggle:hover {
    background: rgba(0,0,0,0.05);
}

body.dark-mode #theme-toggle {
    color: #fbbf24;
    background: rgba(255,255,255,0.1);
}


    /* Design spécifique aux services */
    .service-card-pro {
        background: #ffffff;
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        text-align: center;
        border: 1px solid rgba(0,0,0,0.05);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .service-card-pro:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(10, 35, 81, 0.1) !important;
        border-color: var(--accent-color);
    }

    .icon-circle {
        width: 70px;
        height: 70px;
        background: #f0f7ff;
        color: var(--accent-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        border-radius: 18px;
        margin: 0 auto 1.5rem;
    }

    .bg-danger-soft { background: #fff5f5; }
    .bg-warning-soft { background: #fffdf0; }

    /* Adaptation Mode Sombre */
    body.dark-mode .service-card-pro {
        background: #1e293b;
        border-color: #334155;
    }
    body.dark-mode .service-card-pro h4 { color: #fff; }


    /* Petit effet d'élévation sur le bouton */
    .transition-transform:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(10, 35, 81, 0.2) !important;
    }
    .form-control:focus, .form-select:focus {
        border-color: var(--accent-color);
        box-shadow: none;
    }


    .ls-wide { letter-spacing: 0.15em; }
    
    .profile-frame {
        transition: transform 0.3s ease;
    }
    
    .profile-frame:hover {
        transform: scale(1.02);
    }

    .skill-card {
        transition: all 0.3s ease;
        border-bottom: 4px solid transparent !important;
    }

    .skill-card:hover {
        transform: translateY(-10px);
        border-bottom: 4px solid var(--primary-color) !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

    body.dark-mode .skill-card {
        background: #1e293b !important;
        color: #fff;
    }

    body.dark-mode .bg-white {
        background-color: #0f172a !important;
    }

    .exp-badge {
        min-width: 120px;
        text-align: center;
    }

    /* Gradient pour les articles sans image */
    .bg-gradient-primary {
        background: linear-gradient(135deg, #0a2351 0%, #007bff 100%);
    }

    /* Effet Zoom sur l'image */
    .custom-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: #fff;
    }

    .card-zoom {
        transition: transform 0.5s ease;
    }

    .custom-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

    .custom-card:hover .card-zoom {
        transform: scale(1.1);
    }

    .title-hover:hover {
        color: var(--accent-color) !important;
    }

    /* Support Mode Sombre */
    body.dark-mode .custom-card {
        background: #1e293b;
    }
    body.dark-mode .custom-card .card-title a {
        color: #f1f5f9 !important;
    }
    body.dark-mode .bg-light {
        background-color: #334155 !important;
        color: #fff !important;
    }

    


    
    /* La barre de navigation elle-même */
.pro-nav {
    height: 60px; /* On fixe une hauteur pour que ce soit imposant */
    display: flex;
    align-items: center;
}

/* La liste (ul) */
.nav-menu-list {
    display: flex;
    list-style: none;
    height: 60px; /* Doit être identique à la nav */
    margin: 0;
    padding: 0;
}

/* Les liens (a) */
.nav-item-link {
    display: flex;
    align-items: center; /* Centre le texte verticalement */
    height: 100%;       /* Prend toute la hauteur de la barre */
    padding: 0 30px;    /* Largeur de l'onglet */
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

/* EFFET AU SURVOL */
.nav-item-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* --- L'ÉTAT ACTIF (COMME SUR TON IMAGE) --- */
.nav-item-link.active {
    background-color: #f8f9fa !important; /* Fond blanc/clair */
    color: #0a2351 !important;           /* Texte bleu foncé */
    border-bottom: 4px solid #007bff;     /* Optionnel: petite ligne de rappel en bas */
}

/* Supprimer les marges Bootstrap qui pourraient gêner */
.nav-menu-list li {
    height: 100%;
}



    .service-card-pro {
        transition: all 0.3s ease-in-out;
        border: 1px solid rgba(0,0,0,0.05) !important;
    }
    .service-card-pro:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
        border-color: var(--bs-primary) !important;
    }
    .icon-circle {
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    .transition-all:hover {
        transform: scale(1.05);
    }


    /* Couleurs dégradées pour les icônes de parcours */
    .bg-grad-blue { background: linear-gradient(45deg, #007bff, #00d4ff); }
    .bg-grad-purple { background: linear-gradient(45deg, #6f42c1, #a951ed); }
    .bg-grad-orange { background: linear-gradient(45deg, #fd7e14, #ffb334); }

    .skill-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-bottom: 3px solid transparent !important;
    }
    .skill-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
        border-bottom: 3px solid #007bff !important;
    }
    .profile-frame img {
        transition: transform 0.5s ease;
    }
    .profile-frame:hover img {
        transform: scale(1.02);
    }


    

/* Accueil*/

    .transition-up {
        transition: all 0.3s ease;
    }
    .transition-up:hover {
        transform: translateY(-8px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.12) !important;
    }
    .card-zoom {
        transition: transform 0.5s ease;
    }
    .custom-card:hover .card-zoom {
        transform: scale(1.1);
    }
    .title-hover:hover {
        color: #0d6efd !important;
    }
    .backdrop-blur {
        backdrop-filter: blur(5px);
    }



    /* Petits effets pro sans fichier CSS externe */
    .hover-opacity-100:hover { opacity: 1 !important; transform: scale(1.1); transition: 0.3s; }
    .hover-link:hover { color: #0d6efd !important; padding-left: 5px; transition: 0.3s; }
    footer hr { border-color: rgba(255,255,255,0.1); }

/* Contrôle de la taille de la photo à côté du nom */
.profile-thumb {
    width: 20px;          /* Largeur fixe */
    height: 20px;         /* Hauteur fixe */
    object-fit: cover;    /* Empêche de déformer l'image */
    border-radius: 50%;   /* Rend l'image ronde */
    border: 2px solid white; /* Un petit cercle blanc autour */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Si tu es sur un tout petit téléphone, on la réduit encore un peu */
@media (max-width: 480px) {
    .profile-thumb {
        width: 45px;
        height: 45px;
    }
    .pro-name {
        font-size: 1.2rem !important;
    }
}



.hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-lift:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
    }
    .icon-shape {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }





/* Force le bouton à bien contenir son texte */
.btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: white !important; /* Pour que "Me recruter" ne soit pas bleu sur fond bleu */
    text-decoration: none !important;
}

/* Évite que le texte ne soit souligné au survol */
.btn-primary:hover {
    color: white !important;
}





/* --- SECTION EXPERTISE & SERVICES --- */

/* Effet de lévitation au survol */
.card-expertise {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card-expertise:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Bordure colorée subtile au survol */
.card-expertise::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--bs-primary); /* Utilise la couleur primaire Bootstrap */
    transition: width 0.4s ease;
}

.card-expertise:hover::after {
    width: 100%;
}

/* Styling des listes (Checklist) */
.card-expertise ul li {
    padding-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.card-expertise ul li i {
    flex-shrink: 0;
    margin-top: 3px;
    font-weight: bold;
}

/* --- RESPONSIVITÉ --- */

/* Ajustements pour tablettes et mobiles */
@media (max-width: 768px) {
    .card-expertise {
        margin-bottom: 15px; /* Espace entre les cartes quand elles sont empilées */
    }
    
    .display-6 {
        font-size: 1.8rem; /* Titre légèrement plus petit sur mobile */
    }
}

/* --- ANIMATION DES ICONES --- */
.card-expertise:hover .icon-shape {
    transform: scale(1.1) rotate(8deg);
    filter: brightness(1.1);
}






/* --- Style des cartes techniques --- */
.skill-card {
    transition: all 0.3s ease;
}

/* Effet au survol pour desktop */
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Gestion des fonds colorés des icônes (bg-opacity) */
.bg-warning.bg-opacity-10 { background-color: rgba(255, 193, 7, 0.1) !important; }
.bg-danger.bg-opacity-10 { background-color: rgba(220, 53, 69, 0.1) !important; }
.bg-dark.bg-opacity-10 { background-color: rgba(33, 37, 41, 0.1) !important; }

/* --- RESPONSIVITÉ POUR LE HTML FOURNI --- */
@media (max-width: 767px) {
    /* Ajoute de l'espace entre les cartes quand elles s'empilent sur mobile */
    .skill-card {
        margin-bottom: 1rem;
    }
    
    /* Réduit un peu les marges pour gagner de la place sur petit écran */
    .skill-card.p-4 {
        padding: 1.5rem !important;
    }
}


/* Effet de survol pour les boutons  AU NIVEUX DU PDF */

.hover-lift {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(13, 110, 253, 0.2);
}

.bg-opacity-10 {
    background-color: rgba(13, 110, 253, 0.05) !important;
}

/* Style spécifique pour l'icône PDF */
.bi-file-earmark-pdf-fill {
    color: #ffc107; /* Un petit rappel jaune pour le PDF sur le bouton bleu */
}






/* --- Style Final --- */
.skill-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08) !important;
}

.italic { font-style: italic; }

/* --- Ajustements Responsives --- */
@media (max-width: 768px) {
    .skill-card {
        margin-bottom: 1rem; /* Espacement vertical sur mobile */
    }
    
    h3.fw-bold {
        font-size: 1.4rem; /* Réduction du titre pour petit écran */
    }
}/* Délimitation du bloc formulaire */
.contact-container {
    background: var(--bs-body-bg); /* S'adapte au mode clair/sombre */
    border: 1px solid rgba(13, 110, 253, 0.15);
    max-width: 700px;
    margin: 0 auto;
}

/* Style des groupes d'input */
.custom-input-group {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .custom-input-group {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.custom-input-group .input-group-text {
    background: transparent;
    border: none;
    padding-left: 1.2rem;
}

.custom-input-group .form-control,
.custom-input-group .form-select {
    border: none !important;
    background: transparent !important;
    padding: 12px;
    box-shadow: none !important;
}

/* Effet au focus sur tout le bloc */
.custom-input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

/* Style spécifique au textarea */
.custom-textarea {
    border-radius: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 15px !important;
}

[data-bs-theme="dark"] .custom-textarea {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}








/* Animation au survol pour les services */
/* --- CONFIGURATION DES CARTES DE SERVICES --- */
.skill-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* Effet de lévitation au survol */
.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
}

/* Animation de l'icône au survol */
.skill-card:hover .icon-box-small {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

/* Style des listes à puces */
.skill-card ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.skill-card ul li i {
    flex-shrink: 0; /* Empêche l'icône de s'écraser */
}

/* --- RESPONSIVITÉ (ADAPTATION ÉCRANS) --- */

/* Pour les tablettes et petits ordinateurs (sous 992px) */
@media (max-width: 991px) {
    .display-5 {
        font-size: 2.2rem; /* Titre un peu plus petit */
    }
}

/* Pour les mobiles (sous 768px) */
@media (max-width: 767px) {
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .display-5 {
        font-size: 1.8rem; /* Titre adapté au mobile */
    }

    /* Espacement entre les cartes quand elles sont empilées verticalement */
    .skill-card {
        margin-bottom: 10px;
        padding: 1.5rem !important; /* On réduit un peu le padding interne */
    }

    /* On s'assure que les icônes restent centrées si besoin ou s'adaptent */
    .icon-box-small {
        padding: 0.8rem !important;
    }
}

/* --- PETITS PLUS ESTHÉTIQUES --- */
.ls-wide {
    letter-spacing: 2px;
}

.bg-opacity-10 {
    /* Sécurité si Bootstrap n'est pas à jour */
    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}





/* --- STYLE DES COMPTEURS UNIVERSEL --- */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    /* Couleur par défaut (Sombre pour le mode clair) */
    color: #212529 !important; 
    transition: all 0.3s ease;
}

/* Texte sous les chiffres (Mode Clair) */
.counter + p, .text-uppercase {
    color: #6c757d !important;
    font-weight: 600;
}

/* --- AJUSTEMENT AUTOMATIQUE POUR FOND SOMBRE --- */
/* Si la carte ou le body est en mode sombre */
[data-bs-theme="dark"] .counter, 
.bg-dark .counter, 
.card-dark .counter {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .text-uppercase,
.bg-dark .text-uppercase {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsivité Mobile */
@media (max-width: 767px) {
    .counter { font-size: 1.8rem; }
    .row.g-4.mt-5 .col-6 { padding: 5px; }
    .p-4.rounded-4 { padding: 1.2rem !important; }
    .text-uppercase { font-size: 0.65rem; }
}





/* Nettoyage des bordures de l'Input Group */
#contact-form .input-group {
    border-radius: 0.5rem;
    overflow: hidden; /* Empêche les débordements */
}

/* Éviter l'effet de double bordure entre l'icône et l'input */
#contact-form .input-group .form-control, 
#contact-form .input-group .form-select {
    border-left: none !important;
}

#contact-form .input-group-text {
    border-right: none !important;
    font-size: 1.1rem;
}

/* Amélioration de la zone de message (Textarea) */
#contact-form textarea.form-control {
    border-radius: 0.5rem !important;
    padding: 1rem;
    transition: all 0.3s ease;
}

/* --- RESPONSIVITÉ MOBILE --- */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.8rem; /* Titre plus adapté au mobile */
    }
    
    /* Espacement entre la colonne formulaire et la colonne coordonnées */
    .row.g-5 > div {
        margin-bottom: 2rem;
    }

    /* Bouton plus large pour faciliter le clic au pouce */
    #submit-btn {
        padding: 1rem !important;
        font-size: 1rem;
    }
}

/* Animation fluide pour les icônes réseaux sociaux */
.btn-outline-light:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    transform: scale(1.1);
}



.animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
    75%, 100% { transform: scale(3); opacity: 0; }
}
.transition-transform:hover {
    transform: translateX(5px);
    transition: 0.3s;
}




/*POUR LES CHIFFRE AU NIVEAU DE SERVICES ET FAQ*/


/* Style de base des cartes de stats */
.stats-card {
    background-color: var(--bs-body-bg); /* S'adapte au mode clair/sombre */
    transition: transform 0.3s ease;
}

/* Couleur des chiffres (Adaptative) */
.counter {
    color: var(--bs-emphasis-color) !important; /* Devient blanc en sombre, noir en clair */
}

/* Couleur des labels (Adaptative) */
.stats-label {
    color: var(--bs-secondary-color) !important;
}

/* --- Ajustement spécifique pour le mode sombre de ton site --- */
[data-bs-theme="dark"] .stats-card {
    background-color: #1a2234 !important; /* Un bleu-nuit pro pour le fond sombre */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .counter {
    color: #ffffff !important; /* Blanc pur forcé pour la visibilité maximale */
}



.row.mt-5 .col-md-4 .p-3 {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.row.mt-5 .col-md-4 .p-3:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(13, 110, 253, 0.1);
    transform: translateY(-5px);
}

/* INSIGN visual system */
:root {
    --brand-ink: #081b3a;
    --brand-blue: #1b54bb;
    --brand-green: #16794b;
    --brand-gold: #e6b923;
    --brand-muted: #63718a;
    --brand-surface: #f2faf5;
    --brand-border: #e5eaf2;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--brand-surface);
    color: #17233a;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.skip-link {
    position: absolute;
    z-index: 1100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    transform: translateY(-160%);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--brand-ink);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 1031;
    background: var(--brand-ink);
    color: #fff;
}

.site-header-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-lockup,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    width: 64px;
    height: 64px;
    padding: 0.2rem;
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
}

.brand-copy,
.footer-brand span {
    display: grid;
    gap: 0.16rem;
}

.brand-name {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.065em;
}

.brand-tagline,
.footer-brand small {
    color: #e5bf38;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.availability {
    color: #d7e2f5;
    font-size: 0.83rem;
}

.availability-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: #39d98a;
    box-shadow: 0 0 0 4px rgba(57, 217, 138, 0.14);
}

.theme-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    background: rgba(255,255,255,0.18);
}

.site-nav {
    z-index: 1020;
    min-height: 60px;
    background: #10284d;
    box-shadow: 0 8px 22px rgba(8, 27, 58, 0.12);
}

.site-nav .navbar-nav {
    align-items: center;
    gap: 0.3rem;
}

.site-nav .nav-link {
    position: relative;
    padding: 1.05rem 1rem !important;
    color: #d6e0ef !important;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: #fff !important;
}

.site-nav .nav-link.active::after {
    position: absolute;
    right: 1rem;
    bottom: 0;
    left: 1rem;
    height: 3px;
    border-radius: 4px 4px 0 0;
    background: var(--brand-gold);
    content: "";
}

.nav-cta {
    margin-left: 1.4rem;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(230,185,35,0.55);
    border-radius: 0.6rem;
    color: #f3d779;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
    background: var(--brand-gold);
    color: var(--brand-ink);
}

.site-nav .navbar-toggler {
    border-color: rgba(255,255,255,0.35);
}

.site-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(230,185,35,0.3);
}

.site-nav .navbar-toggler-icon {
    filter: invert(1);
}

.site-main {
    min-height: 60vh;
    background: var(--brand-surface);
}

.site-main > section {
    scroll-margin-top: 5rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background:
        radial-gradient(ellipse at 86% 45%, rgba(35, 91, 174, 0.32), transparent 36%),
        linear-gradient(120deg, #081b3a 0%, #0c2852 56%, #11366d 100%);
    color: #fff;
}

.home-hero::before,
.home-hero::after {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-hero::before {
    top: -230px;
    right: 10%;
}

.home-hero::after {
    right: -230px;
    bottom: -240px;
}

.home-hero > .container {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-kicker {
    margin-bottom: 1rem;
    color: #e8c348;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.19em;
}

.eyebrow-line {
    display: inline-block;
    width: 26px;
    height: 2px;
    margin: 0 0.45rem 0.2rem 0;
    background: currentColor;
}

.eyebrow-separator {
    margin: 0 0.4rem;
}

.hero-title {
    max-width: 720px;
    margin-bottom: 1.35rem;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

.hero-title span {
    color: #f1c83e;
}

.hero-description {
    max-width: 590px;
    margin-bottom: 2rem;
    color: #c5d2e7;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-brand {
    border: 1px solid var(--brand-gold);
    background: var(--brand-gold);
    color: var(--brand-ink) !important;
    font-size: 0.96rem;
    font-weight: 800;
}

.btn-brand:hover,
.btn-brand:focus-visible {
    border-color: #f1d36b;
    background: #f1d36b;
    color: var(--brand-ink) !important;
    transform: translateY(-2px);
}

.btn-hero-outline {
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff !important;
    font-size: 0.96rem;
    font-weight: 700;
}

.btn-hero-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    color: #b7c8e0;
    font-size: 0.85rem;
}

.hero-proof i {
    margin-right: 0.35rem;
    color: #e8c348;
}

.hero-visual {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 1.1rem;
}

.hero-visual-glow {
    position: absolute;
    inset: 12% 5%;
    border-radius: 2rem;
    background: rgba(47, 105, 204, 0.4);
    filter: blur(55px);
}

.hero-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1.24;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 1.5rem;
    background: #101d37;
    box-shadow: 0 30px 70px rgba(0,0,0,0.38);
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    z-index: 2;
    right: -0.3rem;
    bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 0.9rem;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    color: var(--brand-ink);
}

.hero-floating-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 0.7rem;
    background: #fff4cb;
    color: #9c7600;
    font-size: 1.3rem;
}

.hero-floating-card strong,
.hero-floating-card small {
    display: block;
}

.hero-floating-card strong {
    font-size: 0.9rem;
}

.hero-floating-card small {
    margin-top: 0.1rem;
    color: var(--brand-muted);
    font-size: 0.73rem;
}

.hero-orbit {
    position: absolute;
    z-index: 0;
    width: 18px;
    height: 18px;
    border: 4px solid #e8c348;
    border-radius: 50%;
}

.hero-orbit-one {
    top: -0.4rem;
    right: 22%;
}

.hero-orbit-two {
    bottom: 12%;
    left: -0.3rem;
    width: 12px;
    height: 12px;
    border-width: 3px;
    border-color: #53c5c7;
}

.trust-strip {
    border-bottom: 1px solid var(--brand-border);
    background: #fff;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 1.15rem 0;
}

.trust-items span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #46536b;
    font-size: 0.83rem;
    font-weight: 700;
    text-align: center;
}

.trust-items i {
    color: var(--brand-blue);
    font-size: 1.1rem;
}

.section-space {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.showcase-section {
    background: #fff;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-heading .section-kicker,
.section-heading-centered .section-kicker,
.home-cta .section-kicker {
    margin-bottom: 0.55rem;
    color: var(--brand-blue);
}

.section-title {
    margin-bottom: 0.65rem;
    color: var(--brand-ink);
    font-size: clamp(1.8rem, 3.2vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.section-description {
    max-width: 650px;
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.7;
}

.showcase-controls {
    display: flex;
    flex-shrink: 0;
    gap: 0.6rem;
}

.carousel-control-custom {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--brand-border);
    border-radius: 50%;
    background: #fff;
    color: var(--brand-ink);
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.carousel-control-custom:hover {
    border-color: var(--brand-blue);
    background: var(--brand-blue);
    color: #fff;
}

.showcase-carousel {
    overflow: hidden;
    border: 1px solid #1a2c4d;
    border-radius: 1.25rem;
    background: #081b3a;
    box-shadow: 0 22px 50px rgba(8,27,58,0.15);
}

.showcase-carousel .carousel-item {
    height: clamp(330px, 52vw, 590px);
    padding: 1.1rem 1.1rem 3.8rem;
    text-align: center;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.showcase-caption {
    position: absolute;
    right: 1.2rem;
    bottom: 0.75rem;
    left: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
    text-align: left;
}

.showcase-caption span {
    color: #e8c348;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.showcase-caption strong {
    font-size: 0.88rem;
}

.showcase-carousel .carousel-indicators {
    right: auto;
    bottom: 0.75rem;
    left: 50%;
    z-index: 3;
    width: auto;
    margin: 0;
    transform: translateX(-50%);
}

.showcase-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border: 0;
    border-radius: 50%;
}

.showcase-carousel .carousel-indicators .active {
    width: 22px;
    border-radius: 5px;
    background: var(--brand-gold);
}

.showcase-hint {
    margin: 0.9rem 0 0;
    color: #8490a3;
    font-size: 0.77rem;
    text-align: center;
}

.expertise-section {
    background: var(--brand-surface);
}

.section-heading-centered {
    max-width: 760px;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.section-heading-centered .section-description {
    margin: 0 auto;
}

.expertise-card {
    position: relative;
    height: 100%;
    min-height: 285px;
    padding: 1.6rem;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20,43,78,0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);
    border-color: #c7d7f0;
    box-shadow: 0 18px 38px rgba(20,43,78,0.1);
}

.expertise-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 0.85rem;
    font-size: 1.45rem;
}

.expertise-icon-blue { background: #eaf1ff; color: #2459b5; }
.expertise-icon-purple { background: #f2ebff; color: #7144b8; }
.expertise-icon-green { background: #e6f7ee; color: #16834e; }
.expertise-icon-gold { background: #fff5d8; color: #a77c00; }

.expertise-number {
    position: absolute;
    top: 1.25rem;
    right: 1.4rem;
    margin: 0;
    color: #edf0f5;
    font-size: 2.2rem;
    font-weight: 800;
}

.expertise-card h3 {
    margin: 1.2rem 0 0.55rem;
    color: var(--brand-ink);
    font-size: 1.08rem;
    font-weight: 800;
}

.expertise-card > p:not(.expertise-number) {
    min-height: 3.3rem;
    margin-bottom: 1.15rem;
    color: var(--brand-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.expertise-card > a {
    color: var(--brand-blue);
    font-size: 0.83rem;
    font-weight: 800;
    text-decoration: none;
}

.expertise-card > a i {
    margin-left: 0.25rem;
    transition: margin-left 0.2s ease;
}

.expertise-card > a:hover i {
    margin-left: 0.55rem;
}

.home-blog-section {
    background: #fff;
}

.text-link {
    flex-shrink: 0;
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    color: var(--brand-ink);
}

.article-card {
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(20,43,78,0.1);
}

.article-image-link {
    display: block;
    height: 215px;
    overflow: hidden;
    background: linear-gradient(135deg, #10284d, #2862b2);
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.article-card:hover .article-image {
    transform: scale(1.04);
}

.article-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255,255,255,0.8);
    font-size: 3rem;
}

.article-content {
    padding: 1.35rem;
}

.article-date {
    margin-bottom: 0.7rem;
    color: #8290a5;
    font-size: 0.76rem;
    font-weight: 600;
}

.article-content h3 {
    margin-bottom: 0.65rem;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--brand-ink);
    text-decoration: none;
}

.article-content h3 a:hover {
    color: var(--brand-blue);
}

.article-summary {
    min-height: 3.1rem;
    margin-bottom: 1rem;
    color: var(--brand-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.article-read-more {
    color: var(--brand-blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.empty-articles {
    padding: 3rem 1rem;
    border: 1px dashed #cbd4e2;
    border-radius: 1rem;
    color: var(--brand-muted);
    text-align: center;
}

.empty-articles i {
    color: #9eacc1;
    font-size: 2rem;
}

.empty-articles p {
    margin: 0.7rem 0 0;
}

.home-cta-section {
    padding: 0 0 clamp(4rem, 7vw, 6rem);
    background: #fff;
}

.home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 1.25rem;
    background: linear-gradient(120deg, #eaf1ff 0%, #f8f4e4 100%);
}

.home-cta h2 {
    max-width: 640px;
    margin-bottom: 0.7rem;
    color: var(--brand-ink);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.home-cta p:not(.section-kicker) {
    margin: 0;
    color: var(--brand-muted);
}

.site-footer {
    padding: 4rem 0 1.25rem;
    background: #07162f;
    color: #fff;
}

.footer-brand {
    margin-bottom: 1.25rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    padding: 0.25rem;
    border-radius: 0.7rem;
    background: #fff;
    object-fit: contain;
}

.footer-brand strong {
    color: #fff;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
}

.footer-brand small {
    font-size: 0.62rem;
}

.footer-description {
    max-width: 420px;
    color: #aebbd0;
    font-size: 0.88rem;
    line-height: 1.75;
}

.social-links {
    display: flex;
    gap: 0.55rem;
    margin-top: 1.2rem;
}

.social-links a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: #dbe5f4;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    border-color: var(--brand-gold);
    background: var(--brand-gold);
    color: var(--brand-ink);
}

.footer-heading {
    margin: 0.4rem 0 1rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-contact,
.footer-contact a {
    color: #aebbd0;
    font-size: 0.82rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #f1cd54;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-phone-links {
    display: grid;
    gap: 0.25rem;
}

.footer-contact i {
    color: #e8c348;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #8998b0;
    font-size: 0.76rem;
}

.footer-bottom i {
    color: #ed6b72;
}

body.dark-mode {
    background: #0b1425 !important;
    color: #e5edf8;
}

body.dark-mode .site-header,
body.dark-mode .site-main {
    background: #0b1425 !important;
}

body.dark-mode .trust-strip,
body.dark-mode .showcase-section,
body.dark-mode .home-blog-section,
body.dark-mode .home-cta-section {
    background: #101c30 !important;
}

body.dark-mode .trust-strip {
    border-color: #27364c;
}

body.dark-mode .trust-items span,
body.dark-mode .section-title,
body.dark-mode .expertise-card h3,
body.dark-mode .article-content h2 a,
body.dark-mode .article-content h3 a,
body.dark-mode .home-cta h2 {
    color: #e9f0fb;
}

body.dark-mode .section-description,
body.dark-mode .article-summary,
body.dark-mode .article-date,
body.dark-mode .home-cta p:not(.section-kicker) {
    color: #a8b7cc;
}

body.dark-mode .expertise-section {
    background: #0b1425;
}

body.dark-mode .expertise-card,
body.dark-mode .article-card,
body.dark-mode .carousel-control-custom {
    border-color: #28374e;
    background: #142239;
}

body.dark-mode .article-content h3 a:hover {
    color: #83b1ff;
}

body.dark-mode .home-cta {
    background: linear-gradient(120deg, #172b4b 0%, #332c1b 100%);
}

body.dark-mode .empty-articles {
    border-color: #374760;
}

@media (max-width: 991.98px) {
    .site-nav .navbar-nav {
        align-items: stretch;
        padding: 0.5rem 0 0.8rem;
    }

    .site-nav .nav-link {
        padding: 0.8rem 0.5rem !important;
    }

    .site-nav .nav-link.active::after {
        right: auto;
        bottom: 0.35rem;
        left: 0.5rem;
        width: 30px;
    }

    .nav-cta {
        display: inline-block;
        margin: 0 0 1rem;
    }

    .home-hero .row {
        row-gap: 3.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .site-header-inner {
        min-height: 76px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-name {
        font-size: 0.83rem;
        letter-spacing: 0.04em;
    }

    .brand-tagline {
        font-size: 0.63rem;
    }

    .availability {
        display: none;
    }

    .home-hero {
        padding: 4rem 0 4.5rem;
    }

    .hero-title {
        font-size: clamp(2.55rem, 11vw, 3.8rem);
    }

    .hero-visual {
        max-width: 460px;
        padding: 0.4rem;
    }

    .hero-floating-card {
        right: 0;
        bottom: 0.7rem;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1rem;
        padding: 1.2rem 0;
    }

    .trust-items span {
        justify-content: flex-start;
        font-size: 0.76rem;
        text-align: left;
    }

    .section-heading {
        align-items: flex-start;
    }

    .showcase-carousel .carousel-item {
        height: clamp(280px, 70vw, 440px);
        padding: 0.7rem 0.7rem 3.4rem;
    }

    .showcase-caption {
        right: 0.8rem;
        left: 0.8rem;
    }

    .showcase-caption strong {
        max-width: 65%;
        font-size: 0.72rem;
    }

    .home-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .brand-lockup {
        gap: 0.55rem;
    }

    .brand-name {
        font-size: 0.74rem;
    }

    .brand-tagline {
        font-size: 0.6rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        gap: 0.75rem;
        flex-direction: column;
    }

    .trust-items {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        gap: 1rem;
    }

    .showcase-controls {
        align-self: flex-end;
    }

    .showcase-carousel .carousel-item {
        height: 300px;
    }

    .showcase-caption span {
        font-size: 0.62rem;
    }

    .home-cta .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



/* Délimitation du bloc formulaire */
.contact-container {
    background: var(--bs-body-bg); /* S'adapte au mode clair/sombre */
    border: 1px solid rgba(13, 110, 253, 0.15);
    max-width: 700px;
    margin: 0 auto;
}

/* Style des groupes d'input */
.custom-input-group {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .custom-input-group {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.custom-input-group .input-group-text {
    background: transparent;
    border: none;
    padding-left: 1.2rem;
}

.custom-input-group .form-control,
.custom-input-group .form-select {
    border: none !important;
    background: transparent !important;
    padding: 12px;
    box-shadow: none !important;
}

/* Effet au focus sur tout le bloc */
.custom-input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

/* Style spécifique au textarea */
.custom-textarea {
    border-radius: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 15px !important;
}

[data-bs-theme="dark"] .custom-textarea {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}





/* Style pour le message de bienvenue */
.welcome-msg h3 {
    font-family: 'Poppins', sans-serif; /* Ou ta police actuelle */
    background: linear-gradient(45deg, #0d6efd, #00b4db); /* Dégradé bleu pro */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.8s ease-out; /* Animation d'apparition */
}

/* Animation d'entrée */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustement Responsive pour mobile */
@media (max-width: 768px) {
    .welcome-msg h3 {
        font-size: 1.25rem !important; /* Texte plus petit sur smartphone */
        text-align: center; /* Centré pour une meilleure ergonomie mobile */
    }
}





/* Barre de recherche Pro & Responsive */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.search-container-pro {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Effet focus quand on clique dedans */
.search-container-pro:focus-within {
    border-color: #0d6efd;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
    transform: translateY(-2px);
}

.search-input-pro {
    border: none !important;
    background: transparent !important;
    padding: 12px 20px;
    font-size: 1.1rem;
    color: #333;
    flex: 1;
}

.search-input-pro::placeholder {
    color: #a0a0a0;
    font-weight: 400;
}

.search-btn-pro {
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 12px 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-btn-pro:hover {
    background: #0052cc;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Responsivité Mobile */
@media (max-width: 576px) {
    .search-btn-pro span {
        display: none; /* Cache le texte "Rechercher" sur mobile pour ne garder que l'icône */
    }
    .search-btn-pro {
        padding: 12px;
        border-radius: 50%; /* Devient un cercle parfait sur mobile */
    }
    .search-input-pro {
        padding: 8px 15px;
        font-size: 1rem;
    }
}

.article-detail {
    min-height: 60vh;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background: #fff;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    color: #8995a8;
    font-size: 0.8rem;
}

.article-breadcrumb a {
    color: var(--brand-blue);
    text-decoration: none;
}

.article-breadcrumb span {
    color: #58667d;
}

.article-detail-header {
    max-width: 850px;
    margin: 0 auto 2rem;
    text-align: center;
}

.article-detail-header h1 {
    margin: 0 0 1rem;
    color: var(--brand-ink);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.article-detail-date {
    color: var(--brand-muted);
    font-size: 0.85rem;
}

.article-detail-image {
    display: block;
    width: 100%;
    max-height: 560px;
    margin: 0 auto 2rem;
    border-radius: 1rem;
    background: #eef2f8;
    object-fit: cover;
}

.article-detail-summary,
.article-detail-body {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    color: #39475d;
    font-size: 1.03rem;
    line-height: 1.9;
}

.article-detail-summary {
    margin-bottom: 1.5rem;
    color: var(--brand-ink);
    font-size: 1.15rem;
    font-weight: 600;
}

.article-detail-body p {
    margin-bottom: 1.4rem;
}

.article-detail-footer {
    display: flex;
    max-width: 780px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--brand-border);
}

body.dark-mode .article-detail {
    background: #101c30 !important;
}

body.dark-mode .article-detail-header h1,
body.dark-mode .article-detail-summary {
    color: #e9f0fb;
}

body.dark-mode .article-detail-body,
body.dark-mode .article-breadcrumb span,
body.dark-mode .article-detail-date {
    color: #a8b7cc;
}

body.dark-mode .article-detail-footer {
    border-color: #28374e;
}

@media (max-width: 576px) {
    .article-detail-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.page-hero {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background:
        radial-gradient(ellipse at 86% 20%, rgba(35,91,174,0.28), transparent 35%),
        linear-gradient(120deg, #081b3a 0%, #0c2852 65%, #11366d 100%);
    color: #fff;
}

.page-hero .container {
    max-width: 920px;
}

.page-hero h1 {
    max-width: 780px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.page-hero h1 span {
    color: #f1c83e;
}

.page-hero .container > p:not(.section-kicker) {
    max-width: 660px;
    margin-bottom: 1.7rem;
    color: #c5d2e7;
    font-size: 1.08rem;
    line-height: 1.8;
}

.service-page-section,
.blog-list-section,
.contact-page-section,
.about-story-section {
    background: var(--brand-surface);
}

.service-detail-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.7rem;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20,43,78,0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(20,43,78,0.1);
}

.service-index {
    margin: 1.1rem 0 0.4rem;
    color: #74829a;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.service-detail-card h2 {
    margin-bottom: 0.65rem;
    color: var(--brand-ink);
    font-size: 1.25rem;
    font-weight: 800;
}

.service-detail-card > p:not(.service-index) {
    margin-bottom: 0.8rem;
    color: var(--brand-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-detail-card ul {
    display: grid;
    gap: 0.65rem;
    margin: auto 0 0;
    padding: 1rem 0 0;
    list-style: none;
}

.service-detail-card li {
    color: #43516a;
    font-size: 0.83rem;
}

.service-detail-card li::before {
    margin-right: 0.55rem;
    color: #1b9a65;
    content: "✓";
    font-weight: 800;
}

.service-detail-contact {
    background: #eaf6ee;
}

.service-detail-contact .text-link {
    margin-top: auto;
    color: var(--brand-green);
}

.service-process-section,
.about-pillars-section {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    background: #fff;
}

.process-step {
    height: 100%;
    padding: 1.5rem;
    border-top: 2px solid #dce5f2;
}

.process-step > span {
    color: var(--brand-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.process-step h3 {
    margin: 0.65rem 0;
    color: var(--brand-ink);
    font-size: 1.18rem;
    font-weight: 800;
}

.process-step p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.about-page-hero .container {
    max-width: 1140px;
}

.about-brand-card {
    position: relative;
    display: grid;
    min-height: 340px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 1.3rem;
    background:
        radial-gradient(ellipse at 60% 35%, rgba(35,91,174,0.35), transparent 45%),
        linear-gradient(145deg, #081b3a, #123365);
    box-shadow: 0 22px 50px rgba(8,27,58,0.14);
}

.about-portrait {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.about-logo {
    width: min(58%, 260px);
    aspect-ratio: 1;
    border-radius: 1.2rem;
    background: #fff;
    object-fit: contain;
}

.about-brand-caption {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    left: 1.2rem;
    display: grid;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0.8rem;
    background: rgba(8,27,58,0.78);
    color: #fff;
    backdrop-filter: blur(8px);
}

.about-brand-caption strong {
    font-size: 0.93rem;
}

.about-brand-caption span {
    color: #c5d2e7;
    font-size: 0.78rem;
}

.about-description {
    color: var(--brand-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-values {
    display: grid;
    gap: 1rem;
    margin: 1.8rem 0;
}

.about-values > div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.about-values > div > i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.7rem;
    background: #eaf1ff;
    color: var(--brand-blue);
    font-size: 1.1rem;
}

.about-values strong,
.about-values small {
    display: block;
}

.about-values strong {
    color: var(--brand-ink);
    font-size: 0.88rem;
}

.about-values small {
    margin-top: 0.18rem;
    color: var(--brand-muted);
    font-size: 0.79rem;
}

.about-pillar {
    height: 100%;
    padding: 1.6rem;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: var(--brand-surface);
}

.about-pillar h3 {
    margin: 1rem 0 0.5rem;
    color: var(--brand-ink);
    font-size: 1.1rem;
    font-weight: 800;
}

.about-pillar p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.89rem;
    line-height: 1.7;
}

.about-contact-section {
    padding: 0 0 clamp(3.5rem, 6vw, 5rem);
    background: #fff;
}

.contact-page-hero .container {
    max-width: 1140px;
}

.contact-form-card {
    padding: clamp(1.3rem, 4vw, 2.4rem);
    border: 1px solid var(--brand-border);
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 15px 40px rgba(20,43,78,0.07);
}

.contact-card-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}

.contact-card-heading h2 {
    margin: 0 0 0.2rem;
    color: var(--brand-ink);
    font-size: 1.15rem;
    font-weight: 800;
}

.contact-card-heading p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.78rem;
}

.contact-form-card .form-label {
    color: #33415a;
    font-size: 0.84rem;
    font-weight: 700;
}

.contact-form-card .form-label span {
    color: #c53636;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 48px;
    border-color: #dfe5ee;
    border-radius: 0.65rem;
    background-color: #fbfcfe;
    color: #17233a;
    font-size: 0.9rem;
}

.contact-form-card textarea.form-control {
    min-height: 130px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #7aa4e8;
    background: #fff;
    box-shadow: 0 0 0 0.22rem rgba(27,84,187,0.12);
}

.form-privacy-note {
    margin: 1rem 0 0;
    color: #74829a;
    font-size: 0.73rem;
    text-align: center;
}

.contact-details {
    padding: 0.5rem 0 0 0.5rem;
}

.contact-details .section-kicker {
    margin-bottom: 0.5rem;
}

.contact-details > h2 {
    margin-bottom: 0.65rem;
    color: var(--brand-ink);
    font-size: 1.8rem;
    font-weight: 800;
}

.contact-details-intro {
    margin-bottom: 1.5rem;
    color: var(--brand-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
    padding: 0.9rem;
    border: 1px solid var(--brand-border);
    border-radius: 0.85rem;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.contact-method-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.7rem;
    background: #eaf1ff;
    color: var(--brand-blue);
    font-size: 1.1rem;
}

.contact-method > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 0.18rem;
}

.contact-method small,
.contact-method em {
    color: var(--brand-muted);
    font-size: 0.72rem;
    font-style: normal;
}

.contact-method strong {
    overflow-wrap: anywhere;
    color: var(--brand-ink);
    font-size: 0.86rem;
}

.contact-method-arrow {
    margin-left: auto;
    color: #9aa8bb;
}

.contact-social-card {
    margin-top: 1.3rem;
    padding: 1.25rem;
    border-radius: 0.9rem;
    background: #10284d;
    color: #fff;
}

.contact-social-card h3 {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
}

.contact-social-card p {
    margin-bottom: 0.8rem;
    color: #c5d2e7;
    font-size: 0.78rem;
}

.contact-social-card .social-links {
    margin: 0;
}

.contact-faq {
    margin-top: clamp(3rem, 6vw, 5rem);
}

.faq-item {
    height: 100%;
    padding: 1.3rem;
    border: 1px solid var(--brand-border);
    border-radius: 0.85rem;
    background: #fff;
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    color: var(--brand-ink);
    font-size: 0.93rem;
    font-weight: 800;
}

.faq-item p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.83rem;
    line-height: 1.7;
}

.blog-page-hero .container,
.search-page-hero .container {
    max-width: 1140px;
}

.blog-search-form {
    display: flex;
    max-width: 560px;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.4rem 0.45rem 0.4rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 0.8rem;
    background: #fff;
    color: #8190a6;
}

.blog-search-form > i {
    flex: 0 0 auto;
}

.blog-search-form input {
    width: 100%;
    min-width: 0;
    padding: 0.6rem 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17233a;
}

.blog-search-form input::placeholder {
    color: #8d99aa;
}

.blog-search-form button {
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 0.55rem;
    background: var(--brand-gold);
    color: var(--brand-ink);
    font-size: 0.82rem;
    font-weight: 800;
}

.blog-count {
    color: var(--brand-muted);
    font-size: 0.83rem;
}

.article-content h2 {
    margin-bottom: 0.65rem;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
}

.article-content h2 a {
    color: var(--brand-ink);
    text-decoration: none;
}

.article-content h2 a:hover {
    color: var(--brand-blue);
}

.empty-articles .text-link {
    display: inline-block;
    margin-top: 1rem;
}

body.dark-mode .service-page-section,
body.dark-mode .blog-list-section,
body.dark-mode .contact-page-section,
body.dark-mode .about-story-section,
body.dark-mode .service-process-section,
body.dark-mode .about-pillars-section,
body.dark-mode .about-contact-section {
    background: #0b1425 !important;
}

body.dark-mode .service-detail-card,
body.dark-mode .about-pillar,
body.dark-mode .contact-form-card,
body.dark-mode .contact-method,
body.dark-mode .faq-item {
    border-color: #28374e;
    background: #142239;
}

body.dark-mode .service-detail-card h2,
body.dark-mode .process-step h3,
body.dark-mode .about-values strong,
body.dark-mode .about-pillar h3,
body.dark-mode .contact-card-heading h2,
body.dark-mode .contact-form-card .form-label,
body.dark-mode .contact-details > h2,
body.dark-mode .contact-method strong,
body.dark-mode .faq-item h3 {
    color: #e9f0fb;
}

body.dark-mode .service-detail-card li,
body.dark-mode .service-detail-card > p:not(.service-index),
body.dark-mode .process-step p,
body.dark-mode .about-description,
body.dark-mode .about-values small,
body.dark-mode .about-pillar p,
body.dark-mode .contact-details-intro,
body.dark-mode .contact-card-heading p,
body.dark-mode .contact-method small,
body.dark-mode .contact-method em,
body.dark-mode .faq-item p {
    color: #a8b7cc;
}

body.dark-mode .contact-form-card .form-control,
body.dark-mode .contact-form-card .form-select {
    border-color: #394b65;
    background: #0d192b;
    color: #e9f0fb;
}

body.dark-mode .contact-form-card .form-control::placeholder {
    color: #8190a6;
}

body.dark-mode .blog-search-form {
    border-color: #394b65;
    background: #142239;
}

body.dark-mode .blog-search-form input {
    color: #e9f0fb;
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 3.5rem 0;
    }

    .site-main .container > .row,
    .site-footer .row {
        --bs-gutter-x: 1.5rem;
    }

    .page-hero h1 {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .contact-details {
        padding: 0;
    }

    .about-portrait {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .blog-search-form {
        gap: 0.5rem;
        padding-left: 0.7rem;
    }

    .blog-search-form button {
        padding: 0.62rem 0.7rem;
        font-size: 0.74rem;
    }
}

body.dark-mode .about-values > div > i {
    background: #20385c;
    color: #a8c9ff;
}

.about-cv-section {
    padding: 0 0 clamp(3rem, 5vw, 4.5rem);
    background: #fff;
}

.about-cv-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: var(--brand-surface);
}

.about-cv-card > div {
    flex: 1;
}

.about-cv-card h2 {
    margin: 0 0 0.3rem;
    color: var(--brand-ink);
    font-size: 1rem;
    font-weight: 800;
}

.about-cv-card p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.83rem;
}

body.dark-mode .about-cv-section {
    background: #0b1425 !important;
}

body.dark-mode .about-cv-card {
    border-color: #28374e;
    background: #142239;
}

body.dark-mode .about-cv-card h2 {
    color: #e9f0fb;
}

body.dark-mode .about-cv-card p {
    color: #a8b7cc;
}

@media (max-width: 575.98px) {
    .about-cv-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-cv-card .btn {
        width: 100%;
    }
}

/* Keep page content light and welcoming; the dark footer remains unchanged. */
.home-hero,
.page-hero {
    background: linear-gradient(125deg, #f3fbf6 0%, #e7f5ec 100%);
    color: var(--brand-ink);
}

.home-hero::before,
.home-hero::after {
    border-color: rgba(22, 121, 75, 0.12);
}

.home-hero .section-kicker,
.page-hero .section-kicker {
    color: var(--brand-green);
}

.hero-title,
.page-hero h1 {
    color: var(--brand-ink);
}

.hero-title span,
.page-hero h1 span {
    color: var(--brand-green);
}

.hero-description,
.hero-proof,
.page-hero .container > p:not(.section-kicker) {
    color: #53647b;
}

.hero-proof i {
    color: var(--brand-green);
}

.btn-hero-outline {
    border-color: rgba(8, 27, 58, 0.28);
    color: var(--brand-ink) !important;
}

.btn-hero-outline:hover {
    border-color: var(--brand-green);
    background: rgba(22, 121, 75, 0.08);
}

.about-pillars-section {
    background: var(--brand-surface);
}

body.dark-mode .home-hero,
body.dark-mode .page-hero {
    background: linear-gradient(120deg, #101c30 0%, #142744 100%);
    color: #e5edf8;
}

body.dark-mode .home-hero .section-kicker,
body.dark-mode .page-hero .section-kicker,
body.dark-mode .hero-title,
body.dark-mode .page-hero h1 {
    color: #e9f0fb;
}

body.dark-mode .hero-title span,
body.dark-mode .page-hero h1 span {
    color: #f1c83e;
}

body.dark-mode .hero-description,
body.dark-mode .hero-proof,
body.dark-mode .page-hero .container > p:not(.section-kicker) {
    color: #a8b7cc;
}

body.dark-mode .btn-hero-outline {
    border-color: rgba(255,255,255,0.35);
    color: #fff !important;
}

body.dark-mode .about-pillars-section {
    background: #0b1425 !important;
}
