/* ============================================
   VEGALYS VTC - STYLES RESPONSIVE UNIFIÉ
   Fichier CSS responsive moderne et maintenable
   ============================================ */

/* ===== VARIABLES GLOBALES ===== */
:root {
    /* Breakpoints */
    --breakpoint-xs: 320px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    /* Espacements responsives */
    --container-padding-mobile: 15px;
    --container-padding-tablet: 20px;
    --container-padding-desktop: 30px;
    
    /* Tailles de police responsives */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    
    /* Espacements */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Grid responsive */
    --grid-gap-mobile: 1rem;
    --grid-gap-tablet: 1.5rem;
    --grid-gap-desktop: 2rem;
    
    /* Variables de layout */
    --navbar-height-mobile: 70px;
    --navbar-height-desktop: 80px;
}

/* ===== STYLES DE BASE POUR TOUS LES ÉCRANS ===== */

/* ==== BOUTON SCROLL TO TOP - STYLES GLOBAUX ==== */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    font-size: var(--font-lg);
    border-radius: 50%;
    background: var(--gradient);
    color: var(--accent-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* ===== MOBILE FIRST (≤ 575px) ===== */
@media (max-width: 575px) {
    
    /* ==== CONTENEUR GÉNÉRAL ==== */
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
        margin: 0 auto;
        overflow-x: hidden;
    }
    
    /* ==== NAVIGATION MOBILE ==== */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        height: var(--navbar-height-mobile);
        z-index: 9999;
        display: flex;
        align-items: center;
    }
    
    .nav-container {
        padding: 0.8rem var(--container-padding-mobile);
        height: var(--navbar-height-mobile);
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .logo {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        z-index: 10001;
    }
    
    .logo h2 {
        font-size: var(--font-xl);
        letter-spacing: 1px;
        color: var(--white);
        margin: 0;
    }
    
    .brand-logo {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    
    /* ==== MENU BURGER - VERSION PROPRE ==== */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        z-index: 10002;
        padding: var(--space-2);
        position: relative;
        background: transparent;
        border: none;
        outline: none;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        order: 2;
    }
    
    .hamburger span {
        width: 26px;
        height: 3px;
        background: #ffffff;
        margin: 3px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
        background: #d4af37;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
        background: #d4af37;
    }

    /* ==== MENU MOBILE OVERLAY ==== */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10001;
        list-style: none;
        margin: 0;
        padding: 0;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: var(--space-2) 0;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        list-style: none;
        width: 90%;
        max-width: 320px;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Animation en cascade */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }
    
    .nav-menu a {
        display: block;
        padding: var(--space-3) var(--space-5);
        color: #ffffff;
        text-decoration: none;
        font-size: var(--font-base);
        font-weight: 600;
        text-align: center;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid #d4af37;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        letter-spacing: 0.5px;
        backdrop-filter: blur(5px);
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: rgba(212, 175, 55, 0.2);
        color: #d4af37;
        border-color: #d4af37;
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    }
    
    .nav-menu a:active {
        transform: translateY(-1px);
    }
    
    /* ==== HERO SECTION ==== */
    .hero {
        padding: calc(var(--navbar-height-mobile) + 2rem) 0 var(--space-16);
        min-height: 90vh;
        text-align: center;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
        gap: var(--space-8);
        align-items: center;
    }
    
    .hero-content {
        order: 1;
        max-width: 90%;
    }
    
    .hero-image {
        order: 2;
        width: 100%;
        max-width: 300px;
        margin-top: var(--space-6);
    }
    
    /* Image responsive - Mobile utilise une image différente */
    .hero-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        /* Masquer l'image par défaut sur mobile */
        display: none;
    }
    
    /* Image de fond pour mobile - plus adaptée */
    .hero-image::before {
        content: '';
        display: block;
        width: 100%;
        height: 200px;
        background: url('images/tesla-model-y.jpg') center/cover no-repeat;
        background-size: 120%; /* Zoom sur l'image */
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .hero h1 {
        font-size: var(--font-3xl);
        color: var(--white);
        margin-bottom: var(--space-4);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .hero p {
        font-size: var(--font-lg);
        color: var(--light-gray);
        margin-bottom: var(--space-8);
        line-height: 1.6;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        padding: var(--space-4) var(--space-6);
        font-size: var(--font-base);
        border-radius: 8px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .hero h1 {
        font-size: var(--font-3xl);
        line-height: 1.2;
        margin-bottom: var(--space-6);
        word-wrap: break-word;
    }
    
    .hero p {
        font-size: var(--font-base);
        margin-bottom: var(--space-8);
        line-height: 1.6;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: var(--space-6);
    }
    
    .hero-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0;
        text-align: center;
        padding: var(--space-4) var(--space-6);
        display: block;
        box-sizing: border-box;
    }
    
    /* ==== SECTIONS GÉNÉRALES ==== */
    section {
        padding: var(--space-12) 0;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: var(--space-10);
    }
    
    .section-header h2 {
        font-size: var(--font-3xl);
        margin-bottom: var(--space-4);
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: var(--font-base);
        line-height: 1.6;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* ==== RÉORGANISATION RESPONSIVE - RÉSERVATION ==== */
    .reservation-content {
        display: flex;
        flex-direction: column;
    }
    
    /* Sur mobile, mettre la section contact après le formulaire */
    .contact-options {
        order: 2;
        margin-top: var(--space-8);
        padding: var(--space-6);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .reservation-form {
        order: 1;
    }
    
    .contact-options h3 {
        text-align: center;
        color: var(--primary-color);
        font-size: var(--font-xl);
        margin-bottom: var(--space-6);
    }
    
    .contact-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }
    
    .contact-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-3);
        padding: var(--space-4) var(--space-5);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    /* ==== RÉORGANISATION RESPONSIVE - SECTION CONTACT ==== */
    .contact-content {
        display: flex;
        flex-direction: column;
    }
    
    /* Sur mobile, le formulaire après les infos de contact */
    .contact-info {
        order: 1;
        margin-bottom: var(--space-8);
    }
    
    .contact-form {
        order: 2;
        background: rgba(255, 255, 255, 0.05);
        padding: var(--space-6);
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    /* Styles pour les items de contact sur mobile */
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: var(--space-4);
        margin-bottom: var(--space-6);
        padding: var(--space-4);
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
    }
    
    .contact-item i {
        font-size: var(--font-xl);
        color: #000000;
        background: rgba(255, 255, 255, 0.9);
        padding: var(--space-2);
        border-radius: 8px;
        min-width: 24px;
        margin-top: var(--space-1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .contact-item h4 {
        color: var(--white);
        font-size: var(--font-lg);
        margin-bottom: var(--space-2);
    }
    
    .contact-item p {
        color: var(--light-gray);
        font-size: var(--font-base);
        margin: 0;
    }
    
    .contact-item a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .contact-item a:hover {
        color: var(--white);
    }
    
    /* ==== GRILLES VERTICALES ==== */
    .services-grid,
    .forfait-grid,
    .avis-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .service-card,
    .forfait-card,
    .avis-card {
        width: 100%;
        max-width: 100%;
        margin: 0 0 var(--space-4) 0;
        padding: var(--space-6);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    
    .service-card h3,
    .forfait-card h3,
    .avis-card h3 {
        font-size: var(--font-lg);
        margin-bottom: var(--space-3);
    }
    
    .service-card p,
    .forfait-card p,
    .avis-card p {
        font-size: var(--font-sm);
        line-height: 1.6;
    }
    
    /* ==== À PROPOS ==== */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: var(--space-8);
        text-align: center;
        width: 100%;
    }
    
    .about-image {
        order: -1;
        margin-bottom: var(--space-6);
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .about-text h2,
    .about-text h3 {
        font-size: var(--font-3xl);
        margin-bottom: var(--space-6);
        text-align: center;
    }
    
    .about-text p {
        font-size: var(--font-base);
        line-height: 1.7;
        margin-bottom: var(--space-4);
        text-align: center;
    }
    
    .about-features {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
    }
    
    .feature {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--space-4);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        gap: var(--space-3);
    }
    
    .feature i {
        font-size: var(--font-2xl);
        color: var(--primary-color);
        margin-bottom: var(--space-2);
    }
    
    .feature h4 {
        font-size: var(--font-lg);
        margin-bottom: var(--space-2);
    }
    
    .feature p {
        font-size: var(--font-sm);
        line-height: 1.5;
    }
    
    /* ==== CALCULATEUR ==== */
    .calculateur-container {
        display: flex;
        flex-direction: column;
        gap: var(--space-8);
        width: 100%;
    }
    
    .calculateur-form {
        width: 100%;
        padding: var(--space-6);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: var(--space-5);
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    input, select, textarea {
        width: 100%;
        padding: var(--space-4);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        font-size: var(--font-base);
        box-sizing: border-box;
    }
    
    /* ==== FOOTER ==== */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: var(--space-8);
        text-align: center;
        padding: var(--space-8) 0;
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
        margin: 0;
        padding: var(--space-4);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: var(--font-lg);
        margin-bottom: var(--space-4);
        color: var(--primary-color);
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
    }
    
    .footer-section ul li {
        width: 100%;
        margin: 0;
    }
    
    .footer-section ul li a {
        font-size: var(--font-sm);
        padding: var(--space-3) var(--space-4);
        display: block;
        min-height: 44px;
        line-height: 1.8;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .footer-section ul li a:hover {
        background: rgba(212, 175, 55, 0.2);
        color: var(--primary-color);
    }
    
    .footer-bottom {
        width: 100%;
        text-align: center;
        padding: var(--space-4) 0;
        margin-top: var(--space-6);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom p {
        font-size: var(--font-sm);
        text-align: center;
        margin: 0;
    }
    
    /* ==== BOUTON SCROLL TO TOP MOBILE ==== */
    #scroll-to-top {
        bottom: 20px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: var(--font-base);
    }
    
    #scroll-to-top:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    }
}

/* ===== SMALL DEVICES - TABLETTES (576px - 767px) ===== */
@media (min-width: 576px) and (max-width: 767px) {
    
    .container {
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }
    
    .services-grid,
    .forfait-grid,
    .avis-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--grid-gap-tablet);
    }
    
    .hero h1 {
        font-size: var(--font-4xl);
    }
    
    .hero p {
        font-size: var(--font-lg);
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-6);
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: auto;
        min-width: 160px;
    }
}

/* ===== SMALL DEVICES - TABLETTES PORTRAIT (576px - 767px) ===== */
@media (min-width: 576px) and (max-width: 767px) {
    
    .container {
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }
    
    /* Le menu burger reste visible sur tablette portrait */
    .hamburger {
        display: flex !important;
    }
    
    /* Menu burger hérite des styles de base - pas de redéfinition */
    
    /* Hero section pour tablette portrait */
    .hero-image {
        max-width: 400px;
        margin-top: var(--space-8);
    }
    
    /* Tablette utilise la même image responsive que mobile, mais plus grande */
    .hero-image::before {
        height: 250px; /* Plus grand sur tablette */
        background-size: 130%; /* Zoom encore plus important sur tablette */
        /* Hérite de l'image tesla-model-y.jpg du style mobile */
    }
    
    .hero h1 {
        font-size: var(--font-4xl);
    }
    
    .hero p {
        font-size: var(--font-xl);
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-4);
        max-width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: auto;
        min-width: 150px;
    }
    
    /* ==== RÉORGANISATION TABLETTE - RÉSERVATION ==== */
    .reservation-content {
        display: flex;
        flex-direction: column;
    }
    
    .contact-options {
        order: 2;
        margin-top: var(--space-10);
        padding: var(--space-8);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }
    
    .reservation-form {
        order: 1;
    }
    
    .contact-buttons {
        display: flex;
        flex-direction: row;
        gap: var(--space-6);
        justify-content: center;
        align-items: center;
    }
    
    .contact-buttons a {
        width: auto;
        min-width: 200px;
        text-align: center;
    }
    
    /* ==== RÉORGANISATION TABLETTE - SECTION CONTACT ==== */
    .contact-content {
        display: flex;
        flex-direction: column;
    }
    
    .contact-info {
        order: 1;
        margin-bottom: var(--space-10);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }
    
    .contact-form {
        order: 2;
        background: rgba(255, 255, 255, 0.05);
        padding: var(--space-8);
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-5);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .contact-item i {
        font-size: var(--font-2xl);
        color: #000000;
        background: rgba(255, 255, 255, 0.95);
        padding: var(--space-3);
        border-radius: 10px;
        min-width: 28px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    }
}

/* ===== MEDIUM DEVICES - TABLETTES/SMALL DESKTOP (768px - 991px) ===== */
@media (min-width: 768px) {
    
    .container {
        padding-left: var(--container-padding-desktop);
        padding-right: var(--container-padding-desktop);
    }
    
    /* Navigation normale sur tablette */
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: var(--space-8);
        left: 0;
        backdrop-filter: none;
        z-index: auto;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu li {
        margin: 0;
        opacity: 1;
        transform: none;
    }
    
    /* Navigation desktop - liens normaux */
    .nav-menu a {
        font-size: var(--font-base);
        color: var(--white);
        text-decoration: none;
        transition: color 0.3s ease;
        padding: var(--space-2) 0;
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        font-weight: normal;
        letter-spacing: normal;
        backdrop-filter: none;
    }

    .nav-menu a:hover {
        color: var(--primary-color);
        background: none;
        transform: none;
        border: none;
        box-shadow: none;
    }
    
    /* Hero section côte à côte */
    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
        align-items: center;
    }
    
    .hero {
        padding: calc(var(--navbar-height-desktop) + 2rem) 0 var(--space-16);
        text-align: left;
    }
    
    .hero-content {
        order: 0;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 0;
    }
    
    /* Sur les grands écrans, utiliser l'image originale */
    .hero-image::before {
        display: none; /* Masquer l'image de fond mobile */
    }
    
    .hero-image img {
        display: block; /* Afficher l'image originale */
        width: 140%;
        height: 450px;
        border-radius: 40px;
        object-fit: cover;
    }
    
    .hero h1 {
        font-size: var(--font-5xl);
    }
    
    .hero p {
        font-size: var(--font-xl);
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    /* ==== RÉORGANISATION DESKTOP - RÉSERVATION ==== */
    /* Sur desktop, remettre l'organisation côte à côte */
    .reservation-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
        align-items: start;
    }
    
    .reservation-form {
        order: 0;
    }
    
    .contact-options {
        order: 0;
        margin-top: 0;
        padding: var(--space-8);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        height: fit-content;
    }
    
    .contact-options h3 {
        font-size: var(--font-2xl);
        margin-bottom: var(--space-8);
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .contact-buttons a {
        width: 100%;
        justify-content: center;
    }
    
    /* ==== RÉORGANISATION DESKTOP - SECTION CONTACT ==== */
    /* Sur desktop, remettre l'organisation côte à côte */
    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
        align-items: start;
    }
    
    .contact-info {
        order: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .contact-form {
        order: 0;
        background: rgba(255, 255, 255, 0.05);
        padding: var(--space-8);
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        height: fit-content;
        max-width: none;
        margin: 0;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: var(--space-5);
        padding: var(--space-6);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .contact-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-2px);
    }
    
    .contact-item i {
        font-size: var(--font-2xl);
        color: #000000;
        background: rgba(255, 255, 255, 0.95);
        padding: var(--space-3);
        border-radius: 12px;
        min-width: 32px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    }
    
    .contact-item h4 {
        font-size: var(--font-xl);
        margin-bottom: var(--space-3);
    }
    
    /* Grilles en 2 colonnes */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--grid-gap-desktop);
    }
    
    .forfait-grid,
    .avis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--grid-gap-tablet);
    }
    
    /* À propos côte à côte */
    .about-content {
        flex-direction: row;
        gap: var(--space-12);
        text-align: left;
    }
    
    .about-image {
        order: 0;
    }
    
    .about-text h2,
    .about-text h3,
    .about-text p {
        text-align: left;
    }
    
    /* Calculateur côte à côte */
    .calculateur-container {
        flex-direction: row;
        gap: var(--space-12);
    }
}

/* ===== LARGE DEVICES - DESKTOP (992px - 1199px) ===== */
@media (min-width: 992px) {
    
    .services-grid,
    .forfait-grid,
    .avis-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--grid-gap-desktop);
    }
    
    .hero h1 {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }
}

/* ===== EXTRA LARGE DEVICES - LARGE DESKTOP (≥ 1200px) ===== */
@media (min-width: 1200px) {
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: clamp(3.5rem, 7vw, 5rem);
    }
    
    .hero p {
        font-size: var(--font-2xl);
    }
    
    /* Section services - 4 encadrés sur une ligne */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-4); /* Réduction de l'espacement pour économiser l'espace */
        max-width: 1180px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: var(--space-4); /* Réduction du padding pour des cartes plus compactes */
        min-height: 200px; /* Hauteur minimale pour maintenir la cohérence */
    }
    
    .service-card h3 {
        font-size: var(--font-base); /* Réduction de la taille du titre */
        margin-bottom: var(--space-2);
        line-height: 1.3;
    }
    
    .service-card p {
        font-size: var(--font-xs); /* Réduction de la taille du texte */
        line-height: 1.5;
        margin: 0;
    }
    
    .service-card i {
        font-size: var(--font-lg); /* Réduction de la taille des icônes si présentes */
        margin-bottom: var(--space-2);
    }
}

/* ===== UTILITAIRES RESPONSIVE ===== */

/* Classes d'affichage responsive */
@media (max-width: 767px) {
    .hide-mobile { display: none; }
    .show-mobile { display: block; }
}

@media (min-width: 768px) {
    .hide-desktop { display: none; }
    .show-desktop { display: block; }
    .show-mobile { display: none; }
}

/* Classes de texte responsive */
@media (max-width: 767px) {
    .text-sm-center { text-align: center; }
    .text-sm-left { text-align: left; }
    .text-sm-right { text-align: right; }
}

/* Classes d'espacement responsive */
@media (max-width: 767px) {
    .mb-sm-0 { margin-bottom: 0; }
    .mb-sm-2 { margin-bottom: var(--space-2); }
    .mb-sm-4 { margin-bottom: var(--space-4); }
    .mb-sm-6 { margin-bottom: var(--space-6); }
    .mt-sm-0 { margin-top: 0; }
    .mt-sm-2 { margin-top: var(--space-2); }
    .mt-sm-4 { margin-top: var(--space-4); }
    .mt-sm-6 { margin-top: var(--space-6); }
    .p-sm-2 { padding: var(--space-2); }
    .p-sm-4 { padding: var(--space-4); }
    .p-sm-6 { padding: var(--space-6); }
}

/* ===== STYLES D'IMPRESSION ===== */
@media print {
    .navbar,
    .hamburger,
    #scroll-to-top,
    .btn,
    button,
    .nav-menu {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    h1, h2, h3 {
        color: #000;
        page-break-after: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* ==== OVERLAY SUPPRIMÉ - PAS NÉCESSAIRE AVEC LE MENU NOIR ==== */
/* L'overlay blanc a été supprimé car le menu burger noir avec fond opaque le remplace */
