/* ============================================================
   LE MÉDITERRANÉE — Niveau 2 : Moderne
   NOUVELLE PALETTE : Blanc · Vert sauge · Ambre · Terre cuite
   (remplace l'ancien thème sombre trop proche du N3)
   ============================================================ */

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

:root {
  --white:      #ffffff;
  --creme:      #faf9f6;
  --sage-light: #eef1ec;
  --sage:       #4a6741;
  --sage-dark:  #2d4128;
  --amber:      #c8913a;
  --amber-dim:  #a07028;
  --terracotta: #b85a3a;
  --noir:       #1a1f17;
  --gris:       #6b7065;
  --gris-light: #a8ac9e;
  --sable:      #dfdbd0;

  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'Inter', 'Helvetica Neue', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 10px;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  background: var(--creme);
  color: var(--noir);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ========================
   BKL Badge
======================== */
.bkl-nav {
  background: var(--sage-dark);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bkl-nav strong { color: #b8d4a8; }
.bkl-nav a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; }
.bkl-nav a:hover { color: #b8d4a8; }

/* ========================
   HEADER
======================== */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250,249,246,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sable);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--noir);
  text-decoration: none;
}
.logo em { font-style: italic; color: var(--sage); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--sage); }
.nav-cta {
  background: var(--sage);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  transition: background 0.3s, transform 0.3s !important;
}
.nav-cta:hover { background: var(--sage-dark); transform: translateY(-1px); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--noir);
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1.5rem;
  border-bottom: 1px solid var(--sable);
  gap: 1rem;
  position: sticky;
  top: 72px;
  z-index: 850;
}
.mobile-nav.open { display: flex; }
.mob-link {
  font-size: 0.85rem;
  color: var(--noir);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sable);
  transition: color 0.3s;
}
.mob-link:hover { color: var(--sage); }

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sage-dark);
}
.hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.45;
  transition: transform 8s ease;
}
.hero:hover .hero-img-bg { transform: scale(1.04); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29,42,25,0.85) 0%,
    rgba(29,42,25,0.55) 55%,
    rgba(29,42,25,0.3) 100%
  );
  z-index: 1;
}
.hero-svg-deco {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 500px;
  opacity: 0.5;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  width: 100%;
}
.hero-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #b8d4a8;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-tagline::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: #b8d4a8;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.8rem;
  max-width: 680px;
}
.hero-title em { font-style: italic; color: #b8d4a8; }
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 460px;
  line-height: 1.85;
  margin-bottom: 2.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Badges hero */
.hero-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-badge-item {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(29,42,25,0.75);
  backdrop-filter: blur(8px);
}
.hero-badge-item:last-child { border-right: none; }
.hero-badge-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 400;
  color: #b8d4a8;
  line-height: 1;
}
.hero-badge-item span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74,103,65,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 2.2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover { border-color: #b8d4a8; color: #b8d4a8; }

/* ========================
   CONTAINER + LABELS
======================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--noir);
  margin-bottom: 2.5rem;
}
.section-title em { font-style: italic; color: var(--sage); }

/* ========================
   ABOUT
======================== */
.about {
  background: var(--white);
  padding: 7rem 0;
  border-top: 1px solid var(--sable);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--noir);
  margin-bottom: 1.5rem;
}
.about-text h2 em { font-style: italic; color: var(--sage); }
.about-text p {
  font-size: 0.92rem;
  color: var(--gris);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.about-badges {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sable);
  flex-wrap: wrap;
}
.about-badge strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--sage);
  font-weight: 400;
  line-height: 1;
}
.about-badge span {
  font-size: 0.68rem;
  color: var(--gris-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* PHOTOS ABOUT */
.about-visual { position: relative; }
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
}
.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.about-photos img:first-child {
  grid-row: span 2;
}
.about-tag-float {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--sage);
  color: var(--white);
  font-size: 0.72rem;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  z-index: 2;
  animation: tagFloat 3s ease-in-out infinite;
}
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ========================
   MENU SECTION
======================== */
.menu-section {
  background: var(--sage-light);
  padding: 7rem 0;
  border-top: 1px solid rgba(74,103,65,0.12);
}
.menu-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid rgba(74,103,65,0.2);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  background: var(--white);
}
.menu-tab {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--gris);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.menu-tab.active { background: var(--sage); color: var(--white); }
.menu-tab:hover:not(.active) { background: rgba(74,103,65,0.1); color: var(--sage); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(74,103,65,0.1);
  border: 1px solid rgba(74,103,65,0.15);
  border-radius: var(--radius);
  overflow: hidden;
}
.menu-grid.hidden { display: none; }
.menu-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.8rem;
  background: var(--white);
  transition: background 0.3s;
}
.menu-card:hover { background: #f5f8f2; }
.menu-card-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.menu-card-info { flex: 1; }
.menu-card-info h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 0.3rem;
}
.menu-card-info p { font-size: 0.8rem; color: var(--gris-light); line-height: 1.5; }
.menu-price {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--sage);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========================
   PHOTO STRIP
======================== */
.photo-strip {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--sable);
  overflow: hidden;
}
.photo-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 280px;
}
.photo-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: brightness(0.92);
}
.photo-strip-img:hover { transform: scale(1.05); filter: brightness(1); }

/* ========================
   CONTACT / MAP
======================== */
.contact {
  background: var(--sage-dark);
  padding: 7rem 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: stretch;
}
.contact-info .section-label { color: #b8d4a8; }
.contact-info h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2.5rem;
}
.contact-info h2 em { font-style: italic; color: #b8d4a8; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-row strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8d4a8;
  margin-bottom: 0.3rem;
}
.contact-row p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }
.tel-link { color: var(--white); text-decoration: none; font-size: 1.1rem; font-weight: 400; }
.tel-link:hover { color: #b8d4a8; }
.btn-tel { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-map iframe { display: block; height: 100%; min-height: 380px; filter: grayscale(20%) brightness(0.85) saturate(0.8); }

/* ========================
   FOOTER
======================== */
.footer {
  background: var(--sage-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--white);
}
.footer-logo em { font-style: italic; color: #b8d4a8; }
.footer-copy, .footer-credit { font-size: 0.7rem; color: rgba(255,255,255,0.25); }
.footer-credit a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.3s; }
.footer-credit a:hover { color: #b8d4a8; }

/* ========================
   ANIMATIONS
======================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { --delay: 0.15s; }
.reveal.delay-2 { --delay: 0.3s; }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-photos { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-map { min-height: 300px; }
  .photo-strip-inner { grid-template-columns: repeat(2, 1fr); height: 360px; }
  .hero-badges { position: static; flex-wrap: wrap; }
  .hero-badge-item { min-width: 50%; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero-content { padding: 6rem 1.5rem 5rem; }
  .hero-svg-deco { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .about, .menu-section, .contact { padding: 5rem 0; }
  .header-inner { padding: 0.85rem 1.5rem; }
  .photo-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .menu-tabs { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .photo-strip-inner { grid-template-columns: 1fr 1fr; height: 240px; }
  .hero-badges { display: none; }
}

::selection { background: rgba(74,103,65,0.2); color: var(--noir); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--creme); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 2px; }
