/**
 * Responsive Design
 * Media queries pour tous les breakpoints
 */

/* ==========================================================================
   TABLET (≤ 991px)
   ========================================================================== */

@media (max-width: 991px) {
    /* Grids */
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trial-note {
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   MOBILE LARGE (≤ 768px)
   ========================================================================== */

@media (max-width: 768px) {
    /* Navbar */
    .navbar .container {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .nav-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-buttons .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* Hero */
    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-trial-note {
        gap: 8px;
    }

    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Cards */
    .card {
        padding: 25px;
    }

    /* CTA */
    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 28px;
    }

    .cta-features {
        gap: 15px;
    }

    .cta-feature {
        font-size: 13px;
        gap: 6px;
    }

    .cta-feature .lnr {
        font-size: 14px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Page header */
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        justify-content: flex-start;
    }

    /* Formulaires */
    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Tables */
    .table {
        font-size: 14px;
    }

    .table th,
    .table td {
        padding: 12px 15px;
    }

    /* Dashboard sections */
    .dashboard-section {
        margin-bottom: 35px;
    }

    .dashboard-section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dashboard-section-actions {
        justify-content: flex-start;
    }

    .dashboard-section-title h2 {
        font-size: 18px;
    }

    /* Stat cards */
    .stat-card {
        padding: 20px;
    }

    .stat-card-value {
        font-size: 28px;
    }

    /* Info box */
    .info-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .info-box .btn {
        width: 100%;
        justify-content: center;
    }

    /* Alert flex */
    .alert-flex {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .alert-flex .btn {
        width: 100%;
        justify-content: center;
    }

    /* Quick access buttons */
    .quick-access-buttons {
        flex-direction: column;
    }

    .quick-access-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   MOBILE SMALL (≤ 480px)
   ========================================================================== */

@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero-text h1 {
        font-size: 28px;
    }

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

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

    /* Boutons */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }

    /* CTA */
    .cta-features {
        gap: 10px;
    }

    .cta-feature {
        font-size: 12px;
        gap: 5px;
    }

    .cta-feature .lnr {
        font-size: 12px;
    }

    /* Cards */
    .card {
        padding: 20px;
    }

    .card-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    /* Alertes */
    .alert {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* Page title */
    .page-title {
        font-size: 24px;
    }

    /* Dashboard */
    .dashboard-section-title .lnr {
        font-size: 20px;
    }

    .dashboard-section-title h2 {
        font-size: 16px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card-value {
        font-size: 24px;
    }

    .stat-card-label {
        font-size: 12px;
    }

    /* Info box mobile */
    .info-box {
        padding: 15px;
    }
}
