/* Styles responsifs globaux */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Ajustements des grilles */
    .services-grid,
    .expertise-grid,
    .avantages-grid,
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Ajustements des cartes */
    .service-card,
    .expertise-card,
    .avantage-card,
    .domain-card {
        padding: 1.5rem;
    }

    /* Ajustements du footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 1.5rem;
    }

    /* Header et navigation */
    .header {
        padding: 1rem;
    }

    .nav-links {
        padding-top: 5rem;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    /* Hero section */
    .hero {
        padding: 5rem 1rem 2rem;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* À propos */
    .story-container {
        flex-direction: column;
    }

    .story-orbit {
        width: 100%;
        margin-bottom: 2rem;
    }

    .story-content {
        width: 100%;
    }

    .story-panel {
        padding: 1.5rem;
    }

    /* Services et expertise */
    .services-grid,
    .expertise-grid,
    .avantages-grid,
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Témoignages */
    .temoignage-card {
        padding: 1.5rem;
    }

    .temoignage-author {
        flex-direction: column;
        text-align: center;
    }

    /* Contact */
    .contact-card {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-container {
        width: 100%;
        padding: 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    /* Header */
    .logo img {
        max-width: 120px;
    }

    /* Hero */
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Ajustements pour les très petits écrans */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Optimisations pour le menu hamburger */
.mobile-menu-btn {
    position: relative;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn .menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.mobile-menu-btn .menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #CD853F;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn .menu-icon span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn .menu-icon span:nth-child(2) {
    top: 8px;
}

.mobile-menu-btn .menu-icon span:nth-child(3) {
    top: 16px;
}

.mobile-menu-btn.active .menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active .menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(44, 24, 16, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

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

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links a:nth-child(5) { transition-delay: 0.5s; }
    .nav-links a:nth-child(6) { transition-delay: 0.6s; }

    .lang-switch {
        margin-top: 2rem;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
        transition-delay: 0.7s;
    }

    .nav-links.active .lang-switch {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Optimisations pour les animations sur mobile */
@media (max-width: 768px) {
    .floating-shapes,
    .particles-container,
    .background-particles {
        display: none;
    }

    .hero::before,
    .hero::after {
        opacity: 0.4;
    }

    .glass-effect {
        backdrop-filter: blur(5px);
    }

    /* Optimisations des performances */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .smooth-scroll {
        -webkit-overflow-scrolling: touch;
    }
} 