/* styles spécifique pour la page meilleurs-modeles.php */

.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 1.5rem !important;
    box-sizing: border-box !important;
}

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

/* Forcer la cache de la sidebar mobile sur desktop */
@media (min-width: 1025px) {
    .vc-mobile-nav {
        display: none !important;
        transform: translateX(100%) !important;
    }
    .vc-mobile-overlay {
        display: none !important;
    }
    body {
        padding-right: 0 !important;
    }
}

/* Page Header Style */
.page-header {
    margin-top: 1rem !important;
    text-align: center !important;
}

/* Tabs specific adjustments */
.tabs-navigation {
    max-width: 1000px !important;
    margin: 0 auto 3rem !important;
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

/* Forcer le footer clair */
footer {
    background: #f1f5f9 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin-top: 2rem !important;
}

.models-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
}

.model-card {
    background: white !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-theme="dark"] .model-card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.model-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1) !important;
}

[data-theme="dark"] footer {
    background: #0f172a !important;
    border-top-color: rgba(255, 255, 255, 0.05) !important;
}

footer p {
    color: #475569 !important;
}

[data-theme="dark"] footer p {
    color: #94a3b8 !important;
}
