/* --- Variables & Reset --- */
:root {
    --primary: #f38d45; /* Orange du bouton */
    --primary-hover: #e07c34;
    --dark: #11232d; /* Fond footer/sombre */
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 12px;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-orange {
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
}

.btn-orange:hover { background-color: var(--primary-hover); }

.btn-dark {
    background-color: rgba(0,0,0,0.5);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

/* --- Header --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5%;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 25px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary); }

.burger-menu { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text); }








/* --- Boutons supplémentaires --- */
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-right: 10px; /* Espace entre les boutons sur desktop */
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* --- Header Desktop (Mise à jour) --- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.header-actions {
    display: flex;
    align-items: center;
}

/* Burger caché sur Desktop */
.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001; /* Au-dessus du menu mobile */
}

/* --- Header Mobile (Responsive 992px et moins) --- */
@media (max-width: 992px) {
    .burger-menu {
        display: block;
    }

    /* Le menu complet (liens + boutons) */
    .nav-menu {
        position: absolute;
        top: 100%; /* Juste en dessous du header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0; /* Caché par défaut */
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    /* Quand le menu est ouvert (via JS) */
    .nav-menu.active {
        max-height: 500px; /* Assez grand pour tout contenir */
        padding: 30px 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
        margin-bottom: 25px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    /* Conteneur des boutons sur mobile */
    .header-actions {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        width: 85%; /* Boutons larges sur mobile */
    }

    .header-actions .btn {
        width: 30%;
        margin-right: 0;
        text-align: center;
        display: block; /* Force le block pour la largeur */
    }
}


@media (max-width: 440px) {
    .user-menu-dropdown {
        flex-direction: column!important;
    }

    .btn-outline{
        width: 60%!important;
    }
}







/* --- Hero Section (Global) --- */
.hero-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: var(--white);
}
.hero-section::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.3); /* Overlay léger */
}


.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.hero-subtitle { font-size: 1.1rem; margin-bottom: 30px; }

/* --- Index Specific --- */
.home-hero {
    min-height: 88vh;
    background-image: url('../img/hero-bg.jpg'); /* Remplacer par l'image plage/route */
    padding-top: 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.hero-logo-large img { max-width: 350px; }

/* Formulaire de réservation Home */
.booking-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    max-width: 600px;
    margin-left: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-card h3 { color: var(--text); margin-bottom: 20px; font-size: 1.2rem; }




/* --- Booking History Cards --- */
.booking-history-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
    border-left: 5px solid #ccc; /* Couleur par défaut */
}

.booking-history-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.booking-history-card.status-paid { border-left-color: #2e7d32; } /* Vert */
.booking-history-card.status-pending { border-left-color: #f38d45; } /* Orange */
.booking-history-card.status-cancelled { border-left-color: #c62828; } /* Rouge */

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.booking-date { font-weight: 700; color: var(--dark); font-size: 1.1rem; }
.booking-price { font-weight: 700; color: var(--primary); font-size: 1.1rem; }

.status-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-badge.paid { background: #e8f5e9; color: #2e7d32; }
.status-badge.pending { background: #fff3cd; color: #856404; }
.status-badge.cancelled { background: #ffebee; color: #c62828; }

.booking-route { display: flex; flex-direction: column; gap: 10px; }
.route-point { display: flex; gap: 10px; align-items: start; }
.route-point i { margin-top: 5px; width: 20px; text-align: center; }
.route-point.pickup i { color: #2e7d32; }
.route-point.dropoff i { color: #c62828; }

.booking-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f8f9fa;
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 15px;
    border: 2px dashed #eee;
}
.empty-icon { font-size: 3rem; color: #ddd; margin-bottom: 20px; }





.form-group { margin-bottom: 15px; }
.form-row { display: flex; gap: 10px; }

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    background: #fff;
}

.checkbox-group { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text); }

/* Illustration Banner (Dashboard) */
.illustration-banner {
    background-image: url('../img/illustration-dash.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    position: relative;
}
.illustration-banner h2 { font-size: 1.8rem; margin-bottom: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }


/* Cards Section (Index) */
.cards-section { padding: 120px 0; }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.info-card h4 { color: #00a8cc; margin-bottom: 15px; font-size: 1.1rem; }
.info-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.info-card .fine-print { font-style: italic; font-size: 0.75rem; color: #999; }



        /* Section Voitures */
        /* Palette île : mer, sable, basalte, accent volcan */
/* --- Variables --- */
:root {
    --ocean: #1aa7a1;
    --ocean-deep: #0e6e6a;
    --sand: #faf7f1;
    --ink: #1f2937;
    --lava: #FF8A3D; /* Couleur active */
    --mist: #eef2f7;
}

/* --- Section Slider --- */
.slider-section {
    padding: 70px 0 60px;
    background-image: 
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), 
        url("../img/fond.png"); /* Vérifie bien ce chemin */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    overflow: hidden; /* Empêche le scroll horizontal accidentel */
}

.slider-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,167,161,0.15), rgba(255,138,61,0.15));
    z-index: 0;
}

.slider-section .container {
    position: relative;
    z-index: 1;
    max-width: 1000px; /* Limite la largeur globale */
    margin: 0 auto;
}

/* --- Inputs Radio cachés --- */
.slider-section input[type="radio"] {
    display: none;
}

/* --- Cards (Zone Images) --- */
.cards {
    position: relative;
    width: 100%;
    height: 380px; /* Ajusté pour éviter trop de vide */
    margin-bottom: 20px;
}

.card {
    position: absolute;
    width: 60%;
    max-width: 500px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    z-index: 0;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* L'image ne sera pas coupée */
    background: linear-gradient(180deg, #fff, #f9fafb);
    border-radius: 18px;
    border: 1px solid #e9eef5;
    box-shadow: 0 16px 28px rgba(0,0,0,0.12);
}

/* --- Logique de positionnement (Carousel 3D) --- */

/* État : Sélectionné (Centre) */
#item-1:checked ~ .cards #car-1,
#item-2:checked ~ .cards #car-2,
#item-3:checked ~ .cards #car-3 {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
}

/* État : Gauche */
#item-1:checked ~ .cards #car-3,
#item-2:checked ~ .cards #car-1,
#item-3:checked ~ .cards #car-2 {
    transform: translateX(-90%) scale(0.8);
    opacity: 0.6;
    z-index: 1;
}

/* État : Droite */
#item-1:checked ~ .cards #car-2,
#item-2:checked ~ .cards #car-3,
#item-3:checked ~ .cards #car-1 {
    transform: translateX(-10%) scale(0.8);
    opacity: 0.6;
    z-index: 1;
}

/* --- Navigation (Points) --- */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.navigation-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d7dbe3;
    border: 1px solid #cfd5df;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navigation-dot:hover {
    background: #bdc3c7;
}

/* Point Actif */
#item-1:checked ~ .navigation .navigation-dot:nth-child(1),
#item-2:checked ~ .navigation .navigation-dot:nth-child(2),
#item-3:checked ~ .navigation .navigation-dot:nth-child(3) {
    width: 30px;
    border-radius: 10px;
    background: var(--lava);
    border-color: var(--lava);
}

/* --- Player (Zone Texte Info) --- */
.player {
    width: min(600px, 90%);
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden; /* Important pour masquer les textes qui sortent */
}

.upper-part {
    position: relative;
    height: 60px; /* Hauteur fixe pour le texte */
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-area {
    position: relative;
    width: 100%;
    height: 100%;
}

.car-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0; /* Caché par défaut */
}

.title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 5px;
}

.subtitle {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

/* --- Animation du texte selon la sélection --- */

/* Si Item 1 checked */
#item-1:checked ~ .player .car-info[data-item="1"] { transform: translateY(0); opacity: 1; }
#item-1:checked ~ .player .car-info[data-item="2"] { transform: translateY(100%); opacity: 0; }
#item-1:checked ~ .player .car-info[data-item="3"] { transform: translateY(100%); opacity: 0; }

/* Si Item 2 checked */
#item-2:checked ~ .player .car-info[data-item="1"] { transform: translateY(-100%); opacity: 0; }
#item-2:checked ~ .player .car-info[data-item="2"] { transform: translateY(0); opacity: 1; }
#item-2:checked ~ .player .car-info[data-item="3"] { transform: translateY(100%); opacity: 0; }

/* Si Item 3 checked */
#item-3:checked ~ .player .car-info[data-item="1"] { transform: translateY(-100%); opacity: 0; }
#item-3:checked ~ .player .car-info[data-item="2"] { transform: translateY(-100%); opacity: 0; }
#item-3:checked ~ .player .car-info[data-item="3"] { transform: translateY(0); opacity: 1; }

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .cards { height: 280px; }
    .card { width: 80%; }
    
    /* Ajustement des positions mobile pour éviter le chevauchement trop fort */
    #item-1:checked ~ .cards #car-3,
    #item-2:checked ~ .cards #car-1,
    #item-3:checked ~ .cards #car-2 {
        transform: translateX(-70%) scale(0.7);
        opacity: 0.4;
    }

    #item-1:checked ~ .cards #car-2,
    #item-2:checked ~ .cards #car-3,
    #item-3:checked ~ .cards #car-1 {
        transform: translateX(-30%) scale(0.7);
        opacity: 0.4;
    }
}




        

/* FAQ Section */
.faq-section { padding: 60px 0; text-align: center; background: var(--bg-light); }
.faq-container { max-width: 800px; margin: 0 auto; margin-top: 30px; text-align: left; }
.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.faq-summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-content { padding: 0 20px 20px; font-size: 0.9rem; color: var(--text-light); }

/* --- Services Page --- */
.services-hero {
    background-image: url('../img/hero-bg.jpg');
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.icons-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    background: var(--white);
    flex-wrap: wrap;
}
.icon-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-light); }
.icon-item i { color: #2c7a7b; }

.service-cards-list { padding: 50px 0; }
.service-large-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 350px;
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 0 50px;
    background-color: #333; /* Fallback */
}
.service-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.6; z-index: 1;
}
.service-content { position: relative; z-index: 2; max-width: 600px; }
.service-content h3 { font-size: 1.8rem; margin-bottom: 10px; }
.service-content p { margin-bottom: 20px; font-size: 0.95rem; }

/* --- About Page --- */
/* --- About Page Refonte --- */

/* Hero spécifique */
.about-hero {
    height: 350px; /* Un peu plus haut */
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Section Container Global */
.about-section-wrapper {
    max-width: 1000px; /* On centre le contenu sur une largeur confortable */
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* --- La Fusion Card (Driver Profile) --- */
.driver-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden; /* Pour que l'image ne dépasse pas des bords arrondis */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* Ombre douce premium */
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

.driver-card:hover {
    transform: translateY(-5px); /* Petit effet de levitation au survol */
}

.driver-image-box {
    flex: 0 0 40%; /* Prend 40% de la largeur */
    position: relative;
    min-height: 300px;
}

.driver-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit tout l'espace sans déformer */
    display: block;
}

.driver-text-box {
    flex: 1; /* Prend le reste de la place */
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.driver-text-box h2 {
    font-size: 1.8rem;
    color: var(--dark); /* #11232d */
    margin-bottom: 5px;
}

.role-badge {
    display: inline-block;
    background: #FF8A3D; /* Couleur Lava */
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    align-self: flex-start;
}

.driver-text-box p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* --- Features Grid (Amélioré) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #FF8A3D;
    box-shadow: 0 10px 20px rgba(255, 138, 61, 0.1);
}

.feature-box i {
    font-size: 2rem;
    color: #FF8A3D; /* Icônes en orange */
    margin-bottom: 15px;
    background: rgba(255, 138, 61, 0.1);
    width: 60px; height: 60px;
    line-height: 60px;
    border-radius: 50%;
}

.feature-box p {
    font-weight: 500;
    color: #333;
}

/* --- Mission Section (Liste) --- */
.mission-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #FF8A3D;
}

.mission-container h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.about-list ul {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #555;
}

.about-list li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FF8A3D;
    position: absolute;
    left: 0;
    top: 2px;
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .driver-card {
        flex-direction: column; /* On empile image sur texte */
    }
    .driver-image-box {
        height: 250px; /* Hauteur fixe pour l'image sur mobile */
        width: 100%;
    }
    .driver-text-box {
        padding: 30px 20px;
    }
    .about-hero h1 { font-size: 2rem; }
}

/* --- Contact Page --- */
.contact-hero {
    height: 350px;
    background-image: url('../img/hero-bg.jpg');
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.contact-info-section {
    position: relative;
    top: -50px;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-icon {
    background: #00796b;
    color: white;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}
.contact-details h4 { font-size: 1rem; margin-bottom: 5px; }
.contact-details p { font-size: 0.8rem; color: var(--text-light); }

.note-box {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.note-icon { color: #d97706; background: #fef3c7; padding: 10px; border-radius: 50%; }

/* --- Footer --- */
.site-footer {
    background-color: var(--dark);
    color: #8fa6b0;
    padding: 50px 0 20px;
    font-size: 0.85rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}
.footer-logo-img { height: 60px; opacity: 0.8; filter: grayscale(100%); }
.phone-number { color: var(--white); font-weight: bold; margin-top: 10px; }
.socials { display: flex; gap: 15px; justify-content: center; margin-top: 15px; }
.socials a {
    width: 35px; height: 35px; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--white);
}
.footer-links { display: flex; gap: 20px; font-size: 0.75rem; }
.footer-bottom {
    margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex; justify-content: space-between;
    width: 90%; max-width: 1200px; margin-left: auto; margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-nav a{
        font-size: 0.7rem;
    }

    .main-nav ul { display: none; } /* Pourrait être géré par JS */
    .burger-menu { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-logo-large { display: none; }
    .booking-card { margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .icons-bar { justify-content: center; }
    .main-nav { justify-content: flex-end; width: 100%; }
    .site-header .container { position: relative; }
    
    /* Menu mobile ouvert (classe ajoutée par JS) */
    .main-nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; right: 0;
        background: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}











/* --- Auth Pages --- */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/hero-bg.jpg'); /* Même fond que l'accueil */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
}

/* On réutilise .booking-card mais on la centre */
.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.auth-card h2 {
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.9rem;
}
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }


/* --- Groupe Téléphone (Register) --- */
.phone-input-group {
    display: flex!important;
    gap: 10px!important;
}

.phone-select {
    width: 120px; /* Largeur fixe pour l'indicatif */
    flex-shrink: 0;
    appearance: none; /* Apparence native nettoyée */
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    padding-right: 30px;
    cursor: pointer;
}

/* Responsive : sur très petit écran, on garde le flex mais on ajuste si besoin */
@media (max-width: 480px) {
    .phone-select {
        width: 100px;
        padding-left: 10px;
        font-size: 0.85rem;
    }
}

/* --- Register Step 2 UX --- */
.text-link-blue {
    color: var(--primary); /* ou un bleu spécifique si tu préfères */
    text-decoration: none;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
}
.text-link-blue:hover { text-decoration: underline; }

.timer-box {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

#resend-link.disabled {
    pointer-events: none;
    color: #999;
    text-decoration: none;
    cursor: default;
}

/* Modal simple pour modifier le numéro (sans JS lourd) */
.edit-phone-modal {
    display: none; /* Masqué par défaut */
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }








/* --- Recovery Page Tabs --- */
.recovery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.recovery-tab {
    padding: 10px 20px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.recovery-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.recovery-tab:hover:not(.active) {
    color: var(--text);
}

.masked-email {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    letter-spacing: 1px;
}























/* --- Dashboard Tabs System --- */
.dash-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Sidebar Menu (Desktop) */
.dash-sidebar {
    flex: 0 0 250px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    margin-bottom: 5px;
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.dash-nav-item:hover {
    background: #f0f0f0;
    color: var(--dark);
}

.dash-nav-item.active {
    background: #fff3e0; /* Fond orange très clair */
    color: var(--primary);
    font-weight: 600;
}

.dash-nav-item i { width: 20px; text-align: center; }

/* Contenu Principal */
.dash-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    min-height: 400px;
}

.tab-pane { display: none; animation: fadeIn 0.4s ease; }
.tab-pane.active { display: block; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .dash-container { flex-direction: column; }
    .dash-sidebar { width: 100%; flex: none; display: flex; overflow-x: auto; padding: 10px; gap: 10px; }
    .dash-nav-item { margin-bottom: 0; white-space: nowrap; flex: 0 0 auto; font-size: 0.9rem; }
}