/* ==============================================
   SYNAPTIK - RESPONSIVE
   ============================================== */

/* ========== MOBILE (320px - 767px) ========== */
@media (max-width: 767px) {
    :root {
        --space-3xl: 3rem;
        --space-2xl: 2rem;
        --space-xl: 1.5rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    /* Hero */
    .hero-section {
        min-height: 80vh;
        padding: var(--space-2xl) 0;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Navigation */
    .nav-wrapper {
        padding: var(--space-sm) 0;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    /* Cards */
    .formation-card-image,
    .blog-card-image {
        height: 180px;
    }

    .formation-card-content,
    .blog-card-content {
        padding: var(--space-md);
    }

    /* Footer */
    .footer-newsletter {
        margin: 0 0 var(--space-2xl);
        padding: var(--space-lg);
        border-radius: var(--radius-md);
        top: 0;
    }

    .newsletter-icon {
        font-size: 2rem;
    }

    .newsletter-title {
        font-size: 1.25rem;
    }

    .form-group-inline {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-stats {
        grid-template-columns: 1fr;
    }

    .certifications-list {
        gap: var(--space-md);
    }

    .footer-legal-links {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }

    /* Sections */
    .section {
        padding: var(--space-2xl) 0;
    }

    .section-lg {
        padding: var(--space-3xl) 0;
    }

    /* Buttons */
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9375rem;
    }
}

/* ========== TABLET (768px - 1023px) ========== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .hero-title {
        font-size: 3rem;
    }

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

/* ========== DESKTOP (1024px - 1439px) ========== */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 1024px;
    }
}

/* ========== LARGE DESKTOP (1440px+) ========== */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }

    .hero-section {
        min-height: 100vh;
    }
}

/* ========== ULTRA WIDE (1920px+) ========== */
@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .main-header,
    .main-footer,
    .scroll-to-top,
    .btn,
    .nav-actions,
    .mobile-menu-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero-section {
        background: none !important;
        color: black !important;
    }

    a {
        text-decoration: underline;
    }

    .gradient-text-primary,
    .gradient-text-secondary,
    .gradient-text-accent {
        -webkit-text-fill-color: currentColor;
        background: none;
    }
}

/* ========== ACCESSIBILITY - PREFERS REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========== DARK MODE SUPPORT (future-proofing) ========== */
@media (prefers-color-scheme: dark) {
    /* Les styles dark mode peuvent être ajoutés ici si nécessaire */
}

/* ========== LANDSCAPE MOBILE ========== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: var(--space-xl) 0;
    }
}
