/* =========================================================
   Meine kleine Ecke — feuille de style publique
   Les couleurs et polices viennent de l'administration
   (variables --primary, --accent, --bg, --ink, --font-*)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 2rem); } }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typo ---------- */
.display, .h2, .h3, .price-name, .footer-name, .brand-name, blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
.display { font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.02; margin: 0 0 1.25rem; text-wrap: balance; }
.display em, .h2 em { font-style: italic; color: var(--accent); }
.page-hero .display em, .hero .display em { color: inherit; opacity: .92; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; margin: 0 0 1.25rem; text-wrap: balance; }
.h3 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40rem; opacity: .92; margin: 0 0 2rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.kicker::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.kicker-light { color: rgba(255,255,255,.88); }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: .9rem; margin-top: 2rem; }
.center { text-align: center; margin-inline: auto; }
.narrow { max-width: 44rem; }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px var(--accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.cta .btn-ghost { border-color: color-mix(in srgb, #fff 45%, transparent); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--primary);
  text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; margin-top: 1.5rem;
}
.link-arrow .ico { width: 1em; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 1.1rem 0;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line); padding: .6rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; }
.brand-mark { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; flex: none; }
.brand-mark svg { width: 1.7rem; height: 1.7rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-size: 1.3rem; white-space: nowrap; }
.brand-tag { font-size: .72rem; opacity: .78; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-logo { display: inline-flex; background: rgba(255,255,255,.92); padding: .35rem .7rem; border-radius: 12px; }
.brand-logo img { height: 2.6rem; width: auto; max-width: 200px; object-fit: contain; }
.is-solid .brand-logo { background: transparent; padding: 0; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  text-decoration: none; font-weight: 500; font-size: .96rem; padding: .5rem .85rem; border-radius: 999px; white-space: nowrap;
  transition: background-color .2s;
}
.nav ul a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav ul a[aria-current] { background: color-mix(in srgb, currentColor 16%, transparent); }
.btn-nav { padding: .6rem 1.2rem; background: var(--accent); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1260px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center; width: 2.8rem; height: 2.8rem;
    border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; cursor: pointer; z-index: 2;
  }
  .nav-toggle span:not(.sr) { width: 18px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; background: var(--bg); color: var(--ink);
    flex-direction: column; justify-content: center; gap: 2rem;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav ul { flex-direction: column; align-items: center; gap: .5rem; }
  .nav ul a { font-family: var(--font-display); font-size: 1.9rem; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { color: var(--ink); }
  .brand { position: relative; z-index: 2; }
  .nav-open { overflow: hidden; }
}

/* ---------- Sélecteur de langue ---------- */
.lang { position: relative; }
.lang-btn {
  cursor: pointer; background: none; color: inherit; display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .75rem; border-radius: 999px; font-weight: 600; font-size: .85rem; letter-spacing: .04em;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}
.lang-btn .ico { width: 1rem; height: 1rem; }
.lang-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 11rem; list-style: none; margin: 0; padding: .4rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); display: none; gap: 2px;
}
.lang.is-open ul { display: grid; }
.lang ul a { display: flex; gap: .6rem; align-items: center; padding: .5rem .7rem; border-radius: 9px; text-decoration: none; font-size: .95rem; }
.lang ul a b { font-size: .72rem; letter-spacing: .08em; color: var(--muted); width: 1.5rem; }
.lang ul a:hover { background: var(--tint); }
.lang ul a[aria-current] { background: var(--primary-soft); font-weight: 600; }
.footer-langs { display: inline-flex; gap: 1rem; flex-wrap: wrap; }
.footer-langs a[aria-current] { color: #fff; font-weight: 600; }
@media (max-width: 1260px) {
  .lang-btn { display: none; }
  .lang ul { position: static; display: flex; flex-direction: row; background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; gap: .4rem; }
  .lang ul a { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .9rem; font-family: var(--font-body); }
  .lang ul a b { width: auto; color: inherit; }
  .lang ul a span { display: none; }
  .lang ul a[aria-current] { background: var(--primary); color: #fff; border-color: var(--primary); }
}

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; min-height: max(620px, 100svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-img, .page-hero-img, .quote-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-img { animation: slowzoom 18s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade, .page-hero-shade, .quote-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(0deg, color-mix(in srgb, var(--primary-deep) 88%, transparent) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 80%);
}
.hero-inner { padding: 10rem 0 9rem; }
.hero-title { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 6.6rem; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-width: 1100px) { .hero-scroll { display: block; right: 2.5rem; left: auto; } }

/* ---------- Chiffres clés ---------- */
.facts { position: relative; z-index: 2; margin-top: -4.5rem; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
  border: 1px solid var(--line);
}
.fact { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .25rem; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-value { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; color: var(--primary); }
.fact-label { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact { padding: 1.2rem 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.section-head .h2, .section-head .link-arrow { margin: 0; }
.section-head-stack { display: block; max-width: 44rem; }
.section-head-stack .h2 { margin-bottom: .6rem; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-reverse .split-text { order: 2; }
.split-media { position: relative; margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 26px; }
.split-media-tall img { aspect-ratio: 4/5; }
.split-badge {
  position: absolute; left: -1.4rem; bottom: 2rem; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -12px var(--accent);
}
.split-badge .ico { width: 1.7rem; height: 1.7rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-text { order: 0; }
  .split-badge { left: 1rem; bottom: -1.5rem; }
}

/* ---------- Cartes ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); }
.feature h3 { font-size: 1.08rem; margin: 1.1rem 0 .4rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-ico {
  width: 3rem; height: 3rem; border-radius: 14px; display: inline-grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--accent);
}
.feature-ico .ico { width: 1.45rem; height: 1.45rem; }
.feature-ico.sm { width: 2.3rem; height: 2.3rem; border-radius: 11px; }
.feature-ico.sm .ico { width: 1.15rem; height: 1.15rem; }

/* ---------- Mosaïque photos ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15rem; gap: .9rem; grid-auto-flow: dense; }
.mosaic-item:nth-child(10n+1) { grid-column: 1 / span 2; grid-row: span 2; }
.mosaic-item:nth-child(10n+6) { grid-column: 3 / span 2; grid-row: span 2; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 11rem; }
  .mosaic-item:nth-child(10n+1), .mosaic-item:nth-child(10n+6) { grid-column: 1 / span 2; grid-row: span 1; }
}
.mosaic-item, .masonry-item { position: relative; overflow: hidden; border-radius: 18px; display: block; background: var(--line); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.mosaic-item:hover img, .masonry-item:hover img { transform: scale(1.05); }
.mosaic-cap {
  position: absolute; left: .75rem; bottom: .75rem; right: .75rem; width: fit-content;
  background: rgba(20,20,20,.55); backdrop-filter: blur(8px); color: #fff; font-size: .82rem;
  padding: .35rem .75rem; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: .3s;
}
.mosaic-item:hover .mosaic-cap, .masonry-item:hover .mosaic-cap { opacity: 1; transform: none; }
.masonry { columns: 3 260px; column-gap: .9rem; }
.masonry-item { margin-bottom: .9rem; break-inside: avoid; }
.masonry-item img { width: 100%; height: auto; transition: transform .7s ease; }

/* ---------- Citation ---------- */
.quote { position: relative; isolation: isolate; color: #fff; padding: clamp(6rem, 14vw, 10rem) 0; overflow: hidden; }
.quote-shade { background: color-mix(in srgb, var(--primary-deep) 70%, transparent); }
.quote-inner { max-width: 54rem; text-align: center; }
.quote-mark { width: 2.6rem; height: 2.6rem; color: var(--accent); margin: 0 auto 1.5rem; }
blockquote { font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.25; font-style: italic; font-weight: 400; margin: 0 0 1.5rem; text-wrap: balance; }
.quote-author { opacity: .85; letter-spacing: .04em; margin: 0; }

/* ---------- Appel à l'action ---------- */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: var(--primary); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -4rem; bottom: -6rem; width: 22rem; height: 14rem; opacity: .1;
  background: currentColor; clip-path: polygon(0 100%, 35% 20%, 52% 50%, 68% 0, 100% 100%);
}
.cta > div:first-child { max-width: 38rem; }
.cta .h2 { margin-bottom: .6rem; }
.cta p { margin: 0; opacity: .85; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }

/* ---------- Bandeau des pages ---------- */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero-inner { padding: 9rem 0 3.5rem; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .display { font-size: clamp(2.6rem, 6vw, 4.6rem); }

/* ---------- Présentation ---------- */
.timeline { list-style: none; padding: 0; margin: clamp(3rem, 6vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.timeline li { padding: 1.5rem 1.5rem 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.tl-year { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--primary); line-height: 1.1; margin-bottom: .35rem; }
.tl-text { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: .4rem; }
  .timeline li { padding: 0 0 1.5rem 1.6rem; }
  .timeline li::before { top: .7rem; left: -6px; }
}
.host { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 64rem; }
.host-photo { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; border: 8px solid var(--bg); box-shadow: 0 24px 50px -24px rgba(0,0,0,.4); }
@media (max-width: 760px) { .host { grid-template-columns: 1fr; } .host-photo { width: 170px; height: 170px; } }
.chip-line { display: inline-flex; align-items: center; gap: .6rem; margin: 1.5rem 0 0; background: var(--surface); border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 999px; font-size: .92rem; }
.chip-line .ico { color: var(--accent); }

.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.amenity { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.6rem; }
.amenity h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.08rem; margin: 0 0 1rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; }
.checks .ico { width: 1.05rem; height: 1.05rem; color: var(--primary); margin-top: .25rem; stroke-width: 2.2; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 3.5rem; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 2.2rem 2rem; display: flex; flex-direction: column;
}
.price-card .checks { margin: 1.5rem 0 2rem; flex: 1; }
.price-card.is-featured { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 40px 60px -35px var(--primary); }
@media (min-width: 900px) { .price-card.is-featured { transform: translateY(-14px); } }
.price-card.is-featured .checks .ico { color: var(--accent); }
.price-card.is-featured .price-period, .price-card.is-featured .price-unit { color: rgba(255,255,255,.75); }
.price-flag { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.price-name { font-size: 1.7rem; margin: 0; }
.price-period { color: var(--muted); font-size: .92rem; margin: .3rem 0 1.5rem; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin: 0; padding-bottom: 1.5rem; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.price-cur { font-weight: 600; font-size: 1rem; }
.price-num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; }
.price-unit { color: var(--muted); font-size: .92rem; }
.price-card .btn-outline { width: 100%; }
.price-card.is-featured .btn { width: 100%; }
.price-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (max-width: 760px) { .price-extra { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.panel-tint { background: var(--tint); border-color: transparent; margin-top: 2rem; }
.extras { margin: 0; display: grid; }
.extras div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.extras div:last-child { border-bottom: 0; }
.extras dt { margin: 0; }
.extras dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }

/* ---------- Localisation ---------- */
.map-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.map-frame { border-radius: 26px; overflow: hidden; min-height: 480px; border: 1px solid var(--line); background: var(--line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.5); }
.map-frame iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }
.address-card { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.address-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2rem; }
.address { margin: 0; font-weight: 600; line-height: 1.45; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } .map-frame, .map-frame iframe { min-height: 380px; } }
.around { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.with-ico { display: flex; align-items: center; gap: .75rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.distances { list-style: none; margin: 0; padding: 0; }
.distances li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.distances li:last-child { border-bottom: 0; }
.dist { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.1rem; align-content: start; }
.form .h3 { margin-bottom: .2rem; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .88rem; font-weight: 600; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg); transition: border-color .2s, box-shadow .2s; min-width: 0;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.alert { margin: 0; padding: .9rem 1.1rem; border-radius: 14px; font-size: .95rem; }
.alert p { margin: 0; }
.alert-ok { background: color-mix(in srgb, #2e7d4f 14%, var(--bg)); color: #1f5a37; }
.alert-error { background: color-mix(in srgb, #c0392b 12%, var(--bg)); color: #8e2a1f; }

.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: .2rem; justify-self: start; width: fit-content; }
.rating-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rating-stars label { cursor: pointer; color: var(--line); transition: color .15s, transform .15s; }
.rating-stars label .ico { width: 2rem; height: 2rem; fill: currentColor; stroke: none; }
.rating-stars label:hover, .rating-stars label:hover ~ label, .rating-stars input:checked ~ label { color: var(--accent); }
.rating-stars input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 6px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-list a { text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--accent); }

/* ---------- Livre d'or ---------- */
.guestbook { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gb-form { position: sticky; top: 6rem; }
@media (max-width: 900px) { .guestbook { grid-template-columns: 1fr; } .gb-form { position: static; } }
.gb-summary { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; }
.gb-avg { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--primary); }
.stars { display: inline-flex; gap: .1rem; color: var(--line); }
.stars .ico { width: 1.05rem; height: 1.05rem; fill: currentColor; stroke: none; }
.stars .ico.on { color: var(--accent); }
.gb-entry { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.gb-entry header { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.gb-entry header > div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.gb-entry header .muted { font-size: .88rem; }
.avatar { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 1.2rem; flex: none; }
.gb-text { font-size: 1.02rem; }
.gb-reply { margin-top: 1.1rem; padding: 1rem 1.2rem; background: var(--primary-soft); border-radius: 0 16px 16px 16px; font-size: .96rem; }
.gb-reply-by { font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin: 0 0 .4rem !important; }
.empty { display: flex; gap: 1rem; align-items: center; padding: 2rem; border: 1.5px dashed var(--line); border-radius: 20px; margin-top: 2rem; color: var(--muted); }
.empty .ico { width: 2rem; height: 2rem; color: var(--accent); }
.empty p { margin: 0; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; }
.review-text { margin: .8rem 0 1rem; }
.review-meta { margin: 0; font-size: .9rem; color: var(--muted); }
.review-meta strong { color: var(--ink); }

/* ---------- Calendrier des disponibilités ---------- */
.cal-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
@media (max-width: 860px) { .cal-intro { grid-template-columns: 1fr; } }
.cal-legend { list-style: none; margin: 0; padding: 1.25rem 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; font-size: .9rem; }
@media (max-width: 480px) { .cal-legend { grid-template-columns: 1fr; } }
.cal-legend li { display: flex; align-items: center; gap: .6rem; }
.cal-swatch { width: 1.6rem; height: 1.6rem; border-radius: 7px; flex: none; border: 1px solid var(--line); }
.cal-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .cal-months { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cal-months { grid-template-columns: 1fr; } }
.cal-month { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem 1.1rem 1.1rem; }
.cal-title { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .9rem .2rem; text-transform: capitalize; }
.cal-title span { color: var(--muted); font-size: .95rem; font-family: var(--font-body); }
.cal-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head span { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding-bottom: .35rem; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; font-size: .88rem; font-variant-numeric: tabular-nums; position: relative; }
.cal-day b { font-weight: 500; position: relative; }
.cal-day.is-empty { visibility: hidden; }
.is-free { background: var(--bg); }
.is-full { background: var(--primary); color: #fff; }
.is-arr { background: linear-gradient(135deg, var(--bg) 50%, var(--primary) 50%); }
.is-dep { background: linear-gradient(135deg, var(--primary) 50%, var(--bg) 50%); }
.is-arr b, .is-dep b { background: var(--bg); color: var(--ink); border-radius: 5px; padding: 0 .25em; line-height: 1.35; }
.cal-day.is-past { opacity: .32; }
.cal-day.is-today { outline: 2px solid var(--accent); outline-offset: 1px; }
.cal-day.is-today b { font-weight: 800; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.cal-foot .note { margin: 0; max-width: 40rem; }
.cal-link { margin-top: 1.5rem; }

/* =========================================================
   Saisons : boutons-images, page Galerie (thèmes hiver / été / divers)
   ========================================================= */
.season-cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }
.season-cards.n-2 { grid-template-columns: repeat(2, 1fr); }
.season-card {
  position: relative; display: block; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff;
  aspect-ratio: 5 / 5.6; background: #1b2433; isolation: isolate;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.55); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, outline-color .2s;
  outline: 3px solid transparent; outline-offset: 4px;
}
.season-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.season-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65) 100%); }
.season-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(0,0,0,.6); }
.season-card:hover img { transform: scale(1.05); }
.season-card.is-active { outline-color: var(--accent); }
.season-label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .75rem; }
.season-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); }
.season-ico .ico { width: 1.3rem; height: 1.3rem; }
.season-text { display: grid; line-height: 1.15; }
.season-text strong { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; letter-spacing: -.01em; }
.season-text small { opacity: .85; font-size: .85rem; margin-top: .2rem; }
.season-now { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }

/* Version compacte (page d'accueil) */
.preview-head { align-items: center; }
.preview-head .link-arrow { margin-top: .9rem; }
.season-cards.is-compact { margin-top: 0; gap: .9rem; width: min(100%, 440px); }
.season-cards.is-compact .season-card { border-radius: 20px; aspect-ratio: 5 / 4.4; }
.season-cards.is-compact .season-text strong { font-size: 1.3rem; }
.season-cards.is-compact .season-ico { width: 2.1rem; height: 2.1rem; }
.season-cards.is-compact .season-now { top: .7rem; left: .7rem; font-size: .64rem; }
.season-cards.is-compact .season-label { left: .8rem; bottom: .8rem; }
@media (max-width: 860px) { .season-cards.is-compact { width: 100%; } }
@media (max-width: 620px) {
  .season-cards:not(.is-compact) { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .season-cards:not(.is-compact) .season-card { border-radius: 16px; aspect-ratio: 3 / 4.2; }
  .season-cards:not(.is-compact) .season-text strong { font-size: 1.05rem; }
  .season-cards:not(.is-compact) .season-text small, .season-cards:not(.is-compact) .season-ico { display: none; }
  .season-cards:not(.is-compact) .season-label { left: .6rem; bottom: .6rem; }
  .season-cards:not(.is-compact) .season-now { top: .5rem; left: .5rem; font-size: .58rem; padding: .25rem .5rem; }
}

/* Intérieur (page La maison) */
.interior { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.interior.interior-1 { grid-template-columns: 1fr; }
.interior-item { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.interior-1 .interior-item { aspect-ratio: 16 / 8; }
.interior-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.interior-item:hover img { transform: scale(1.04); }
.interior-cap { position: absolute; left: 1rem; bottom: 1rem; background: rgba(20,20,20,.55); backdrop-filter: blur(8px); color: #fff; font-size: .88rem; padding: .4rem .85rem; border-radius: 999px; }
@media (max-width: 700px) { .interior { grid-template-columns: 1fr; } }

/* Page Galerie */
.gal-intro { padding-bottom: 1rem; }
.gal-section { scroll-margin-top: 5rem; }
.gal-section + .gal-section { padding-top: 0; }
.gal-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; margin-bottom: 2rem; }
.gal-head .h2 { margin: 0; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.gal-head .muted { margin: .35rem 0 0; }
.gal-ico { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.gal-ico .ico { width: 1.6rem; height: 1.6rem; }
.gal-now { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: .35rem .7rem; border-radius: 999px; }
.gal-count { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.gal-section.is-featured .gal-head .h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.gal-section:not(.is-featured) .masonry { columns: 4 220px; }
.gal-empty { padding: 1.5rem; border: 1.5px dashed var(--line); border-radius: 18px; color: var(--muted); }
@media (max-width: 620px) { .gal-head { grid-template-columns: auto 1fr; } .gal-count { grid-column: 2; } }

/* Mise en avant adaptée au nombre de photos (page Galerie) */
.mosaic.feat-1, .mosaic.feat-2, .mosaic.feat-3, .mosaic.feat-4 { grid-auto-flow: row; }
.mosaic.feat-1 .mosaic-item, .mosaic.feat-2 .mosaic-item, .mosaic.feat-3 .mosaic-item, .mosaic.feat-4 .mosaic-item { grid-column: auto !important; grid-row: auto !important; }
.mosaic.feat-1 { grid-template-columns: 1fr; grid-auto-rows: clamp(16rem, 48vw, 36rem); }
.mosaic.feat-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(14rem, 34vw, 28rem); }
.mosaic.feat-3 { grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(10rem, 17vw, 15rem); }
.mosaic.feat-3 .mosaic-item:first-child { grid-row: span 2 !important; }
.mosaic.feat-4 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(12rem, 24vw, 19rem); }
@media (max-width: 620px) {
  .mosaic.feat-2, .mosaic.feat-3, .mosaic.feat-4 { grid-template-columns: 1fr; grid-auto-rows: 15rem; }
  .mosaic.feat-3 .mosaic-item:first-child { grid-row: auto !important; }
}

/* Effets d'ambiance (fond fixe derrière le contenu) */
.season-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body[class*="theme-"] { background: var(--bg); transition: background-color .4s; }

/* ---------- Thème HIVER : nuit bleue, neige ---------- */
.theme-hiver {
  --bg: #0d1624; --surface: #142036; --ink: #e9eff8; --muted: #9db0ca; --line: #243655;
  --primary: #a9cdf5; --primary-soft: #18263f; --tint: #111d31; --primary-deep: #070d18;
  --accent-soft: #2a2a33;
}
.theme-hiver .season-fx {
  background:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent 60%),
    radial-gradient(2px 2px at 140px 80px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 90px 160px, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(2.5px 2.5px at 200px 210px, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 260px 40px, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(2px 2px at 60px 250px, rgba(255,255,255,.9), transparent 60%);
  background-size: 300px 300px; opacity: .55;
  animation: snow 22s linear infinite;
}
@keyframes snow { from { background-position: 0 0; } to { background-position: 60px 600px; } }
.theme-hiver .site-header.is-solid { background: rgba(13,22,36,.82); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.theme-hiver .btn-outline { color: var(--ink); }
.theme-hiver .mosaic-item, .theme-hiver .masonry-item { box-shadow: 0 0 0 1px rgba(169,205,245,.12); }

/* ---------- Thème ÉTÉ : lumineux, prairie ---------- */
.theme-ete {
  --bg: #fbf8f0; --surface: #ffffff; --ink: #1f2a22; --muted: #5f6f63; --line: #e3e8dc;
  --primary: #2f6b4f; --primary-soft: #e4efe6; --tint: #eaf3f8; --accent: #e08a2c; --accent-soft: #fbe8d2;
}
.theme-ete .season-fx { background: radial-gradient(900px 600px at 92% -10%, rgba(255,214,120,.45), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(150,200,140,.25), transparent 60%); }

/* ---------- Thème DIVERS : mystique, nuit étoilée et lanternes ---------- */
.theme-divers {
  --bg: #100d1c; --surface: #19152b; --ink: #f1ebff; --muted: #ab9fcb; --line: #2b2546;
  --primary: #f2c776; --primary-soft: #1f1934; --tint: #151127; --primary-deep: #08060f;
  --accent: #e9a24b; --accent-soft: #2c2131;
}
.theme-divers .season-fx {
  background:
    radial-gradient(1.5px 1.5px at 30px 40px, #fff, transparent 60%),
    radial-gradient(1px 1px at 120px 90px, #ffe9b0, transparent 60%),
    radial-gradient(1.5px 1.5px at 210px 170px, #fff, transparent 60%),
    radial-gradient(1px 1px at 70px 220px, #d9c8ff, transparent 60%),
    radial-gradient(700px 500px at 85% 0%, rgba(242,199,118,.12), transparent 60%);
  background-size: 260px 260px, 260px 260px, 260px 260px, 260px 260px, 100% 100%;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }
.theme-divers .site-header.is-solid { background: rgba(16,13,28,.82); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.theme-divers .btn-outline { color: var(--ink); }

.theme-hiver .cta, .theme-divers .cta { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.8); }
.theme-hiver .cta::after, .theme-divers .cta::after { opacity: .06; }
@media (prefers-reduced-motion: reduce) { .theme-hiver .season-fx, .theme-divers .season-fx { animation: none; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.82); padding: 5rem 0 2rem; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-name { font-size: 1.8rem; color: #fff; margin: 0 0 1rem; }
.footer-brand p { max-width: 28rem; }
.footer-title { color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-list, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-list li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-list .ico { margin-top: .2rem; color: var(--accent); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); margin-top: 3.5rem; padding-top: 1.5rem; font-size: .85rem; opacity: .75; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,12,12,.94); display: grid; place-items: center; padding: 3rem 4.5rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 8rem); max-width: 100%; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 4rem .75rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; }
}
