/* Villa de la Tourelle — palette tirée de l'intérieur : noir mat, beige, chêne clair, cognac */
:root {
  --noir: #141312;
  --anthracite: #1f1e1c;
  --graphite: #2b2926;
  --beige: #ebe5da;
  --lin: #f5f1ea;
  --sable: #d6ccbb;
  --taupe: #8f8574;
  --chene: #c9a97f;
  --cognac: #a5683b;
  --texte: #1c1b19;
  --texte-doux: #5d574d;
  --clair-doux: #b9b1a3;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--lin);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cognac);
  margin-bottom: 1.2rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--texte-doux); max-width: 46ch; }
em.serif { font-family: var(--serif); font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(72px, 11vw, 140px) 0; }
.dark { background: var(--noir); color: var(--beige); }
.dark .lead, .dark p.muted { color: var(--clair-doux); }
.dark .eyebrow { color: var(--chene); }
.beige { background: var(--beige); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1em 1.8em;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid currentColor; border-radius: var(--radius);
  background: transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::after { content: "→"; letter-spacing: 0; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn-solid { background: var(--noir); color: var(--beige); border-color: var(--noir); }
.btn-solid:hover { background: var(--cognac); border-color: var(--cognac); }
.dark .btn-solid, .btn-light { background: var(--beige); color: var(--noir); border-color: var(--beige); }
.dark .btn-solid:hover, .btn-light:hover { background: var(--chene); border-color: var(--chene); }
.btn-ghost:hover { background: currentColor; }
.btn-ghost:hover { color: var(--noir); background: var(--beige); border-color: var(--beige); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.link-arrow { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: " →"; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--beige);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.solid, body.page-light .site-header { background: rgba(20, 19, 18, .96); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .02em; }
.brand-sub { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--chene); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a { white-space: nowrap; text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; transition: opacity .2s; }
.nav a:hover, .nav a.active { opacity: 1; }
.nav a.active { border-bottom: 1px solid var(--chene); padding-bottom: 3px; }
.nav .btn { padding: .8em 1.3em; opacity: 1; }
.nav .btn::after { display: none; }
.lang-switch { display: flex; border: 1px solid rgba(235, 229, 218, .35); border-radius: 20px; overflow: hidden; }
.lang-switch button { background: none; border: 0; padding: 5px 10px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; cursor: pointer; color: var(--clair-doux); }
.lang-switch button.on { background: var(--beige); color: var(--noir); }
.menu-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: flex-end; color: var(--beige); padding: 0; overflow: hidden; background: var(--noir); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,18,.55) 0%, rgba(20,19,18,.15) 35%, rgba(20,19,18,.85) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 110px); padding-top: 140px; }
.hero h1 { max-width: 12ch; margin-bottom: .25em; }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--sable); margin-bottom: 2rem; }
.hero .meta { display: flex; gap: 10px 28px; flex-wrap: wrap; margin-top: 2.4rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clair-doux); }
.hero .meta span::before { content: "— "; color: var(--chene); }

/* Page hero (sous-pages) */
.page-hero { position: relative; padding: 180px 0 90px; color: var(--beige); background: var(--noir); overflow: hidden; }
.page-hero.with-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,18,.7), rgba(20,19,18,.9)); }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { color: var(--clair-doux); }

/* ---------- Chiffres clés ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(235,229,218,.14); }
.figure { padding: 34px 24px 0 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid rgba(235,229,218,.14); }
.figure strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--beige); }
.figure span { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clair-doux); }
.strip { padding: 0 0 clamp(56px, 8vw, 96px); }

/* ---------- Piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 6vw, 72px); }
.pillar { border-top: 1px solid var(--sable); padding-top: 28px; }
.pillar .num { font-family: var(--serif); font-style: italic; color: var(--cognac); font-size: 1.2rem; }
.pillar h3 { margin: 10px 0 12px; }
.pillar p { color: var(--texte-doux); margin: 0; }

/* ---------- Images ---------- */
.frame { position: relative; overflow: hidden; background: var(--sable); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-1 { aspect-ratio: 1; }
.caption { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-top: 12px; }
.dark .caption { color: var(--clair-doux); }
.stack-img { position: relative; }
.stack-img .small { position: absolute; width: 46%; right: -6%; bottom: -10%; border: 10px solid var(--lin); }
.beige .stack-img .small { border-color: var(--beige); }

.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: baseline; }
.checklist li::before { content: ""; flex: 0 0 18px; height: 1px; background: var(--cognac); transform: translateY(-4px); }
.dark .checklist li::before { background: var(--chene); }

/* ---------- Galerie espaces ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 17vw, 230px); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--beige); background: linear-gradient(transparent, rgba(20,19,18,.75)); }
.g1 { grid-column: span 7; grid-row: span 2; }
.g2 { grid-column: span 5; grid-row: span 2; }
.g3 { grid-column: span 4; grid-row: span 2; }
.g4 { grid-column: span 4; grid-row: span 2; }
.g5 { grid-column: span 4; grid-row: span 2; }

/* ---------- Niveaux ---------- */
.levels { margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid rgba(235,229,218,.16); }
.level { display: grid; grid-template-columns: 120px 1fr 160px; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(235,229,218,.16); align-items: baseline; }
.level .lv { font-family: var(--serif); font-size: 2rem; color: var(--chene); }
.level .rooms { text-align: right; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clair-doux); }
.level h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.level p { margin: 0; color: var(--clair-doux); font-size: .95rem; }
.note { font-size: .9rem; color: var(--clair-doux); margin-top: 24px; }

/* ---------- Cartes chambres ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.room-card { text-decoration: none; display: flex; flex-direction: column; background: var(--lin); transition: transform .4s var(--ease); }
.beige .room-card { background: var(--lin); }
.room-card:hover { transform: translateY(-4px); }
.room-card .frame { aspect-ratio: 4 / 3; }
.room-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--noir); color: var(--beige); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; }
.room-card .badge.taken { background: var(--taupe); }
.room-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.room-card .num { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cognac); font-weight: 600; }
.room-card h3 { margin: 0; font-size: 1.7rem; }
.room-card .specs { display: flex; gap: 16px; font-size: .85rem; color: var(--texte-doux); flex-wrap: wrap; }
.room-card .price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sable); display: flex; justify-content: space-between; align-items: baseline; }
.room-card .price strong { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }
.room-card .price small { font-size: .74rem; color: var(--texte-doux); }
.room-card .view { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }

/* Filtres */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.chip { border: 1px solid var(--sable); background: transparent; padding: 9px 18px; border-radius: 30px; cursor: pointer; font-size: .78rem; font-weight: 600; letter-spacing: .06em; transition: all .2s; }
.chip:hover { border-color: var(--noir); }
.chip.on { background: var(--noir); color: var(--beige); border-color: var(--noir); }
.filters .sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--texte-doux); }
.filters select { border: 1px solid var(--sable); background: var(--lin); padding: 9px 14px; border-radius: 30px; }

/* ---------- Fiche chambre ---------- */
.room-hero { padding: 120px 0 0; background: var(--noir); color: var(--beige); }
.breadcrumb { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clair-doux); margin-bottom: 26px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--beige); }
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 58vh, 620px); }
.room-gallery figure { margin: 0; overflow: hidden; cursor: zoom-in; position: relative; }
.room-gallery figure:first-child { grid-row: span 2; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-gallery figure:hover img { transform: scale(1.03); }
.room-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.room-title .num { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cognac); font-weight: 600; }
.room-title h1 { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--texte); margin: 10px 0 14px; }
.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sable); border-bottom: 1px solid var(--sable); margin: 32px 0 40px; }
.spec { padding: 20px 14px 20px 0; }
.spec + .spec { padding-left: 16px; border-left: 1px solid var(--sable); }
.spec small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.spec strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; list-style: none; padding: 0; margin: 20px 0 40px; }
.amenities li { display: flex; gap: 12px; align-items: center; font-size: .96rem; }
.amenities svg { flex: 0 0 22px; color: var(--cognac); }
.price-card { position: sticky; top: 100px; background: var(--noir); color: var(--beige); padding: 36px 32px; }
.price-card .total { font-family: var(--serif); font-size: 3.2rem; line-height: 1; }
.price-card .total small { font-family: var(--sans); font-size: .9rem; color: var(--clair-doux); }
.price-card .per-day { color: var(--clair-doux); font-size: .88rem; margin-top: 8px; }
.price-card table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .92rem; }
.price-card td { padding: 10px 0; border-bottom: 1px solid rgba(235,229,218,.14); }
.price-card td:last-child { text-align: right; }
.price-card tr.sum td { border-bottom: 0; font-weight: 700; padding-top: 14px; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card .status { display: inline-block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; background: var(--cognac); color: var(--lin); margin-bottom: 20px; }
.price-card .status.taken { background: var(--taupe); }
.price-card .fine { font-size: .76rem; color: var(--clair-doux); margin: 16px 0 0; }
.room-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--sable); padding-top: 28px; margin-top: 60px; }
.room-nav a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.room-nav a small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.room-nav a span { font-family: var(--serif); font-size: 1.4rem; }
.room-nav a:last-child { text-align: right; }

/* ---------- Services / tarifs ---------- */
.price-list { border-top: 1px solid var(--sable); }
.price-list .row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--sable); align-items: baseline; }
.price-list .row strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; white-space: nowrap; }
.price-list .row.highlight { background: linear-gradient(90deg, rgba(165,104,59,.08), transparent); padding-left: 14px; margin-left: -14px; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sable); border: 1px solid var(--sable); }
.included div { background: var(--lin); padding: 26px 24px; }
.included h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin: 12px 0 4px; }
.included p { margin: 0; font-size: .9rem; color: var(--texte-doux); }
.included svg { color: var(--cognac); }
.included .inc-wide { grid-column: 1 / -1; }

/* ---------- Emplacement ---------- */
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(1) contrast(1.05); }
.address { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; margin: 0 0 24px; }

/* ---------- Business ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(235,229,218,.14); margin-top: 56px; }
.biz-grid div { background: var(--noir); padding: 34px 30px; }
.biz-grid h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin: 14px 0 8px; color: var(--beige); }
.biz-grid p { color: var(--clair-doux); margin: 0; font-size: .95rem; }
.biz-grid .n { font-family: var(--serif); font-style: italic; color: var(--chene); }
.profiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.profiles li { border: 1px solid var(--sable); padding: 8px 16px; border-radius: 30px; font-size: .86rem; }
.dark .profiles li { border-color: rgba(235,229,218,.25); }
.compare { width: 100%; border-collapse: collapse; margin-top: 12px; }
.compare th, .compare td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--sable); font-size: .95rem; vertical-align: top; }
.compare th { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.compare td:first-child { font-weight: 600; }
.compare .us { background: rgba(165,104,59,.07); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info .item { padding: 22px 0; border-bottom: 1px solid var(--sable); }
.contact-info small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.contact-info a, .contact-info p { font-family: var(--serif); font-size: 1.45rem; text-decoration: none; margin: 0; line-height: 1.3; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--taupe); background: transparent;
  padding: 10px 0; font-size: 1rem; border-radius: 0; outline: none; transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--texte) 50%), linear-gradient(135deg, var(--texte) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cognac); }
.field textarea { min-height: 120px; resize: vertical; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--sable); padding: 9px 16px; border-radius: 30px; cursor: pointer; font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--texte); font-weight: 500; margin: 0; }
.radio-row input { accent-color: var(--cognac); width: auto; }
.radio-row label:has(input:checked) { border-color: var(--noir); background: var(--noir); color: var(--beige); }
.consent { font-size: .82rem; color: var(--texte-doux); display: flex; gap: 10px; align-items: flex-start; }
.consent input { accent-color: var(--cognac); margin-top: 4px; }
.form-msg { grid-column: 1 / -1; padding: 16px 18px; font-size: .95rem; display: none; }
.form-msg.ok { display: block; background: rgba(165,104,59,.1); border-left: 2px solid var(--cognac); }
.form-msg.err { display: block; background: #f6e3df; border-left: 2px solid #a33; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: var(--beige); text-align: center; overflow: hidden; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(20,19,18,.72); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { max-width: 20ch; }
.cta-band .lead { color: var(--sable); margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--noir); color: var(--clair-doux); padding: 80px 0 36px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(235,229,218,.12); }
.site-footer .brand-name { color: var(--beige); font-size: 2rem; }
.site-footer h5 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--chene); margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--beige); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; font-size: .78rem; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,11,10,.94); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--beige); font-size: 2rem; cursor: pointer; padding: 16px; line-height: 1; }
.lightbox .lb-close { top: 10px; right: 14px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--clair-doux); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-layout { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .included { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--noir); flex-direction: column; align-items: flex-start; padding: 24px var(--gutter) 36px; gap: 22px; transform: translateY(-120%); transition: transform .4s var(--ease); height: calc(100svh - 76px); }
  .nav.open { transform: none; }
  .nav a { font-size: .9rem; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 880px) {
  .split, .contact-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars, .biz-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g1 { grid-column: span 2 !important; }
  .level { grid-template-columns: 70px 1fr; }
  .level .rooms { grid-column: 2; text-align: left; }
  .stack-img .small { display: none; }
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 56vw 30vw; height: auto; }
  .room-gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
  .spec-row { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--sable); }
  .filters .sort { margin-left: 0; width: 100%; }
  .compare { font-size: .85rem; }
  .compare th, .compare td { padding: 12px 8px; }
}
@media (max-width: 620px) {
  .rooms-grid, .included, .amenities, .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 64px; }
  .room-nav a span { font-size: 1.1rem; }
  .table-scroll { overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .compare { min-width: 520px; }
}

/* Pas de retour à la ligne pour la marque et les montants */
.brand { white-space: nowrap; flex-shrink: 0; }
.price-card td:last-child, .room-card .price strong { white-space: nowrap; }

/* Empêche les colonnes de grille de déborder sur petit écran */
.split > *, .room-layout > *, .contact-layout > *, .rooms-grid > *, .spec-row > *, .form > * { min-width: 0; }
@media (max-width: 1020px) { .room-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 880px) { .split, .contact-layout { grid-template-columns: minmax(0, 1fr); } }

/* Chiffres « modernes » : Cormorant affiche par défaut des chiffres elzéviriens (11 ressemble à II) */
* { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* À vous / En partage */
.share-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
.share-col { padding: clamp(28px, 4vw, 44px); background: var(--beige); min-width: 0; }
.share-col.shared { background: var(--noir); color: var(--beige); }
.share-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; background: var(--noir); color: var(--beige); margin-bottom: 26px; }
.share-col.shared .share-tag { background: var(--cognac); color: var(--lin); }
.share-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.share-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--sable); }
.share-col.shared .share-list li { border-color: rgba(235,229,218,.16); }
.share-list li > span { color: var(--cognac); flex: 0 0 22px; margin-top: 2px; }
.share-col.shared .share-list li > span { color: var(--chene); }
.share-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.share-list small { display: block; font-size: .86rem; color: var(--texte-doux); margin-top: 2px; }
.share-col.shared .share-list small { color: var(--clair-doux); }
.share-note { margin: 22px 0 0; color: var(--texte-doux); font-size: .92rem; }
.kitchen-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 880px) { .share-grid { grid-template-columns: minmax(0, 1fr); } }

/* Carte : écran d'accord avant chargement */
.map-consent { display: flex; align-items: center; justify-content: center; background: var(--beige) url("../images/facade.jpg") center 30% / cover; position: relative; filter: none; }
.map-consent::before { content: ""; position: absolute; inset: 0; background: rgba(235, 229, 218, .9); }
.map-box { position: relative; text-align: center; max-width: 340px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.map-box > span { color: var(--cognac); margin-bottom: 6px; }
.map-title { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.map-text { font-size: .88rem; color: var(--texte-doux); margin: 4px 0 18px; }
.map-text a { color: var(--texte); }

/* Pages légales */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.4em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--texte-doux); }
.legal ul { padding-left: 1.2em; }
.legal strong { color: var(--texte); }
.legal a { color: var(--cognac); }
.legal .todo { background: rgba(165,104,59,.14); color: var(--cognac); padding: 1px 6px; font-weight: 600; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; margin: 0; }
.legal dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); padding-top: 3px; }
.legal dd { margin: 0; }
@media (max-width: 620px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }
.footer-legal a { margin-left: 18px; }
.consent a { color: var(--texte); }

/* Supports de la version mobile (sans effet sur le desktop) */
picture { display: contents; }
.m-only { display: none; }
/* Accueil desktop : 3 chambres en vitrine (les 11 défilent sur mobile) */
#featured-rooms > :nth-child(n+4) { display: none; }
