:root {
  --bg: #f3efe7;
  --bg-2: #e7e0d4;
  --ink: #1c1614;
  --muted: #5c534c;
  --line: rgba(28, 22, 20, 0.16);
  --accent: #7c1e2e;
  --on-accent: #f8f1e8;
  --field: #fffdf9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --measure: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: 0.6rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}
h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 520;
  margin-bottom: 0.35rem;
}
.wrap { width: min(var(--measure), calc(100% - 40px)); margin-inline: auto; }
.mast { display: none; margin: 0; }
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.lede { font-size: 1.18rem; max-width: 38rem; }
.muted { color: var(--muted); }
.ribbon, .top, .facts, section, footer { position: relative; }
section { scroll-margin-top: 84px; padding: 4.5rem 0; }
.band { background: var(--bg-2); }

.ribbon {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.ribbon a { text-decoration: none; border-bottom: 1px solid transparent; }
.ribbon a:hover { border-bottom-color: currentColor; }

.top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  text-decoration: none;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.nav-desktop { display: flex; flex-wrap: wrap; gap: 0.85rem 1rem; font-size: 0.92rem; }
.nav-desktop a, .nav-drawer a { text-decoration: none; }
.nav-desktop a:hover, .nav-drawer a:hover { color: var(--accent); }
.nav-drawer { display: none; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  padding: 0.85rem 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border: 1px solid var(--accent);
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.tiny { padding: 0.65rem 0.8rem; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.hero-media { overflow: hidden; background: var(--bg-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: none; }
.hours-line { font-family: var(--serif); font-size: 1.35rem; margin: 1rem 0 0.2rem; }
.addr { margin: 0; color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts article { padding: 1.2rem 1.1rem; border-right: 1px solid var(--line); }
.facts article:last-child { border-right: 0; }
.facts h2 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.35rem; }
.facts p, .facts a { margin: 0; }
.facts a { font-weight: 500; }

.note { max-width: 40rem; color: var(--muted); }
.menus { display: grid; gap: 0; margin-top: 2rem; }
.menu { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.menu header { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.price {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.menu ul { list-style: none; padding: 0; margin: 0.8rem 0; }
.menu li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.menu li strong, .price { white-space: nowrap; flex-shrink: 0; }
.fine { font-size: 0.92rem; color: var(--muted); }
.bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; }
.scans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.scans figure { margin: 0; background: #fff; padding: 0.45rem; }
.scans figcaption, .host-photo figcaption, .gallery figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }
.scans img { width: 100%; height: auto; }

.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; }
.host-photos { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0.8rem; margin: 1.2rem 0 0.4rem; }
.host-photos img, .portrait { width: 100%; height: 100%; object-fit: cover; }
.portrait-row { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: start; }
.portrait { width: 92px; height: 112px; object-fit: cover; }

.producers { columns: 2; padding-left: 1.1rem; margin: 1rem 0 0; }
.producers li { break-inside: avoid; margin: 0 0 0.55rem; }
.producers span { color: var(--muted); }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 210px; gap: 0.55rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 0.45rem 0.6rem;
  background: rgba(20, 14, 12, 0.72);
  color: #f6f0e8;
}

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; }
form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; }
input, textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--field);
  border-radius: 0;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { min-height: 1.2em; }
.socials { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.socials a { text-underline-offset: 0.18em; }

footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-row { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; justify-content: space-between; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.pager a { text-decoration: none; border-bottom: 1px solid var(--line); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 01 Pierre */
.layout-pierre { --serif: "Fraunces", Georgia, serif; --sans: "Outfit", sans-serif; }
.layout-pierre .img-facade { display: block; }
.layout-pierre .hero { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: calc(100vh - 92px); }
.layout-pierre .hero-media { min-height: 100%; }
.layout-pierre .hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem 2.2rem 2.8rem; }

/* 02 Soir */
.layout-soir {
  --bg: #14110f; --bg-2: #1d1916; --ink: #f4ecdf; --muted: #cbbba6;
  --line: rgba(244, 236, 223, 0.16); --accent: #d7b072; --on-accent: #1a140c;
  --field: #221c18; --serif: "Cormorant Garamond", Georgia, serif; --sans: "Outfit", sans-serif;
}
.layout-soir .img-salle { display: block; }
.layout-soir .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 92px); }
.layout-soir .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.layout-soir .ribbon { background: #d7b072; color: #1a140c; }
.layout-soir .gallery figcaption { background: rgba(0, 0, 0, 0.55); }

/* 03 Marché */
.layout-marche {
  --bg: #f7f4ec; --bg-2: #e7f0e6; --ink: #1b2820; --muted: #4d5c52;
  --accent: #1f6b45; --on-accent: #f4faf6; --serif: "Libre Baskerville", Georgia, serif; --sans: "Nunito Sans", sans-serif;
}
.layout-marche .img-plat { display: block; }
.layout-marche .hero-media { height: 46vh; }
.layout-marche .hero-copy { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 2.2rem 0 0; }
.layout-marche .hero { order: -4; }
.layout-marche .facts { order: -3; }
.layout-marche #producteurs { order: -2; }
.layout-marche #carte { order: -1; background: #1f6b45; color: #f4faf6; }
.layout-marche #carte .muted, .layout-marche #carte .fine, .layout-marche #carte .eyebrow { color: #d5eadc; }
.layout-marche #carte .menu { border-top-color: rgba(244, 250, 246, 0.25); }
.layout-marche #carte .menu li { border-bottom-color: rgba(244, 250, 246, 0.25); }
.layout-marche .page { display: flex; flex-direction: column; }
.layout-marche .btn { background: #f4faf6; color: #1f6b45; border-color: #f4faf6; }
.layout-marche #carte .btn.ghost { color: #f4faf6; border-color: rgba(244, 250, 246, 0.4); }

/* 04 Revue */
.layout-revue {
  --bg: #f6f3ec; --bg-2: #fff; --ink: #141414; --muted: #5a534c;
  --accent: #9d1c2c; --serif: "Newsreader", Georgia, serif; --sans: "Public Sans", sans-serif;
}
.layout-revue .img-salle { display: block; }
.layout-revue .hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; align-items: end; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 1.5rem 0 0; }
.layout-revue h1 { font-style: italic; font-size: clamp(4.2rem, 9vw, 7.4rem); }
.layout-revue .hero-media { height: 52vh; }
.layout-revue .mast {
  display: flex; order: -3; justify-content: space-between; gap: 1rem;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 0.35rem 0; margin: 0 auto 0.4rem; width: min(1180px, calc(100% - 40px));
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.layout-revue .hero { order: -2; }
.layout-revue #maison { order: -1; }
.layout-revue .page { display: flex; flex-direction: column; }

/* Page assemblée */
.layout-selection .hero {
  min-height: 0;
  align-items: start;
  padding: 0;
}
.layout-selection .hero-media { min-height: 0; height: auto; }
.layout-selection .hero-media .img-facade {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: center 62%;
}
.layout-selection .hero-copy {
  justify-content: flex-start;
  align-self: start;
  padding: 2.6rem 2.6rem 0 2.2rem;
}
.layout-selection .hero h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); }
.layout-selection .lang {
  display: flex;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.layout-selection .lang a { text-decoration: none; }
.layout-selection .lang a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.layout-selection #mots {
  position: relative;
  background: #1c1614 url("photos/Restaurant_Les_Arpents_Amboise-Credit_ADT_Touraine_JC-Coutand-2032-70.jpg") center 28% / cover no-repeat;
  color: #f7f2ea;
}
.layout-selection #mots::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 14, 0.46);
}
.layout-selection #mots .wrap { position: relative; }
.layout-selection .menu-sheet h2.menus-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 3.6rem 0 0.85rem;
}
.layout-selection .top {
  position: sticky;
  top: 0;
  z-index: 20;
  gap: 0.4rem 0.7rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.35rem 1.1rem;
  background: rgba(243, 239, 231, 0.96);
}
.layout-selection section { scroll-margin-top: 5.25rem; }
.layout-selection .nav-desktop { margin-left: 0; justify-content: flex-end; gap: 0.35rem 0.45rem; font-size: 0.86rem; }
.layout-selection .logo-mark { display: block; order: -1; margin-left: 0; margin-right: auto; line-height: 0; }
.layout-selection .nav-drawer { order: 2; }
.layout-selection .to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(28, 22, 20, 0.18);
}
.layout-selection .to-top[hidden] { display: none; }
.layout-selection .logo-mark img { height: 58px; width: auto; }
.layout-selection .facts {
  background: #f0e4c8;
  border: 0;
  font-family: "Familjen Grotesk", "Outfit", sans-serif;
}
.layout-selection .facts article { border-right-color: rgba(34, 28, 24, 0.14); }
.layout-selection .facts h2 { font-family: "Familjen Grotesk", "Outfit", sans-serif; }
.layout-selection .menu-sheet .bilingual p,
.layout-selection .menu-sheet > p,
.layout-selection .menu-sheet .menu p,
.layout-selection .menu-sheet .menu-line {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.layout-selection .menu-sheet h2 { margin: 2.2rem 0 1rem; }
.layout-selection .menu-sheet h2:first-of-type { margin-top: 0; }
.layout-selection .menu-sheet .bilingual { margin: 0 0 0.4rem; }
.layout-selection .menu-sheet .bilingual p,
.layout-selection .menu-sheet > p { margin: 0 0 0.85rem; }
.layout-selection .menu-sheet .menus { margin-top: 0.4rem; }
.layout-selection .menu-sheet .menu {
  margin: 0;
  padding: 1.15rem 0;
}
.layout-selection .menu-sheet .menu-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin: 0;
}
.layout-selection .menu-sheet .menu p { margin: 0.85rem 0 0; }
.layout-selection .menu-sheet .menu .menu-line + .menu-line { margin-top: 0.85rem; }
.layout-selection .cellar h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 2.6rem 0 0.7rem;
}
.layout-selection .wine-head,
.layout-selection .wine-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.6rem 4.6rem;
  column-gap: 1rem;
  align-items: baseline;
}
.layout-selection .wine-head {
  margin: 0.2rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.layout-selection .wine-line,
.layout-selection .drink-line {
  margin: 0;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  line-height: 1.45;
}
.layout-selection .drink-line {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: baseline;
}
.layout-selection .drink-line > span:first-child,
.layout-selection .wine-line > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.layout-selection .drink-line > span:first-child { flex: 1 1 0%; }
.layout-selection .drink-line > span:last-child { flex: 0 0 auto; }
.layout-selection .wine-line > span:nth-child(n+2),
.layout-selection .wine-head > span:nth-child(n+2),
.layout-selection .drink-line > span:last-child {
  text-align: right;
  white-space: nowrap;
}
.layout-selection .cuvee { display: block; color: var(--muted); text-align: left; overflow-wrap: anywhere; }
.layout-selection .cellar .drink-note { margin: 0.35rem 0 0.2rem; color: var(--muted); }
.layout-selection .acc-group {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.layout-selection .cellar-acc { background: #f7f3ea; }
.layout-selection .cellar-acc[open] { background: #f3ead8; }
.layout-selection .cellar-acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.layout-selection .cellar-acc summary::-webkit-details-marker { display: none; }
.layout-selection .cellar-acc summary::marker { content: ""; }
.layout-selection .cellar-acc summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.15rem);
  flex: none;
}
.layout-selection .cellar-acc[open] summary::after {
  transform: rotate(-135deg) translateY(-0.1rem);
}
.layout-selection .cellar-acc summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.layout-selection .acc-body { padding: 0.15rem 1rem 1.15rem; }
.layout-selection .acc-body .cave-pair { margin-top: 0.35rem; }
.layout-selection .cellar-acc h3 { margin-top: 0.35rem; }
.layout-selection .cave-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2.2rem;
  align-items: start;
  margin-top: 1.8rem;
}
.layout-selection .cave-pair > div > h3:first-child { margin-top: 0; }
.layout-selection .cave-pair .wine-head,
.layout-selection .cave-pair .wine-line {
  grid-template-columns: minmax(0, 1fr) 3.5rem 3.5rem;
  column-gap: 0.5rem;
}
.layout-selection .drink-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 2.6rem;
  align-items: start;
  margin-top: 1.2rem;
}
.layout-selection .drink-board .wide { grid-column: 1 / -1; }
.layout-selection .drink-board h3 { margin: 1.3rem 0 0.45rem; }
.layout-selection .drink-board .wide h3 { margin-top: 0.2rem; }
.layout-selection .cols-2 { columns: 2; column-gap: 2.2rem; }
.layout-selection .cols-2 .drink-line { break-inside: avoid; }
.layout-selection .drink-names { margin: 0.2rem 0 0.85rem; }

/* 05 Comptoir */
.layout-comptoir {
  --bg: #fbf7f2; --bg-2: #f0e4c8; --ink: #221c18; --accent: #7c1e2e;
  --serif: "Fraunces", Georgia, serif; --sans: "Familjen Grotesk", sans-serif;
}
.layout-comptoir .top { position: sticky; top: 0; z-index: 6; background: #fbf7f2; }
.layout-comptoir .img-facade { display: block; }
.layout-comptoir .hero { display: grid; grid-template-columns: 220px 1fr; gap: 1.4rem; width: min(1120px, calc(100% - 40px)); margin: 1.2rem auto 0; align-items: center; }
.layout-comptoir .hero-media { height: 220px; }
.layout-comptoir h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.layout-comptoir .facts { background: #f0e4c8; }

/* 06 Atelier */
.layout-atelier {
  --bg: #f3eee6; --bg-2: #e6d9c8; --ink: #241910; --muted: #6a5344;
  --accent: #6e3b24; --on-accent: #f8f1e8; --serif: "Literata", Georgia, serif; --sans: "Manrope", sans-serif;
}
.layout-atelier .img-chef { display: block; }
.layout-atelier .hero { display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: calc(100vh - 92px); }
.layout-atelier .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.layout-atelier .chef-photo { display: none; }
.layout-atelier .hero { order: -3; }
.layout-atelier .facts { order: -2; }
.layout-atelier #maison { order: -1; }
.layout-atelier .page { display: flex; flex-direction: column; }

/* 07 Loire */
.layout-loire {
  --bg: #f3f6f5; --bg-2: #e3eeec; --ink: #14323a; --muted: #4d666c;
  --accent: #1d6a73; --on-accent: #f3faf9; --serif: "Cormorant Garamond", Georgia, serif; --sans: "Figtree", sans-serif;
}
.layout-loire .img-plat { display: block; }
.layout-loire .hero-media { height: 72vh; }
.layout-loire .hero-copy { width: min(740px, calc(100% - 48px)); margin: 0 auto; padding: 3.2rem 0 0; }
.layout-loire h1 { font-weight: 500; font-size: clamp(4rem, 8vw, 6.8rem); }
.layout-loire .hero { order: -3; }
.layout-loire .facts { order: -2; }
.layout-loire #photos { order: -1; }
.layout-loire .page { display: flex; flex-direction: column; }

/* 08 Maison */
.layout-maison {
  --bg: #f8f1ea; --bg-2: #f0e2d8; --ink: #2a1c1c; --muted: #6d564f;
  --accent: #8d3040; --serif: "Fraunces", Georgia, serif; --sans: "Karla", sans-serif;
}
.layout-maison .img-duo { display: block; }
.layout-maison .hero { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 86vh; }
.layout-maison .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.layout-maison .host-photos { display: none; }
.layout-maison .hero { order: -3; }
.layout-maison #maison { order: -2; }
.layout-maison .facts { order: -1; }
.layout-maison .page { display: flex; flex-direction: column; }

/* 09 Carte */
.layout-carte {
  --bg: #fffdf8; --bg-2: #f4ece3; --ink: #1a1a1a; --accent: #7c1e2e;
  --serif: "Bodoni Moda", Georgia, serif; --sans: "Outfit", sans-serif;
}
.layout-carte .img-plat { display: block; }
.layout-carte .page { display: flex; flex-direction: column; }
.layout-carte .hero { order: -3; }
.layout-carte .facts { order: -2; }
.layout-carte #carte { order: -1; padding-top: 2.5rem; }
.layout-carte .hero { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; align-items: end; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.layout-carte .hero-media { height: 240px; }
.layout-carte h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.layout-carte .price { font-size: clamp(3.2rem, 6vw, 5.2rem); }
.layout-carte .menu header { align-items: flex-end; }

/* 10 Invitation */
.layout-invitation {
  --bg: #fbf8f3; --bg-2: #f3ece3; --ink: #2c241c; --muted: #6d6258;
  --accent: #6d2432; --serif: "EB Garamond", Georgia, serif; --sans: "Outfit", sans-serif;
  --measure: 44rem;
}
.layout-invitation .img-facade { display: block; }
.layout-invitation .hero { text-align: center; padding-top: 1.5rem; }
.layout-invitation .hero-media { width: min(100%, 460px); height: 280px; margin: 0 auto 1.2rem; }
.layout-invitation .hero-copy { width: min(40rem, calc(100% - 32px)); margin: 0 auto; }
.layout-invitation h1 { font-size: clamp(3.4rem, 8vw, 5.2rem); }
.layout-invitation .lede::first-letter {
  font-family: var(--serif);
  font-size: 3.3rem;
  float: left;
  line-height: 0.8;
  padding: 0.15rem 0.45rem 0 0;
}
.layout-invitation .hero-actions, .layout-invitation .facts { justify-content: center; }
.layout-invitation .facts { grid-template-columns: 1fr 1fr; }
.layout-invitation .hosts, .layout-invitation .bilingual, .layout-invitation .contact-grid, .layout-invitation .host-photos { grid-template-columns: 1fr; }
.layout-invitation .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
.layout-invitation .gallery figure:first-child { grid-row: auto; }

.chooser { width: min(980px, calc(100% - 36px)); margin: 0 auto; padding: 3rem 0 4rem; }
.chooser header h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); max-width: 14ch; }
.model-list { display: grid; gap: 0; margin-top: 2rem; }
.model-list a.row {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.model-list a.row:hover { color: var(--accent); }
.num { font-family: var(--serif); font-size: 1.6rem; }
.swatches { display: flex; gap: 0.35rem; margin-top: 0.45rem; }
.swatches i { width: 14px; height: 14px; display: block; border: 1px solid rgba(0,0,0,.2); }
.open { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-drawer { display: block; margin-left: auto; }
  .nav-drawer summary { cursor: pointer; list-style: none; }
  .nav-drawer nav { display: grid; gap: 0.45rem; padding: 0.7rem 0; }
  .top .btn.tiny { display: none; }
  .facts, .hosts, .bilingual, .contact-grid, .host-photos, .portrait-row { grid-template-columns: 1fr; }
  .producers { columns: 1; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery figure:first-child { grid-row: auto; }
  .layout-pierre .hero, .layout-soir .hero, .layout-revue .hero, .layout-comptoir .hero,
  .layout-atelier .hero, .layout-maison .hero, .layout-carte .hero { display: block; min-height: 0; }
  .hero-media, .layout-pierre .hero-media, .layout-loire .hero-media, .layout-marche .hero-media { height: 42vh; min-height: 0; }
  .layout-pierre .hero-copy, .layout-soir .hero-copy, .layout-atelier .hero-copy, .layout-maison .hero-copy { padding: 1.4rem 0 0; }
  .layout-revue .hero, .layout-comptoir .hero, .layout-carte .hero { width: min(1120px, calc(100% - 40px)); }
  .layout-invitation .facts { grid-template-columns: 1fr; }
  .layout-selection .hero-copy { padding: 1.4rem 1.2rem 0; }
  .layout-selection .hero-media .img-facade { height: 42vh; }
  .layout-selection .wine-head,
  .layout-selection .wine-line { grid-template-columns: minmax(0, 1fr) 3.4rem 3.4rem; column-gap: 0.45rem; }
  .layout-selection .drink-board,
  .layout-selection .cols-2 { display: block; columns: 1; }
  .layout-selection .cave-pair { display: block; }
  .layout-selection .cave-pair > div + div { margin-top: 1.6rem; }
  .layout-selection .logo-mark { margin-left: 0; margin-right: auto; }
  .layout-selection .logo-mark img { height: 48px; }
  .layout-selection .top { align-items: center; }
  .layout-selection .nav-drawer { margin-left: 0; }
  .layout-carte .price { font-size: 2.7rem; }
  .menu header { flex-wrap: wrap; }
  .model-list a.row { grid-template-columns: 2.6rem 1fr; }
  .model-list .open { grid-column: 2; }
}

.layout-selection .btn.gift {
  background: #f0e4c8;
  color: #1c1614;
  border-color: #c8b48a;
}
.layout-selection .btn.gift:hover { background: #e7d7b4; }
.layout-selection .btn.tiny { padding: 0.45rem 0.5rem; letter-spacing: 0.04em; }
.layout-selection .theme-toggle {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
}
.layout-selection .theme-toggle svg { width: 1.35rem; height: 1.35rem; display: block; fill: currentColor; }
.layout-selection .theme-toggle .icon-sun { display: none; }
html[data-theme="night"] .layout-selection .theme-toggle .icon-moon { display: none; }
html[data-theme="night"] .layout-selection .theme-toggle .icon-sun { display: block; }
.layout-selection footer { padding: 0.35rem 0 0.5rem; font-size: 0.78rem; line-height: 1.3; }
.layout-selection .footer-row { align-items: center; gap: 0.1rem 1rem; }
.layout-selection .footer-row p { margin: 0; }
.layout-selection .footer-row p.powered { margin: 0 2.8rem 0 auto; letter-spacing: 0.04em; }
.layout-selection .powered a { position: relative; text-decoration: none; }
.layout-selection .powered a::after {
  content: "tcconception@gmail.com";
  display: none;
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: calc(100% + 1.35rem);
  padding: 0.18rem 0.4rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.75rem;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.layout-selection .powered a:hover::after,
.layout-selection .powered a:focus-visible::after { display: block; }
.layout-selection .socials {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 0.35rem 1.5rem;
  margin-top: 0.7rem;
}
.layout-selection .socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}
.layout-selection .socials svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.layout-selection .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.legal-page { width: min(46rem, calc(100% - 2rem)); margin: 0 auto; padding: 2.6rem 0 4rem; }
.legal-page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal-page h2 { font-size: 1.45rem; margin: 2rem 0 0.6rem; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page li { margin: 0.35rem 0; }
html[data-theme="night"] body.layout-selection {
  --bg: #14110f;
  --bg-2: #1c1815;
  --ink: #f4ecdf;
  --muted: #cbbba6;
  --line: rgba(244, 236, 223, 0.18);
  --accent: #d46574;
  --on-accent: #1a1210;
  --field: #221c18;
  background: #14110f;
  color: #f4ecdf;
}
html[data-theme="night"] .layout-selection .top { background: rgba(20, 17, 15, 0.96); }
html[data-theme="night"] .layout-selection .facts { background: #2a241c; }
html[data-theme="night"] .layout-selection .facts article { border-right-color: rgba(244, 236, 223, 0.14); }
html[data-theme="night"] .layout-selection .cellar-acc { background: #241f1b; }
html[data-theme="night"] .layout-selection .cellar-acc[open] { background: #322b24; }
html[data-theme="night"] .layout-selection .btn.gift { background: #3a3228; color: #f0e4c8; border-color: #8c7352; }
html[data-theme="night"] .layout-selection input,
html[data-theme="night"] .layout-selection textarea { background: #221c18; color: #f4ecdf; border-color: rgba(244, 236, 223, 0.2); }
