/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        gap: 3rem;
    }

    .contact-content {
        gap: 3rem;
    }
}

/* Tablettes et petits écrans (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        gap: 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    /* Hero */
    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .candy-icon {
        font-size: 3rem;
    }

    /* Produits */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* À propos */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .image-placeholder {
        height: 300px;
    }

    .placeholder-icon {
        font-size: 4rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobiles (max-width: 480px) */
@media (max-width: 480px) {
    /* Typographie */
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Hero */
    .hero {
        padding: 3rem 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .candy-icon {
        font-size: 2.5rem;
    }

    /* Produits */
    .products {
        padding: 3rem 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-icon {
        font-size: 3rem;
    }

    /* À propos */
    .about {
        padding: 3rem 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .image-placeholder {
        height: 250px;
        max-width: 100%;
    }

    .placeholder-icon {
        font-size: 3.5rem;
    }

    .image-placeholder p {
        font-size: 1.2rem;
    }

    /* Contact */
    .contact {
        padding: 3rem 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    .info-icon {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Petits mobiles (max-width: 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .product-card h3 {
        font-size: 1.3rem;
    }

    .contact-form h3 {
        font-size: 1.3rem;
    }
}

/* Animations responsive */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Mode paysage mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .candy-icon {
        display: none;
    }
}
