* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0E86D4;
    --primary-dark: #0c6fb3;
    --primary-light: #E8F4FD;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-600: #475569;
    --gray-900: #0f172a;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Navigation Minimaliste */
nav {
    position: static;
    width: 100%;
    background: var(--white);
    padding: 1.5rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.nav-links a i {
    display: none;
}

.nav-links a:hover {
    color: var(--dark);
    background: var(--primary-light);
}

.nav-links a.active {
    color: var(--dark);
    font-weight: 600;
}

.cta-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

.cta-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section Épurée */
.hero {
    margin-top: 0;
    padding: 8rem 2rem 6rem;
    text-align: center;
    background: linear-gradient(rgba(14, 134, 212, 0.85), rgba(14, 134, 212, 0.7)), 
                url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero p[style*="italic"] {
    font-size: 1.125rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: italic;
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

}

.hero .cta-button {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .cta-button:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#services-preview {
    background: var(--primary-light);
    padding: 5rem 2rem;
}

#apropos-preview {
    background: var(--white) !important;
}

/* Services Grid Minimaliste */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    font-size: 4rem;
    color: var(--primary);
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 134, 212, 0.15);
    border-color: rgba(14, 134, 212, 0.3);
}

.service-content h3 {
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-content > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
    flex: 1;
}

.service-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.service-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-content a {
    color: var(--primary) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem !important;
    transition: gap 0.2s ease;
}

.service-content a:hover {
    gap: 0.75rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-content strong {
    color: var(--dark);
    font-weight: 600;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 134, 212, 0.4);
}

/* Footer Minimaliste */
footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-box {
    background: var(--primary-light);
    padding: 2.5rem;
    border-radius: 12px;
    height: fit-content;
}

.contact-info-box h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.2s ease;
}

.whatsapp-btn:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

.contact-form-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-form-box h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 134, 212, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* À Propos Page Styles */
.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 134, 212, 0.12);
}

.mission-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.why-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    flex-shrink: 0;
    width: 60px;
}

.why-item h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Équipe Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 134, 212, 0.12);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 3rem;
    color: var(--gray-600);
}

.team-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Réalisations Page Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(14, 134, 212, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 134, 212, 0.15);
}

.project-image {
    height: 200px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 4rem;
}

.project-content {
    padding: 2rem;
}

.project-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.project-content > p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.project-features li {
    color: var(--gray-600);
    font-size: 0.9rem;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sector-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sector-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(14, 134, 212, 0.12);
    border-color: var(--primary);
}

.sector-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sector-item h3 {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

/* Responsive */
/* @media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        gap: 0;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        height: 100vh;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 1.25rem 1rem;
        text-align: left;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-links a i {
        display: inline;
        margin-right: 0.75rem;
        font-size: 1.25rem;
        width: 24px;
        text-align: center;
    }

    .nav-links a:hover {
        background: var(--primary-light);
        border-left: 4px solid var(--primary);
    }

    .cta-nav {
        margin: 1rem;
        border-radius: 8px !important;
        justify-content: center;
    }

    .hero {
        padding: 5rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} */

/* ===================================
   NAVIGATION MOBILE - VERSION CORRIGÉE
   =================================== */

@media (max-width: 768px) {
    
    /* Bouton hamburger - toujours visible et au-dessus */
    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 10003;
        background: var(--white);
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        background: var(--gray-100);
    }

    /* Navigation container - prend tout l'écran */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        
        /* Fond opaque blanc */
        background: var(--white);
        
        /* Au-dessus de tout */
        z-index: 10002;
        
        /* Layout */
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        padding-bottom: 2rem;
        
        /* Scroll si nécessaire */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        
        /* Animation slide depuis la droite */
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        
        /* Cache par défaut */
        visibility: hidden;
    }

    /* État ouvert */
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Overlay sombre derrière le menu (optionnel mais recommandé) */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Items de navigation */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
        list-style: none;
    }

    .nav-links li:first-child {
        border-top: 1px solid var(--gray-100);
    }

    /* Liens */
    .nav-links a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        
        width: 100%;
        padding: 1.25rem 1.5rem;
        
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
        color: var(--dark);
        
        background: var(--white);
        transition: all 0.2s ease;
    }

    /* Icônes visibles sur mobile */
    .nav-links a i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        font-size: 1.25rem;
        color: var(--gray-600);
    }

    /* Hover et active */
    .nav-links a:hover,
    .nav-links a:focus {
        background: var(--primary-light);
        color: var(--primary);
        padding-left: 2rem;
    }

    .nav-links a.active {
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
        border-left: 4px solid var(--primary);
    }

    /* Bouton CTA dans le menu */
    .cta-nav {
        margin: 1rem 1.5rem;
        background: var(--primary) !important;
        color: var(--white) !important;
        border-radius: 8px !important;
        justify-content: center;
        padding: 1rem 1.5rem !important;
        border-left: none !important;
    }

    .cta-nav:hover {
        background: var(--primary-dark) !important;
        padding-left: 1.5rem !important;
    }

    /* Empêcher le scroll du body quand menu ouvert */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
    }

    /* Navigation container - s'assurer qu'il reste fixe */
    .nav-container {
        position: relative;
        z-index: 10000;
        background: var(--white);
        padding: 1rem 1.5rem;
    }

    /* Logo reste visible */
    .logo {
        position: relative;
        z-index: 10003;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .nav-links {
        padding-top: 70px;
    }
    
    .nav-links a {
        padding: 1.15rem 1.25rem;
        font-size: 1.05rem;
    }
    
    .cta-nav {
        margin: 0.75rem 1.25rem;
    }
}

/* Tablettes en portrait */
@media (min-width: 769px) and (max-width: 1024px) {
    .menu-toggle {
        display: none !important;
    }
    
    .nav-links {
        position: static;
        transform: none;
        visibility: visible;
        height: auto;
        flex-direction: row;
        padding: 0;
        overflow: visible;
        background: transparent;
    }
    
    .nav-links a i {
        display: none;
    }
}


/* Animations douces */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
        position: relative; /* Ajoutez ceci */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        gap: 0;
        transform: translateX(100%);
        opacity: 1; /* Changez de 0 à 1 */
        pointer-events: none;
        transition: transform 0.3s ease; /* Transition uniquement sur transform */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        height: 100vh;
        overflow-y: auto;
        z-index: 1000;
        visibility: hidden; /* Ajoutez ceci */
    }

    .nav-links.active {
        transform: translateX(0);
        pointer-events: all;
        visibility: visible; /* Ajoutez ceci */
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 1.25rem 1rem;
        text-align: left;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-links a i {
        display: inline;
        margin-right: 0.75rem;
        font-size: 1.25rem;
        width: 24px;
        text-align: center;
    }

    .nav-links a:hover {
        background: var(--primary-light);
        border-left: 4px solid var(--primary);
    }

    .cta-nav {
        margin: 1rem;
        border-radius: 8px !important;
        justify-content: center;
    }


}
