/* =========================================================
   LYNDOR — Quiet Luxury Design System
   ========================================================= */

:root {
    --color-bg: #ffffff;
    --color-bg-soft: #f7f5f2;      /* very light beige/grey */
    --color-bg-beige: #f0ebe2;
    --color-text: #1c1b19;         /* near-black */
    --color-text-soft: #5c5952;    /* soft grey */
    --color-border: #e5e1d8;
    --color-accent: #b3894a;       /* gold-mustard, reserved for price/details */
    --color-brand-teal: #05909f;   /* sampled from the Maison Cadorette logo background */
    --color-brand-ink: #001a35;    /* dark brand navy with accessible contrast on teal */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
    --container: 1240px;
    --radius: 4px;
    --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
    line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
p { margin: 0 0 1em; color: var(--color-text-soft); }

.kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 14px;
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 34px;
    border-radius: 999px;
    font-size: .86rem; font-weight: 500; letter-spacing: .02em;
    background: var(--color-text); color: #fff; border: 1px solid var(--color-text);
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn.btn-outline:hover { background: var(--color-text); color: #fff; }
.btn.btn-light { background: #fff; color: var(--color-text); border-color: #fff; }
.btn.btn-light:hover { background: var(--color-bg-soft); }
.btn.btn-block { width: 100%; }

/* ===== Navbar ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--color-brand-teal);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.site-header.scrolled { border-color: rgba(0,26,53,.22); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 32px; }
.logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; letter-spacing: .04em; display: flex; align-items: center; opacity: 1; transition: opacity .35s ease; }
.logo.is-hidden { opacity: 0; }
.logo-img { height: 120px; width: auto; display: block; }

/* ===== Preloader (grand logo au chargement -> vole vers le logo du header) ===== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--color-brand-teal);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
    animation: preloader-fallback-hide 0s 4s forwards; /* filet de sécurité si JS échoue */
}
.preloader.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
    width: clamp(220px, 82vw, 1200px);
    height: auto;
    transform-origin: center center;
    will-change: transform;
}
.preloader-logo-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 13vw, 8rem);
    font-weight: 600; color: #fff; letter-spacing: .02em; white-space: nowrap;
}
@keyframes preloader-fallback-hide { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
    .preloader { transition: none; animation: none; display: none; }
}
.main-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.1vw, 40px); margin: 0; padding: 0; }
.main-nav a { font-size: .86rem; font-weight: 500; color: var(--color-brand-ink); transition: color .2s; }
.main-nav a:hover { color: #000; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--color-brand-ink); display: block; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: flex-end; justify-content: flex-start;
    text-align: left; color: #fff; overflow: hidden; padding: 0 60px 90px;
    touch-action: pan-y; /* laisse le défilement vertical natif, le swipe horizontal est géré en JS */
}

.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-content { position: relative; z-index: 3; max-width: 560px; }
.hero h1 {
    color: #fff; margin: 0 0 18px; max-width: 520px;
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    font-weight: 500; line-height: 1.22; letter-spacing: -0.01em;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero p { color: rgba(255,255,255,.88); font-size: 1rem; max-width: 460px; margin: 0 0 28px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 34px; right: 60px; z-index: 3; color: #fff; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* ===== Carrousel du hero (photos & vidéos) ===== */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Dégradé concentré sur le tiers inférieur seulement : le reste de la photo/vidéo reste dégagé. */
.hero-overlay {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(15,13,11,0) 45%, rgba(12,10,9,.55) 75%, rgba(10,9,8,.78) 100%);
}
.hero-dots { position: absolute; bottom: 34px; right: 60px; z-index: 3; display: flex; gap: 12px; transform: translateY(-26px); }
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
    padding: 0; background: transparent; cursor: pointer; position: relative;
    transition: background .2s, transform .2s, border-color .2s;
}
/* Zone tactile plus généreuse que la pastille visuelle */
.hero-dot::after { content: ""; position: absolute; inset: -10px; }
.hero-dot:hover { border-color: #fff; }
.hero-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }

/* ===== Flèches de navigation du carrousel ===== */
.hero-nav { position: absolute; right: 60px; bottom: 100px; z-index: 3; display: flex; gap: 10px; }
.hero-nav-btn {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(12,10,9,.28);
    color: #fff; cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.hero-nav-btn:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.hero-nav-btn:active { transform: scale(.94); }

@media (max-width: 720px) {
    .hero { padding: 0 20px 56px; align-items: flex-end; }
    .hero-content { max-width: 100%; }
    .hero-dots { right: 20px; bottom: 20px; transform: none; }
    .hero-nav { right: 20px; bottom: 62px; gap: 8px; }
    .hero-nav-btn { width: 44px; height: 44px; }
}

/* ===== Widget de réservation Elloha (haut de page) ===== */
.booking-widget-section { padding: 28px 0; background: var(--color-bg-soft); scroll-margin-top: 90px; }
/* Masque le lien "Cartes cadeaux" injecté par le widget Elloha (non désiré). */
#ConstellationWidgetLinks { display: none !important; }

/* ===== Sections ===== */
section { padding: 120px 0; scroll-margin-top: 148px; }
.section-soft { background: var(--color-bg-soft); }
.section-gallery { background: var(--color-brand-teal); }
.section-gallery .kicker { color: var(--color-brand-ink); }
.section-gallery h2 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-grid .about-image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-grid .about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Gallery ===== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px;
}
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(4) { grid-column: span 2; }
.g-item { border-radius: var(--radius); overflow: hidden; position: relative; display: block; width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }

/* ===== Page réservée aux résidents ===== */
.resident-menu-page {
    position: relative; overflow: hidden; min-height: 100vh;
    background: var(--color-brand-ink); color: #fff;
}
.resident-menu-page::before {
    content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -280px;
    border: 1px solid rgba(5,144,159,.34); border-radius: 50%; pointer-events: none;
}
.resident-menu-page .container { position: relative; }
.resident-page-intro { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.resident-page-intro .kicker { color: #62d2d8; }
.resident-page-intro h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 4.2rem); }
.resident-page-intro > p { color: rgba(255,255,255,.76); }
.resident-only-badge {
    display: inline-flex; align-items: center; margin-bottom: 30px; padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
    color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.resident-page-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.resident-page-actions .btn { background: var(--color-brand-teal); border-color: var(--color-brand-teal); color: var(--color-brand-ink); }
.resident-page-actions .btn:hover { background: #62d2d8; border-color: #62d2d8; }
.resident-page-actions .btn-outline { background: transparent; border-color: rgba(255,255,255,.72); color: #fff; }
.resident-page-actions .btn-outline:hover { background: #fff; border-color: #fff; color: var(--color-brand-ink); }
.resident-page-note { margin-top: 22px !important; font-size: .78rem; line-height: 1.55; }
.resident-page-document {
    overflow: hidden; min-width: 0; background: #fff; border: 8px solid rgba(255,255,255,.12); border-radius: 6px;
    box-shadow: 0 32px 80px rgba(0,0,0,.34); max-width: 980px; margin: 0 auto;
}
.resident-menu-toolbar {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    background: var(--color-bg-beige); border-bottom: 1px solid var(--color-border);
    color: var(--color-text-soft); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.resident-page-document object { display: block; width: 100%; height: min(1180px, 82vh); min-height: 720px; border: 0; background: #fff; }
.resident-menu-fallback { min-height: 420px; padding: 60px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.resident-menu-missing { max-width: 720px; margin: 0 auto; padding: 42px; border: 1px solid rgba(255,255,255,.22); text-align: center; }
.resident-menu-missing h2 { color: #fff; }
.resident-menu-missing p { color: rgba(255,255,255,.76); margin-bottom: 0; }
.resident-access-page { display: flex; align-items: center; }
.resident-access-card {
    width: 100%; max-width: 580px; margin: 0 auto; padding: 48px;
    border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
    box-shadow: 0 28px 70px rgba(0,0,0,.28); text-align: center;
}
.resident-access-card .kicker { display: block; color: #62d2d8; }
.resident-access-card h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); }
.resident-access-card > p { color: rgba(255,255,255,.76); }
.resident-access-form { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.resident-access-form label { color: #fff; font-size: .82rem; font-weight: 700; }
.resident-access-form input {
    width: 100%; min-height: 54px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.32);
    border-radius: 2px; background: #fff; color: var(--color-brand-ink); font: inherit;
}
.resident-access-form input:focus { outline: 3px solid rgba(98,210,216,.35); border-color: #62d2d8; }
.resident-access-form .btn { width: 100%; margin-top: 4px; background: var(--color-brand-teal); border-color: var(--color-brand-teal); color: var(--color-brand-ink); }
.resident-access-error { margin-top: 22px; padding: 12px 14px; background: #fff2f0; border-left: 4px solid #a7392f; color: #7f251e; text-align: left; }
.resident-access-card .resident-access-help { margin: 18px 0 0; font-size: .78rem; }

/* ===== Instagram ===== */
.instagram-section { background: var(--color-bg-soft); }
.instagram-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 48px; }
.instagram-heading > div { max-width: 650px; }
.instagram-heading h2 { margin-bottom: 12px; }
.instagram-heading p { max-width: 590px; margin-bottom: 0; }
.instagram-profile-link {
    display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; padding-bottom: 4px;
    border-bottom: 1px solid currentColor; color: var(--color-brand-ink); font-size: .9rem; font-weight: 700;
}
.instagram-profile-link span { font-size: 1.15rem; transition: transform .2s var(--ease); }
.instagram-profile-link:hover span { transform: translate(3px,-3px); }
.instagram-live-embed {
    min-height: 460px; padding: 40px; display: grid; place-items: center;
    border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff;
}
.instagram-live-embed .instagram-media { width: 100% !important; max-width: 720px !important; min-width: 0 !important; margin: 0 auto !important; }
.instagram-embed-fallback { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.instagram-embed-fallback strong { color: var(--color-brand-ink); font-size: 1rem; }
.instagram-embed-fallback span { color: var(--color-text-soft); font-size: .85rem; }
.instagram-connect-card {
    display: flex; align-items: center; gap: 24px; max-width: 760px; padding: 30px 34px;
    border: 1px dashed rgba(0,26,53,.3); border-radius: var(--radius); background: #fff;
}
.instagram-connect-card > svg { flex: 0 0 auto; color: var(--color-brand-teal); stroke-width: 1.5; }
.instagram-connect-card h3 { margin-bottom: 6px; color: var(--color-brand-ink); font-size: 1.25rem; }
.instagram-connect-card p { margin: 0; font-size: .88rem; }

a:focus-visible, button:focus-visible { outline: 3px solid #62d2d8; outline-offset: 4px; }

/* ===== Lightbox (visionneuse plein écran) ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(10,9,8,.94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-img { max-width: 88vw; max-height: 84vh; object-fit: contain; border-radius: 2px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-nav {
    position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 720px) {
    .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 14px; right: 14px; }
}

/* ===== Villas ===== */
.villas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.villa-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.villa-card:hover { box-shadow: 0 24px 50px rgba(20,18,15,.08); transform: translateY(-4px); }
.villa-card .villa-image { aspect-ratio: 4/3; overflow: hidden; }
.villa-card .villa-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.villa-card:hover .villa-image img { transform: scale(1.04); }
.villa-body { padding: 30px; }
.villa-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.villa-meta { font-size: .8rem; color: var(--color-text-soft); margin-bottom: 14px; letter-spacing: .02em; }
.villa-price { font-family: var(--font-body); color: var(--color-accent); font-weight: 600; font-size: 1.05rem; margin-bottom: 22px; }
.villa-price span { font-size: .78rem; font-weight: 400; color: var(--color-text-soft); margin-left: 4px; }
.villa-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.villa-actions .btn { padding: 13px 26px; font-size: .82rem; }
.btn-link { display: inline-flex; align-items: center; font-size: .86rem; font-weight: 500; color: var(--color-text); border-bottom: 1px solid var(--color-text); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.btn-link:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* ===== Corporatif & familial ===== */
.group-hero {
    position: relative; min-height: 72vh; padding: 90px 0; display: flex; align-items: flex-end;
    background-size: cover; background-position: center; color: #fff; overflow: hidden;
}
.group-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,18,37,.82) 0%, rgba(0,18,37,.52) 48%, rgba(0,18,37,.12) 100%);
}
.group-hero .container { position: relative; z-index: 1; width: 100%; }
.group-hero-content { max-width: 680px; }
.group-eyebrow {
    display: inline-block; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px;
    background: var(--color-brand-teal); color: var(--color-brand-ink);
    font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.group-hero h1 { max-width: 680px; margin-bottom: 18px; color: #fff; }
.group-hero p { max-width: 610px; margin-bottom: 30px; color: rgba(255,255,255,.92); font-size: 1.05rem; }

.group-intro .section-head { max-width: 760px; }
.group-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.group-audience-card {
    min-height: 100%; padding: 48px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff;
}
.group-audience-card-brand { background: var(--color-brand-teal); border-color: var(--color-brand-teal); color: var(--color-brand-ink); }
.group-card-label {
    display: block; margin-bottom: 16px; color: var(--color-accent); font-size: .72rem;
    font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.group-audience-card-brand .group-card-label { color: var(--color-brand-ink); }
.group-audience-card h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.group-audience-card-brand h3, .group-audience-card-brand p { color: var(--color-brand-ink); }
.group-audience-card ul { margin: 26px 0 0; padding: 0; list-style: none; }
.group-audience-card li { position: relative; margin: 11px 0; padding-left: 24px; color: var(--color-text-soft); }
.group-audience-card-brand li { color: var(--color-brand-ink); }
.group-audience-card li::before {
    content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 2px; background: currentColor;
}

.group-facts-band { padding: 66px 0; background: var(--color-brand-teal); }
.group-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.group-fact { padding: 10px 30px; border-left: 1px solid rgba(0,26,53,.24); text-align: center; color: var(--color-brand-ink); }
.group-fact:first-child { border-left: 0; }
.group-fact strong { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.group-fact span { display: block; margin-top: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .03em; }

.group-experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.group-photo-stack { position: relative; min-height: 610px; }
.group-photo-stack img { position: absolute; object-fit: cover; border-radius: var(--radius); }
.group-photo-main { inset: 0 70px 80px 0; width: calc(100% - 70px); height: calc(100% - 80px); }
.group-photo-secondary {
    right: 0; bottom: 0; width: 48%; height: 48%; border: 8px solid #fff;
    box-shadow: 0 24px 50px rgba(20,18,15,.16);
}
.group-experience-copy > p { font-size: 1.02rem; }
.group-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 30px 0; padding: 0; list-style: none; }
.group-checklist li { position: relative; padding-left: 24px; color: var(--color-text); font-size: .9rem; font-weight: 500; }
.group-checklist li::before {
    content: ""; position: absolute; left: 0; top: .4em; width: 10px; height: 10px;
    border: 2px solid var(--color-brand-teal); border-radius: 50%;
}
.group-availability { padding: 22px 24px; border-left: 3px solid var(--color-brand-teal); background: var(--color-bg-soft); font-size: .9rem !important; }

.group-request-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.group-request-copy { position: sticky; top: 180px; }
.group-request-contact { margin-top: 28px; color: var(--color-text); font-weight: 500; }
.group-request-contact a { border-bottom: 1px solid currentColor; }
.group-request-card { padding: 48px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }

/* ===== Page détail d'une chambre ===== */
.room-hero {
    position: relative; min-height: 62vh; display: flex; align-items: flex-end;
    color: #fff; overflow: hidden; padding-bottom: 64px;
}
.room-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.room-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.25), rgba(20,18,15,.72)); }
.room-hero-content { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 32px; width: 100%; }
.room-hero h1 { color: #fff; margin-bottom: 10px; }
.room-hero-meta { color: rgba(255,255,255,.9); font-size: 1rem; margin: 0; }
.breadcrumb { font-size: .78rem; color: rgba(255,255,255,.75); margin-bottom: 18px; letter-spacing: .02em; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

.room-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.room-lead { font-size: 1.08rem; color: var(--color-text); }
.room-detail-image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.room-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.room-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

@media (max-width: 980px) {
    .room-detail-grid { grid-template-columns: 1fr; gap: 36px; }
    .room-detail-image { order: -1; aspect-ratio: 16/10; }
}

/* ===== Amenities ===== */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; text-align: center; }
.amenity-item svg { width: 30px; height: 30px; margin: 0 auto 16px; stroke: var(--color-text); }
.amenity-item p { color: var(--color-text); font-size: .88rem; font-weight: 500; margin: 0; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 34px; }
.stars { color: var(--color-accent); letter-spacing: 2px; margin-bottom: 18px; font-size: .95rem; }
.testimonial-card p.quote { font-size: 1rem; color: var(--color-text); font-style: italic; }
.testimonial-name { font-size: .82rem; color: var(--color-text-soft); text-transform: uppercase; letter-spacing: .08em; margin: 0; }

/* ===== FAQ Accordion ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font-size: 1.02rem; font-weight: 500; color: var(--color-text);
}
.faq-question .icon { flex-shrink: 0; width: 18px; height: 18px; position: relative; }
.faq-question .icon::before, .faq-question .icon::after { content: ""; position: absolute; background: var(--color-text); transition: transform .3s var(--ease); }
.faq-question .icon::before { width: 18px; height: 1.4px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-question .icon::after { width: 1.4px; height: 18px; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .faq-question .icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer-inner { padding-bottom: 26px; color: var(--color-text-soft); max-width: 640px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ===== Formulaires ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--color-text-soft); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius);
    font-family: var(--font-body); font-size: .94rem; background: #fff; color: var(--color-text);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-text); }
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 26px; font-size: .9rem; }
.alert-success { background: #eef4ec; color: #3d5c37; }
.alert-error { background: #f8ece7; color: #8a3a24; }

/* ===== Footer ===== */
.site-footer { background: var(--color-brand-teal); color: var(--color-brand-ink); padding: 80px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { font-family: var(--font-heading); color: var(--color-brand-ink); font-size: 1.2rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.footer-col h4 { color: var(--color-brand-ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; font-weight: 600; }
.footer-tagline { color: var(--color-brand-ink); font-size: .9rem; max-width: 280px; }
.footer-payment { color: var(--color-brand-ink); font-size: .78rem; margin-top: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: var(--color-brand-ink); transition: color .2s; }
.footer-links a:hover { color: #000; }
.footer-bottom { border-top: 1px solid rgba(0,26,53,.24); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: var(--color-brand-ink); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .about-grid, .villas-grid { grid-template-columns: 1fr; }
    .header-inner { padding: 8px 20px; }
    .logo-img { height: 72px; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 90px; left: 0; right: 0;
        height: calc(100vh - 90px); height: calc(100dvh - 90px);
        background: var(--color-brand-teal); display: none; padding: 20px 32px;
        overflow-y: auto; z-index: 50;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a { display: block; padding: 16px 0; font-size: 1.05rem; font-weight: 600; color: var(--color-brand-ink); border-bottom: 1px solid rgba(0,26,53,.24); }
    .main-nav a:hover { color: #000; }
    .villas-grid { gap: 28px; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery-grid .g-item:nth-child(1) { grid-column: span 2; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .group-experience-grid, .group-request-layout { grid-template-columns: 1fr; gap: 48px; }
    .group-request-copy { position: static; }
    .resident-page-document object { min-height: 650px; }
}
@media (max-width: 720px) {
    section { padding: 80px 0; scroll-margin-top: 74px; }
    .header-inner { padding: 8px 20px; }
    .logo-img { height: 58px; }
    .nav-right { gap: 12px; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 74px; left: 0; right: 0;
        height: calc(100vh - 74px); height: calc(100dvh - 74px);
        background: var(--color-brand-teal); display: none; padding: 20px 32px;
        overflow-y: auto; z-index: 50;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a { display: block; padding: 16px 0; font-size: 1.05rem; font-weight: 600; color: var(--color-brand-ink); border-bottom: 1px solid rgba(0,26,53,.24); }
    .main-nav a:hover { color: #000; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .group-hero { min-height: 62vh; padding: 64px 0; background-position: 58% center; }
    .group-hero::after { background: rgba(0,18,37,.62); }
    .group-audience-grid { grid-template-columns: 1fr; }
    .group-audience-card, .group-request-card { padding: 30px 22px; }
    .group-facts-grid { grid-template-columns: 1fr 1fr; gap: 0; }
    .group-fact { padding: 24px 12px; border-left: 0; border-top: 1px solid rgba(0,26,53,.2); }
    .group-fact:nth-child(-n+2) { border-top: 0; }
    .group-photo-stack { min-height: 460px; }
    .group-photo-main { right: 35px; bottom: 55px; width: calc(100% - 35px); height: calc(100% - 55px); }
    .group-photo-secondary { width: 52%; height: 43%; border-width: 5px; }
    .group-checklist { grid-template-columns: 1fr; }
    .resident-menu-page { padding-top: 72px; }
    .resident-page-intro { margin-bottom: 38px; text-align: left; }
    .resident-only-badge { margin-bottom: 24px; }
    .resident-page-actions { align-items: stretch; flex-direction: column; }
    .resident-page-actions .btn { width: 100%; }
    .resident-page-document { border-width: 5px; }
    .resident-page-document object { height: 72vh; min-height: 520px; }
    .resident-menu-toolbar { padding: 11px 12px; font-size: .62rem; }
    .resident-access-card { padding: 34px 22px; text-align: left; }
    .instagram-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
    .instagram-live-embed { min-height: 380px; padding: 14px; }
    .instagram-connect-card { align-items: flex-start; gap: 16px; padding: 24px 20px; }
    .instagram-connect-card > svg { width: 38px; height: 38px; }
}

/* ===== Ajustements mobiles ===== */
body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
    .nav-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; }
    .nav-toggle span { transition: transform .22s ease, opacity .22s ease; transform-origin: center; }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
    .main-nav {
        display: block; visibility: hidden; opacity: 0; pointer-events: none;
        transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }
    .main-nav.open { display: block; visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
}

@media (max-width: 720px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    .container { width: 100%; padding-left: 20px; padding-right: 20px; }
    section { padding: 64px 0; }
    h1 { font-size: clamp(2rem, 10vw, 3rem); }
    h2 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
    .btn { min-height: 48px; padding: 13px 24px; }
    .header-inner { min-height: 74px; }
    .main-nav { padding: 12px 20px 24px; }
    .main-nav a { min-height: 52px; display: flex; align-items: center; padding: 12px 0; }
    .booking-widget-section { padding: 16px 0; overflow: hidden; }
    .booking-widget-section .container { padding-left: 10px; padding-right: 10px; overflow: hidden; }
    .booking-widget-section iframe,
    .booking-widget-section [id^="ConstellationWidgetContainer"] { max-width: 100% !important; }
    .hero { min-height: calc(100svh - 74px); padding: 0 20px 66px; }
    .hero h1 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
    .hero p { font-size: .93rem; line-height: 1.6; }
    .hero-scroll { display: none; }
    .hero-dots { right: 20px; bottom: 20px; transform: none; }
    .section-head { margin-bottom: 38px; }
    .about-grid { gap: 38px; }
    .about-grid .about-image { max-height: 72vh; }
    .gallery-grid { grid-auto-rows: 150px; gap: 8px; }
    .villa-body { padding: 22px 20px; }
    .villa-actions { gap: 9px; }
    .amenity-item { min-width: 0; }
    .faq-question { min-height: 58px; padding: 18px 0; font-size: .96rem; }
    .group-experience-grid, .group-request-layout { gap: 36px; }
    .group-photo-stack { min-height: 390px; }
    .resident-menu-page::before { width: 420px; height: 420px; right: -240px; top: -220px; }
    .resident-page-document object { min-height: 480px; }
    .instagram-live-embed { width: 100%; min-width: 0; }
    .instagram-live-embed .instagram-media { min-width: 0 !important; }
    .footer-col, .footer-links li, .footer-links a { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
    .container { padding-left: 17px; padding-right: 17px; }
    section { padding: 56px 0; }
    .hero { padding-left: 17px; padding-right: 17px; }
    .hero-actions, .hero-actions .btn,
    .villa-actions, .villa-actions .btn,
    .group-hero .btn { width: 100%; }
    .gallery-grid { grid-auto-rows: 132px; }
    .amenities-grid { grid-template-columns: 1fr; }
    .group-facts-grid { grid-template-columns: 1fr; }
    .group-fact, .group-fact:nth-child(-n+2) { border-top: 1px solid rgba(0,26,53,.2); }
    .group-fact:first-child { border-top: 0; }
    .group-photo-stack { min-height: 330px; }
    .resident-menu-toolbar { align-items: flex-start; flex-direction: column; gap: 3px; }
    .resident-page-document object { height: 68vh; min-height: 430px; }
    .resident-access-card { padding: 28px 18px; }
    .instagram-live-embed { min-height: 320px; padding: 6px; }
    .instagram-connect-card { flex-direction: column; }
    .footer-bottom { flex-direction: column; }
    .lightbox-img { max-width: 94vw; max-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
