/* Dar El Karam, maison d'hôtes, 5 rue Lalla Hannou, médina de Rabat.
   Charte tirée de la maison (aucun logo publié) : le rose des murs du patio, la terre cuite des galeries,
   le bleu-vert des carreaux de zellige, la chaux. Motif signature : l'imposte, la fenêtre en demi-cercle
   à verres de couleur au-dessus des portes du patio (photos 12 et 25). Moment : le patio, cadré par l'arc
   sculpté de sa fontaine, redessiné au trait. Display Bodoni Moda, texte Figtree, hébergées sur le site. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/bodoni-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/bodoni-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/bodoni-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/bodoni-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/figtree-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/figtree-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --chaux: #FBF6F0;      /* la chaux des chambres, fond de page */
  --rose: #F4E4DA;       /* le rose des murs du patio, éclairci : sections alternées */
  --rose-f: #E7CDBF;     /* filets sur le rose */
  --terre: #A0503B;      /* la terre cuite des galeries : boutons, filets, bande « en direct » */
  --terre-f: #8E4532;
  --terre-c: #E9A68F;    /* terre claire, sur fond sombre */
  --sarcelle: #16393C;   /* le bleu-vert des carreaux : patio, pied de page */
  --sarcelle-2: #1D474B;
  --encre: #2B211D;
  --gris: #6D5D55;
  --filet: rgba(43, 33, 29, .14);
  --miel: #E3B04B;       /* le verre jaune de l'imposte */
  --v-rouge: #B5443A; --v-vert: #3F8060; --v-bleu: #2E5BA8; --v-jaune: #E3B04B;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --r: 2px;
  --wrap: 1180px;
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--chaux); color: var(--encre); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h2 + p, .tete + * { margin-top: 0; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.saut { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--encre); color: var(--chaux); padding: 10px 16px; text-decoration: none; }
.saut:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--terre); outline-offset: 3px; }

/* ------------------------------------------------------------- boutons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 1px solid var(--terre); border-radius: var(--r); background: var(--terre); color: #fff; font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.btn:hover { background: var(--terre-f); border-color: var(--terre-f); }
.btn--petit { min-height: 42px; padding: 0 20px; font-size: .74rem; }
.btn--ligne { background: transparent; color: var(--terre-f); }
.btn--ligne:hover { background: var(--terre); color: #fff; }
.btn--chaux { background: var(--chaux); border-color: var(--chaux); color: var(--terre-f); }
.btn--chaux:hover { background: #fff; border-color: #fff; }
.btn--ligne-clair { background: transparent; border-color: rgba(251, 246, 240, .7); color: var(--chaux); }
.btn--ligne-clair:hover { background: var(--chaux); color: var(--terre-f); }
.lien { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--terre-f); padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.lien:hover { color: var(--encre); }
.lien--clair { color: var(--chaux); }
.lien--clair:hover { color: var(--miel); }
.note { font-size: .88rem; color: var(--gris); margin: 18px 0 0; }
.note--centre { text-align: center; margin-top: 40px; }

/* the small caps eyebrow, a short terracotta rule before it */
.surligne { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 600 .76rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.surligne::before { content: ""; width: 34px; height: 1px; background: var(--terre); }
.surligne--clair { color: rgba(251, 246, 240, .78); }
.surligne--clair::before { background: var(--miel); }
.tete { margin-bottom: clamp(32px, 4.4vw, 56px); }
.tete h2 { max-width: 18ch; }
.tete--centre { text-align: center; }
.tete--centre .surligne { justify-content: center; }
.tete--centre h2 { margin-inline: auto; }

.bloc { padding: clamp(72px, 9vw, 128px) 0; }
.bloc--rose { background: var(--rose); }
.sombre { background: var(--sarcelle); color: var(--chaux); }
.sombre h2 { color: var(--chaux); }
.sombre p { color: rgba(251, 246, 240, .86); }

/* ------------------------------------------------------------- l'imposte -- */
/* The fanlight: its frame rises from the sill (a circle opening from the bottom), then each pane of
   coloured glass lights up in turn. Drawn once, at load or on arrival on screen (data-vu). */
.imposte { display: inline-flex; color: var(--terre); }
.imposte svg { display: block; width: 100%; height: auto; overflow: visible; }
.verre { fill-opacity: .88; }
.verre--rouge { fill: var(--v-rouge); } .verre--vert { fill: var(--v-vert); } .verre--bleu { fill: var(--v-bleu); } .verre--jaune { fill: var(--v-jaune); }
.imposte svg { animation: leve 1.5s cubic-bezier(.55, 0, .2, 1) .15s both; }
.imposte .verre { animation: allume .8s ease-out both; animation-delay: calc(1.25s + var(--i) * .17s); }
@keyframes leve { from { clip-path: circle(0% at 50% 96%); } to { clip-path: circle(90% at 50% 96%); } }
@keyframes allume { from { fill-opacity: .06; } to { fill-opacity: .88; } }
.js .imposte[data-vu]:not(.vu) svg { animation: none; clip-path: circle(0% at 50% 96%); }
.js .imposte[data-vu]:not(.vu) .verre { animation: none; fill-opacity: .06; }
.imposte--marque svg, .imposte--marque .verre, .imposte--pied svg, .imposte--pied .verre { animation: none; }
.imposte--ph { width: 92px; margin-bottom: 18px; color: var(--chaux); }
.imposte--direct { display: flex; width: 120px; margin: 0 auto 26px; color: var(--chaux); }
.imposte--fenetre { width: 74%; color: var(--terre); position: relative; z-index: 1; margin: 0 auto -1px; display: flex; }
.imposte--pied { width: 64px; color: var(--miel); margin-bottom: 14px; }

/* ----------------------------------------------------------------- nav -- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -50px; z-index: -1; background: linear-gradient(rgba(14, 26, 27, .55), rgba(14, 26, 27, 0)); transition: opacity .35s; pointer-events: none; }
.nav.est-solide { background: var(--chaux); color: var(--encre); box-shadow: 0 1px 0 var(--filet); }
.nav.est-solide::before, .nav.menu-open::before { opacity: 0; }
.nav__in { width: min(1320px, 100% - 48px); margin-inline: auto; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav__logo { justify-self: start; text-decoration: none; position: relative; z-index: 3; }
.marque { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.imposte--marque { width: 44px; color: currentColor; }
.marque__nom { font: 400 1.42rem/1 var(--serif); letter-spacing: .02em; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav__links a:hover, .nav__links a.active { border-bottom-color: currentColor; }
.nav__links .nav__extra { display: none; }
.nav__droite { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav__langue { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-decoration: none; padding: 8px 2px; }
.nav__burger { display: none; position: relative; z-index: 3; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .2s; }
.nav__burger span:nth-child(1) { top: 15px; } .nav__burger span:nth-child(2) { top: 21px; } .nav__burger span:nth-child(3) { top: 27px; }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav__in { grid-template-columns: 1fr auto; }
  .nav__burger { display: block; }
  .nav__links { position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 22px; background: var(--chaux); color: var(--encre); padding: 96px 24px 48px; transform: translateY(-100%); visibility: hidden; transition: transform .38s cubic-bezier(.6, 0, .2, 1), visibility 0s linear .38s; }
  .nav__links.nav-open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.6, 0, .2, 1), visibility 0s; }
  .nav__links a { font: 400 1.9rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
  .nav__links .nav__extra { display: inline-flex; }
  .nav__links .nav__extra.btn { font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-top: 14px; border-bottom: 1px solid var(--terre); }
  .nav__links .nav__langue { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .nav.menu-open { color: var(--encre); }
  .nav.menu-open .nav__droite .btn, .nav.menu-open .nav__droite .nav__langue { visibility: hidden; }
}
@media (max-width: 560px) {
  :root { --nav-h: 72px; }
  .nav__droite .btn { display: none; }
  .nav__droite { gap: 6px; }
  .imposte--marque { width: 38px; }
  .marque__nom { font-size: 1.24rem; }
}

/* ---------------------------------------------------------------- hero -- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--sarcelle); }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__base { animation: lent 14s ease-out both; }
.hero__diapo { opacity: 0; transition: opacity 1.8s ease; }
.hero__diapo.is-on { opacity: 1; animation: lent 14s ease-out both; }
@keyframes lent { from { transform: scale(1.03); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 66%; background: linear-gradient(rgba(12, 28, 30, 0), rgba(12, 28, 30, .5) 45%, rgba(12, 28, 30, .78)); pointer-events: none; }
.hero__in { position: relative; z-index: 2; text-align: center; padding: calc(var(--nav-h) + 40px) 0 clamp(28px, 5vh, 56px); }
.hero__titre { font-size: clamp(3.2rem, 8.4vw, 7rem); line-height: .98; letter-spacing: -.01em; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: rgba(255, 255, 255, .92); max-width: 36em; margin: 0 auto 28px; }
.monte { animation: monte 1s cubic-bezier(.2, .7, .2, 1) .1s both; }
.monte--2 { animation-delay: .25s; } .monte--3 { animation-delay: .4s; }
@keyframes monte { from { transform: translateY(18px); } to { transform: none; } }

/* the date bar, inside the first screen */
.barre { display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 0; max-width: 860px; margin: 0 auto; background: var(--chaux); color: var(--encre); border-radius: var(--r); padding: 8px; box-shadow: 0 18px 50px rgba(10, 22, 23, .28); text-align: left; }
.barre__champ { display: flex; flex-direction: column; justify-content: center; padding: 6px 16px; border-right: 1px solid var(--filet); min-width: 0; }
.barre__champ label { font: 600 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.barre input, .barre select { -webkit-appearance: none; appearance: none; width: 100%; min-height: 34px; border: 0; background: transparent; color: var(--encre); font: 500 16px/1.3 var(--sans); padding: 0; border-radius: 0; }
.barre input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.barre input::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.barre select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236D5D55' stroke-width='1.4'/%3E%3C/svg%3E") right 2px center / 11px no-repeat; padding-right: 18px; cursor: pointer; }
.barre__btn { margin-left: 8px; min-height: 58px; }
@media (max-width: 760px) {
  .hero__in { padding-bottom: 18px; }
  .hero__titre { margin-bottom: 12px; }
  .hero__sub { margin-bottom: 18px; font-size: 1rem; line-height: 1.5; max-width: 24em; }
  .barre { grid-template-columns: 1fr 1fr; padding: 6px; }
  .barre__champ { padding: 6px 12px; }
  .barre__champ:nth-child(2) { border-right: 0; }
  .barre__champ:nth-child(1), .barre__champ:nth-child(2) { border-bottom: 1px solid var(--filet); }
  .barre__champ--voy { border-right: 1px solid var(--filet); }
  .barre__btn { margin: 6px 0 0 6px; min-height: 50px; }
}
@media (max-width: 380px) { .hero__titre { font-size: 2.9rem; } .barre__champ label { letter-spacing: .12em; } }

/* --------------------------------------------------------------- faits -- */
.faits { border-bottom: 1px solid var(--filet); }
.faits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.faits li { display: flex; align-items: center; gap: 16px; padding: 30px 22px; border-right: 1px solid var(--filet); }
.faits li:first-child { padding-left: 0; } .faits li:last-child { border-right: 0; }
.faits strong { display: block; font: 600 .98rem/1.3 var(--sans); }
.faits span span, .faits div span { display: block; font-size: .88rem; color: var(--gris); line-height: 1.4; }
.ico { display: inline-flex; flex: none; width: 38px; height: 38px; color: var(--terre); }
.ico svg { width: 100%; height: 100%; }
@media (max-width: 960px) {
  .faits ul { grid-template-columns: 1fr 1fr; }
  .faits li { padding: 22px 14px; }
  .faits li:nth-child(2) { border-right: 0; }
  .faits li:nth-child(odd) { padding-left: 0; }
  .faits li:nth-child(-n+2) { border-bottom: 1px solid var(--filet); }
}
@media (max-width: 480px) { .faits li { gap: 10px; } .ico { width: 30px; height: 30px; } .faits strong { font-size: .9rem; } }

/* ------------------------------------------------- la maison (accueil) -- */
.maison-intro__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.maison-intro__media { display: flex; flex-direction: column; align-items: center; max-width: 440px; justify-self: center; width: 100%; }
.maison-intro__photo { width: 100%; border-radius: 50% 50% 0 0 / 36% 36% 0 0; overflow: hidden; outline: 1px solid var(--terre); outline-offset: 10px; }
.maison-intro__photo img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; }
.maison-intro__media .imposte--fenetre { width: 62%; margin-bottom: 22px; }
.maison-intro__txt h2 { margin-bottom: 26px; max-width: 16ch; }
.maison-intro__txt p { max-width: 34em; }
.maison-intro__mot { font: italic 400 1.5rem/1.35 var(--serif); color: var(--terre-f); margin: 26px 0 30px; }
@media (max-width: 860px) {
  .maison-intro__in { grid-template-columns: minmax(0, 1fr); }
  .maison-intro__media { max-width: 320px; }
}

/* ------------------------------------------------- vitrine des chambres -- */
.vitrine { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.vitrine__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--rose-f); }
.vitrine__photo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.vitrine__photo.is-on { opacity: 1; }
.vitrine__photo img { width: 100%; height: 100%; object-fit: cover; }
.vitrine__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rose-f); }
.vitrine__ligne { width: 100%; display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: baseline; padding: 26px 4px; border: 0; border-bottom: 1px solid var(--rose-f); background: none; text-align: left; cursor: pointer; transition: padding .3s; }
.vitrine__num { font: italic 400 1.1rem/1 var(--serif); color: var(--terre); }
.vitrine__nom { font: 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--serif); }
.vitrine__nom small, .vitrine__prix small { display: block; font: 400 .88rem/1.4 var(--sans); color: var(--gris); margin-top: 6px; }
.vitrine__prix { font: 600 1rem/1.2 var(--sans); text-align: right; white-space: nowrap; color: var(--encre); }
.vitrine__ligne[aria-pressed="true"] { padding-left: 14px; }
.vitrine__ligne[aria-pressed="true"] .vitrine__nom { color: var(--terre-f); }
.vitrine__ligne:hover .vitrine__nom { color: var(--terre-f); }
.vitrine__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 34px; }
@media (max-width: 860px) {
  .vitrine { grid-template-columns: minmax(0, 1fr); }
  .vitrine__media { aspect-ratio: 4 / 4.4; }
  .vitrine__ligne { grid-template-columns: 34px 1fr; padding: 20px 2px; }
  .vitrine__prix { grid-column: 2; text-align: left; }
}

/* ------------------------------------------------------- le patio, sombre -- */
.patio { position: relative; overflow: hidden; }
.patio__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.patio__txt h2 { margin-bottom: 26px; max-width: 14ch; }
.patio__txt p { max-width: 32em; }
.patio__txt .lien { margin-top: 14px; }
.patio__compo { position: relative; justify-self: center; width: min(100%, 470px); padding-bottom: 40px; }
.patio__arche { position: relative; width: 100%; aspect-ratio: 320 / 420; color: rgba(227, 176, 75, .8); }
.patio__arche .arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.patio__a { position: absolute; left: 17.5%; right: 17.5%; top: 15.5%; bottom: 0; border-radius: 50% 50% 0 0 / 29% 29% 0 0; overflow: hidden; }
.patio__a img { width: 100%; height: 100%; object-fit: cover; }
.patio__arche .arc { animation: dessine 2.2s cubic-bezier(.55, 0, .2, 1) .2s both; }
@keyframes dessine { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.js .patio__arche[data-vu]:not(.vu) .arc { animation: none; clip-path: inset(100% 0 0 0); }
.patio__b { position: absolute; z-index: 3; left: -14%; bottom: 0; width: 42%; margin: 0; background: var(--sarcelle); padding: 8px 8px 0; border: 1px solid rgba(227, 176, 75, .5); }
.patio__b img { width: 100%; aspect-ratio: 520 / 600; object-fit: cover; }
.patio__b figcaption { font: italic 400 .98rem/1.35 var(--serif); color: rgba(251, 246, 240, .88); padding: 10px 4px 12px; }
@media (max-width: 860px) {
  .patio__in { grid-template-columns: minmax(0, 1fr); }
  .patio__compo { width: min(84%, 380px); margin-left: 12%; }
  .patio__b { left: -16%; width: 46%; }
}

/* ---------------------------------------------------------------- avis -- */
.temoins__pile { max-width: 820px; margin: 0 auto; text-align: center; }
.temoin { margin: 0 0 44px; }
.temoin blockquote { margin: 0; }
.temoin p { font: italic 400 clamp(1.35rem, 2.5vw, 2rem)/1.42 var(--serif); color: var(--encre); margin: 0; }
.temoin p::before { content: "« "; } .temoin p::after { content: " »"; }
html[lang="en"] .temoin p::before { content: "“"; } html[lang="en"] .temoin p::after { content: "”"; }
.temoin figcaption { margin-top: 24px; font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.js .temoins__pile { display: grid; }
.js .temoin { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; align-self: center; }
.js .temoin.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease .15s, visibility 0s; }
.temoins__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.temoins__fl { width: 48px; height: 48px; border: 1px solid var(--filet); border-radius: 50%; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--terre-f); }
.temoins__fl svg { width: 18px; height: 18px; }
.temoins__fl:hover { border-color: var(--terre); }
.temoins__compte { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; color: var(--gris); min-width: 52px; text-align: center; }
.temoins__src { text-align: center; font-size: .82rem; color: var(--gris); margin: 22px 0 0; }

/* ------------------------------------------------- bande « en direct » -- */
.direct { background: var(--terre); color: var(--chaux); text-align: center; padding: clamp(72px, 8vw, 112px) 0; }
.direct__in { max-width: 680px; }
.direct h2 { color: var(--chaux); margin-bottom: 22px; }
.direct p { color: rgba(251, 246, 240, .9); margin-inline: auto; max-width: 34em; }
.direct .surligne { justify-content: center; }
.direct .surligne::before { background: var(--chaux); }
.direct__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
@media (max-width: 560px) { .direct__btns .btn { flex: 1 1 100%; } }

/* ---------------------------------------------------------- pied de page -- */
.pied { background: var(--sarcelle); color: rgba(251, 246, 240, .82); padding: 80px 0 34px; font-size: .95rem; }
.pied__haut { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid rgba(251, 246, 240, .14); }
.pied__marque { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--chaux); }
.pied__nom { font: 400 2rem/1 var(--serif); }
.pied__marque small { margin-top: 10px; font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(251, 246, 240, .7); }
.pied__h { font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--miel); margin: 6px 0 18px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { color: #fff; }
.pied__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .82rem; color: rgba(251, 246, 240, .62); }
.credit { text-transform: uppercase; letter-spacing: .16em; text-decoration: none; font-size: .72rem; }
@media (max-width: 860px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }

/* ------------------------------------------------- bandeaux des pages -- */
.ph { position: relative; min-height: clamp(420px, 64vh, 600px); display: flex; align-items: flex-end; color: #fff; background: var(--sarcelle); overflow: hidden; }
.ph__media, .ph__media picture { position: absolute; inset: 0; }
.ph__media img { width: 100%; height: 100%; object-fit: cover; animation: lent 12s ease-out both; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(12, 28, 30, .18), rgba(12, 28, 30, .32) 40%, rgba(12, 28, 30, .78)); }
.ph__in { position: relative; z-index: 2; padding: calc(var(--nav-h) + 40px) 0 clamp(40px, 6vw, 70px); text-align: center; }
.ph h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); margin-bottom: 14px; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.ph p { color: rgba(255, 255, 255, .9); max-width: 34em; margin: 0 auto; }
.ph .imposte { display: flex; margin-inline: auto; }

/* ------------------------------------------------------- page chambres -- */
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; padding: 0 0 clamp(70px, 8vw, 110px); }
.fiche + .fiche { padding-top: clamp(70px, 8vw, 110px); border-top: 1px solid var(--filet); }
.fiche--inverse .fiche__media { order: 2; }
.fiche__grande { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.fiche__grande img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; transition: transform .8s ease; }
.fiche__grande:hover img { transform: scale(1.025); }
.fiche__compte { position: absolute; right: 14px; bottom: 14px; background: rgba(22, 57, 60, .86); color: var(--chaux); font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 9px 12px; border-radius: var(--r); }
.fiche__vigs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.fiche__vigs::-webkit-scrollbar { display: none; }
.vig { flex: 0 0 74px; padding: 0; border: 1px solid transparent; background: none; cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.vig img { width: 74px; height: 74px; object-fit: cover; }
.vig:hover { border-color: var(--terre); }
.fiche__note { font-size: .84rem; color: var(--gris); margin: 10px 0 0; }
.fiche__num { display: block; font: italic 400 1.3rem/1 var(--serif); color: var(--terre); margin-bottom: 16px; }
.fiche__txt h2 { margin-bottom: 26px; }
.fiche__infos { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.fiche__infos li { display: flex; align-items: flex-start; gap: 14px; line-height: 1.5; }
.fiche__infos .ico { width: 28px; height: 28px; margin-top: -1px; }
.fiche__prix { font: 400 2rem/1.1 var(--serif); margin: 0 0 26px; padding-top: 24px; border-top: 1px solid var(--filet); }
.fiche__prix small { display: block; font: 400 .9rem/1.5 var(--sans); color: var(--gris); margin-top: 8px; }
@media (max-width: 860px) {
  .fiche { grid-template-columns: minmax(0, 1fr); }
  .fiche--inverse .fiche__media { order: 0; }
}
.savoir__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.savoir__item { padding: 26px 0 8px; border-top: 1px solid var(--rose-f); }
.savoir__item h3 { font-size: 1.4rem; margin-bottom: 12px; }
.savoir__item p { font-size: .98rem; color: var(--encre); }
@media (max-width: 860px) { .savoir__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .savoir__grille { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ la maison, contact -- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); align-items: center; }
.duo--inverse .duo__media { order: -1; }
.duo__txt h2 { margin-bottom: 26px; max-width: 15ch; }
.duo__txt p { max-width: 32em; }
.duo__txt .btn, .duo__txt .lien { margin-top: 12px; }
.duo__media img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: var(--r); }
.duo__media img[width="1600"][height="900"] { aspect-ratio: 16 / 10.5; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo--inverse .duo__media { order: 0; } }

.mos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mos__item { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--r); }
.mos__item img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s ease; }
.mos__item:hover img { transform: scale(1.03); }
.mos__plus { text-align: center; margin: 44px 0 0; }
@media (max-width: 760px) {
  .mos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mos__item--0 { grid-column: 1 / -1; }
  .mos__item--0 img { aspect-ratio: 4 / 3; }
}

.autour__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.autour__txt h2 { margin-bottom: 26px; max-width: 14ch; }
.autour__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rose-f); }
.autour__liste li { display: flex; justify-content: space-between; gap: 20px; padding: 17px 2px; border-bottom: 1px solid var(--rose-f); }
.autour__liste span { font: 400 1.22rem/1.3 var(--serif); }
.autour__liste b { font: 600 .9rem/1.6 var(--sans); color: var(--terre-f); white-space: nowrap; }
@media (max-width: 860px) { .autour__in { grid-template-columns: 1fr; } }

.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filtre { min-height: 44px; padding: 0 20px; border: 1px solid var(--filet); border-radius: 999px; background: none; cursor: pointer; font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.filtre[aria-pressed="true"] { background: var(--sarcelle); border-color: var(--sarcelle); color: var(--chaux); }
.gal { columns: 3 260px; column-gap: 14px; }
.gal__item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; border-radius: var(--r); overflow: hidden; }
.gal__item img { width: 100%; height: auto; }
.gal__item[hidden] { display: none; }
@media (max-width: 560px) { .gal { columns: 2; column-gap: 10px; } .gal__item { margin-bottom: 10px; } }

.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: stretch; }
.contact__bloc { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--filet); }
.contact__h { font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); margin-bottom: 12px; }
.contact__bloc p { font: 400 1.4rem/1.4 var(--serif); margin: 0; }
.contact__bloc a { text-decoration: none; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact__carte { min-height: 440px; border-radius: var(--r); overflow: hidden; background: var(--rose); }
.contact__carte iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__carte, .contact__carte iframe { min-height: 340px; } }

/* --------------------------------------------------------- visionneuse -- */
.vis { position: fixed; inset: 0; z-index: 160; display: none; background: rgba(12, 24, 25, .96); color: var(--chaux); }
.vis.is-open { display: flex; flex-direction: column; }
.vis__barre { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; }
.vis__scene { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 64px; position: relative; }
.vis__scene img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vis__leg { text-align: center; padding: 14px 20px 22px; font: italic 400 1.05rem/1.4 var(--serif); color: rgba(251, 246, 240, .86); min-height: 3.4em; }
.vis button { width: 48px; height: 48px; border: 1px solid rgba(251, 246, 240, .3); border-radius: 50%; background: rgba(22, 57, 60, .6); color: var(--chaux); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.vis button svg { width: 18px; height: 18px; }
.vis__prec, .vis__suiv { position: absolute; top: 50%; translate: 0 -50%; }
.vis__prec { left: 10px; } .vis__suiv { right: 10px; }
@media (max-width: 560px) { .vis__scene { padding: 0 8px; } .vis__prec, .vis__suiv { top: auto; bottom: -58px; } .vis__leg { padding-bottom: 76px; } }

/* ------------------------------------------- fenêtre de réservation (.rsv) -- */
/* Scroll architecture copied from .claude/rules/booking-modal.md §1 (do not "improve"). */
.rsv { position: fixed; inset: 0; z-index: 140; display: none; align-items: flex-start; justify-content: center; padding: 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.rsv.is-open { display: flex; }
.rsv__backdrop { position: fixed; inset: 0; background: rgba(12, 24, 25, .7); }
.rsv__card { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: minmax(0, 1fr); width: min(980px, calc(100vw - 40px)); margin: auto; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: hidden; background: var(--chaux); border-radius: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.rsv__aside { min-height: 0; overflow-y: auto; background: var(--sarcelle); color: var(--chaux); padding: 40px 34px; display: flex; flex-direction: column; gap: 22px; }
.rsv__aside .imposte { width: 104px; color: var(--chaux); }
.rsv__h { font-size: 2.3rem; color: var(--chaux); margin-bottom: 12px; }
.rsv__aside p { color: rgba(251, 246, 240, .84); font-size: .96rem; margin: 0; }
.rsv__photo { margin-top: auto; border-radius: 50% 50% 0 0 / 40% 40% 0 0; overflow: hidden; }
.rsv__photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.rsv__body { display: flex; flex-direction: column; overflow-y: auto; min-height: 0; -webkit-overflow-scrolling: touch; padding: 36px 36px 30px; gap: 26px; }
.rsv__body > * { flex-shrink: 0; }
.rsv__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--chaux); font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--encre); }
.rsv__lbl { font: 600 .74rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); margin: 0 0 12px; }
.rsv__lbl b { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.rsv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rsv__field label { display: block; font-size: .86rem; color: var(--gris); margin-bottom: 6px; }
.rsv__field input[type="date"] { -webkit-appearance: none; appearance: none; width: 100%; min-height: 48px; line-height: 1.3; padding: 0 14px; background: #fff; border: 1px solid var(--filet); border-radius: var(--r); font: 500 16px/1.3 var(--sans); color: var(--encre); }
.rsv__field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.rsv__field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.rsv__nuits { font-size: .9rem; color: var(--terre-f); margin: 10px 0 0; min-height: 1.5em; }
.rsv__cpt { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border: 1px solid var(--filet); border-radius: var(--r); background: #fff; }
.rsv__cpt button { width: 48px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--terre-f); }
.rsv__cpt output { font: 600 1rem/1 var(--sans); }
.rsv__packs { display: grid; gap: 10px; }
.rsv__row { display: flex; align-items: stretch; gap: 8px; }
.rsv__pack { flex: 1; min-width: 0; display: grid; grid-template-columns: 22px 64px 1fr; gap: 14px; align-items: center; padding: 10px 14px 10px 12px; border: 1px solid var(--filet); border-radius: var(--r); background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.rsv__pack--libre { grid-template-columns: 22px 1fr; }
.rsv__pack img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r); }
.rsv__pack[aria-pressed="true"] { border-color: var(--terre); background: #fff8f3; }
.rsv__box { width: 20px; height: 20px; border: 1.5px solid var(--gris); border-radius: 3px; position: relative; }
.rsv__pack[aria-pressed="true"] .rsv__box { background: var(--terre); border-color: var(--terre); }
.rsv__pack[aria-pressed="true"] .rsv__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rsv__pack-n { font: 400 1.18rem/1.2 var(--serif); }
.rsv__pack-n small { display: block; font: 400 .84rem/1.4 var(--sans); color: var(--gris); margin-top: 3px; }
.rsv__pack-n .rsv__pack-prix { color: var(--terre-f); font-weight: 600; }
.rsv__qte { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; border: 1px solid var(--filet); border-radius: var(--r); background: #fff; }
.rsv__qte[hidden] { display: none; }
.rsv__qte button { width: 44px; height: 30px; border: 0; background: none; cursor: pointer; color: var(--terre-f); font-size: 1.1rem; }
.rsv__qte span { font: 600 .95rem/1 var(--sans); }
.rsv__compte { font-size: .88rem; color: var(--gris); margin: 10px 0 0; min-height: 1.4em; }
.rsv__msg { width: 100%; padding: 12px 14px; border: 1px solid var(--filet); border-radius: var(--r); background: #fff; font: 400 16px/1.5 var(--sans); color: var(--encre); resize: vertical; }
.rsv__recap { background: var(--rose); border-radius: var(--r); padding: 16px 18px; font-size: .94rem; }
.rsv__recap p { margin: 0 0 4px; }
.rsv__recap strong { font-weight: 600; }
.rsv__estim { font: 400 1.25rem/1.3 var(--serif); color: var(--terre-f); margin-top: 8px !important; }
.rsv__hint { font-size: .9rem; color: var(--terre-f); margin: 0; min-height: 1.4em; }
.rsv__lbl--envoi { margin: 0 0 -12px; }
.rsv__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rsv__actions .btn { flex: 1 1 200px; min-width: 0; }
.rsv__actions .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.rsv__note { font-size: .84rem; color: var(--gris); margin: 0; }
.rsv__steps { display: flex; gap: 6px; }
.rsv__steps i { flex: 1; height: 3px; background: rgba(251, 246, 240, .2); }
.rsv__steps i.on { background: var(--miel); }
@media (max-width: 1020px) {
  .rsv__card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
  .rsv__aside { flex-direction: row; align-items: center; padding: 22px 64px 22px 26px; gap: 18px; max-height: 32dvh; }
  .rsv__aside .imposte { width: 70px; flex: none; }
  .rsv__h { font-size: 1.7rem; margin-bottom: 4px; }
  .rsv__photo, .rsv__steps { display: none; }
}
@media (max-width: 680px) {
  .rsv { padding: 0; }
  .rsv__card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); width: 100vw; margin: 0; height: 100vh; max-height: 100vh; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .rsv__packs { max-height: none; }
  .rsv__aside p { display: none; }
  .rsv__aside .imposte { width: 56px; }
  .rsv__body { padding: 24px 18px 26px; gap: 22px; }
  .rsv__grid { gap: 10px; }
  .rsv__pack { grid-template-columns: 22px 52px 1fr; gap: 10px; }
  .rsv__pack img { width: 52px; height: 52px; }
  .rsv__actions { flex-direction: column; }
  .rsv__actions .btn { flex: 0 0 auto; }
}

/* ------------------------------------------------------- moins d'animation -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__base, .hero__diapo.is-on, .ph__media img, .monte, .imposte svg, .imposte .verre, .patio__arche .arc { animation: none !important; transform: none !important; }
  .js .imposte[data-vu]:not(.vu) svg, .js .patio__arche[data-vu]:not(.vu) .arc { clip-path: none !important; }
  .js .imposte[data-vu]:not(.vu) .verre { fill-opacity: .88 !important; }
  .hero__diapo { transition: none; }
}
