/* =========================================================
   MAISON LAZARE — Bistrot de marché, Lyon
   Identité : éditoriale, chaleureuse, artisanale
   Palette  : bordeaux profond · crème · encre · or patiné
   Typo     : Fraunces (serif display) + Manrope (sans)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500;1,9..144,600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bordeaux:   #6B2737;
  --bordeaux-d: #511D2A;
  --bordeaux-l: #8A3A4B;
  --creme:      #F6F1E7;
  --creme-2:    #EFE7D6;
  --papier:     #FBF8F1;
  --encre:      #211C18;
  --encre-2:    #38312B;
  --gris:       #6E655C;
  --gris-l:     #9B9186;
  --or:         #B98B3E;
  --or-l:       #D2A95C;
  --ligne:      #E4DBC8;
  --ligne-2:    #D6CAB2;

  --maxw:    1220px;
  --pad-x:   clamp(22px, 5vw, 60px);
  --t:       240ms cubic-bezier(.4, 0, .15, 1);
  --serif:   'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:    'Manrope', system-ui, -apple-system, sans-serif;

  --sh-sm: 0 2px 10px rgba(33, 28, 24, .06);
  --sh-md: 0 18px 44px rgba(33, 28, 24, .12);
  --sh-lg: 0 40px 80px rgba(33, 28, 24, .18);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--bordeaux); color: var(--creme); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: 2px; cursor: pointer; border: 1px solid transparent;
  transition: var(--t); letter-spacing: .01em; white-space: nowrap;
}
.btn--solid   { background: var(--bordeaux); color: var(--creme); }
.btn--solid:hover   { background: var(--bordeaux-d); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--outline { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn--outline:hover { background: var(--encre); color: var(--creme); }
.btn--ghost   { background: transparent; color: var(--creme); border-color: rgba(246,241,231,.5); }
.btn--ghost:hover   { background: var(--creme); color: var(--bordeaux); border-color: var(--creme); }
.btn--sm { padding: 11px 22px; font-size: .9rem; }
.btn--lg { padding: 17px 38px; font-size: 1.05rem; }

.link-underline {
  font-weight: 600; color: var(--bordeaux); position: relative; display: inline-flex; gap: 8px; align-items: center;
}
.link-underline::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1.5px; background: var(--bordeaux); transform: scaleX(.3); transform-origin: left; transition: var(--t); }
.link-underline:hover::after { transform: scaleX(1); }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--bordeaux-d); color: var(--creme-2);
  font-size: .8rem; letter-spacing: .04em;
}
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar__sep { opacity: .4; }
@media (max-width: 640px) { .topbar__item--hide, .topbar__sep--hide { display: none; } }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,241,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: var(--t);
}
.header.is-scrolled { border-bottom-color: var(--ligne); box-shadow: var(--sh-sm); background: rgba(251,248,241,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 32px; }
.logo { display: block; color: var(--bordeaux); flex-shrink: 0; }
.logo svg { height: 40px; width: auto; }

.nav { display: flex; gap: 34px; }
.nav__link {
  font-weight: 600; font-size: .96rem; color: var(--encre-2); position: relative; padding: 4px 0;
  transition: var(--t);
}
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--bordeaux); transform: scaleX(0); transform-origin: center; transition: var(--t); }
.nav__link:hover { color: var(--bordeaux); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--bordeaux); }

.header__cta { display: flex; align-items: center; gap: 16px; }

.burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; height: 1.6px; width: 100%; background: var(--encre); transition: var(--t); }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { height: 70px; }
  .logo svg { height: 34px; }
}

/* ============ MENU MOBILE ============ */
.mobile-overlay { position: fixed; inset: 0; background: rgba(33,28,24,.5); opacity: 0; visibility: hidden; transition: var(--t); z-index: 90; }
.mobile-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100%; width: min(360px, 84vw);
  background: var(--bordeaux); color: var(--creme); z-index: 100;
  transform: translateX(100%); transition: transform 340ms cubic-bezier(.4,0,.15,1);
  padding: 80px 38px 40px; display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.is-open { transform: translateX(0); box-shadow: var(--sh-lg); }
.mobile-menu__close { position: absolute; top: 24px; right: 26px; background: none; border: none; color: var(--creme); cursor: pointer; }
.mobile-menu__eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.15rem; opacity: .6; margin-bottom: 18px; }
.mobile-menu a { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; padding: 11px 0; border-bottom: 1px solid rgba(246,241,231,.14); transition: var(--t); }
.mobile-menu a:hover { color: var(--or-l); padding-left: 8px; }
.mobile-menu__resa { color: var(--or-l) !important; }
.mobile-menu__phone { margin-top: auto; font-family: var(--sans) !important; font-size: 1.1rem !important; border: none !important; opacity: .8; }

/* ============ SECTIONS GÉNÉRIQUES ============ */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--cream { background: var(--creme); }
.section--bordeaux { background: var(--bordeaux); color: var(--creme); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--or); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--or); }
.section--bordeaux .eyebrow { color: var(--or-l); }
.section--bordeaux .eyebrow::before { background: var(--or-l); }

.section__head { max-width: 620px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.section__lead { font-size: 1.12rem; color: var(--gris); margin-top: 18px; }
.section--bordeaux .section__lead { color: var(--creme-2); }

/* ============ HERO (accueil) ============ */
.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: var(--creme); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,28,24,.28) 0%, rgba(33,28,24,.30) 45%, rgba(33,28,24,.82) 100%); }
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(56px, 8vw, 104px); padding-top: 120px; max-width: 760px; }
.hero__eyebrow { color: var(--or-l); }
.hero__eyebrow::before { background: var(--or-l); }
.hero__title { font-size: clamp(2.7rem, 6.6vw, 5.2rem); line-height: 1.02; font-weight: 500; }
.hero__title em { font-style: italic; color: var(--or-l); }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 540px; margin-top: 24px; color: rgba(246,241,231,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(246,241,231,.2); font-size: .9rem; letter-spacing: .02em; }
.hero__meta b { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: #fff; margin-bottom: 2px; }

/* ============ INTRO SPLIT (accueil/maison) ============ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; box-shadow: var(--sh-md); }
.split__badge {
  position: absolute; bottom: -26px; right: -26px; background: var(--bordeaux); color: var(--creme);
  width: 150px; height: 150px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--serif); font-style: italic; box-shadow: var(--sh-md); padding: 14px;
}
.split__badge b { font-size: 2.2rem; font-style: normal; }
.split__badge span { font-size: .82rem; opacity: .85; line-height: 1.3; }
.split__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 22px; }
.split__text p { color: var(--gris); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--bordeaux); margin-top: 26px; }
.signature small { display: block; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-l); margin-top: 4px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 3/2; }
  .split__badge { width: 116px; height: 116px; right: 12px; bottom: -22px; }
  .split__badge b { font-size: 1.7rem; }
}

/* ============ PLATS SIGNATURES (cartes) ============ */
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dish { background: var(--papier); border: 1px solid var(--ligne); border-radius: 3px; overflow: hidden; transition: var(--t); }
.section--cream .dish { background: #fff; }
.dish:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--ligne-2); }
.dish__media { aspect-ratio: 1/1; overflow: hidden; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.4,0,.15,1); }
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__body { padding: 26px 26px 30px; }
.dish__cat { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or); font-weight: 700; }
.dish__name { font-size: 1.3rem; margin: 10px 0 8px; }
.dish__desc { font-size: .94rem; color: var(--gris); margin: 0; }
@media (max-width: 860px) { .dishes { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ============ CARTE — formules & menu ============ */
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: clamp(60px, 8vw, 96px); }
.formule { border: 1px solid var(--ligne-2); border-radius: 3px; padding: 36px 30px; text-align: center; background: var(--papier); transition: var(--t); }
.formule--feature { background: var(--bordeaux); color: var(--creme); border-color: var(--bordeaux); transform: scale(1.03); }
.formule:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.formule--feature:hover { transform: scale(1.03) translateY(-4px); }
.formule__name { font-size: 1.5rem; }
.formule__price { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--bordeaux); margin: 12px 0 6px; }
.formule--feature .formule__price { color: var(--or-l); }
.formule__detail { font-size: .98rem; color: var(--gris); margin-bottom: 10px; }
.formule--feature .formule__detail { color: var(--creme-2); }
.formule__note { font-size: .8rem; letter-spacing: .04em; color: var(--gris-l); }
.formule--feature .formule__note { color: rgba(246,241,231,.7); }
@media (max-width: 860px) { .formules { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } .formule--feature { transform: none; } .formule--feature:hover { transform: translateY(-4px); } }

.menu-block { max-width: 800px; margin: 0 auto; }
.menu-section { margin-bottom: 56px; }
.menu-section__title { font-size: 1.8rem; font-style: italic; color: var(--bordeaux); padding-bottom: 16px; margin-bottom: 26px; border-bottom: 2px solid var(--ligne); display: flex; align-items: baseline; gap: 14px; }
.menu-section__title::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }
.plat { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 16px 0; border-bottom: 1px dotted var(--ligne-2); }
.plat:last-child { border-bottom: none; }
.plat__name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.plat__price { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--bordeaux); white-space: nowrap; }
.plat__desc { grid-column: 1 / -1; font-size: .94rem; color: var(--gris); margin: 0; max-width: 90%; }

.cave { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 30px; }
.cave__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cave__tags span { font-size: .82rem; letter-spacing: .08em; padding: 7px 16px; border: 1px solid rgba(246,241,231,.4); border-radius: 100px; }
@media (max-width: 760px) { .cave { grid-template-columns: 1fr; gap: 24px; } }

/* ============ GALERIE ============ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.4,0,.15,1); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .gallery .g-wide { grid-column: span 2; } .gallery .g-tall { grid-row: span 1; } }

/* ============ BANDEAU RÉSERVATION ============ */
.cta-band { text-align: center; }
.cta-band__title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; }
.cta-band__title em { font-style: italic; color: var(--or-l); }
.cta-band__text { max-width: 540px; margin: 18px auto 34px; color: var(--creme-2); font-size: 1.1rem; }

/* ============ VALEURS (maison) ============ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.value { text-align: center; }
.value__num { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--or); display: block; margin-bottom: 10px; }
.value h3 { font-size: 1.35rem; margin-bottom: 10px; }
.value p { color: var(--gris); font-size: .97rem; margin: 0; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; gap: 30px; max-width: 420px; margin: 0 auto; } }

/* ============ FORMULAIRE (résa / contact) ============ */
.form-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .form-layout { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--ligne); border-radius: 4px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--sh-sm); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-2); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--encre);
  padding: 13px 15px; border: 1px solid var(--ligne-2); border-radius: 3px; background: var(--papier); transition: var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bordeaux); background: #fff; box-shadow: 0 0 0 3px rgba(107,39,55,.1); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--gris-l); margin-top: 6px; }

.aside-info { display: flex; flex-direction: column; gap: 26px; }
.info-block h3 { font-size: 1.3rem; font-style: italic; color: var(--bordeaux); margin-bottom: 14px; }
.info-block ul li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ligne); font-size: .95rem; }
.info-block ul li .is-closed { color: var(--gris-l); }
.info-block address { font-style: normal; color: var(--gris); line-height: 1.9; }
.info-block a { color: var(--bordeaux); font-weight: 600; }

/* ============ CONTACT ============ */
.map-frame { width: 100%; aspect-ratio: 16/10; border: 1px solid var(--ligne); border-radius: 4px; overflow: hidden; background: var(--creme-2); position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) sepia(.1); }

/* ============ PAGE HEADER (sous-pages) ============ */
.page-hero { position: relative; color: var(--creme); padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 7vw, 86px); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,28,24,.5), rgba(33,28,24,.75)); }
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero__title { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 500; }
.page-hero__title em { font-style: italic; color: var(--or-l); }
.page-hero__text { font-size: 1.12rem; color: rgba(246,241,231,.9); margin-top: 16px; max-width: 560px; }

/* ============ FOOTER ============ */
.footer { background: var(--encre); color: var(--creme-2); padding: clamp(60px, 8vw, 96px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(246,241,231,.12); }
.logo--footer { color: var(--creme); margin-bottom: 22px; }
.logo--footer svg { height: 42px; }
.footer__bio { font-size: .95rem; color: var(--gris-l); max-width: 320px; }
.footer__insta { font-weight: 600; color: var(--or-l); }
.footer__col h4 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--creme); margin-bottom: 18px; }
.footer__col a { display: block; padding: 6px 0; color: var(--gris-l); font-size: .95rem; transition: var(--t); }
.footer__col a:hover { color: var(--or-l); }
.footer__hours li { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; font-size: .88rem; color: var(--gris-l); }
.footer__hours .is-closed { opacity: .55; }
.footer__address { font-style: normal; color: var(--gris-l); font-size: .95rem; line-height: 1.7; }
.footer__address a:hover { color: var(--or-l); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: .82rem; color: var(--gris); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--creme-2); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============ FLASH ============ */
.flash {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; align-items: center; gap: 11px; background: var(--bordeaux); color: var(--creme);
  padding: 15px 26px; border-radius: 3px; box-shadow: var(--sh-lg); font-weight: 600; font-size: .95rem;
  transition: opacity 500ms ease;
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(.4,0,.15,1), transform 700ms cubic-bezier(.4,0,.15,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* ============ UTILS ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.4; text-align: center; max-width: 800px; margin: 0 auto; color: var(--encre); }
.divider-quote span { color: var(--bordeaux); }
.attrib { text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-l); margin-top: 26px; }
