/* ============================================================================
   Vacandza B2C - Couche "premium" par-dessus le thème Panagea
   ----------------------------------------------------------------------------
   Objectif : élever le rendu au niveau des grandes plateformes de réservation
   (hiérarchie, espacements, cartes, réassurance, accessibilité) SANS toucher
   au HTML structurel ni au JS du thème. 100% additif et réversible : il suffit
   de retirer le <link> dans layouts/b2c.blade.php pour revenir au thème nu.

   Chargé APRÈS bootstrap/style/vendors/color/custom → gagne en spécificité.
   ========================================================================== */

:root {
    /* Marque (dérivée du logo #F8285A) */
    --vz-brand: #F8285A;
    --vz-brand-600: #E11D48;
    --vz-brand-700: #BE123C;
    --vz-brand-soft: #FFF1F4;
    --vz-brand-ring: rgba(248, 40, 90, .28);

    /* Neutres (encre & gris chauds, plus lisibles que le gris du thème) */
    --vz-ink: #0f172a;
    --vz-ink-2: #334155;
    --vz-muted: #64748b;
    --vz-line: #e7eaf0;
    --vz-bg-soft: #f6f7fb;

    /* Réassurance */
    --vz-trust: #0E9F6E;
    --vz-trust-soft: #E7F8F1;

    /* Rayons & ombres */
    --vz-r-sm: 10px;
    --vz-r: 14px;
    --vz-r-lg: 18px;
    --vz-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
    --vz-shadow: 0 4px 12px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .07);
    --vz-shadow-lg: 0 18px 48px rgba(16, 24, 40, .14);
}

/* ── Typographie : Inter, plus moderne et lisible que Poppins par défaut ── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--vz-ink-2);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.main_title_2 h2 {
    font-family: 'Inter', sans-serif;
    color: var(--vz-ink);
    letter-spacing: -.02em;
    font-weight: 700;
}
.main_title_2 h2 { font-weight: 800; }

/* ── Accessibilité : focus visible cohérent partout ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn_1:focus-visible,
.btn_search:focus-visible {
    outline: 3px solid var(--vz-brand-ring) !important;
    outline-offset: 2px;
    border-radius: var(--vz-r-sm);
}

/* ============================================================================
   BOUTONS
   ========================================================================== */
.btn_1,
a.btn_1,
input.btn_1 {
    border-radius: var(--vz-r-sm) !important;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 12px 24px;
    box-shadow: 0 6px 16px rgba(248, 40, 90, .22);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn_1:hover,
a.btn_1:hover,
input.btn_1:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(248, 40, 90, .30);
}
.btn_1:active { transform: translateY(0); }
.btn_1.outline { box-shadow: none; }
.btn_1.outline:hover { box-shadow: 0 6px 16px rgba(248, 40, 90, .18); }
.btn_1.small { padding: 9px 18px; font-size: 14px; }

/* ============================================================================
   BARRE DE RECHERCHE (custom-search-input-2)
   ========================================================================== */
.custom-search-input-2 {
    border-radius: var(--vz-r-lg) !important;
    box-shadow: var(--vz-shadow);
    border: 1px solid rgba(255, 255, 255, .6);
    overflow: visible;
}
.custom-search-input-2 .form-group { margin-bottom: 0; }
.custom-search-input-2 .form-control,
.custom-search-input-2 .panel-dropdown > a {
    height: 45px;
    font-size: 15px;
    color: var(--vz-ink);
}
.custom-search-input-2 .form-control::placeholder { color: var(--vz-muted); }
.custom-search-input-2 i {
    color: var(--vz-brand);
    font-size: 18px;
    opacity: .9;
}
.custom-search-input-2 .btn_search,
.custom-search-input-2 input.btn_search {
    height: 60px;
    border-radius: 0 var(--vz-r-lg) var(--vz-r-lg) 0 !important;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .01em;
}
.custom-search-input-2 .panel-dropdown .qtyTotal {
    background-color: var(--vz-brand) !important;
}
@media (max-width: 991px) {
    .custom-search-input-2 .btn_search,
    .custom-search-input-2 input.btn_search {
        border-radius: var(--vz-r-sm) !important;
        margin-top: 8px;
    }
}

/* ============================================================================
   HERO - overlays soignés + secours sans "placeholder"
   ========================================================================== */
.hero_single.version_2 .wrapper,
.hero_single .wrapper {
    background: linear-gradient(120deg, rgba(15, 23, 42, .62), rgba(190, 18, 60, .42));
}
.hero_single h3 { font-weight: 800; letter-spacing: -.03em; }

/* Pages intérieures : remplace l'image de démo (placeholder) par un dégradé de
   marque élégant, pour ne jamais montrer un visuel "1600x1067". */
.hero_in {
    background: linear-gradient(120deg, #1f2937 0%, #be123c 55%, var(--vz-brand) 100%) !important;
}
.hero_in:before {
    background: linear-gradient(120deg, rgba(15, 23, 42, .55), rgba(190, 18, 60, .35)) !important;
}
.hero_in h1 { font-weight: 800; }

/* ============================================================================
   CARTES HÔTEL - listing (box_list)
   ========================================================================== */
.box_list {
    border: 1px solid var(--vz-line);
    border-radius: var(--vz-r) !important;
    box-shadow: var(--vz-shadow-sm);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    margin-bottom: 26px;
}
.box_list:hover {
    transform: translateY(-3px);
    box-shadow: var(--vz-shadow);
    border-color: #dfe3ec;
}
.box_list figure { margin: 0; height: 100%; min-height: 230px; }
.box_list figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    min-height: 230px;
}
.box_list figure small {
    background-color: var(--vz-brand);
    border-radius: 100px;
    padding: 5px 12px;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}
.box_list .wrapper { padding: 22px 26px 8px; }
.box_list .wrapper h3 { font-size: 20px; margin: 6px 0 8px; }
.box_list .wrapper h3 a { color: var(--vz-ink); }
.box_list .wrapper h3 a:hover { color: var(--vz-brand); }
.box_list .wrapper p { color: var(--vz-muted); font-size: 14.5px; line-height: 1.55; }
.box_list .price { color: var(--vz-muted); font-size: 13px; }
.box_list .price strong { color: var(--vz-ink); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.box_list ul { border-top: 1px solid var(--vz-line); padding: 14px 26px; background: #fcfcfd; }
.box_list ul li:first-child { color: var(--vz-trust); font-weight: 600; font-size: 14px; }
.box_list ul li .icon_check { color: var(--vz-trust); }

/* Ligne de réassurance / méta sous la carte */
.vz-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.vz-chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; line-height: 1;
    padding: 7px 11px; border-radius: 100px;
    background: var(--vz-bg-soft); color: var(--vz-ink-2);
    border: 1px solid var(--vz-line);
}
.vz-chip i { font-size: 14px; }
.vz-chip--trust { background: var(--vz-trust-soft); color: var(--vz-trust); border-color: transparent; }
.vz-urgency { background: #FEF3C7; color: #92400E; border-color: transparent; }

/* Bascule Liste / Carte (résultats de recherche) */
.vz-view-toggle {
    display: inline-flex; background: #fff;
    border: 1px solid var(--vz-line); border-radius: var(--vz-r-sm); overflow: hidden;
}
.vz-view-toggle button {
    border: 0; background: #fff; color: var(--vz-ink-2);
    font-size: 13.5px; font-weight: 600; padding: 9px 15px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background-color .15s ease, color .15s ease;
}
.vz-view-toggle button + button { border-left: 1px solid var(--vz-line); }
.vz-view-toggle button.active { background: var(--vz-brand); color: #fff; }
.vz-view-toggle button:not(.active):hover { background: var(--vz-bg-soft); }
.vz-view-toggle button i { font-size: 16px; }

/* Popup carte (Leaflet) — vignette photo + infos */
.leaflet-popup-content-wrapper { border-radius: var(--vz-r) !important; padding: 0 !important; overflow: hidden; box-shadow: var(--vz-shadow-lg) !important; }
.leaflet-popup-content { margin: 0 !important; width: auto !important; line-height: 1.4; }
.leaflet-popup-tip { box-shadow: var(--vz-shadow) !important; }
.leaflet-popup-content a.vz-map-pop,
.leaflet-popup-content a.vz-map-pop:hover { display: block; text-decoration: none !important; color: var(--vz-ink) !important; }
.vz-map-pop-img { display: block; width: 100%; height: 124px; object-fit: cover; }
.vz-map-pop-body { padding: 12px 15px 15px; }
.vz-map-pop-stars { color: #f5a623 !important; font-size: 13px; line-height: 1; letter-spacing: 1px; }
.vz-map-pop-name { display: block; margin: 5px 0 2px; font-size: 15.5px; font-weight: 800; color: var(--vz-ink) !important; letter-spacing: -.01em; }
.vz-map-pop-city { display: block; font-size: 12.5px; color: var(--vz-muted) !important; }
.vz-map-pop-city i { color: var(--vz-brand) !important; font-size: 13px; margin-right: 2px; }
.vz-map-pop-price { margin: 10px 0 12px; font-size: 18px; font-weight: 800; color: var(--vz-ink) !important; }
.vz-map-pop-price small { font-size: 12px; font-weight: 500; color: var(--vz-muted) !important; }
.vz-map-pop-link {
    display: block; width: 100%; text-align: center; box-sizing: border-box;
    background: var(--vz-brand) !important; color: #fff !important;
    font-weight: 700 !important; font-size: 13.5px;
    padding: 10px 14px !important; border-radius: var(--vz-r-sm);
    box-shadow: 0 4px 12px rgba(248, 40, 90, .28);
    transition: background-color .15s ease, transform .15s ease;
}
.vz-map-pop:hover .vz-map-pop-link { background: var(--vz-brand-700) !important; transform: translateY(-1px); }
/* Bouton de fermeture du popup plus discret */
.leaflet-popup-close-button { color: #fff !important; right: 6px !important; top: 6px !important; font-size: 20px !important; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.vz-chip--info { background: var(--vz-brand-soft); color: var(--vz-brand-700); border-color: transparent; }
.vz-price-night { color: var(--vz-muted); font-size: 13px; font-weight: 500; }
.vz-price-night strong { color: var(--vz-ink-2); font-weight: 700; }

/* ============================================================================
   GRILLE D'ACCUEIL (grid_item)
   ========================================================================== */
.grid_item { border-radius: var(--vz-r) !important; box-shadow: var(--vz-shadow-sm); }
.grid_item figure { border-radius: var(--vz-r); }
.grid_item figure img { transition: transform .5s ease; }
.grid_item:hover figure img { transform: scale(1.06); }
.grid_item .info h3 { font-weight: 700; }

/* ============================================================================
   TITRES DE SECTION
   ========================================================================== */
.main_title_2 span em { background-color: var(--vz-brand); }
.main_title_2 h2 { font-size: 30px; }
.main_title_2 p { color: var(--vz-muted); }

/* "Pourquoi nous" : cartes avec relief */
.boxed_list {
    background: #fff;
    border: 1px solid var(--vz-line);
    border-radius: var(--vz-r);
    padding: 34px 26px;
    box-shadow: var(--vz-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.boxed_list:hover { transform: translateY(-3px); box-shadow: var(--vz-shadow); }
.boxed_list i { color: var(--vz-brand); }
.boxed_list h4 { color: var(--vz-ink); font-weight: 700; }

/* ============================================================================
   FILTRES (sidebar de recherche)
   ========================================================================== */
#filters_col, .vz-filters-card {
    background: #fff;
    border: 1px solid var(--vz-line);
    border-radius: var(--vz-r);
    padding: 6px 22px 22px;
    box-shadow: var(--vz-shadow-sm);
}
/* Repli des filtres sur mobile (toggle via #toggle-filters) */
@media (max-width: 991px) {
    .vz-filters { display: none; margin-bottom: 22px; }
    .vz-filters.open { display: block; }
}
#toggle-filters i { margin-right: 6px; }

.filter_type { padding: 18px 0; border-bottom: 1px solid var(--vz-line); }
.filter_type:last-of-type { border-bottom: 0; }
.filter_type h6 {
    font-weight: 700; color: var(--vz-ink); text-transform: none;
    font-size: 14.5px; letter-spacing: 0; margin-bottom: 12px;
}
.filter_type .form-control { border-radius: var(--vz-r-sm); }
.container_check .checkmark { border-radius: 5px; }
.container_check input:checked ~ .checkmark { background-color: var(--vz-brand); border-color: var(--vz-brand); }
.cat_star .icon_star { color: #f5a623; }

/* Sous-titre de catégorie dans les filtres (Loisirs, Affaires…) */
.vz-filter-cat {
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--vz-muted); margin: 14px 0 8px;
}
.vz-filter-cat:first-child { margin-top: 0; }
/* Équipement filtrable : icône + libellé, ligne cliquable confortable */
.filter_type .container_check.vz-filter-amenity {
    display: flex; align-items: center; gap: 8px;
    padding: 0px 0 0px 34px; min-height: 0; margin-bottom: 4px; font-size: 14px;
    color: var(--vz-ink-2);
}
.vz-filter-amenity i { color: var(--vz-brand); font-size: 16px; width: 18px; text-align: center; }
.vz-filter-amenity:hover { color: var(--vz-ink); }

/* ── Grille d'équipements de la fiche hôtel ── */
.vz-amenities { margin-top: 6px; }
.vz-amenities-cat {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--vz-muted); margin: 18px 0 12px;
}
.vz-amenities-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px;
}
.vz-amenity {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--vz-line); border-radius: var(--vz-r-sm);
    padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.vz-amenity:hover { border-color: #dfe3ec; box-shadow: var(--vz-shadow-sm); transform: translateY(-1px); }
.vz-amenity-ic {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--vz-brand-soft); color: var(--vz-brand);
}
.vz-amenity-ic i { font-size: 19px; }
.vz-amenity-label { font-size: 14px; font-weight: 600; color: var(--vz-ink); line-height: 1.25; }

/* ============================================================================
   CHAMPS DE FORMULAIRE
   ========================================================================== */
.form-control {
    border: 1px solid var(--vz-line);
    border-radius: var(--vz-r-sm);
    color: var(--vz-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus {
    border-color: var(--vz-brand);
    box-shadow: 0 0 0 4px var(--vz-brand-ring);
}

/* ============================================================================
   FICHE HÔTEL - récap réservation sticky + chambres
   ========================================================================== */
.box_detail.booking {
    border: 1px solid var(--vz-line);
    border-radius: var(--vz-r-lg);
    box-shadow: var(--vz-shadow);
    padding: 22px;
}
@media (min-width: 992px) {
    aside#sidebar .box_detail.booking { position: sticky; top: 90px; }
}
.box_detail.booking .cart_header strong { color: var(--vz-ink); font-size: 17px; }
#cart-total, .box_detail .price strong { color: var(--vz-ink); font-weight: 800; }

.room_type {
    border: 1px solid var(--vz-line) !important;
    border-radius: var(--vz-r);
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: var(--vz-shadow-sm);
    background: #fff;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.room_type:hover { box-shadow: var(--vz-shadow); border-color: #dfe3ec; }
.room_type h4 { color: var(--vz-ink); font-weight: 700; }
.room_type .price strong, .room_type strong { color: var(--vz-ink); }

.hotel_facilities li { color: var(--vz-ink-2); font-size: 14px; }
.hotel_facilities li i { color: var(--vz-trust); }

/* En-tête hôtel (étoiles + badges + adresse) */
.vz-hotel-head .cat_star .icon_star { color: #f5a623; font-size: 17px; }
.vz-hotel-address { color: var(--vz-muted); font-size: 14.5px; }
.vz-hotel-address i { color: var(--vz-brand); }
.vz-map-link { color: var(--vz-brand-700); font-weight: 600; }
.vz-map-link:hover { color: var(--vz-brand); text-decoration: underline; }
.vz-head-hint { color: var(--vz-muted); font-size: 13px; }

/* Navigation secondaire : onglets soulignés (au lieu d'une carte vide) */
.secondary_nav {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--vz-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.secondary_nav ul li { margin: 0; }
.secondary_nav ul li a {
    display: inline-block;
    font-weight: 600;
    color: var(--vz-ink-2);
    padding: 14px 2px;
    margin-right: 28px;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.secondary_nav ul li a:hover { color: var(--vz-brand); }
.secondary_nav ul li a.active { color: var(--vz-brand); border-bottom-color: var(--vz-brand); }

/* Badge type d'hôtel (Premium / Partenaire) - pastille soignée */
.vz-type-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 700; line-height: 1;
    padding: 7px 12px; border-radius: 100px; letter-spacing: .01em;
}
.vz-type-badge i { font-size: 14px; }
.vz-type-badge--premium { background: var(--vz-brand); color: #fff; }
.vz-type-badge--partner { background: #eef2f7; color: #334155; border: 1px solid #dbe2ec; }

/* Bandeau de réassurance (trust bar) réutilisable */
.vz-trustbar {
    display: flex; flex-wrap: wrap; gap: 18px;
    background: #fff; border: 1px solid var(--vz-line);
    border-radius: var(--vz-r); padding: 16px 22px;
    box-shadow: var(--vz-shadow-sm); margin-bottom: 22px;
}
.vz-trustbar .vz-trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600; color: var(--vz-ink-2);
}
.vz-trustbar .vz-trust-item i {
    font-size: 22px; color: var(--vz-trust);
    background: var(--vz-trust-soft); border-radius: 10px; padding: 8px;
}

/* ============================================================================
   ALERTES & ÉTATS
   ========================================================================== */
.alert { border-radius: var(--vz-r-sm); border: 1px solid transparent; font-size: 14.5px; }
.alert-success { background: var(--vz-trust-soft); color: #0a6b4a; border-color: #bfe9d8; }
.alert-danger { background: #fdecee; color: #b42318; border-color: #f6c9ce; }
.alert-info { background: #eef6fd; color: #0b5394; border-color: #c9e2f6; }
.alert-light.border { border-color: var(--vz-line) !important; background: var(--vz-bg-soft); }

/* Récap générique (confirmation, mes réservations) */
.box_detail {
    border: 1px solid var(--vz-line);
    border-radius: var(--vz-r);
    box-shadow: var(--vz-shadow-sm);
}

/* Pastille de succès (page de confirmation) */
.vz-success-badge {
    width: 96px; height: 96px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--vz-trust-soft); color: var(--vz-trust);
    margin-bottom: 6px;
}
.vz-success-badge i { font-size: 52px; color: var(--vz-trust); }

/* Cartes compte / connexion */
.box_account {
    border: 1px solid var(--vz-line);
    border-radius: var(--vz-r-lg) !important;
    box-shadow: var(--vz-shadow) !important;
}

/* Carte générique réutilisable */
.vz-card {
    background: #fff; border: 1px solid var(--vz-line);
    border-radius: var(--vz-r); box-shadow: var(--vz-shadow-sm);
    padding: 26px;
}

/* ============================================================================
   FOOTER
   ========================================================================== */
footer { background-color: #0b1220; }
footer .links li a, footer .contacts li a { color: #9aa6b8; transition: color .15s ease; }
footer .links li a:hover, footer .contacts li a:hover { color: #fff; }
footer h5 { color: #fff; font-weight: 700; }
footer .follow_us ul li a { transition: color .15s ease; }
footer .follow_us ul li a:hover { color: var(--vz-brand); }

/* ============================================================================
   DIVERS
   ========================================================================== */
.bg_color_1 { background-color: var(--vz-bg-soft); }
.price strong { color: var(--vz-brand); }
.cont_instagram h3 { color: var(--vz-brand) !important; }

/* Petites tailles utilitaires reprises du thème */
.fs-7 { font-size: 13.5px; }
.fs-8 { font-size: 12.5px; }
