/* ===== Base (partagée entre les deux sites ; seules les couleurs changent dans index.html) ===== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.alt { background: var(--paper-2); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 "Inter", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-light { background: #fff; color: var(--brand); }

/* ===== En-tête ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
  color: #fff;
}
.site-header.scrolled { background: var(--brand); box-shadow: 0 2px 16px rgba(0,0,0,.15); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { font-family: "Fraunces", serif; font-size: 1.35rem; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; }
.logo small { display: block; font-family: "Inter", sans-serif; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .9; }
.nav a:hover { opacity: 1; }
.nav .btn { padding: .6em 1.1em; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--brand); padding: 8px 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav .btn { margin-top: 12px; }
}

/* ===== Héros ===== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  color: #fff; padding: 140px 0 64px;
  background: var(--brand) center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.65) 100%); }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,.92); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; padding: 0; list-style: none; }
.facts li { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); padding: .45em .95em; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rating-badge { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; margin-bottom: 14px; }
.rating-badge .star { color: #ffc94d; }

/* ===== Points forts ===== */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 36px; }
.highlight { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.highlight svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 12px; }
.highlight h3 { margin-bottom: .3em; }
.highlight p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ===== Le logement ===== */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding-left: 1.8em; position: relative; margin-bottom: .45em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1em; height: .55em; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; margin-top: 32px; }
.gallery button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery .is-hidden { display: none; }
.gallery-more { margin-top: 20px; text-align: center; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .big { grid-column: span 2; grid-row: span 2; }
}

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,12,14,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: #ddd; text-align: center; margin-top: 12px; font-size: .95rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ===== Couchages ===== */
.beds { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 28px; }
.bed { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--paper); }
.bed svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 8px; }
.bed strong { display: block; }
.bed span { color: var(--muted); font-size: .95rem; }

/* ===== Équipements ===== */
.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; margin-top: 32px; }
.amenities h3 { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.amenities ul { list-style: none; padding: 0; margin: 0; }
.amenities li { padding: .35em 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.amenities .na li { color: var(--muted); text-decoration: line-through; }

/* ===== Localisation ===== */
.map { width: 100%; height: 380px; border: 0; border-radius: 20px; background: var(--paper-2); }
.transport { list-style: none; padding: 0; margin: 0 0 1.5em; }
.transport li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pill { flex: none; min-width: 44px; text-align: center; padding: .25em .6em; border-radius: 8px; font-weight: 700; font-size: .85rem; color: #fff; background: var(--brand); }
.pill.m7 { background: #fa9aba; color: #222; }
.pill.m14 { background: #62259d; }
.pill.m8 { background: #e19bdf; color: #222; }
.pill.rer { background: #e3051c; }
.pill.t3 { background: #ff7f00; }
.pill.car { background: #555; }

/* ===== Avis ===== */
.score { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.score .big { font-family: "Fraunces", serif; font-size: 3.4rem; font-weight: 600; color: var(--brand); line-height: 1; }
.scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 28px; margin: 24px 0 36px; }
.scores div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .4em 0; font-size: .95rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 0; }
.review p { font-style: italic; }
.review footer { font-weight: 600; font-size: .92rem; }
.review footer span { font-weight: 400; color: var(--muted); }
.stars { color: #f2a900; letter-spacing: 2px; margin-bottom: 8px; }

/* ===== Questions fréquentes ===== */
#faq + section { padding-top: 0; }
.faq { max-width: 820px; margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ===== Infos pratiques ===== */
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.info { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.info h3 { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: .3em; }
.info p { margin: 0; color: var(--muted); }

/* ===== Réservation ===== */
.booking { background: var(--brand); color: #fff; }
.booking h2, .booking .eyebrow { color: #fff; }
.booking .eyebrow { opacity: .8; }
.booking .lead { color: rgba(255,255,255,.85); }
.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .booking-grid { grid-template-columns: 1fr; } }
.perks { list-style: none; padding: 0; margin: 24px 0; }
.perks li { padding: .5em 0 .5em 2em; position: relative; }
.perks li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--accent-light); }
.form-card { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .7em .85em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.field textarea { min-height: 110px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #1d5b33; }
.form-status.err { display: block; background: #fdecea; color: #8a1f17; }
.hidden { display: none !important; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ===== Pied de page ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 40px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: #fff; }

/* Bouton flottant mobile */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@media (max-width: 760px) { .sticky-cta.show { display: flex; } }

/* ===== À proximité ===== */
.nearby { margin-top: clamp(40px, 6vw, 64px); }
.nearby-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0; }
.nearby .amenities { margin-top: 20px; }
.nearby-note { margin-top: 20px; font-size: .9rem; }

/* ===== Prix ===== */
.hero-price { margin: 18px 0 0; font-size: 1.05rem; color: rgba(255,255,255,.95); }
.hero-price strong { font-size: 1.35rem; }
.price-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 16px; padding: 16px 20px; margin: 18px 0 20px; }
.price-main { margin: 0 0 6px; font-size: 1.1rem; color: #fff; }
.price-main strong { font-family: "Fraunces", serif; font-size: 2rem; }
.price-main span { opacity: .85; }
.price-sub { margin: 4px 0 0; font-size: .9rem; color: rgba(255,255,255,.82); }

/* ===== Calendrier des disponibilités ===== */
.dispo { margin-bottom: 18px; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .cal-months { grid-template-columns: 1fr; } .cal-month + .cal-month { display: none; } }
.cal-title { margin: 0 0 6px; text-align: center; font-weight: 600; text-transform: capitalize; font-size: .95rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid b { font-size: .72rem; color: var(--muted); font-weight: 600; padding: 2px 0; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: 8px; background: none; font: inherit; font-size: .85rem; color: var(--ink); cursor: pointer; padding: 0; }
.cal-grid button:hover { background: var(--paper-2); }
.cal-grid button.past { color: #c9c2bc; cursor: default; background: none; }
.cal-grid button.busy { color: #a99f98; text-decoration: line-through; background: #f1ece8; cursor: not-allowed; }
.cal-grid button.range { background: var(--ring); border-radius: 0; }
.cal-grid button.sel { background: var(--accent); color: #fff; font-weight: 700; }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.cal-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -6px; border: 1px solid var(--line); }
.cal-legend .lg.busy { background: #f1ece8; }
.cal-legend .lg.sel { background: var(--accent); border-color: var(--accent); }
.cal-hint { margin: 6px 0 0; font-size: .85rem; }
.cal-warn { color: #8a1f17; font-weight: 600; }
