/* ========== SECTIONS NON-CRITIQUES ========== */

/* Approach Section */
.approach {
    background: var(--surface);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background: var(--bg);
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(234, 93, 111, 0.1);
    border-radius: 50%;
    color: var(--accent-red);
}

.value-card:nth-child(2) .value-icon {
    background: rgba(0, 161, 77, 0.1);
    color: var(--accent-green);
}

.value-card:nth-child(3) .value-icon {
    background: rgba(251, 204, 64, 0.1);
    color: var(--accent-yellow);
}

.value-card:nth-child(4) .value-icon {
    background: rgba(234, 93, 111, 0.1);
    color: var(--accent-red);
}

.value-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
}

/* Services Navigation moderne */
.services-nav-modern {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.nav-track {
    display: inline-flex;
    position: relative;
    padding: 0.5rem;
    background: var(--surface);
    border-radius: 5rem;
}

.nav-indicator {
    position: absolute;
    top: 0.5rem;
    height: calc(100% - 1rem);
    background: var(--accent-red);
    border-radius: 5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    opacity: 0;
}

.nav-track.initialized .nav-indicator {
    opacity: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--text-muted);
    white-space: nowrap;
}

.nav-item.active {
    color: white;
}

/* ========== SERVICES MODERN SECTION ========== */
.services-modern {
    position: relative;
}

/* Navigation moderne */
.services-nav-modern {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.nav-track {
    display: inline-flex;
    position: relative;
    padding: 0.5rem;
    background: var(--surface);
    border-radius: 5rem;
}

.nav-indicator {
    position: absolute;
    top: 0.5rem;
    height: calc(100% - 1rem);
    background: var(--accent-red);
    border-radius: 5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    opacity: 0;
}

.nav-track.initialized .nav-indicator {
    opacity: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--text-muted);
    white-space: nowrap;
}

.nav-item.active {
    color: white;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-label {
    font-size: 1.6rem;
    font-weight: 500;
}

/* Container pour le carousel */
.services-carousel-container {
    position: relative;
}

/* Services Navigation moderne */
.services-nav-modern {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.nav-track {
    display: inline-flex;
    position: relative;
    padding: 0.5rem;
    background: var(--surface);
    border-radius: 5rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-nav-modern {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -2rem 4rem;
        padding: 0 2rem;
    }
    
    .nav-track {
        border-radius: 1rem;
        min-width: max-content;
    }
}

.nav-indicator {
    position: absolute;
    top: 0.5rem;
    height: calc(100% - 1rem);
    background: var(--accent-red);
    border-radius: 5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    opacity: 0;
}

.nav-track.initialized .nav-indicator {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-indicator {
        border-radius: 0.8rem;
    }
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--text-muted);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-item {
        padding: 0.8rem 1.5rem;
        border-radius: 0.8rem;
    }
}

.nav-item.active {
    color: white;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-label {
    font-size: 1.6rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-label {
        display: none;
    }
}

/* Service Panels */
.services-content-modern {
    position: relative;
}

.service-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-panel.active {
    display: block;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 992px) {
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.panel-info h3 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.panel-info p {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.panel-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list {
    list-style: none;
    margin-bottom: 3rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.check-icon {
    color: var(--accent-green);
    font-size: 2rem;
    font-weight: 700;
}

.service-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.service-image.floating {
    animation: float 6s ease-in-out infinite;
}

.service-image.floating-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dark mode */
[data-theme="dark"] .nav-track {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .carousel-progress {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .carousel-arrow {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .carousel-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-red);
}
/* Why Us Section - Design moderne */
.why-us {
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 93, 111, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

@media (min-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.why-card {
    position: relative;
    background: var(--bg);
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.why-card-inner {
    position: relative;
    padding: 3rem 2rem;
    z-index: 2;
}

.why-icon-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
}

.why-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 93, 111, 0.1) 0%, rgba(234, 93, 111, 0.05) 100%);
    border-radius: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.why-card:nth-child(2) .why-icon {
    background: linear-gradient(135deg, rgba(0, 161, 77, 0.1) 0%, rgba(0, 161, 77, 0.05) 100%);
}

.why-card:nth-child(3) .why-icon {
    background: linear-gradient(135deg, rgba(251, 204, 64, 0.1) 0%, rgba(251, 204, 64, 0.05) 100%);
}

.why-card:nth-child(4) .why-icon {
    background: linear-gradient(135deg, rgba(234, 93, 111, 0.1) 0%, rgba(234, 93, 111, 0.05) 100%);
}

.why-icon svg {
    color: var(--accent-red);
    transition: transform 0.4s ease;
}

.why-card:nth-child(2) .why-icon svg {
    color: var(--accent-green);
}

.why-card:nth-child(3) .why-icon svg {
    color: var(--accent-yellow);
}

.why-card:nth-child(4) .why-icon svg {
    color: var(--accent-red);
}

.why-card:hover .why-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(234, 93, 111, 0.2) 0%, rgba(234, 93, 111, 0.1) 100%);
}

.why-card:nth-child(2):hover .why-icon {
    background: linear-gradient(135deg, rgba(0, 161, 77, 0.2) 0%, rgba(0, 161, 77, 0.1) 100%);
}

.why-card:nth-child(3):hover .why-icon {
    background: linear-gradient(135deg, rgba(251, 204, 64, 0.2) 0%, rgba(251, 204, 64, 0.1) 100%);
}

.why-card:nth-child(4):hover .why-icon {
    background: linear-gradient(135deg, rgba(234, 93, 111, 0.2) 0%, rgba(234, 93, 111, 0.1) 100%);
}

.why-card:hover .why-icon svg {
    transform: rotate(10deg) scale(1.1);
}

.why-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text);
    opacity: 0.05;
    z-index: 1;
    transition: all 0.4s ease;
}

.why-card:hover .why-number {
    opacity: 0.1;
    transform: scale(1.2);
}

.why-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.why-card:hover .why-content h3 {
    color: var(--accent-red);
}

.why-card:nth-child(2):hover .why-content h3 {
    color: var(--accent-green);
}

.why-card:nth-child(3):hover .why-content h3 {
    color: var(--accent-yellow);
}

.why-card:nth-child(4):hover .why-content h3 {
    color: var(--accent-red);
}

.why-content p {
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
}

.why-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(234, 93, 111, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.why-card:nth-child(2) .why-hover-effect {
    background: linear-gradient(135deg, transparent 0%, rgba(0, 161, 77, 0.05) 100%);
}

.why-card:nth-child(3) .why-hover-effect {
    background: linear-gradient(135deg, transparent 0%, rgba(251, 204, 64, 0.05) 100%);
}

.why-card:nth-child(4) .why-hover-effect {
    background: linear-gradient(135deg, transparent 0%, rgba(234, 93, 111, 0.05) 100%);
}

.why-card:hover .why-hover-effect {
    opacity: 1;
}

/* Animation d'entrée séquentielle */
@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-card {
    animation: cardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.why-card:nth-child(1) { animation-delay: 0.1s; }
.why-card:nth-child(2) { animation-delay: 0.2s; }
.why-card:nth-child(3) { animation-delay: 0.3s; }
.why-card:nth-child(4) { animation-delay: 0.4s; }

/* Dark mode adjustments */
[data-theme="dark"] .why-card {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .why-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Stats Section */
.stats {
    background: var(--surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 4.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.6rem;
    color: var(--text-muted);
}

/* Clients Section */
.clients {
    background: var(--surface);
    padding: 6rem 0;
}

.clients-slider {
    display: flex;
    gap: 4rem;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: max-content;
    padding: 2rem 0;
}

.clients-track {
    display: flex;
    overflow: hidden;
    margin: 4rem 0;
    position: relative;
}

.clients-track::before,
.clients-track::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-track::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.clients-track::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--bg) 100%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Conteneur pour chaque logo avec taille fixe */
.client-logo {
    /* Dimensions fixes pour tous les logos */
    width: 150px;
    height: 80px;
    
    /* Centrage et alignement */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Style optionnel */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.8rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    
    /* Assurer que le conteneur ne se déforme pas */
    flex-shrink: 0;
}

/* Style pour les images à l'intérieur */
.client-logo img {
    /* L'image prend maximum la taille du conteneur */
    max-width: 100%;
    max-height: 100%;
    
    /* Préserve les proportions */
    width: auto;
    height: auto;
    
    /* Maintient les proportions et contient l'image */
    object-fit: contain;
    
    /* Effets visuels */
    filter: grayscale(1) opacity(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Effet au survol */
.client-logo:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-logo:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

/* Alternative avec grille pour un meilleur contrôle */
@media (min-width: 768px) {
    .client-logo {
        width: 180px;
        height: 100px;
    }
}

@media (min-width: 992px) {
    .client-logo {
        width: 200px;
        height: 120px;
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .client-logo {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .client-logo:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Optimisation pour éviter le reflow pendant l'animation */
.clients-slider .client-logo {
    will-change: transform;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-modern {
    position: relative;
    padding: 10rem 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--surface);
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: none;
}

.testimonial-card.active {
    display: block;
}

@media (min-width: 768px) {
    .testimonial-card {
        display: block !important;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--accent-yellow);
}

.testimonial-card blockquote {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 2.5rem;
    position: relative;
}

.testimonial-card blockquote::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-size: 6rem;
    color: var(--accent-red);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
}

.testimonial-author h4 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--text-muted);
    font-size: 1.4rem;
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-navigation {
        display: none;
    }
}

.testimonial-prev,
.testimonial-next {
    background: none;
    border: 2px solid var(--border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 1rem;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: var(--accent-red);
    width: 30px;
    border-radius: 5px;
}

/* CTA Section - Design moderne */
.cta {
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-yellow));
    border-radius: 2rem;
    padding: 4rem 3rem;
    overflow: hidden;
    text-align: center;
    color: white;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    color: white;
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.btn-light {
    background: white;
    color: var(--accent-red);
}

.btn-light:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--accent-red);
    transform: translateY(-3px);
}

/* Device dans CTA */
.cta-device {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.cta-device .device-laptop {
    position: relative;
    width: 100%;
}

.cta-device img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.cta-device:hover img {
    transform: perspective(1000px) rotateY(-5deg);
}

.decoration-element {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform-origin: center;
    z-index: 0;
    animation: rotate 20s linear infinite;
    opacity: 0.6;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (min-width: 768px) {
    .cta-wrapper {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        padding: 5rem 4rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    .cta-wrapper {
        padding: 6rem 5rem;
    }
    
    .cta-content h2 {
        font-size: 4.8rem;
    }
}

/* Dark mode */
[data-theme="dark"] .cta {
    background: var(--primary-dark);
}

[data-theme="dark"] .testimonial-card {
    background: var(--surface);
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 6rem 0 3rem;
    margin-top: 8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    color: var(--text);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

.footer-nav h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    text-align: center;
    color: var(--text-muted);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 8rem 2rem 3rem;
}

.mobile-menu-nav {
    list-style: none;
    margin-bottom: 3rem;
}

.mobile-menu-nav li {
    margin-bottom: 2rem;
}

.mobile-menu-nav a {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a[aria-current="page"] {
    color: var(--accent-red);
}

/* Animations pour l'apparition des sections */
.fade-in {
    animation: fadeIn 0.8s ease-out both;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.stagger > * {
    animation: fadeInUp 0.8s ease-out both;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* Optimisations pour les performances */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}