/* La Table romande — démo DevelopInk
   Palette charbon / crème / terracotta-or, serif display + sans corps */

:root {
  --charcoal: #1b1a18;
  --charcoal-2: #232120;
  --charcoal-3: #2c2a27;
  --cream: #f3ece1;
  --cream-soft: #d8cfc1;
  --terracotta: #c08457;
  --gold: #c9a24a;
  --line: rgba(243, 236, 225, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- DevelopInk ribbon ---------- */
.dvlpk-ribbon {
  background: var(--charcoal-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cream-soft);
}

.dvlpk-ribbon .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  text-align: center;
}

.dvlpk-ribbon a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.dvlpk-ribbon a:hover {
  border-color: var(--gold);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 26, 24, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.brand span {
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid var(--terracotta);
  background: var(--terracotta);
  color: #1b1a18;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: transparent;
  color: var(--terracotta);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.nav-cta {
  padding: 11px 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  background-color: #100f0e;
  background-image:
    linear-gradient(180deg, rgba(16,15,14,0.55) 0%, rgba(16,15,14,0.45) 40%, rgba(16,15,14,0.9) 100%),
    url("https://images.unsplash.com/photo-1646473315764-c6cd47fe74c3?w=1600&h=900&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  max-width: 720px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--cream-soft);
  max-width: 540px;
  margin-bottom: 38px;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 24px;
}

/* Notre cuisine — split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-text p {
  color: var(--cream-soft);
  margin-bottom: 18px;
}

.split-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--charcoal-3);
  aspect-ratio: 4 / 5;
  background-image: url("https://images.unsplash.com/photo-1750943082640-66f9fd0a4608?w=1200&h=1500&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

/* ---------- Plats ---------- */
.plats {
  background: var(--charcoal-2);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-head p {
  color: var(--cream-soft);
}

.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.plat-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.plat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 87, 0.45);
}

.plat-photo {
  height: 220px;
  background-color: var(--charcoal-3);
  background-size: cover;
  background-position: center;
}

.plat-body {
  padding: 26px 26px 30px;
}

.plat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.plat-head h3 {
  font-size: 1.3rem;
}

.price {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  font-size: 1rem;
}

.plat-body p {
  color: var(--cream-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.center-cta {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Bandeau infos ---------- */
.infos {
  position: relative;
  background-color: #100f0e;
  background-image:
    linear-gradient(180deg, rgba(16,15,14,0.85), rgba(16,15,14,0.9)),
    url("https://images.unsplash.com/photo-1664820946036-ba2fa560bda9?w=1600&h=900&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.infos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.info-block h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--cream);
}

.info-block p {
  color: var(--cream-soft);
  font-size: 0.98rem;
}

.info-block .icon {
  font-size: 1.6rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 14px;
}

/* ---------- Réservation CTA ---------- */
.reserve {
  text-align: center;
}

.reserve .container {
  max-width: 720px;
}

.reserve h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 22px;
}

.reserve p {
  color: var(--cream-soft);
  margin-bottom: 30px;
}

.reserve .phone {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold);
  display: inline-block;
  margin-bottom: 34px;
}

.reserve-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-2);
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-grid .brand {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-col h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col p,
.footer-col li {
  color: var(--cream-soft);
  font-size: 0.92rem;
  list-style: none;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--cream-soft);
}

.footer-bottom a {
  color: var(--gold);
}

/* ---------- Menu page ---------- */
.menu-hero {
  position: relative;
  background-color: #100f0e;
  background-image:
    linear-gradient(180deg, rgba(16,15,14,0.6), rgba(16,15,14,0.92)),
    url("https://images.unsplash.com/photo-1621494268492-d01b98eba7e4?w=1600&h=900&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  padding: 130px 0 100px;
  text-align: center;
}

.menu-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 18px;
}

.menu-hero p {
  color: var(--cream-soft);
  max-width: 560px;
  margin: 0 auto;
}

.menu-section {
  max-width: 820px;
  margin: 0 auto;
}

.menu-section + .menu-section {
  margin-top: 72px;
}

.menu-cat-title {
  font-size: 2.1rem;
  text-align: center;
  margin-bottom: 8px;
}

.menu-cat-sub {
  text-align: center;
  color: var(--cream-soft);
  font-size: 0.95rem;
  margin-bottom: 40px;
  font-style: italic;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-main {
  flex: 1;
}

.menu-item h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.menu-item p {
  color: var(--cream-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.menu-item .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(243,236,225,0.25);
  transform: translateY(-4px);
  min-width: 20px;
}

.back-link {
  text-align: center;
  padding: 70px 0 0;
}

.back-link a {
  color: var(--gold);
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.back-link a:hover {
  border-color: var(--gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }

  .nav-links { display: none; }

  section { padding: 70px 0; }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-media {
    aspect-ratio: 16 / 11;
    order: -1;
  }

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

  .infos-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .infos {
    background-attachment: scroll;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item .dots { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .reserve-actions { flex-direction: column; }
  .reserve-actions .btn { width: 100%; }
}
