/* ================================================
   TOTAL MANAGEMENT SERVICES - DESIGN PREMIUM
   ================================================ */

/* --- Fonts & Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --primary: #0A1628;
    --primary-light: #1A2A4A;
    --secondary: #2B6CFF;
    --accent: #D4A853;
    --accent-light: #F0D080;
    --gradient-primary: linear-gradient(135deg, #0A1628 0%, #1A2A4A 100%);
    --gradient-accent: linear-gradient(135deg, #D4A853, #F0D080);
    --gradient-hero: linear-gradient(135deg, #0A1628 0%, #1A3A6A 50%, #2B6CFF 100%);
    --text-dark: #0A1628;
    --text-gray: #6B7A8F;
    --text-light: #94A3B8;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 4px 20px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 20px 60px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 40px 80px rgba(10, 22, 40, 0.15);
    --shadow-xl: 0 60px 120px rgba(10, 22, 40, 0.20);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    padding-top: 80px;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.navbar .container {
    padding: 14px 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff !important;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    color: var(--accent);
    margin-right: 12px;
    font-size: 1.4rem;
}

.navbar-brand span {
    color: var(--accent);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 22px !important;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
    width: 40%;
}

.navbar .btn-accent {
    background: var(--gradient-accent) !important;
    border: none !important;
    color: var(--primary) !important;
    font-weight: 700;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    font-size: 0.85rem;
    box-shadow: 0 4px 25px rgba(212, 168, 83, 0.3);
    transition: var(--transition);
}

.navbar .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(212, 168, 83, 0.4);
}

/* ================================================
   HERO SECTION - PREMIUM
   ================================================ */
.hero-section {
    min-height: 95vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding: 40px 0 70px;
    position: relative;
    overflow: hidden;
}

/* Effet de particules */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(43, 108, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-white) 0%, transparent 100%);
    pointer-events: none;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid rgba(212, 168, 83, 0.2);
    padding: 6px 22px 6px 18px;
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -2px;
}

.hero-section h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-section h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(212, 168, 83, 0.3);
    border-radius: 2px;
    -webkit-text-fill-color: transparent;
}

.hero-section .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.9;
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-section .lead strong {
    color: #fff;
    font-weight: 600;
}

/* Boutons Hero */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.btn-primary-hero {
    background: var(--gradient-accent);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 6px 35px rgba(212, 168, 83, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(212, 168, 83, 0.4);
    color: var(--primary);
}

.btn-outline-hero {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    transition: var(--transition);
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: #fff;
}

/* Statistiques Hero */
.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 10px;
}

.hero-stats .stat-item {
    position: relative;
}

.hero-stats .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    letter-spacing: -1px;
}

.hero-stats .stat-number .plus {
    color: var(--accent);
    font-size: 1.8rem;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    font-weight: 400;
}

/* Image Hero */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper .main-image {
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255, 255, 255, 0.05);
}

/* Badges flottants */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card.top-right {
    top: 5%;
    right: -5%;
    animation-delay: 0.5s;
}

.floating-card.bottom-left {
    bottom: 10%;
    left: -8%;
    animation-delay: 1.5s;
}

.floating-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-card .icon-circle.gold {
    background: rgba(212, 168, 83, 0.15);
    color: var(--accent);
}

.floating-card .icon-circle.blue {
    background: rgba(43, 108, 255, 0.12);
    color: var(--secondary);
}

.floating-card .card-content .label {
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-card .card-content .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ================================================
   SERVICES SECTION - PREMIUM
   ================================================ */
.services-section {
    padding: 90px 0 70px;
    background: var(--bg-white);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-accent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-header .tag {
    display: inline-block;
    background: rgba(212, 168, 83, 0.1);
    color: var(--accent);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    border: 1px solid rgba(212, 168, 83, 0.15);
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.section-header h2 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 10px;
}

/* Service Cards Premium */
.service-card-premium {
    background: var(--bg-white);
    padding: 40px 30px 35px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 168, 83, 0.1);
}

.service-card-premium:hover::before {
    opacity: 1;
}

.service-card-premium .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(212, 168, 83, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card-premium:hover .icon-wrapper {
    background: var(--gradient-accent);
    transform: scale(1.05) rotate(-2deg);
}

.service-card-premium .icon-wrapper i {
    font-size: 2rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card-premium:hover .icon-wrapper i {
    color: var(--primary);
}

.service-card-premium .card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(10, 22, 40, 0.03);
    line-height: 1;
    pointer-events: none;
}

.service-card-premium h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card-premium p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.service-card-premium .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.service-card-premium .service-link i {
    transition: var(--transition);
}

.service-card-premium .service-link:hover {
    color: var(--primary);
}

.service-card-premium .service-link:hover i {
    transform: translateX(6px);
}

/* ================================================
   FOOTER PREMIUM
   ================================================ */
.footer-premium {
    background: var(--gradient-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    margin-top: 40px;
    border-top: 3px solid var(--accent);
}

.footer-premium h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-family: 'Playfair Display', serif;
}

.footer-premium h5 i {
    color: var(--accent);
    margin-right: 10px;
}

.footer-premium p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-premium .social-icons {
    display: flex;
    gap: 10px;
}

.footer-premium .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-premium .social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.25);
}

.footer-premium hr {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 30px 0 20px;
}

.footer-premium .copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    text-align: center;
}

.footer-premium .copyright a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--transition);
}

.footer-premium .copyright a:hover {
    color: var(--accent);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .hero-image-wrapper .main-image {
        margin-top: 40px;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 30px 0 50px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.4rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-stats .stat-item:not(:last-child)::after {
        right: -15px;
        height: 25px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-image-wrapper .main-image {
        max-width: 100%;
        margin-top: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card-premium {
        padding: 30px 20px;
    }
    
    .service-card-premium .card-number {
        font-size: 2.5rem;
    }
    
    .footer-premium {
        padding: 40px 0 20px;
    }
    
    .footer-premium .col-md-4 {
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stats .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
}
/* ================================================
   NOUVELLES CLASSES POUR LES PAGES
   ================================================ */

/* --- Formulaires --- */
.form-control:focus,
.form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15) !important;
}

/* --- Pages Héros --- */
.page-hero {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    color: #fff;
    text-align: center;
}

/* --- Cartes de service --- */
.service-detail:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
/* ================================================
CORRECTIONS POUR LA PAGE D'ACCUEIL
================================================ */

/* Ajustement de l'image dans le hero */
.hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ajustement de la taille du texte sur mobile */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section .lead {
        font-size: 0.95rem !important;
    }
    
    .hero-image-wrapper img {
        max-width: 100% !important;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.6rem !important;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem !important;
        padding: 12px 25px !important;
    }
}
/* ================================================
MENU DÉROULANT SERVICES
================================================ */

/* Style du dropdown */
.dropdown-menu {
    background: #0A1628 !important;
    border: 1px solid rgba(212, 168, 83, 0.15) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    min-width: 200px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    margin-top: 10px !important;
}

/* Style des items du dropdown */
.dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.dropdown-item:hover {
    background: rgba(212, 168, 83, 0.1) !important;
    color: #fff !important;
}

.dropdown-item.active {
    background: rgba(212, 168, 83, 0.15) !important;
    color: var(--accent) !important;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Flèche du dropdown */
.dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
    border-top-color: rgba(255, 255, 255, 0.4);
}

/* Survol du lien Services */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Responsive - mobile */
@media (max-width: 992px) {
    .dropdown-menu {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        margin-top: 0 !important;
    }
    
    .dropdown-item {
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 8px 18px !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.05) !important;
    }
}
/* ================================================
ANIMATIONS
================================================ */

/* --- Fade-in au scroll --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Slide-up --- */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Animation des cartes au survol --- */
.service-card-premium {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-premium:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

/* --- Animation des cartes certifications --- */
.cert-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.10);
    border-color: var(--accent) !important;
}

/* --- Pulse animation sur le bouton Contact --- */
@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(212, 168, 83, 0);
    }
}

.btn-accent {
    animation: pulse-btn 2.5s infinite;
}

/* --- Animation des statistiques --- */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-stats .stat-item {
    animation: count-up 0.8s ease forwards;
    opacity: 0;
}

.hero-stats .stat-item:nth-child(1) { animation-delay: 0.2s; }
.hero-stats .stat-item:nth-child(2) { animation-delay: 0.4s; }
.hero-stats .stat-item:nth-child(3) { animation-delay: 0.6s; }

/* --- Animation d'apparition des icônes --- */
@keyframes icon-pop {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(3deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.service-card-premium .icon-wrapper {
    animation: icon-pop 0.6s ease forwards;
    opacity: 0;
}

.service-card-premium:nth-child(1) .icon-wrapper { animation-delay: 0.1s; }
.service-card-premium:nth-child(2) .icon-wrapper { animation-delay: 0.2s; }
.service-card-premium:nth-child(3) .icon-wrapper { animation-delay: 0.3s; }
.service-card-premium:nth-child(4) .icon-wrapper { animation-delay: 0.4s; }

/* --- Animation de la devise --- */
@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.hero-badge {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* --- Animation du logo --- */
@keyframes logo-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.navbar-brand img {
    animation: logo-float 4s ease-in-out infinite;
}

/* --- Délais d'apparition pour les sections --- */
.services-section .fade-in {
    transition-delay: 0.1s;
}

.hero-section .fade-in {
    transition-delay: 0.2s;
}

/* --- Animation du texte dans le hero --- */
@keyframes typewriter {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-section h1 {
    animation: typewriter 1s ease forwards;
}

.hero-section .lead {
    animation: typewriter 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: typewriter 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    animation: typewriter 1s ease 0.9s forwards;
    opacity: 0;
}

/* --- Animation des cartes services au scroll --- */
.service-card-premium {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card-premium.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Effet de survol des liens --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* --- Animation du footer --- */
.footer-premium {
    animation: slide-up 0.8s ease forwards;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ================================================
SECTION RÉFÉRENCES CLIENTS - SANS CADRE BLANC
================================================ */

.clients-section {
    background: var(--bg-light);
    padding: 50px 0 40px;
    overflow: hidden;
    border-top: 1px solid rgba(212, 168, 83, 0.06);
    border-bottom: 1px solid rgba(212, 168, 83, 0.06);
}

.clients-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.clients-section .section-title h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.clients-section .section-title h3 span {
    color: var(--accent);
}

.clients-section .section-title p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* Conteneur du défilement */
.scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.scroll-track {
    display: flex;
    gap: 60px;
    animation: scroll-clients 25s linear infinite;
    width: max-content;
    align-items: center;
}

.scroll-track:hover {
    animation-play-state: paused;
}

/* Chaque logo client - SANS CADRE BLANC */
.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 10px;
    background: transparent;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.08);
}

.client-logo img {
    max-height: 70px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Animation de défilement */
@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Version responsive */
@media (max-width: 768px) {
    .client-logo {
        height: 60px;
        padding: 0 8px;
    }
    .client-logo img {
        max-height: 50px;
        max-width: 100px;
    }
    .clients-section {
        padding: 30px 0 25px;
    }
    .clients-section .section-title h3 {
        font-size: 1.4rem;
    }
    .scroll-track {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .client-logo {
        height: 50px;
        padding: 0 5px;
    }
    .client-logo img {
        max-height: 40px;
        max-width: 80px;
    }
    .scroll-track {
        gap: 25px;
    }
}
.client-logo img {
    max-height: 70px;    /* Hauteur maximale du logo */
    max-width: 150px;    /* Largeur maximale du logo */
    width: auto;
    height: auto;
    object-fit: contain; /* Conserve les proportions */
}
/* ================================================
RÉFÉRENCES CLIENTS - 2 LIGNES DÉFILANTES
================================================ */

.clients-section-double {
    background: var(--bg-light);
    padding: 50px 0 40px;
    overflow: hidden;
    border-top: 1px solid rgba(212, 168, 83, 0.06);
    border-bottom: 1px solid rgba(212, 168, 83, 0.06);
}

.clients-section-double .section-title {
    text-align: center;
    margin-bottom: 35px;
}

.clients-section-double .section-title h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-dark);
}

.clients-section-double .section-title h3 span {
    color: var(--accent);
}

.clients-section-double .section-title p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-top: 4px;
}

/* Conteneur des lignes */
.scroll-wrapper-double {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Masquage des bords */
.scroll-wrapper-double .scroll-row {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Ligne 1 : Gauche → Droite */
.scroll-row-left {
    animation: scroll-left 30s linear infinite;
    display: flex;
    gap: 40px;
    width: max-content;
}

/* Ligne 2 : Droite → Gauche */
.scroll-row-right {
    animation: scroll-right 30s linear infinite;
    display: flex;
    gap: 40px;
    width: max-content;
}

/* Pause au survol */
.scroll-row-left:hover,
.scroll-row-right:hover {
    animation-play-state: paused;
}

/* Animation Gauche → Droite */
@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Animation Droite → Gauche */
@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Logo client */
.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    min-width: 130px;
    padding: 0 15px;
    background: transparent;
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    transform: scale(1.08);
}

.client-logo-item img {
    max-height: 55px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Version responsive */
@media (max-width: 768px) {
    .client-logo-item {
        height: 55px;
        min-width: 100px;
        padding: 0 10px;
    }
    .client-logo-item img {
        max-height: 40px;
        max-width: 85px;
    }
    .scroll-row-left,
    .scroll-row-right {
        gap: 25px;
    }
    .clients-section-double {
        padding: 30px 0 25px;
    }
    .clients-section-double .section-title h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .client-logo-item {
        height: 45px;
        min-width: 80px;
        padding: 0 8px;
    }
    .client-logo-item img {
        max-height: 32px;
        max-width: 65px;
    }
    .scroll-row-left,
    .scroll-row-right {
        gap: 18px;
    }
}