/**
 * LS Entreprises - Responsive Styles
 * Mobile-first responsive design
 */

/* ========================================
   Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 2.5rem;    /* 40px */
        --font-size-6xl: 3rem;      /* 48px */
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-lg {
        padding: var(--spacing-3xl) 0;
    }
}

/* ========================================
   Mobile (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 1.875rem;  /* 30px */
        --font-size-5xl: 2rem;      /* 32px */
        --font-size-6xl: 2.25rem;   /* 36px */
        --spacing-3xl: 4rem;
        --header-height: 70px;
    }
    
    /* Header & Navigation */
    .desktop-nav {
        display: none;
    }
    
    .header-cta.desktop-only {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo {
        font-size: var(--font-size-xl);
    }
    
    /* Hero */
    .hero {
        min-height: calc(100vh - var(--header-height));
        margin-top: var(--header-height);
    }
    
    .hero-content {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Grid */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    /* Cards */
    .card {
        padding: var(--spacing-lg);
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: var(--font-size-4xl);
    }
    
    .stat-label {
        font-size: var(--font-size-base);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Section spacing */
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-lg {
        padding: var(--spacing-2xl) 0;
    }
    
    /* Typography */
    h1 {
        font-size: var(--font-size-4xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);
    }
    
    h3 {
        font-size: var(--font-size-2xl);
    }
    
    /* Container */
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Utility */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Sticky CTA */
    .sticky-cta {
        right: var(--spacing-sm);
        left: var(--spacing-sm);
    }
    
    .sticky-cta.visible {
        bottom: var(--spacing-sm);
    }
    
    .sticky-cta .btn {
        width: 100%;
    }
}

/* ========================================
   Small Mobile (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    :root {
        --font-size-5xl: 1.875rem;  /* 30px */
        --font-size-6xl: 2rem;      /* 32px */
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: var(--font-size-sm);
    }
    
    .card {
        padding: var(--spacing-md);
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ========================================
   Large Desktop (min-width: 1280px)
   ======================================== */
@media (min-width: 1280px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .site-header,
    .mobile-nav,
    .sticky-cta,
    .footer-social,
    .hero-cta,
    .btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}

/* ========================================
   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 Enhancement)
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles here */
}

