/* ==========================================================================
   Groupe Espoir — design system du site public
   Palette strictement bleu/blanc (charte historique) ; typographie
   Fraunces (titres, serif éditoriale) + Manrope (texte, UI).
   ========================================================================== */

:root {
    --bg: #FFFFFF;
    --bg-raised: #FFFFFF;
    --bg-offwhite: #FAF7F1;
    --bg-graylight: #F3F4F6;
    --sky: #E7EEF8;
    --bg-tint: #E7EEF8;
    --text: #16233A;
    --text-muted: #55637C;
    --line: rgba(16, 35, 64, .14);
    --brand: #12417F;
    --brand-2: #2E6FCB;
    --brand-solid: #446F99;
    --brand-solid-dark: #33587D;
    --ink: #0A2647;
    --ink-soft: #123058;
    --on-ink: #F2F5FA;
    --on-ink-muted: rgba(242, 245, 250, .68);
    --shadow: 0 24px 60px -24px rgba(10, 38, 71, .35);
    --radius-s: 6px;
    --radius-m: 12px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0C1A2E; --bg-raised: #12233D; --bg-offwhite: #14263F; --bg-graylight: #14263F; --sky: #16305A; --bg-tint: #16305A; --text: #EAF0F9;
        --text-muted: #A9B9D2; --line: rgba(234, 240, 249, .14); --brand: #6C9CE8;
        --brand-2: #9BC0F4; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
    }
}
:root[data-theme="dark"] {
    --bg: #0C1A2E; --bg-raised: #12233D; --bg-offwhite: #14263F; --bg-graylight: #14263F; --sky: #16305A; --bg-tint: #16305A; --text: #EAF0F9;
    --text-muted: #A9B9D2; --line: rgba(234, 240, 249, .14); --brand: #6C9CE8;
    --brand-2: #9BC0F4; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
}
:root[data-theme="light"] {
    --bg: #FFFFFF; --bg-raised: #FFFFFF; --bg-offwhite: #FAF7F1; --bg-graylight: #F3F4F6; --sky: #E7EEF8; --bg-tint: #E7EEF8; --text: #16233A;
    --text-muted: #55637C; --line: rgba(16, 35, 64, .14); --brand: #12417F;
    --brand-2: #2E6FCB; --shadow: 0 24px 60px -24px rgba(10, 38, 71, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 450;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

h1, h2, h3, .display {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 560;
    letter-spacing: -.01em;
    text-wrap: balance;
    margin: 0;
}
.eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 780;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: .6em;
}
.eyebrow::before { content: ''; width: 1.4em; height: 1px; background: currentColor; opacity: .6; }
.lede { color: var(--text-muted); max-width: 62ch; font-size: 1.05rem; }
.tnum { font-variant-numeric: tabular-nums; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Nav : deux niveaux (barre fine + menu principal), toujours
   pleine en #446F99, avec ou sans défilement — plus de dégradé
   transparent, pour rester identique sur toutes les pages. ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 40; color: #fff;
    background: var(--brand-solid);
    transition: box-shadow .35s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .5); }

.nav__top {
    display: flex; align-items: center; justify-content: space-between;
    padding: .65rem clamp(1.25rem, 4vw, 2.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    transition: padding .35s var(--ease);
}
.nav.is-scrolled .nav__top { padding-block: .4rem; }
.nav__top-side { display: flex; align-items: center; gap: 1.4rem; flex: 1; }
.nav__top-side--right { justify-content: flex-end; }
.nav__brand img { height: 42px; display: block; transition: height .35s var(--ease); }
.nav.is-scrolled .nav__brand img { height: 32px; }
.nav__top-phone { display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; opacity: .92; }
.nav__top-phone svg { width: .95rem; height: .95rem; flex-shrink: 0; }
.nav__top-phone:hover { opacity: 1; }
.nav__top-cta {
    font-size: .72rem; font-weight: 780; text-transform: uppercase; letter-spacing: .06em;
    border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: .45rem 1.1rem;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav__top-cta:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.nav__main {
    display: flex; align-items: center; justify-content: center;
    padding: .8rem clamp(1.25rem, 4vw, 2.5rem);
    transition: padding .35s var(--ease);
}
.nav.is-scrolled .nav__main { padding-block: .5rem; }
.nav__links {
    display: flex; gap: 2.25rem; list-style: none; margin: 0; padding: 0;
    font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.nav__links a { text-decoration: none; opacity: .92; position: relative; padding-bottom: .3rem; }
.nav__links a:hover { opacity: .7; }
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff;
}

.nav__burger {
    display: none; width: 2.2rem; height: 2.2rem; border: none; background: none; cursor: pointer;
    color: inherit; align-items: center; justify-content: center;
}
.lang-switch {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .74rem; font-weight: 780; text-decoration: none; color: #fff; opacity: .85;
    transition: opacity .2s var(--ease);
}
.lang-switch:hover { opacity: 1; }
.lang-switch__circle {
    width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55);
    display: flex; align-items: center; justify-content: center;
}
.lang-switch__circle svg { width: .9rem; height: .9rem; }
.lang-switch:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.lang-switch--mobile {
    display: none; width: auto; height: auto; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4);
    color: #fff; padding: .5rem 1rem; font-size: .78rem; margin-top: -.5rem;
}

@media (max-width: 900px) {
    .nav__top-side:not(.nav__top-side--right) { display: none; }
    .nav__top-phone, .nav__top-cta { display: none; }
    .nav__top { justify-content: space-between; }
    .nav__main { display: none; }
    .nav__burger { display: flex; }
}

/* ---------- Menu mobile (overlay) ---------- */
.mobile-menu {
    position: fixed; inset: 0; z-index: 50; background: var(--ink);
    display: flex; flex-direction: column; justify-content: center; gap: 2rem;
    padding: 2rem clamp(1.5rem, 6vw, 3rem);
    transform: translateY(-100%); transition: transform .4s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__close { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: none; color: #fff; width: 2.4rem; height: 2.4rem; cursor: pointer; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.mobile-menu a { color: #fff; font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 500; text-decoration: none; }
.mobile-menu .btn { margin-top: 1rem; align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .88rem;
    padding: .85rem 1.5rem; border-radius: var(--radius-s);
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-line { border-color: var(--line); color: var(--text); background: var(--bg-raised); }
.btn-line:hover { border-color: var(--brand-solid); background: var(--brand-solid); color: #fff; transform: translateY(-1px); }
.btn-line--whatsapp { border-color: #25D366; color: #128C4A; }
.btn-line--whatsapp:hover { border-color: #25D366; background: #25D366; color: #fff; }

/* ---------- Hero : deux panneaux (texte dédié + photo plein cadre) ---------- */
.hero { position: relative; min-height: 82vh; color: #fff; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; z-index: 0; opacity: 0; overflow: hidden; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__slide.is-active img { animation: hero-ken-burns 7s var(--ease) forwards; }
@keyframes hero-ken-burns {
    from { transform: scale(1.04); }
    to { transform: scale(1.13); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__slide.is-active img { animation: none; transform: none; }
}
.hero__scrim {
    position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(180deg, rgba(9, 24, 46, .5) 0%, rgba(9, 24, 46, .22) 32%, rgba(9, 24, 46, .3) 62%, rgba(9, 24, 46, .68) 100%);
}
/* Texte centré directement sur la photo (plus de panneau latéral plein). */
.hero__content {
    position: relative; z-index: 3; min-height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 1.4rem;
    max-width: 760px; margin: 0 auto;
    padding: clamp(8.75rem, 12vw, 9.75rem) clamp(1.5rem, 5vw, 2.5rem) clamp(3rem, 6vw, 4rem);
}
.hero__eyebrow { color: rgba(255, 255, 255, .88); }
.hero__eyebrow::before { background: rgba(255, 255, 255, .7); }
.hero__captions { position: relative; min-height: clamp(5.5rem, 11vw, 7rem); width: 100%; }
.hero__caption {
    position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(10px);
    transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none;
}
.hero__caption.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); line-height: 1.12; margin: 0 auto; max-width: 32ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: #FFFFFF; display: block; font-size: .5em; margin-top: .35em; }

.hero__search {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 1rem 1.5rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-m); padding: 1rem 1.5rem;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    width: 100%;
}
.hero__search > div { flex: 1 1 130px; text-align: left; }
.hero__search label {
    display: block; font-size: .62rem; font-weight: 780; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(255, 255, 255, .62); margin-bottom: .35rem;
}
.hero__search input, .hero__search select {
    width: 100%; border: none; border-bottom: 1px solid rgba(255, 255, 255, .32); background: transparent;
    padding: .3rem 0; font-family: 'Manrope', sans-serif; font-size: .88rem; color: #fff;
}
.hero__search input::placeholder { color: rgba(255, 255, 255, .5); }
.hero__search input:focus, .hero__search select:focus { outline: none; border-color: #fff; }
.hero__search select option { color: #16233A; }
.hero__search button { flex: 0 0 auto; padding: .6rem 1.5rem; white-space: nowrap; }

.hero__secondary-cta { margin-top: -.25rem; }
.hero__dots { display: flex; gap: .5rem; justify-content: center; }
.hero__dot { width: 1.6rem; height: 3px; border: none; padding: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .3s var(--ease); }
.hero__dot.is-active { background: #fff; }

/* ---------- Résidences en vedette : chevauchent le bas du hero ---------- */
.hero-rooms { position: relative; z-index: 6; margin-top: clamp(-100px, -9vw, -70px); }
@media (max-width: 699px) { .hero-rooms { margin-top: 1.5rem; } }

.hero-rooms__page { display: none; grid-template-columns: 1fr; gap: 1.5rem; }
.hero-rooms__page.is-active { display: grid; }
@media (min-width: 700px) { .hero-rooms__page { grid-template-columns: repeat(3, 1fr); } }

.hero-rooms__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.hero-rooms__dot { width: .55rem; height: .55rem; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.hero-rooms__dot.is-active { background: var(--brand-solid); transform: scale(1.35); }

/* Carte resort haut de gamme : titre doré, bouton "Réserver" à gauche. */
.hr-card {
    background: var(--bg-raised); border-radius: var(--radius-m); overflow: hidden;
    box-shadow: 0 20px 45px -20px rgba(68, 111, 153, .45); border: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.hr-card:hover { transform: translateY(-3px); box-shadow: 0 26px 55px -20px rgba(68, 111, 153, .55); }
.hr-card__photo { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.hr-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hr-card__photo:hover img { transform: scale(1.06); }
.hr-card__badge {
    position: absolute; top: .9rem; left: .9rem; z-index: 2;
    background: rgba(10, 20, 38, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    padding: .35rem .7rem; border-radius: 999px;
}
.hr-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.hr-card__body .star-rating { margin-bottom: .5rem; }
.hr-card__title { font-size: 1.15rem; margin: 0 0 .4rem; }
.hr-card__title a { color: #B8873A; text-decoration: none; }
.hr-card__desc { font-size: .84rem; color: var(--text-muted); margin: 0 0 1.25rem; }
.hr-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hr-card__cta {
    background: var(--brand-solid); color: #fff; font-size: .78rem; font-weight: 700;
    padding: .65rem 1.3rem; border-radius: var(--radius-s); text-decoration: none;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.hr-card__cta:hover { background: var(--brand-solid-dark); transform: translateY(-1px); }
.hr-card__price { text-align: right; }
.hr-card__price strong { display: block; font-family: 'Fraunces', serif; font-size: 1rem; color: var(--text); }
.hr-card__price span { font-size: .7rem; color: var(--text-muted); }

@media (max-width: 900px) {
    .hero { min-height: 92svh; }
    .hero__content { padding-top: 6.5rem; gap: 1.1rem; }
    .hero__search { justify-content: flex-start; gap: .85rem 1.2rem; }
}
@media (max-width: 560px) { .hero__search > div { flex-basis: 100%; } .hero__search button { flex-basis: 100%; } }

/* ---------- Stats band ---------- */
.stats {
    position: relative;
    background-color: var(--ink);
    background-image:
        repeating-linear-gradient(90deg, rgba(242, 245, 250, .07) 0, rgba(242, 245, 250, .07) 1px, transparent 1px, transparent 12.5%),
        radial-gradient(rgba(242, 245, 250, .16) 1px, transparent 1px);
    background-size: auto, 22px 22px;
    color: var(--on-ink);
    padding: clamp(1.5rem, 6vw, 1.5rem) 0;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 22px;
    height: 22px;
    background: var(--on-ink);
    border-radius: 4px;
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stats__item { border-left: 1px solid rgba(242, 245, 250, .18); padding-left: 1.5rem; }
.stats__item strong { font-family: 'Fraunces', serif; font-weight: 560; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); display: block; line-height: 1; }
.stats__item span { color: var(--on-ink-muted); font-size: .85rem; margin-top: .5rem; display: block; }
@media (max-width: 860px) { .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; } }
@media (max-width: 480px) { .stats__grid { grid-template-columns: 1fr; } }

/* ---------- Section heading ---------- */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section--offwhite { background: var(--bg-offwhite); }
.section--graylight { background: var(--bg-graylight); }
.section--tint { background: var(--bg-tint); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.75rem; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); max-width: 16ch; }
.section__head--tight { margin-bottom: 1.75rem; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; margin-bottom: 1.75rem; }
.section__head--center h2 { max-width: none; font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); }
.section__head--center .lede--sm { max-width: 46ch; margin-top: .35rem; }
.lede--sm { font-size: .9rem; max-width: 42ch; }
.eyebrow-pill {
    display: inline-flex; align-items: center; gap: .5em;
    background: var(--sky); color: var(--brand-solid); font-family: 'Manrope', sans-serif;
    font-weight: 780; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem;
    padding: .45rem 1rem; border-radius: 999px; margin-bottom: .9rem;
}

/* ---------- Filtres ---------- */
.filter-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.filter-tab {
    border: 1px solid var(--line); background: var(--bg-raised); color: var(--text-muted);
    font-family: 'Manrope', sans-serif; font-size: .82rem; font-weight: 700;
    padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer;
    transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.filter-tab.is-active, .filter-tab:hover { border-color: var(--brand); color: var(--brand); background: var(--sky); }

/* ---------- Résidences : cartes claires, sobres (photo + fiche) ---------- */
.room-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 560px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .room-grid { grid-template-columns: repeat(4, 1fr); } }
.room-card {
    position: relative; grid-column: span 1; border-radius: var(--radius-m);
    background: var(--bg-raised); border: 1px solid var(--line); overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.room-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.room-card.is-hidden, .room-tile.is-hidden, .hr-card.is-hidden { display: none; }
/* span 2 seulement là où la grille a réellement 2 colonnes ou plus — sur
   mobile (grille à 1 colonne) "span 2" forcerait une colonne implicite
   supplémentaire hors écran et pousserait tout le reste de la grille avec. */
@media (min-width: 560px) { .room-card--featured { grid-column: span 2; } }
.room-card__link { position: absolute; inset: 0; z-index: 2; }
.room-card__photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room-card:hover .room-card__photo img { transform: scale(1.06); }
.room-card__badge {
    position: absolute; top: 1rem; left: 1rem; background: var(--ink); color: #fff;
    font-size: .68rem; font-weight: 700; letter-spacing: .02em; padding: .4rem .9rem; border-radius: 999px;
}
.room-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.room-card__name { font-size: 1.15rem; margin-bottom: .4rem; }
.room-card--featured .room-card__name { font-size: 1.3rem; }
.star-rating { display: inline-flex; gap: .12rem; color: #F5C451; margin-bottom: .5rem; }
.star-rating svg { width: .8rem; height: .8rem; }
.star-rating--lg { margin-top: .6rem; margin-bottom: 0; }
.star-rating--lg svg { width: 1.15rem; height: 1.15rem; }
.room-card__features {
    display: flex; justify-content: space-between; gap: .5rem;
    padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1rem;
}
.room-card__feature { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; flex: 1; }
.room-card__feature svg { width: 1.05rem; height: 1.05rem; color: var(--brand); }
.room-card__feature small { font-size: .68rem; color: var(--text-muted); line-height: 1.2; }
.room-card__desc { font-size: .84rem; color: var(--text-muted); line-height: 1.55; margin: 0 0 1.1rem; }
.room-card__footer { display: flex; align-items: center; justify-content: space-between; }
.room-card__price strong { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--text); display: block; }
.room-card__price span { font-size: .68rem; color: var(--text-muted); }
.room-card__cta {
    position: relative; z-index: 3; pointer-events: none; display: inline-block;
    background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700;
    padding: .55rem 1.1rem; border-radius: var(--radius-s);
    transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.room-card:hover .room-card__cta { background: var(--brand-solid); transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(68, 111, 153, .55); }

/* Mobile : le prix (potentiellement sur 2 lignes) et le bouton Réserver
   se marchent dessus côte à côte sur un écran étroit — chacun passe sur
   sa propre ligne, prix d'abord, bouton pleine largeur en dessous. */
@media (max-width: 480px) {
    .hr-card__footer, .room-card__footer { flex-direction: column; align-items: stretch; gap: .7rem; }
    .hr-card__price { order: 1; text-align: left; }
    .hr-card__cta { order: 2; text-align: center; }
    .room-card__cta { text-align: center; }
    .room-card__features { padding: .8rem .2rem; gap: .3rem; }
}

/* ---------- Tuile photo (accueil, premières résidences) ---------- */
.room-tile { position: relative; grid-column: span 1; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4/3; }
.room-tile__link { position: relative; display: block; width: 100%; height: 100%; }
.room-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room-tile:hover img { transform: scale(1.12); }
.room-tile__badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--ink); color: #fff; font-size: .65rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; }
.room-tile__overlay {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center;
    background: rgba(255, 255, 255, .28); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
    opacity: 0; transform: scale(.94);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.room-tile:hover .room-tile__overlay { opacity: 1; transform: none; }
.room-tile__zoom { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; color: var(--brand-solid); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.room-tile__zoom svg { width: 1.2rem; height: 1.2rem; }
.room-tile__name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; color: var(--ink); background: rgba(255, 255, 255, .8); padding: .35rem 1.1rem; border-radius: 999px; }

/* ---------- Mosaïque plein cadre ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 6px; width: 100%; }
.mosaic__cell { position: relative; overflow: hidden; }
.mosaic__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic__cell:hover img { transform: scale(1.06); }
.mosaic__text {
    position: relative; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center;
    gap: 1rem; padding: 2rem clamp(1.5rem, 3vw, 2.5rem); grid-column: span 2; grid-row: span 2;
    transition: background .5s var(--ease);
}
.mosaic__text::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .16) 45%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, .16) 55%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 1.1s var(--ease);
}
.mosaic__text:hover::before { transform: translateX(120%); }
.mosaic__text:hover { background: var(--brand-solid); }
.mosaic__text > * { position: relative; z-index: 1; }
.mosaic__text .eyebrow { color: rgba(255, 255, 255, .75); }
.mosaic__text .eyebrow::before { background: rgba(255, 255, 255, .6); }
.mosaic__text h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); color: #fff; transition: transform .5s var(--ease); }
.mosaic__text:hover h2 { transform: translateX(4px); }
.mosaic__text .btn { transition: transform .3s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.mosaic__text:hover .btn { transform: translateY(-2px); }
.mosaic__ph1, .mosaic__ph2, .mosaic__ph4 { grid-column: span 2; grid-row: span 1; }
.mosaic__ph3, .mosaic__ph5 { grid-column: span 1; grid-row: span 1; }
@media (max-width: 900px) {
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .mosaic__text { grid-column: span 2; grid-row: span 1; }
    .mosaic__ph1, .mosaic__ph2, .mosaic__ph4 { grid-column: span 1; }
}

/* ---------- About split ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-m); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about__badge { position: absolute; bottom: -1.5rem; right: -1rem; background: var(--brand); color: #fff; border-radius: var(--radius-m); padding: 1.4rem 1.6rem; box-shadow: var(--shadow); }
.about__badge strong { font-family: 'Fraunces', serif; font-size: 2.1rem; display: block; line-height: 1; }
.about__badge span { font-size: .75rem; opacity: .85; }
.about__text h2 { margin-bottom: 1.2rem; }
.about__text p { margin: 0 0 1.5rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__badge { right: 1rem; } }

/* ---------- Ce qui est inclus ---------- */
.amenities-layout { display: grid; grid-template-columns: minmax(240px, 1fr) 1.7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.amenities-intro { position: sticky; top: 7rem; }
.amenities-intro .lede { margin: 1rem 0 1.5rem; }
.amenities-intro picture { display: block; width: 100%; max-width: 280px; border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 0 0 rgba(10, 38, 71, 0); transition: box-shadow .4s var(--ease); }
.amenities-intro picture:hover { box-shadow: var(--shadow); }
.amenities-intro img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.amenities-intro picture:hover img { transform: scale(1.1); }
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.amenity-card {
    background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.65rem 1.5rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.amenity-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent;
    background: var(--ink); color: #fff;
}
.amenity-card:hover h3 { color: #fff; }
.amenity-card:hover p { color: rgba(255, 255, 255, .75); }
.amenity-card:hover .amenity-card__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.amenity-card__icon { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--sky); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; flex-shrink: 0; }
.amenity-card__icon svg { width: 1.3rem; height: 1.3rem; }
.amenity-card__icon:not(:has(svg)) { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; }
.amenity-card h3 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1rem; margin: 0 0 .45rem; }
.amenity-card p { margin: 0; color: var(--text-muted); font-size: .87rem; line-height: 1.55; }
.amenity-card--wide { grid-column: span 2; display: flex; align-items: center; gap: 1.5rem; }
.amenity-card--wide .amenity-card__icon { margin-bottom: 0; }
@media (max-width: 860px) {
    .amenities-layout { grid-template-columns: 1fr; }
    .amenities-intro { position: static; }
    .amenities-intro img { display: none; }
}
@media (max-width: 560px) {
    .amenity-grid { grid-template-columns: 1fr; }
    .amenity-card--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
}

/* ---------- Contact ---------- */
.contact-band { background: var(--ink); color: #fff; border-radius: var(--radius-m); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.contact-band__info { padding: clamp(2.5rem, 5vw, 4rem); display: flex; flex-direction: column; gap: 1.4rem; }
.contact-band__info .eyebrow { color: rgba(255, 255, 255, .75); }
.contact-band__info .eyebrow::before { background: rgba(255, 255, 255, .6); }
.contact-band__info h2 { color: #fff; max-width: 16ch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.contact-list li { display: flex; align-items: center; gap: .85rem; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.contact-list svg { width: 1.15rem; height: 1.15rem; color: var(--brand-2); flex-shrink: 0; }
.contact-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .25rem; }
.contact-band__map {
    position: relative; min-height: 320px;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px),
        var(--ink-soft);
}
.map-pin { position: absolute; top: 48%; left: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.map-pin__dot { width: 2.5rem; height: 2.5rem; border-radius: 50% 50% 50% 0; background: var(--brand-2); transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.map-pin__dot svg { transform: rotate(45deg); width: 1.1rem; height: 1.1rem; color: var(--ink); }
.map-pin__label { margin-top: .7rem; background: var(--bg-raised); color: var(--text); padding: .4rem .85rem; border-radius: 8px; font-size: .74rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow); }
@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; } .contact-band__map { min-height: 220px; } }

/* ---------- Footer ---------- */
footer { background: var(--brand-solid); color: var(--on-ink-muted); padding: 4rem 0 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(242, 245, 250, .14); }
.foot__brand img { height: 40px; margin-bottom: .8rem; }
footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .88rem; }
footer a { text-decoration: none; opacity: 1; }
footer a:hover { opacity: .90; }
.foot__bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; flex-wrap: wrap; gap: .75rem; }
.foot__social { display: flex; gap: .9rem; }
.foot__social svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

.foot__newsletter-form { display: flex; flex-direction: column; gap: .6rem; }
.foot__newsletter-form input {
    border: 1px solid rgba(242, 245, 250, .3); background: rgba(242, 245, 250, .08); border-radius: var(--radius-s);
    padding: .65rem .9rem; color: #fff; font-family: 'Manrope', sans-serif; font-size: .86rem; width: 100%;
}
.foot__newsletter-form input::placeholder { color: rgba(242, 245, 250, .55); }
.foot__newsletter-form .btn { width: 100%; }
.foot__newsletter-msg {
    font-size: .82rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .35s var(--ease), opacity .3s var(--ease), margin .35s var(--ease);
}
.foot__newsletter-msg.is-visible { max-height: 3rem; opacity: 1; margin: -.35rem 0 .1rem; }
.foot__newsletter-msg--ok { color: #8FE0AE; }
.foot__newsletter-msg--ko { color: #F3A0A0; }

/* ---------- Fiche résidence ---------- */
.property-banner { position: relative; height: min(56vh, 520px); overflow: hidden; color: #fff; }
.property-banner img { width: 100%; height: 100%; object-fit: cover; }
.property-banner__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,24,46,.15) 0%, rgba(9,24,46,.75) 100%); }
.property-banner__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem); }
.property-banner__content h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.property-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.property-meta__item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text-muted); }
.property-meta__item svg { width: 1.2rem; height: 1.2rem; color: var(--brand); }
.property-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .property-layout { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 2.5rem; }
.gallery a { display: block; border-radius: var(--radius-s); overflow: hidden; box-shadow: 0 0 0 rgba(10, 38, 71, 0); transition: box-shadow .35s var(--ease); }
.gallery a:hover { box-shadow: var(--shadow); }
.gallery img { aspect-ratio: 1; object-fit: cover; cursor: zoom-in; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.12); }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.amenity-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.amenity-badge {
    display: inline-flex; align-items: center; gap: .5rem; background: var(--sky); color: var(--brand);
    border-radius: 999px; padding: .5rem 1rem; font-size: .82rem; font-weight: 600; cursor: default;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.amenity-badge:hover { background: var(--brand-solid); color: #fff; transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 20px -10px rgba(68, 111, 153, .5); }
.amenity-badge svg { width: 1rem; height: 1rem; }

.price-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem; position: sticky; top: 6.5rem; }
.price-card__row { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.price-card__row:last-of-type { border-bottom: none; }
.price-card__row span { color: var(--text-muted); }
.price-card__row strong { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--text); }
.price-card .btn { width: 100%; margin-top: 1.25rem; }
.price-card__note { font-size: .76rem; color: var(--text-muted); margin-top: .75rem; text-align: center; }

.map-inline {
    position: relative; min-height: 200px; border-radius: var(--radius-m); overflow: hidden; margin-top: 1.25rem;
    background:
        repeating-linear-gradient(0deg, rgba(16,35,64,.06) 0 1px, transparent 1px 36px),
        repeating-linear-gradient(90deg, rgba(16,35,64,.06) 0 1px, transparent 1px 36px),
        var(--sky);
}

/* ---------- Widget de réservation ---------- */
.booking-result {
    display: none; align-items: center; gap: .6rem; border-radius: var(--radius-s);
    padding: .75rem .9rem; font-size: .84rem; margin: 1rem 0;
}
.booking-result.is-visible { display: flex; }
.booking-result.is-available { background: #E4F3E9; color: #1E6B3C; }
.booking-result.is-unavailable { background: #FBE8E8; color: #A32828; }
.booking-result svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }

/* Détail du calcul (paliers mois/quinzaine/semaine/jours qui composent le
   total) — pour qu'un séjour long et sa tarification restent transparents
   d'un coup d'œil, pas juste un total sans explication. */
.price-breakdown { display: none; margin: -.4rem 0 1rem; padding: .8rem 1rem; background: var(--sky); border-radius: var(--radius-s); }
.price-breakdown.is-visible { display: block; }
.price-breakdown__title { font-size: .68rem; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .3rem; }
.price-breakdown__row { display: flex; justify-content: space-between; gap: .75rem; padding: .38rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.price-breakdown__row span:first-child { color: var(--text-muted); }
.price-breakdown__row:last-child { border-bottom: none; padding-top: .5rem; font-weight: 700; }
.price-breakdown__row:last-child span:first-child { color: var(--text); }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: .25rem 0 1rem; }
.pay-method {
    border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg-raised);
    padding: .7rem .5rem; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pay-method.is-selected { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pay-method__badge { display: block; text-align: center; font-weight: 800; font-size: .78rem; letter-spacing: -.01em; }
.pay-method__badge--ria { color: #D2232A; }
.pay-method__badge--wu { color: #FFCE00; -webkit-text-stroke: .5px #000; }
.pay-method__badge--mg { color: #0033A0; }

/* ---------- Popup moyen de paiement (capte vraiment l'attention) ---------- */
.pay-modal-backdrop {
    position: fixed; inset: 0; z-index: 70; background: rgba(8, 16, 30, .5);
    opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.pay-modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.pay-modal {
    position: fixed; top: 50%; left: 50%; z-index: 71; width: min(90vw, 380px);
    transform: translate(-50%, -46%); opacity: 0; pointer-events: none;
    background: var(--bg-raised); border-radius: var(--radius-m); box-shadow: var(--shadow);
    padding: 2.25rem 1.75rem 1.75rem; text-align: center;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.pay-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.pay-modal__close {
    position: absolute; top: .9rem; right: .9rem; width: 2rem; height: 2rem; border-radius: 50%;
    border: 1px solid var(--line); background: var(--bg-raised); display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text);
}
.pay-modal__icon { display: inline-flex; width: 3rem; height: 3rem; border-radius: 50%; background: var(--sky); color: var(--brand); align-items: center; justify-content: center; margin-bottom: 1rem; }
.pay-modal__icon svg { width: 1.5rem; height: 1.5rem; }
.pay-modal__title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; margin: 0 0 .75rem; }
.pay-modal__text { font-size: .88rem; color: var(--text-muted); line-height: 1.55; margin: 0 0 1.25rem; }
.pay-modal--form { width: min(92vw, 460px); text-align: left; padding-top: 2rem; }
.pay-modal--form .pay-modal__title { text-align: center; }

/* ---------- Témoignages ---------- */
.testimonial-carousel { max-width: 700px; margin: 0 auto; }
.testimonial-track { position: relative; }
.testimonial-card {
    display: none; text-align: center; background: var(--bg-raised); border: 1px solid var(--line);
    border-radius: 20px; box-shadow: var(--shadow); padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
}
.testimonial-card.is-active { display: block; animation: testimonialIn .5s var(--ease); }
@keyframes testimonialIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.testimonial-card__mark { display: block; font-family: 'Fraunces', serif; font-size: 3rem; line-height: 1; color: var(--sky); margin-bottom: -.4rem; }
.testimonial-card .star-rating { justify-content: center; margin: .5rem 0; }
.testimonial-card__text { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.1rem; line-height: 1.65; color: var(--text); margin: 1rem 0 1.5rem; }
.testimonial-card__author { display: flex; align-items: center; justify-content: center; gap: .7rem; }
.testimonial-card__avatar {
    width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--brand-solid); color: #fff;
    display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 600;
}
.testimonial-card__name { font-weight: 700; font-size: .9rem; }
.testimonial-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.testimonial-dot { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.testimonial-dot.is-active { background: var(--brand-solid); transform: scale(1.35); }
.testimonial-cta { text-align: center; margin-top: 1.5rem; }

/* ---------- Toast (avertissement bref) ---------- */
.toast {
    position: fixed; left: 50%; bottom: 1.5rem; z-index: 80; transform: translate(-50%, 10px);
    background: var(--ink); color: #fff; font-size: .85rem; padding: .8rem 1.25rem; border-radius: 999px;
    box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
    max-width: 90vw; text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.file-field {
    display: flex; align-items: center; gap: .6rem; border: 1px dashed var(--line); border-radius: var(--radius-s);
    padding: .7rem .9rem; font-size: .82rem; color: var(--text-muted); cursor: pointer;
}
.file-field svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex-shrink: 0; }
.file-field input { display: none; }

/* ---------- Lightbox galerie ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(8, 16, 30, .93); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 88vw; max-height: 80vh; border-radius: var(--radius-s); }
.lightbox__close, .lightbox__prev, .lightbox__next {
    position: fixed; background: rgba(255, 255, 255, .12); color: #fff; border: none;
    width: 2.8rem; height: 2.8rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: .8rem; }

/* ---------- Sélecteur de plage de dates (champ unique) ---------- */
.date-range { position: relative; }
.date-range__input {
    width: 100%; display: flex; align-items: center; gap: .6rem; text-align: left;
    border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg-raised);
    padding: .8rem .9rem; font-family: 'Manrope', sans-serif; font-size: .9rem; color: var(--text); cursor: pointer;
}
.date-range__input svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex-shrink: 0; }
.date-range__popover {
    position: absolute; top: calc(100% + .5rem); right: 0; z-index: 20; width: min(580px, 92vw);
    background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m);
    box-shadow: var(--shadow); padding: 1rem;
}
.date-range__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; font-weight: 700; font-size: .88rem; }
.date-range__nav button { background: none; border: 1px solid var(--line); border-radius: 50%; width: 1.9rem; height: 1.9rem; cursor: pointer; color: var(--text); flex-shrink: 0; }
.date-range__hint { font-size: .74rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
/* Deux mois affichés côte à côte : on voit et on choisit l'arrivée et le
   départ sur un seul écran, sans naviguer mois par mois entre les deux clics. */
.date-range__calendars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.date-range__month-label { text-align: center; font-size: .82rem; font-weight: 700; margin-bottom: .6rem; }
.date-range__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.date-range__dow { text-align: center; font-size: .68rem; color: var(--text-muted); font-weight: 700; padding-bottom: .4rem; }
.date-range__day { border: none; background: none; padding: .5rem 0; font-size: .82rem; border-radius: 6px; cursor: pointer; color: var(--text); }
.date-range__day:hover:not(:disabled) { background: var(--sky); }
.date-range__day:disabled { color: var(--line); cursor: not-allowed; }
.date-range__day.is-in-range { background: var(--sky); }
.date-range__day.is-start, .date-range__day.is-end { background: var(--brand); color: #fff; font-weight: 700; }
@media (max-width: 560px) {
    .date-range__popover { width: min(320px, 92vw); }
    .date-range__calendars { grid-template-columns: 1fr; gap: 1.25rem; }
    .date-range__hint { display: none; }
}

/* ---------- Formulaires (fond clair) ---------- */
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: .72rem; font-weight: 780; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: .5rem; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg-raised);
    padding: .75rem .9rem; font-family: 'Manrope', sans-serif; font-size: .92rem; color: var(--text);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--brand); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-alert { border-radius: var(--radius-s); padding: .9rem 1.1rem; font-size: .88rem; margin-bottom: 1.5rem; }
.form-alert--success { background: #E4F3E9; color: #1E6B3C; }
.form-alert--error { background: #FBE8E8; color: #A32828; }

/* ---------- Bannière de page (photo + texte, pages secondaires) ---------- */
.page-hero {
    position: relative; min-height: min(52vh, 460px); display: flex; align-items: center;
    color: #fff; text-align: center; overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero__scrim {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(9, 24, 46, .5) 0%, rgba(9, 24, 46, .35) 45%, rgba(9, 24, 46, .8) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(9rem, 14vw, 10.5rem); padding-bottom: 2rem; }
@media (max-width: 900px) { .page-hero .container { padding-top: 6.5rem; } }
.page-hero .eyebrow { justify-content: center; color: rgba(255, 255, 255, .8); }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); margin: 1rem auto 1.25rem; max-width: 18ch; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 52ch; margin: 0 auto 2rem; }

/* ---------- Facebook : onglet flottant + panneau en overlay ----------
   Le panneau ne réserve jamais d'espace dans la mise en page : il est
   "position: fixed" au-dessus du contenu, fermé par défaut, et ouvert/fermé
   par un onglet mince en permanence ancré au bord droit de l'écran. */
.fb-tab {
    position: fixed; top: 50%; right: 0; z-index: 31; transform: translateY(-50%);
    display: flex; align-items: center; gap: .55rem;
    background: var(--ink); color: #fff; border: none; cursor: pointer;
    padding: 1rem .65rem; border-radius: 10px 0 0 10px;
    box-shadow: -6px 6px 24px -10px rgba(10, 38, 71, .4);
    transition: padding-right .25s var(--ease), background .25s var(--ease);
}
.fb-tab:hover { padding-right: .95rem; background: var(--ink-soft); }
.fb-tab svg { width: 1.05rem; height: 1.05rem; flex: none; }
.fb-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fb-tab[aria-expanded="true"] { right: 320px; }
@media (max-width: 420px) { .fb-tab[aria-expanded="true"] { right: min(88vw, 320px); } }

.fb-backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(10, 20, 38, .32); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.fb-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.fb-aside {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(88vw, 320px); z-index: 30;
    background: var(--bg-raised); box-shadow: -18px 0 44px -18px rgba(10, 38, 71, .4);
    padding: 4rem 1.5rem 1.5rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease);
}
.fb-aside.is-open { transform: translateX(0); }
.fb-aside__close { position: absolute; top: 1.1rem; right: 1.25rem; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-raised); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.fb-aside__note { font-size: .72rem; color: var(--text-muted); margin: 0 0 1.25rem; line-height: 1.5; }
.fb-plugin { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--bg-raised); box-shadow: var(--shadow); }
.fb-plugin__cover { height: 76px; background: linear-gradient(135deg, var(--brand), var(--ink)); }
.fb-plugin__head { display: flex; gap: .75rem; padding: 0 1rem; margin-top: -28px; align-items: flex-end; }
.fb-plugin__avatar { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--bg-raised); background: var(--sky); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 600; color: var(--brand); font-size: 1.3rem; }
.fb-plugin__name { font-weight: 700; font-size: .92rem; padding-bottom: .3rem; }
.fb-plugin__meta { font-size: .72rem; color: var(--text-muted); padding: .6rem 1rem 0; }
.fb-plugin__like { margin: .9rem 1rem 1rem; }
.fb-plugin__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 1rem 1rem; }
.fb-plugin__grid a { display: block; overflow: hidden; border-radius: 3px; }
.fb-plugin__grid img { aspect-ratio: 1; object-fit: cover; display: block; width: 100%; transition: transform .3s var(--ease); }
.fb-plugin__grid a:hover img { transform: scale(1.12); }
.aside-quick { display: grid; gap: .75rem; margin-top: 1.5rem; }
.aside-quick__btn {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    font-size: .85rem; font-weight: 700; text-decoration: none; color: #fff;
    padding: .75rem 1rem; border-radius: 999px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.aside-quick__btn svg { width: 1.05rem; height: 1.05rem; }
.aside-quick__btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.aside-quick__btn--call { background: var(--brand-solid); box-shadow: 0 8px 18px -8px rgba(68, 111, 153, .55); }
.aside-quick__btn--whatsapp { background: #25D366; box-shadow: 0 8px 18px -8px rgba(37, 211, 102, .55); }
