/* ============ VARIABLES COULEURS OPTIMISÉES ============ */
:root {
    /* Palette principale (5 couleurs max) */
    --color-primary: #0056b3;        /* Bleu signature */
    --color-text-dark: #2d3748;      /* Texte principal */
    --color-text-light: #6b7280;     /* Texte secondaire */
    --color-white: #ffffff;          /* Fond principal */
    --color-accent: #25D366;         /* Accent WhatsApp */
    --color-gold: #ffd700;           /* Or pour étoiles/premium */
    
    /* 5 couleurs distinctes mais harmonieuses pour les étapes */
    --step-1-color: #10b981;         /* Vert émeraude - Consultation */
    --step-1-light: #d1fae5;         /* Vert très clair */
    --step-2-color: #3b82f6;         /* Bleu vif - Devis */
    --step-2-light: #dbeafe;         /* Bleu très clair */
    --step-3-color: #8b5cf6;         /* Violet - Développement */
    --step-3-light: #ede9fe;         /* Violet très clair */
    --step-4-color: #f59e0b;         /* Orange - Mise en ligne */
    --step-4-light: #fef3c7;         /* Orange très clair */
    --step-5-color: #0056b3;         /* Bleu signature - Maintenance */
    --step-5-light: #dbeafe;         /* Bleu très clair */
    
    /* Transparences basées sur les couleurs principales */
    --color-primary-light: rgba(0, 86, 179, 0.1);
    --color-primary-lighter: rgba(0, 86, 179, 0.05);
    --color-shadow: rgba(0, 86, 179, 0.15);
    --color-shadow-dark: rgba(45, 55, 72, 0.1);
    
    /* Couleurs système */
    --color-border: #e5e7eb;
    --color-background: #f8fafc;
}

/* ============ SECTION HISTOIRE & VALEURS ============ */
.history-values-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.history-values-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.history-text h3 {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.history-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--step-2-color));
    border-radius: 2px;
}

.history-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}



.history-photos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.history-photo {
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.history-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.value-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.08);
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--step-1-color), var(--step-5-color));
}

.value-card:nth-child(1)::before { background: var(--step-1-color); }
.value-card:nth-child(2)::before { background: var(--step-2-color); }
.value-card:nth-child(3)::before { background: var(--step-3-color); }
.value-card:nth-child(4)::before { background: var(--step-4-color); }

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 86, 179, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.value-card:nth-child(1) .value-icon { background: var(--step-1-light); color: var(--step-1-color); }
.value-card:nth-child(2) .value-icon { background: var(--step-2-light); color: var(--step-2-color); }
.value-card:nth-child(3) .value-icon { background: var(--step-3-light); color: var(--step-3-color); }
.value-card:nth-child(4) .value-icon { background: var(--step-4-light); color: var(--step-4-color); }

.value-card h4 {
    font-size: 1.3rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive equipe */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 992px) {
    .history-values-section {
        padding: 4rem 0;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 1.75rem;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 0.75rem;
    }
    
    .value-card {
        padding: 1.5rem;
        min-height: 240px;
    }
    
    .value-card h4 {
        font-size: 1.15rem;
    }
    
    .value-card p {
        font-size: 0.95rem;
    }
    
    .history-values-section {
        padding: 3rem 0;
    }
    
    .history-photos {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 15px;
    }
    
    .history-photo {
        height: 300px;
    }
    
    .history-values-container {
        padding: 0 1.5rem;
    }
    
    .history-content {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .value-card {
        padding: 1.25rem;
        min-height: auto;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .history-photos {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .history-photo {
        height: 220px;
    }
    
    .history-text h3 {
        font-size: 1.5rem;
    }
    
    .history-text p {
        font-size: 1rem;
    }
}

/* ============ GLOBAL MODERN STYLES ============ */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============ HERO SECTION ============ */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-primary-lighter) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    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="25" cy="25" r="0.5" fill="%23cbd5e0" opacity="0.5"/><circle cx="75" cy="75" r="0.3" fill="%23a0aec0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateX(-50px) translateY(-50px); }
    50% { transform: translateX(50px) translateY(50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-modern-outline {
    background: transparent;
    color: var(--color-primary);
    padding: 1rem 2rem;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-modern-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--color-shadow);
    text-decoration: none;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--color-shadow-dark);
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
}

/* ============ SERVICE ICONS ============ */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.modern-card:hover .service-icon {
    transform: scale(1.1);
}

/* ============ STATS CARDS ============ */
.stat-card {
    background: var(--color-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px var(--color-primary-lighter);
    border: 1px solid var(--color-primary-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--color-shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-light);
    font-weight: 500;
}

.about-content {
    padding-right: 2rem;
}

/* ============ STYLES POUR LE TEXTE À PROPOS ============ */
.about-us-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.about-us-text strong {
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 1.15rem;
    display: block;
    margin: 1.5rem 0 1rem 0;
    position: relative;
}

.about-us-text strong::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 3px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    border-radius: 2px;
}

.about-us-text em {
    font-style: italic;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.2rem;
    display: block;
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-primary-lighter), rgba(59, 130, 246, 0.08));
    border-radius: 12px;
    border-left: 4px solid rgba(0, 86, 179, 0.6);
    border-right: 4px solid rgba(0, 86, 179, 0.6);
}

.about-us-text p {
    margin-bottom: 1.5rem;
}

/* Première ligne en highlight */
.about-us-text .highlight-first {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: block;
    margin: 1.5rem 0 1rem 0;
}

.about-us-text .highlight-first::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 3px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    border-radius: 2px;
}

/* Technologies en couleur */
.about-us-text .tech-highlight {
    color: var(--color-primary);
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-primary-light), rgba(59, 130, 246, 0.1));
    padding: 2px 6px;
    border-radius: 4px;
}

/* ============ RESPONSIVE HERO ============ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-card {
        position: static;
        margin-top: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    /* Responsive pour le texte À propos */
    .about-us-text {
        font-size: 1rem;
    }
    
    .about-us-text strong {
        font-size: 1.1rem;
        margin: 1rem 0 0.8rem 0;
    }
    
    .about-us-text em {
        font-size: 1.1rem;
        margin-top: 1.5rem;
        padding: 0.8rem;
    }
    
    .about-us-text .highlight-first {
        font-size: 1.1rem;
        margin: 1rem 0 0.8rem 0;
    }
    
    /* Responsive pour les traits bleus */
    .about-us-text .highlight-first::after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }
    
    .about-us-text strong::after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Modern Section Styling */
section {
    padding: 5rem 0;
    position: relative;
}

section.bg-light {
    background-color: var(--color-background);
    padding: 3rem 0 6rem 0 !important;
}

section.bg-white {
    background-color: var(--color-white);
}

/* Modern Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Primary Blue Color */
.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

/* Modern Cards */
.modern-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px var(--color-primary-lighter);
    border: 1px solid var(--color-primary-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--color-shadow);
    border-color: rgba(0, 86, 179, 0.2);
}

/* Modern Buttons */
.btn-modern {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 25px var(--color-shadow);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 86, 179, 0.4);
    color: var(--color-white);
    text-decoration: none;
}

.btn-modern.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Modern Grid System */
.modern-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.modern-grid.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.modern-grid.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.modern-grid.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Modern Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.section-underline {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .modern-grid.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .modern-grid.grid-3 {
        grid-template-columns: 1fr;
    }
    
    .modern-grid.grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ============ TESTIMONIOS SECTION ============ */
.testimonials-section {
    padding: 5rem 0 !important;
    background-color: var(--color-background) !important;
    position: relative !important;
}

.testimonials-header {
    text-align: center !important;
    margin-bottom: 4rem !important;
}

.testimonials-title {
    font-size: 3rem !important;
    line-height: 3.5rem !important;
    font-weight: 700 !important;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.text-primary-blue {
    color: var(--color-primary) !important;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto 2rem;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 4rem !important;
    max-width: 1200px !important;
    margin: 0 auto 4rem auto !important;
    padding: 0 1rem !important;
}

.testimonial-card {
    background: var(--color-white) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 30px var(--color-primary-lighter) !important;
    border: 1px solid var(--color-primary-light) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 280px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin-bottom: 0 !important;
    height: auto !important;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary));
}

.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px var(--color-shadow) !important;
    border-color: rgba(0, 86, 179, 0.2) !important;
}

.stars-rating {
    margin-bottom: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stars-rating i {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin: 0 2px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.stars-rating i:hover {
    transform: scale(1.2);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.testimonial-quote {
    font-style: italic;
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 2rem;
    border: none;
    padding: 0;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-primary-light);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-author h5 {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.client-info {
    text-align: center;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.client-since {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

.google-cta {
    text-align: center;
}

.trustpilot-cta {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.trustpilot-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    color: var(--color-white);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 6px 25px var(--color-shadow);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.trustpilot-btn::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: left 0.5s;
}

.trustpilot-btn:hover::before {
    left: 100%;
}

.trustpilot-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 86, 179, 0.4);
    color: var(--color-white);
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.trustpilot-btn i {
    font-size: 1.2rem;
    color: var(--color-gold);
}

/* Responsive testimonials */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 1.5rem !important;
        padding: 0 1.5rem !important;
    }
}

@media (max-width: 992px) {
    .testimonials-section {
        padding: 4rem 0 !important;
    }
    
    .testimonials-title {
        font-size: 2.5rem !important;
        line-height: 3rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 1.5rem !important;
    }
    
    .testimonial-card {
        padding: 1.75rem !important;
        min-height: 280px !important;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0 !important;
    }
    
    .testimonials-title {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 3rem !important;
        padding: 0 1rem !important;
    }
    
    .testimonial-card {
        padding: 1.5rem !important;
        min-height: auto !important;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .trustpilot-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 2rem 0 !important;
    }
    
    .testimonials-title {
        font-size: 1.75rem !important;
        line-height: 2.25rem !important;
    }
    
    .testimonials-grid {
        padding: 0 0.75rem !important;
        gap: 1.25rem !important;
    }
    
    .testimonial-card {
        padding: 1.25rem !important;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
    }
    
    .client-name {
        font-size: 1rem;
    }
    
    .trustpilot-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}
/* ============ FIN TESTIMONIOS SECTION ============ */

/* FORCE Chrome iOS à respecter les styles */
* {
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Yusei+Magic&display=swap');

body{
  background-color:transparent;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  /* SUPPRIMÉ: transform-style: preserve-3d; - causait le problème */
}

/* Navbar de base - VERSION CORRIGÉE */
.navbar {
    background-color: var(--color-white);
    border-bottom: 2px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    /* SUPPRIMÉ: transform: translateZ(0); - causait le problème */
    will-change: transform;
}

.navbar-brand:hover {
  color: var(--color-primary);
}

/* Liens de navigation - VERSION CORRIGÉE */
.navbar-nav {
  margin: 0 auto;
}

.navbar-nav .nav-link {
    color: var(--color-text-dark);
    transition: color 0.3s, background-color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 5px;
  padding-left: 8px;
  padding-right: 8px;
}

/* Lien actif */
.navbar-nav .nav-link.active {
  color: var(--color-primary);
  border-radius: 5px;
}

/* Toggler (mobile) - VERSION CORRIGÉE */


.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%230056b3' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 1.5em;
  height: 1.5em;
}

/* Styles spécifiques pour mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--color-white);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    margin: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem !important;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
 
}

/* COVER RESPONSIVE */
.parallax {
  background-image: url('assets/cover.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* SUPPRIMÉ tous les transform qui causaient le problème */
}

/* Version desktop */
@media (min-width: 769px) {
  .parallax {
    background-attachment: fixed;
    background-size: 65%;
  }
}

/* Version mobile et tablette */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
    background-size: 80%;
    height: 60vh;
    min-height: 400px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .parallax {
    background-size: 90%;
    height: 50vh;
    min-height: 350px;
  }
}

.parallax img {
  display: none;
}

/* ============ SECTION HERO SEO ============ */
.hero-seo-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-keywords .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
}



  
/* ===== BOUTONS FIXES - SANS FOND NI FLUO ===== */

.fixed-buttons {
  position: fixed !important;
  right: 15px !important;
  bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) !important;
}

.fixed-button {
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  font-size: 20px !important;
  color: #fff !important;
  background: var(--color-primary) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
}

.fixed-button.btn-success { background: var(--color-accent) !important; }
.fixed-button.btn-success:hover { background: var(--color-accent) !important; transform: scale(1.1) !important; }
.fixed-button.btn-primary { background: var(--color-primary) !important; }
.fixed-button.btn-primary:hover { background: var(--color-primary) !important; transform: scale(1.1) !important; }

@supports (-webkit-appearance: none) {
  .fixed-buttons {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Styles spécifiques pour mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--color-white);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    margin: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem !important;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
    border: 2px solid var(--color-primary);
  }
}

/* COVER RESPONSIVE */
.parallax {
  background-image: url('assets/cover.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* SUPPRIMÉ tous les transform qui causaient le problème */
}

/* Version desktop */
@media (min-width: 769px) {
  .parallax {
    background-attachment: fixed;
    background-size: 65%;
  }
}

/* Version mobile et tablette */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
    background-size: 80%;
    height: 60vh;
    min-height: 400px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .parallax {
    background-size: 90%;
    height: 50vh;
    min-height: 350px;
  }
}

.parallax img {
  display: none;
}



/* Contenu du cover */
.cover-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  max-width: 90%;
  animation: coverSlideUp 1s ease-out;
}

@keyframes coverSlideUp {
  from {
    opacity: 0;
    /* SUPPRIMÉ: transform: translateY(50px); */
  }
  to {
    opacity: 1;
    /* SUPPRIMÉ: transform: translateY(0); */
  }
}

.cover-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--color-primary), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cover-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.cover-btn {
  background: linear-gradient(45deg, var(--color-primary), var(--color-primary));
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--color-white);
  text-decoration: none;
  display: inline-block;
}

.cover-btn:hover {
  /* MODIFIÉ: suppression de transform pour éviter les conflits */
  box-shadow: 0 15px 35px var(--color-shadow);
  color: var(--color-white);
  text-decoration: none;
}

/* Responsive pour le contenu du cover */
@media (max-width: 768px) {
  .cover-content {
    padding: 1.5rem 1rem;
    max-width: 95%;
  }
  
  .cover-title {
    font-size: 2.2rem;
  }
  
  .cover-subtitle {
    font-size: 1rem;
  }
  
  .cover-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cover-content {
    padding: 1rem 0.8rem;
  }
  
  .cover-title {
    font-size: 1.8rem;
  }
  
  .cover-subtitle {
    font-size: 0.9rem;
  }
}

/* CAROUSEL RESPONSIVE */
#carouselExampleRide {
  margin-top: 2rem;
  width: 100%;
}

@media (min-width: 769px) {
  #carouselExampleRide {
    margin-top: 3rem;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-item img {
    max-height: 250px;
  }
}

/* Footer */
footer {
  font-size: 1rem;
  background-color: var(--color-white);
  border-top: 0.125rem solid var(--color-border);
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 3rem;
}

.footer-droits {
  color: var(--color-primary);
}

.footer-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
  padding: 0.25rem 0.5rem;
  border-radius: 0.3125rem;
  font-size: 1rem;
}

.footer-link:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
  text-decoration: none;
}

/* Style de la card "À propos de nous" */
.card-body {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  color: var(--color-text-dark);
  max-width: 40rem;
  margin: 3rem auto;
}

/* Titre */
.card-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

/* Texte */
.card-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Section About - Compacte, centrée et bien espacée */
#about {
  padding: 1rem 0 4rem 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: visible;
  width: 100%;
}

#about .card-title {
  display: block;
  visibility: visible;
  margin: 1rem 0 1.5rem 0;
  padding: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
}

#about .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
  max-height: none;
  height: auto;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  max-width: 900px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background-color: var(--color-white);
  border-radius: 0.5rem;
}

#about .card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: visible;
  margin: 0;
  width: 100%;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  text-align: center;
}

#about .card-link {
  display: inline-block;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

@media (max-width: 992px) {
  #about {
    padding: 1rem 0 2.5rem 0;
  }

  #about .card-title {
    font-size: 1.5rem;
    margin: 1rem 0 1.25rem 0;
  }

  #about .card-body {
    padding: 1.25rem 1.5rem;
    max-width: 95%;
  }

  #about .card-text {
    font-size: 0.975rem;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  #about {
    padding: 0.75rem 0 2rem 0;
  }

  #about .card-title {
    font-size: 1.35rem;
    margin: 0.75rem 0 1rem 0;
  }

  #about .card-body {
    padding: 1rem 1.25rem;
    max-width: 100%;
  }

  #about .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  #about {
    padding: 0.5rem 0 1.5rem 0;
  }

  #about .card-title {
    font-size: 1.2rem;
    margin: 0.5rem 0 0.75rem 0;
  }

  #about .card-body {
    padding: 0.75rem 1rem;
  }

  #about .card-text {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* Lien "En savoir plus" */
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
}

.card-link:hover {
  color: var(--color-white);
  background-color: var(--color-primary);
  text-decoration: none;
}

/* CARD RESPONSIVE */
@media (max-width: 768px) {
  .card-body {
    padding: 1.5rem 1rem !important;
    margin: 2rem 1rem !important;
    max-width: 100% !important;
  }
  
  .card-title {
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .card-text {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
}

/* Style du formulaire de contact */
.container {
display : flow-root;
}

h1 {
text-align: center;
margin-top: 4rem; /* Espace au-dessus du titre */
}

.message_formulaire_contact {
text-align: center;
}

form {
max-width: 90%; /* Largeur maximale du formulaire */
margin: 0 auto; /* Centrer le formulaire */
padding: 20px; /* Espacement interne */
background-color: var(--color-white); /* Fond blanc */
border-radius: 8px; /* Coins arrondis */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre lÃ©gÃ¨re */
display: flex; /* Utiliser flexbox pour l'alignement */
flex-direction: column; /* Aligner les Ã©lÃ©ments en colonne */
}

button {
background-color: var(--color-primary); /* Couleur de fond du bouton */
color: var(--color-white); /* Couleur du texte du bouton */
border: none; /* Pas de bordure */
padding: 10px 20px; /* Espacement interne */
border-radius: 5px; /* Coins arrondis */
cursor: pointer; /* Curseur en main au survol */
font-size: 16px; /* Taille de la police */
margin-top: 10px; /* Espacement au-dessus du bouton */
}

label {
margin: 10px 0; /* Espacement en bas des labels */
font-weight: bold; /* Gras pour les labels */
}

.question_prix {
text-align: center;
}

/* Taille de l'icÃ´ne Material Symbols */
.material-symbols-outlined {
font-size: 2rem; /* Vous pouvez ajuster cette valeur selon vos besoins */
}

hr {
width: 60%;
margin: 0 auto; /* Centrer la ligne */
}

/* --- Section Processus de Vente --- */
.process-container {
  max-width: 80rem; 
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1rem; 
}

.process-header {
  text-align: center;
  margin-bottom: 4rem; 
}

.process-main-title {
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 200; 
  font-style: italic;
  margin-bottom: 1rem; 
  /* Effet gradient (exemple) */
  background: linear-gradient(to right, var(--color-primary), var(--color-primary)); /* blue-500 to purple-600 */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive pour le titre principal */
@media (min-width: 768px) { /* Correspond Ã  md: Tailwind */
  .process-main-title {
      font-size: 3rem; /* Correspond Ã  md:text-5xl Tailwind */
      line-height: 1;
  }
}

.process-subtitle {
  font-size: 1.25rem; /* Correspond Ã  text-xl Tailwind */
  line-height: 1.75rem;
  color: var(--color-text-light); /* Correspond Ã  text-gray-600 Tailwind */
  max-width: 42rem; /* Correspond Ã  max-w-2xl Tailwind */
  margin-left: auto;
  margin-right: auto;
}

.process-steps-wrapper {
  max-width: 56rem; /* Correspond Ã  max-w-4xl Tailwind */
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  background-color: var(--color-white); /* Correspond Ã  bg-var(--color-white) Tailwind */
  border-radius: 0.75rem; /* Correspond Ã  rounded-xl Tailwind */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Correspond Ã  shadow-md Tailwind */
  padding: 2rem; /* Correspond Ã  p-8 Tailwind */
  margin-bottom: 2rem; /* Correspond Ã  mb-8 Tailwind */
  position: relative;
}

/* Connecteur vertical entre les Ã©tapes */
.process-step:not(.last-step)::after {
  content: '';
  position: absolute;
  left: calc(2rem + 2rem); /* Alignement horizontal basÃ© sur padding + moitiÃ© largeur icone */
  top: calc(2rem + 4rem + 0.5rem); /* Positionnement vertical sous l'icÃ´ne */
  bottom: -1.5rem; /* Extension vers l'Ã©tape suivante */
  width: 2px;
  background-color: #e5e7eb; /* Couleur gris clair */
  z-index: 0; /* DerriÃ¨re le contenu */
}

/* Ajustement connecteur pour Ã©crans larges */
@media (min-width: 768px) { /* Correspond Ã  md: Tailwind */
 .process-step:not(.last-step)::after {
      top: calc(2rem + 4rem); /* Ajustement position verticale */
      bottom: -2rem; /* Ajustement extension */
 }
}

.process-step-content {
  display: flex;
  flex-direction: column; /* Mobile first: colonne */
  align-items: flex-start;
}

/* Passage en ligne sur Ã©crans larges */
@media (min-width: 768px) { /* Correspond Ã  md: Tailwind */
  .process-step-content {
      flex-direction: row;
  }
}

.step-icon-container {
  flex-shrink: 0;
  margin-bottom: 1.5rem; /* Correspond Ã  mb-6 Tailwind */
}

@media (min-width: 768px) { /* Correspond Ã  md: Tailwind */
  .step-icon-container {
      margin-bottom: 0;
      margin-right: 2rem; /* Correspond Ã  md:mr-8 Tailwind */
  }
}

.step-icon-wrapper {
  width: 4rem; /* Correspond Ã  w-16 Tailwind */
  height: 4rem; /* Correspond Ã  h-16 Tailwind */
  border-radius: 9999px; /* Correspond Ã  rounded-full Tailwind */
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 1.5rem; /* Correspond Ã  text-2xl Tailwind */
}

.step-details {
  flex-grow: 1;
}

.step-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem; /* Correspond Ã  mb-3 Tailwind */
}

.step-badge {
  color: var(--color-white); /* Correspond Ã  text-var(--color-white) Tailwind */
  font-size: 0.875rem; /* Correspond Ã  text-sm Tailwind */
  font-weight: 600; /* Correspond Ã  font-semibold Tailwind */
  padding: 0.25rem 0.75rem; /* Correspond Ã  px-3 py-1 Tailwind */
  border-radius: 9999px; /* Correspond Ã  rounded-full Tailwind */
  margin-right: 0.75rem; /* Correspond Ã  mr-3 Tailwind */
  line-height: 1.25rem;
}

.step-title {
  font-size: 1.5rem; /* Correspond Ã  text-2xl Tailwind */
  font-weight: 700; /* Correspond Ã  font-bold Tailwind */
  color: var(--color-text-dark); /* Correspond Ã  text-gray-800 Tailwind */
  line-height: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.step-description {
  color: var(--color-text-light); /* Correspond Ã  text-gray-600 Tailwind */
  margin-bottom: 1rem; /* Correspond Ã  mb-4 Tailwind */
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* Correspond Ã  gap-2 Tailwind */
}

.step-tag {
  padding: 0.25rem 0.75rem; /* Correspond Ã  px-3 py-1 Tailwind */
  border-radius: 9999px; /* Correspond Ã  rounded-full Tailwind */
  font-size: 0.875rem; /* Correspond Ã  text-sm Tailwind */
  display: inline-flex;
  align-items: center;
  line-height: 1.25rem;
}

.step-tag i {
  margin-right: 0.5rem; /* Correspond Ã  mr-2 Tailwind */
}

/* ============ SYSTÈME DE COULEURS STEP-BY-STEP (Dégradé Bleu Progressif) ============ */

/* ============ SYSTÈME DE COULEURS STEP-BY-STEP (Dégradé Bleu Progressif) ============ */

/* ÉTAPE 1 - Vert émeraude (Consultation) */
.step-icon-wrapper.bg-step1 { 
    background: var(--step-1-light) !important;
    border: 2px solid var(--step-1-color) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
} 
.step-icon.color-step1 { color: var(--step-1-color) !important; } 
.step-badge.bg-step1 { 
    background: var(--step-1-color) !important;
    color: var(--color-white) !important;
} 
.step-tag.color-step1 { 
    background-color: var(--step-1-light) !important; 
    color: var(--step-1-color) !important; 
    border: 1px solid var(--step-1-color) !important;
}

/* ÉTAPE 2 - Bleu vif (Devis) */
.step-icon-wrapper.bg-step2 { 
    background: var(--step-2-light) !important;
    border: 2px solid var(--step-2-color) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
} 
.step-icon.color-step2 { color: var(--step-2-color) !important; } 
.step-badge.bg-step2 { 
    background: var(--step-2-color) !important;
    color: var(--color-white) !important;
} 
.step-tag.color-step2 { 
    background-color: var(--step-2-light) !important; 
    color: var(--step-2-color) !important; 
    border: 1px solid var(--step-2-color) !important;
}

/* ÉTAPE 3 - Violet (Développement) */
.step-icon-wrapper.bg-step3 { 
    background: var(--step-3-light) !important;
    border: 2px solid var(--step-3-color) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
} 
.step-icon.color-step3 { color: var(--step-3-color) !important; } 
.step-badge.bg-step3 { 
    background: var(--step-3-color) !important;
    color: var(--color-white) !important;
} 
.step-tag.color-step3 { 
    background-color: var(--step-3-light) !important; 
    color: var(--step-3-color) !important; 
    border: 1px solid var(--step-3-color) !important;
}

/* ÉTAPE 4 - Orange (Mise en ligne) */
.step-icon-wrapper.bg-step4 { 
    background: var(--step-4-light) !important;
    border: 2px solid var(--step-4-color) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2) !important;
} 
.step-icon.color-step4 { color: var(--step-4-color) !important; } 
.step-badge.bg-step4 { 
    background: var(--step-4-color) !important;
    color: var(--color-white) !important;
} 
.step-tag.color-step4 { 
    background-color: var(--step-4-light) !important; 
    color: var(--step-4-color) !important; 
    border: 1px solid var(--step-4-color) !important;
}

/* ÉTAPE 5 - Bleu signature (Maintenance) */
.step-icon-wrapper.bg-step5 { 
    background: var(--step-5-light) !important;
    border: 2px solid var(--step-5-color) !important;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2) !important;
} 
.step-icon.color-step5 { color: var(--step-5-color) !important; } 
.step-badge.bg-step5 { 
    background: var(--step-5-color) !important;
    color: var(--color-white) !important;
} 
.step-tag.color-step5 { 
    background-color: var(--step-5-light) !important; 
    color: var(--step-5-color) !important; 
    border: 1px solid var(--step-5-color) !important;
}

/* Ancien système (maintenu pour compatibilité) */
.step-icon-wrapper.bg-blue { background-color: var(--color-primary-lighter); } .step-icon.color-blue { color: var(--color-primary); } .step-badge.bg-blue { background-color: var(--color-primary); } .step-tag.color-blue { background-color: var(--color-primary-lighter); color: var(--color-primary); }
.step-icon-wrapper.bg-purple { background-color: #ede9fe; } .step-icon.color-purple { color: var(--color-primary); } .step-badge.bg-purple { background-color: var(--color-primary); } .step-tag.color-purple { background-color: #f5f3ff; color: #7c3aed; }
.step-icon-wrapper.bg-indigo { background-color: #e0e7ff; } .step-icon.color-indigo { color: #6366f1; } .step-badge.bg-indigo { background-color: #6366f1; } .step-tag.color-indigo { background-color: #eef2ff; color: #4f46e5; }
.step-icon-wrapper.bg-green { background-color: #dcfce7; } .step-icon.color-green { color: #22c55e; } .step-badge.bg-green { background-color: #22c55e; } .step-tag.color-green { background-color: #f0fdf4; color: #16a34a; }
.step-icon-wrapper.bg-yellow { background-color: #fef9c3; } .step-icon.color-yellow { color: #eab308; } .step-badge.bg-yellow { background-color: #eab308; } .step-tag.color-yellow { background-color: #fefce8; color: #ca8a04; }

/* Section CTA (Call to Action) */
.cta-section {
  text-align: center;
  margin-top: 4rem; /* Correspond Ã  mt-16 Tailwind */
}

.cta-title {
  font-size: 1.5rem; /* Correspond Ã  text-2xl Tailwind */
  font-weight: 700; /* Correspond Ã  font-bold Tailwind */
  color: var(--color-text-dark); /* Correspond Ã  text-gray-800 Tailwind */
  margin-bottom: 1rem; /* Correspond Ã  mb-4 Tailwind */
  line-height: 2rem;
}

.cta-text {
  color: var(--color-text-light); /* Correspond Ã  text-gray-600 Tailwind */
  margin-bottom: 1.5rem; /* Correspond Ã  mb-6 Tailwind */
  max-width: 42rem; /* Correspond Ã  max-w-2xl Tailwind */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary)); /* Correspond Ã  bg-gradient-to-r from-blue-500 to-purple-600 */
  color: var(--color-white); /* Correspond Ã  text-var(--color-white) Tailwind */
  font-weight: 600; /* Correspond Ã  font-semibold Tailwind */
  padding: 0.75rem 2rem; /* Correspond Ã  px-8 py-3 Tailwind */
  border-radius: 9999px; /* Correspond Ã  rounded-full Tailwind */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.cta-button:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Correspond Ã  hover:shadow-lg Tailwind */
  transform: scale(1.05); /* Correspond Ã  hover:scale-105 Tailwind */
}

.cta-button i {
  margin-right: 0.5rem; /* Correspond Ã  mr-2 Tailwind */
}

.cta-button a {
text-decoration: none;
color: inherit;
}
/* --- Fin Section Processus de Vente --- */

/*tableau prix*/
.question_prix {
font-size: 3rem;
line-height: 4.5rem;
font-weight: 200; 
font-style: italic;
margin: 2rem 0rem; /* Espace au-dessus et en bas du titre */
background: linear-gradient(to right, var(--color-primary), var(--color-primary)); /* blue-500 to purple-600 */
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.table-section {
padding-top: 5rem;
display: flex;
justify-content: center;
flex-direction: column;
}

.table-price {
background-color: var(--color-white);
border-radius: 2px;
}

.table-price td{
padding: 8px; border: 1px solid #ccc;
}

.table-price th{
padding: 8px; border: 1px solid #ccc;
}

.table-section p {
text-align: center;
margin: 1rem 0rem; /* Espace en bas du texte */
}

/* Styles pour les messages de succÃ¨s/erreur */
.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.form-message.success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.form-message.error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

#message {
max-width: 90%;
min-height: 150px;
}

/* contact */
.contact-title  {
font-size: 3rem;
line-height: 3.5rem;
font-weight: 200; 
font-style: italic;
padding-top: 7rem;  /* Espace au-dessus et en bas du titre */
background: linear-gradient(to right, var(--color-primary), var(--color-primary)); /* blue-500 to purple-600 */
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-align: center;
}

/*btn connexion*/
.btn-login {
align-items: flex-end;
background-color: #0057b31d; /* Couleur de fond du bouton */
border: none; /* Pas de bordure */
padding: 10px 20px; /* Espacement interne */
border-radius: 5px; /* Coins arrondis */
cursor: pointer; /* Curseur en main au survol */
font-size: 16px; /* Taille de la police */
margin-top: 10px; /* Espacement au-dessus du bouton */
}

.btn-login a {
text-decoration: none;
 color: var(--color-white); /* Couleur du texte du bouton */
}

/*btn déconnexion*/
.btn-logout {
align-items: flex-end;
background-color: #dc3545 !important; /* Couleur rouge Bootstrap danger */
border: none; /* Pas de bordure */
padding: 10px 20px; /* Espacement interne */
border-radius: 5px; /* Coins arrondis */
cursor: pointer; /* Curseur en main au survol */
font-size: 16px; /* Taille de la police */
margin-top: 10px; /* Espacement au-dessus du bouton */
transition: background-color 0.3s ease; /* Transition douce */
}

.btn-logout:hover {
background-color: #c82333 !important; /* Rouge plus foncé au survol */
}

.btn-logout a {
text-decoration: none !important;
color: var(--color-white) !important; /* Couleur du texte du bouton */
display: block;
width: 100%;
height: 100%;
}

.btn-logout a:hover {
color: var(--color-white) !important; /* Garder le texte blanc au survol */
text-decoration: none !important;
}

/*page connexion */
.block_connexion h2 {
text-align: center;
font-size: 3rem;
line-height: 3.5rem;
font-weight: 200; 
font-style: italic;
padding-top: 7rem; 
background: linear-gradient(to right, var(--color-primary), var(--color-primary)); /* blue-500 to purple-600 */
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.block_connexion p {
text-align: center;
font-size: 1.5rem;
line-height: 2rem;
color: var(--color-text-light); /* Correspond Ã  text-gray-600 Tailwind */
max-width: 42rem; /* Correspond Ã  max-w-2xl Tailwind */
margin-left: auto;
margin-right: auto;
margin-top: 1rem; /* Espace au-dessus du texte */
}

/* espace administrateur */
.container-admin  {
font-size: 3rem;
line-height: 3.5rem;
font-weight: 200; 
font-style: italic;
padding-top: 5rem; 
background: linear-gradient(to right, var(--color-primary), var(--color-primary)); /* blue-500 to purple-600 */
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.container-admin p {
text-align: center;
font-size: 1.5rem;
line-height: 2rem;
color: var(--color-text-light); /* Correspond Ã  text-gray-600 Tailwind */
max-width: 42rem; /* Correspond Ã  max-w-2xl Tailwind */
margin-left: auto;
margin-right: auto;
margin-top: 1rem; /* Espace au-dessus du texte */
}

/* REALISATIONS */
#realisations h1:not(.section-title), #realisations h2:not(.section-title){
font-size: 3rem;
line-height: 3.5rem;
font-weight: 200; 
font-style: italic;
padding-top: 7rem; 
padding-bottom: 3rem;
background: linear-gradient(to right, var(--color-primary), var(--color-primary)); 
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-align: center;
}

/* === SECTION RÃ‰ALISATIONS AMÃ‰LIORÃ‰E === */
 .realisation-blog-item {
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease-out forwards;
    }
    
    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .realisation-image-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 0.5rem;
        max-width: 480px; /* Augmenté de 400px à 480px */
        margin: 0 auto; /* Centre l'image */
    }
    
    .realisation-image-wrapper img {
        transition: transform 0.3s ease;
        width: 100%;
        height: 300px; /* Augmenté de 250px à 300px */
        object-fit: cover; /* Maintient les proportions */
    }
    
    .realisation-image-wrapper:hover img {
        transform: scale(1.05);
    }
    
    .realisation-title {
        color: var(--color-primary);
        font-weight: 700;
    }
    
    .realisation-description {
        line-height: 1.7;
    }
    
    .badge {
        font-size: 0.85rem;
    }
    
    /* Ajustements pour desktop */
    @media (min-width: 992px) {
        .realisation-image-wrapper {
            max-width: 450px; /* Augmenté de 350px à 450px */
        }
        
        .realisation-image-wrapper img {
            height: 280px; /* Augmenté de 220px à 280px */
        }
    }
    
    @media (max-width: 768px) {
        .realisation-content {
            text-align: center;
            padding: 0 !important;
        }
        
        .realisation-image-wrapper {
            max-width: 360px; /* Augmenté de 300px à 360px */
        }
        
        .realisation-image-wrapper img {
            height: 240px; /* Augmenté de 200px à 240px */
        }
        
        .realisation-blog-item .col-lg-6:first-child {
            order: 1;
        }
        
        .realisation-blog-item .col-lg-6:last-child {
            order: 2;
        }
    }

/* compteur visites */
#visites h2{
font-size: 3rem;
line-height: 3.5rem;
font-weight: 200; 
font-style: italic;
padding-top: 5rem; 
padding-bottom: 3rem;
background: linear-gradient(to right, var(--color-primary), var(--color-primary)); 
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-align: center;
}

#visites h3{
font-size: 2rem;
line-height: 2.5rem;
font-weight: 200; 
font-style: italic;
padding-top: 3rem; 
padding-bottom: 3rem;
background: linear-gradient(to right, var(--color-primary), var(--color-primary)); 
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-align: center;
}

/* Styles pour les titres des pages d'administration - même style que compteur_visites */
.container h2.my-4 {
    font-size: 3rem;
    line-height: 3.5rem;
    font-weight: 200; 
    font-style: italic;
    padding-top: 5rem; 
    padding-bottom: 3rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary)); 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

/*equipe*/
.team-section{
 padding-top: 5rem; /* Espace au-dessus de la carte */
 }

/* Conteneur moderne pour les cartes équipe */
.team-cards-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

 .team-cards {
display: flex;
flex-wrap: wrap;
gap: 7rem;
justify-content: center;
}

/* .team-description supprimé - on utilise maintenant .section-subtitle */

.team-card {
position: relative;
width: 800px;
height: 600px;
overflow: hidden;
border-radius: 10px;
flex: 1 1 400px; /* Permet l'adaptation responsive */
max-width: 850px;
will-change: transform, box-shadow, filter;
transform: translateZ(0);
backface-visibility: hidden;
transform-style: preserve-3d; /* Améliore le rendu 3D */
}

.team-text {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-evenly;
align-items: flex-end;
}

.role-tag {
position: absolute;
top: 0;
left: 0;
writing-mode: vertical-rl;
transform: rotate(180deg);
background-color:var(--color-white);
color:#3e3f40;
padding: 10px;
font-weight: bold;
z-index: 10; /* Augmenter le z-index */
}

.team-card .card-content {
position: relative;
width: 100%;
height: 100%;
display: block;
}

.card-content img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
transition: transform 0.3s ease;
}

.card-content .overlay {
position: absolute;
bottom: -100%;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.92));
color: #080606;
padding: 30px;
transition: bottom 0.3s ease;
box-sizing: border-box;
backdrop-filter: blur(10px);
z-index: 2;
overflow-y: auto;
}

.overlay h3 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 15px;
color: var(--color-text-dark);
}

.overlay p {
margin-right: 15px;
font-size: 1rem;
line-height: 1.6;
color: var(--color-text-light);
}

.team-card:hover .card-content img {
transform: scale(1.1);
}

.team-card:hover .card-content .overlay {
bottom: 0;
}

/* RESPONSIVE POUR L'Ã‰QUIPE */
@media (max-width: 768px) {
  
  .team-cards {
    gap: 3rem;
    flex-direction: column;
    align-items: center;
  }
  
  .team-card {
    width: 90%;
    max-width: 400px;
  }
  
  /* .team-description supprimé - on utilise maintenant .section-subtitle */
}

/* ===============================================
   ANIMATIONS SPÃ‰CIFIQUES POUR LA PAGE RÃ‰ALISATIONS
   =============================================== */

/* Animation d'apparition pour les rÃ©alisations */
.animate-in-realisations {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Effet hover amÃ©liorÃ© pour le titre des rÃ©alisations */
#realisations h2:hover {
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 6px 12px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

/* Animation au hover pour les cards du carrousel rÃ©alisations */
.realisation-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.realisation-card:hover {
    filter: brightness(1.05);
}

/* Animation des badges dans les rÃ©alisations */
.realisation-lang, .realisation-date {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.realisation-lang:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.realisation-date:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Animation pour les boutons du carrousel rÃ©alisations */
.carousel-btn {
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.9));
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Animation pour les indicateurs du carrousel */
.indicator {
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(59, 130, 246, 0.7);
    transform: scale(1.3);
}

/* Keyframes spÃ©cifiques pour les rÃ©alisations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation pour les images des rÃ©alisations */
.realisation-img {
    transition: transform 0.4s ease, filter 0.3s ease;
}

.realisation-card:hover .realisation-img {
    filter: brightness(1.1) contrast(1.05);
}

/* Animation spÃ©ciale pour le conteneur principal des rÃ©alisations */
#realisations {
    animation: fadeInContainer 1s ease-out;
}

@keyframes fadeInContainer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   ANIMATIONS POUR LA PAGE CONTACT
   =============================================== */

/* Animation du titre de contact */
.contact-title {
    animation: slideInFromTop 1s ease-out;
}

/* Animation du formulaire de contact */
form {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Animation des champs du formulaire */
form input, form textarea, form button {
    transition: all 0.3s ease;
}

form input:focus, form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

/* Animation du bouton de soumission */
form button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Animation des messages de succÃ¨s/erreur */
.form-message {
    animation: slideInFromLeft 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   ANIMATIONS POUR LA PAGE AVIS
   =============================================== */

/* Animation du titre des avis */
.container-avis h2 {
    animation: fadeInScale 1s ease-out;
}

/* Animation des cartes d'avis */
.avis-card {
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.avis-card:nth-child(1) { animation-delay: 0.1s; }
.avis-card:nth-child(2) { animation-delay: 0.2s; }
.avis-card:nth-child(3) { animation-delay: 0.3s; }

.avis-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

/* Animation des Ã©toiles dans les avis */
.star-rating {
    transition: all 0.3s ease;
}

.star-rating:hover {
    transform: scale(1.1);
}

/* Animation du formulaire d'avis */
#commentaire form {
    animation: slideInFromRight 0.8s ease-out 0.4s both;
}

/* Animation du bouton "Voir plus d'avis" */
button[onclick*="toggleAvis"] {
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

button[onclick*="toggleAvis"]:hover {
    transform: scale(1.05);
    animation: none;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===============================================
   ANIMATIONS POUR LA PAGE Ã‰QUIPE
   =============================================== */

/* Animation du titre de l'Ã©quipe */
/* Animation styles supprimés pour .team-title car on utilise maintenant .section-title */

/* Animation de la description de l'équipe supprimée - on utilise maintenant .section-subtitle */

/* Animation des cartes de l'Ã©quipe */
.team-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-card:nth-child(1) { transition-delay: 0.4s; }
.team-card:nth-child(2) { transition-delay: 0.6s; }

/* Animation amÃ©liorÃ©e au hover des cartes Ã©quipe */
.team-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
}

/* Animation de l'overlay des cartes Ã©quipe */
.team-card .overlay {
    transition: bottom 0.3s ease, background 0.4s ease, color 0.4s ease;
}

.team-card:hover .overlay {
    background: linear-gradient(135deg, var(--color-white), rgba(240, 247, 255, 0.95));
    color: var(--color-text-dark);
    backdrop-filter: blur(15px);
}

/* Animation des tags de rÃ´le */
.role-tag {
    opacity: 0;
    transform: translateX(-30px) rotate(180deg);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease, color 0.3s ease;
    transition-delay: 0.8s;
}

.team-card:hover .role-tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    color: var(--color-white);
    transform: scale(1.1) rotate(180deg);
}

/* Animation des images d'Ã©quipe */
.team-card img {
    transition: all 0.4s ease;
}

.team-card:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Classe pour dÃ©clencher l'animation */
.animate-in-team {
    opacity: 1 !important;
    transform: none !important;
}

/* ===============================================
   ANIMATIONS GÃ‰NÃ‰RALES POUR TOUTES LES PAGES
   =============================================== */

/* Animation pour tous les titres h1, h2, h3 au chargement */
h1, h2, h3 {
    animation: titleFadeIn 0.8s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation de pulse pour les Ã©lÃ©ments importants */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animation de bounce pour les boutons */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Animation pour les liens et boutons au hover */
a, button {
    transition: all 0.3s ease;
}

a:hover, button:hover {
    transform: translateY(-2px);
}

/* PARTICULES PLUS VISIBLES */
.global-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.global-particle {
  position: absolute;
  background: rgba(102, 126, 234, 0.6); /* Plus visible */
  border-radius: 50%;
  pointer-events: none;
  animation: globalParticleFloat linear infinite;
}

@keyframes globalParticleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* STYLE FORMULAIRE MODERNE - VERSION COMPLÃˆTE */
.contact-form-enhanced {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  animation: formSlideIn 0.8s ease-out;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes formSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form-enhanced label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.contact-form-enhanced label i {
  margin-right: 0.5rem;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.contact-form-enhanced input,
.contact-form-enhanced textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
}

.contact-form-enhanced input:focus,
.contact-form-enhanced textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.contact-form-enhanced textarea {
  min-height: 120px;
  resize: vertical;
}

/* Style pour les select dans le formulaire modernisÃ© */
.contact-form-enhanced select {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.contact-form-enhanced select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

/* Bouton moderne */
.contact-form-enhanced button {
  background: linear-gradient(45deg, var(--color-primary), var(--color-primary)) !important;
  color: var(--color-white) !important;
  border: none !important;
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
}

.contact-form-enhanced button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3) !important;
}

.contact-form-enhanced button::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: left 0.5s;
}

.contact-form-enhanced button:hover::before {
  left: 100%;
}

/* Messages avec style moderne */
.form-message {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-weight: 500;
  animation: messageSlide 0.5s ease-out;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-message.success {
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: var(--color-white);
  border-left: 4px solid #2e7d32;
}

.form-message.error {
  background: linear-gradient(45deg, #f44336, #d32f2f);
  color: var(--color-white);
  border-left: 4px solid #c62828;
}

/* Cover - Version corrigÃ©e */
.parallax {
  background-image: url('assets/cover.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* Utilise 'cover' pour remplir l'espace */
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Version desktop - PAS de contenu superposÃ© */
@media (min-width: 769px) {
  .parallax {
    background-attachment: fixed;
  }
  
  /* Cache le contenu texte sur desktop */
  .cover-content.mobile-only {
    display: none;
  }
}

/* Version mobile - Contenu superposÃ© visible */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
    height: 60vh;
    min-height: 400px;
  }
  
  /* Affiche le contenu texte sur mobile */
  .cover-content.mobile-only {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-width: 95%;
    animation: coverSlideUp 1s ease-out;
  }
  
  .cover-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .cover-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
  }
  
  .cover-btn {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary));
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--color-white);
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .parallax {
    height: 50vh;
    min-height: 350px;
  }
  
  .cover-content.mobile-only {
    padding: 1rem 0.8rem;
  }
  
  .cover-title {
    font-size: 1.8rem;
  }
  
  .cover-subtitle {
    font-size: 0.9rem;
  }
}

/* RESPONSIVE POUR LA PAGE Ã‰QUIPE - VERSION AMÃ‰LIORÃ‰E */
@media (max-width: 768px) {
  /* Titre responsive */
  /* .team-title styles supprimés - on utilise maintenant .section-title */
  
  /* Description responsive supprimée - on utilise maintenant .section-subtitle */
  
  /* Container des cartes responsive */
  .team-cards {
    flex-direction: column !important;
    align-items: center !important;
    gap: 5rem !important;
    padding: 0 1rem 4rem 1rem !important;
    margin-bottom: 4rem !important;
  }
  
  /* Cartes individuelles responsive - taille augmentée pour mobile */
  .team-card {
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    margin: 0 0 3rem 0 !important;
    position: relative !important;
    border-radius: 15px !important;
    overflow: visible !important;
    background: var(--color-white) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    height: auto !important;
    min-height: 650px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* Images responsive - hauteur augmentée pour éviter de couper les têtes */
  .team-card img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    object-position: center top !important; /* Focus sur le haut de l'image pour les visages */
    border-radius: 15px 15px 0 0 !important;
  }
  
  /* NOUVELLE APPROCHE : Description visible par dÃ©faut sur mobile */
  .team-card .overlay {
    position: relative !important;
    bottom: auto !important;
    background: var(--color-white) !important;
    color: #333 !important;
    padding: 1.5rem !important;
    font-size: 0.9rem !important;
    border-radius: 0 0 15px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .team-card .card-content {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    width: 100% !important;
  }
  
  .team-card .overlay h3 {
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem !important;
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    text-align: center !important;
  }
  
  .team-card .overlay p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: #555 !important;
    text-align: justify !important;
    margin: 0 !important;
  }
  
  /* Role tag repositionnÃ© pour ne pas gÃªner */
  .role-tag {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important; /* DÃ©placÃ© Ã  droite */
    left: auto !important;
    writing-mode: horizontal-tb !important; /* Texte horizontal */
    transform: none !important;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary)) !important;
    color: var(--color-white) !important;
    padding: 8px 15px !important;
    font-size: 0.8rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0,0,0.2) !important;
  }
  
  /* DÃ©sactiver les effets hover sur mobile */
  .team-card:hover {
    transform: none !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
  }
  
  .team-card:hover .overlay {
    bottom: auto !important;
    background: var(--color-white) !important;
    color: #333 !important;
  }
  
  .team-card:hover img {
    transform: none !important;
    filter: none !important;
  }
}

/* Pour les trÃ¨s petits Ã©crans */
@media (max-width: 480px) {
  /* .team-title styles supprimés - on utilise maintenant .section-title */
  
  /* .team-description supprimé - on utilise maintenant .section-subtitle */
  
  .team-card {
    max-width: 360px !important; /* Augmenté de 320px à 360px pour les très petits écrans */
  }
  
  .team-cards {
    padding: 0 0.5rem !important;
    gap: 2rem !important;
  }
  
  .team-card .overlay {
    padding: 1rem !important;
  }
  
  .team-card .overlay h3 {
    font-size: 1.2rem !important;
  }
}
/* Cards de prix pour mobile - VERSION AMÃ‰LIORÃ‰E */
.price-card {
    background: linear-gradient(135deg, var(--color-white), #f8f9ff);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 87, 179, 0.15);
    border: 2px solid rgba(0, 87, 179, 0.1);
    border-left: 5px solid var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary));
    opacity: 0.1;
    border-radius: 0 20px 0 50px;
}

.price-card-title {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-card-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-card-detail {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
}

.price-card-delay {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary));
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 87, 179, 0.3);
}

/* Variantes de couleurs pour diffÃ©rencier */
.price-card.maintenance {
    border-left-color: #6f42c1;
    background: linear-gradient(135deg, var(--color-white), #f8f6ff);
}

.price-card.maintenance::before {
    background: linear-gradient(45deg, #6f42c1, #9c27b0);
}

.price-card.maintenance .price-card-title {
    color: #6f42c1;
}

.price-card.maintenance .price-card-delay {
    background: linear-gradient(45deg, #6f42c1, #9c27b0);
}

.price-card.special {
    border-left-color: #fd7e14;
    background: linear-gradient(135deg, var(--color-white), #fff8f0);
}

.price-card.special::before {
    background: linear-gradient(45deg, #fd7e14, #ff9500);
}

.price-card.special .price-card-title {
    color: #fd7e14;
}

.price-card.special .price-card-price {
    background: linear-gradient(45deg, #fd7e14, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation hover amÃ©liorÃ©e */
.price-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 87, 179, 0.25);
    border-color: var(--color-primary);
}

.price-card:active {
    transform: translateY(-4px) scale(1.01);
}

/* Responsive pour trÃ¨s petits Ã©crans */
@media (max-width: 480px) {
    .price-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .price-card-title {
        font-size: 1.2rem;
    }
    
    .price-card-price {
        font-size: 1.7rem;
    }
    
    /* Section À propos de nous responsive */
    .about-us-text {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .about-us-text .highlight-first {
        font-size: 1rem;
        margin: 0.8rem 0 0.6rem 0;
    }
    
    /* Traits bleus plus petits sur très petits écrans */
    .about-us-text .highlight-first::after {
        width: 30px;
        height: 1.5px;
        bottom: -6px;
    }
    
    .about-us-text strong::after {
        width: 30px;
        height: 1.5px;
        bottom: -6px;
    }
}

/* Amélioration du contraste pour le texte principal */
@media (max-width: 768px) {
    .question_prix {
        color: var(--color-primary) !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        background: linear-gradient(45deg, var(--color-primary), var(--color-primary)) !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }
    
    .table-section p {
        color: #333 !important;
        font-weight: 500 !important;
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
    
    .mention_prix {
        background: rgba(255, 255, 255, 0.95) !important;
        padding: 1.5rem !important;
        border-radius: 15px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        color: #444 !important;
        font-weight: 500 !important;
        border-left: 4px solid var(--color-primary) !important;
    }
}
/* track sans gap quand 1 carte par vue */
@media (max-width: 768px) {
  .carousel-track {
    gap: 0;               /* plus de gap */
  }

  .carousel-item-custom {
    flex: 0 0 100%;       /* occupe 100 % de la largeur visible */
    margin-right: 0;      /* sécurité si un margin était appliqué */
  }

  .parallax {
    background-image: none !important;
    background-color: transparent;
  }
}

/* si tu préfères garder un petit espace visuel : */
/*
  .carousel-item-custom {
     flex: 0 0 calc(100% - 16px);  => -16 px pour un padding visuel
     margin-right: 16px;
  }
*/

/* Bouton WhatsApp - ID pour éviter les conflits */
#whatsapp-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    background-color: var(--color-accent) !important;
    color: var(--color-white) !important;
    padding: 10px 15px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    transform: none !important; /* Annule les styles généraux */
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

#whatsapp-contact-btn:hover {
    background-color: #1FAD53 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3) !important;
    color: var(--color-white) !important;
    text-decoration: none !important;
}

#whatsapp-contact-btn:focus {
    background-color: #1FAD53 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3) !important;
    color: var(--color-white) !important;
    text-decoration: none !important;
    outline: none !important;
}

#whatsapp-contact-btn img {
    width: 24px !important;
    height: 24px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    border: none !important;
    outline: none !important;
}

/* Annulation spécifique des styles généraux pour ce bouton */
#whatsapp-contact-btn:not(:hover) {
    transform: none !important;
}

/* Protection contre les styles de formulaire */
form #whatsapp-contact-btn {
    display: inline-flex !important;
    flex-direction: row !important;
}

/* Boutons flottants */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-buttons .btn {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.floating-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Styles pour les popups */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.popup-content h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.popup-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.popup-content a {
    text-decoration: none;
    color: #fff;
    background: var(--color-accent);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}

.popup-content a:hover {
    background: var(--color-accent);
}

/* =========================== */
/* LANGUAGE SELECTOR STYLES */
/* =========================== */

.language-selector {
    position: relative;
    display: inline-block;
    z-index: 1000;
    margin-left: auto;
}

.current-language {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 80px;
}

.current-language:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    border-radius: 2px;
    object-fit: cover;
}

.language-text {
    font-weight: 500;
    color: #333;
    margin-right: 8px;
    font-size: 14px;
}

.arrow {
    transition: transform 0.3s ease;
    color: #666;
    font-size: 12px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    display: none;
    z-index: 1001;
    margin-top: 5px;
}

.language-dropdown.show {
    display: block;
    animation: fadeInLang 0.2s ease;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 14px;
}

.language-option:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: var(--color-primary);
}

.language-option.active {
    background: #e3f2fd;
    color: var(--color-primary);
    font-weight: 500;
}

@keyframes fadeInLang {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile language selector - only flags */
.mobile-language-selector .desktop-language {
    display: none;
}

.mobile-language-selector .mobile-language {
    display: flex !important;
}

.flag-link {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px;
}

.flag-link:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.flag-link.active {
    box-shadow: 0 0 0 2px #007bff;
    border-radius: 4px;
    transform: scale(1.05);
}

.flag-icon-mobile {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

/* Desktop language selector styles */
@media (min-width: 992px) {
    .mobile-language-selector {
        display: none !important;
    }
    
    .navbar .ms-auto .language-selector .desktop-language {
        display: block !important;
    }
    
    .navbar .ms-auto .language-selector .mobile-language {
        display: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-brand {
        flex: 1;
    }
    
    /* Réorganisation de la navbar pour mobile : sélecteur à gauche, burger à droite */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-language-selector {
        margin-right: 10px;
        position: relative;
        order: 1; /* Premier élément */
    }
    
    .navbar-brand {
        order: 2; /* Élément central */
        flex: 1;
        text-align: center;
    }
    
    .navbar-toggler {
        order: 3; /* Dernier élément à droite */
        margin-left: auto;
    }
    
    .mobile-language-selector .desktop-language {
        display: none !important;
    }
    
    .mobile-language-selector .mobile-language {
        display: flex !important;
    }
    
    .flag-icon-mobile {
        width: 24px;
        height: 18px;
    }
    
    /* Masquer le sélecteur de langue dans la navbar collapsible sur mobile */
    .navbar .ms-auto {
        display: none !important;
    }
}


