/* ========================================
   STYLES COMPLETS AUTONOMES POUR MODELES.HTML
   La page modèles a un layout spécifique avec sidebar qui ne doit PAS
   être contraint par les styles de base de main ou section-encadré
   Date: 18/01/2026
======================================== */

/* Variables CSS */
:root {
    --color-primary: #ee7f08;
    --color-primary-light: #ff9b2d;
    --color-primary-dark: #d66f00;
    --color-text-dark: #2d2d2d;
    --color-text-medium: #5a5a5a;
    --color-white: #ffffff;
    --color-background: #fafafa;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition-medium: 0.3s ease;
    --spacing-sm: 1.5rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --max-width: 1200px;
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset minimal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Conteneur principal - Identique à la page d'accueil */
main {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text-dark);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Fil d'Ariane */
.breadcrumb {
    padding: 1.25rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--color-text-medium);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.65rem;
    color: #bbb;
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--color-text-dark);
    font-weight: 600;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.4rem;
    }
}

@media (max-width: 360px) {
    .breadcrumb {
        padding: 0.6rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.3rem;
    }
}
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.65rem;
    color: #bbb;
}

.breadcrumb-current {
    color: var(--color-text-dark);
    font-weight: 600;
}

/* Titre H1 */
h1, .page-title {
    color: var(--color-text-dark);
    font-family: 'Comfortaa', sans-serif;
    text-align: center;
    margin: var(--spacing-md) 0;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

h1::after, .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Responsive titres */
@media (max-width: 768px) {
    h1, .page-title {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
        margin: 1.5rem 0 1rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    h1, .page-title {
        font-size: 1.3rem;
        margin: 1rem 0 0.8rem;
    }
    
    h1::after, .page-title::after {
        width: 50px;
        height: 2px;
    }
}

/* Sections - styles de base SANS padding/margin pour ne pas interférer */
.section-encadré {
    background: var(--color-white);
    width: 100%;
    max-width: 100%;
}

.section-non-encadré {
    background: #f5f7fa;
    width: 100%;
    max-width: 100%;
}

/* Titre de section avec padding centré */
.section-encadré:has(.page-title) {
    padding: 1.5rem 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-subtitle {
    text-align: center;
}

/* =================================
   STYLES SPÉCIFIQUES PAGE MODÈLES
   Design Sidebar (Filtres à gauche)
   ================================= */

/* =================================
   LAYOUT PRINCIPAL - SIDEBAR + CONTENU
   ================================= */

.modeles-layout-section {
    padding: 0 !important;
}

.modeles-layout-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    margin: 0 auto;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
}

/* =================================
   SIDEBAR FILTRES (Colonne gauche)
   ================================= */

.sidebar-filtres {
    background: white;
    overflow: visible;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    padding: 1.5rem 1rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Scrollbar personnalisée pour la sidebar */
.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: #ee7f08;
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: #d66f00;
}

/* Compteur de résultats dans la sidebar */
.sidebar-results {
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(238, 127, 8, 0.25);
    margin-bottom: 0.3rem;
}

.sidebar-results .results-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    font-family: 'Comfortaa', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.sidebar-results .results-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-top: 0.4rem;
}

/* Titre de la sidebar */
.sidebar-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #ee7f08;
}

/* Groupes de filtres avec accordion */
.filtre-group {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0.5rem;
}

.filtre-group:last-of-type {
    border-bottom: none;
}

.filtre-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.3rem;
    background: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5a5a5a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.filtre-group-header:hover {
    color: #ee7f08;
}

.filtre-group-header.active {
    color: #ee7f08;
}

.filtre-group-header svg:first-child {
    flex-shrink: 0;
}

.filtre-group-header span {
    flex: 1;
}

.filtre-group-header .chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.filtre-group-header.active .chevron {
    transform: rotate(180deg);
}

/* Panels de filtres */
.filtre-panel {
    display: none;
    padding: 0.7rem 0.3rem 0.3rem;
    animation: slideDown 0.3s ease;
}

.filtre-panel.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filtre-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Boutons de filtres */
.filtre-btn {
    width: 100%;
    padding: 0.5rem 0.8rem;
    background: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a5a5a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filtre-btn:hover {
    border-color: #ee7f08;
    background: rgba(238, 127, 8, 0.05);
    color: #ee7f08;
    transform: translateX(3px);
}

.filtre-btn.active {
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    border-color: #ee7f08;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(238, 127, 8, 0.3);
}

.filtre-btn .count {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.filtre-btn.active .count {
    background: rgba(255, 255, 255, 0.25);
}

/* Bouton réinitialiser */
.filter-reset {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: #8a8a8a;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.3rem;
}

.filter-reset:hover {
    background: #2d2d2d;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.filter-reset svg {
    flex-shrink: 0;
}

/* =================================
   CONTENU PRINCIPAL (Colonne droite)
   ================================= */

.main-content {
    background: #fafafa;
    padding: 1.5rem;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Réduire padding sur tablettes et mobiles */
@media (max-width: 999px) {
    .main-content {
        padding: 1.2rem;
    }
}

@media (max-width: 599px) {
    .main-content {
        padding: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem;
    }
}

@media (max-width: 400px) {
    .main-content {
        padding: 0.6rem;
    }
}

/* Barre de résultats mobile (cachée en desktop) */
.results-bar-mobile {
    display: none;
}

/* Grille des modèles - 3 colonnes par défaut */
.modeles-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
}

/* 2 colonnes entre 600px et 999px */
@media (max-width: 999px) {
    .modeles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

/* 1 colonne en dessous de 600px */
@media (max-width: 599px) {
    .modeles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Optimisation supplémentaire pour petits écrans */
@media (max-width: 480px) {
    .modeles-grid {
        gap: 0.8rem;
    }
}

@media (max-width: 400px) {
    .modeles-grid {
        gap: 0.6rem;
    }
}

/* =================================
   CARTE MODÈLE
   ================================= */
.modele-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 2px solid transparent;
    width: 100%;
    max-width: 100%;
}

.modele-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #ee7f08;
}

/* Image du modèle */
.modele-image {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 144px;  /* 180px - 20% */
    max-height: 216px;  /* 180px + 20% */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.modele-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.modele-card:hover .modele-image img {
    transform: scale(1.05);
}

.modele-badge {
    display: none;
}

/* Contenu de la carte */
.modele-content {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.7rem;
}

.modele-content h3 {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #e8e8e8;
    line-height: 1.2;
    text-align: center;
}

/* Pas de trait orange sous les h3 */
.modele-content h3::after {
    display: none;
}

/* Spécifications */
.modele-specs-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 0.7rem 0.6rem;
    background: #fafafa;
    border-radius: 6px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.spec-item svg {
    color: #ee7f08;
    stroke-width: 2;
    width: 26px;
    height: 26px;
}

.spec-label {
    font-size: 0.75rem;
    color: #8a8a8a;
    font-weight: 600;
    line-height: 1.2;
}

/* Anciens styles masqués */
.modele-specs,
.spec,
.modele-description,
.modele-caracteristiques {
    display: none;
}

/* Icônes équipements */
.modele-icones-equipements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: rgba(238, 127, 8, 0.05);
    border-radius: 6px;
}

.equipement-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.equipement-icone:hover {
    background: #ee7f08;
    border-color: #ee7f08;
    transform: scale(1.15);
}

.equipement-icone svg {
    color: #ee7f08;
    stroke-width: 2;
    transition: color 0.3s ease;
}

.equipement-icone:hover svg {
    color: white;
}

/* Prix */
.modele-prix-compact {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ee7f08;
    text-align: center;
    padding: 0.6rem 0.8rem;
    background: linear-gradient(135deg, rgba(238, 127, 8, 0.08), rgba(238, 127, 8, 0.03));
    border-radius: 6px;
    border: 2px solid rgba(238, 127, 8, 0.2);
}

/* Anciens styles masqués */
.modele-footer,
.modele-prix,
.btn-details {
    display: none;
}

/* Bouton détails */
.btn-details-compact {
    width: 100%;
    padding: 0.7rem 1.2rem;
    margin-top: 0.3rem;
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(238, 127, 8, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-details-compact:hover {
    background: linear-gradient(135deg, #d66f00 0%, #ee7f08 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(238, 127, 8, 0.4);
}

.btn-details-compact svg {
    transition: transform 0.3s ease;
}

.btn-details-compact:hover svg {
    transform: translateX(4px);
}

/* Loader */
.loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e8e8e8;
    border-top-color: #ee7f08;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader p {
    font-size: 1.1rem;
    color: #8a8a8a;
}

.error-message,
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #8a8a8a;
}

/* =================================
   GALERIE DANS LE MODAL
   ================================= */

.modal-galerie-principale {
    margin-bottom: 2rem;
}

.modal-galerie-principale h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ee7f08;
    padding-bottom: 0.5rem;
}

.modal-galerie {
    position: relative;
    width: 100%;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.galerie-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.galerie-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.galerie-slide {
    min-width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.galerie-slide.active {
    opacity: 1;
}

.galerie-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Boutons de navigation */
.galerie-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ee7f08;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.galerie-nav:hover {
    background: #ee7f08;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(238, 127, 8, 0.4);
}

.galerie-nav svg {
    color: #ee7f08;
    transition: color 0.3s ease;
}

.galerie-nav:hover svg {
    color: white;
}

.galerie-prev {
    left: 15px;
}

.galerie-next {
    right: 15px;
}

/* Indicateurs de pagination (dots) */
.galerie-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 1.2rem 0;
    background: white;
}

.galerie-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.galerie-dot:hover {
    background: #ee7f08;
    transform: scale(1.3);
}

.galerie-dot.active {
    background: #ee7f08;
    width: 32px;
    border-radius: 6px;
}

/* =================================
   MODAL
   ================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    animation: fadeInModal 0.3s;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: #5a5a5a;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.close:hover {
    background: #ee7f08;
    color: white;
    transform: rotate(90deg);
}

/* Contenu du modal */
#modal-body {
    padding: 2rem;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-family: 'Comfortaa', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.modal-prix {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ee7f08;
}

/* Images du modal - obsolète maintenant car tout est dans la galerie */
.modal-images {
    display: none;
}

/* Informations du modal */
.modal-infos {
    display: grid;
    gap: 1.5rem;
}

.info-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ee7f08;
    padding-bottom: 0.5rem;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section ul li {
    padding: 0.25rem 0;
    color: #5a5a5a;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

/* Puce personnalisée pour les équipements */
.info-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ee7f08;
    border-radius: 50%;
}

/* Caractéristiques principales - icônes SVG, pas de puces */
.info-section:first-child ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 1.5rem;
}

.info-section:first-child ul li {
    padding-left: 0;
}

.info-section:first-child ul li::before {
    display: none;
}

.info-section ul li svg {
    color: #ee7f08;
    flex-shrink: 0;
    min-width: 18px;
}

.info-section ul li strong {
    color: #2d2d2d;
    margin-right: 0.5rem;
    font-weight: 600;
}

/* Actions du modal */
.modal-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
}

/* Bouton Recevoir la fiche avec prix */
.btn-recevoir-prix {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.2rem 2rem;
    background: white;
    color: #ee7f08;
    text-decoration: none;
    border: 2px solid #ee7f08;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    justify-content: center;
}

.btn-recevoir-prix:hover {
    background: #ee7f08;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(238, 127, 8, 0.4);
}

.btn-recevoir-prix svg {
    flex-shrink: 0;
}

.btn-recevoir-prix span {
    line-height: 1.3;
}

/* Bouton Étude gratuite */
.btn-etude-gratuite {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(238, 127, 8, 0.35);
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
}

.btn-etude-gratuite:hover {
    background: linear-gradient(135deg, #d66f00 0%, #ee7f08 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 30px rgba(238, 127, 8, 0.5);
}

.btn-etude-gratuite svg {
    flex-shrink: 0;
}

.btn-etude-gratuite span {
    line-height: 1.3;
}

.btn-contact {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(238, 127, 8, 0.3);
}

.btn-contact:hover {
    background: linear-gradient(135deg, #d66f00 0%, #ee7f08 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(238, 127, 8, 0.45);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: white;
    color: #5a5a5a;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #2d2d2d;
    color: #2d2d2d;
    background: #fafafa;
    transform: translateY(-2px);
}

/* =================================
   SECTION CTA
   ================================= */
.cta-section {
    background: white;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.cta-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.cta-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(238, 127, 8, 0.25);
}

.cta-icon svg {
    color: white;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text h2 {
    font-family: 'Comfortaa', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 0.8rem 0;
}

.cta-text h2::after {
    display: none;
}

.cta-text h2 .highlight-orange {
    color: #ee7f08;
    font-weight: 800;
}

.cta-text p {
    font-size: 1.1rem;
    color: #5a5a5a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #2d2d2d;
    font-weight: 500;
    font-size: 0.95rem;
}

.cta-features li svg {
    color: #ee7f08;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem 1.8rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(238, 127, 8, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d66f00 0%, #ee7f08 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(238, 127, 8, 0.45);
}

.btn-cta.btn-secondary {
    background: white;
    color: #5a5a5a;
    border: 2px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-cta.btn-secondary:hover {
    background: #fafafa;
    border-color: #ee7f08;
    color: #ee7f08;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* =================================
   PAGINATION
   ================================= */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
    grid-column: 1 / -1;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #5a5a5a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #ee7f08;
    color: #ee7f08;
    background: rgba(238, 127, 8, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 127, 8, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn svg {
    flex-shrink: 0;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #5a5a5a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    border-color: #ee7f08;
    color: #ee7f08;
    background: rgba(238, 127, 8, 0.05);
    transform: scale(1.1);
}

.pagination-number.active {
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    border-color: #ee7f08;
    color: white;
    box-shadow: 0 3px 12px rgba(238, 127, 8, 0.35);
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 45px;
    color: #999;
    font-weight: 600;
    user-select: none;
}

/* ===========================
   MODAL DEMANDE DE PRIX
   =========================== */

.modal-overlay-demande {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-overlay-demande.active {
    display: flex;
}

.modal-demande-prix {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-demande-header {
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-demande-header h2 {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.modal-demande-header p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.4;
}

.btn-close-demande {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
}

.btn-close-demande:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-demande-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: #ee7f08;
    margin-left: 3px;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #8a8a8a;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ee7f08;
    box-shadow: 0 0 0 3px rgba(238, 127, 8, 0.1);
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 1.5rem 0;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-group-checkbox label {
    font-size: 0.85rem;
    color: #5a5a5a;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.form-group-checkbox label a {
    color: #ee7f08;
    text-decoration: none;
    font-weight: 600;
}

.form-group-checkbox label a:hover {
    text-decoration: underline;
}

.captcha-group {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.captcha-question {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.captcha-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-submit-demande {
    background: linear-gradient(135deg, #ee7f08 0%, #ff9b2d 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 4px 15px rgba(238, 127, 8, 0.3);
}

.btn-submit-demande:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 127, 8, 0.4);
}

.btn-submit-demande:active {
    transform: translateY(0);
}

.btn-submit-demande:disabled {
    background: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-submit-demande svg {
    width: 20px;
    height: 20px;
}

/* Messages de statut */
.message-succes,
.message-erreur {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
}

.message-succes {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-erreur {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-succes.visible,
.message-erreur.visible {
    display: block;
}

/* =================================
   RESPONSIVE
   ================================= */

/* Contraintes de largeur identiques à la page d'accueil */

/* Très grands écrans (≥1600px) - seule contrainte de largeur */
@media (min-width: 1600px) {
    main {
        max-width: 1600px;
        margin: 0 auto;
    }
}

/* Tablettes */
@media (max-width: 1024px) {
    .modeles-layout-container {
        grid-template-columns: 200px 1fr;
        gap: 0;
    }
    
    .sidebar-sticky {
        padding: 1.2rem 0.8rem;
        top: 80px;
    }
    
    .sidebar-title {
        font-size: 1rem;
    }
    
    .filtre-group-header {
        font-size: 0.85rem;
        padding: 0.5rem 0.2rem;
    }
    
    .filtre-btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.7rem;
    }
    
    .main-content {
        padding: 1.2rem;
    }
}

/* Mobile et tablette */
@media (max-width: 768px) {
    .modeles-layout-container {
        grid-template-columns: 1fr;
    }
    
    /* Sidebar devient horizontale */
    .sidebar-filtres {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
    
    .sidebar-sticky {
        position: relative;
        top: 0;
        max-height: none;
        padding: 1.2rem;
    }
    
    .sidebar-results {
        display: none;
    }
    
    .sidebar-title {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .filtre-group {
        margin-bottom: 0.5rem;
    }
    
    .filtre-group-header {
        padding: 0.8rem;
        background: #fafafa;
        border-radius: 8px;
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }
    
    .filtre-panel {
        padding: 0.8rem;
    }
    
    .main-content {
        padding: 1.2rem;
    }
    
    /* Afficher le compteur mobile */
    .results-bar-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.9rem;
        margin-bottom: 1.2rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .results-text {
        font-size: 0.95rem;
        font-weight: 600;
        color: #5a5a5a;
    }
    
    .results-text::before {
        content: '→ ';
        color: #ee7f08;
        font-weight: 700;
        font-size: 1.3rem;
        margin-right: 0.4rem;
    }
    
    /* Cartes modèles responsive */
    .modele-card {
        max-width: 100%;
    }
    
    .modele-image {
        height: 160px;
    }
    
    .modele-content {
        padding: 0.9rem 1rem;
    }
    
    .modele-content h3 {
        font-size: 1.05rem;
    }
    
    /* Galerie responsive mobile */
    .galerie-slide {
        height: 300px;
    }
    
    .galerie-nav {
        width: 38px;
        height: 38px;
    }
    
    .galerie-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .galerie-prev {
        left: 10px;
    }
    
    .galerie-next {
        right: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 3% auto;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-section:first-child ul {
        grid-template-columns: 1fr;
    }
    
    .btn-recevoir-prix,
    .btn-etude-gratuite {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-contact,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* CTA responsive tablette */
    .cta-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cta-text {
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .cta-actions {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Modal demande responsive */
    .modal-demande-prix {
        max-width: 100%;
        margin: 0 0.5rem;
    }
    
    .modal-demande-header {
        padding: 1.2rem 1.5rem;
    }
    
    .modal-demande-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-demande-body {
        padding: 1.5rem;
    }
    
    .btn-submit-demande {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .breadcrumb {
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .section-encadré:has(.page-title) {
        padding: 1rem;
    }
    
    h1, .page-title {
        font-size: 1.25rem;
        margin: 0.8rem 0;
    }
    
    .modele-card {
        margin: 0;
    }
    
    .modele-image {
        height: 140px;
    }
    
    .modele-content {
        padding: 0.8rem 0.9rem;
    }
    
    .modele-content h3 {
        font-size: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .modele-specs-compact {
        gap: 0.4rem;
        padding: 0.5rem 0.4rem;
    }
    
    .spec-item svg {
        width: 22px;
        height: 22px;
    }
    
    .spec-label {
        font-size: 0.68rem;
    }
    
    .modele-icones-equipements {
        gap: 0.4rem;
        padding: 0.4rem;
    }
    
    .equipement-icone {
        width: 30px;
        height: 30px;
    }
    
    .equipement-icone svg {
        width: 16px;
        height: 16px;
    }
    
    .modele-prix-compact {
        font-size: 0.95rem;
        padding: 0.5rem 0.6rem;
    }
    
    .btn-details-compact {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .btn-details-compact svg {
        width: 14px;
        height: 14px;
    }
    
    /* Filtres mobiles plus compacts */
    .sidebar-sticky {
        padding: 1rem;
    }
}

/* Très petits écrans (≤360px) - optimisations supplémentaires */
@media (max-width: 360px) {
    .modele-card {
        border-radius: 8px;
    }
    
    .modele-image {
        height: 120px;
        border-radius: 8px 8px 0 0;
    }
    
    .modele-content {
        padding: 0.6rem 0.7rem;
    }
    
    .modele-content h3 {
        font-size: 0.9rem;
        padding-bottom: 0.4rem;
    }
    
    .modele-specs-compact {
        gap: 0.3rem;
        padding: 0.4rem 0.3rem;
    }
    
    .spec-item svg {
        width: 20px;
        height: 20px;
    }
    
    .spec-label {
        font-size: 0.62rem;
    }
    
    .modele-icones-equipements {
        gap: 0.3rem;
        padding: 0.3rem;
    }
    
    .equipement-icone {
        width: 26px;
        height: 26px;
    }
    
    .equipement-icone svg {
        width: 14px;
        height: 14px;
    }
    
    .modele-prix-compact {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
    }
    
    .btn-details-compact {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .pagination-container {
        gap: 0.3rem;
        padding: 0.8rem 0.3rem;
    }
    
    .pagination-btn {
        padding: 0.4rem 0.5rem;
        min-width: 36px;
    }
    
    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .pagination-ellipsis {
        width: 18px;
        height: 30px;
    }
    
    .filtre-group-header {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .filtre-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .filter-reset {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
    }
    
    #modal-body {
        padding: 1.2rem;
    }
    
    /* Galerie responsive petit mobile */
    .galerie-slide {
        height: 220px;
    }
    
    .galerie-nav {
        width: 32px;
        height: 32px;
    }
    
    .galerie-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .galerie-prev {
        left: 6px;
    }
    
    .galerie-next {
        right: 6px;
    }
    
    .galerie-dots {
        gap: 6px;
        padding: 0.8rem 0;
    }
    
    .galerie-dot {
        width: 8px;
        height: 8px;
    }
    
    .galerie-dot.active {
        width: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .modal-prix {
        font-size: 1.2rem;
    }
    
    .btn-recevoir-prix,
    .btn-etude-gratuite {
        font-size: 0.85rem;
        padding: 0.9rem 1rem;
    }
    
    .btn-recevoir-prix svg,
    .btn-etude-gratuite svg {
        width: 16px;
        height: 16px;
    }
    
    .close {
        right: 0.8rem;
        top: 0.8rem;
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
    }
    
    /* CTA responsive mobile */
    .cta-icon {
        width: 56px;
        height: 56px;
    }
    
    .cta-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .cta-text h2 {
        font-size: 1.35rem;
    }
    
    .cta-text h2 .highlight-orange {
        font-size: 1.45rem;
    }
    
    .cta-text p {
        font-size: 0.95rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.7rem;
        align-items: flex-start;
    }
    
    .cta-features li {
        font-size: 0.85rem;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.3rem;
        font-size: 0.9rem;
    }
    
    /* Pagination responsive mobile */
    .pagination-container {
        flex-wrap: nowrap;
        gap: 0.4rem;
        margin-top: 1.5rem;
        padding: 1rem 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0;
        min-width: 40px;
        flex-shrink: 0;
    }
    
    .pagination-btn .btn-text {
        display: none;
    }
    
    .pagination-btn svg {
        margin: 0;
    }
    
    .pagination-numbers {
        flex: 1;
        justify-content: center;
        gap: 0.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pagination-number {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .pagination-ellipsis {
        width: 20px;
        height: 34px;
        font-size: 0.75rem;
    }
}

/* Très petits écrans (≤360px) - optimisations supplémentaires */
@media (max-width: 360px) {
    .modele-card {
        border-radius: 8px;
    }
    
    .modele-image {
        height: 120px;
        border-radius: 8px 8px 0 0;
    }
    
    .modele-content {
        padding: 0.6rem 0.7rem;
    }
    
    .modele-content h3 {
        font-size: 0.9rem;
        padding-bottom: 0.4rem;
    }
    
    .modele-specs-compact {
        gap: 0.3rem;
        padding: 0.4rem 0.3rem;
    }
    
    .spec-item svg {
        width: 20px;
        height: 20px;
    }
    
    .spec-label {
        font-size: 0.62rem;
    }
    
    .modele-icones-equipements {
        gap: 0.3rem;
        padding: 0.3rem;
    }
    
    .equipement-icone {
        width: 26px;
        height: 26px;
    }
    
    .pagination-container {
        gap: 0.3rem;
        padding: 0.8rem 0.3rem;
    }
    
    .pagination-btn {
        padding: 0.4rem 0.5rem;
        min-width: 36px;
    }
    
    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .pagination-ellipsis {
        width: 18px;
        height: 30px;
    }
}

