/* =================================================================
   LUMIÈRE PRESTATIONS GROUP - CUSTOM STYLES OPTIMISÉS
   PALETTE HARMONIEUSE : Noir pour navbar, Violet profond pour sections, Or lumineux
   ================================================================= */

/* === GLOBAL STYLES === */
:root {
    /* === PALETTE PRINCIPALE OPTIMISÉE === */
    --primary-color: #2B0A3D;              /* Violet profond du logo - fond principal */
    --navbar-color: #000000;               /* Noir pur - réservé à la navbar */
    --secondary-color: #F9B233;            /* Or lumineux du logo - accent principal */
    --accent-color: #2D3FFF;               /* Bleu électrique du logo */
    --dark-color: #1A0829;                 /* Violet très sombre pour contraste */
    --light-color: #FFFFFF;                /* Blanc pur */
    --text-color: #FFFFFF;                 /* Texte principal blanc */
    --text-dark: #000000;                  /* Texte noir pour fonds clairs */
    --border-color: rgba(249, 178, 51, 0.3); /* Bordure dorée subtile */
    --tertiary-color: #4A1B5C;             /* Violet moyen pour nuances */
    --highlight-color: #FFD633;            /* Jaune clair du logo */
    --orange-vivid: #FF6A00;               /* Orange vif du logo */
    
    /* === GRADIENTS HARMONIEUX === */
    --gradient-primary: linear-gradient(135deg, #2B0A3D 0%, #1A0829 100%);
    --gradient-secondary: linear-gradient(135deg, #F9B233 0%, #FFD633 100%);
    --gradient-accent: linear-gradient(135deg, #2D3FFF 0%, #4A1B5C 100%);
    --gradient-hero: linear-gradient(135deg, rgba(43, 10, 61, 0.95) 0%, rgba(26, 8, 41, 0.9) 100%);
    --gradient-gold: linear-gradient(135deg, #F9B233 0%, #FFD633 100%);
    --gradient-warm: linear-gradient(135deg, #FF6A00 0%, #F9B233 100%);
    --gradient-section: linear-gradient(135deg, #2B0A3D 0%, #4A1B5C 50%, #2B0A3D 100%);
    
    /* === OMBRES PROFESSIONNELLES === */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 8px 20px rgba(249, 178, 51, 0.4);
    --shadow-violet: 0 8px 20px rgba(43, 10, 61, 0.3);
    
    /* === AUTRES VARIABLES === */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--light-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { 
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.text-primary { color: var(--secondary-color) !important; }
.text-secondary { color: var(--accent-color) !important; }
.text-accent { color: var(--highlight-color) !important; }

/* === UTILITIES === */
.section-padding { padding: 80px 0; }

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* === LOADING SCREEN === */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

.loading-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(249, 178, 51, 0.3);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === NAVIGATION (RESTE EN NOIR COMME DEMANDÉ) === */
.navbar {
    background: rgba(0, 0, 0, 0.96) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(249, 178, 51, 0.3);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-medium);
    background: rgba(0, 0, 0, 0.98) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--light-color) !important;
    text-decoration: none;
    
}

.navbar-brand i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.brand-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 80%;
}

.btn-devis {
    background: var(--gradient-secondary) !important;
    color: var(--navbar-color) !important;
    border-radius: 20px !important;  /* un peu plus petit que 25px */
    padding: 0.5rem 1rem !important; /* moins de padding */
    font-weight: 600 !important;     /* légèrement moins lourd */
    font-size: 0.9rem !important;    /* taille de texte réduite */
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-devis:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--navbar-color) !important;
}

.dropdown-menu {
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 178, 51, 0.3);
    box-shadow: var(--shadow-heavy);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--light-color);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: var(--navbar-color);
}
.flag {
    width: 28px;
    height: auto;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: transform 0.2s, border 0.2s;
}
.flag:hover {
    transform: scale(1.1);
    border: 1px solid #007bff;
}

/* Masquer la barre Google Translate */
.goog-te-banner-frame.skiptranslate,
body > .goog-te-gadget-icon {
    display: none !important;
}

/* Corps sans décalage */
body {
    top: 0 !important;
}

/* Select invisible mais interactif */
.goog-te-combo {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    pointer-events: none; /* pour qu’il ne gêne pas le clic */
}


/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Supprimer le fond si tu veux que la vidéo soit visible */
    background: transparent; /* ou garder un dégradé semi-transparent si tu veux */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* mettre à 0 pour que la vidéo soit visible */
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ajouter un overlay semi-transparent si nécessaire */
    background: rgba(0, 0, 0, 0.3); /* ajuste l'opacité pour “transparence” */
    z-index: 1; /* mettre devant la vidéo mais derrière le contenu */
}

.hero-content {
    color: white;
    z-index: 2; /* reste devant tout */
}


.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .text-primary {
    color: var(--secondary-color) !important;
    text-shadow: 0 0 20px rgba(249, 178, 51, 0.4);
}

.typed-text {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--navbar-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    background: var(--gradient-secondary);
    color: var(--navbar-color);
}

.btn-outline-light {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--secondary-color);
    color: var(--navbar-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(43, 10, 61, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    color: white;
    border: 1px solid rgba(249, 178, 51, 0.4);
    animation: float 6s ease-in-out infinite;
}

.floating-card.construction {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.digital {
    top: 50%;
    right: 20%;
    animation-delay: -2s;
}

.floating-card.finance {
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--secondary-color);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* === STATS SECTION === */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    border-top: 1px solid rgba(249, 178, 51, 0.3);
    border-bottom: 1px solid rgba(249, 178, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23F9B233" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.stat-item {
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.stat-icon {
    margin-bottom: 0.5rem;
}

.stat-icon i {
    font-size: 2rem; /* réduit pour moins écrasant */
    color: var(--secondary-color);
}

.stat-number {
    font-size: 2rem; /* réduit de 3.5rem à 2rem */
    font-weight: 900;
    color: white;
    margin-bottom: 0.3rem;
    font-family: var(--font-primary);
    text-shadow: 0 0 10px rgba(249, 178, 51, 0.4);
}


.stat-number span {
    display: block; /* utile pour les pays */
    font-size: 1.2rem;
}

.stat-label {
    font-size: 1rem; /* réduit légèrement */
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

/* === Responsive === */
@media (max-width: 768px) {
    .stat-icon i { font-size: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-number span { font-size: 1rem; }
    .stat-label { font-size: 0.9rem; }
}

/* === ABOUT SECTION === */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4A1B5C 0%, #2B0A3D 50%, #1A0829 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(249, 178, 51, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 80%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    border: 2px solid rgba(249, 178, 51, 0.3);
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gradient-secondary);
    color: var(--navbar-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.about-badge i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.about-badge span {
    font-weight: 700;
    font-size: 0.9rem;
}

.about-content {
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.about-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--light-color);
}

/* === SERVICES SECTION === */
.services-section {
    padding: 80px 0;
    background: var(--gradient-section);
    position: relative;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(249, 178, 51, 0.03) 50%, transparent 51%);
    z-index: 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(249, 178, 51, 0.2);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(45, 63, 255, 0.15) 0%, rgba(74, 27, 92, 0.2) 100%);
    color: white;
    transform: scale(1.05);
    border: 1px solid var(--secondary-color);
    box-shadow: var(--shadow-gold);
}

.service-card.featured::before {
    background: var(--gradient-secondary);
    transform: scaleX(1);
}

.service-card.featured .service-icon i {
    color: var(--secondary-color);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.service-card.featured .service-title {
    color: white;
}

.service-description {
    margin-bottom: 1.5rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.service-features li i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.service-card.featured .service-features li i {
    color: var(--secondary-color);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-btn:hover {
    color: var(--highlight-color);
    transform: translateX(5px);
}

.service-btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* === GALLERY SECTION === */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A0829 0%, #2B0A3D 50%, #4A1B5C 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(45, 63, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 106, 0, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.gallery-filter {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgba(249, 178, 51, 0.4);
    color: var(--light-color);
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-secondary);
    color: var(--navbar-color);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(249, 178, 51, 0.3);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 10, 61, 0.95) 0%, rgba(45, 63, 255, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(249, 178, 51, 0.2);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.gallery-link:hover {
    background: var(--secondary-color);
    color: var(--navbar-color);
    transform: scale(1.1);
}

/* === QUOTE SECTION === */
.quote-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
}

.quote-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(249, 178, 51, 0.05) 50%, transparent 100%);
    z-index: 0;
}

.quote-benefits {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--light-color);
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.quote-form-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(249, 178, 51, 0.3);
    position: relative;
    z-index: 1;
}

.form-control, .form-select {
    border: 2px solid rgba(249, 178, 51, 0.4);
    border-radius: var(--border-radius);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(43, 10, 61, 0.3);
    color: var(--light-color);
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(249, 178, 51, 0.25);
    background: rgba(43, 10, 61, 0.5);
    color: var(--light-color);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-label {
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

/* === CONTACT SECTION === */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2B0A3D 0%, #1A0829 50%, #4A1B5C 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at bottom right, rgba(255, 106, 0, 0.1) 0%, transparent 60%),
                radial-gradient(ellipse at top left, rgba(45, 63, 255, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.contact-info {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: 100%;
    border: 1px solid rgba(249, 178, 51, 0.3);
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.contact-icon i {
    color: var(--navbar-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-details h5 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(249, 178, 51, 0.3);
    position: relative;
    z-index: 1;
}

/* === FOOTER === */
.footer-section {
    background: linear-gradient(135deg, #1A0829 0%, #000000 100%);
    color: white;
    padding: 4rem 0 1rem;
    border-top: 2px solid rgba(249, 178, 51, 0.3);
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-secondary);
    z-index: 1;
}

.footer-brand {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-right: 0.75rem;
}

.footer-description {
    opacity: 0.85;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(249, 178, 51, 0.15);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(249, 178, 51, 0.4);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--navbar-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-divider {
    border-color: rgba(249, 178, 51, 0.3);
    margin: 2rem 0 1rem;
    background: linear-gradient(90deg, transparent 0%, rgba(249, 178, 51, 0.5) 50%, transparent 100%);
    height: 1px;
    border: none;
}

.footer-bottom {
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-certifications {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.certification-badge {
    background: rgba(249, 178, 51, 0.15);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(249, 178, 51, 0.4);
    transition: var(--transition);
}

.certification-badge:hover {
    background: rgba(249, 178, 51, 0.25);
    transform: translateY(-1px);
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: var(--gradient-secondary);
    color: var(--navbar-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(249, 178, 51, 0.5);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-certifications {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-form-container,
    .contact-form-container,
    .contact-info {
        padding: 2rem 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .about-section,
    .services-section,
    .gallery-section,
    .quote-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-text {
        display: none;
    }
    
    .filter-btn {
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* === CUSTOM ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes goldGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(249, 178, 51, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(249, 178, 51, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* === UTILITY CLASSES === */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-violet {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warm {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.bg-gradient-section {
    background: var(--gradient-section);
}

.shadow-custom {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.shadow-gold {
    box-shadow: var(--shadow-gold);
}

.shadow-violet {
    box-shadow: var(--shadow-violet);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(var(--primary-color), var(--primary-color)) padding-box,
                var(--gradient-secondary) border-box;
}

.border-gradient-violet {
    border: 2px solid transparent;
    background: linear-gradient(var(--primary-color), var(--primary-color)) padding-box,
                var(--gradient-accent) border-box;
}

.border-gradient-warm {
    border: 2px solid transparent;
    background: linear-gradient(var(--primary-color), var(--primary-color)) padding-box,
                var(--gradient-warm) border-box;
}

/* === LOADING STATES === */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === FORM ENHANCEMENTS === */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--secondary-color);
}

.form-control:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control:valid {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 63, 255, 0.25);
}

.was-validated .form-control:valid {
    border-color: var(--accent-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%232D3FFF' d='m2.3 6.73.94-.94 2.94 2.94L8.62 2.3l.94.94L3.24 9.56 2.3 6.73z'/%3e%3c/svg%3e");
}

/* === SPECIAL EFFECTS === */
.glow-effect {
    animation: goldGlow 3s ease-in-out infinite;
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(249, 178, 51, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(249, 178, 51, 0);
    }
}

.shimmer-effect {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(249, 178, 51, 0.4), 
        transparent
    );
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* === ENHANCED BUTTONS === */
.btn-gold {
    background: var(--gradient-secondary);
    color: var(--navbar-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    background: var(--gradient-secondary);
    color: var(--navbar-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-dark {
    background: var(--gradient-accent);
    color: white;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-dark:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-violet);
}

.btn-outline-gold {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline-gold:hover::before {
    width: 100%;
}

.btn-outline-gold:hover {
    color: var(--navbar-color);
    border-color: var(--secondary-color);
}

.btn-outline-violet {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-violet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline-violet:hover::before {
    width: 100%;
}

.btn-outline-violet:hover {
    color: white;
    border-color: var(--accent-color);
}

/* === GLASSMORPHISM EFFECTS === */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-dark {
    background: rgba(43, 10, 61, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 178, 51, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* === SECTIONS AVEC EFFETS SPÉCIAUX === */
.section-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    position: relative;
}

.section-dark {
    background: var(--gradient-primary);
}

.section-hero {
    background: var(--gradient-section);
}

/* === ÉLÉMENTS LUMINEUX === */
.highlight-text {
    color: var(--highlight-color);
    text-shadow: 0 0 15px rgba(255, 211, 51, 0.4);
    font-weight: 600;
}

.neon-border {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(249, 178, 51, 0.4);
    border-radius: var(--border-radius);
}

.glow-text {
    text-shadow: 0 0 25px rgba(249, 178, 51, 0.6);
}

/* === OVERLAY EFFECTS === */
.overlay-gradient {
    background: linear-gradient(135deg, 
        rgba(43, 10, 61, 0.9) 0%, 
        rgba(45, 63, 255, 0.3) 50%, 
        rgba(26, 8, 41, 0.8) 100%
    );
}

.overlay-dark {
    background: rgba(43, 10, 61, 0.8);
    backdrop-filter: blur(10px);
}

.overlay-gold {
    background: linear-gradient(135deg, 
        rgba(249, 178, 51, 0.15) 0%, 
        rgba(255, 211, 51, 0.08) 100%
    );
}

.overlay-warm {
    background: linear-gradient(135deg, 
        rgba(255, 106, 0, 0.1) 0%, 
        rgba(249, 178, 51, 0.05) 100%
    );
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #2B0A3D;
        --secondary-color: #FFD700;
        --accent-color: #4444FF;
        --light-color: #FFFFFF;
        --text-color: #FFFFFF;
        --border-color: #999999;
    }
}

/* === PRINT STYLES === */
@media print {
    .navbar,
    .hero-section,
    .stats-section,
    .gallery-section,
    .quote-section,
    .contact-section,
    .footer-section,
    .back-to-top,
    #loading-screen {
        display: none !important;
    }
    
    .about-section,
    .services-section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000000;
        background: white;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000000;
    }
    
    .text-primary,
    .text-secondary,
    .text-accent {
        color: #000000 !important;
    }
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* === SELECTION STYLES === */
::selection {
    background: var(--secondary-color);
    color: var(--navbar-color);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--navbar-color);
}

/* === ANIMATION DELAYS POUR LES ÉLÉMENTS === */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* === EFFETS DE PARTICULES === */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(249, 178, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 63, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 106, 0, 0.05) 0%, transparent 50%);
    animation: floatParticles 20s ease-in-out infinite;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* === FINITIONS ET OPTIMISATIONS === */
.text-shadow-soft {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-strong {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.backdrop-blur {
    backdrop-filter: blur(20px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(10px);
}

/* === INTERACTIONS AVANCÉES === */
.interactive-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.interactive-element:hover {
    transform: translateY(-2px);
}

.interactive-element:active {
    transform: translateY(0);
}

/* === BORDURES ANIMÉES === */
.animated-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(var(--primary-color), var(--primary-color)) padding-box,
                linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--orange-vivid)) border-box;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--orange-vivid));
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* === EFFETS DE HOVER POUR CARTES === */
.hover-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(249, 178, 51, 0.1), 
        transparent
    );
    transition: left 0.5s;
}

.hover-card:hover::before {
    left: 100%;
}

/* === TEXTES AVEC EFFETS SPÉCIAUX === */
.gradient-text-animated {
    background: linear-gradient(-45deg, 
        var(--secondary-color), 
        var(--accent-color), 
        var(--orange-vivid), 
        var(--highlight-color)
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === SECTIONS AVEC PATTERNS === */
.pattern-dots {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(249, 178, 51, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
}

.pattern-grid {
    background-image: 
        linear-gradient(rgba(249, 178, 51, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 178, 51, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.pattern-diagonal {
    background-image: 
        repeating-linear-gradient(45deg, 
        transparent, 
        transparent 2px, 
        rgba(249, 178, 51, 0.05) 2px, 
        rgba(249, 178, 51, 0.05) 4px);
}

/* === CARDS AVEC EFFETS 3D === */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(249, 178, 51, 0.1) 0%, 
        transparent 50%, 
        rgba(45, 63, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.card-3d:hover::before {
    opacity: 1;
}

/* === LOADING ANIMATIONS AVANCÉES === */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(249, 178, 51, 0);
        text-shadow: 0.25em 0 0 rgba(249, 178, 51, 0),
                     0.5em 0 0 rgba(249, 178, 51, 0);
    }
    40% {
        color: var(--secondary-color);
        text-shadow: 0.25em 0 0 rgba(249, 178, 51, 0),
                     0.5em 0 0 rgba(249, 178, 51, 0);
    }
    60% {
        text-shadow: 0.25em 0 0 var(--secondary-color),
                     0.5em 0 0 rgba(249, 178, 51, 0);
    }
    80%, 100% {
        text-shadow: 0.25em 0 0 var(--secondary-color),
                     0.5em 0 0 var(--secondary-color);
    }
}

/* === BOUTONS AVEC EFFETS AVANCÉS === */
.btn-magnetic {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-magnetic:hover {
    transform: scale(1.05);
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* === NAVIGATION AMÉLIORÉE === */
.nav-item-enhanced {
    position: relative;
}

.nav-item-enhanced::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

.nav-item-enhanced:hover::before {
    width: 100%;
}

.nav-item-enhanced::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease 0.1s;
}

.nav-item-enhanced:hover::after {
    width: 100%;
}

/* === FORMULAIRES AMÉLIORÉS === */
.form-group-enhanced {
    position: relative;
    margin-bottom: 2rem;
}

.form-control-enhanced {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(249, 178, 51, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem;
    color: var(--light-color);
    transition: var(--transition);
    width: 100%;
}

.form-control-enhanced:focus {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 0.2rem rgba(249, 178, 51, 0.25);
    outline: none;
}

.form-label-enhanced {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    pointer-events: none;
}

.form-control-enhanced:focus + .form-label-enhanced,
.form-control-enhanced:not(:placeholder-shown) + .form-label-enhanced {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: var(--secondary-color);
    background: var(--primary-color);
    padding: 0 0.5rem;
}

/* === MODALS ET OVERLAYS === */
.modal-overlay {
    background: rgba(43, 10, 61, 0.95);
    backdrop-filter: blur(20px);
}

.modal-content-enhanced {
    background: var(--gradient-primary);
    border: 1px solid rgba(249, 178, 51, 0.3);
    border-radius: var(--border-radius);
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
}

/* === TOOLTIPS PERSONNALISÉS === */
.tooltip-enhanced {
    position: relative;
    cursor: pointer;
}

.tooltip-enhanced::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--navbar-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.tooltip-enhanced::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--secondary-color);
    margin-bottom: -10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.tooltip-enhanced:hover::before,
.tooltip-enhanced:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* === PROGRESS BARS === */
.progress-bar-enhanced {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 50px;
    transition: width 1s ease;
    position: relative;
}

.progress-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* === BADGES ET LABELS === */
.badge-enhanced {
    background: var(--gradient-secondary);
    color: var(--navbar-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
}

.badge-violet {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-violet);
}

.badge-warm {
    background: var(--gradient-warm);
    color: var(--navbar-color);
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

/* === ACCORDÉONS === */
.accordion-enhanced {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(249, 178, 51, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(249, 178, 51, 0.2);
}

.accordion-header:hover {
    background: rgba(249, 178, 51, 0.1);
}

.accordion-header.active {
    background: var(--gradient-secondary);
    color: var(--navbar-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-content.active {
    max-height: 500px;
    padding: 1.5rem;
}

/* === TABS === */
.tabs-enhanced {
    border-bottom: 1px solid rgba(249, 178, 51, 0.3);
    margin-bottom: 2rem;
}

.tab-nav {
    display: flex;
    gap: 2rem;
}

.tab-link {
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}

.tab-link:hover,
.tab-link.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* === ALERTES === */
.alert-enhanced {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: #28a745;
    color: #d4edda;
}

.alert-warning {
    background: rgba(249, 178, 51, 0.1);
    border-left-color: var(--secondary-color);
    color: #fff3cd;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #f8d7da;
}

.alert-info {
    background: rgba(45, 63, 255, 0.1);
    border-left-color: var(--accent-color);
    color: #d6d8db;
}

/* === DIVIDERS === */
.divider-enhanced {
    height: 1px;
    background: var(--gradient-secondary);
    margin: 3rem 0;
    position: relative;
}

.divider-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
}

.divider-enhanced::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* === ANIMATIONS D'ENTRÉE === */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
    animation: slideInRight 0.6s ease forwards;
}

.slide-in-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.scale-in {
    transform: scale(0.8);
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === OPTIMISATIONS FINALES === */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.smooth-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.container-fluid-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === RESPONSIVE FINE-TUNING === */
@media (max-width: 1400px) {
    .container-fluid-custom {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container-fluid-custom {
        padding: 0 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .quote-form-container,
    .contact-form-container {
        padding: 2rem 1rem;
    }
}

/* === DARK MODE SUPPORT === */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #FFFFFF;
        --border-color: rgba(249, 178, 51, 0.3);
    }
}

/* === ÉTATS DE FOCUS AMÉLIORÉS === */
*:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
    outline: none;
}

/* === PERFORMANCE OPTIMIZATIONS === */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.contain-layout {
    contain: layout;
}

.contain-style {
    contain: style;
}
.card-img-top {
  height: 140px;       /* réduit la hauteur des images */
  object-fit: cover;   /* recadre sans déformer */
}
.card-body {
  padding: 1rem;       /* allège un peu le padding */
}




/* === FIN DU FICHIER CSS === */