/* =====================================================================
   Lili & Oli — « home 2 » : structure et design calqués sur villardnyc.com
   ===================================================================== */
:root {
  --ink: #333333;          /* texte (liliandoli.ma) */
  --green: #4E553A;        /* couleur primaire liliandoli.ma */
  --green-dark: #3d4330;
  --cream: #EFECE8;        /* couleur secondaire liliandoli.ma */
  --gold: #F7BF75;         /* accent liliandoli.ma */
  --muted: #7A7A7A;
  --taupe: var(--green);        /* boutons pleins */
  --taupe-dark: var(--green);   /* titres horaires */
  --line: #e6e2dd;
  --head: "Playfair Display", Georgia, serif;
  --body: "Montserrat", system-ui, sans-serif;
  --container: 1140px;
  --header-h: 90px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.5; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 400; text-transform: uppercase; }
p { margin: 0; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------------------------------------------------------------- boutons */
.btn {
  display: inline-block; background: var(--taupe); color: #fff;
  font-family: var(--head); font-size: 20px; text-transform: uppercase; letter-spacing: .02em;
  padding: 14px 24px; min-width: 190px; text-align: center; line-height: 1;
  transition: background .3s var(--ease);
}
.btn { transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover, .btn:focus { color: #fff; background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(78,85,58,.25); }

/* ---------------------------------------------------------------- header */
.vh {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.vh.is-solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.vh__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 20px; padding: 18px 0; transition: padding .35s var(--ease); }
.vh.is-solid .vh__row { padding: 10px 0; }
.vh a { font-family: var(--head); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: inherit; }
.vh__nav { display: flex; align-items: center; justify-self: start; }
.vh__nav a { position: relative; padding: 4px 14px; }
.vh__nav a:first-child { padding-left: 0; }
.vh__nav a + a::before { content: "|"; position: absolute; left: -3px; top: 3px; opacity: .55; font-family: var(--body); }
.vh__nav a:hover { opacity: .75; }
.vh__logo { justify-self: center; display: block; line-height: 0; }
.vh__logo img { height: 52px; width: auto; transition: height .35s var(--ease); }
.vh.is-solid .vh__logo img { height: 42px; }
.vh__logo-dark { display: none; }
.vh.is-solid .vh__logo-light { display: none; }
.vh.is-solid .vh__logo-dark { display: block; }
.vh__right { justify-self: end; display: flex; align-items: center; gap: 26px; }
.vh__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body) !important; font-size: 15px !important; font-weight: 500; letter-spacing: .02em !important; }
.vh__phone svg { width: 15px; height: 15px; }
.vh .vh__cta { display: inline-block; padding: 11px 24px; background: var(--green); color: #fff; border: 1px solid var(--green); letter-spacing: 2px; transition: background .3s, color .3s, border-color .3s; }
.vh .vh__cta:hover, .vh .vh__cta:focus { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }
.vh__burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: inherit; }
.vh__burger svg { width: 26px; height: 26px; }

/* menu mobile */
.mnav {
  position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px; text-align: center;
  transform: translateY(-100%); transition: transform .45s var(--ease);
}
.mnav.is-open { transform: none; }
.mnav a { font-family: var(--head); font-size: 22px; letter-spacing: .12em; text-transform: uppercase; }
.mnav__close { position: absolute; top: 20px; right: 20px; background: none; border: 0; cursor: pointer; padding: 6px; }
.mnav__close svg { width: 28px; height: 28px; }
.vh__burger:hover, .vh__burger:focus { background: transparent; color: inherit; }
.mnav__close:hover, .mnav__close:focus { background: transparent; color: var(--ink); }
.mnav__meta { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-top: 10px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; margin-top: 0; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__in { opacity: 0; transform: translateY(26px); animation: heroIn 1.1s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__scroll.hero__in { transform: translate(-50%, 20px); }
@keyframes heroInScroll { to { opacity: 1; transform: translateX(-50%); } }
.hero__scroll.hero__in { animation-name: heroInScroll; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.38) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.5) 100%); }
.hero__text { position: absolute; left: 0; right: 0; top: 58%; transform: translateY(-50%); z-index: 2; text-align: center; color: #fff; padding: 0 24px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); width: 24px; height: 44px; color: #fff; }
.hero__scroll::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 26px; background: currentColor; animation: hs 2s infinite; }
.hero__scroll span { position: absolute; left: 50%; bottom: 6px; width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateX(-50%) rotate(45deg); }
@keyframes hs { 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; } }
.hero__text .kicker { display: block; color: #fff; font-family: var(--head); font-size: clamp(16px, 2vw, 24px); letter-spacing: 6px; text-transform: uppercase; margin-bottom: 8px; }
.hero__text h1 { font-size: clamp(32px, 5.6vw, 58px); line-height: 1.12; letter-spacing: 10px; font-weight: 500; text-shadow: 0 2px 18px rgba(0,0,0,.25); }

/* ---------------------------------------------------------------- intro */
.intro { text-align: center; padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.intro h2, .h-big { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.2; letter-spacing: 6px; color: var(--green); }
.intro h2 span, .location h2 span { display: block; }
.intro p { max-width: 900px; margin: 34px auto 0; line-height: 34px; }

/* ---------------------------------------------------------------- horaires */
.hours { background: var(--cream); text-align: center; padding: clamp(30px, 4vw, 50px) 0 clamp(40px, 5vw, 60px); }
.hours h2 { font-size: 30px; letter-spacing: 6px; margin-bottom: 26px; color: var(--green); }
.hours__cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 70px; }
.hours__cols h3 { font-family: var(--body); font-size: 20px; letter-spacing: 2px; color: var(--taupe-dark); text-transform: uppercase; }
.hours__cols p { font-size: 17px; margin-top: 4px; }

/* ---------------------------------------------------------------- menu */
.menu-block { position: relative; text-align: center; padding: 20px 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.menu-block__btn { position: relative; z-index: 3; }
.menu-block__title { position: relative; z-index: 3; max-width: 800px; margin: 0 auto 28px; color: var(--green); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35; letter-spacing: 3px; }
.menu-block__wm {
  position: absolute; left: 50%; top: 56px; transform: translateX(-50%); z-index: 1;
  font-family: var(--head); font-size: clamp(90px, 19vw, 230px); line-height: 1; letter-spacing: .1em;
  color: var(--cream); text-transform: uppercase; user-select: none; pointer-events: none; white-space: nowrap;
}
.menu-block__dish { position: relative; z-index: 2; width: min(560px, 80vw); aspect-ratio: 1; margin: 48px auto 0; border-radius: 50%; overflow: hidden; background: var(--cream); box-shadow: 0 30px 60px rgba(28,30,37,.18); }
.menu-block__dish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.menu-block__dish img.is-active { opacity: 1; }
.menu-block__caption { position: relative; z-index: 3; margin-top: 22px; font-family: var(--head); font-size: 22px; letter-spacing: 4px; text-transform: uppercase; color: var(--green); transition: opacity .5s; }
.menu-block__caption.is-fading { opacity: 0; }

/* ---------------------------------------------------------------- localisation (carte Google estompée en fond, texte à gauche) */
.location { position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden; background: var(--cream); }
.location__map { position: absolute; inset: 0; z-index: 0; }
.location__map iframe { width: calc(100% + 640px); height: calc(100% + 90px); margin-top: -30px; border: 0; display: block; filter: grayscale(1) contrast(.9) brightness(1.06); opacity: .55; pointer-events: none; }
.location::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.2) 65%, rgba(255,255,255,0) 100%); }
.location .container { position: relative; z-index: 2; padding: 80px 0; }
.location__body { max-width: 520px; }
.location h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.2; letter-spacing: 6px; color: var(--green); }
.location h2 span { font-size: .5em; letter-spacing: 6px; display: block; margin-bottom: 6px; }
.location p { margin-top: 26px; line-height: 1.7; }
.location__info { margin-top: 26px; display: grid; gap: 8px; font-size: 15px; }
.location__info strong { font-weight: 600; }
.location__info a:hover { color: var(--green); }
.location .btn { margin-top: 30px; font-size: 18px; }

/* ---------------------------------------------------------------- galerie (hauteur fixe, chaque photo garde ses proportions, image centrée agrandie) */
.gallery-block { padding: 68px 0; background: #fff; text-align: center; }
.gb { --gh: clamp(300px, 36vw, 520px); --gw: clamp(234px, 27vw, 400px); position: relative; width: 100%; }
.gb__list { overflow: hidden; padding: 0; }
.gb__track { display: flex; align-items: center; gap: 18px; will-change: transform; }
.gb__slide { flex: 0 0 auto; width: var(--gw); height: var(--gh); }
.gb__slide figure { margin: 0; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; }
.gb__slide img { width: 100%; height: 100%; object-fit: cover; display: block; backface-visibility: hidden; user-select: none; transition: transform .7s var(--ease); }
.gb:hover .gb__slide img { }
.gb__slide:hover img { transform: scale(1.05); }
.gb__arrow {
  position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 50%;
  transform: translateY(-50%); background: rgba(255,255,255,.9); border: 1px solid var(--line); cursor: pointer; color: var(--ink);
  display: grid; place-items: center;
}
.gb__arrow { transition: background .3s, transform .3s, box-shadow .3s; }
.gb__arrow:hover, .gb__arrow:focus { color: var(--green); background: #fff; border-color: var(--green); transform: translateY(-50%) scale(1.08); box-shadow: 0 8px 20px rgba(28,30,37,.15); }
.gb__arrow svg { width: 20px; height: 20px; display: block; }
.gb__arrow--prev { left: 24px; }
.gb__arrow--next { right: 24px; }

@media (max-width: 900px) {
  .gallery-block { padding: 48px 0; }
  .gb { --gh: 62vw; --gw: 48vw; }
  .gb__arrow { width: 32px; height: 32px; }
  .gb__arrow svg { width: 15px; height: 15px; }
  .gb__arrow--prev { left: 6px; } .gb__arrow--next { right: 6px; }
}

/* ---------------------------------------------------------------- footer */
.vf {
  color: #fff; background: var(--green);
  font-size: 14px; line-height: 1.5;
}
.vf__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 44px 0 36px; }
.vf__place strong { display: block; margin-bottom: 4px; }
.vf__place small { display: block; font-family: var(--head); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; color: var(--gold); }
.vf__place a:hover { text-decoration: underline; }
.vf__logo img { height: 92px; width: auto; }
.vf__social { justify-self: end; display: flex; gap: 22px; }
.vf__social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); transition: background .3s, border-color .3s, transform .3s; }
.vf__social a:hover { transform: translateY(-3px); }
.vf__social a:hover, .vf__social a:focus { color: #fff; background: var(--gold); border-color: var(--gold); }
.vf__social svg { width: 15px; height: 15px; fill: #fff; }
.vf__bar { border-top: 1px solid rgba(255,255,255,.16); padding: 16px 0 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 30px; font-size: 12px; }
.vf__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.vf__links a:hover { text-decoration: underline; }
.vf a:hover, .vf a:focus { color: var(--gold); }
.vf__social a:hover, .vf__social a:focus { color: #fff; }

/* ---------------------------------------------------------------- reveal */
.fade { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade, .hero__in { opacity: 1; transform: none; transition: none; animation: none; } .hero__media img { animation: none; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .vh__row { grid-template-columns: auto 1fr auto; padding: 12px 0; }
  .vh__nav, .vh__right { display: none; }
  .vh__phone--mobile { display: inline-flex; grid-column: 1; }
  .vh__logo { grid-column: 2; }
  .vh__logo img { height: 48px; }
  .vh.is-solid .vh__logo img { height: 42px; }
  .vh__burger { display: inline-flex; grid-column: 3; }
  .hero { height: 88vh; height: 88svh; min-height: 520px; }
  .hero__text { top: 55%; }
  .hero__text h1 { letter-spacing: 6px; }
  .hours__cols { gap: 20px 40px; }
  .location { min-height: 0; }
  .location__map iframe { width: 100%; height: calc(100% + 540px); margin-top: 0; opacity: .75; }
  .location::before { background: linear-gradient(to bottom, rgba(255,255,255,.85) 0%, rgba(255,255,255,.8) 65%, rgba(255,255,255,.1) 85%, rgba(255,255,255,0) 100%); }
  .location .container { padding: 56px 0 180px; }
  .location__body { max-width: none; text-align: center; }
  .location__info { justify-items: center; }
  .intro, .hours, .menu-block, .gallery-block, .vf__place, .mnav { text-align: center; }
  .vf__main { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .vf__social { justify-self: center; }
  .vf__bar { justify-content: center; text-align: center; }
}
@media (min-width: 901px) {
  .vh__row { width: min(1140px, 100% - 96px); column-gap: 16px; }
  .vh__logo img { height: 64px; }
  .vh.is-solid .vh__logo img { height: 54px; }
  .vh a { font-size: clamp(14px, 1.3vw, 17px); white-space: nowrap; }
  .vh__nav a { padding-inline: 10px; }
  .vh__right { gap: clamp(14px, 2vw, 28px); }
  .vh__phone { font-size: clamp(16px, 1.4vw, 19px) !important; }
  .vh__phone svg { width: 18px; height: 18px; }
  .vh .vh__cta { padding: 14px clamp(18px, 2vw, 30px); }
  .vh__phone--mobile { display: none; }
}
@media (max-width: 560px) {
  .hero__text .kicker { letter-spacing: 4px; }
  .hero__text h1 { font-size: 30px; letter-spacing: 4px; }
  .intro h2, .location h2, .h-big { letter-spacing: 3px; }
  .gallery__item { width: 80vw; }
}

/* ---------------------------------------------------------------- réseaux sociaux (Instagram) */
.insta { padding: clamp(60px, 8vw, 112px) 0; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); text-align: center; }
.insta__kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: 4px; font-size: 13px; color: var(--gold); margin-bottom: 26px; }

/* carte profil */
.insta__head { display: flex; align-items: center; justify-content: center; gap: 24px; max-width: 640px; margin: 0 auto 44px; text-align: left; }
.insta__ring { flex: none; width: 98px; height: 98px; border-radius: 50%; padding: 3px; background: conic-gradient(from 215deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.insta__avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff; border: 4px solid #fff; padding: 12px; }
.insta__meta { min-width: 0; }
.insta__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.insta__handle { font-family: var(--body); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); text-transform: none; letter-spacing: .2px; }
.insta__follow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .4px; color: #fff; padding: 9px 20px; border-radius: 999px; background: linear-gradient(90deg, #fa7e1e, #d62976, #962fbf); box-shadow: 0 8px 20px rgba(214,41,118,.28); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.insta__follow:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(214,41,118,.4); }
.insta__bio { color: var(--ink); font-size: 15px; line-height: 1.6; }
.insta__bio strong { font-weight: 600; }

/* grille */
.insta__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1120px; margin: 0 auto 42px; }
.insta__item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 30px rgba(28,30,37,.10); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.insta__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(214,41,118,.05) 0%, rgba(74,45,60,0) 45%, rgba(40,28,36,.62) 100%); opacity: 0; transition: opacity .45s; }
.insta__item:hover img { transform: scale(1.1); }
.insta__item:hover::after { opacity: 1; }
.insta__ig { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); color: #fff; }
.insta__item:hover .insta__ig { opacity: 1; transform: none; }
.insta__ig svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.insta__ig em { font-style: normal; font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.4); }

/* bouton */
.insta__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; letter-spacing: .5px; font-size: 14px; color: #fff; padding: 15px 32px; border-radius: 999px; background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf); box-shadow: 0 12px 28px rgba(214,41,118,.3); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.insta__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(214,41,118,.42); }
.insta__cta svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .insta__head { flex-direction: column; text-align: center; gap: 16px; margin-bottom: 34px; }
  .insta__row { justify-content: center; }
  .insta__ring { width: 86px; height: 86px; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .insta__item { border-radius: 12px; }
}

/* conteneur du widget Elfsight (flux Instagram en direct) */
.insta__feed { max-width: 1120px; margin: 0 auto 36px; min-height: 320px; }
.insta__heading { font-family: var(--head); text-transform: uppercase; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: 4px; color: var(--green); margin: 0 0 30px; }
