/* =========================================================
   EASYGUEST - FEUILLE DE STYLE COMMUNE ET GLOBALE
   ========================================================= */

:root {
    --primary: #1e3a8a;
    --primary-light: #2563eb;
    --accent: #f59e0b;
    --light: #f8fafc;
    --dark: #0f172a;
    --success: #10b981;
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Application de la police sur l'ensemble du site, y compris les titres */
body, h1, h2, h3, h4, h5, h6, input, textarea, button {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--dark); background-color: var(--light); line-height: 1.7; overflow-x: hidden; }

/* Header minimal des fiches et pages internes */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.03); padding: 1.2rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; text-transform: uppercase; }
.logo-text span { color: var(--accent); }
.logo-text-mini { font-size: 1.3rem; font-weight: 800; color: var(--primary); text-transform: uppercase; }
.logo-text-mini span { color: var(--accent); }
.btn-back { text-decoration: none; color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

/* Structure en colonnes uniquement pour les fiches de logements */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Structure dédiée à la page de réservation */
.reservation-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.gallery {
    grid-column: 1 / -1;
}

.content {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
}

.booking-module {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 100px;
}

/* Galerie photos des fiches */
.main-photo-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
}
.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.main-photo:hover { transform: scale(1.02); }
.favorite-badge-photo {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}
.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
}
.thumbnails img {
    height: 75px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}
.thumbnails img:hover { opacity: 1; border-color: var(--accent); }

/* Éléments textuels des fiches */
h1 { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; line-height: 1.2; }
.location-subtitle { font-weight: 700; color: #64748b; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.promo-tag { background: #ecfdf5; color: var(--success); display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; font-weight: 800; font-size: 0.85rem; margin-bottom: 15px; }
.trust-banner { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 18px 20px; border-radius: 16px; display: flex; align-items: center; gap: 15px; font-size: 0.9rem; margin: 25px 0; }

.content h3 { font-size: 1.3rem; color: var(--primary); margin-top: 30px; margin-bottom: 12px; font-weight: 800; border-bottom: 2px solid #f1f5f9; padding-bottom: 8px; }
.content p { color: #475569; margin-bottom: 15px; font-size: 0.98rem; }

.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 15px; }
.review-card { background: var(--light); padding: 18px; border-radius: 14px; border: 1px solid #e2e8f0; font-size: 0.92rem; font-style: italic; color: #334155; }

.map-wrapper { margin-top: 15px; border-radius: 16px; overflow: hidden; height: 250px; border: 1px solid #e2e8f0; cursor: pointer; }
#map { width: 100%; height: 100%; }

/* Modals */
.modal { display: none; position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9); justify-content: center; align-items: center; }
.modal-content { max-width: 85%; max-height: 85vh; border-radius: 12px; }
.close-modal, .close-map-modal { position: absolute; top: 25px; right: 30px; color: white; font-size: 2.5rem; cursor: pointer; }
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 2rem; background: rgba(0,0,0,0.5); padding: 10px 15px; border-radius: 50%; cursor: pointer; }
.nav-prev { left: 30px; }
.nav-next { right: 30px; }

/* 1. Visibilité et responsive Typebot */
typebot-bubble,
.typebot-bubble-button,
[data-testid="bubble-button"] {
    z-index: 999999 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .typebot-preview-message,
    [class*="previewMessage"],
    [data-testid="preview-message"] {
        display: none !important;
    }
    .container { grid-template-columns: 1fr; }
}

/* 2. Badges d'équipements modernes (Feature Pills) */
.amenities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 25px 0;
}
.amenities-pills .pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.amenities-pills .pill i { color: #f59e0b; }

/* 3. Bannière Meilleur Tarif Direct */
.direct-price-guarantee {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    border-radius: 18px;
    padding: 20px 24px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.guarantee-content { display: flex; align-items: center; gap: 16px; }
.guarantee-icon { width: 48px; height: 48px; background: #1e3a8a; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.guarantee-text strong { color: #1e3a8a; font-size: 1.05rem; display: block; margin-bottom: 3px; }
.guarantee-text p { color: #334155; font-size: 0.9rem; margin: 0 !important; }
.guarantee-badge { background: #f59e0b; color: white; font-weight: 800; font-size: 0.9rem; padding: 8px 16px; border-radius: 50px; white-space: nowrap; }

/* 4. Carnet d'Adresses & Pépites Locales */
.local-guide-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed #e2e8f0;
}
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}
.guide-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.guide-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent);
}
.guide-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.guide-tag { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 50px; }
.tag-food { background: #fee2e2; color: #b91c1c; }
.tag-visit { background: #e0f2fe; color: #0369a1; }
.tag-nature { background: #dcfce7; color: #15803d; }
.guide-distance { font-size: 0.8rem; color: #94a3b8; font-weight: 600; }
.guide-title { font-size: 1.05rem; font-weight: 800; color: #1e3a8a; margin-bottom: 8px; }
.guide-desc { font-size: 0.9rem; color: #64748b; line-height: 1.5; margin-bottom: 0 !important; }

/* Sélecteur de langue FR / EN */
.lang-switch {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 3px;
    gap: 2px;
    margin-left: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}
.lang-btn { border: none; background: transparent; color: #64748b; padding: 4px 10px; border-radius: 50px; cursor: pointer; font-family: inherit; font-weight: 700; transition: all 0.2s ease; }
.lang-btn:hover { color: var(--primary); }
.lang-btn.active { background: var(--primary); color: #ffffff; box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25); }

/* Barre fixe mobile */
.mobile-sticky-bar { display: none; }
@media (max-width: 768px) {
    body { padding-bottom: 85px; }
    .mobile-sticky-bar {
        display: flex; align-items: center; justify-content: space-between;
        position: fixed; bottom: 0; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px);
        padding: 12px 20px; border-top: 1px solid #e2e8f0;
        box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.08); z-index: 9999;
    }
    .sticky-bar-info { display: flex; flex-direction: column; line-height: 1.2; }
    .sticky-bar-badge { font-size: 0.72rem; font-weight: 800; color: var(--success); text-transform: uppercase; margin-bottom: 3px; }
    .sticky-bar-title { font-size: 0.9rem; font-weight: 800; color: var(--primary); }
    .btn-sticky-book { background: var(--accent); color: #ffffff; text-decoration: none; font-weight: 800; font-size: 0.95rem; padding: 12px 22px; border-radius: 50px; }
}

/* Bouton WhatsApp Sandy (Forcé en vert) */
.contact-info .btn-whatsapp,
aside.booking-module .btn-whatsapp,
.btn-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    margin-top: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.contact-info .btn-whatsapp:hover,
aside.booking-module .btn-whatsapp:hover,
.btn-whatsapp:hover {
    background-color: #1eb954 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
.btn-whatsapp i { font-size: 1.25rem !important; color: #ffffff !important; }

/* =========================================================
   STYLE DE LA PAGE DE RÉSERVATION (reservation.html)
   ========================================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 35px;
}

.card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
}

.card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.location-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.favorite-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.card-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
}

.airbnb-review-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 8px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #9a3412;
    font-weight: 700;
    font-size: 0.85rem;
}

.superhost-pill {
    background: #fee2e2;
    color: #b91c1c;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
}

.btn-book {
    display: block;
    text-align: center;
    background: var(--primary);
    color: white;
    padding: 13px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s ease;
}

.btn-book:hover {
    background: var(--dark);
}
/* Correctif du bloc Hero de la page reservation.html */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 58, 138, 0.7)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat fixed !important;
    color: white !important;
    text-align: center !important;
    padding: 90px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero h1 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.hero p {
    font-size: 1.15rem !important;
    color: #e2e8f0 !important;
    margin-bottom: 25px !important;
    max-width: 600px !important;
}
/* Image de fond spécifique pour la page d'accueil (index.html) */
body:has(#simulateur) .hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(30, 58, 138, 0.65)), url('becherel.webp') center/cover no-repeat fixed !important;
}
/* Uniformisation des grands titres de section en bleu primaire */
.pricing-section h2,
.reviews-section h2,
.simulator-header h2 {
    color: var(--primary) !important;
}
/* --- CORRECTIFS RESPONSIVE MOBILE (Smartphones) --- */
@media (max-width: 768px) {
    /* Empêche tout dépassement horizontal de la page */
    body {
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
    }

    /* Ajustement des marges du conteneur des fiches pour éviter le débordement d'un tiers */
    .container {
        width: 100% !important;
        margin: 20px auto !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }

    /* Correction de la grille des pépites locales pour qu'elle ne dépasse pas */
    .guide-grid {
        grid-template-columns: 1fr !important;
    }

    /* Surélévation de la bulle Typebot pour éviter qu'elle ne soit cachée par la barre de résa */
    typebot-bubble,
    .typebot-bubble-button,
    [data-testid="bubble-button"] {
        bottom: 95px !important; /* Place la bulle juste au-dessus de la barre sticky */
        right: 15px !important;
    }

    /* Ajustement de la barre de réservation mobile pour qu'elle prenne toute la largeur sans dépassement */
    .mobile-sticky-bar {
        box-sizing: border-box;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
}/* --- CORRECTIF FINAL MOBILE ANTI-DÉBORDEMENT --- */
@media (max-width: 768px) {
    html, body {
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .container, .content, .gallery, .booking-module {
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Empêche les images principales et miniatures de dépasser */
    .main-photo-wrapper, .main-photo, .thumbnails img, .map-wrapper {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Remonte la bulle du chat Typebot au-dessus de la barre de réservation */
    typebot-bubble,
    .typebot-bubble-button,
    [data-testid="bubble-button"] {
        bottom: 95px !important;
        right: 15px !important;
        z-index: 999999 !important;
    }
}/* --- CORRECTIF FINAL MOBILE PRÉCIS --- */
@media (max-width: 768px) {
    /* 1. Fixe le menu et le header sur l'index pour éviter le décalage à droite */
    header {
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }
    
    nav {
        gap: 10px !important;
    }

    /* 2. Contraint strictement le module Lodgify et son entourage à ne pas dépasser de l'écran */
    .booking-module {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 15px !important;
    }

    /* Force l'iframe/contenu interne de Lodgify à s'adapter au mobile */
    #lodgify-book-now-box, 
    #lodgify-book-now-box iframe {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Décale proprement la bulle de chat Typebot pour qu'elle ne gêne plus la barre de réservation */
    typebot-bubble,
    .typebot-bubble-button,
    [data-testid="bubble-button"] {
        bottom: 110px !important; /* Remonte la bulle plus haut */
        right: 10px !important;
        transform: scale(0.9); /* Réduit très légèrement sa taille sur mobile si besoin */
        z-index: 999999 !important;
    }
}
/* --- CORRECTIF FINAL MOBILE SANS CASSER L'INDEX --- */

@media (max-width: 768px) {
    /* 1. Restauration parfaite du header et des liens cliquables sur l'index */
    header {
        position: sticky !important;
        top: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
        z-index: 1000 !important;
    }

    nav {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    nav a {
        margin-left: 8px !important;
        font-size: 0.85rem !important;
    }

    /* 2. Isolation propre des fiches logements pour stopper le débordement d'un tiers */
    body {
        overflow-x: hidden !important;
    }

    .container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 15px auto !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    .content, .booking-module, .gallery {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Empêche le module Lodgify de forcer l'élargissement du cadre */
    .booking-module {
        padding: 15px 10px !important;
    }

    #lodgify-book-now-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Décalage net du chat Typebot pour ne plus superposer le bouton Réserver */
    typebot-bubble,
    .typebot-bubble-button,
    [data-testid="bubble-button"] {
        bottom: 115px !important;
        right: 12px !important;
        z-index: 999999 !important;
    }
}
/* --- CORRECTIF NAVIGATION INDEX & DÉFILEMENT MOBILE --- */
@media (max-width: 768px) {
    /* Permet un défilement fluide et propre vers les ancres sur mobile */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px; /* Évite que le header fixe ne cache le titre de la section ciblée */
    }

    /* Compresse légèrement l'espacement des liens du menu mobile pour qu'ils tiennent tous dans l'écran */
    header nav {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        max-width: 65% !important;
        -webkit-overflow-scrolling: touch;
    }

    header nav::-webkit-scrollbar {
        display: none; /* Masque la barre de défilement pour garder un design propre */
    }

    header nav a {
        font-size: 0.8rem !important;
        margin-left: 10px !important;
        white-space: nowrap !important;
    }
}
/* --- MASQUAGE DU MENU CLASSIQUE SUR MOBILE (Garde uniquement le bouton de réservation) --- */
@media (max-width: 768px) {
    /* Cache tous les liens textuels du menu (Tarifs, Simulateur, Avis, Contact) sur smartphone */
    header nav a:not(.btn-nav) {
        display: none !important;
    }

    /* Conserve et met en valeur le bouton de réservation et le sélecteur de langue */
    header nav {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    header nav .btn-nav {
        display: inline-block !important;
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
    }
}/* --- AJUSTEMENT DU BOUTON DE RÉSERVATION MOBILE --- */
@media (max-width: 768px) {
    header {
        padding: 10px 12px !important; /* Réduit légèrement les marges latérales du header */
    }

    header nav {
        gap: 6px !important;
    }

    /* Redimensionnement et mise en forme compacte du bouton de réservation sur mobile */
    header nav .btn-nav {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important; /* Empêche le texte de se couper sur deux lignes */
        border-radius: 20px !important;
        letter-spacing: -0.2px;
    }
}/* --- RÉDUCTION DU LOGO SUR MOBILE POUR DÉGAGER DE L'ESPACE --- */
@media (max-width: 768px) {
    header {
        padding: 8px 10px !important;
    }

    /* Réduit la taille globale du bloc logo sur mobile */
    .logo-block {
        transform: scale(0.85);
        transform-origin: left center;
    }

    /* Ajuste la taille du texte du logo */
    .logo-text, .logo-text-mini {
        font-size: 1.2rem !important;
    }

    /* Réduit l'icône SVG du logo si présente */
    .logo-icon {
        width: 28px !important;
        height: 28px !important;
    }

    /* Laisse plus d'aisance au bouton de réservation en face */
    header nav .btn-nav {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}/* --- RÉDUCTION DRASTIQUE DU LOGO SUR MOBILE --- */
@media (max-width: 768px) {
    header {
        padding: 6px 10px !important;
    }

    /* Réduit la taille visuelle globale du logo d'environ 50% */
    .logo-text, .logo-text-mini {
        font-size: 0.95rem !important;
        letter-spacing: -0.5px;
    }

    /* Si vous utilisez un logo en image ou avec une icône */
    header img, .logo-icon {
        max-height: 22px !important;
        width: auto !important;
    }

    /* Assure un espace confortable pour le bouton à côté */
    header nav .btn-nav {
        padding: 5px 10px !important;
        font-size: 0.72rem !important;
    }
}/* --- RÉDUCTION GLOBALE DU HEADER SUR MOBILE --- */
@media (max-width: 768px) {
    header {
        padding: 6px 10px !important;
        gap: 8px !important;
    }

    /* Réduit de moitié / compacte le texte du logo */
    .logo-text, .logo-text-mini {
        font-size: 0.95rem !important;
        letter-spacing: -0.5px;
    }

    /* Réduit la taille du bouton retour ou des autres liens/boutons restants dans le header */
    .btn-back {
        font-size: 0.8rem !important;
        gap: 4px !important;
    }

    /* Réduit le sélecteur de langue (FR/EN) pour qu'il prenne moins de place */
    .lang-switch {
        padding: 2px !important;
        font-size: 0.7rem !important;
        margin-left: 5px !important;
    }

    .lang-btn {
        padding: 2px 6px !important;
        font-size: 0.7rem !important;
    }

    /* Compacte les boutons de navigation (comme Réserver en direct) */
    header nav .btn-nav, .btn-sticky-book {
        padding: 5px 10px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }
}/* --- RÉDUCTION SUPPLÉMENTAIRE DU LOGO SUR MOBILE --- */
@media (max-width: 768px) {
    /* Réduit encore de moitié le texte du logo (soit 3 fois plus petit qu'à l'origine) */
    .logo-text, .logo-text-mini {
        font-size: 0.65rem !important;
        letter-spacing: -0.5px;
    }

    /* Réduit proportionnellement les icônes ou images éventuelles du logo */
    header img, .logo-icon {
        max-height: 15px !important;
        width: auto !important;
    }
}/* --- CORRECTIF FINAL MOBILE : TEXTE ET CHAT --- */
@media (max-width: 768px) {
    /* 1. Contraint la bannière Meilleur Tarif et son badge pour qu'ils tiennent dans l'écran */
    .direct-price-guarantee {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .guarantee-badge {
        align-self: flex-start !important;
        white-space: normal !important; /* Permet au texte de s'adapter si besoin */
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* 2. Remonte la bulle du chat Typebot beaucoup plus haut pour libérer totalement la barre de réservation */
    typebot-bubble,
    .typebot-bubble-button,
    [data-testid="bubble-button"] {
        bottom: 130px !important; /* Remonté à 130px pour passer largement au-dessus */
        right: 10px !important;
        transform: scale(0.85) !important; /* Réduit légèrement sa taille sur smartphone */
        z-index: 999999 !important;
    }
}/* --- CORRECTIF RADICAL POSITION CHAT TYPEBOT MOBILE --- */
@media (max-width: 768px) {
    /* Cible tous les conteneurs possibles créés par le script Typebot dans le coin inférieur droit */
    div[style*="position: fixed"],
    iframe[src*="typebot"],
    typebot-standard,
    typebot-bubble {
        bottom: 120px !important;
        top: auto !important;
        right: 15px !important;
        z-index: 2147483647 !important;
    }
}/* --- MASQUER LE CHAT SUR LES FICHES DE LOGEMENTS --- */
/* Cible les pages de logements qui possèdent un bloc .booking-module */
body:has(.booking-module) typebot-bubble,
body:has(.booking-module) .typebot-bubble-button,
body:has(.booking-module) [data-testid="bubble-button"],
body:has(.booking-module) iframe[src*="typebot"] {
    display: none !important;
}/* --- CORRECTIF ESPACEMENT FIN DE PAGE LOGEMENT (Mobile) --- */
@media (max-width: 768px) {
    /* Ajoute une grande marge en bas du conteneur et du module de réservation */
    aside.booking-module {
        margin-bottom: 120px !important;
    }
    
    /* Assure que la zone contenant le bouton WhatsApp dispose de tout l'espace nécessaire */
    aside.booking-module > div:last-child {
        padding-bottom: 40px !important;
    }

    /* Augmente l'espace global sous le corps de la page pour ne rien couper */
    .container {
        padding-bottom: 100px !important;
    }
}/* --- REFONTE VISUELLE SECTION PROPRIÉTAIRES (Tarifs) --- */
.pricing-section {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7) !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.pricing-section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

/* Transformation des cartes de tarifs en blocs attrayants et design */
.pricing-grid {
    gap: 25px !important;
}

.price-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    padding: 35px 25px !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative;
    overflow: hidden;
    text-align: left !important;
}

/* Petite bordure colorée décorative en haut de chaque carte */
.price-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--primary);
}

/* Carte centrale mise en valeur (Zéro risque / 0€) */
.price-card:nth-child(2) {
    border: 2px solid var(--accent) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%) !important;
}
.price-card:nth-child(2)::before {
    background: var(--accent);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08) !important;
}

.price-card h3 {
    font-size: 2.5rem !important;
    color: var(--primary) !important;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card h4 {
    font-size: 1.15rem !important;
    color: var(--dark) !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

.price-card p {
    color: #64748b !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}