:root {
  --bg: #f4eee2;
  --paper: #fffaf1;
  --ink: #17120e;
  --muted: #74695e;
  --line: rgba(23, 18, 14, 0.15);
  --deep: #0e0b09;
  --panel: #1d1511;
  --wine: #8a1f3a;
  --gold: #d2a04a;
  --sage: #637064;
  --shadow: 0 24px 68px rgba(23, 18, 14, 0.2);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f3ea 0, var(--bg) 520px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.demo-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 7px 16px;
  color: #140f0c;
  background: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 31px;
  z-index: 29;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 12px max(16px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: rgba(14, 11, 9, 0.92);
  border-bottom: 1px solid rgba(210, 160, 74, 0.34);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(210, 160, 74, 0.52);
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--deep);
}

.brand span {
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 13px;
  font-weight: 780;
}

.site-header nav a,
.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--radius);
}

.site-header nav a:hover {
  color: var(--paper);
  background: rgba(255, 250, 241, 0.09);
}

.header-cta {
  color: var(--deep);
  background: var(--gold);
  font-weight: 900;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 78svh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -2;
  object-fit: cover;
  object-position: 76% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 11, 9, 0.98) 0%, rgba(14, 11, 9, 0.82) 38%, rgba(14, 11, 9, 0.18) 78%),
    linear-gradient(0deg, rgba(14, 11, 9, 0.78), rgba(14, 11, 9, 0.08) 54%);
}

.hero-content {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(44px, 8vw, 92px);
  color: var(--paper);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 880;
  letter-spacing: 0;
}

.button.primary {
  color: #160f0c;
  background: var(--gold);
  box-shadow: 0 18px 40px rgba(210, 160, 74, 0.2);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 250, 241, 0.28);
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(10px);
}

.button.secondary.dark {
  color: var(--deep);
  border-color: rgba(23, 18, 14, 0.2);
  background: var(--paper);
}

.signature-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 32px), var(--max));
  margin: -32px auto 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--panel);
  border: 1px solid rgba(210, 160, 74, 0.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signature-strip div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 24px;
  border-right: 1px solid rgba(210, 160, 74, 0.2);
}

.signature-strip div:last-child {
  border-right: 0;
}

.signature-strip span,
.story-copy span,
.section-heading span,
.menu-copy span,
.contact-band span,
.modal-panel > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signature-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.05;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: start;
  width: min(calc(100% - 32px), var(--max));
  margin: 86px auto 0;
  padding: 0 0 42px;
  border-bottom: 1px solid var(--line);
}

.story-copy h2,
.section-heading h2,
.menu-copy h2,
.contact-band h2,
.modal-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.story-section p {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 86px auto 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 34px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: service;
}

.services-grid article {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.08), rgba(255, 250, 241, 0.025)),
    var(--deep);
  border: 1px solid rgba(210, 160, 74, 0.24);
  border-radius: var(--radius);
}

.service-mark {
  align-self: flex-start;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--gold);
  border: 1px solid rgba(210, 160, 74, 0.36);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.services-grid h3 {
  margin: auto 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.08;
}

.services-grid p,
.menu-copy p,
.contact-band p,
.modal-panel p,
.quote-checklist dd {
  color: var(--muted);
  line-height: 1.62;
}

.services-grid p {
  margin: 13px 0 0;
  color: rgba(255, 250, 241, 0.72);
}

.menu-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.74fr);
  gap: 54px;
  width: min(calc(100% - 32px), var(--max));
  margin: 86px auto 0;
  padding: clamp(38px, 6vw, 70px);
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(29, 21, 17, 0.98), rgba(29, 21, 17, 0.88)),
    url("../../assets/le-gout-selon-charles/realisation-0096.jpg") center / cover;
  border: 1px solid rgba(210, 160, 74, 0.32);
  border-radius: var(--radius);
}

.menu-copy p {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.75);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 8px;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  font-weight: 880;
}

.menu-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.menu-list article {
  padding: 18px;
  border: 1px solid rgba(210, 160, 74, 0.24);
  border-radius: var(--radius);
  background: rgba(14, 11, 9, 0.58);
}

.menu-list strong,
.menu-list span {
  display: block;
}

.menu-list strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.menu-list span {
  margin-top: 6px;
  color: rgba(255, 250, 241, 0.74);
  line-height: 1.45;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 18, 14, 0.08);
  border-radius: var(--radius);
  background: #e6dbcb;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  color: var(--deep);
  background: rgba(210, 160, 74, 0.92);
  border-radius: var(--radius);
  font-weight: 900;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  margin: 86px auto 0;
  padding: clamp(34px, 6vw, 60px);
  color: var(--paper);
  background: var(--deep);
  border: 1px solid rgba(210, 160, 74, 0.32);
  border-radius: var(--radius);
}

.contact-band p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.72);
  font-size: 18px;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions a,
.contact-actions span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--paper);
  background: rgba(255, 250, 241, 0.075);
  border: 1px solid rgba(210, 160, 74, 0.22);
  border-radius: var(--radius);
  font-weight: 780;
  text-transform: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 70px auto 0;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.site-footer span {
  color: var(--muted);
}

.footer-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--deep);
  border: 1px solid rgba(23, 18, 14, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.7);
  font-weight: 800;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quote-modal:target {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 11, 9, 0.74);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(100%, 640px);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  padding: clamp(26px, 5vw, 42px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(210, 160, 74, 0.32);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.modal-panel h2 {
  margin-top: 12px;
  font-size: clamp(31px, 5vw, 48px);
}

.quote-checklist {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.quote-checklist div {
  padding: 14px;
  border: 1px solid rgba(23, 18, 14, 0.12);
  border-radius: var(--radius);
  background: #fbf3e8;
}

.quote-checklist dt {
  font-weight: 880;
}

.quote-checklist dd {
  margin: 4px 0 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 670px;
  }

  .hero-bg {
    object-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14, 11, 9, 0.92), rgba(14, 11, 9, 0.52)),
      linear-gradient(0deg, rgba(14, 11, 9, 0.82), rgba(14, 11, 9, 0.08) 56%);
  }

  .signature-strip,
  .story-section,
  .section-heading,
  .services-grid,
  .menu-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .signature-strip {
    margin-top: 0;
  }

  .signature-strip div {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgba(210, 160, 74, 0.2);
  }

  .signature-strip div:last-child {
    border-bottom: 0;
  }

  .services-grid article {
    min-height: 230px;
  }

  .menu-band {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .demo-bar {
    font-size: 11px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px;
  }

  .brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    min-height: 38px;
  }

  .hero {
    min-height: 630px;
  }

  .hero-content {
    width: min(calc(100% - 24px), var(--max));
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(47px, 15vw, 64px);
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section,
  .story-section,
  .menu-band,
  .contact-band,
  .signature-strip,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .section,
  .story-section,
  .menu-band,
  .contact-band {
    margin-top: 64px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery img {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-actions,
  .footer-actions a {
    width: 100%;
  }

  .footer-actions a {
    justify-content: center;
  }
}
