/* =========================================================
   MELYZA TACOS — Feuille de style
   Palette : noir charbon / orange braise / crème
   ========================================================= */

:root {
  --noir: #12100e;
  --noir-2: #1c1917;
  --noir-3: #262220;
  --creme: #f7f1e8;
  --creme-2: #ffffff;
  --orange: #ff6b1a;
  --orange-2: #ff8f3f;
  --rouge: #d92626;
  --or: #f2b705;
  --gris: #a29d97;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px rgba(0, 0, 0, .25);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-title: "Georgia", "Times New Roman", serif;
  --max: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--creme);
  color: var(--noir);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--dark { background: var(--noir); color: var(--creme); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}

h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.2rem; }

/* ---------- Placeholders photo (à remplacer par de vraies images) ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255, 107, 26, .06) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--noir-2), var(--noir-3));
  border: 1px dashed rgba(255, 107, 26, .35);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
  text-align: center;
  padding: 0 16px;
}
.ph--tall { min-height: 460px; }
.ph--map { min-height: 340px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--rouge));
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 107, 26, .35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255, 107, 26, .45); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--noir); }
.btn--sm { padding: 10px 20px; font-size: .85rem; background: var(--orange); color: #fff; }
.btn--sm:hover { background: var(--rouge); }
/* Bouton "Installer l'app" (visible seulement si l'installation est possible) */
.btn--install {
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
}
.btn--install:hover { background: var(--orange); color: #fff; }

/* =========================================================
   INTRO / ÉCRAN D'OUVERTURE
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  /* même bardage que la bannière */
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, .035) 0px,
      rgba(255, 255, 255, .015) 1px,
      rgba(0, 0, 0, .28) 2px,
      rgba(0, 0, 0, .10) 4px,
      transparent 5px,
      transparent 86px
    ),
    radial-gradient(ellipse 60% 40% at 50% 42%, rgba(245, 166, 35, .22), transparent 65%),
    linear-gradient(170deg, #3a4149 0%, #2f353c 35%, #262b31 70%, #1c2025 100%);
  transition: opacity .7s ease, visibility .7s;
}
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__inner { text-align: center; padding: 24px; }

.intro__logo {
  width: clamp(150px, 42vw, 220px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  animation:
    introLogo 1s var(--ease) both,
    introFlotte 3s 1s ease-in-out infinite;
}
.intro__slogan {
  margin-top: 20px;
  font-family: 'Poppins', var(--font);
  font-weight: 300;
  letter-spacing: .26em;
  font-size: clamp(.8rem, 2vw, 1rem);
  color: rgba(255, 255, 255, .8);
  text-transform: lowercase;
  animation: introFade 1s .5s both;
}
.intro__load {
  display: block;
  width: 120px;
  height: 3px;
  margin: 28px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
  animation: introFade .6s .7s both;
}
.intro__load i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--or));
  animation: introBarre 1.6s .8s ease-in-out infinite;
}

@keyframes introLogo {
  from { opacity: 0; transform: scale(.6) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes introFlotte {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes introFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes introBarre {
  0%   { transform: translateX(-120%); }
  50%  { transform: translateX(120%); }
  100% { transform: translateX(320%); }
}
@media (prefers-reduced-motion: reduce) {
  .intro__logo, .intro__slogan, .intro__load, .intro__load i { animation: none; }
}

/* Guide d'installation iPhone */
.guide {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 5, 4, .85);
  backdrop-filter: blur(5px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn .25s ease;
}
.guide[hidden] { display: none; }
.guide__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, #24201d, #17140f);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  animation: fadeUp .4s var(--ease) both;
}
.guide__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff; font-size: .9rem; cursor: pointer;
  transition: background .2s, transform .2s;
}
.guide__close:hover { background: var(--orange); transform: rotate(90deg); }
.guide__logo { width: 68px; height: 68px; border-radius: 18px; margin: 0 auto 14px; box-shadow: var(--shadow); }
.guide__card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.guide__intro { color: var(--gris); font-size: .9rem; margin-bottom: 20px; }
.guide__etapes { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.guide__etapes li {
  display: flex; align-items: center; gap: 12px;
  color: var(--creme); font-size: .95rem; line-height: 1.4;
}
.guide__etapes li span:last-child { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.guide__etapes svg { vertical-align: middle; flex: 0 0 auto; }
.guide__num {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--rouge));
  color: #fff; font-weight: 700; font-size: .95rem;
}
.guide__note {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--gris); font-size: .82rem;
}

/* Bouton WhatsApp (vert de la marque WhatsApp) */
.btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4b);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
}
.btn--whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37, 211, 102, .45); }
.btn--whatsapp svg { flex: 0 0 auto; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
.nav.is-scrolled {
  background: rgba(18, 16, 14, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  padding: 10px 0;
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
/* Logo rond du restaurant : rotation continue */
.nav__logo-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  animation: tourne 14s linear infinite;
}
.nav__logo:hover .nav__logo-mark { animation-duration: 4s; }

@keyframes tourne {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Logo de la barre de navigation, dans le même esprit que l'enseigne */
.nav__logo-text { display: flex; align-items: baseline; gap: 6px; }
.nav__logo-text .script {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #f5a623;
}
.nav__logo-text .sans {
  font-family: 'Poppins', var(--font);
  font-weight: 300;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
}

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: #fff; font-size: .95rem; font-weight: 600; position: relative; }
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--orange);
  transition: width .3s var(--ease);
}
.nav__links a:not(.btn):hover::after { width: 100%; }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span {
  display: block; width: 26px; height: 2px; background: #fff;
  margin: 5px 0; transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO / BANNIÈRE
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
/* Fond repris de la façade : bardage anthracite en panneaux horizontaux */
.hero__bg {
  position: absolute; inset: 0;
  background:
    /* joints entre les panneaux */
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, .035) 0px,
      rgba(255, 255, 255, .015) 1px,
      rgba(0, 0, 0, .28) 2px,
      rgba(0, 0, 0, .10) 4px,
      transparent 5px,
      transparent 86px
    ),
    /* légère texture métal brossé */
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .012) 0px,
      transparent 2px,
      transparent 6px
    ),
    /* reflet chaud de l'éclairage de l'enseigne */
    radial-gradient(ellipse 70% 45% at 50% 22%, rgba(245, 166, 35, .16), transparent 65%),
    /* teinte des panneaux : gris ardoise froid */
    linear-gradient(170deg, #3a4149 0%, #2f353c 35%, #262b31 70%, #1c2025 100%);
  animation: heroZoom 26s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }

/* Assombrissement des bords, comme l'ombre du auvent sur la façade */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 30%, rgba(12, 14, 17, .55) 100%),
    linear-gradient(180deg, rgba(12, 14, 17, .55), rgba(12, 14, 17, .25) 45%, rgba(18, 16, 14, .92));
}

.hero__content { position: relative; z-index: 2; padding: 120px 24px 100px; max-width: 820px; }

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--or);
  margin-bottom: 18px;
  animation: fadeUp .9s var(--ease) both;
}
/* Titre repris de l'enseigne : "Melyza" manuscrit doré + "TACOS" en capitales fines */
.hero__title {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .04em;
  margin-bottom: 4px;
  animation: fadeUp .9s .1s var(--ease) both;
}
.hero__title .script {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 1.05;
  padding-right: .08em;
  color: #f5a623;
  filter: drop-shadow(0 6px 18px rgba(245, 166, 35, .28));
}
/* "TACOS" plié en angle comme sur l'enseigne : TAC à l'horizontale, OS à la verticale */
.hero__title .sans {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Poppins', var(--font);
  font-weight: 300;
  font-size: clamp(1.3rem, 3.6vw, 2.4rem);
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin-left: -.15em;
}
.hero__title .sans__top { letter-spacing: .12em; padding-left: .12em; }
.hero__title .sans__side {
  writing-mode: vertical-rl;
  letter-spacing: .12em;
  margin-top: .1em;
  padding-right: .06em;
}
/* Ligne du haut : tacos à gauche, nom au centre, burger à droite */
.hero__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 2vw, 28px);
}
.hero__food {
  flex: 0 0 auto;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .45));
}
/* Burger : flottement + léger balancement (l'effet "gif" animé) */
.hero__food--burger {
  width: clamp(115px, 16vw, 235px);
  animation: fadeUp 1s .5s var(--ease) both, flotteDroite 4.2s 1.5s ease-in-out infinite;
}
@keyframes flotteDroite {
  0%, 100% { transform: translateY(0) rotate(3deg) scale(1); }
  50%      { transform: translateY(-20px) rotate(-3deg) scale(1.04); }
}

/* Bloc logo : titre + slogan + l'équerre orange de l'enseigne */
.brand {
  display: inline-block;
  position: relative;
  animation: fadeUp .9s .1s var(--ease) both;
}
.hero__slogan {
  font-family: 'Poppins', var(--font);
  font-weight: 200;
  font-size: clamp(.82rem, 1.8vw, 1.05rem);
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .75);
  text-align: left;
  padding-left: .5em;
  margin: 2px 0 0;
}
/* Trait doré : file sous le slogan, puis remonte à la verticale jusqu'au S de TACOS */
.brand__bracket {
  position: absolute;
  right: 0;
  bottom: -14px;
  width: 74%;
  height: clamp(40px, 8vw, 78px);
  border-bottom: 3px solid #f5a623;
  border-right: 3px solid #f5a623;
  border-bottom-right-radius: 3px;
  pointer-events: none;
  z-index: -1;
}
.brand { margin-bottom: 34px; }
.hero__tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin: 0 auto 36px;
  animation: fadeUp .9s .2s var(--ease) both;
}
.hero__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .9s .3s var(--ease) both;
}
.hero__badges {
  list-style: none;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeUp .9s .4s var(--ease) both;
}
.hero__badges li {
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(255, 255, 255, .06);
}

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 9px;
  width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(16px); } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* =========================================================
   À PROPOS
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  z-index: -1;
}
.about__text h2 { margin-bottom: 20px; }
.about__text p { margin-bottom: 16px; color: #4a443f; }
.about__stats {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px;
  padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, .1);
}
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--orange);
  white-space: nowrap;
}
.about__stats span { font-size: .85rem; color: #6b645e; }

/* =========================================================
   SPÉCIALITÉS
   ========================================================= */
/* Nos incontournables et Contact : même fond que la bannière (le bardage de la façade) */
.specials,
.contact {
  position: relative;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, .035) 0px,
      rgba(255, 255, 255, .015) 1px,
      rgba(0, 0, 0, .28) 2px,
      rgba(0, 0, 0, .10) 4px,
      transparent 5px,
      transparent 86px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .012) 0px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(170deg, #3a4149 0%, #2f353c 35%, #262b31 70%, #1c2025 100%);
}
/* voile sombre : les cartes, les titres et le téléphone restent bien lisibles */
.specials::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 17, .6), rgba(12, 14, 17, .75));
  pointer-events: none;
}
.specials > *,
.contact > * { position: relative; z-index: 1; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--noir-2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-8px); border-color: rgba(255, 107, 26, .5); }
.card__img { border: 0; border-radius: 0; min-height: 210px; }
/* Visuel produit : le cadre rogne le vide autour du plat, sans jamais déborder sur le texte */
.card__media {
  height: 340px;
  overflow: hidden;
  background: #faf4ea;
  display: grid;
  place-items: center;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Photo pleine image (pas un visuel détouré) : on remplit tout le cadre */
.card__media--photo { background: var(--noir-3); }
.card__media--photo img { object-fit: cover; object-position: center 32%; }
.card__body { padding: 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--gris); font-size: .93rem; margin-bottom: 14px; }
.card__price { color: var(--or); font-weight: 700; font-size: .95rem; }
.specials__cta { text-align: center; margin-top: 52px; }

/* =========================================================
   GALERIE
   ========================================================= */
/* Cadres au format portrait 4:5, comme les photos : rien n'est coupé */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery__item {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
  cursor: pointer;
}
.gallery__item:hover { transform: translateY(-6px) scale(1.02); }

/* Photo du livreur : les deux roues sont des disques découpés dans la photo,
   posés exactement sur les roues et pivotés au fil du défilement. */
.gallery__item--moto { position: relative; overflow: hidden; margin: 0; padding: 0; }
.gallery__item--moto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.roue {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  background-image: url('../images/galerie-3.jpg');
  background-repeat: no-repeat;
  transform: translate(-50%, -50%) rotate(var(--tour, 0deg));
  will-change: transform;
  /* Seule la couronne du pneu tourne : le centre (jante, rayons, disque de frein)
     reste fixe et laisse voir la photo d'origine en dessous. */
  -webkit-mask: radial-gradient(circle at center, transparent 0 73%, #000 77% 100%);
  mask: radial-gradient(circle at center, transparent 0 73%, #000 77% 100%);
}
/* Roue avant : centre (147, 635) px, diamètre 158 px sur une image de 646 x 808 */
.roue--avant {
  left: 22.76%; top: 78.59%;
  width: 24.46%;
  background-size: 408.9% auto;
  background-position: 13.93% 85.54%;
}
/* Roue arrière : centre (491, 632) px, diamètre 150 px */
.roue--arriere {
  left: 76.01%; top: 78.22%;
  width: 23.22%;
  background-size: 430.7% auto;
  background-position: 83.87% 84.65%;
}
@media (prefers-reduced-motion: reduce) {
  .roue { transform: translate(-50%, -50%); }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
/* Carte Google Maps affichée dans un iPhone 17 Pro Max */
.contact__map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.iphone {
  position: relative;
  width: 100%;
  max-width: min(320px, 76vw);
  aspect-ratio: 9 / 19.5;
  padding: 11px;
  border-radius: 56px;
  /* châssis titane orange (couleur de la marque) */
  background:
    linear-gradient(145deg, #b8560f 0%, #ffb266 11%, #ef7a1c 25%, #b4520d 46%,
                    #ff9a45 66%, #ffc287 80%, #a94c0b 100%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, .55),
    0 0 60px rgba(255, 122, 26, .25),
    0 0 0 1px rgba(255, 255, 255, .25) inset,
    0 2px 5px rgba(255, 220, 190, .45) inset;
  transition: transform .6s var(--ease);
}
.iphone:hover { transform: translateY(-8px) rotate(-.5deg); }

.iphone__ecran {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 2px #17181a inset;
  /* iOS ne rogne pas les iframes avec overflow + border-radius.
     clip-path, lui, découpe réellement le contenu, y compris les iframes. */
  -webkit-clip-path: inset(0 round 46px);
  clip-path: inset(0 round 46px);
  transform: translateZ(0);
  isolation: isolate;
}
.iphone__ecran iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 46px;   /* sécurité si le masque n'est pas appliqué */
  filter: contrast(1.03);
}

/* Barre d'état : heure à gauche, réseau / wi-fi / batterie à droite */
.iphone__statut {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 0;
  color: #fff;
  pointer-events: none;
  /* léger voile pour rester lisible par-dessus la carte */
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent);
  padding-bottom: 22px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.iphone__heure {
  font-family: 'Poppins', var(--font);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
}
.iphone__icones { display: flex; align-items: center; gap: 5px; }
.iphone__icones svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }

/* Dynamic Island */
.iphone__island {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: 26px;
  border-radius: 999px;
  background: #08090a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  pointer-events: none;
  z-index: 2;
}
/* barre d'accueil */
.iphone__barre {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* boutons latéraux */
.iphone__btn {
  position: absolute;
  background: linear-gradient(180deg, #8d9297, #5a5f64);
  border-radius: 2px;
}
.iphone__btn--action  { left: -3px; top: 16%; width: 3px; height: 5%; }
.iphone__btn--vol-haut{ left: -3px; top: 24%; width: 3px; height: 8%; }
.iphone__btn--vol-bas { left: -3px; top: 34%; width: 3px; height: 8%; }
.iphone__btn--power   { right: -3px; top: 26%; width: 3px; height: 12%; }

.contact__itineraire { padding: 14px 30px; font-size: .9rem; }

.contact__list { list-style: none; margin-top: 28px; }
.contact__list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.contact__ico {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: grid; place-items: center;
  background: rgba(255, 107, 26, .12);
  border-radius: 12px;
  font-size: 1.1rem;
}
.contact__list strong { display: block; font-size: .92rem; }
.contact__list p { color: var(--gris); font-size: .92rem; }
.contact__list a:hover { color: var(--orange); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #0b0a09; color: var(--gris); padding: 28px 0; font-size: .88rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--orange); }

/* Icônes réseaux sociaux */
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--creme);
  transition: background .3s, transform .3s var(--ease), border-color .3s, color .3s;
}
.socials a:hover {
  background: linear-gradient(135deg, var(--orange), var(--rouge));
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

/* =========================================================
   BOUTON FLOTTANT
   ========================================================= */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--rouge));
  color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 14px 34px rgba(255, 107, 26, .42);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: translateY(-4px) scale(1.04); }
.fab__logo {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .85);
  flex: 0 0 auto;
}
/* Bouton "Commander sur WhatsApp" : flottant, centré en bas de l'écran */
.fab--whatsapp {
  right: auto;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #25d366, #128c4b);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .45);
}
.fab--whatsapp:hover { transform: translateX(-50%) translateY(-4px) scale(1.04); }
.fab--whatsapp svg { flex: 0 0 auto; }

/* =========================================================
   PAGE MENU
   ========================================================= */
/* Même fond que la bannière : le bardage anthracite de la façade */
.menu-page {
  color: var(--creme);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, .035) 0px,
      rgba(255, 255, 255, .015) 1px,
      rgba(0, 0, 0, .28) 2px,
      rgba(0, 0, 0, .10) 4px,
      transparent 5px,
      transparent 86px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .012) 0px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(170deg, #3a4149 0%, #2f353c 35%, #262b31 70%, #1c2025 100%);
  background-attachment: fixed;
}
/* Voile sombre pour garder les textes bien lisibles par-dessus les panneaux */
.menu-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 17, .55), rgba(12, 14, 17, .72));
  pointer-events: none;
  z-index: 0;
}
.menu-page > * { position: relative; z-index: 1; }

.menu-hero {
  position: relative;
  padding: 82px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 10%, rgba(245, 166, 35, .18), transparent 65%);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.menu-hero__content { position: relative; z-index: 2; }
/* Retour au site : épinglé en haut à gauche */
.menu-hero__back {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
  font-size: .85rem;
  font-weight: 600;
  color: var(--creme);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.menu-hero__back:hover {
  background: var(--orange);
  border-color: transparent;
  color: #fff;
  transform: translateX(-3px);
}
/* Sur téléphone : le bouton passe au-dessus du titre (plus de chevauchement) */
@media (max-width: 640px) {
  .menu-hero { padding-top: 22px; }
  .menu-hero__back {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 18px;
  }
}
.menu-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: 10px; }
.menu-hero h1 span {
  background: linear-gradient(135deg, var(--orange), var(--or));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.menu-hero p { color: var(--gris); font-size: .95rem; }
.menu-astuce {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(37, 211, 102, .14);
  border: 1px solid rgba(37, 211, 102, .4);
  color: #4ade80 !important;
  font-weight: 600;
  font-size: .86rem !important;
}

.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 32px;
}
.menu-tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
  color: var(--creme);
  font: inherit; font-size: .87rem; font-weight: 600;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.menu-tab:hover { border-color: var(--orange); transform: translateY(-2px); }
.menu-tab.is-active {
  background: linear-gradient(135deg, var(--orange), var(--rouge));
  border-color: transparent; color: #fff;
}

.menu-main { padding: 64px 24px 90px; }

.menu-cat { margin-bottom: 64px; scroll-margin-top: 100px; }
.menu-cat.is-hidden { display: none; }
.menu-cat__head { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid rgba(255, 107, 26, .3); }
.menu-cat__head h2 { font-size: 1.75rem; margin-bottom: 4px; }
.menu-cat__head p { color: var(--gris); font-size: .9rem; }

/* Affiche officielle du menu (photo), placée sous la liste des plats */
.menu-affiche { margin: 34px 0 0; }
.menu-affiche img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .08);
  cursor: zoom-in;
  transition: transform .5s var(--ease), border-color .3s;
}
.menu-affiche img:hover { transform: scale(1.01); border-color: rgba(255, 107, 26, .5); }
.menu-affiche figcaption {
  text-align: center;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--gris);
  letter-spacing: .04em;
}

/* Visionneuse plein écran */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 5, 4, .94);
  display: grid; place-items: center;
  padding: 32px;
  animation: fadeIn .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 1.1rem;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.lightbox__close:hover { background: var(--orange); transform: rotate(90deg); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Sous-familles d'une catégorie (Cheesecake, Crêpes, Tiramisu…) */
.menu-sub {
  font-size: 1.25rem;
  color: var(--orange-2);
  margin: 30px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}
.menu-sub__note {
  color: var(--gris);
  font-size: .9rem;
  line-height: 1.7;
  padding: 14px 16px;
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
}
.menu-sub__note strong { color: var(--or); }

.menu-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.menu-list--compact { grid-template-columns: repeat(3, 1fr); }

.menu-item {
  position: relative;
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  transition: padding-left .3s var(--ease);
}
.menu-item:hover { padding-left: 8px; }

/* Plat cliquable : commande directe sur WhatsApp */
.menu-item--commandable {
  cursor: pointer;
  padding-right: 34px;
  border-radius: 10px;
  transition: background .25s, padding .3s var(--ease);
}
.menu-item--commandable:hover {
  background: rgba(37, 211, 102, .1);
  padding-left: 10px;
}
.menu-item__wa {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) scale(.9);
  color: #25d366;
  opacity: .5;
  transition: opacity .25s, transform .25s var(--ease);
  pointer-events: none;
}
.menu-item__wa svg { display: block; }
.menu-item--commandable:hover .menu-item__wa,
.menu-item--commandable:focus-visible .menu-item__wa {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.menu-item--commandable:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 2px;
}

/* Fenêtre de choix Solo / Menu avant l'envoi WhatsApp */
.choix {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(6, 5, 4, .82);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn .25s ease;
}
.choix[hidden] { display: none; }
.choix__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, #24201d, #17140f);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  animation: fadeUp .4s var(--ease) both;
}
.choix__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff; font-size: .9rem; cursor: pointer;
  transition: background .2s, transform .2s;
}
.choix__close:hover { background: var(--orange); transform: rotate(90deg); }
.choix__label {
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; font-weight: 700; color: var(--orange);
}
.choix__nom {
  font-size: 1.5rem; color: #fff; margin: 6px 0 4px;
}
.choix__q { color: var(--gris); font-size: .9rem; margin-bottom: 22px; }
.choix__btns { display: flex; gap: 14px; }
.choix__opt {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 12px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: #fff; cursor: pointer;
  font: inherit;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.choix__opt span { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.choix__opt strong { font-family: var(--font-title); font-size: 1.3rem; color: var(--or); }
.choix__opt em { font-style: normal; font-size: .72rem; color: var(--gris); }
.choix__opt:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, .12);
  transform: translateY(-3px);
}
.choix__opt--menu { border-color: rgba(37, 211, 102, .4); }
.menu-item__info { flex: 1; }
.menu-item__info h3 { font-size: 1.05rem; margin-bottom: 3px; }
.menu-item__info p { color: var(--gris); font-size: .86rem; line-height: 1.5; }
.menu-item__price {
  font-family: var(--font-title);
  font-weight: 700; font-size: 1.1rem;
  color: var(--or);
  white-space: nowrap;
  text-align: right;
}
/* Second prix (formule menu) sous le prix solo */
.menu-item__price small {
  display: block;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gris);
  margin-top: 2px;
}
.menu-item--star .menu-item__info h3 { color: var(--orange-2); }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 107, 26, .18);
  color: var(--orange-2);
  font-family: var(--font);
  font-size: .66rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  vertical-align: middle;
}

.menu-note {
  text-align: center;
  color: var(--gris);
  font-size: .85rem;
  font-style: italic;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* =========================================================
   ANIMATIONS AU SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__img { height: 380px; }
  .about__media::after { inset: 12px -12px -12px 12px; }
  .cards { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .menu-list, .menu-list--compact { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18, 16, 14, .98);
    backdrop-filter: blur(10px);
    padding: 12px 24px 24px;
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }

  /* Sur téléphone : le burger passe sous le nom */
  .hero__row { flex-wrap: wrap; gap: 4px; }
  .brand { order: -1; flex: 1 0 100%; }
  .hero__food--burger { width: 46vw; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .about__stats { gap: 22px; }
  .fab span { display: none; }
  .fab { padding: 16px; }
  /* Sur téléphone, le bouton WhatsApp garde son texte : c'est l'action principale */
  .fab--whatsapp { padding: 14px 22px; }
  .fab--whatsapp span { display: inline; }
}
