:root {
  --green: #1f3a2e;
  --green-dark: #142820;
  --gold: #c9a24a;
  --gold-light: #e2c47c;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --text: #2b2b26;
  --muted: #6f6a5c;
  --line: #e6dccb;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--paper); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
h1, h2, h3, .logo { font-family: 'Playfair Display', Georgia, serif; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; margin-bottom: 16px; color: var(--green); }
.eyebrow { color: var(--gold); font-weight: 600; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--gold); color: var(--green-dark); font-weight: 600; font-size: .95rem; border: 1px solid var(--gold); cursor: pointer; transition: .25s; font-family: inherit; }
.btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: #fff; color: var(--green-dark); }
.btn--small { padding: 8px 20px; font-size: .88rem; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: var(--green-dark); box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.nav__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { color: #fff; font-size: 1.5rem; font-weight: 700; }
.logo em { color: var(--gold); font-style: italic; }
.nav__links { display: flex; align-items: center; gap: 28px; color: rgba(255, 255, 255, .85); font-size: .93rem; }
.nav__links a:not(.btn):hover { color: var(--gold-light); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: rgba(255, 255, 255, .75); padding: 6px 12px; font: 600 .8rem 'Inter', sans-serif; cursor: pointer; }
.lang button.active { background: var(--gold); color: var(--green-dark); }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; color: #fff;
  /* Remplace par une photo : url("images/hero.jpg") center/cover */
  background: radial-gradient(circle at 75% 30%, #3d6a52 0%, transparent 55%), radial-gradient(circle at 20% 80%, #5a4a22 0%, transparent 50%), var(--green-dark); }
.hero { overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 16, .8) 0%, rgba(10, 22, 16, .45) 60%, rgba(10, 22, 16, .2) 100%), linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%); }
/* Grand écran : la vidéo verticale s'affiche dans un cadre à droite du texte */
@media (min-width: 1024px) {
  .hero__video {
    inset: auto; top: calc(50% + 36px); right: max(20px, (100% - 1120px) / 2); transform: translateY(-50%);
    width: auto; height: min(76vh, 680px); aspect-ratio: 9 / 16;
    border-radius: 28px; border: 1px solid rgba(201, 162, 74, .45); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  }
  .hero__overlay { display: none; }
  .hero__content { max-width: 600px; }
}
.hero__content { position: relative; max-width: 720px; padding: 120px 0 80px; margin-left: max(20px, (100% - 1120px) / 2); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.1; margin: 18px 0 20px; }
.hero p { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .85rem; backdrop-filter: blur(6px); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.status.open::before { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }

/* Sections */
.section { padding: 100px 0; }
.section--dark { background: var(--green); color: #fff; }
.section--dark h2 { color: #fff; }
.section--cream { background: var(--cream); }
.section__head { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.section--dark .section__head p:last-child { color: rgba(255, 255, 255, .7); }

/* Photos */
img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about p { color: var(--muted); margin-bottom: 14px; }
.about__img img { height: 480px; box-shadow: 0 20px 50px rgba(31, 58, 46, .18); }
.features { display: grid; gap: 14px; margin-top: 26px; }
.features li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.features b { width: 44px; height: 44px; display: grid; place-items: center; background: var(--cream); border-radius: 50%; font-size: 1.2rem; }

/* Menu */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.tab { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .8); padding: 9px 22px; border-radius: 999px; cursor: pointer; font: 500 .92rem 'Inter', sans-serif; transition: .2s; }
.tab:hover { border-color: var(--gold); color: #fff; }
.tab.active { background: var(--gold); border-color: var(--gold); color: var(--green-dark); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 56px; max-width: 980px; margin-inline: auto; }
.dish { padding: 18px 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); animation: fadeIn .4s ease both; }
.dish__top { display: flex; align-items: baseline; gap: 12px; }
.dish__name { font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.dish__dots { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .3); transform: translateY(-4px); }
.dish__price { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.dish p { color: rgba(255, 255, 255, .65); font-size: .9rem; margin-top: 4px; }
.legend { display: flex; justify-content: center; gap: 24px; margin-top: 36px; font-size: .85rem; color: rgba(255, 255, 255, .6); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery .g-big { grid-row: span 2; }
.gallery img { transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.1rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); border-radius: 0 0 var(--radius) var(--radius); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.review p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.08rem; margin-bottom: 16px; }
.review cite { color: var(--muted); font-style: normal; font-size: .9rem; }

/* Info + booking */
.info { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin: 10px 0 30px; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { color: var(--green); font-weight: 600; }
.contact { display: grid; gap: 10px; }
.contact a:hover { color: var(--gold); }

.form { background: var(--cream); border-radius: 20px; padding: 36px; display: grid; gap: 16px; }
.form h3 { font-size: 1.6rem; color: var(--green); margin-bottom: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row--3 { grid-template-columns: 1.3fr 1fr .8fr; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; color: var(--text); resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form .invalid { border-color: #dc2626; }
.form .btn { justify-self: start; }
.form__msg { font-size: .92rem; min-height: 1.4em; }
.form__msg.ok { color: var(--green); font-weight: 500; }
.form__msg.err { color: #dc2626; }

/* Footer */
.footer { background: var(--green-dark); color: rgba(255, 255, 255, .7); padding: 36px 0; font-size: .88rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.credit a { color: var(--gold-light); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .about, .info { grid-template-columns: 1fr; gap: 40px; }
  .about__img img { height: 320px; }
  .menu-list { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav__links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 18px; padding: 26px; background: var(--green-dark); display: none; }
  .nav__links.open { display: flex; }
  .nav:has(.nav__links.open) { background: var(--green-dark); }
  .section { padding: 70px 0; }
  .row, .row--3 { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-big { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
