/* Riad Thamayna : proposition de site
   Parti pris : soirée feutrée, hommage aux grandes voix. Vert nuit, laiton, ivoire, rouge velours.
   Titres : Bodoni Moda. Texte : Manrope. */

:root {
  /* Palette claire (ivoire de jour) */
  --bg: #f5efe3;
  --surface: #ece3d1;
  --surface-2: #e3d6bd;
  --ink: #13221f;
  --muted: #535e58;
  --line: rgba(19, 34, 31, .16);
  --accent: #7a5a22;          /* laiton, pour le texte */
  --brass: #b8914a;           /* laiton, pour les filets et ornements */
  --brass-hi: #d6b46e;
  --velvet: #7b1e2b;          /* rouge velours */
  --velvet-hi: #93283a;
  --on-velvet: #f8f0e3;

  /* Bandes de nuit (identiques dans les deux modes, plus profondes en sombre) */
  --night: #0d2826;
  --night-2: #133634;
  --night-ink: #f2e9d9;
  --night-muted: #bdb6a3;
  --night-line: rgba(214, 180, 110, .38);

  --focus: #c08a2c;

  /* Typographie */
  --f-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs: .8125rem;                                   /* 13 px */
  --t-sm: .9375rem;                                   /* 15 px */
  --t-base: 1.0625rem;                                /* 17 px */
  --t-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --t-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --t-2xl: clamp(2rem, 1.45rem + 2.4vw, 3.4rem);
  --t-3xl: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem);
  --t-poster: clamp(3.3rem, 1.1rem + 10vw, 9.6rem);

  /* Rythme */
  --gutter: clamp(16px, 4vw, 40px);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --space-5: clamp(3.5rem, 2.6rem + 4vw, 7rem);
  --space-6: clamp(4.5rem, 3rem + 7vw, 10rem);
  --wrap: 1240px;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d6b46e' stroke-width='1' stroke-opacity='.2'%3E%3Cpath d='M27 27h26v26h-26z'/%3E%3Cpath d='M40 21.62L58.379999999999995 40L40 58.379999999999995L21.62 40z'/%3E%3Cpath d='M-13 -13h26v26h-26z'/%3E%3Cpath d='M0 -18.38L18.38 0L0 18.38L-18.38 0z'/%3E%3Cpath d='M67 -13h26v26h-26z'/%3E%3Cpath d='M80 -18.38L98.38 0L80 18.38L61.620000000000005 0z'/%3E%3Cpath d='M-13 67h26v26h-26z'/%3E%3Cpath d='M0 61.620000000000005L18.38 80L0 98.38L-18.38 80z'/%3E%3Cpath d='M67 67h26v26h-26z'/%3E%3Cpath d='M80 61.620000000000005L98.38 80L80 98.38L61.620000000000005 80z'/%3E%3Cpath d='M40 -7L47 0L40 7L33 0z'/%3E%3Cpath d='M40 73L47 80L40 87L33 80z'/%3E%3Cpath d='M0 33L7 40L0 47L-7 40z'/%3E%3Cpath d='M80 33L87 40L80 47L73 40z'/%3E%3Cpath d='M18 18L22 22M58 18L62 22M18 62L22 58M58 62L62 58' /%3E%3C/g%3E%3C/svg%3E");
  --zellige-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%237a5a22' stroke-width='1' stroke-opacity='.14'%3E%3Cpath d='M27 27h26v26h-26z'/%3E%3Cpath d='M40 21.62L58.379999999999995 40L40 58.379999999999995L21.62 40z'/%3E%3Cpath d='M-13 -13h26v26h-26z'/%3E%3Cpath d='M0 -18.38L18.38 0L0 18.38L-18.38 0z'/%3E%3Cpath d='M67 -13h26v26h-26z'/%3E%3Cpath d='M80 -18.38L98.38 0L80 18.38L61.620000000000005 0z'/%3E%3Cpath d='M-13 67h26v26h-26z'/%3E%3Cpath d='M0 61.620000000000005L18.38 80L0 98.38L-18.38 80z'/%3E%3Cpath d='M67 67h26v26h-26z'/%3E%3Cpath d='M80 61.620000000000005L98.38 80L80 98.38L61.620000000000005 80z'/%3E%3Cpath d='M40 -7L47 0L40 7L33 0z'/%3E%3Cpath d='M40 73L47 80L40 87L33 80z'/%3E%3Cpath d='M0 33L7 40L0 47L-7 40z'/%3E%3Cpath d='M80 33L87 40L80 47L73 40z'/%3E%3Cpath d='M18 18L22 22M58 18L62 22M18 62L22 58M58 62L62 58' /%3E%3C/g%3E%3C/svg%3E");

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1c1b;
    --surface: #0f2827;
    --surface-2: #153231;
    --ink: #efe6d5;
    --muted: #b6af9c;
    --line: rgba(239, 230, 213, .15);
    --accent: #d4b06a;
    --brass: #c9a45c;
    --brass-hi: #e0c27f;
    --velvet: #8c2533;
    --velvet-hi: #a32f40;
    --night: #061413;
    --night-2: #0c2322;
    --zellige-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d6b46e' stroke-width='1' stroke-opacity='.11'%3E%3Cpath d='M27 27h26v26h-26z'/%3E%3Cpath d='M40 21.62L58.379999999999995 40L40 58.379999999999995L21.62 40z'/%3E%3Cpath d='M-13 -13h26v26h-26z'/%3E%3Cpath d='M0 -18.38L18.38 0L0 18.38L-18.38 0z'/%3E%3Cpath d='M67 -13h26v26h-26z'/%3E%3Cpath d='M80 -18.38L98.38 0L80 18.38L61.620000000000005 0z'/%3E%3Cpath d='M-13 67h26v26h-26z'/%3E%3Cpath d='M0 61.620000000000005L18.38 80L0 98.38L-18.38 80z'/%3E%3Cpath d='M67 67h26v26h-26z'/%3E%3Cpath d='M80 61.620000000000005L98.38 80L80 98.38L61.620000000000005 80z'/%3E%3Cpath d='M40 -7L47 0L40 7L33 0z'/%3E%3Cpath d='M40 73L47 80L40 87L33 80z'/%3E%3Cpath d='M0 33L7 40L0 47L-7 40z'/%3E%3Cpath d='M80 33L87 40L80 47L73 40z'/%3E%3Cpath d='M18 18L22 22M58 18L62 22M18 62L22 58M58 62L62 58' /%3E%3C/g%3E%3C/svg%3E");
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.7;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

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

/* ---------- Ruban démo ---------- */
#demo-banner {
  background: var(--night);
  color: var(--night-muted);
  font-size: var(--t-xs);
  line-height: 1.45;
  letter-spacing: .02em;
  text-align: center;
  padding: 9px var(--gutter);
  border-bottom: 1px solid var(--night-line);
}

/* ---------- Petits éléments typographiques ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: var(--f-text);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.centered::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-night .eyebrow, .night .eyebrow { color: var(--brass-hi); }
.lede { font-size: var(--t-lg); line-height: 1.6; color: var(--muted); max-width: 38em; }
.night .lede, .on-night .lede { color: var(--night-muted); }
.num { font-family: var(--f-display); font-style: italic; color: var(--accent); }
.italic { font-style: italic; }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 13px 24px;
  font-family: var(--f-text); font-size: var(--t-sm); font-weight: 600; letter-spacing: .06em;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--velvet); color: var(--on-velvet); border-color: rgba(214, 180, 110, .55); }
.btn-primary:hover { background: var(--velvet-hi); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.night .btn-ghost, .on-night .btn-ghost { border-color: var(--night-line); color: var(--night-ink); }
.night .btn-ghost:hover, .on-night .btn-ghost:hover { border-color: var(--brass-hi); color: var(--brass-hi); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .06em;
  color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.night .link-arrow { color: var(--brass-hi); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
}
/* le flou est porté par un pseudo-élément pour ne pas piéger le menu en position fixe */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand-name { font-family: var(--f-display); font-size: 1.7rem; font-style: italic; letter-spacing: .01em; }
.brand-sub { font-size: .75rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); }
.header-cta { min-height: 44px; padding: 10px 18px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), opacity .3s;
}
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; }
  .nav ul { flex-wrap: wrap; gap: 4px 20px; padding-bottom: 12px; }
  .js .menu-toggle { display: inline-flex; }
  .js .nav {
    position: fixed; inset: 0; z-index: 60; order: 0; width: auto;
    background: var(--night) var(--zellige); color: var(--night-ink);
    display: flex; flex-direction: column; justify-content: center;
    padding: 96px var(--gutter) 48px;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; }
  .js .nav ul { flex-direction: column; gap: 6px; padding: 0; }
  .js .nav a { font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.8rem); font-style: italic; font-weight: 400; letter-spacing: 0; display: inline-block; padding: 6px 0; }
  .js .nav a[aria-current="page"] { color: var(--brass-hi); border-bottom-color: transparent; }
  .js .nav .nav-extra { display: block; }
  .js .menu-toggle[aria-expanded="true"] { position: relative; z-index: 70; color: var(--night-ink); border-color: var(--night-line); }
}
.nav-extra { display: none; margin-top: 40px; font-size: var(--t-sm); color: var(--night-muted); }
.nav-extra a { font-family: var(--f-text) !important; font-style: normal !important; font-size: var(--t-base) !important; color: var(--brass-hi); }
@media (max-width: 380px) { .brand-name { font-size: 1.45rem; } .header-cta { padding: 10px 14px; } }

/* ---------- Photos et replis ---------- */
.ph {
  position: relative; overflow: hidden; margin: 0;
  background-color: var(--night-2);
  background-image: var(--zellige), radial-gradient(120% 90% at 50% 0%, rgba(214, 180, 110, .18), transparent 60%);
  background-size: 80px 80px, cover;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ph img.is-missing { visibility: hidden; }
.ph.arch { border-radius: 999px 999px var(--radius) var(--radius); }
.ph.arch-soft { border-radius: 46% 46% var(--radius) var(--radius) / 22% 22% var(--radius) var(--radius); }
.ph.framed { outline: 1px solid var(--night-line); outline-offset: 10px; }
figcaption, .caption {
  font-size: var(--t-xs); letter-spacing: .04em; color: var(--muted); margin-top: 14px;
}
.night figcaption, .on-night figcaption { color: var(--night-muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-6); }
.section.tight { padding-block: var(--space-5); }
.surface { background: var(--surface); }
.night {
  background-color: var(--night); color: var(--night-ink);
  background-image: var(--zellige); background-size: 80px 80px;
  position: relative;
}
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 80% 0%, rgba(214, 180, 110, .12), transparent 70%), linear-gradient(180deg, rgba(6, 20, 19, .2), rgba(6, 20, 19, .55));
}
.night > * { position: relative; }
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.section-head h2 { font-size: var(--t-2xl); max-width: 16em; }
.section-head .lede { margin: 0; }

/* ---------- Héros de l'accueil ---------- */
.hero { padding-block: clamp(20px, 4vw, 64px) var(--space-5); overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-4); align-items: end; }
.hero-photo { aspect-ratio: 4 / 5; max-height: 74vh; width: 100%; }
.hero-photo img { object-position: 52% 50%; }
.hero h1 { font-size: var(--t-3xl); line-height: .98; }
.hero h1 .h1-name { display: block; font-style: italic; }
.hero h1 .h1-tail { display: block; font-size: var(--t-xl); line-height: 1.3; font-style: normal; margin-top: .7em; color: var(--night-ink); max-width: 20em; letter-spacing: 0; }
.hero .lede { margin-top: var(--space-3); }
.hero .btn-row { margin-top: var(--space-4); }
.hero-meta { margin-top: var(--space-4); display: flex; gap: 10px 28px; flex-wrap: wrap; font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--night-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 12px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--brass); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
  .hero-photo { order: 2; aspect-ratio: 5 / 6; max-height: 80vh; }
}

/* ---------- Faits ---------- */
.intro-grid { display: grid; gap: var(--space-4); }
.intro-quote { font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1.1; font-style: italic; }
.intro-quote::before { content: "\00AB\00A0"; color: var(--brass); }
.intro-quote::after { content: "\00A0\00BB"; color: var(--brass); }
.intro-text p { color: var(--muted); }
.intro-text p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.2em; line-height: .8; padding: .08em .1em 0 0; color: var(--accent); }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: var(--space-5); }
.facts > div { padding: var(--space-3) 8px; text-align: center; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-family: var(--f-display); font-size: clamp(1.9rem, 1.2rem + 3vw, 3.6rem); line-height: 1; color: var(--accent); font-style: italic; }
.facts dd { margin: 10px 0 0; font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ---------- Index des chambres (liste éditoriale) ---------- */
.rooms-layout { display: grid; gap: var(--space-5); }
@media (min-width: 1000px) {
  .rooms-layout { grid-template-columns: 7fr 4fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .rooms-aside { position: sticky; top: 110px; }
}
.room-index { list-style: none; border-top: 1px solid var(--line); }
.room-index li { border-bottom: 1px solid var(--line); }
.room-index a {
  display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 22px 0; text-decoration: none; transition: padding .4s var(--ease), background-color .4s var(--ease);
}
.room-index .ri-num { font-family: var(--f-display); font-style: italic; color: var(--accent); font-size: 1rem; }
.room-index .ri-name { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); line-height: 1.05; }
.room-index .ri-price { font-size: var(--t-sm); font-weight: 600; color: var(--ink); white-space: nowrap; }
.room-index .ri-price small { font-weight: 400; color: var(--muted); font-size: var(--t-xs); }
.room-index .ri-desc { grid-column: 2 / -1; font-size: var(--t-sm); color: var(--muted); line-height: 1.55; }
.room-index a:hover .ri-name { font-style: italic; color: var(--accent); }
.room-index a:hover { padding-left: 10px; }
.rooms-aside .ph { aspect-ratio: 4 / 5; }
.rooms-aside .caption { display: flex; justify-content: space-between; gap: 12px; }

/* ---------- Suites, compositions décalées ---------- */
.duo { display: grid; gap: var(--space-5); }
.duo-item h3 { font-size: var(--t-xl); margin: var(--space-3) 0 6px; }
.duo-item p { color: var(--muted); font-size: var(--t-sm); margin-bottom: var(--space-2); }
.duo-item .ph { aspect-ratio: 4 / 5; }
@media (min-width: 820px) {
  .duo { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
  .duo-item:nth-child(2) { margin-top: clamp(80px, 12vw, 200px); }
}

/* ---------- Bandeau soirée ---------- */
.evening-grid { display: grid; gap: var(--space-5); }
.evening-main .ph { aspect-ratio: 4 / 5; }
.evening-main .ph img { object-position: 60% 60%; }
.evening-copy h2 { font-size: var(--t-2xl); margin-bottom: var(--space-3); }
.evening-copy p { color: var(--night-muted); }
.evening-side .ph { aspect-ratio: 3 / 2; }
.evening-side .ph img { object-position: 72% 50%; }
@media (min-width: 960px) {
  .evening-grid { grid-template-columns: 5fr 6fr; grid-template-rows: auto auto; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .evening-main { grid-row: 1 / span 2; }
  .evening-side { margin-left: -12%; }
}

/* ---------- Table ---------- */
.split { display: grid; gap: var(--space-4); align-items: center; }
.split .ph { aspect-ratio: 3 / 2; }
.split h2 { font-size: var(--t-2xl); margin-bottom: var(--space-3); }
.split h2 em, .section-head h2 em { color: var(--accent); }
.split p { color: var(--muted); }
@media (min-width: 900px) {
  .split { grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 120px); }
  .split.reverse > :first-child { order: 2; }
}

/* ---------- Bandeau réservation ---------- */
.reserve { text-align: center; }
.reserve h2 { font-size: var(--t-3xl); line-height: 1; }
.reserve h2 em { color: var(--brass-hi); }
.reserve .lede { margin: var(--space-3) auto 0; }
.reserve .btn-row { justify-content: center; margin-top: var(--space-4); }
.reserve-contacts { margin-top: var(--space-4); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; font-size: var(--t-sm); color: var(--night-muted); }
.reserve-contacts a { color: var(--night-ink); }
.ornament { width: 72px; height: 72px; margin: 0 auto var(--space-3); color: var(--brass-hi); display: block; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding-block: var(--space-5); }
.page-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.8rem); line-height: 1; }
.page-hero h1 em { color: var(--brass-hi); }
.page-hero .lede { margin-top: var(--space-3); }
.page-hero-grid { display: grid; gap: var(--space-4); align-items: end; }
.page-hero .ph { aspect-ratio: 5 / 4; }
@media (max-width: 959px) { .page-hero .ph.arch { border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); } }
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
  .page-hero .ph { aspect-ratio: 4 / 5; max-height: 72vh; }
}

/* ---------- Liste des chambres (page chambres) ---------- */
.room-rows { list-style: none; }
.room-row { display: grid; gap: var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--line); }
.room-row:last-child { border-bottom: 1px solid var(--line); }
.room-row .rr-visual { aspect-ratio: 4 / 3; }
.room-row h3 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.room-row h3 a { text-decoration: none; }
.room-row h3 a:hover { color: var(--accent); font-style: italic; }
.room-row .rr-kicker { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: block; }
.room-row p { color: var(--muted); margin: 12px 0 0; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin: var(--space-3) 0; border-top: 1px solid var(--line); }
.specs > div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; line-height: 1.4; }
.room-row .btn-row { margin-top: var(--space-3); align-items: center; gap: 14px 28px; }
@media (min-width: 900px) {
  .room-row { grid-template-columns: minmax(260px, 4fr) 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
}

/* Affiche miniature : repli sans photo */
.mini-poster {
  position: relative; display: grid; place-items: center; overflow: hidden; text-decoration: none;
  background-color: var(--night); background-image: var(--zellige); background-size: 80px 80px;
  color: var(--brass-hi); border-radius: var(--radius);
}
.mini-poster::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--night-line); border-radius: 999px 999px 2px 2px; }
.mini-poster .mp-inner { position: relative; display: grid; justify-items: center; gap: 8px; padding: 22% 12px 0; text-align: center; }
.mini-poster .mp-num { font-size: var(--t-xs); letter-spacing: .3em; text-transform: uppercase; color: var(--night-muted); }
.mini-poster .mp-kind { font-size: var(--t-xs); letter-spacing: .3em; text-transform: uppercase; color: var(--brass-hi); display: inline-flex; align-items: center; gap: 10px; }
.mini-poster .mp-kind::before, .mini-poster .mp-kind::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.mini-poster .mp-name { font-family: var(--f-display); font-style: italic; font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.3rem); line-height: 1; color: var(--night-ink); }

.note { font-size: var(--t-sm); color: var(--muted); border-left: 2px solid var(--brass); padding: 4px 0 4px 16px; margin-top: var(--space-4); max-width: 46em; }

/* ---------- Fiche : l'affiche ---------- */
.poster { padding-block: clamp(28px, 6vw, 72px) var(--space-5); overflow: hidden; }
.poster-frame {
  position: relative; max-width: 1080px; margin-inline: auto; text-align: center;
  border: 1px solid var(--night-line); border-radius: 999px 999px 4px 4px;
  padding: clamp(96px, 22vw, 210px) clamp(18px, 5vw, 80px) clamp(36px, 6vw, 72px);
}
.poster-frame::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(214, 180, 110, .2); border-radius: 999px 999px 2px 2px; pointer-events: none;
}
.poster-rosette { position: absolute; top: clamp(30px, 7vw, 74px); left: 50%; width: clamp(44px, 8vw, 70px); height: auto; transform: translateX(-50%); color: var(--brass-hi); }
.poster-num { font-size: var(--t-xs); letter-spacing: .3em; text-transform: uppercase; color: var(--night-muted); margin: 0 0 var(--space-3); }
.poster h1 { font-size: var(--t-poster); line-height: .9; font-style: italic; letter-spacing: -.015em; }
.poster h1 .poster-kind {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--f-text); font-style: normal; font-size: var(--t-xs); font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--brass-hi);
  margin-bottom: clamp(18px, 3vw, 32px);
}
.poster h1 .poster-kind::before, .poster h1 .poster-kind::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.poster-desc { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.5; color: var(--night-ink); max-width: 30em; margin: clamp(22px, 4vw, 40px) auto 0; }
.poster-bill {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0;
  margin: clamp(26px, 4vw, 44px) auto 0; padding-top: 22px; border-top: 1px solid var(--night-line); max-width: 640px;
  font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--night-muted);
}
.poster-bill span { padding-inline: 14px; }
.poster-bill span + span { border-left: 1px solid var(--night-line); }
.poster-bill strong { color: var(--night-ink); font-weight: 600; }
@media (max-width: 560px) {
  .poster-bill { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; letter-spacing: .12em; }
  .poster-bill span { padding-inline: 10px; }
}
.poster .btn-row { justify-content: center; margin-top: clamp(26px, 4vw, 40px); }

.room-photo .ph { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .room-photo .ph { aspect-ratio: 4 / 5; } }

.detail-grid { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 6fr 5fr; gap: clamp(48px, 7vw, 120px); } }
.detail-grid h2 { font-size: var(--t-2xl); margin-bottom: var(--space-3); }
.detail-grid .prose p { color: var(--muted); }
.amen h3 { font-family: var(--f-text); font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin: var(--space-4) 0 var(--space-2); }
.amen h3:first-child { margin-top: 0; }
.amen ul { list-style: none; columns: 2; column-gap: 24px; }
.amen li { break-inside: avoid; padding: 9px 0 9px 20px; position: relative; border-bottom: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.45; }
.amen li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--brass); }
@media (max-width: 420px) { .amen ul { columns: 1; } }

.around-layout { display: grid; gap: var(--space-4); }
.around-layout .section-head { margin-bottom: 0; }
@media (min-width: 900px) { .around-layout { grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; } }
.around { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.around .ph { aspect-ratio: 3 / 4; }
.around h3 { font-size: var(--t-lg); margin-top: 14px; }
.around a { text-decoration: none; }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { padding: var(--space-4) 0; text-decoration: none; display: block; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 16px; }
.pager a:first-child { padding-right: 16px; }
.pager small { display: block; font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pager span { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); font-style: italic; }
.pager a:hover span { color: var(--accent); }

/* ---------- Expérience ---------- */
.chapter { display: grid; gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid var(--line); align-items: center; }
.chapter:first-child { border-top: 0; }
.chapter .ph { aspect-ratio: 4 / 5; }
.chapter h2 { font-size: var(--t-2xl); margin: 10px 0 var(--space-3); }
.chapter p { color: var(--muted); }
.chapter-num { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); color: var(--accent); }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); }
  .chapter:nth-child(even) > .ph { order: 2; }
  .chapter .ph.wide { aspect-ratio: 3 / 2; }
}
.panel {
  border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5;
  display: grid; place-items: center; text-align: center; padding: 22% 12% 12%;
  background-color: var(--night); background-image: var(--zellige); background-size: 80px 80px; color: var(--night-ink);
}
.panel svg { width: 64px; height: 64px; color: var(--brass-hi); margin: 0 auto 18px; }
.panel p { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.25; color: var(--night-ink); margin: 0; }

/* ---------- Infos pratiques, contact ---------- */
.info-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-block { display: grid; gap: var(--space-2); padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.info-block h2 { font-size: var(--t-xl); }
.info-block p, .info-block li { color: var(--muted); }
.info-block ul { list-style: none; }
.info-block li { padding: 6px 0 6px 20px; position: relative; }
.info-block li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--brass); }
.info-block address { font-style: normal; font-size: var(--t-lg); line-height: 1.6; }
@media (min-width: 900px) { .info-block { grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); } }

.contact-grid { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 6fr 5fr; gap: clamp(48px, 7vw, 120px); align-items: start; } }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); padding: var(--space-3) 0; display: grid; gap: 6px; }
.contact-list .cl-label { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.contact-list .cl-value { font-family: var(--f-display); font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.2rem); line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a.cl-value:hover { color: var(--accent); }
.contact-list .cl-help { font-size: var(--t-sm); color: var(--muted); }
.contact-photo .ph { aspect-ratio: 4 / 3; }
.contact-photo .ph img { object-position: 52% 30%; }

/* ---------- Pied de page ---------- */
.site-footer { padding: var(--space-5) 0 calc(110px + env(safe-area-inset-bottom)); font-size: var(--t-sm); }
.footer-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 4fr 3fr 3fr 3fr; } }
.footer-brand .brand-name { font-size: 2.6rem; display: block; color: var(--night-ink); }
.footer-brand p { color: var(--night-muted); margin-top: 14px; max-width: 24em; }
.site-footer h2 { font-family: var(--f-text); font-size: var(--t-xs); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--brass-hi); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--night-ink); text-decoration-color: var(--night-line); }
.site-footer a:hover { color: var(--brass-hi); }
.site-footer address { font-style: normal; color: var(--night-ink); }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; color: var(--night-muted); font-size: var(--t-xs); letter-spacing: .03em; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; z-index: 50;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--night); color: var(--brass-hi);
  border: 1px solid var(--brass);
  box-shadow: 0 10px 30px rgba(6, 20, 19, .35), 0 0 0 4px rgba(214, 180, 110, .12);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: var(--velvet); color: var(--on-velvet); }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- Animations douces ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.ph:hover img { transform: scale(1.025); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ph img, .ph:hover img { transition: none; transform: none; }
  * { animation: none !important; }
}
