/* Modern Font Import */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    /* ── Palette Dark Luxury Minimalism ── */
    --main-bg-color: #0A0A0F;
    --header-footer-bg: #111118;
    --accent-yellow: #C9A84C;       /* Amber premium — contraste 8.3:1 sur fond */
    --accent-hover: #E8C547;        /* Amber lumineux au hover */
    --text-white: #F0F0F5;          /* Blanc doux, moins agressif */
    --text-muted: #8A9BB5;          /* Gris slate — contraste 5.8:1 WCAG AA */
    --card-bg: #13141C;             /* Surface opaque pour les cards */
    --card-bg-color: rgba(19, 20, 28, 0.85);

    /* ── Glass (opacité corrigée — était 0.03, invisible) ── */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --glass-blur: blur(14px);

    /* ── Système d'espacement cohérent ── */
    --space-section: 6rem;
    --space-block: 3rem;
    --space-element: 1.5rem;

    /* Backwards compatibility */
    --gold: var(--accent-yellow);
    --gold-color: var(--accent-yellow);
}

body {
    background-color: var(--main-bg-color);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    font-size: 1.02rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.1rem;
}

.long-text {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
}

.text-muted {
    color: var(--text-muted) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Header Navbar - Glassmorphism */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--text-white) !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 3px;
}

/* Ajustement du logo dans la navbar */
.navbar-brand img {
    height: 70px;
    /* Slightly smaller for elegance */
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--text-white) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Section Héro */
.hero {
    min-height: 85vh;
    /* Tall hero for maximum visual impact */
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(11, 12, 16, 0.55), rgba(11, 12, 16, 0.45) 50%, rgba(11, 12, 16, 0.85));
}

/* Diaporama desktop — deux slides en fondu croisé (cycle 16s : ~7s par photo, 1s de transition) */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    z-index: -1;
}

.hero-slide-1 {
    background-image: url('assets/hero-bg-desktop-1.jpg');
    animation: heroSlide1 16s linear infinite;
}

.hero-slide-2 {
    background-image: url('assets/hero-bg-desktop-2.jpg');
    animation: heroSlide2 16s linear infinite;
}

@keyframes heroSlide1 {
    0%, 44%  { opacity: 1; }
    50%, 94% { opacity: 0; }
    100%     { opacity: 1; }
}

@keyframes heroSlide2 {
    0%, 44%  { opacity: 0; }
    50%, 94% { opacity: 1; }
    100%     { opacity: 0; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--main-bg-color), transparent);
    pointer-events: none;
}

.hero h2 {
    color: var(--text-white) !important;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    color: var(--text-muted) !important;
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Titres des sections en jaune */
h2 {
    color: var(--accent-yellow) !important;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title-light {
    color: #f7fafc !important;
}

/* Sections principales - Glassmorphism Containers */
.about,
.reservation,
.results-reviews,
.about-us-page {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 50px 30px;
    box-shadow: var(--glass-shadow);
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Styles pour la section "feature-box" dans la section d'introduction "À Propos" */
.feature-box {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-box h4 {
    color: var(--accent-yellow) !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: #cbd5e0 !important;
    font-size: 0.95rem;
    flex-grow: 1;
}

.feature-box small {
    color: rgba(138, 155, 181, 0.9) !important;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    display: block;
    margin-top: 0.5rem;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.2);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

/* Formulaire de réservation - Modern Inputs */
.form-label {
    color: var(--text-white) !important;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.form-text,
small {
    color: var(--text-muted) !important;
}

/* Couleur du Placeholder */
textarea::placeholder,
.form-control::placeholder {
    color: rgba(160, 174, 192, 0.5) !important;
}

.form-select,
.form-control,
textarea {
    background-color: rgba(15, 17, 21, 0.8) !important;
    color: var(--text-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
}

.form-select:focus,
.form-control:focus,
textarea:focus {
    background-color: #1a1c23 !important;
    border-color: var(--accent-yellow) !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15) !important;
}

.form-check-input {
    accent-color: var(--accent-yellow) !important;
    /* Couleur de la coche */
}

/* -------------------------------------------------------------------------- */
/* Seamless Booking Flow Styles                                               */
/* -------------------------------------------------------------------------- */

/* Layout */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1040px;
    margin-inline: auto;
}

/* Critical: grid items must declare min-width: 0 to honour
   their track width — without this, overflow-x: auto on any
   descendant flex container has no effect and bleeds out. */
.booking-flow,
.sticky-summary-wrapper {
    min-width: 0;
}

@media (min-width: 992px) {
    .booking-grid {
        grid-template-columns: 2fr 1fr;
        /* Left choices, right sticky summary */
    }
}

/* Selectable Cards (Vehicles & Formulas) */
.selectable-card {
    background: rgba(30, 32, 40, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Empêche le clic manuel sur les cartes véhicule, tout en permettant la sélection par la détection automatique */
.vehicle-card {
    pointer-events: none;
}

.selectable-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.selectable-card.selected {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.selectable-card.selected::before {
    content: none;
}

.selectable-card i.main-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.selectable-card:hover i.main-icon,
.selectable-card.selected i.main-icon {
    color: var(--accent-yellow);
}

.selectable-card h5 {
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}

.selectable-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.selectable-card .price-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    font-weight: 700;
    color: var(--accent-yellow);
    font-family: 'Outfit', sans-serif;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.selectable-card.formula-card .price-badge {
    transform: translateY(0);
    /* Always show price on formulas */
    position: static;
    background: transparent;
    padding: 0;
    margin-top: 15px;
    font-size: 1.25rem;
}

/* Sections */
/* ─── Tunnel Progress Bar ────────────────────────────────────────────────────── */
.tunnel-progress {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-footer-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

.tunnel-steps {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tunnel-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.tunnel-step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1e1e2a;
    border: 2px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #8a8a8a;
    transition: all 0.3s ease;
}

.tunnel-step-num { display: block; }
.tunnel-step-check { display: none; }

.tunnel-step-label {
    font-size: 0.7rem;
    color: #8a8a8a;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tunnel-step-line {
    flex: 1;
    height: 2px;
    background: #333;
    margin: 0 6px;
    margin-bottom: 18px;
    transition: background 0.3s ease;
    max-width: 64px;
    min-width: 16px;
}

.tunnel-step.active {
    cursor: pointer;
}
.tunnel-step.active .tunnel-step-circle {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #0A0A0F;
}
.tunnel-step.active .tunnel-step-label {
    color: var(--accent-yellow);
    font-weight: 600;
}

.tunnel-step.completed {
    cursor: pointer;
}
.tunnel-step.completed .tunnel-step-circle {
    background: #27ae60;
    border-color: #27ae60;
    color: #fff;
}
.tunnel-step.completed:hover .tunnel-step-circle {
    background: #2ecc71;
    border-color: #2ecc71;
    transform: scale(1.1);
}
.tunnel-step.completed .tunnel-step-num { display: none; }
.tunnel-step.completed .tunnel-step-check { display: block; font-size: 0.8rem; }
.tunnel-step.completed .tunnel-step-label { color: #27ae60; }
.tunnel-step.completed:hover .tunnel-step-label { color: #2ecc71; }
.tunnel-step.completed + .tunnel-step-line { background: #27ae60; }

@media (max-width: 576px) {
    .tunnel-step-label { display: none; }
    .tunnel-step-circle { width: 28px; height: 28px; font-size: 0.75rem; }
    .tunnel-step-line { max-width: 24px; }
}

/* ─────────────────────────────────────────────────────────────────────────────── */

.booking-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    opacity: 0.5;
    /* Dimmed until active */
    transition: opacity 0.4s ease;
}

.booking-section.active-section {
    opacity: 1;
}

.booking-section.locked-section {
    pointer-events: none;
    opacity: 0.4;
    position: relative;
}

.booking-section.locked-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: not-allowed;
    border-radius: 16px;
}

.booking-section.locked-section .step-badge {
    background: #555 !important;
}

.booking-section-title {
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-section-title span.step-badge {
    background: var(--accent-yellow);
    color: var(--main-bg-color);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* Sticky Summary Sidebar */
.sticky-summary-wrapper {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.summary-card {
    background: rgba(20, 22, 28, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--accent-yellow);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.summary-card h4 {
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.summary-item.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 5px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-yellow);
}

/* ─── Barre sticky prix mobile ───────────────────────────────────────────────── */
#mobile-price-bar {
    display: none;
}

@media (max-width: 991px) {
    #mobile-price-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 200;
        background: rgba(14, 14, 20, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(201, 168, 76, 0.3);
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .mobile-price-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        max-width: 600px;
        margin-inline: auto;
    }

    .mobile-price-bar-label {
        font-size: 0.75rem;
        color: #a0aec0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-price-bar-total {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--accent-yellow);
        font-family: 'Outfit', sans-serif;
        line-height: 1;
    }

    /* Espace en bas pour que la barre ne cache pas le contenu */
    main {
        padding-bottom: 80px;
    }
}

/* Boutons d'action - Premium Styling */
.btn-primary,
.btn-success,
.btn-info,
.btn-danger,
.btn-gold {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #b8860b 100%) !important;
    border: none !important;
    color: var(--main-bg-color) !important;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-radius: 8px;
    /* Slightly more rounded */
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-danger:hover,
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-yellow) 100%) !important;
}

.btn-primary:active,
.btn-success:active,
.btn-info:active,
.btn-danger:active,
.btn-gold:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Boutons secondaires */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(4px);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Effet Ripple pour les boutons */
.btn {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.ripple {
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    /* Lighter ripple for dark buttons */
    border-radius: 50%;
    transform: scale(0);
    opacity: 1;
    animation: ripple 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Styles pour les cartes d'avis Google */
.google-stats-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.google-review-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.review-text {
    color: #cbd5e0;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.review-date {
    font-size: 0.78rem;
    color: rgba(160, 174, 192, 0.7);
}

/* resa */
.reservation-step {
    display: none;
    padding: 20px;
}

.reservation-step.active-step {
    display: block;
}

/*
 * C'est le conteneur principal qui doit avoir le défilement activé
 */
.progress-container {
    width: 100%;
    padding: 0 20px 20px 20px;
    overflow-x: auto;
    /* Indispensable : permet le défilement horizontal */
    -webkit-overflow-scrolling: touch;
    /* Pour un défilement fluide sur les appareils Apple */
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 0px;
}

/* Cache la barre de défilement pour les navigateurs basés sur WebKit */
.progress-container::-webkit-scrollbar {
    display: none;
}

/*
 * La barre de progression elle-même, en flexbox, qui contient toutes les étapes
 * C'est l'enfant direct de .progress-container
 */
.main-form-card .progress-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* Aligne les éléments au début du conteneur */
    flex-wrap: nowrap;
    /* Indispensable : empêche les éléments de passer à la ligne et force le défilement */
    padding: 0;
    margin: 0;
    position: relative;
    align-items: flex-start;
    height: auto;
    min-height: 80px;
}

/* La ligne de progression en arrière-plan */
.main-form-card .progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #4a5568;
    transform: translateY(-50%);
    z-index: 0;
}

/* Chaque étape avec son numéro et son titre */
.main-form-card .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    /* Indispensable : empêche l'élément de se contracter et force le défilement */
    min-width: 100px;
    /* Assure que chaque étape a une largeur minimale */
    color: #a0aec0;
    transition: color 0.3s ease;
    z-index: 1;
    cursor: pointer;
    padding: 0 5px;
}

/* Le numéro de l'étape */
.main-form-card .step-number {
    width: 40px;
    height: 40px;
    background-color: #4a5568;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #cbd5e0;
    margin-bottom: 5px;
    flex-shrink: 0;
}

/* Le label du titre de l'étape */
.main-form-card .step-label {
    font-size: 0.85em;
    white-space: normal;
    word-break: break-word;
    color: #a0aec0;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Style de l'étape active */
.main-form-card .progress-step.active .step-number {
    background-color: var(--accent-yellow);
    color: var(--main-bg-color);
    border-color: var(--accent-yellow);
}

.main-form-card .progress-step.active .step-label {
    color: var(--text-white);
}

/* La ligne de progression jaune */
.main-form-card .progress-bar .progress-fill-line {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background-color: var(--accent-yellow);
    transform: translateY(-50%);
    z-index: 0;
    width: 0%;
    transition: width 0.4s ease-in-out;
}

/* Pied de page */
footer {
    background: var(--header-footer-bg);
    color: var(--text-white);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    font-family: 'Montserrat', sans-serif;
}

/* --- ICÔNES RÉSEAUX SOCIAUX IMAGE (PNG) --- */
.social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* --- ICÔNES DE RÉSEAUX SOCIAUX FONT AWESOME (CORRIGÉ) --- */
.social-media a i {
    /* **RÈGLE CRITIQUE :** Assure la couleur blanche sur le fond sombre */
    color: var(--text-white);

    /* Supprime l'ancienne règle du PNG qui utilisait 'filter' */
    /* filter: none; */

    transition: color 0.3s ease, transform 0.3s ease;
}

/* Style au survol (HOVER) */
.social-media a:hover i {
    color: var(--accent-yellow);
    transform: scale(1.15);
}

.text-danger {
    color: var(--accent-yellow) !important;
}

.text-success {
    color: var(--accent-yellow) !important;
}

.text-warning {
    color: var(--gold) !important;
}

.text-white-50 {
    color: rgba(245, 245, 245, 0.5) !important;
}

.bg-dark {
    background-color: var(--main-bg-color) !important;
}

.border-secondary {
    border-color: var(--card-bg-color) !important;
}

.border-danger {
    border-color: var(--accent-yellow) !important;
}

/* Media Queries pour le Responsive Design */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--header-footer-bg);
        border-top: 1px solid var(--card-bg-color);
    }

    .navbar-toggler {
        border-color: rgba(245, 245, 245, .1);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f5f5f5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

@media (max-width: 767.98px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(11, 12, 16, 0.55), rgba(11, 12, 16, 0.45) 50%, rgba(11, 12, 16, 0.85)), url('assets/hero-bg-800w.jpg');
        background-size: cover;
        background-position: center top;
    }

    .hero-slide {
        display: none;
    }

    .hero h2 {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    /* Correction : S'assure que les icônes ne sont pas écrasées ici */
    .social-media a i {
        font-size: 1.8rem !important;

        /* Couleur par défaut Or */
        color: var(--accent-yellow);

        /* Assure une transition douce */
        transition: color 0.3s ease, transform 0.3s ease;

        /* RÈGLES DE LARGEUR ET HAUTEUR POUR FORCER L'UNIFORMITÉ */
        width: 1.25em;
        /* Donne une largeur fixe basée sur la taille de police (em = font-size) */
        text-align: center;
        /* Assure que l'icône est centrée dans cet espace */
        display: inline-block;
        /* Nécessaire pour appliquer width et text-align */
    }

    /* Règle spécifique pour forcer le défilement sur les petits écrans */
    .main-form-card .progress-bar {
        min-width: 600px;
        /* Valeur à ajuster si besoin, mais 600px devrait suffire */
    }
}

/* ====================== */

/* ====================== */
/* Trust Bar */
/* ====================== */
.trust-bar {
    font-size: 0.9rem;
    color: rgba(240, 240, 245, 0.9);
    background: rgba(19, 20, 28, 0.75);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 12px;
    padding: 0.85rem 1.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
}

.trust-bar strong {
    color: var(--accent-yellow);
}

@media (max-width: 576px) {
    .trust-bar {
        flex-direction: column;
        gap: 0.4rem;
        font-size: 0.85rem;
        text-align: center;
        padding: 0.75rem 1.25rem;
    }

    .trust-bar span {
        display: block;
    }

    .trust-bar span:nth-child(2),
    .trust-bar span:nth-child(4) {
        display: none;
    }
}

/* ====================== */
/* Scroll Reveal Animations */
/* ====================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ====================== */
/* Social Proof Badge */
/* ====================== */
.social-proof-badge {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e0;
}

/* ====================== */
/* Before/After Slider    */
/* ====================== */
.ba-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.ba-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-slider .ba-after {
    clip-path: inset(0 0 0 50%);
}

.ba-slider .ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.ba-slider .ba-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-slider .ba-handle::before {
    content: '◀ ▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 2px;
    font-weight: bold;
}

.ba-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    pointer-events: none;
}

.ba-label-before {
    left: 12px;
    background: rgba(220, 53, 69, 0.85);
    color: white;
}

.ba-label-after {
    right: 12px;
    background: rgba(37, 211, 102, 0.85);
    color: white;
}

.ba-gallery-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.ba-gallery-nav .ba-thumb {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.ba-gallery-nav .ba-thumb:hover,
.ba-gallery-nav .ba-thumb.active {
    opacity: 1;
    border-color: var(--accent-yellow);
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .ba-slider {
        max-width: 100%;
        border-radius: 12px;
    }

    .ba-gallery-nav .ba-thumb {
        width: 60px;
        height: 45px;
    }
}

/* -------------------------------------------------------------------------- */
/* Price Grid Section Styles                                                  */
/* -------------------------------------------------------------------------- */
.price-grid-section {
    background-color: var(--main-bg-color);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-card {
    background: rgba(30, 32, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.price-card.premium {
    background: linear-gradient(180deg, rgba(40, 42, 50, 0.8) 0%, rgba(20, 22, 28, 0.8) 100%);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    position: relative;
}

.price-badge-top {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--accent-yellow);
    color: var(--main-bg-color);
    padding: 5px 15px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-card-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card-header h4 {
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
}

.price-amount small {
    font-size: 1rem;
    color: var(--text-muted) !important;
    font-weight: 500;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.price-features li {
    color: var(--text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.price-features li i {
    color: var(--success);
    margin-top: 4px;
    margin-right: 12px;
    font-size: 0.9rem;
}

.price-features li.muted {
    color: var(--text-muted);
}

.price-features li.muted i {
    color: rgba(255, 255, 255, 0.2);
}

/* Supplements List in Grid */
.supplements-list {
    background: rgba(20, 22, 28, 0.6);
    border-radius: 12px;
    padding: 25px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.supplements-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 30px;
}

@media (max-width: 768px) {
    .supplements-list ul {
        columns: 1;
    }
}

.supplements-list li {
    color: var(--text-white);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    break-inside: avoid;
}

.supplements-list li span.price {
    color: var(--accent-yellow);
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Pricing Table (For Subs/Detailed views if needed) */
.pricing-table-wrapper {
    overflow-x: auto;
    background: rgba(30, 32, 40, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.pricing-table th {
    background: rgba(20, 22, 28, 0.8);
    font-family: 'Outfit', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-table td.highlight {
    color: var(--accent-yellow);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Section SEO / Explications Detailing */
.seo-section {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 55%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* --- 7-Day Calendar Styles --- */
.calendar-scroll-container {
    display: flex;
    overflow-x: auto;
    /* width: 100% is required so the flex container knows its boundary
       and can actually scroll instead of pushing its parent wider. */
    width: 100%;
    gap: 15px;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-yellow) rgba(255,255,255,0.1);
}

.calendar-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.calendar-scroll-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.calendar-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-yellow);
    border-radius: 4px;
}

.calendar-col {
    flex: 0 0 120px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.calendar-col-header {
    background: rgba(0,0,0,0.3);
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.calendar-col-header .day-name {
    font-size: 0.85rem;
    color: #a0aec0;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.calendar-col-header .day-number {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    line-height: 1;
    margin-top: 2px;
}

.calendar-col-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.calendar-col.has-no-slots {
    opacity: 0.5;
}

.no-slots-msg {
    font-size: 0.8rem;
    color: #a0aec0;
    text-align: center;
    padding: 10px 5px;
    font-style: italic;
}

.time-slot-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
}

.time-slot-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.time-slot-badge.selected {
    background: var(--accent-yellow);
    color: #000;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
}

.time-slot-badge.busy {
    opacity: 0.2;
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
}

/* Week navigation buttons for calendar */
.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.calendar-nav-btn i {
    font-size: 1.1rem;
    color: var(--accent-yellow);
}

.calendar-nav-btn:hover {
    background: var(--accent-yellow);
    color: #000;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.calendar-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* Fallback icons when Font Awesome doesn't load */
.calendar-nav-btn .icon-fallback {
    display: none;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Show fallback if FA icon is empty (font not loaded) */
.calendar-nav-btn i:empty + .icon-fallback,
.calendar-nav-btn i.fa-solid:not(.fa-chevron-left):not(.fa-chevron-right) + .icon-fallback {
    display: inline;
}

.calendar-nav-btn .fa-solid ~ .icon-fallback {
    display: none;
}

/* ====================== */
/* Urgence Banner         */
/* ====================== */
.urgence-banner {
    border-radius: 14px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(19, 20, 28, 0.9) 100%);
    padding: 1rem 1.25rem;
}

.urgence-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.urgence-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 1.1rem;
}

.urgence-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.urgence-content strong {
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.urgence-content span {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.urgence-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-yellow);
    color: #0A0A0F;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.urgence-btn:hover {
    background: var(--accent-hover);
    color: #0A0A0F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.urgence-btn:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .urgence-banner-inner {
        gap: 0.75rem;
    }

    .urgence-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   WIDE SCREEN & READABILITY SYSTEM
   iPhone SE (375px) → 27" iMac (2560px)
   Règle d'or : 45–72 caractères par ligne de texte courant.
═══════════════════════════════════════════════════════════════ */

/* Titres de sections fluides — jamais trop grands sur 27" */
h2.display-5,
h2.display-6 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
}

h2.display-4 {
    font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
}

/* Limite la largeur du texte courant dans les sections de contenu */
.seo-section .feature-box p,
.booking-section > p,
.booking-section .alert div span {
    max-width: 68ch;
}

/* Paragraphes intro des sections (hero, SEO) */
.hero p.lead,
section p.lead {
    max-width: min(700px, 72ch);
}

/* Empêche les titres de booking-section de s'étirer sur 27" */
.booking-section-title {
    max-width: 680px;
}

/* Contenu centré page-wide : container interne max lisible */
.reservation .container,
.about .container,
.results-reviews .container {
    max-width: 1100px;
}

/* Textes courts dans les cartes : limite de confort */
.price-card p,
.selectable-card p,
.feature-box p {
    max-width: 60ch;
    margin-inline: auto;
}

/* Sur grand écran, assure un padding latéral minimum */
@media (min-width: 1400px) {
    .booking-grid {
        gap: 40px;
    }

    .booking-section {
        padding: 36px;
    }

    .feature-box {
        padding: 2rem;
    }
}

/* Mobile (iPhone SE 375px) : assure lisibilité minimale */
@media (max-width: 390px) {
    .booking-section {
        padding: 20px 16px;
    }

    .selectable-card {
        padding: 14px;
    }

    .booking-section-title {
        font-size: 1rem;
        gap: 8px;
    }

    .booking-section-title span.step-badge {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .summary-card {
        padding: 18px 14px;
    }
}
