/* Baladna · feuille de styles */

:root {
  --cream: #f6efe3;
  --cream-2: #efe4d2;
  --night: #1a1310;
  --night-2: #241a15;
  --ink: #1f1712;
  --ink-soft: #6b5a4c;
  --sumac: #c2382a;
  --sumac-dark: #9e2a1f;
  --saffron: #e9a53a;
  --cedar: #2f6b45;
  --line: #e0d2bb;
  --line-dark: rgba(246, 239, 227, .16);
  --on-dark: rgba(246, 239, 227, .78);

  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1280px;
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
  --radius: 10px;
  --radius-s: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.15; margin-bottom: .4rem; }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sumac); color: var(--cream); padding: 10px 16px; text-decoration: none; border-radius: 8px;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

.lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; }
.muted { color: var(--ink-soft); }

/* ---------- Boutons et liens ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5em; border-radius: 6px;
  font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: .005em;
  text-decoration: none; border: 2px solid var(--sumac);
  background: var(--sumac); color: #fff; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--sumac-dark); border-color: var(--sumac-dark); }
.btn--ghost { background: transparent; color: var(--sumac); }
.btn--ghost:hover { background: var(--sumac); color: #fff; }
.btn--light { background: transparent; color: var(--cream); border-color: rgba(246, 239, 227, .7); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 1.3em; font-size: .98rem; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 2rem; }

.link {
  font-weight: 700; color: var(--sumac);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em;
  text-decoration-color: rgba(194, 56, 42, .3);
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: currentColor; }
.dark .link { color: #f0b45a; text-decoration-color: rgba(233, 165, 58, .35); }
.dark .link:hover { text-decoration-color: currentColor; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, color .3s, border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}

/* Accueil : en-tête posé sur la photo, opaque au défilement */
.over-photo .site-header { position: fixed; left: 0; right: 0; }
.over-photo .site-header:not(.is-scrolled) { background: transparent; color: var(--cream); }
.over-photo .site-header:not(.is-scrolled) .brand { color: var(--cream); }
.over-photo .site-header:not(.is-scrolled) .brand__cedar { color: var(--cream); }
.over-photo .site-header:not(.is-scrolled) .nav__tel { color: var(--on-dark); }
html.nav-open .over-photo .site-header, html.nav-open.over-photo .site-header { background: var(--cream); color: var(--ink); }

.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  text-decoration: none; color: var(--sumac);
}
.brand__cedar { width: 38px; height: 32px; color: var(--cedar); flex: none; transition: color .3s; }
.brand__name { font-family: var(--display); font-size: 1.85rem; line-height: 1; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: .3em 0; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.nav ul a:hover, .nav ul a[aria-current="page"], .nav ul a.is-current { border-bottom-color: currentColor; }
.nav .nav__tel { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-weight: 500; }

.nav-toggle {
  display: none; background: none; border: 2px solid currentColor; border-radius: 6px;
  font: inherit; font-weight: 700; font-size: .98rem; color: inherit;
  min-height: 42px; padding: 0 1.1em; cursor: pointer;
}

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  html.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  html.nav-open .site-header { background: var(--cream) !important; color: var(--ink) !important; }
  html.nav-open .site-header .brand { color: var(--sumac) !important; }
  html.nav-open .site-header .brand__cedar { color: var(--cedar) !important; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav ul a { display: block; padding: 15px 0; font-size: 1.2rem; border-bottom: 0; }
  .nav .nav__tel { color: var(--ink-soft) !important; }
  .nav .btn { width: 100%; }
  .brand__name { font-size: 1.65rem; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section--cream-2 { background: var(--cream-2); }
.dark { background: var(--night); color: var(--cream); }
.dark .muted { color: var(--on-dark); }
.section-head { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.section-head--row h2 { margin: 0; }

/* ---------- Ouverture ---------- */

.hero {
  position: relative; isolation: isolate; color: var(--cream);
  min-height: min(100svh, 940px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 7vw, 96px);
  background: var(--night); overflow: hidden;
}
.hero__bg { position: absolute; top: 0; bottom: 0; right: 0; left: 38%; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(26, 19, 16, .6) 0%, rgba(26, 19, 16, 0) 18%),
    linear-gradient(90deg, var(--night) 0%, var(--night) 38%, rgba(26, 19, 16, .75) 46%, rgba(26, 19, 16, 0) 62%);
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 0 0 56px; }
  .hero__bg { position: relative; inset: auto; height: 56svh; min-height: 340px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(26, 19, 16, .6) 0px, rgba(26, 19, 16, 0) 110px, rgba(26, 19, 16, 0) calc(56svh - 170px), var(--night) 56svh);
  }
  .hero .wrap { margin-top: -72px; }
}
.hero__content { max-width: 36rem; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { max-width: 34rem; color: rgba(246, 239, 227, .9); }
.hero__addr { color: var(--on-dark); margin-top: 1rem; }
.hero__addr a { color: var(--cream); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

/* ---------- Plats ---------- */

.plats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 20px; }
.plat { grid-column: span 2; margin: 0; }
.plat--big { grid-column: span 3; }
.plat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); margin-bottom: .9rem; }
.plat--big img { aspect-ratio: 3 / 2; }
.plat h3 { margin-bottom: .2rem; }
.plat p { margin: 0; color: var(--ink-soft); }
@media (max-width: 700px) {
  .plats { grid-template-columns: 1fr; gap: 28px; }
  .plat, .plat--big { grid-column: auto; }
}

/* ---------- En cuisine ---------- */

.kitchen { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.kitchen__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.kitchen__photos img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); }
.kitchen__text p { color: var(--on-dark); font-size: 1.12rem; max-width: 30rem; }
.kitchen__text .lead { color: var(--cream); }
@media (max-width: 860px) { .kitchen { grid-template-columns: 1fr; } }

/* ---------- Les menus ---------- */

.carte--embed .carte-menu { padding: 0; }
.carte--embed .wrap { padding: 0; max-width: none; }
.carte--embed .carte-menu__head, .carte--embed .carte-index { display: none; }
.carte--embed .carte-cats {
  columns: auto; display: grid; gap: 16px; max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.carte--embed .carte-cat { margin: 0; background: #fffaf2; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 24px 22px 14px; }
.carte--embed .carte-cat > h3 { font-size: 1.55rem; border-bottom-width: 1px; }
.carte--embed .dish { padding: .75rem 0; }
.carte--embed .dish__name { font-size: 1.02rem; }
.carte--embed .carte-foot { border: 0; padding-top: 1.2rem; }
.carte--embed .carte-status { padding: 0; }

/* ---------- La salle ---------- */

.room { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 15vw, 210px); gap: 12px; }
.room a { display: block; overflow: hidden; border-radius: var(--radius-s); background: var(--cream-2); }
.room img { width: 100%; height: 100%; object-fit: cover; }
.room a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.room a:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.room a:nth-child(3), .room a:nth-child(4), .room a:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.room a:nth-child(n+6) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) {
  .room { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .room a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .room a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Avis ---------- */

.reviews { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.reviews p { max-width: 32rem; }
.quote { margin: 0; padding-left: 24px; border-left: 3px solid var(--sumac); }
.quote p { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; margin-bottom: 1rem; }
.quote footer { color: var(--ink-soft); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Réservation ---------- */

.booking-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.booking-wrap .section-head { margin-bottom: 0; }
.booking { background: #fff; border-radius: var(--radius-s); overflow: hidden; }
.booking iframe { display: block; width: 100%; height: 580px; border: 0; }
@media (max-width: 860px) {
  .booking-wrap { grid-template-columns: 1fr; }
  .booking iframe { height: 680px; }
}

/* ---------- Accès et horaires ---------- */

.infos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 80px); align-items: stretch; }
.infos dl { margin: 0; display: grid; gap: 1.5rem; }
.infos dt { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; margin-bottom: .2rem; }
.infos dd { margin: 0; color: var(--ink-soft); }
.infos dd address { color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--cream-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.85); }
@media (max-width: 860px) { .infos { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* ---------- Questions ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.6rem 1.25rem 0; position: relative;
  font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; color: var(--sumac);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 1.4rem; max-width: 46rem; color: var(--ink-soft); }

/* ---------- Pages intérieures ---------- */

.page-banner {
  position: relative; isolation: isolate; color: var(--cream); background: var(--night);
  padding: clamp(72px, 10vw, 140px) 0 clamp(36px, 5vw, 64px);
}
.page-banner__bg { position: absolute; inset: 0; z-index: -1; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(26, 19, 16, .9) 0%, rgba(26, 19, 16, .55) 55%, rgba(26, 19, 16, .35) 100%); }
.over-photo .page-banner { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 104px)); }
.page-banner h1 { margin-bottom: 1rem; }
.page-banner .lead { max-width: 38rem; color: rgba(246, 239, 227, .88); }
.page-banner .breadcrumb ol { color: var(--on-dark); }

.page-head { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.page-head .lead { max-width: 40rem; color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: .98rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: .4em; opacity: .5; }
.breadcrumb a { color: inherit; }

.prose h2 { font-size: 1.7rem; margin: 2.4rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.legal-list { margin: 0 0 1rem; }
.legal-list div { display: grid; grid-template-columns: minmax(140px, 15rem) 1fr; gap: 16px; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.legal-list dt { font-weight: 700; }
.legal-list dd { margin: 0; }
@media (max-width: 560px) { .legal-list div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Carte (rendu DigiChef) ---------- */

html.has-carte-tabs { scroll-padding-top: calc(var(--header-h) + 76px); }

.carte-legend { font-size: .98rem; color: var(--on-dark); margin-top: 1rem; }

.carte-tabs-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.carte-tabs {
  display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.carte-tabs::-webkit-scrollbar { display: none; }
.carte-tab {
  flex: none; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--ink-soft); text-decoration: none; padding: .9rem 0 .8rem;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.carte-tab:hover { color: var(--ink); }
.carte-tab[aria-selected="true"] { color: var(--sumac); border-bottom-color: var(--sumac); }

.carte-menu { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 104px); }
.carte-menu[hidden] { display: none; }
.carte-menu__head { max-width: 44rem; margin-bottom: 1.2rem; }
.carte-menu__head h2 { margin-bottom: .5rem; }
.carte-menu__head p { color: var(--ink-soft); font-style: italic; }

.carte-index {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0 0 clamp(36px, 5vw, 64px); padding: 0; list-style: none;
}
.carte-index a { color: var(--sumac); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(194, 56, 42, .3); text-underline-offset: .3em; }
.carte-index a:hover { text-decoration-color: currentColor; }

.carte-cats { columns: 2; column-gap: clamp(40px, 6vw, 96px); }
.carte-cats--single { columns: 1; max-width: 720px; }
.carte-cat { break-inside: avoid-column; margin-bottom: clamp(44px, 5vw, 72px); }
.dish { break-inside: avoid; }
@media (max-width: 900px) { .carte-cats { columns: 1; } }

.carte-cat > h3 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: var(--ink);
  padding-bottom: .7rem; border-bottom: 2px solid var(--ink); margin-bottom: .3rem;
}
.carte-cat__price { color: var(--sumac); white-space: nowrap; font-variant-numeric: tabular-nums; }
.carte-cat__note { font-size: 1rem; font-style: italic; color: var(--ink-soft); margin: .6rem 0 0; }
.carte-sub {
  font-family: var(--sans); font-size: .98rem; font-weight: 700; text-transform: none;
  color: var(--cedar); margin: 1.8rem 0 .1rem;
}

.dishes { list-style: none; margin: 0; padding: 0; }
.dish {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
}
.dish:last-child { border-bottom: 0; }
.dish__name { font-weight: 700; font-size: 1.08rem; line-height: 1.3; margin: 0; }
.dish__producer { font-weight: 500; color: var(--ink-soft); }
.dish__heart { color: var(--sumac); font-size: .85rem; margin-left: .35em; vertical-align: .1em; }
.dish__tags { margin-left: .45em; }
.dish__tag { font-size: .88rem; font-style: italic; font-weight: 500; color: var(--cedar); }
.dish__tag + .dish__tag::before { content: ", "; }
.dish__desc { grid-column: 1; font-size: .98rem; color: var(--ink-soft); margin: .2rem 0 0; line-height: 1.5; }
.dish__price {
  grid-column: 2; grid-row: 1; font-size: 1.08rem; font-weight: 700; font-variant-numeric: tabular-nums;
  white-space: nowrap; margin: 0;
}

.sizes-head, .dish__sizes {
  display: grid; grid-template-columns: repeat(var(--n, 3), 3.8rem); text-align: right;
  font-variant-numeric: tabular-nums;
}
.sizes-head { justify-content: end; font-size: .88rem; color: var(--ink-soft); padding: .6rem 0 0; }
.dish--sizes .dish__sizes { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.dish__sizes div { margin: 0; }
.dish__sizes dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dish__sizes dd { margin: 0; font-size: 1.05rem; font-weight: 700; }
.dish__sizes .empty { color: var(--line); }
@media (max-width: 560px) {
  .sizes-head, .dish__sizes { grid-template-columns: repeat(var(--n, 3), 3.1rem); }
  .dish__sizes dd { font-size: .98rem; }
}

.carte-foot { font-size: .98rem; color: var(--ink-soft); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.carte-status { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 9vw, 120px); color: var(--ink-soft); }
html:not(.js) .carte-status__loading { display: none; }
.carte-status--error > * { max-width: 40rem; }
.carte-status__title { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; color: var(--ink); margin-bottom: .7rem; }
.carte-status .btn { margin-top: 1.4rem; }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--night); color: var(--cream); padding: clamp(64px, 8vw, 104px) 0 28px; }
.site-footer a { color: inherit; text-decoration-color: rgba(246, 239, 227, .3); text-underline-offset: .25em; }
.site-footer a:hover { text-decoration-color: currentColor; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-top h2 { font-family: var(--sans); font-size: .98rem; font-weight: 700; letter-spacing: 0; margin-bottom: .7rem; }
.footer-top p, .footer-top address, .footer-top li { color: var(--on-dark); }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: .3rem; }
.footer-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-brand .brand__cedar { color: #8fc39f; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line-dark);
  font-size: .95rem; color: rgba(246, 239, 227, .6);
}
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.page-404 { text-align: center; }
.page-404 .brand__cedar { width: 84px; height: 70px; margin: 0 auto 1.4rem; color: var(--cedar); }
.page-404 .actions { justify-content: center; }

/* ---------- Visionneuse photo ---------- */

.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(20, 14, 11, .97); color: var(--cream);
  overscroll-behavior: contain;
}
.lightbox[open] { display: flex; flex-direction: column; animation: lightbox-in .3s ease both; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure {
  flex: 1; min-height: 0; margin: 0; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px) clamp(12px, 4vw, 48px) 0;
}
.lightbox__img {
  width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain;
  border-radius: var(--radius-s); opacity: 0; transition: opacity .35s ease; user-select: none; -webkit-user-drag: none;
}
.lightbox__img.is-ready { opacity: 1; }
.lightbox__bar {
  display: flex; justify-content: center; gap: clamp(24px, 6vw, 64px);
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
}
.lightbox__bar button {
  background: none; border: 0; border-bottom: 1px solid transparent;
  color: var(--on-dark); font: inherit; font-weight: 600; font-size: 1rem;
  padding: .3rem 0; cursor: pointer;
}
.lightbox__bar button:hover, .lightbox__bar button:focus-visible { color: var(--cream); border-bottom-color: currentColor; outline: 0; }
html.lightbox-open { overflow: hidden; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .lightbox[open] { animation: none; }
  .lightbox__img { transition: none; }
}
