/* =========================================================
   La Maison du Bienvenu — feuille de styles
   ========================================================= */

@font-face { font-family: 'Bricolage'; src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-latin-wght-normal.woff2) format('woff2-variations'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-latin-wght-italic.woff2) format('woff2-variations'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(../fonts/caveat-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --encre: #0F2E3B;
  --meuse: #0D4359;
  --or: #E6C068;
  --soleil: #FFD363;
  --brume: #EAF0EF;
  --blanc: #FFFFFF;
  --texte: #14323E;
  --doux: #557079;
  --ligne: rgba(15, 46, 59, .14);

  --f-display: 'Bricolage', 'Figtree', system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-hand: 'Caveat', 'Bradley Hand', cursive;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --sec: clamp(72px, 11vw, 160px);
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --head-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--f-body);
  font-size: clamp(16.5px, 1.05vw + 10px, 18.5px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--soleil); color: var(--encre); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--soleil); color: var(--encre); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap.narrow { max-width: 860px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.04; letter-spacing: -.022em; margin: 0 0 .5em; font-variation-settings: 'opsz' 96; text-wrap: balance; }
.h-hero { font-size: clamp(2.6rem, 6.4vw, 6.6rem); font-weight: 640; line-height: .98; letter-spacing: -.035em; }
.h-xl { font-size: clamp(2.4rem, 5.2vw, 5rem); letter-spacing: -.03em; }
.h-l { font-size: clamp(2rem, 3.8vw, 3.5rem); }
.h-m { font-size: clamp(1.4rem, 2vw, 1.9rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); letter-spacing: -.012em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.3rem); line-height: 1.5; max-width: 38em; color: var(--doux); }
.prose { max-width: 36em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hand { font-family: var(--f-hand); font-weight: 600; font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.1; color: var(--meuse); margin: 0 0 .5em; transform: rotate(-2deg); transform-origin: left; display: inline-block; }

/* titres découpés en mots (animés en JS) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }
html.js:not(.reduce) .split:not(.is-in) .w > span { transform: translateY(105%); }

/* ---------- Boutons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.btn {
  --bg: var(--encre); --fg: var(--blanc);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.55em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 650; font-size: .98rem; letter-spacing: .005em; line-height: 1.1;
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), box-shadow .45s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--soleil); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--encre); }
.btn span { position: relative; }
.btn-gold { --bg: var(--or); --fg: var(--encre); }
.btn-gold::before { background: var(--blanc); }
.btn-line { --bg: transparent; --fg: var(--blanc); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-line::before { background: var(--blanc); }
.btn-line-dark { --bg: transparent; --fg: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.btn-line-dark::before { background: var(--encre); }
.btn-line-dark:hover, .btn-line-dark:focus-visible { color: var(--blanc); }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--encre); display: grid; place-items: center; pointer-events: none; }
.loader-house { width: 64px; height: auto; color: var(--or); overflow: visible; }
.loader-house .m-roof, .loader-house .m-box { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
.loader-house .m-box { animation-delay: .35s; }
.loader-house .m-door { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: door .6s var(--ease) .7s forwards; }
@keyframes door { to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
html:not(.js) .loader, html.reduce .loader { display: none; }

/* ---------- En-tête ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gut) 0; pointer-events: none; transition: transform .5s var(--ease); }
.site-head.is-hidden { transform: translateY(-120%); }
.head-inner {
  pointer-events: auto; max-width: calc(var(--max) + 40px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 10px 0 20px;
  border-radius: 999px; color: var(--blanc);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), color .3s;
}
.site-head.is-solid .head-inner { background: rgba(15, 46, 59, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px -12px rgba(15,46,59,.45); }
.brand { display: block; flex: none; margin-right: auto; }
.brand .logo { height: 46px; width: auto; }
.brand .logo-dark { display: none; }
.brand-text { font-family: var(--f-display); font-weight: 650; font-size: 1.2rem; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a { position: relative; display: block; padding: 10px 14px; text-decoration: none; font-weight: 550; font-size: .97rem; }
.nav-list a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--or); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-list a:hover::after, .nav-list .current-menu-item a::after, .nav-list .current_page_parent a::after { transform: scaleX(1); transform-origin: left; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.lang select { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 10px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); position: relative; }
.burger span:not(.sr) { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Pages sans grand visuel sombre en haut */
body:not(.has-dark-top) .site-head:not(.is-solid) .head-inner { color: var(--encre); }
body:not(.has-dark-top) .site-head:not(.is-solid) .logo-light { display: none; }
body:not(.has-dark-top) .site-head:not(.is-solid) .logo-dark { display: block; }
body:not(.has-dark-top) .site-head:not(.is-solid) .burger { background: rgba(15,46,59,.08); }

.menu-mobile { position: fixed; inset: 0; z-index: 90; background: var(--encre); color: var(--blanc); padding: calc(var(--head-h) + 40px) var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 50px) 46px); transition: clip-path .8s var(--ease); }
.menu-mobile.is-open { clip-path: circle(150% at calc(100% - 50px) 46px); }
.menu-mobile[hidden] { display: none; }
.mm-list { list-style: none; margin: 0; padding: 0; }
.mm-list a { display: block; font-family: var(--f-display); font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; text-decoration: none; padding: .12em 0; }
.mm-list li { overflow: hidden; }
.mm-foot { display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,.75); }
.mm-foot a { text-decoration: none; }

/* Bouton flottant de réservation (mobile + après le héros) */
.book-float {
  position: fixed; z-index: 80; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px;
  background: var(--or); color: var(--encre); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: 0 14px 40px -10px rgba(15,46,59,.55);
  transform: translateY(140%); transition: transform .6s var(--ease), background .3s;
}
.book-float .bf-house { width: 14px; height: auto; }
.book-float.is-on { transform: translateY(0); }
.book-float:hover { background: var(--soleil); }

/* ---------- Sections ---------- */
.main { display: block; }
.m { position: relative; padding-block: var(--sec); }
.bg-brume { background: var(--brume); }
.bg-encre { background: var(--encre); color: var(--blanc); }
.bg-encre .lead, .bg-encre .prose { color: rgba(255,255,255,.78); }
.bg-encre .hand { color: var(--or); }
.bg-clair + .bg-clair, .bg-brume + .bg-brume, .bg-encre + .bg-encre { padding-top: 0; }

/* ---------- HÉROS ---------- */
.m-hero { padding: 0; color: var(--blanc); background: var(--encre); }
.hero-court, .hero-plein { min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-court { min-height: clamp(560px, 82svh, 900px); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 120%; object-fit: cover; transform-origin: center; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,46,59,.55) 0%, rgba(15,46,59,.05) 38%, rgba(15,46,59,.25) 60%, rgba(15,46,59,.88) 100%); }
.hero-text { position: relative; z-index: 1; padding-top: calc(var(--head-h) + 60px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-text .hand { color: var(--soleil); }
.hero-text .lead { color: rgba(255,255,255,.86); }

/* Héros « la maison qui s'ouvre » */
.hero-maison { height: 210vh; }
.hm-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.hm-text { position: relative; z-index: 2; pointer-events: none; padding-top: var(--head-h); }
.hm-text > * { max-width: 52%; }
.hm-text .h-hero { max-width: 9.5em; }
.hm-text .btns, .hm-text a { pointer-events: auto; }
.hm-sur { color: var(--soleil); }
.hm-text .lead { color: rgba(255,255,255,.82); max-width: 26em; }
.hm-window {
  position: absolute; z-index: 1; overflow: hidden;
  top: 50%; right: var(--gut); width: min(40vw, 620px); height: min(72vh, 760px);
  transform: translateY(-46%);
  clip-path: polygon(50% 0%, 100% 52%, 86% 52%, 86% 100%, 14% 100%, 14% 52%, 0% 52%);
  will-change: clip-path, width, height;
}
.hm-img { position: absolute; inset: 0; }
.hm-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.hm-window::after { content: ''; position: absolute; inset: 0; background: rgba(15,46,59,0); pointer-events: none; transition: background .3s; }
.hm-scroll { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; }
.hm-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--or); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- En bref ---------- */
.bref-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--ligne); }
.bref-item { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 10px 0; padding: 28px 22px 26px 0; border-bottom: 1px solid var(--ligne); }
.bref-item + .bref-item { padding-left: 22px; border-left: 1px solid var(--ligne); }
.ico { width: 28px; height: 28px; flex: none; }
.bref-ico { width: 34px; height: 34px; color: var(--meuse); }
.bref-val { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: .95; letter-spacing: -.04em; color: var(--encre); font-variant-numeric: tabular-nums; }
.bref-lib { font-weight: 550; color: var(--doux); line-height: 1.3; }
.bref-val + .bref-lib { margin-top: -4px; }
.bg-encre .bref-val { color: var(--soleil); }
.bg-encre .bref-ico { color: var(--or); }
.bg-encre .bref-lib { color: rgba(255,255,255,.75); }
.bg-encre .bref-list, .bg-encre .bref-item { border-color: rgba(255,255,255,.14); }
.m-bref { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Hôte ---------- */
.hote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.hote-photo { margin: 0; border-radius: 999px 999px var(--r-l) var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; }
.hote-photo img { width: 100%; height: 100%; object-fit: cover; }
.hote-sign { padding-right: .3em; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--meuse); margin-top: .4em; }

/* ---------- Texte + images ---------- */
.ti-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.ti-gauche .ti-text { order: 2; }
.ti-gauche { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.ti-photos { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, minmax(0, 1fr)); aspect-ratio: 1 / 1.02; }
.ti-ph { display: block; overflow: hidden; border-radius: var(--r-m); position: relative; }
.ti-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ti-ph:hover img { transform: scale(1.05); }
.ti-n1 .ti-ph1 { grid-area: 1 / 1 / 13 / 13; }
.ti-n2 .ti-ph1 { grid-area: 1 / 1 / 11 / 10; }
.ti-n2 .ti-ph2 { grid-area: 6 / 7 / 13 / 13; z-index: 1; box-shadow: 0 0 0 8px var(--blanc); }
.ti-n3 .ti-ph1 { grid-area: 1 / 1 / 10 / 9; }
.ti-n3 .ti-ph2 { grid-area: 3 / 9 / 8 / 13; }
.ti-n3 .ti-ph3 { grid-area: 8 / 5 / 13 / 11; z-index: 1; box-shadow: 0 0 0 8px var(--blanc); }
.bg-brume .ti-ph2, .bg-brume .ti-ph3 { box-shadow: 0 0 0 8px var(--brume); }
.bg-encre .ti-ph2, .bg-encre .ti-ph3 { box-shadow: 0 0 0 8px var(--encre); }

/* ---------- Visite pièce par pièce (défilement horizontal) ---------- */
.m-pieces { padding-block: 0; overflow: hidden; }
.pc-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(90px, 10vh, 120px) clamp(40px, 6vh, 70px); }
.pc-head { display: grid; grid-template-columns: auto 1fr; gap: 12px 60px; align-items: end; margin-bottom: clamp(24px, 4vh, 48px); }
.pc-head .h-l { margin: 0; }
.pc-head .lead { margin: 0; justify-self: end; max-width: 24em; text-align: right; }
.pc-progress { grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.pc-progress span { display: block; height: 100%; width: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; }
.pc-track { display: flex; gap: clamp(24px, 4vw, 64px); padding-inline: var(--gut); width: max-content; will-change: transform; }
.pc-panel { width: min(78vw, 1060px); flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(20px, 3vw, 40px); align-items: end; }
.pc-photos { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: min(58vh, 560px); }
.pc-ph { display: block; overflow: hidden; border-radius: var(--r-m); position: relative; }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.pc-ph:hover img { transform: scale(1.04); }
.pc-ph1 { grid-row: 1 / 3; }
.pc-photos:has(.pc-ph:only-child) { grid-template-columns: 1fr; }
.pc-photos:not(:has(.pc-ph3)) .pc-ph2 { grid-row: 1 / 3; }
.pc-info { padding-bottom: 6px; }
.pc-num { display: block; font-variant-numeric: tabular-nums; color: var(--or); font-weight: 600; margin-bottom: 10px; }
.pc-name { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: .35em; }
.pc-info p { color: rgba(255,255,255,.75); }
.bg-clair .pc-info p, .bg-brume .pc-info p { color: var(--doux); }
.pc-more { background: none; border: 0; padding: 0; font-weight: 650; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.bg-clair .pc-progress, .bg-brume .pc-progress { background: var(--ligne); }

/* ---------- Galerie filtrable ---------- */
.gal-head, .ad-head, .eq-head, .mo-head, .av-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 60px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.gal-head .lead, .ad-head .lead, .eq-head .lead, .mo-head .lead, .av-head .lead { margin: 0; justify-self: end; }
.gal-head > :first-child, .ad-head > :first-child, .eq-head > :first-child, .mo-head > :first-child, .av-head > :first-child { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1.5px solid var(--ligne); background: transparent; border-radius: 999px; padding: .55em 1.05em; font-weight: 600; font-size: .93rem; transition: background .35s var(--ease), color .35s, border-color .35s; }
.chip sup { font-size: .72em; color: var(--doux); margin-left: 2px; vertical-align: super; }
.chip:hover { border-color: var(--encre); }
.chip.is-on { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.chip.is-on sup { color: var(--or); }
.bg-encre .chip { border-color: rgba(255,255,255,.25); }
.bg-encre .chip.is-on { background: var(--or); border-color: var(--or); color: var(--encre); }

.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 15vw, 230px); grid-auto-flow: dense; gap: 12px; }
.gal-item { position: relative; display: block; overflow: hidden; border-radius: var(--r-s); background: var(--brume); }
.gal-wide { grid-column: span 2; }
.gal-tall { grid-row: span 2; }
.gal-item:nth-child(7n+1).gal-wide { grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-cap { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(15,46,59,.78); color: var(--blanc); font-size: .8rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }
.gal-item.is-hidden, .ad-item.is-hidden { display: none; }

/* ---------- Mur de photos ---------- */
.m-mosaique { overflow: hidden; }
.mo-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-inline: 14px; align-items: start; }
.mo-col { display: grid; gap: 14px; }
.mo-col:nth-child(even) { margin-top: 12vh; }
.mo-ph { display: block; overflow: hidden; border-radius: var(--r-m); }
.mo-ph img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.mo-ph:hover img { transform: scale(1.05); }

/* ---------- Équipements ---------- */
.eq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.eq-group { background: var(--blanc); border-radius: var(--r-m); padding: 26px 26px 22px; }
.bg-clair .eq-group { background: var(--brume); }
.eq-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: .8em; }
.eq-group h3 .ico { color: var(--meuse); }
.eq-group ul { list-style: none; margin: 0; padding: 0; }
.eq-group li { padding: 9px 0 9px 22px; border-top: 1px solid var(--ligne); position: relative; line-height: 1.4; }
.eq-group li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }

/* ---------- Infos pratiques ---------- */
.infos-list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.info { padding: 28px 28px 30px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.info:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.info .ico { color: var(--or); margin-bottom: 14px; width: 32px; height: 32px; }
.info dt { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; margin-bottom: .3em; }
.info dd { margin: 0; color: rgba(255,255,255,.75); line-height: 1.5; }
.bg-clair .info, .bg-brume .info, .bg-clair .infos-list, .bg-brume .infos-list { border-color: var(--ligne); }
.bg-clair .info dd, .bg-brume .info dd { color: var(--doux); }
.bg-clair .info .ico, .bg-brume .info .ico { color: var(--meuse); }

/* ---------- Adresses ---------- */
.ad-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ad-card { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 22px 24px; border-radius: var(--r-m); background: var(--brume); text-decoration: none; transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease); }
.bg-brume .ad-card { background: var(--blanc); }
a.ad-card:hover { background: var(--encre); color: var(--blanc); transform: translateY(-4px); }
.ad-cat { font-size: .82rem; font-weight: 650; color: var(--meuse); }
a.ad-card:hover .ad-cat { color: var(--or); }
.ad-name { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
.ad-txt { color: var(--doux); font-size: .95rem; }
.ad-arrow { position: absolute; right: 18px; top: 18px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Avis (bandeaux défilants) ---------- */
.m-avis { overflow: hidden; }
.marquee { overflow: hidden; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; gap: 16px; width: max-content; animation: mq 90s linear infinite; }
.marquee.is-rev .mq-track { animation-direction: reverse; animation-duration: 110s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.av-card { margin: 0; width: clamp(290px, 30vw, 420px); padding: 26px 28px; border-radius: var(--r-m); background: var(--brume); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.bg-brume .av-card { background: var(--blanc); }
.bg-encre .av-card { background: rgba(255,255,255,.06); }
.av-card blockquote { margin: 0; }
.av-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.55; }
.av-card blockquote p::before { content: '“'; display: block; font-family: var(--f-display); font-size: 3.2rem; line-height: .7; color: var(--or); margin-bottom: 4px; }
.av-card figcaption { font-size: .93rem; }
.av-card figcaption span { color: var(--doux); margin-left: 6px; }
.marquee + .marquee { margin-top: 8px; }

/* ---------- Nouvelles ---------- */
.nw-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.nw-head .h-l { margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.news-card a { display: block; text-decoration: none; }
.nc-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-m); background: var(--brume); margin-bottom: 16px; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.news-card a:hover .nc-img img { transform: scale(1.06); }
.nc-count { position: absolute; right: 12px; top: 12px; background: rgba(15,46,59,.8); color: var(--blanc); font-size: .78rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; }
.news-card time { display: block; font-size: .88rem; color: var(--doux); margin-bottom: 4px; }
.news-card h3 { font-size: 1.3rem; margin: 0; transition: color .3s; }
.news-card a:hover h3 { color: var(--meuse); }
.m-newslist { padding-top: clamp(48px, 6vw, 90px); }
.pager .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--ligne); font-weight: 600; }
.pager .page-numbers.current { background: var(--encre); color: var(--blanc); border-color: var(--encre); }

/* ---------- Réservation ---------- */
.resa-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.resa-photo { margin: 28px 0 0; border-radius: var(--r-l) var(--r-l) var(--r-l) 999px; overflow: hidden; aspect-ratio: 4/3; max-width: 420px; }
.resa-photo img { width: 100%; height: 100%; object-fit: cover; }
.resa-box { background: var(--blanc); border-radius: var(--r-l); padding: clamp(18px, 3vw, 36px); box-shadow: 0 30px 80px -40px rgba(15,46,59,.45), 0 0 0 1px var(--ligne); }
.bg-brume .resa-box { box-shadow: 0 30px 80px -40px rgba(15,46,59,.35); }
.resa-direct { margin: 18px 0 0; font-size: .9rem; color: var(--doux); display: flex; gap: 8px; align-items: center; }
.resa-direct::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3BA776; box-shadow: 0 0 0 4px rgba(59,167,118,.18); }
.elloha { color: var(--texte); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-coords { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; font-size: 1.1rem; }
.contact-coords a { text-decoration: none; font-weight: 600; }
.contact-coords a:hover { color: var(--meuse); text-decoration: underline; text-decoration-color: var(--or); }
.form { display: grid; gap: 14px; background: var(--blanc); padding: clamp(20px, 3vw, 36px); border-radius: var(--r-l); }
.bg-clair .form { background: var(--brume); }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--texte); background: transparent; border: 0; border-bottom: 1.5px solid var(--ligne); padding: 26px 2px 10px; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--meuse); }
.field label { position: absolute; left: 2px; top: 24px; color: var(--doux); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field input[type="date"] + label { transform: translateY(-20px) scale(.78); color: var(--meuse); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--doux); }
.check input { margin-top: 5px; accent-color: var(--meuse); }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form-msg { padding: 14px 16px; border-radius: var(--r-s); margin: 0; font-weight: 550; }
.form-msg.ok { background: #E3F3EA; color: #1C5A3B; }
.form-msg.err { background: #FBE7E3; color: #8A2E1C; }

/* ---------- Carte ---------- */
.carte-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.carte-map { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brume); }
.carte-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); }
.dist { list-style: none; margin: 24px 0 30px; padding: 0; }
.dist li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.dist li:last-child { border-bottom: 1px solid var(--ligne); }
.dist span { color: var(--doux); }

/* ---------- Appel à l'action ---------- */
.m-cta { color: var(--blanc); overflow: hidden; min-height: clamp(520px, 85vh, 860px); display: grid; align-items: center; background: var(--encre); }
.cta-media { position: absolute; inset: 0; overflow: hidden; }
.cta-media img { width: 100%; height: 125%; object-fit: cover; }
.cta-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,46,59,.82) 0%, rgba(15,46,59,.45) 50%, rgba(15,46,59,.15) 100%); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner > * { max-width: 15em; }
.cta-inner .lead { color: rgba(255,255,255,.85); max-width: 28em; }

/* ---------- Texte libre / en-tête simple ---------- */
.m-entete { padding-top: calc(var(--head-h) + clamp(60px, 9vw, 130px)); padding-bottom: clamp(30px, 4vw, 60px); }
.m-404 { min-height: 80vh; }
.single-head time { display: block; color: var(--doux); margin: 18px 0 10px; }
.back { text-decoration: none; font-weight: 600; color: var(--meuse); }
.single-head .h-l { max-width: 18em; }
.single .m-texte { padding-top: 0; }
.single-cover { margin: 0; border-radius: var(--r-l); overflow: hidden; }
.masonry { columns: 3 260px; column-gap: 12px; }
.masonry .ph { display: block; margin-bottom: 12px; border-radius: var(--r-s); overflow: hidden; break-inside: avoid; }
.masonry .ph img { width: 100%; transition: transform 1s var(--ease); }
.masonry .ph:hover img { transform: scale(1.04); }
.single-nav .wrap { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--ligne); padding-top: 30px; }
.single-nav { padding-top: 0; }
.single-nav a { text-decoration: none; font-weight: 600; }
.sn-next { margin-left: auto; text-align: right; }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--encre); color: rgba(255,255,255,.8); padding: clamp(70px, 9vw, 130px) 0 30px; overflow: hidden; }
.foot-big { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 30px; padding-bottom: clamp(50px, 6vw, 90px); border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-claim { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -.03em; color: var(--blanc); max-width: 13em; margin: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding-top: 50px; }
.foot-logo { width: 170px; height: auto; }
.foot-type { margin-top: 10px; }
.foot-h { font-family: var(--f-body); font-size: .9rem; font-weight: 700; color: var(--or); letter-spacing: .01em; margin-bottom: .8em; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--soleil); }
.foot-menu { list-style: none; padding: 0; margin: 14px 0 0; font-size: .9rem; }
.foot-legal { margin-top: 50px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(9, 28, 36, .96); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; color: var(--blanc); }
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 0 40px; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 130px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-s); }
.lb-stage figcaption { margin-top: 14px; font-family: var(--f-hand); font-size: 1.6rem; color: var(--or); min-height: 1.3em; }
.lb-nav { width: 56px; height: 56px; justify-self: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: none; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lb-nav:hover { background: var(--or); border-color: var(--or); color: var(--encre); }
.lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); z-index: 2; }
.lb-close span { position: absolute; left: 15px; right: 15px; top: 25px; height: 2px; background: currentColor; transform: rotate(45deg); }
.lb-close span + span { transform: rotate(-45deg); }
.lb-count { position: absolute; left: 24px; top: 26px; margin: 0; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.6); }

/* ---------- Apparitions (état initial, le JS anime) ---------- */
html.js:not(.reduce) [data-fade], html.js:not(.reduce) [data-reveal] { opacity: 0; transform: translateY(28px); }
html.js:not(.reduce) [data-reveal-img] { clip-path: inset(12% 8% 12% 8% round var(--r-m)); }
html.js:not(.reduce) [data-reveal-img] img { transform: scale(1.25); }
html.js:not(.reduce) [data-stagger] > * { opacity: 0; transform: translateY(24px); }
html.js:not(.reduce) .hote-sign { clip-path: inset(0 100% 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .infos-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .info:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
  .bg-clair .info:nth-child(even), .bg-brume .info:nth-child(even) { border-left-color: var(--ligne); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --head-h: 72px; }
  .head-inner { height: 58px; padding-left: 16px; }
  .brand .logo { height: 38px; }
  .head-actions .btn-sm { display: none; }
  .hero-maison { height: auto; }
  .hm-pin { position: relative; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }
  .hm-window { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; clip-path: none; }
  .hm-window::after { background: linear-gradient(180deg, rgba(15,46,59,.4), rgba(15,46,59,.1) 30%, rgba(15,46,59,.92) 85%); }
  .hm-text { padding-top: 140px; }
  .hm-text > * { max-width: none; }
  .hm-scroll { display: none; }
  .hote-grid, .ti-grid, .ti-gauche, .resa-grid, .contact-grid, .carte-grid { grid-template-columns: 1fr; }
  .ti-gauche .ti-text { order: 0; }
  .hote-photo { max-width: 420px; }
  .gal-head, .ad-head, .eq-head, .mo-head, .av-head, .pc-head { grid-template-columns: 1fr; }
  .gal-head .lead, .ad-head .lead, .eq-head .lead, .mo-head .lead, .av-head .lead, .pc-head .lead { justify-self: start; text-align: left; }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 8px; }
  .gal-item:nth-child(7n+1).gal-wide { grid-row: auto; }
  .mo-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-inline: 8px; }
  .mo-col { gap: 8px; }
  .mo-col:nth-child(even) { margin-top: 40px; }
  .m-pieces .pc-pin { min-height: 0; }
  .pc-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
  .pc-track::-webkit-scrollbar { display: none; }
  .pc-panel { width: 86vw; grid-template-columns: 1fr; scroll-snap-align: center; }
  .pc-photos { height: 62vw; min-height: 260px; }
  .pc-progress { display: none; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 22px; z-index: 2; background: rgba(15,46,59,.6); }
  .lb-prev { left: 22px; } .lb-next { right: 22px; }
  .lb-stage { padding: 70px 10px 90px; }
  .field-row { grid-template-columns: 1fr; }
  .infos-list { grid-template-columns: 1fr; }
  .info:nth-child(even) { padding-left: 0; border-left: 0; }
  .bref-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bref-item, .bref-item + .bref-item { padding: 22px 16px 20px 0; border-left: 0; }
  .bref-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ligne); }
  .bg-encre .bref-item:nth-child(even) { border-left-color: rgba(255,255,255,.14); }
  .cta-media::after { background: linear-gradient(180deg, rgba(15,46,59,.3), rgba(15,46,59,.85)); }
  .m-cta { align-items: end; padding-bottom: 60px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .book-float { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
  .ti-n2 .ti-ph2, .ti-n3 .ti-ph3 { box-shadow: 0 0 0 5px var(--blanc); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mq-track { animation: none; flex-wrap: nowrap; }
  .marquee { overflow-x: auto; }
  .hero-maison { height: auto; }
  .hm-pin { position: relative; }
}

/* Barre d'administration WordPress (connecté) */
.admin-bar .site-head { top: 32px; }
.admin-bar .lightbox { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } .admin-bar .lightbox { top: 46px; } }
/* Éléments « en bref » sans chiffre */
.bref-item:not(:has(.bref-val)) .bref-lib { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.15; color: var(--encre); align-self: end; letter-spacing: -.01em; }
.bg-encre .bref-item:not(:has(.bref-val)) .bref-lib { color: var(--blanc); }
@media (max-width: 560px) {
  .h-hero br { display: none; }
  .ad-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ad-card { padding: 16px 14px 18px; }
  .ad-name { font-size: 1.05rem; }
  .ad-txt { font-size: .85rem; }
}
.single .m-texte { padding-bottom: clamp(30px, 4vw, 50px); }
.single .m-texte + .m { padding-top: 0; }

/* =========================================================
   Logo plus grand + motifs graphiques du logo
   ========================================================= */
.head-inner { height: 84px; padding-left: 24px; transition: background .5s var(--ease), box-shadow .5s var(--ease), color .3s, height .5s var(--ease); }
.brand .logo { height: 70px; transition: height .5s var(--ease); }
.site-head.is-solid .head-inner { height: 68px; }
.site-head.is-solid .brand .logo { height: 54px; }
:root { --head-h: 104px; }

/* Motifs */
.motif { display: inline-block; flex: none; }
.motif-coeur { width: .62em; height: auto; color: var(--or); }
.hand { display: inline-flex; align-items: center; gap: .35em; }
.hand .motif-coeur { width: .55em; margin-top: -.2em; transform: rotate(8deg); }
.bg-encre .hand .motif-coeur, .m-hero .hand .motif-coeur { color: var(--soleil); }
.hote-sign .sign-heart { width: .45em; margin-left: .15em; vertical-align: top; color: var(--or); }

/* Contour du héros : la maison du logo */
.hm-outline {
  position: absolute; z-index: 1; pointer-events: none; overflow: visible;
  top: 50%; right: var(--gut); width: min(40vw, 620px); height: min(72vh, 760px);
  transform: translateY(-46%);
}
.hm-outline polygon { fill: none; stroke: var(--or); stroke-width: .25; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
html:not(.js) .hm-outline polygon, html.reduce .hm-outline polygon { stroke-dashoffset: 0; }

/* Puces des équipements : petite maison */
.eq-group li::before {
  width: 10px; height: 13px; top: .78em; border-radius: 0; background: var(--or);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 1 9.2 8.4H.8Z M2.2 8.4h5.6v3.8H2.2Z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 1 9.2 8.4H.8Z M2.2 8.4h5.6v3.8H2.2Z' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Avis : le cœur du logo remplace les guillemets */
.av-card blockquote p::before { content: none; }
.av-heart { width: 22px; color: var(--or); margin-bottom: -4px; }

/* Réservation : le calendrier sous un toit */
.resa-box { position: relative; margin-top: 54px; }
.resa-roof { position: absolute; left: 50%; bottom: calc(100% - 2px); width: 150px; height: auto; transform: translateX(-50%); color: var(--or); overflow: visible; }
.resa-roof path, .foot-house path[pathLength], .mm-motif path[pathLength], .m404-house path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js:not(.reduce) .resa-roof path, html.js:not(.reduce) .foot-house path[pathLength] { stroke-dashoffset: 1; }
.resa-photo { border-radius: 999px 999px var(--r-l) var(--r-l); aspect-ratio: 4 / 5; max-width: 340px; }

/* Pied de page : grande maison au trait */
.foot-big { position: relative; }
.foot-house { position: absolute; right: var(--gut); bottom: calc(100% - 40px); width: clamp(90px, 10vw, 150px); height: auto; color: var(--or); overflow: visible; opacity: .9; }
.foot-house path[pathLength] { stroke-width: 1.4; }
.site-foot { padding-top: clamp(150px, 16vw, 230px); }
.foot-logo { width: 230px; }

/* Menu mobile : maison en filigrane */
.mm-motif { position: absolute; right: -40px; bottom: 60px; width: 62vw; max-width: 340px; height: auto; color: var(--or); opacity: .14; pointer-events: none; }
.mm-motif path[pathLength] { stroke-width: 1; }

/* 404 */
.m404-house { width: 110px; height: auto; color: var(--or); margin-bottom: 30px; }

@media (max-width: 860px) {
  :root { --head-h: 80px; }
  .head-inner { height: 66px; padding-left: 16px; }
  .brand .logo { height: 52px; }
  .site-head.is-solid .head-inner { height: 60px; }
  .site-head.is-solid .brand .logo { height: 44px; }
  .hm-outline { display: none; }
  .foot-house { right: var(--gut); width: 80px; }
}

/* Diaporama du héros */
.hm-img { opacity: 0; transition: opacity 1.4s var(--ease); }
.hm-img.is-current { opacity: 1; z-index: 1; }
.hm-img img { transition: transform 7s linear; }
.hm-dots { position: absolute; z-index: 3; right: var(--gut); bottom: 30px; display: flex; gap: 8px; }
.hm-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.hm-dots button span { position: absolute; inset: 0; background: var(--or); transform: scaleX(0); transform-origin: left; }
.hm-dots button.is-on span { animation: dot var(--slide-ms, 4500ms) linear forwards; }
.hm-dots button.is-past span { transform: scaleX(1); }
@keyframes dot { to { transform: scaleX(1); } }

@media (max-width: 860px) { .hm-dots { left: var(--gut); right: auto; bottom: 18px; } }

/* Crédit photo (images sous licence libre) */
.credit { position: absolute; z-index: 2; right: 14px; bottom: 10px; margin: 0; font-size: .72rem; color: rgba(255,255,255,.6); }
.credit a { text-decoration: none; }
.credit a:hover { color: var(--blanc); text-decoration: underline; }
.book-float .bf-house { width: 15px; height: 26px; flex: none; }
/* Cheminée en cœur (comme dans le logo) */
.motif-maison .m-heart { color: var(--blanc); }
.loader-house .m-heart { transform-box: fill-box; transform-origin: 50% 90%; transform: scale(0); animation: heart .7s cubic-bezier(.34,1.56,.64,1) 1.1s forwards; }
@keyframes heart { to { transform: scale(1); } }
.mm-motif .m-heart, .bf-house .m-heart { color: currentColor; }
.loader-house { width: 76px; }

/* Logo XL : très visible en haut de page, surtout sur l'accueil */
.site-head:not(.is-solid) .head-inner { height: 112px; }
.site-head:not(.is-solid) .brand .logo { height: 96px; }
.is-home .site-head:not(.is-solid) .head-inner { height: 168px; align-items: flex-start; padding-top: 14px; }
.is-home .site-head:not(.is-solid) .brand .logo { height: 150px; }
.is-home .site-head:not(.is-solid) .nav, .is-home .site-head:not(.is-solid) .head-actions { margin-top: 26px; }
.site-head.is-solid .brand .logo { height: 56px; }
:root { --head-h: 130px; }
.is-home { --head-h: 190px; }
.is-home .hm-text { padding-top: 120px; }
@media (max-width: 860px) {
  .site-head:not(.is-solid) .head-inner { height: 80px; }
  .site-head:not(.is-solid) .brand .logo { height: 64px; }
  .is-home .site-head:not(.is-solid) .head-inner { height: 112px; padding-top: 8px; }
  .is-home .site-head:not(.is-solid) .brand .logo { height: 96px; }
  .is-home .site-head:not(.is-solid) .head-actions { margin-top: 18px; }
  .site-head.is-solid .brand .logo { height: 44px; }
  :root { --head-h: 96px; }
  .is-home { --head-h: 120px; }
  .is-home .hm-text { padding-top: 170px; }
}

/* Sélecteur de langue */
.lang { position: relative; }
.gt-engine { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid currentColor; border-color: rgba(255,255,255,.35); background: transparent; font-weight: 650; font-size: .88rem; letter-spacing: .02em; }
.lang-btn svg { width: 18px; height: 18px; }
body:not(.has-dark-top) .site-head:not(.is-solid) .lang-btn { border-color: var(--ligne); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; min-width: 190px; background: var(--blanc); color: var(--texte); border-radius: var(--r-m); box-shadow: 0 24px 60px -20px rgba(15,46,59,.45); z-index: 5; }
.lang-list button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 10px; background: none; font-size: .95rem; }
.lang-list button:hover, .lang-list button[aria-current="true"] { background: var(--brume); }
.lang-list .lc { width: 24px; font-weight: 700; color: var(--meuse); }
.mm-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mm-langs button { border: 1.5px solid rgba(255,255,255,.3); background: none; border-radius: 999px; padding: 6px 11px; font-weight: 650; font-size: .85rem; }
.mm-langs button[aria-current="true"] { background: var(--or); border-color: var(--or); color: var(--encre); }
/* Barre Google Translate masquée */
body { top: 0 !important; }
.skiptranslate iframe, #goog-gt-tt, .goog-te-banner-frame { display: none !important; }
@media (max-width: 860px) { .head-actions .lang { display: none; } }
.fb-src { margin-top: 1.4em; font-size: .92rem; }
.fb-src a { color: var(--meuse); font-weight: 600; text-decoration-color: var(--or); text-underline-offset: 3px; }

.elloha-fail { margin: 0; color: var(--doux); }
.elloha-fail button { margin-left: 6px; border: 0; background: none; padding: 0; font-weight: 650; color: var(--meuse); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }

/* =========================================================
   Héros d'accueil : maison aux proportions du logo
   (toit = 70 % de la hauteur, corps = 70 % de la largeur)
   ========================================================= */
.hero-maison { --hh: min(calc(100vh - 220px), 800px); --hw: calc(var(--hh) * .58); --hr: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.hero-maison .hm-window, .hero-maison .hm-outline {
  top: calc(50% + 40px); right: var(--hr); width: var(--hw); height: var(--hh); transform: translateY(-50%);
}
.hero-maison .hm-window { clip-path: polygon(50% 0%, 100% 70.4%, 85% 70.4%, 85% 100%, 15% 100%, 15% 70.4%, 0% 70.4%); }
.hero-maison .hm-outline polygon { stroke-width: 2; stroke-dasharray: none; stroke-dashoffset: 0; }
/* le texte reste à gauche de la maison */
.hero-maison .hm-text { padding-right: calc(var(--gut) + var(--hw) + clamp(40px, 5vw, 96px)); }
.hero-maison .hm-text > * { max-width: none; }
.hero-maison .h-hero { font-size: clamp(2.4rem, 4.3vw, 5.4rem); max-width: none; }
/* lettres jamais rognées (le masque ne sert qu'à l'animation) */
.split .w { padding: 0 .1em .16em 0; margin: 0 -.1em -.16em 0; }
.split.is-done .w { overflow: visible; }
@media (max-width: 860px) {
  .hero-maison .hm-window { inset: 0; width: 100%; height: 100%; transform: none; clip-path: none; }
  .hero-maison .hm-text { padding-right: var(--gut); }
  .hero-maison .h-hero { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

/* Logo et menu alignés sur la grille du contenu (bord gauche du texte) */
.site-head:not(.is-solid) .head-inner { max-width: calc(var(--max) - 2 * var(--gut)); padding-left: 0; padding-right: 0; }
.site-head.is-solid .head-inner { max-width: calc(var(--max) - 2 * var(--gut) + 48px); }
/* Accueil : le texte commence sous le logo */
.is-home .hero-maison .hm-text { padding-top: calc(var(--head-h) + 40px); padding-bottom: 60px; }
@media (max-width: 860px) { .is-home .hero-maison .hm-text { padding-top: 170px; padding-bottom: 0; } }
/* Titre d'accueil : retours à la ligne naturels et équilibrés */
.split .ln { display: block; }
.hero-maison .h-hero .ln { display: inline; }
.hero-maison .h-hero { font-size: clamp(2.4rem, 4vw, 4.8rem); text-wrap: balance; }
@media (max-width: 560px) { .h-hero .ln { display: inline; } }
