/* ==========================================================================
   Saveur — Restaurant & Bistronomie Template
   Personnalisez les couleurs via les variables ci-dessous.
   ========================================================================== */
:root {
  --green: #1d3329;
  --green-2: #264336;
  --cream: #f6f0e6;
  --cream-2: #ece3d3;
  --gold: #b8894a;
  --gold-light: #d4ac72;
  --ink: #1b1b18;
  --muted: #6b675e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 30px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all .3s; font-family: var(--sans); text-align: center; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--green); }
.btn--light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--light:hover { background: #fff; color: var(--green); }
.btn--outline { border-color: var(--gold); color: var(--gold-light); padding: 10px 22px; }
.btn--outline:hover { background: var(--gold); color: #fff; }
.btn--block { width: 100%; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, padding .4s; padding: 14px 0; }
.header.scrolled { background: var(--green); padding: 4px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); font-size: 32px; font-weight: 700; color: #fff; }
.logo span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 34px; color: rgba(255, 255, 255, .85); font-size: 14px; letter-spacing: .04em; }
.nav > a:not(.btn):hover { color: var(--gold-light); }
.burger { display: none; background: none; border: 0; width: 32px; height: 32px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.burger span { height: 1.5px; background: #fff; transition: transform .3s; }
.burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background:
    radial-gradient(ellipse at 70% 40%, rgba(184, 137, 74, .35), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(38, 67, 54, .9), transparent 60%),
    linear-gradient(160deg, #13241c 0%, #1d3329 50%, #0e1a14 100%);
  /* Remplacez par votre photo : background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url("../img/hero.jpg") center/cover; */
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; }
.hero__inner { position: relative; padding: 120px 0 80px; }
.hero__kicker { letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--gold-light); margin-bottom: 24px; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); font-weight: 500; }
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero__text { max-width: 520px; margin: 28px 0 40px; font-size: 18px; color: rgba(255, 255, 255, .8); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); padding-bottom: 46px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 36px; background: var(--gold); animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Sections */
.section { padding: 120px 0; }
.section--dark { background: var(--green); color: var(--cream); }
.section--cream { background: var(--cream-2); }
.section__head { text-align: center; margin-bottom: 56px; }
.section__head h2, .about h2, .reservation h2 { font-size: clamp(38px, 5vw, 60px); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__visual { position: relative; height: 520px; }
.tile { position: absolute; border-radius: 2px; }
.tile--1 { inset: 0 30% 18% 0; background: linear-gradient(145deg, #c9a36b, #8a6233); }
.tile--2 { inset: 35% 0 0 40%; background: linear-gradient(145deg, #2f4d3f, #162a20); border: 10px solid var(--cream); }
.about__badge { position: absolute; left: 8%; bottom: 4%; background: var(--cream); padding: 18px 24px; display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .12); }
.about__badge strong { font-family: var(--serif); font-size: 54px; color: var(--gold); line-height: 1; }
.about__badge span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.about__text p { color: var(--muted); margin-top: 20px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 26px; margin-top: 30px; color: var(--green); }

/* Menu */
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; flex-wrap: wrap; }
.tab { background: none; border: 1px solid rgba(246, 240, 230, .2); color: var(--cream); padding: 10px 26px; font-family: var(--serif); font-size: 22px; cursor: pointer; transition: all .3s; }
.tab.active, .tab:hover { background: var(--gold); border-color: var(--gold); }
.menu { display: none; grid-template-columns: 1fr 1fr; gap: 10px 70px; max-width: 980px; margin: 0 auto; }
.menu.active { display: grid; animation: fade .6s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.dish { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px dashed rgba(246, 240, 230, .2); }
.dish h3 { font-size: 26px; }
.dish p { font-size: 14px; color: rgba(246, 240, 230, .65); }
.dish span { font-family: var(--serif); font-size: 24px; color: var(--gold-light); white-space: nowrap; }
.menu-note { text-align: center; margin-top: 50px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-light); }

/* Quote */
.quote { padding: 110px 0; text-align: center; background: var(--cream-2); }
.quote blockquote { font-family: var(--serif); font-size: clamp(30px, 4vw, 50px); font-style: italic; max-width: 900px; margin: 0 auto; color: var(--green); line-height: 1.25; }
.quote p { margin-top: 20px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 20px; color: #fff; font-family: var(--serif); font-size: 22px; }
.g::before { content: ""; position: absolute; inset: 0; background: inherit; transition: transform .8s; }
.g:hover::before { transform: scale(1.08); }
.g span { position: relative; }
.g--a { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, #8a6233, #3b2914); }
.g--b { background: linear-gradient(150deg, #2f4d3f, #162a20); }
.g--c { background: linear-gradient(150deg, #6a2e2a, #2c1312); }
.g--d { background: linear-gradient(150deg, #c9a36b, #8e6a3c); }
.g--e { grid-column: span 2; background: linear-gradient(150deg, #44614f, #1d3329); }
/* Astuce : remplacez chaque dégradé par une photo, ex. .g--a { background: url("../img/salle.jpg") center/cover; } */

/* Reservation */
.reservation { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.reservation p { color: var(--muted); margin-top: 18px; }
.phone { display: inline-block; margin-top: 28px; font-family: var(--serif); font-size: 36px; color: var(--gold); }
.form { background: var(--cream); padding: 44px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .08); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 12px 14px; border: 1px solid var(--cream-2); background: #fff; border-radius: 0; outline: none; transition: border-color .3s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); }
.form__success { color: var(--green) !important; font-weight: 600; text-align: center; }

/* Info */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.info h3 { font-size: 30px; color: var(--gold-light); margin-bottom: 12px; }
.info p { color: rgba(246, 240, 230, .75); }

/* Footer */
.footer { background: #13241c; color: rgba(246, 240, 230, .6); padding: 30px 0; font-size: 13px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .logo { font-size: 26px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--gold-light); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 960px) {
  .about, .reservation { grid-template-columns: 1fr; gap: 50px; }
  .about__visual { height: 400px; }
  .menu { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g--e { grid-column: span 2; }
}
@media (max-width: 760px) {
  .burger { display: flex; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 22px; padding: 30px; background: var(--green); }
  .header.menu-open { background: var(--green); }
  .info { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g--a, .g--e { grid-column: auto; grid-row: auto; }
  .form { padding: 28px; }
  .section { padding: 90px 0; }
}
