:root {
  --accent: #ff7413;
  --accent-deep: #e55f00;
  --accent-soft: #fff3eb;
  --ink: #1c140e;
  --ink-soft: #5c4a3d;
  --muted: #8a7364;
  --paper: #fffaf6;
  --paper-2: #f7ebe1;
  --line: rgba(28, 20, 14, 0.1);
  --white: #ffffff;
  --danger: #c43c2c;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(28, 20, 14, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(255, 116, 19, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 140, 66, 0.1), transparent 50%),
    linear-gradient(180deg, #fff7f1 0%, var(--paper) 35%, #fff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 246, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 250, 246, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out alternate infinite;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 10, 4, 0.25) 0%, rgba(18, 10, 4, 0.55) 45%, rgba(18, 10, 4, 0.82) 100%),
    linear-gradient(90deg, rgba(18, 10, 4, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 720px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  animation: riseIn 0.8s ease both;
}

.hero-brand img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-brand strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  animation: riseIn 0.9s 0.1s ease both;
}

.hero p {
  margin: 0 0 1.8rem;
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  animation: riseIn 0.9s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: riseIn 0.9s 0.3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  padding: 0.25rem 0 0;
}

.feature-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.15rem;
  background: var(--paper-2);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.feature:hover .feature-visual img {
  transform: scale(1.05);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dish {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--paper-2);
}

.dish img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.dish:hover img {
  transform: scale(1.06);
}

.dish figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(18, 10, 4, 0.78));
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
}

.location {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.location-panel {
  padding: 2rem 0;
}

.location-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}

.location-panel p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.location-meta {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.location-meta div {
  display: grid;
  gap: 0.15rem;
}

.location-meta strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.location-meta span {
  font-weight: 600;
  color: var(--ink);
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  padding: 3.5rem 2.5rem;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(18, 10, 4, 0.78), rgba(255, 116, 19, 0.72)),
    url("../images/banners/banner-commande.jpg") center / cover;
}

.cta-band h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.cta-band p {
  margin: 0 0 1.4rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
}

/* —— Legal pages —— */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.legal {
  padding: 0 0 5rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.legal-toc strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.legal-toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.legal-toc a:hover {
  color: var(--accent-deep);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  margin-bottom: 2.25rem;
  scroll-margin-top: 100px;
}

.legal-content h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.note {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}

.delete-panel {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
}

.delete-panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.delete-panel ol {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.delete-form {
  display: grid;
  gap: 0.9rem;
}

.delete-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.delete-form input,
.delete-form textarea,
.delete-form select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.delete-form input:focus,
.delete-form textarea:focus,
.delete-form select:focus {
  outline: 2px solid rgba(255, 116, 19, 0.35);
  border-color: var(--accent);
}

.delete-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: #1c140e;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: #ffb07a;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

/* —— Motion helpers —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(255, 250, 246, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0.2rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
    width: 100%;
  }

  .features,
  .menu-grid,
  .location,
  .legal-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 640px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    padding: 2.4rem 1.4rem;
  }
}
