/* ============================================================
   site-v2.css — Design system Au Petit Bonheur (refonte 2026)
   Chargé APRÈS agency.css pour overrider sans casser le legacy.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
    --c-text:        #1f2937;
    --c-text-soft:   #4b5563;
    --c-text-mute:   #9ca3af;
    --c-bg:          #ffffff;
    --c-bg-soft:     #fafafa;
    --c-bg-card:     #ffffff;
    --c-bg-muted:    #f5f5f4;
    --c-border:      #e5e7eb;
    --c-border-soft: #f0f0ee;
    --c-accent:      #fed136;  /* jaune CTA */
    --c-accent-dark: #e8b800;
    --c-dark:        #2c3e50;  /* bleu sombre */
    --c-dark-soft:   #34495e;
    --c-success:     #25D366;

    --r-sm:  6px;
    --r-md:  10px;
    --r-lg:  16px;
    --r-pill: 999px;

    --sh-xs: 0 1px 2px rgba(0,0,0,0.04);
    --sh-sm: 0 2px 6px rgba(0,0,0,0.06);
    --sh-md: 0 6px 18px rgba(0,0,0,0.08);
    --sh-lg: 0 16px 44px rgba(0,0,0,0.10);
    --sh-cta: 0 6px 18px rgba(254, 209, 54, 0.42);

    --font-sans: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-body: "Roboto Slab", "Droid Serif", Georgia, serif;
    --font-accent: "Kaushan Script", cursive;
}

/* ---------- 2. Reset léger + base typo ---------- */
body { color: var(--c-text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5 { font-family: var(--font-sans); color: var(--c-dark); font-weight: 700; letter-spacing: -0.01em; }
a { transition: color 0.15s ease; }

/* Container fluide + responsive */
.v2-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .v2-container { padding: 0 32px; } }

/* ---------- 3. Section heading style ---------- */
.v2-section { padding: 80px 0; }
@media (min-width: 768px) { .v2-section { padding: 110px 0; } }
.v2-section--alt { background: var(--c-bg-soft); }
/* Override legacy agency.css : section#contact a un background image + bg #222 */
section#contact.v2-section,
section#contact.v2-section--alt {
    background-color: var(--c-bg-soft) !important;
    background-image: none !important;
}
section#contact .v2-section-head h2,
section#contact .v2-section-head .lead { color: var(--c-dark); }

.v2-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.v2-section-head .eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-accent-dark);
    margin-bottom: 14px;
}
.v2-section-head h2 {
    font-size: 32px; line-height: 1.15;
    margin: 0 0 14px;
}
@media (min-width: 768px) { .v2-section-head h2 { font-size: 40px; } }
.v2-section-head .lead {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 18px;
    color: var(--c-text-soft);
    line-height: 1.6;
    margin: 0;
}

/* ---------- 4. Boutons ---------- */
.v2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-sans); font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--r-md);
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    font-size: 15px; letter-spacing: 0.3px;
    cursor: pointer;
    line-height: 1;
}
.v2-btn--primary {
    background: var(--c-accent);
    color: var(--c-dark);
    box-shadow: var(--sh-cta);
}
.v2-btn--primary:hover, .v2-btn--primary:focus {
    background: var(--c-accent-dark);
    color: var(--c-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(254, 209, 54, 0.55);
    text-decoration: none;
}
.v2-btn--secondary {
    background: transparent;
    color: var(--c-dark);
    border-color: var(--c-dark);
}
.v2-btn--secondary:hover, .v2-btn--secondary:focus {
    background: var(--c-dark);
    color: #fff;
    text-decoration: none;
}
.v2-btn--ghost {
    background: transparent; color: var(--c-text-soft); border-color: var(--c-border);
}
.v2-btn--ghost:hover { background: var(--c-bg-muted); color: var(--c-dark); }
.v2-btn--lg { padding: 16px 32px; font-size: 16px; }
.v2-btn--block { display: flex; width: 100%; }

/* ---------- 5. Apartment cards ---------- */
.v2-apts { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 880px) { .v2-apts { grid-template-columns: 1fr 1fr; gap: 36px; } }

.v2-apt {
    background: var(--c-bg-card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; flex-direction: column;
}
.v2-apt:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}
.v2-apt--clickable { cursor: pointer; }
/* clicks on inner pseudo-button traversent vers l'article (data-toggle Bootstrap) */
.v2-apt--clickable .v2-btn { pointer-events: none; }
.v2-apt__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.v2-apt__badge {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,255,255,0.96);
    color: var(--c-dark);
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 700;
    box-shadow: var(--sh-xs);
}
.v2-apt__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.v2-apt__title { font-size: 22px; margin: 0 0 6px; }
.v2-apt__subtitle { font-family: var(--font-sans); font-size: 13px; color: var(--c-text-mute); margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1.5px; }
.v2-apt__desc { font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: var(--c-text-soft); margin: 0 0 20px; flex: 1; }
.v2-apt__features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-apt__features li {
    background: var(--c-bg-muted);
    color: var(--c-text-soft);
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
}
.v2-apt__features li i { color: var(--c-accent-dark); font-size: 11px; }
.v2-apt__price {
    border-top: 1px solid var(--c-border-soft);
    padding-top: 18px;
    margin-bottom: 18px;
    display: flex; align-items: baseline; gap: 10px;
}
.v2-apt__price-from { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; color: var(--c-text-mute); letter-spacing: 1px; }
.v2-apt__price-num { font-family: var(--font-sans); font-size: 28px; font-weight: 800; color: var(--c-dark); line-height: 1; }
.v2-apt__price-unit { font-family: var(--font-sans); font-size: 13px; color: var(--c-text-soft); }
.v2-apt__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.v2-apt__actions .v2-btn { flex: 1; min-width: 130px; padding: 12px 16px; font-size: 14px; }

/* ---------- 6. Feature row (pourquoi nous) ---------- */
.v2-features { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 640px) { .v2-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .v2-features { grid-template-columns: repeat(4, 1fr); } }
.v2-feature {
    background: #fff;
    padding: 28px 22px;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xs);
    text-align: center;
    transition: transform 0.18s ease;
}
.v2-feature:hover { transform: translateY(-4px); box-shadow: var(--sh-sm); }
.v2-feature__icon {
    width: 56px; height: 56px;
    margin: 0 auto 18px;
    background: var(--c-accent);
    color: var(--c-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.v2-feature h3 { font-size: 17px; margin: 0 0 8px; }
.v2-feature p { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--c-text-soft); margin: 0; }

/* ---------- 7. Rates table ---------- */
.v2-rates { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .v2-rates { grid-template-columns: 1fr 1fr; } }
.v2-rates-card {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
}
.v2-rates-card__head {
    background: var(--c-dark);
    color: #fff;
    padding: 22px 26px;
}
.v2-rates-card__head h3 { color: #fff; margin: 0; font-size: 19px; }
.v2-rates-card__head .cap { font-family: var(--font-sans); font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }
.v2-rates-table { width: 100%; border-collapse: collapse; }
.v2-rates-table th { background: var(--c-bg-muted); padding: 10px 14px; font-family: var(--font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-text-soft); text-align: left; }
.v2-rates-table td { padding: 14px; border-top: 1px solid var(--c-border-soft); font-family: var(--font-sans); font-size: 14px; }
.v2-rates-table tbody tr:hover { background: #fafaf8; }
.v2-rates-table .period { color: var(--c-text-soft); font-weight: 600; }
.v2-rates-table .price { color: var(--c-dark); font-weight: 800; font-size: 16px; }
.v2-rates-note { margin-top: 16px; padding: 14px 18px; background: #fffbe6; border-left: 3px solid var(--c-accent); border-radius: 4px; font-size: 13px; color: var(--c-text-soft); }
.v2-rates-note strong { color: var(--c-dark); }

/* ---------- 8. Info / fees panel ---------- */
.v2-info-panel {
    margin-top: 36px;
    background: #fff;
    border-radius: var(--r-lg);
    padding: 28px 32px;
    box-shadow: var(--sh-sm);
}
.v2-info-panel h3 { font-size: 18px; margin: 0 0 14px; }
.v2-info-panel p { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--c-text-soft); margin: 0 0 12px; }
.v2-info-panel ul { padding-left: 22px; }
.v2-info-panel li { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--c-text-soft); }
.v2-warning {
    background: #fffbe6;
    border-left: 4px solid var(--c-accent);
    padding: 16px 20px;
    border-radius: 4px;
    margin-top: 16px;
    color: var(--c-text-soft);
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- 9. Booking form ---------- */
.v2-form {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 36px 32px;
    box-shadow: var(--sh-md);
    max-width: 920px;
    margin: 0 auto;
}
@media (min-width: 768px) { .v2-form { padding: 48px 44px; } }
.v2-form__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .v2-form__grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }
.v2-form__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-text-mute); margin: 0 0 16px; }
.v2-field { margin-bottom: 16px; }
.v2-field label { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--c-text-soft); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.v2-field input,
.v2-field select,
.v2-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--c-text);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.v2-field input:focus,
.v2-field select:focus,
.v2-field textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(254, 209, 54, 0.18);
}
.v2-field textarea { min-height: 120px; resize: vertical; }
.v2-form__submit { margin-top: 28px; text-align: center; }
.v2-form__submit .v2-btn { padding: 16px 40px; font-size: 15px; }

/* ---------- 10. Featured chip (booking-direct argument) ---------- */
.v2-direct-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 100%);
    border: 1px solid #fed136;
    color: var(--c-dark);
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-size: 14px; font-weight: 700;
    margin-bottom: 30px;
}
.v2-direct-chip i { color: var(--c-accent-dark); }

/* ---------- 11. Footer global v2 ---------- */
footer.v2-footer {
    background: var(--c-dark);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 30px;
    margin-top: 0;
    text-align: left;
}
footer.v2-footer a { color: rgba(255,255,255,0.85); }
footer.v2-footer a:hover { color: var(--c-accent); text-decoration: none; }
.v2-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 768px) { .v2-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; } }
.v2-footer h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 18px;
    font-weight: 700;
}
.v2-footer ul { list-style: none; padding: 0; margin: 0; }
.v2-footer li { margin-bottom: 8px; font-family: var(--font-sans); font-size: 14px; }
.v2-footer .brand-name {
    font-family: var(--font-accent);
    font-size: 28px;
    color: var(--c-accent);
    display: block;
    margin-bottom: 14px;
}
.v2-footer .brand-desc { font-family: var(--font-body); font-size: 14px; line-height: 1.65; opacity: 0.85; }
.v2-footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.v2-footer-legal { width: 100%; text-align: center; padding-top: 12px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; }
.v2-footer-legal a { color: rgba(255,255,255,0.55); text-decoration: none; }
.v2-footer-legal a:hover { color: var(--c-accent); }

/* ---------- Navbar override : éviter le débordement et garantir le contraste ---------- */
@media (min-width: 768px) {
    /* Force un fond sombre semi-transparent + blur même avant le scroll (pour ne jamais bleed sur le bandeau jaune) */
    .navbar-custom {
        background-color: rgba(34, 34, 34, 0.55) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color 0.3s ease, padding 0.3s ease;
    }
    .navbar-custom.affix {
        background-color: rgba(34, 34, 34, 0.96) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    /* Empêcher le menu de wrapper sous le brand */
    .navbar-custom .navbar-nav { white-space: nowrap; }
    .navbar-custom .nav li a { padding: 10px 12px !important; letter-spacing: 0.5px; font-size: 13px; }
}
/* Sur écrans < 1280 : items plus compacts pour absorber les 8 liens FR */
@media (min-width: 768px) and (max-width: 1280px) {
    .navbar-custom .nav li a { padding: 10px 8px !important; font-size: 12px; }
    .navbar-custom .navbar-brand { font-size: 1.6em; }
}
.v2-footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    margin-right: 8px;
}
.v2-footer-social a:hover { background: var(--c-accent); color: var(--c-dark); }

/* ---------- 12. Improve existing direct-booking-banner ---------- */
.direct-booking-banner p i { color: var(--c-dark) !important; }

/* ---------- 13. Gallery carousel ---------- */
.v2-gallery {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    background: #111;
    position: relative;
}
.v2-gallery .carousel-inner {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}
.v2-gallery .item {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100%;
}
.v2-gallery .item.active { position: relative; }
.v2-gallery .item img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* dégradé bas pour lisibilité de la caption */
.v2-gallery .item::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    pointer-events: none;
}
.v2-gallery .caption {
    position: absolute;
    bottom: 30px; left: 30px; right: 30px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    z-index: 2;
    text-align: left;
}
.v2-gallery .caption strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

/* Arrows ronds modernes */
.v2-gallery .carousel-control {
    background: none !important;
    background-image: none !important;
    filter: none;
    opacity: 1;
    width: 52px; height: 52px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: none;
    transition: background 0.18s ease, transform 0.18s ease;
    z-index: 3;
}
.v2-gallery .carousel-control::before { display: none; }
.v2-gallery .carousel-control.left { left: 20px; right: auto; background-color: rgba(0,0,0,0.5) !important; }
.v2-gallery .carousel-control.right { right: 20px; left: auto; background-color: rgba(0,0,0,0.5) !important; }
.v2-gallery .carousel-control:hover { background-color: rgba(254,209,54,0.95) !important; transform: translateY(-50%) scale(1.05); }
.v2-gallery .carousel-control:hover .glyphicon { color: #2c3e50; }
.v2-gallery .carousel-control .glyphicon {
    color: #fff;
    font-size: 20px;
    position: static;
    margin: 0;
    text-shadow: none;
    transition: color 0.18s ease;
}

/* Indicators modernes : barres avec active = jaune et plus large */
.v2-gallery .carousel-indicators {
    bottom: 14px;
    margin: 0;
    padding: 0 30px;
    left: 0; right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 3;
}
.v2-gallery .carousel-indicators li {
    width: 22px; height: 4px;
    border-radius: 2px;
    margin: 0;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.18s, width 0.18s;
}
.v2-gallery .carousel-indicators li:hover { background: rgba(255,255,255,0.7); }
.v2-gallery .carousel-indicators li.active {
    background: var(--c-accent);
    width: 32px;
    margin: 0;
}

@media (max-width: 767px) {
    .v2-gallery .carousel-inner { aspect-ratio: 4 / 3; }
    .v2-gallery .carousel-control { width: 40px; height: 40px; }
    .v2-gallery .carousel-control.left { left: 12px; }
    .v2-gallery .carousel-control.right { right: 12px; }
    .v2-gallery .carousel-control .glyphicon { font-size: 16px; }
    .v2-gallery .caption { bottom: 50px; left: 20px; right: 20px; font-size: 14px; }
    .v2-gallery .caption strong { font-size: 17px; }
    .v2-gallery .carousel-indicators { bottom: 12px; padding: 0 16px; flex-wrap: wrap; }
    .v2-gallery .carousel-indicators li { width: 14px; height: 3px; }
    .v2-gallery .carousel-indicators li.active { width: 22px; }
}

/* ---------- 14. Booking calculator ---------- */
#booking-total { margin-top: 20px; }
.bk-total {
    padding: 22px 26px;
    background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 100%);
    border: 1px solid #fed136;
    border-radius: var(--r-md);
}
.bk-row { display: flex; justify-content: space-between; padding: 6px 0; font-family: var(--font-sans); font-size: 15px; color: var(--c-text-soft); }
.bk-row strong { color: var(--c-dark); font-weight: 700; }
.bk-row-total { padding-top: 12px; margin-top: 8px; border-top: 1px solid rgba(254,209,54,0.5); }
.bk-row-total span { color: var(--c-dark); font-weight: 600; font-size: 17px; }
.bk-row-total strong { font-size: 24px; }
.bk-note { font-size: 12px; color: var(--c-text-mute); margin-top: 12px; font-family: var(--font-sans); font-style: italic; }
.bk-hint { padding: 14px 18px; background: var(--c-bg-muted); border-radius: var(--r-sm); color: var(--c-text-soft); font-size: 14px; font-family: var(--font-sans); text-align: center; }
.bk-warn { padding: 14px 18px; background: #fff8e1; border-left: 3px solid #f59e0b; border-radius: 4px; color: #b45309; font-size: 14px; font-family: var(--font-sans); }
.bk-err { padding: 14px 18px; background: #fee2e2; border-left: 3px solid #ef4444; border-radius: 4px; color: #b91c1c; font-size: 14px; font-family: var(--font-sans); font-weight: 600; }

/* Forfait ménage optionnel */
.bk-row--optional { align-items: center; gap: 14px; }
.bk-clean { display: flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--font-sans); font-size: 15px; color: var(--c-text-soft); flex: 1; margin: 0; }
.bk-clean input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 20px; height: 20px;
    border: 2px solid var(--c-border, #d1d5db);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.bk-clean input[type="checkbox"]:checked {
    background: var(--c-accent, #fed136);
    border-color: var(--c-accent, #fed136);
}
.bk-clean input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.bk-clean__lbl { font-weight: 600; color: var(--c-dark); }
.bk-clean__amount { white-space: nowrap; }
.bk-clean-help { font-size: 12px; color: var(--c-text-mute); font-family: var(--font-sans); font-style: italic; margin: 4px 0 8px; padding-left: 30px; }

/* ---------- 14b. Datepicker ---------- */
.v2-field--dates .dp-trigger {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1.5px solid var(--c-border, #d1d5db);
    border-radius: var(--r-md, 10px);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
}
.v2-field--dates .dp-trigger:hover,
.v2-field--dates .dp-trigger:focus { border-color: var(--c-accent, #fed136); box-shadow: 0 0 0 3px rgba(254,209,54,0.15); outline: none; }
.v2-field--dates .dp-trigger--filled { border-color: var(--c-accent, #fed136); background: #fffdf5; }
.dp-trigger__cell { flex: 1; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dp-trigger__lbl { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-text-mute, #6b7280); font-family: var(--font-sans); }
.dp-trigger__val { font-size: 15px; font-weight: 600; color: var(--c-dark, #2c3e50); font-family: var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-trigger__sep { display: flex; align-items: center; padding: 0 8px; color: var(--c-text-mute, #9ca3af); font-size: 13px; background: var(--c-bg-soft, #fafaf7); border-left: 1px solid var(--c-border, #e5e7eb); border-right: 1px solid var(--c-border, #e5e7eb); }

.dp-popup {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    padding: 18px;
    width: min(92vw, 720px);
    max-height: 92vh;
    overflow-y: auto;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-sans, "Montserrat", sans-serif);
}
body.dp-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(0,0,0,0.35); z-index: 9998;
    backdrop-filter: blur(2px);
}
.dp-popup__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.dp-popup__title { flex: 1; text-align: center; font-weight: 700; color: var(--c-dark, #2c3e50); font-size: 16px; }
.dp-nav { background: var(--c-bg-muted, #f5f5f4); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 20px; color: var(--c-dark, #2c3e50); display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s; }
.dp-nav:hover:not(:disabled) { background: var(--c-accent, #fed136); }
.dp-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.dp-popup__hint { text-align: center; font-size: 13px; color: var(--c-text-soft, #4b5563); margin-bottom: 14px; min-height: 18px; }
.dp-popup__months { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .dp-popup__months { grid-template-columns: 1fr 1fr; } }
.dp-month__title { text-align: center; font-weight: 700; color: var(--c-dark, #2c3e50); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-dow { text-align: center; font-size: 10px; font-weight: 700; color: var(--c-text-mute, #9ca3af); text-transform: uppercase; padding: 4px 0; }
.dp-empty { background: transparent; }
.dp-day {
    aspect-ratio: 1;
    background: #fff; border: 1px solid transparent;
    color: var(--c-dark, #2c3e50);
    border-radius: 6px;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: background 0.1s, color 0.1s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.dp-day--avail:hover:not(:disabled) { background: #fff4c2; border-color: var(--c-accent, #fed136); }
.dp-day--past { color: #cbd5e1; cursor: not-allowed; background: #f9fafb; }
.dp-day--booked { color: #b91c1c; cursor: not-allowed; background: #fee2e2; text-decoration: line-through; }
.dp-day--start, .dp-day--end { background: var(--c-accent, #fed136) !important; color: #2c3e50 !important; font-weight: 800; border-color: var(--c-accent, #fed136); }
.dp-day--in { background: #fff4c2; color: var(--c-dark, #2c3e50); }
.dp-day--preview { background: rgba(254,209,54,0.35); color: var(--c-dark, #2c3e50); }
.dp-popup__legend { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 14px 0 6px; font-size: 12px; color: var(--c-text-soft, #4b5563); }
.dp-popup__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dp-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.dp-sw--avail { background: #fff; border: 1px solid #d1d5db; }
.dp-sw--booked { background: #fee2e2; border: 1px solid #fecaca; }
.dp-sw--range { background: var(--c-accent, #fed136); }
.dp-popup__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--c-border, #e5e7eb); }
.dp-btn { font-family: inherit; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 8px; cursor: pointer; border: none; }
.dp-btn--ghost { background: transparent; color: var(--c-text-soft, #4b5563); }
.dp-btn--ghost:hover { background: var(--c-bg-muted, #f5f5f4); }
.dp-btn--primary { background: var(--c-accent, #fed136); color: var(--c-dark, #2c3e50); }
.dp-btn--primary:hover { background: #fec503; }
@media (max-width: 480px) {
    .dp-popup { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; top: 0; left: 0; transform: none; padding: 14px; }
    .dp-trigger__sep { padding: 0 4px; }
    .dp-trigger__cell { padding: 10px 12px; }
    .dp-trigger__lbl { font-size: 10px; }
    .dp-trigger__val { font-size: 13px; }
}

/* ---------- 15. Responsive fixes ---------- */
/* Boutons legacy .btn-xl qui débordent sur mobile (long texte) */
@media (max-width: 640px) {
    .btn-xl, .btn-lg {
        white-space: normal !important;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        max-width: calc(100vw - 40px);
        padding: 14px 22px;
        font-size: 14px;
        line-height: 1.3;
    }
    .booking-note img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
}

/* Empêcher tout débordement horizontal global */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }

/* Forfait ménage panel : grid responsive sur mobile */
@media (max-width: 640px) {
    .v2-info-panel > div[style*="grid-template-columns:1fr 1fr"],
    .v2-info-panel > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* Hero CTA wrap mobile pour éviter dépassement */
@media (max-width: 480px) {
    .hero-cta { gap: 10px; }
    .hero-cta .btn-xl { font-size: 13px; padding: 14px 20px; }
}

/* Banner direct-booking : texte qui wrappe sur petit écran (au lieu de scroll) */
.direct-booking-banner p {
    padding: 0 14px;
    word-wrap: break-word;
}

/* Modal Bootstrap legacy : pas de débordement sur mobile */
.modal-content, .portfolio-modal .modal-content { max-width: 100%; }
.portfolio-modal iframe { max-width: 100% !important; }

/* ---------- 16. Sticky CTA bar (pages appart) ---------- */
.v2-sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.10);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 1035;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.v2-sticky-cta.visible { transform: translateY(0); }
.v2-sticky-cta .info { display: flex; flex-direction: column; min-width: 0; }
.v2-sticky-cta .info-name { font-family: var(--font-sans); font-weight: 700; color: var(--c-dark); font-size: 14px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-sticky-cta .info-price { font-family: var(--font-sans); font-size: 12px; color: var(--c-text-soft); margin-top: 2px; }
.v2-sticky-cta .info-price strong { color: var(--c-dark); font-size: 14px; }
.v2-sticky-cta .v2-btn { padding: 12px 22px; font-size: 14px; box-shadow: none; flex-shrink: 0; }
.v2-sticky-cta .v2-btn:hover { transform: none; box-shadow: 0 4px 12px rgba(254,209,54,0.4); }
@media (max-width: 480px) {
    .v2-sticky-cta { padding: 10px 14px; gap: 10px; }
    .v2-sticky-cta .info-name { font-size: 13px; }
    .v2-sticky-cta .info-price { font-size: 11px; }
    .v2-sticky-cta .v2-btn { padding: 10px 16px; font-size: 13px; }
}
/* Bouton WhatsApp remonte quand la sticky est visible */
body.has-sticky-cta .wa-fab { bottom: 84px !important; }
@media (max-width: 480px) { body.has-sticky-cta .wa-fab { bottom: 76px !important; } }
/* Padding bas de la page pour ne pas masquer le contenu sous la sticky */
body.has-sticky-cta { padding-bottom: 80px; }
@media (max-width: 480px) { body.has-sticky-cta { padding-bottom: 72px; } }

/* ---------- 17. Breadcrumbs ---------- */
.v2-breadcrumbs { background: #fafafa; padding: 12px 0; border-bottom: 1px solid #eee; font-family: var(--font-sans); font-size: 13px; }
.v2-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.v2-breadcrumbs li { display: inline-flex; align-items: center; color: var(--c-text-soft); }
.v2-breadcrumbs li + li::before { content: "›"; margin: 0 10px; color: var(--c-text-mute); }
.v2-breadcrumbs a { color: var(--c-text-soft); text-decoration: none; }
.v2-breadcrumbs a:hover { color: var(--c-dark); text-decoration: underline; }
.v2-breadcrumbs li[aria-current="page"] { color: var(--c-dark); font-weight: 600; }
.v2-breadcrumbs .container, .v2-breadcrumbs .v2-container { padding-left: 20px; padding-right: 20px; }

/* ---------- 18. Hero V2 (mutualisé, anciennement inline sur index.php) ---------- */
header.hero-v2 {
    position: relative;
    min-height: 100vh;
    background-image: url('/img/header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 140px 0 100px;
    overflow: hidden;
}
header.hero-v2 .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
header.hero-v2 .container,
header.hero-v2 .v2-container { position: relative; z-index: 2; }

.hero-content { max-width: 820px; margin: 0 auto; }

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.92);
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    margin-bottom: 28px;
    line-height: 1;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-rating .hero-stars { color: #fed136; font-size: 16px; letter-spacing: 1px; }
.hero-rating strong { font-size: 20px; font-weight: 800; color: #2c3e50; }
.hero-rating .hero-rating-suffix { font-weight: 500; opacity: 0.55; font-size: 14px; margin-left: 2px; }
.hero-rating .hero-rating-meta { color: #555; font-weight: 500; }

.hero-title {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.1;
    margin: 0 0 22px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    color: #fff;
}
.hero-title-accent {
    font-family: "Kaushan Script", cursive;
    font-weight: 400;
    color: #fed136;
    font-size: 0.9em;
    letter-spacing: 0;
}
.hero-sub {
    font-family: "Droid Serif", "Helvetica Neue", Arial, serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto 36px;
    max-width: 640px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero-primary {
    background: #fed136 !important;
    border-color: #fed136 !important;
    color: #2c3e50 !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(254, 209, 54, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-hero-primary:hover, .btn-hero-primary:focus {
    background: #fec503 !important;
    border-color: #fec503 !important;
    color: #2c3e50 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 209, 54, 0.55);
}
.btn-hero-secondary {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    font-weight: 700;
    transition: background 0.15s ease;
}
.btn-hero-secondary:hover, .btn-hero-secondary:focus {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

.hero-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-chips li {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 8px 14px;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-chips li i { color: #fed136; }
.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 28px;
    z-index: 2;
    animation: heroBounce 2.2s ease-in-out infinite;
}
.hero-scroll:hover, .hero-scroll:focus { color: #fff; text-decoration: none; }
@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 767px) {
    header.hero-v2 { padding: 110px 0 80px; min-height: auto; }
    .hero-title { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .hero-rating { font-size: 13px; padding: 10px 18px; gap: 8px; }
    .hero-rating .hero-rating-meta {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 12px;
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid rgba(0,0,0,0.08);
    }
    .hero-cta .btn-xl { width: 100%; max-width: 320px; }
    .hero-chips li { font-size: 12px; padding: 6px 12px; }
    .hero-scroll { display: none; }
}
@media (max-width: 480px) {
    .hero-cta { gap: 10px; }
    .hero-cta .btn-xl { font-size: 13px; padding: 14px 20px; }
}

/* ---------- 19. Hero V2 — variante compacte (pages contenu) ---------- */
header.hero-v2--compact {
    min-height: auto;
    padding: 160px 0 70px;
}
@media (max-width: 767px) {
    header.hero-v2--compact { padding: 110px 0 50px; }
}

/* Hero V2 — variante article (avec date + tags meta) */
header.hero-v2--article {
    min-height: auto;
    padding: 180px 0 70px;
}
@media (max-width: 767px) {
    header.hero-v2--article { padding: 120px 0 50px; }
}
header.hero-v2--article .hero-meta {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    opacity: 0.85;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
}

/* ---------- 20. Helpers ---------- */
.v2-text-center { text-align: center; }
.v2-mt-lg { margin-top: 40px; }
.v2-mb-lg { margin-bottom: 40px; }
.v2-mt-xl { margin-top: 60px; }
