:root {
  --bg: #fbf8f3;
  --bg-alt: #f2ece2;
  --surface: #ffffff;
  --ink: #18242e;
  --ink-soft: #4d5b66;
  --line: #e2d9cb;
  --sea: #0f5a73;
  --sea-deep: #0b3f52;
  --sea-soft: #dcecf1;
  --sun: #d9774a;
  --sun-soft: #f7e1d4;
  --busy: #e9e4dc;
  --busy-ink: #a39a8c;
  --ok: #2f7d55;
  --err: #b23b3b;
  --on-sea: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 40, 55, .25);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10181e; --bg-alt: #151f26; --surface: #1a252d; --ink: #eef2f4; --ink-soft: #a8b6bf;
    --line: #2a3843; --sea: #5fb3cf; --sea-deep: #8ccbe0; --sea-soft: #1d3a46; --sun: #ec9a74; --sun-soft: #3d2a20;
    --busy: #222c33; --busy-ink: #5b6870; --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --on-sea: #0b1a20;
  }
}
:root[data-theme="dark"] {
  --bg: #10181e; --bg-alt: #151f26; --surface: #1a252d; --ink: #eef2f4; --ink-soft: #a8b6bf;
  --line: #2a3843; --sea: #5fb3cf; --sea-deep: #8ccbe0; --sea-soft: #1d3a46; --sun: #ec9a74; --sun-soft: #3d2a20;
  --busy: #222c33; --busy-ink: #5b6870; --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --on-sea: #0b1a20;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--sun); margin-bottom: .6em; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-size: .95rem; transition: transform .15s, background .15s, opacity .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sun); color: #fff; }
.btn-primary:hover { background: #c4653a; }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost-dark { border-color: var(--sea); color: var(--sea); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand span { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; font-weight: 500; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav a:hover { color: var(--sea); }
/* Sélecteur de langue */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 7px; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 6px 10px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; }
.lang-btn:hover { border-color: var(--sea); }
.lang-caret { font-size: .7rem; opacity: .6; }
.flag { display: inline-flex; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0; }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 160px; z-index: 60; }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: var(--ink); font: inherit; font-size: .9rem; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.lang-menu button:hover { background: var(--bg-alt); }
.lang-menu button.on { font-weight: 600; color: var(--sea); }
@media (max-width: 900px) { .lang { margin-left: auto; } .topbar .btn-sm { margin-left: 0; } }
.brand span { white-space: nowrap; }
@media (max-width: 420px) { .lang-code { display: none; } .topbar-inner { gap: 10px; } .brand span { display: none; } }
.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,25,35,.1) 15%, rgba(8,25,35,.82) 100%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: 48px; width: 100%; }
.hero .eyebrow { color: #ffd2b8; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.9rem); max-width: 760px; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 620px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 32px; }
.hero-facts { list-style: none; padding: 18px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(255,255,255,.3); font-size: .95rem; }
.hero-facts strong { font-family: var(--serif); font-size: 1.25rem; }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 1.2em 0 1.6em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(-45deg); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.gallery button { padding: 0; border: 0; background: var(--busy); border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .more { display: none; }
.gallery.expanded .more { display: block; }
.show-all { margin-top: 20px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,18,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; bottom: 18px; color: #fff; font-size: .9rem; opacity: .8; }

/* Cards */
.cards { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card ul { padding-left: 1.1em; margin: 0; color: var(--ink-soft); }
.card li { margin-bottom: .35em; }
.around { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--sea-soft); }
.around p { margin: 0; }

/* Reviews */
.reviews { display: grid; gap: 18px; margin: 28px 0 18px; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews blockquote { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.reviews blockquote p { font-family: var(--serif); font-size: 1.15rem; }
.reviews cite { font-style: normal; color: var(--ink-soft); font-size: .88rem; }

/* Booking */
.notice { background: var(--sun-soft); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: .9rem; }
.booking { display: grid; gap: 24px; margin-top: 24px; align-items: start; }
@media (min-width: 980px) { .booking { grid-template-columns: 1.25fr 1fr; } }
.calendar-box, .booking-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .calendar-box, .booking-form { padding: 26px; } }
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cal-titles { flex: 1; display: grid; grid-template-columns: 1fr; text-align: center; font-weight: 600; text-transform: capitalize; }
@media (min-width: 640px) { .cal-titles { grid-template-columns: 1fr 1fr; } }
.cal-titles span:nth-child(2) { display: none; }
@media (min-width: 640px) { .cal-titles span:nth-child(2) { display: block; } }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.3rem; cursor: pointer; flex-shrink: 0; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; gap: 24px; }
@media (min-width: 640px) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-months .month:nth-child(2) { display: none; }
@media (min-width: 640px) { .cal-months .month:nth-child(2) { display: block; } }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dow { text-align: center; font-size: .72rem; color: var(--ink-soft); padding: 4px 0; font-weight: 600; }
.day { aspect-ratio: 1; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; position: relative; padding: 0; }
.day:hover:not(:disabled) { outline: 1.5px solid var(--sea); }
.day.sat:not(.busy):not(.past):not(.closed) { font-weight: 700; color: var(--sea); }
.day.sat:not(.busy):not(.past):not(.closed)::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sun); }
.day.busy { background: var(--busy); color: var(--busy-ink); text-decoration: line-through; cursor: not-allowed; }
.day.past, .day.closed { color: var(--busy-ink); opacity: .55; cursor: not-allowed; }
.day.checkout-ok { cursor: pointer; }
.day.in-range { background: var(--sea-soft); border-radius: 0; }
.day.sel-start, .day.sel-end { background: var(--sea); color: var(--on-sea) !important; font-weight: 700; }
.day.sel-start::after, .day.sel-end::after { display: none; }
.day.sel-start { border-radius: 8px 0 0 8px; } .day.sel-end { border-radius: 0 8px 8px 0; }
.day.sel-start.sel-end { border-radius: 8px; }
.day.empty { visibility: hidden; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .8rem; color: var(--ink-soft); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-free { border: 1px solid var(--line); } .lg-sat { background: var(--sun); border-radius: 50%; width: 8px; height: 8px; }
.lg-busy { background: var(--busy); } .lg-sel { background: var(--sea); }
.cal-hint { margin: 12px 0 0; font-size: .9rem; font-weight: 500; color: var(--sea); min-height: 1.5em; }
.cal-hint.warn { color: var(--err); }
.cal-loading { padding: 40px 0; text-align: center; color: var(--ink-soft); }

.booking-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 12px; }
.booking-form input:not([type=checkbox]), .booking-form select, .booking-form textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: 2px solid var(--sea); outline-offset: -1px; }
.booking-form .invalid { border-color: var(--err) !important; }
.grid2 { display: grid; gap: 0 12px; } @media (min-width: 520px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.grid4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0 12px; }

/* Grille des tarifs */
.rates { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.rates li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.rates li span { flex: 1; white-space: nowrap; }
.rates li em { flex-basis: 100%; font-style: normal; font-size: .78rem; color: var(--ink-soft); }
.rates .rate-busy { opacity: .55; }
.rates .rate-busy strong { font-weight: 500; color: var(--busy-ink); }
.rate-pick { border: 0; background: var(--sea-soft); color: var(--sea); font: inherit; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.rate-pick:hover { background: var(--sea); color: var(--on-sea); }
.dates-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; background: var(--sea-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.dates-row .label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.dates-row strong { font-size: .95rem; }
.options { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 4px; margin: 0 0 12px; }
.options legend { font-size: .82rem; font-weight: 600; color: var(--ink-soft); padding: 0 6px; }
.booking-form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; color: var(--ink); font-size: .92rem; margin-bottom: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--sea); }
.quote { border-top: 1px dashed var(--line); padding: 14px 0; margin: 4px 0 12px; }
.quote table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.quote td { padding: 4px 0; }
.quote td:last-child { text-align: right; white-space: nowrap; }
.quote .total td { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; font-size: 1.1rem; }
.quote .note { font-size: .8rem; color: var(--ink-soft); margin: 8px 0 0; }
.form-msg { margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-msg.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-msg.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }

/* Map */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; background: var(--busy); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Contact */
.contact { background: var(--sea-deep); color: #fff; }
.contact .eyebrow { color: #ffd2b8; }
.contact-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .contact-inner { grid-template-columns: 1fr 1fr; } }
.contact-links { display: grid; gap: 12px; }
.contact-link { display: block; padding: 18px 22px; border-radius: var(--radius); background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-size: clamp(1rem, 2.4vw, 1.25rem); font-weight: 600; word-break: break-word; }
.contact-link span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; font-weight: 500; }
.contact-link:hover { background: rgba(255,255,255,.18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact { background: #0b2a36; } }
:root[data-theme="dark"] .contact { background: #0b2a36; }

.footer { padding: 28px 0 90px; font-size: .85rem; color: var(--ink-soft); }
@media (min-width: 900px) { .footer { padding-bottom: 28px; } }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; text-align: center; background: var(--sun); color: #fff; padding: 14px; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
@media (min-width: 900px) { .sticky-cta { display: none; } }
