/* ==========================================================================
   Location saisonnière — feuille de style principale
   Palette et typographie modifiables via les variables ci-dessous.
   ========================================================================== */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
    src: url("../fonts/cormorant-IEHZ6-k.woff2") format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-italic-KkcNEEU.woff2") format('woff2');
}
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    src: url("../fonts/jost-tnMAxTg.woff2") format('woff2');
}

:root {
    --bg: #faf7f2;
    --surface: #ffffff;
    --sand: #f2ece3;
    --sand-strong: #e9e0d3;
    --ink: #2b2723;
    --ink-soft: #4a433c;
    --muted: #7a7067;
    --line: #e5ddd1;
    --accent: #a5603b;
    --accent-dark: #874b2c;
    --accent-soft: #f4e6dc;
    --olive: #6b7056;
    --success: #4f7a5a;
    --success-soft: #e7f0e8;
    --danger: #a8463b;
    --danger-soft: #f8e6e3;

    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Jost', 'Segoe UI', system-ui, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(43, 39, 35, .04), 0 8px 30px rgba(43, 39, 35, .06);
    --shadow-lg: 0 20px 60px rgba(43, 39, 35, .14);
    --container: 1200px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
strong, b { font-weight: 500; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 .5em;
    color: var(--ink);
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 780px); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.75; }
.muted { color: var(--muted); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }
.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* --- Boutons ------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .95em 1.8em;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: 500 .88rem/1 var(--font-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn--small { padding: .7em 1.2em; font-size: .78rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-weight: 500; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px;
}
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- En-tête ------------------------------------------------------------ */

.site-header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    background: rgba(250, 247, 242, .92);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 1.65rem; font-weight: 600; }
.brand__place { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
    position: relative; color: var(--ink); text-decoration: none;
    font-size: .88rem; font-weight: 400; letter-spacing: .06em;
}
.nav__link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--accent); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

/* En-tête transparent au-dessus de la photo d'accueil */
.has-hero .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.is-scrolled) .brand,
.has-hero .site-header:not(.is-scrolled) .brand__place,
.has-hero .site-header:not(.is-scrolled) .nav__link,
.has-hero .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
.has-hero .site-header:not(.is-scrolled) .nav .btn { background: #fff; color: var(--ink); }
.has-hero .site-header { position: fixed; left: 0; right: 0; }

@media (max-width: 960px) {
    .nav-toggle { display: block; z-index: 2; }
    .nav {
        position: fixed; inset: 0; z-index: 1;
        flex-direction: column; justify-content: center; gap: 28px;
        background: var(--bg);
        opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
    }
    .nav__link { font-family: var(--font-serif); font-size: 2rem; letter-spacing: 0; color: var(--ink) !important; }
    .nav-open .nav { opacity: 1; visibility: visible; }
    .nav-open .nav-toggle { color: var(--ink) !important; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
    .nav-open { overflow: hidden; }
    .nav-open .brand { position: relative; z-index: 2; color: var(--ink) !important; }
    .nav-open .brand__place { color: var(--muted) !important; }
    .nav .btn { background: var(--accent) !important; color: #fff !important; }
}

/* --- Héros -------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: clamp(560px, 100svh, 980px);
    display: flex; align-items: flex-end;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) both; }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(20, 16, 12, .45) 0%, rgba(20, 16, 12, .05) 35%, rgba(20, 16, 12, .25) 60%, rgba(20, 16, 12, .72) 100%);
}
.hero__content { padding: calc(var(--header-h) + 60px) 0 56px; }
.hero__eyebrow { color: rgba(255, 255, 255, .85); }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: .3em; }
.hero__tagline { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 560px; color: rgba(255, 255, 255, .9); margin-bottom: 2.2rem; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.search-bar {
    display: grid;
    grid-template-columns: 1fr 1fr .8fr auto;
    gap: 0;
    background: #fff;
    border-radius: 999px;
    padding: 8px;
    max-width: 820px;
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}
.search-bar__field { display: flex; flex-direction: column; padding: 6px 24px; border-right: 1px solid var(--line); min-width: 0; }
.search-bar__field:nth-child(3) { border-right: 0; }
.search-bar label { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search-bar input, .search-bar select {
    border: 0; padding: 2px 0; background: transparent; font: 400 1rem var(--font-sans); color: var(--ink); width: 100%;
}
.search-bar input:focus, .search-bar select:focus { outline: none; }
.search-bar .btn { border-radius: 999px; padding-inline: 2rem; }

@media (max-width: 760px) {
    .search-bar { grid-template-columns: 1fr 1fr; border-radius: var(--radius); gap: 4px; }
    .search-bar__field { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; }
    .search-bar__field:nth-child(3) { grid-column: 1 / -1; }
    .search-bar .btn { grid-column: 1 / -1; border-radius: var(--radius-sm); margin-top: 4px; }
}

.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero p { max-width: 620px; margin-inline: auto; color: var(--muted); font-size: 1.1rem; }

/* --- Chiffres clés -------------------------------------------------------- */

.facts { display: flex; flex-wrap: wrap; justify-content: center; border-bottom: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: 14px; padding: 28px 36px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__value { font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.fact__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
    .facts { display: grid; grid-template-columns: 1fr 1fr; }
    .fact { padding: 20px; justify-content: center; }
    .fact + .fact { border-left: 0; }
    .fact:nth-child(even) { border-left: 1px solid var(--line); }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
    .fact:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; }
}

/* --- Présentation --------------------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.prose { color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.photo-stack { position: relative; padding: 0 0 60px 60px; }
.photo-stack img { border-radius: var(--radius); object-fit: cover; }
.photo-stack__main { width: 100%; aspect-ratio: 4 / 5; }
.photo-stack__small {
    position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1;
    border: 8px solid var(--bg); box-shadow: var(--shadow);
}
@media (max-width: 600px) { .photo-stack { padding: 0 0 40px 30px; } }

/* --- Mosaïque photos ---------------------------------------------------- */

.mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 12px;
}
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand-strong); cursor: zoom-in; }
.mosaic__item:first-child { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__more {
    position: absolute; right: 14px; bottom: 14px;
    background: rgba(255, 255, 255, .95); color: var(--ink); text-decoration: none;
    padding: .55em 1.1em; border-radius: 999px; font-size: .82rem; font-weight: 500;
}
@media (max-width: 760px) {
    .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px 140px; }
    .mosaic__item:first-child { grid-column: span 2; grid-row: auto; }
    .mosaic__item:nth-child(n+6) { display: none; }
}

/* --- Équipements --------------------------------------------------------- */

.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 32px; list-style: none; padding: 0; margin: 0; }
.amenities li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.amenities .icon { color: var(--accent); }

/* --- Cartes ------------------------------------------------------------- */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.card--shadow { box-shadow: var(--shadow); border-color: transparent; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list span:first-child { color: var(--muted); }
.info-list span:last-child { font-weight: 400; text-align: right; }

/* --- Tarifs --------------------------------------------------------------- */

.price-from { font-family: var(--font-serif); font-size: 3.2rem; line-height: 1; }
.price-from small { font-family: var(--font-sans); font-size: .95rem; color: var(--muted); }
.rate-list { list-style: none; padding: 0; margin: 0; }
.rate-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rate-list li:last-child { border-bottom: 0; }
.rate-list__label { font-weight: 400; }
.rate-list__dates { grid-column: 1; font-size: .88rem; color: var(--muted); }
.rate-list__price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--font-serif); font-size: 1.5rem; }

/* --- Avis --------------------------------------------------------------- */

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); flex: 1; }
.review footer { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--muted); }
.review__author { color: var(--ink); font-weight: 500; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: .95rem; }
.stars__off { color: var(--sand-strong); }
.rating-summary { display: inline-flex; align-items: center; gap: 14px; margin-top: .5rem; }
.rating-summary__score { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; }

/* --- Hôte --------------------------------------------------------------- */

.host { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.host__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.host__initial {
    width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent); font-family: var(--font-serif); font-size: 5rem;
}
@media (max-width: 700px) { .host { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 24px; } }

/* --- Carte -------------------------------------------------------------- */

.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); filter: grayscale(.35) sepia(.12); background: var(--sand-strong); }

/* --- Bandeau final -------------------------------------------------------- */

.cta-band { position: relative; color: #fff; text-align: center; padding: clamp(80px, 12vw, 150px) 0; isolation: isolate; overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(28, 22, 17, .55); z-index: -1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto 2rem; font-size: 1.15rem; }
.cta-band .btn + .btn { margin-left: 10px; }

/* --- Galerie ------------------------------------------------------------ */

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
    padding: .55em 1.25em; border-radius: 999px; font: 400 .9rem var(--font-sans); cursor: pointer;
    transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { columns: 3 320px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand-strong); }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .55)); color: #fff; font-size: .9rem;
    opacity: 0; transition: opacity .3s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; }
.gallery__item[hidden] { display: none; }

/* --- Visionneuse -------------------------------------------------------- */

.lightbox {
    position: fixed; inset: 0; z-index: 100; display: none;
    background: rgba(18, 15, 12, .96); color: #fff;
    align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; animation: fadeIn .25s var(--ease); }
.lightbox__figure { margin: 0; max-width: min(92vw, 1400px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox__caption { font-size: .95rem; color: rgba(255, 255, 255, .8); text-align: center; }
.lightbox__btn {
    position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; cursor: pointer;
    width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; display: grid; place-items: center;
    transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; top: 32px; left: 32px; font-size: .85rem; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- Réservation -------------------------------------------------------- */

.booking-layout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.booking-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1040px) { .booking-layout { grid-template-columns: 1fr; } .booking-layout__aside { position: static; } }

.calendar { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); }
.calendar__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.calendar__nav-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
    cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; color: var(--ink); transition: all .2s;
}
.calendar__nav-btn:hover:not([disabled]) { border-color: var(--ink); }
.calendar__nav-btn[disabled] { opacity: .3; cursor: default; }
.calendar__months { display: grid; grid-template-columns: repeat(var(--months, 2), 1fr); gap: 36px; }
@media (max-width: 700px) { .calendar__months { grid-template-columns: 1fr; } .calendar__month:nth-child(n+2) { display: none; } }
.calendar__title { text-align: center; font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 12px; text-transform: capitalize; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar__dow { text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.calendar__day {
    position: relative; aspect-ratio: 1; border: 0; background: none; border-radius: 50%;
    font: 400 .95rem var(--font-sans); color: var(--ink); cursor: pointer; display: grid; place-items: center;
    transition: background .15s, color .15s;
}
.calendar__day:hover:not(:disabled):not(.is-selected-start):not(.is-selected-end) { background: var(--sand); }
.calendar__day.is-empty { cursor: default; }
.calendar__day.is-past, .calendar__day.is-closed { color: #c9bfb3; cursor: default; }
.calendar__day.is-booked { color: #b9aea2; text-decoration: line-through; cursor: not-allowed; }
.calendar__day.is-booked.is-checkout-ok { cursor: pointer; text-decoration: none; color: var(--ink-soft); }
.calendar__day.is-today::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.calendar__day.is-in-range { background: var(--accent-soft); border-radius: 0; }
.calendar__day.is-selected-start, .calendar__day.is-selected-end { background: var(--ink); color: #fff; }
.calendar__day.is-selected-start.has-end { border-radius: 50% 0 0 50%; }
.calendar__day.is-selected-end { border-radius: 0 50% 50% 0; }
.calendar__day.is-selected-start.is-selected-end { border-radius: 50%; }
.calendar__day.is-invalid-end { color: #c9bfb3; cursor: not-allowed; }
.calendar__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: .85rem; color: var(--muted); }
.calendar__legend span { display: inline-flex; align-items: center; gap: 8px; }
.calendar__legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.legend-free { border: 1px solid var(--line); }
.legend-booked { border: 1px solid var(--line); background: linear-gradient(135deg, transparent 44%, #b9aea2 44% 56%, transparent 56%); }
.legend-selected { background: var(--ink); }
.calendar__hint { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); min-height: 1.5em; }
.calendar__actions { margin-top: 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.calendar__clear { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 0; }

.estimate { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; font-size: .95rem; }
.estimate__line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink-soft); }
.estimate__line--discount { color: var(--success); }
.estimate__total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-weight: 500; font-size: 1.1rem; }
.estimate__note { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.estimate__errors { color: var(--danger); font-size: .92rem; margin: 0; padding: 0; list-style: none; }
.estimate__placeholder { color: var(--muted); font-size: .92rem; }

/* --- Formulaires -------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid > .full, .form-grid > .form-row--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.form-row { margin-bottom: 18px; }
.form-row label, .form-label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row input[type=date],
.form-row input[type=number], .form-row select, .form-row textarea {
    width: 100%; padding: .85em 1em; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); font: 300 1rem var(--font-sans); color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-row--check { display: flex; gap: 12px; align-items: flex-start; }
.form-row--check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.form-row--check label { text-transform: none; letter-spacing: 0; font-weight: 300; font-size: .92rem; color: var(--ink-soft); margin: 0; }
.form-row.has-error input, .form-row.has-error select, .form-row.has-error textarea { border-color: var(--danger); }
.form-errors { list-style: none; padding: 0; margin: 6px 0 0; color: var(--danger); font-size: .88rem; }
.form-errors--global { background: var(--danger-soft); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.form-help { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* --- Alertes ------------------------------------------------------------ */

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .95rem; }
.alert--info { background: var(--accent-soft); color: var(--accent-dark); }
.alert--success { background: var(--success-soft); color: var(--success); }
.alert--danger { background: var(--danger-soft); color: var(--danger); }

/* --- Contact ------------------------------------------------------------ */

.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .icon { color: var(--accent); margin-top: 3px; }
.contact-item strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-item a { color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--accent); }

/* --- Merci -------------------------------------------------------------- */

.thanks { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks__icon .icon { width: 40px; height: 40px; }
.summary-box { display: inline-block; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 32px; margin: 12px 0 32px; min-width: min(100%, 380px); }

/* --- Pied de page ------------------------------------------------------- */

.site-footer { background: #24201c; color: rgba(255, 255, 255, .72); padding: 72px 0 32px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h3 { color: #fff; font-size: 1.9rem; margin-bottom: .4em; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.site-footer__bottom a { color: rgba(255, 255, 255, .6); }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* --- Barre de réservation mobile ---------------------------------------- */

.mobile-cta { display: none; }
@media (max-width: 760px) {
    .mobile-cta {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        display: flex; align-items: center; justify-content: space-between; gap: 16px;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0, 0, 0, .06);
    }
    .mobile-cta__price { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.1; }
    .mobile-cta__price small { display: block; font-family: var(--font-sans); font-size: .78rem; color: var(--muted); }
    body.has-mobile-cta { padding-bottom: 76px; }
}

/* --- Animations d'apparition -------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__media img { animation: none; }
    html { scroll-behavior: auto; }
}

/* --- Activités de la région ---------------------------------------------- */

.activities { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.activity { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.activity:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.activity[hidden] { display: none; }
.activity__media { position: relative; aspect-ratio: 3 / 2; background: var(--sand-strong); overflow: hidden; }
.activity__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.activity:hover .activity__media img { transform: scale(1.04); }
.activity__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent); background: linear-gradient(135deg, var(--sand), var(--accent-soft)); }
.activity__placeholder .icon { width: 56px; height: 56px; opacity: .6; }
.activity__category {
    position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94); color: var(--ink);
    font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px;
}
.activity__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.activity__body h3 { margin: 0; font-size: 1.55rem; }
.activity__distance { margin: 0; font-size: .85rem; color: var(--accent); font-weight: 500; letter-spacing: .04em; }
.activity__text { margin: 0; color: var(--ink-soft); font-size: .98rem; flex: 1; }
.activity__info { margin: 0; font-size: .88rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.activity .link-arrow { align-self: flex-start; margin-top: 6px; }

/* --- Règlement intérieur ------------------------------------------------- */

.rules-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.rules-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.rules-content h2 { font-size: 1.9rem; margin-top: 1.6em; }
.rules-content h2:first-child, .rules-content h1:first-child { margin-top: 0; }
.rules-content ul { padding-left: 1.2em; }
.link-rules { display: inline-block; margin-top: 14px; font-size: .9rem; }
@media (max-width: 960px) { .rules-layout { grid-template-columns: 1fr; } .rules-aside { position: static; } }

@media print {
    .site-header, .site-footer, .mobile-cta, .page-hero p, .section--sand, .rules-aside .btn { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .card { border: 0; box-shadow: none; padding: 0; }
    .rules-layout { display: block; }
    .rules-aside { position: static; margin-bottom: 24px; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
