/* =====================================================================
   KM-HÔTEL — Site public (Front Office)
   Mobile-first ; aucune largeur fixe > viewport ; aucune astuce 100vw
   (cause de la barre de défilement horizontale sous Windows).
   ===================================================================== */

/* ---------- Jetons de thème ---------- */
:root {
    /* Jaune du logo KM-HÔTEL (dominante mesurée sur assets/img/logo.jpg) */
    --kt-gold: #d6a847;
    --kt-gold-hover: #e2b858;
    --kt-top-bg: var(--kt-gold);
    --kt-top-text: #131b2e;          /* texte foncé : le blanc sur ce jaune est illisible (contraste ≈ 2:1) */
    --kt-nav-bg: #131b2e;
    --kt-pill-bg: var(--kt-gold);
    --kt-pill-text: #131b2e;

    --f-bg: #f4f6f8;
    --f-surface: #ffffff;
    --f-surface-2: #eef1f5;
    --f-text: #1c2733;
    --f-heading: #0f2438;
    --f-muted: #607080;
    --f-border: #e3e8ee;
    --f-shadow: 0 6px 22px rgba(15, 36, 56, .08);
    --f-radius: 14px;
    --f-max: 1200px;
    --f-gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------- Base ---------- */
html { overflow-x: clip; scroll-padding-top: 90px; }
.front-body {
    margin: 0;
    overflow-x: clip;               /* filet de sécurité, les causes sont corrigées plus bas */
    background: var(--f-bg);
    color: var(--f-text);
    font-family: var(--font-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.front-body.no-scroll { overflow: hidden; }
.front-body img { max-width: 100%; }
.front-body h1, .front-body h2, .front-body h3 { color: var(--f-heading); }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 3000; }
.skip-link:focus { left: .5rem; }
.card-hint { color: var(--f-muted); font-size: .85rem; }

/* =====================================================================
   BANDEAU SUPÉRIEUR (modèle de la capture)
   ===================================================================== */
.kt-top { background: var(--kt-top-bg); color: var(--kt-top-text); }
.kt-top-inner {
    max-width: 1400px; margin: 0 auto;
    padding: 0 var(--f-gutter);
    display: flex; align-items: center; gap: 1.5rem;
    min-height: 52px;
}
.kt-top-infos { display: flex; align-items: center; gap: 2rem; flex: 1; min-width: 0; }
.kt-info { display: inline-flex; align-items: center; gap: .45rem; color: var(--kt-top-text); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.kt-info-label { opacity: .8; }
.kt-info b { color: var(--kt-top-text); font-weight: 600; }
.kt-info svg { width: 19px; height: 19px; fill: none; stroke: var(--kt-top-text); stroke-width: 1.8; flex-shrink: 0; }
a.kt-info:hover b { text-decoration: underline; }

.kt-top-tools { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.kt-socials { display: flex; gap: .35rem; }
.kt-socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--kt-top-text); }
.kt-socials a:hover { background: rgba(19,27,46,.12); }
.kt-socials svg { width: 19px; height: 19px; }
.kt-sep { width: 1px; height: 26px; background: rgba(19,27,46,.3); }
.kt-search {
    display: flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.35); border-radius: 999px;
    padding: .4rem 1rem; width: 210px; max-width: 100%;
    transition: background .2s, width .25s;
}
.kt-search:focus-within { background: #fff; width: 260px; }
.kt-search svg { width: 18px; height: 18px; fill: none; stroke: var(--kt-top-text); stroke-width: 2; flex-shrink: 0; }
.kt-search input {
    border: 0; background: transparent; outline: none; color: var(--kt-top-text); font: inherit; font-size: .95rem;
    width: 100%; min-width: 0;
}
.kt-search input::placeholder { color: rgba(19,27,46,.7); }

/* =====================================================================
   NAVIGATION PRINCIPALE
   ===================================================================== */
.kt-nav { background: var(--kt-nav-bg); position: sticky; top: 0; z-index: 900; transition: box-shadow .25s; }
.kt-nav.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.kt-nav-inner {
    max-width: 1400px; margin: 0 auto; padding: .7rem var(--f-gutter);
    display: flex; align-items: center; gap: 1.5rem; min-height: 84px;
}
.kt-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.kt-brand img { height: 58px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; }
.kt-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.kt-brand strong { font-size: 1.35rem; font-weight: 700; }
.kt-brand small { color: #b8c0cf; font-size: .82rem; }

.kt-menu { display: flex; align-items: center; justify-content: center; gap: 2rem; flex: 1; }
.kt-menu a {
    position: relative; color: #e7eaf2; text-decoration: none;
    font-size: 1.08rem; font-weight: 500; padding: .45rem 0; white-space: nowrap;
}
.kt-menu a::after {
    content: ""; position: absolute; left: 50%; bottom: -6px; width: 0; height: 4px;
    border-radius: 4px; background: var(--kt-gold); transform: translateX(-50%); transition: width .2s;
}
.kt-menu a:hover::after, .kt-menu a.is-active::after { width: 60%; }
.kt-menu a.is-active { color: #fff; font-weight: 600; }
.kt-menu .kt-menu-pro-mobile { display: none; }

.kt-nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.kt-pill {
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--kt-pill-bg); color: var(--kt-pill-text); text-decoration: none;
    font-weight: 600; font-size: 1.1rem; padding: .8rem 1.6rem; border-radius: 999px;
    transition: transform .15s, filter .15s;
}
.kt-pill:hover { background: var(--kt-gold-hover); transform: translateY(-1px); }
.kt-pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.kt-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.kt-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.kt-burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.kt-burger.is-open span:nth-child(2) { opacity: 0; }
.kt-burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.kt-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 950; }

/* ---------- Responsive en-tête ---------- */
@media (max-width: 1280px) {
    .kt-info-label { display: none; }
    .kt-menu { gap: 1.4rem; }
    .kt-menu a { font-size: 1rem; }
}
@media (max-width: 1024px) {
    .kt-top-infos { gap: 1rem; }
    .kt-burger { display: flex; }
    .kt-menu {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
        background: var(--kt-nav-bg); padding: 5rem 1.5rem 2rem; z-index: 1000;
        transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
        visibility: hidden;
    }
    .kt-menu.is-open { transform: translateX(0); visibility: visible; }
    .kt-menu a { padding: .9rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
    .kt-menu a::after { left: 0; transform: none; bottom: 8px; }
    .kt-menu a:hover::after, .kt-menu a.is-active::after { width: 28px; }
    .kt-menu .kt-menu-pro-mobile { display: block; }
    .kt-nav-actions { margin-left: auto; position: relative; z-index: 1001; }
}
@media (max-width: 860px) {
    .kt-top-infos .kt-info:not(:first-child) { display: none; }
    .kt-socials, .kt-sep { display: none; }
}
@media (max-width: 640px) {
    .kt-top { position: relative; }
    .kt-top-inner { gap: .75rem; min-height: 46px; }
    .kt-info { font-size: .88rem; }
    .kt-search { width: 40px; padding: .45rem; justify-content: center; }
    .kt-search input { width: 0; padding: 0; }
    .kt-search:focus-within { position: absolute; left: var(--f-gutter); right: var(--f-gutter); top: 50%; transform: translateY(-50%); width: auto; z-index: 5; padding: .45rem 1rem; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
    .kt-search:focus-within input { width: 100%; }
    .kt-nav-inner { min-height: 66px; gap: .75rem; }
    .kt-brand img { height: 46px; width: auto; max-width: 110px; }
    .kt-brand strong { font-size: 1.1rem; }
    .kt-pill { padding: .6rem .9rem; font-size: .95rem; }
}
@media (max-width: 400px) {
    .kt-pill span { display: none; }
    .kt-brand small { display: none; }
}

/* =====================================================================
   BOUTONS / FORMULAIRES COMMUNS DU SITE
   ===================================================================== */
.front-body .btn { font-family: inherit; line-height: 1.2; }
.front-body .btn-primary { margin-top: 0; }
.btn-gold { background: var(--color-gold); color: #0f2438; }
.btn-gold:hover { background: #b8923f; }
.btn-ghost { background: transparent; color: var(--f-heading); border: 1.5px solid var(--f-border); }
.btn-ghost:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-block { display: block; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.f-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.f-field label { font-size: .8rem; font-weight: 600; color: var(--f-muted); }
.f-field input, .f-field select, .f-field textarea {
    width: 100%; padding: .7rem .8rem; border: 1px solid var(--f-border); border-radius: 8px;
    background: var(--f-surface); color: var(--f-text); font: inherit; font-size: .95rem;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 2px solid var(--color-gold); outline-offset: 0; border-color: transparent; }
.f-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .f-grid-2 { grid-template-columns: 1fr; } }

.front-body .alert { border-radius: 10px; }
.alert-info { background: #eaf1fb; color: #1d3f6e; }
.alert-success { background: #e7f5ec; color: #1f6b3a; }

/* =====================================================================
   HERO / SLIDER
   ===================================================================== */
.front-hero { background: linear-gradient(rgba(15,36,56,.75), rgba(15,36,56,.85)), var(--color-navy); color: #fff; padding: 5rem var(--f-gutter); text-align: center; }
.front-hero h1 { font-family: var(--font-heading); font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0 0 .5rem; color: #fff; }
.front-hero p.tagline { color: var(--color-gold); font-size: 1.2rem; font-style: italic; margin-bottom: 2.5rem; }

.hero-slider { position: relative; height: clamp(420px, 78vh, 760px); overflow: hidden; background: var(--color-navy); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; justify-content: center; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15,36,56,.5), rgba(15,36,56,.78)); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide-overlay { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 3.5rem 4rem; max-width: 900px; }
.hero-slide-overlay h1 { font-family: var(--font-heading); font-size: clamp(1.9rem, 5.5vw, 3.2rem); margin: 0 0 .75rem; color: #fff; }
.hero-slide-overlay .tagline { color: var(--color-gold); font-size: clamp(1rem, 2.4vw, 1.3rem); font-style: italic; margin: 0; }
.hero-cta { display: inline-block; margin-top: 1.25rem; padding: .75rem 1.75rem; border-radius: 999px; background: var(--color-gold); color: #0f2438; font-weight: 700; text-decoration: none; }
.hero-cta:hover { background: #fff; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; }
.hero-nav:hover { background: rgba(255,255,255,.3); }
.hero-nav-prev { left: 1rem; }
.hero-nav-next { right: 1rem; }
.hero-dots { position: absolute; bottom: 5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dot.is-active { background: var(--color-gold); border-color: var(--color-gold); }
@media (max-width: 640px) { .hero-nav { display: none; } .hero-slide-overlay { padding: 0 1.25rem 4rem; } }

/* ---------- Carte de recherche ---------- */
.front-search-card {
    width: calc(100% - 2 * var(--f-gutter)); max-width: 980px;
    margin: -3.5rem auto 0; position: relative; z-index: 5;
    background: var(--f-surface); border-radius: var(--f-radius); box-shadow: 0 14px 40px rgba(0,0,0,.16);
    padding: 1.25rem;
    display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 1rem; align-items: end;
}
.front-search-card .alert { grid-column: 1 / -1; margin: 0; }
.front-search-card .f-actions { display: flex; flex-direction: column; gap: .35rem; }
.front-search-card .btn { white-space: nowrap; padding: .75rem 1.2rem; }
.front-nights-badge { font-size: .78rem; font-weight: 600; color: var(--color-gold); text-align: center; }
@media (max-width: 860px) { .front-search-card { grid-template-columns: 1fr 1fr; } .front-search-card .f-field:first-child, .front-search-card .f-actions { grid-column: 1 / -1; } }
@media (max-width: 420px) { .front-search-card { grid-template-columns: 1fr; } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.front-section { max-width: var(--f-max); margin: 4rem auto; padding: 0 var(--f-gutter); }
.front-section > h2, .section-head h2 { font-family: var(--font-heading); text-align: center; margin: 0 0 .5rem; font-size: clamp(1.5rem, 3.5vw, 2rem); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head p { color: var(--f-muted); margin: 0 auto; max-width: 640px; }
.front-section > h2 { margin-bottom: 2rem; }
.section-kicker { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--color-gold); margin-bottom: .35rem; }

.front-room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.front-room-card { background: var(--f-surface); border-radius: var(--f-radius); overflow: hidden; box-shadow: var(--f-shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.front-room-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,36,56,.14); }
.front-room-card-img { height: 200px; background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light)) center/cover; display: flex; align-items: center; justify-content: center; color: var(--color-gold); font-family: var(--font-heading); font-size: 1.3rem; }
.front-room-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.front-room-card h3 { margin: 0 0 .5rem; font-family: var(--font-heading); }
.front-room-card .price { font-weight: 700; font-size: 1.3rem; color: var(--f-heading); margin: .5rem 0; }
.front-room-card .price span { font-size: .8rem; color: var(--f-muted); font-weight: 400; }
.front-room-card p.desc { color: var(--f-muted); font-size: .9rem; flex: 1; }

/* ---------- Services interactifs ---------- */
.front-amenities-interactive { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: var(--f-radius); overflow: hidden; box-shadow: var(--f-shadow); min-height: 420px; }
.front-amenities-photo { position: relative; min-height: 240px; }
.front-amenities-photo-item { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .4s ease; }
.front-amenities-photo-item.is-active { opacity: 1; }
.front-amenities-list { display: flex; flex-direction: column; background: var(--f-surface-2); }
.front-amenity-tab { display: flex; align-items: flex-start; gap: .9rem; text-align: left; background: var(--f-surface); border: none; border-bottom: 1px solid var(--f-border); padding: 1.25rem 1.5rem; cursor: pointer; flex: 1; font: inherit; color: inherit; }
.front-amenity-tab:last-child { border-bottom: none; }
.front-amenity-tab strong { display: block; color: var(--f-heading); font-family: var(--font-heading); font-size: 1.05rem; }
.front-amenity-tab p { margin: .3rem 0 0; font-size: .85rem; color: var(--f-muted); }
.front-amenity-tab-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--f-surface-2); display: flex; align-items: center; justify-content: center; color: var(--f-heading); }
.front-amenity-tab-icon svg { width: 18px; height: 18px; }
.front-amenity-tab.is-active { background: var(--color-navy); }
.front-amenity-tab.is-active strong { color: #fff; }
.front-amenity-tab.is-active p { color: #b8c4cf; }
.front-amenity-tab.is-active .front-amenity-tab-icon { background: var(--color-gold); color: var(--color-navy); }
@media (max-width: 760px) { .front-amenities-interactive { grid-template-columns: 1fr; } }

/* ---------- À propos / galerie / témoignages ---------- */
.front-about { max-width: 820px; text-align: center; }
.front-about-text { line-height: 1.75; white-space: pre-line; }
.front-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .75rem; }
.front-gallery-item { display: block; height: 200px; border-radius: 10px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.front-gallery-item:hover::after { content: ""; position: absolute; inset: 0; background: rgba(15,36,56,.35); }
.front-gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(15,36,56,.85), transparent); color: #fff; font-size: .8rem; padding: .6rem; }

/* Pleine largeur SANS 100vw : la section sort du conteneur, pas de la page. */
.front-band { background: var(--f-surface-2); padding: 3.5rem 0; margin: 4rem 0; }
.front-band > .front-section { margin-top: 0; margin-bottom: 0; }
.front-testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.front-testimonial-card { background: var(--f-surface); border-radius: var(--f-radius); padding: 1.75rem; box-shadow: var(--f-shadow); }
.front-testimonial-stars { color: var(--color-gold); letter-spacing: 2px; margin-bottom: .75rem; }
.front-testimonial-quote { font-style: italic; line-height: 1.6; margin-bottom: 1.25rem; }
.front-testimonial-author { display: flex; align-items: center; gap: .75rem; }
.front-testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.front-testimonial-author strong { display: block; color: var(--f-heading); font-size: .9rem; }
.front-testimonial-author p { margin: 0; font-size: .8rem; color: var(--f-muted); }

/* =====================================================================
   CHAMBRES — catégories et chambres d'une catégorie
   ===================================================================== */
.page-hero {
    position: relative; color: #fff; text-align: center;
    padding: clamp(3rem, 8vw, 5rem) var(--f-gutter);
    background: var(--color-navy) center/cover;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(15,36,56,.6), rgba(15,36,56,.85)); }
.page-hero > * { position: relative; }
.page-hero h1 { color: #fff; font-family: var(--font-heading); font-size: clamp(1.8rem, 5vw, 2.8rem); margin: .25rem 0 .5rem; }
.page-hero p { margin: 0 auto; max-width: 700px; color: #d6dde6; }
.breadcrumb { font-size: .85rem; color: #c3ccd7; }
.breadcrumb a { color: var(--color-gold); text-decoration: none; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 2rem; }
.category-card { background: var(--f-surface); border-radius: 18px; overflow: hidden; box-shadow: var(--f-shadow); display: flex; flex-direction: column; }
.category-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--color-navy) center/cover; }
.category-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,35,.75), transparent 55%); transition: background .2s; }
.category-card-media:hover::after { background: linear-gradient(to top, rgba(10,20,35,.85), rgba(10,20,35,.15)); }
.category-card-media .chip-row { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.92); color: #0f2438; font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; }
.chip-gold { background: var(--color-gold); color: #0f2438; }
.chip-dark { background: rgba(15,36,56,.85); color: #fff; }
.category-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.category-card-body h2 { margin: 0; font-family: var(--font-heading); font-size: 1.6rem; }
.category-card-body p { margin: 0; color: var(--f-muted); }
.category-price { font-size: 1.5rem; font-weight: 700; color: var(--f-heading); }
.category-price small { font-size: .85rem; color: var(--f-muted); font-weight: 400; }
.category-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .88rem; color: var(--f-muted); }
.category-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.category-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--color-gold); stroke-width: 2; }
.category-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: auto; }
.category-actions .btn { flex: 1 1 180px; }

.stay-bar {
    background: var(--f-surface); border-radius: var(--f-radius); box-shadow: var(--f-shadow);
    padding: 1rem 1.25rem; margin: -2.5rem auto 2rem; position: relative; z-index: 5;
    display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 1rem; align-items: end;
    max-width: 900px;
}
.stay-bar .front-nights-badge { align-self: center; }
@media (max-width: 720px) { .stay-bar { grid-template-columns: 1fr 1fr; } .stay-bar .btn { grid-column: 1 / -1; } }
@media (max-width: 400px) { .stay-bar { grid-template-columns: 1fr; } }

.rooms-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.rooms-toolbar p { margin: 0; color: var(--f-muted); }
.segmented { display: inline-flex; background: var(--f-surface-2); border-radius: 999px; padding: 4px; }
.segmented a { text-decoration: none; color: var(--f-muted); font-size: .85rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; }
.segmented a.is-active { background: var(--f-surface); color: var(--f-heading); box-shadow: 0 1px 4px rgba(0,0,0,.1); }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.25rem; }
.room-card { background: var(--f-surface); border-radius: var(--f-radius); overflow: hidden; box-shadow: var(--f-shadow); display: flex; flex-direction: column; border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.room-card:hover { border-color: var(--color-gold); transform: translateY(-3px); }
.room-card.is-unavailable { opacity: .72; }
.room-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--color-navy) center/cover; }
.room-card-media .chip { position: absolute; top: .75rem; left: .75rem; }
.room-card-media .illus-badge { position: absolute; bottom: .6rem; right: .6rem; font-size: .68rem; background: rgba(0,0,0,.55); color: #fff; padding: .2rem .5rem; border-radius: 6px; }
.room-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.room-card-body h3 { margin: 0; font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }
.room-card-body .room-sub { font-size: .85rem; color: var(--f-muted); margin: 0; }
.room-card-price { font-weight: 700; color: var(--f-heading); }
.room-card-price small { color: var(--f-muted); font-weight: 400; }
.room-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; padding-top: .5rem; }
.room-card-actions .btn { padding: .65rem .5rem; font-size: .9rem; }
.room-card-actions .btn:only-child { grid-column: 1 / -1; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .3rem; }
.status-ok { background: #2e9d57; } .status-ko { background: #c0392b; } .status-na { background: #9aa6b2; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--f-muted); background: var(--f-surface); border-radius: var(--f-radius); }

/* ---------- Modale générique ---------- */
.km-modal { position: fixed; inset: 0; z-index: 2100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(5,12,22,.65); }
.km-modal.is-open { display: flex; }
.km-modal-box { background: var(--f-surface); color: var(--f-text); border-radius: 16px; width: 100%; max-width: 480px; max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1.5rem; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.km-modal-box h3 { margin: 0 0 .25rem; font-family: var(--font-heading); }
.km-modal-close { position: absolute; top: .75rem; right: .75rem; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--f-surface-2); color: var(--f-text); font-size: 1.3rem; cursor: pointer; }
.km-modal form { display: grid; gap: 1rem; margin-top: 1rem; }
.estimate { background: var(--f-surface-2); border-radius: 10px; padding: .75rem 1rem; font-size: .9rem; }
.estimate strong { color: var(--f-heading); }

/* =====================================================================
   PARCOURS DE RÉSERVATION
   ===================================================================== */
.front-narrow { max-width: 620px; margin: 2.5rem auto; padding: 0 var(--f-gutter); }
.front-wide { max-width: 1080px; margin: 2.5rem auto; padding: 0 var(--f-gutter); }
.front-card { background: var(--f-surface); border-radius: var(--f-radius); box-shadow: var(--f-shadow); padding: clamp(1.25rem, 3vw, 2rem); }
.front-card h2 { font-family: var(--font-heading); margin-top: 0; }

.steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: step; flex-wrap: wrap; }
.steps li { flex: 1 1 0; min-width: 90px; display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--f-muted); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--f-surface-2); color: var(--f-muted); }
.steps li.is-done::before { content: "✓"; background: #2e9d57; color: #fff; }
.steps li.is-current { color: var(--f-heading); }
.steps li.is-current::before { background: var(--color-gold); color: #0f2438; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .booking-layout { grid-template-columns: 1fr; } .booking-summary { order: -1; } }
.booking-summary { position: sticky; top: 100px; }
@media (max-width: 860px) { .booking-summary { position: static; } }
.summary-media { aspect-ratio: 16 / 9; border-radius: 10px; background: var(--color-navy) center/cover; margin-bottom: 1rem; }
.summary-lines { width: 100%; border-collapse: collapse; font-size: .92rem; }
.summary-lines td { padding: .45rem 0; border-bottom: 1px dashed var(--f-border); }
.summary-lines td:last-child { text-align: right; white-space: nowrap; }
.summary-lines tr.is-total td { font-weight: 700; color: var(--f-heading); border-bottom: 0; }
.summary-lines tr.is-deposit td { font-weight: 700; color: #8a6412; }

.policy-box { border: 1.5px solid var(--color-gold); background: rgba(201,162,75,.08); border-radius: 12px; padding: 1rem 1.1rem; margin: 1.25rem 0; }
.policy-box h4 { margin: 0 0 .5rem; color: var(--f-heading); display: flex; align-items: center; gap: .5rem; }
.policy-box ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.policy-box li { margin-bottom: .35rem; }
.policy-scroll { max-height: 220px; overflow-y: auto; background: var(--f-surface); border: 1px solid var(--f-border); border-radius: 8px; padding: .75rem .9rem; font-size: .88rem; white-space: pre-line; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin: .6rem 0; }
.consent input { margin-top: .25rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--color-navy); }

.visa-badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #1a1f71; background: #fff; border: 1px solid #d9dcef; border-radius: 6px; padding: .25rem .6rem; font-style: italic; letter-spacing: .04em; }
.payment-option { border: 1px solid var(--f-border); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.payment-option h4 { margin: 0 0 .5rem; color: var(--f-heading); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.payment-option p { color: var(--f-muted); font-size: .9rem; margin: 0 0 1rem; }

.front-room-result { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--f-border); border-radius: 10px; margin-bottom: .75rem; }
.front-room-result .info strong { color: var(--f-heading); }
@media (max-width: 480px) { .front-room-result { flex-direction: column; align-items: stretch; } }

.front-confirmation-hero { text-align: center; padding: 3rem var(--f-gutter); }
.front-confirmation-hero .checkmark { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: #e7f5ec; font-size: 2.2rem; color: #2e7d32; }

.front-body .app-table { width: 100%; }
.table-scroll { overflow-x: auto; }

/* ---------- Recherche du site ---------- */
.search-results-list { display: grid; gap: .75rem; }
.search-hit { display: flex; gap: 1rem; align-items: center; background: var(--f-surface); border-radius: 12px; padding: .75rem; text-decoration: none; color: inherit; box-shadow: var(--f-shadow); }
.search-hit:hover { outline: 2px solid var(--color-gold); }
.search-hit-img { width: 96px; height: 72px; border-radius: 8px; background: var(--color-navy) center/cover; flex-shrink: 0; }
.search-hit strong { color: var(--f-heading); display: block; }
.search-hit span { color: var(--f-muted); font-size: .88rem; }

/* =====================================================================
   VISITE VIRTUELLE 360°
   ===================================================================== */
.panorama-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.9); align-items: center; justify-content: center; padding: 1.5rem; }
.panorama-overlay.is-open { display: flex; }
.panorama-box { width: 100%; max-width: 1000px; background: #111; border-radius: 10px; overflow: hidden; position: relative; }
.panorama-close { position: absolute; top: 10px; right: 14px; z-index: 10; background: rgba(255,255,255,.15); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.panorama-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 3.5rem .75rem 1rem; background: #1c1c1c; color: #fff; flex-wrap: wrap; }
.panorama-head strong { font-size: .95rem; }
.panorama-tabs { display: flex; gap: .5rem; padding: .75rem 1rem; background: #1c1c1c; overflow-x: auto; }
.panorama-tab { background: transparent; border: 1px solid #444; color: #ccc; padding: .4rem .9rem; border-radius: 20px; cursor: pointer; white-space: nowrap; font-size: .85rem; }
.panorama-tab.is-active { background: var(--color-gold); color: var(--color-navy); border-color: var(--color-gold); font-weight: 600; }
.panorama-viewer { width: 100%; height: 70vh; min-height: 320px; }
.panorama-note { color: #bbb; font-size: .78rem; padding: .5rem 1rem; background: #1c1c1c; margin: 0; }
@media (max-width: 760px) { .panorama-overlay { padding: 0; } .panorama-box { border-radius: 0; height: 100%; display: flex; flex-direction: column; } .panorama-viewer { flex: 1; height: auto; } }

/* =====================================================================
   PIED DE PAGE / DIVERS
   ===================================================================== */
.front-footer { background: var(--color-navy); color: #cdd6de; padding: 3rem var(--f-gutter) 1.5rem; margin-top: 4rem; }
.front-footer-grid { max-width: var(--f-max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.front-footer-grid h4 { color: var(--color-gold); font-family: var(--font-heading); margin: 0 0 1rem; font-size: 1rem; }
.front-footer-grid ul { list-style: none; padding: 0; margin: 0; }
.front-footer-grid li { margin-bottom: .5rem; font-size: .9rem; overflow-wrap: anywhere; }
.front-footer-grid a { color: #cdd6de; text-decoration: none; }
.front-footer-grid a:hover { color: var(--color-gold); }
.front-footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.front-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.front-footer-social svg { width: 18px; height: 18px; }
.front-footer-logo { height: 48px; margin-bottom: .75rem; border-radius: 6px; }
.front-footer p { margin: .25rem 0; font-size: .9rem; }
.front-footer-bottom {
    max-width: var(--f-max); margin: 1.5rem auto 0; padding: 0 4.5rem 0 0;
    display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap;
    color: #8fa0b0; font-size: .8rem;
}
.front-footer-bottom p { margin: 0; }
.front-footer-credit a { color: var(--color-gold, #e3a51c); font-weight: 600; text-decoration: none; }
.front-footer-credit a:hover { text-decoration: underline; }
@media (max-width: 600px) { .front-footer-bottom { flex-direction: column; text-align: center; padding: 0 0 4rem; } }
@media (max-width: 760px) { .front-footer-grid { grid-template-columns: 1fr 1fr; } .front-footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 440px) { .front-footer-grid { grid-template-columns: 1fr; } }

.back-to-top { position: fixed; bottom: 1.25rem; right: 1.25rem; width: 46px; height: 46px; border-radius: 50%; background: var(--color-gold); color: var(--color-navy); border: none; font-size: 1.3rem; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 500; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 1024px) { .kt-menu.is-open ~ .kt-nav-actions .kt-pill { visibility: hidden; } }
.kt-search-ico { display: flex; cursor: pointer; }

/* =====================================================================
   PAGE SERVICES & TARIFS
   ===================================================================== */
.svc-tabs { position: sticky; top: 84px; z-index: 800; background: var(--f-surface); box-shadow: 0 2px 10px rgba(15,36,56,.08); }
@media (max-width: 640px) { .svc-tabs { top: 66px; } }
.svc-tabs-inner { max-width: var(--f-max); margin: 0 auto; padding: .5rem var(--f-gutter); display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.svc-tabs-inner::-webkit-scrollbar { display: none; }
.svc-tabs a { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; text-decoration: none; color: var(--f-muted); font-weight: 600; font-size: .92rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--f-border); }
.svc-tabs a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-tabs a:hover { color: var(--f-heading); border-color: var(--kt-gold); }
.svc-tabs a.is-active { background: var(--kt-nav-bg); color: #fff; border-color: var(--kt-nav-bg); }
.svc-section { scroll-margin-top: 150px; margin-top: 3rem; }

.svc-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--f-surface); border-radius: 18px; overflow: hidden; box-shadow: var(--f-shadow); margin-bottom: 1.5rem; }
.svc-intro-media { min-height: 260px; background: var(--kt-nav-bg) center/cover; display: grid; place-items: center; }
.svc-intro-media.is-plain { background: linear-gradient(135deg, var(--kt-nav-bg), #24345a); }
.svc-intro-media.is-plain svg { width: 90px; height: 90px; fill: none; stroke: var(--kt-gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.svc-intro-body { padding: clamp(1.25rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: center; }
.svc-intro-body h2 { font-family: var(--font-heading); margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.svc-intro-body p { color: var(--f-muted); margin: 0 0 1rem; }
.svc-search { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--f-border); border-radius: 999px; padding: .55rem 1rem; background: var(--f-bg); }
.svc-search:focus-within { border-color: var(--kt-gold); }
.svc-search svg { width: 18px; height: 18px; fill: none; stroke: var(--f-muted); stroke-width: 2; flex-shrink: 0; }
.svc-search input { border: 0; outline: 0; background: transparent; font: inherit; width: 100%; min-width: 0; color: var(--f-text); }
.svc-count { margin: .5rem 0 0 !important; }
@media (max-width: 760px) { .svc-intro { grid-template-columns: 1fr; } .svc-intro-media { min-height: 190px; } }

.menu-grid { columns: 3 320px; column-gap: 1.25rem; }
.menu-card { break-inside: avoid; background: var(--f-surface); border-radius: var(--f-radius); box-shadow: var(--f-shadow); margin: 0 0 1.25rem; overflow: hidden; display: inline-block; width: 100%; }
.menu-card header { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .9rem 1.15rem; background: var(--kt-nav-bg); }
.menu-card header h4 { margin: 0; color: #fff; font-family: var(--font-heading); font-size: 1.05rem; }
.menu-card header span { background: var(--kt-gold); color: #131b2e; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .1rem .55rem; }
.menu-card ul { list-style: none; margin: 0; padding: .4rem 1.15rem .8rem; }
.menu-card li { padding: .6rem 0; border-bottom: 1px solid var(--f-border); }
.menu-card li:last-child { border-bottom: 0; }
.menu-line { display: flex; align-items: baseline; gap: .5rem; }
.menu-name { font-weight: 600; color: var(--f-heading); font-size: .93rem; min-width: 0; overflow-wrap: anywhere; }
.menu-dots { flex: 1; border-bottom: 2px dotted var(--f-border); min-width: 12px; transform: translateY(-4px); }
.menu-price { white-space: nowrap; font-weight: 700; color: #8a6412; font-size: .93rem; }
.menu-price em { font-weight: 500; color: var(--f-muted); font-style: normal; font-size: .85rem; }
.menu-card li p { margin: .2rem 0 0; font-size: .82rem; color: var(--f-muted); }
.menu-card li p.menu-happy { color: #2e7d4f; font-weight: 600; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.price-grid-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.price-card { background: var(--f-surface); border-radius: var(--f-radius); box-shadow: var(--f-shadow); padding: 1.35rem; display: flex; flex-direction: column; gap: .35rem; border-top: 4px solid var(--kt-gold); }
.price-card h4 { margin: 0; color: var(--f-heading); font-size: 1.1rem; }
.price-card .card-hint { margin: 0; }
.price-card-value { margin-top: auto; padding-top: .75rem; font-size: 1.35rem; font-weight: 700; color: var(--f-heading); }
.price-card-value small { font-size: .8rem; font-weight: 400; color: var(--f-muted); }
.conf-card .btn { margin-top: .75rem; }
.conf-capacity { display: flex; align-items: center; gap: .4rem; margin: 0; font-weight: 600; color: var(--f-text); }
.conf-capacity svg { width: 18px; height: 18px; fill: none; stroke: var(--kt-gold); stroke-width: 2; }
.chip-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.chip-soft { background: var(--f-surface-2); color: var(--f-heading); }
.svc-subtitle { font-family: var(--font-heading); margin: 2rem 0 1rem; }
.svc-note { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--f-surface); border-radius: var(--f-radius); padding: 1.25rem 1.5rem; box-shadow: var(--f-shadow); }
.svc-note p { margin: 0; color: var(--f-muted); flex: 1 1 320px; }

/* =====================================================================
   PAGE CONTACT
   ===================================================================== */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem; align-items: start; margin-top: 2.5rem; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; background: var(--f-surface); border-radius: var(--f-radius); padding: 1.1rem 1.25rem; box-shadow: var(--f-shadow); text-decoration: none; color: inherit; border: 1px solid transparent; transition: border-color .2s; min-width: 0; }
a.contact-card:hover { border-color: var(--kt-gold); }
.contact-card small { display: block; color: var(--f-muted); font-size: .78rem; }
.contact-card strong { display: block; color: var(--f-heading); overflow-wrap: anywhere; }
.contact-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--kt-gold); }
.contact-ico svg { width: 22px; height: 22px; fill: none; stroke: #131b2e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-note { display: block; }
.contact-card-note p { margin: 0 0 .75rem; color: var(--f-muted); font-size: .92rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-success { text-align: center; padding: 1.5rem 0; }
.contact-success .checkmark { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%; background: #e7f5ec; color: #2e7d32; font-size: 2rem; }
@media (max-width: 860px) { .contact-layout > .front-card { order: -1; } }

/* Choix de la garantie (carte maintenant / sans carte, payer plus tard) */
.guarantee-choice { display: grid; gap: .6rem; margin: .5rem 0 1rem; }
.guarantee-option { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--f-border, #d9dee7); border-radius: 10px; cursor: pointer; line-height: 1.45; }
.guarantee-option input { margin-top: .25rem; flex-shrink: 0; }
.guarantee-option:has(input:checked) { border-color: var(--color-gold, #e3a51c); background: rgba(227, 165, 28, .08); }
.guarantee-option.is-disabled { opacity: .6; cursor: not-allowed; }

/* Wifi haut débit (accueil) et équipements compris (salles) */
.front-wifi-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: -.5rem 0 1.25rem; font-weight: 600; color: var(--color-gold, #e3a51c); }
.front-wifi-note svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.conf-included { margin: .75rem 0 .35rem; font-size: .85rem; font-weight: 600; }
