/* =========================================================
   Snack Les Macques — Feuille de style
   DA : chaleureux & tropical (jaune soleil, rouge piment, vert)
   ========================================================= */

:root {
  /* Palette */
  --sun:      #f4a300;   /* jaune soleil / mangue */
  --sun-2:    #f4c300;
  --chili:    #e8452a;   /* rouge piment */
  --chili-dk: #c62f18;
  --leaf:     #2e9e5b;   /* vert végétal */
  --leaf-dk:  #1f7a44;
  --berry:    #b02e6a;   /* fuchsia hibiscus */
  --cream:    #fff8ee;   /* fond crème */
  --sand:     #fdeccf;
  --ink:      #2a1b12;   /* brun foncé (texte) */
  --ink-soft: #6b5545;
  --white:    #ffffff;

  --radius:   18px;
  --radius-sm: 12px;
  --shadow:   0 10px 30px rgba(120, 60, 20, .12);
  --shadow-lg: 0 20px 50px rgba(120, 60, 20, .18);
  --maxw:     1150px;
  --header-h: 68px;
  /* Zone tactile minimale — 44 px (Apple HIG) / 48 dp (Material) */
  --tap:      44px;

  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset léger ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(232,69,42,.18);
}
img { max-width: 100%; display: block; }
a { color: var(--chili); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--chili);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .7em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s;
  text-decoration: none; white-space: nowrap;
  min-height: var(--tap); touch-action: manipulation;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--chili); color: #fff; box-shadow: 0 8px 18px rgba(232,69,42,.35); }
.btn--primary:hover { background: var(--chili-dk); box-shadow: 0 12px 24px rgba(232,69,42,.45); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--block { display: flex; width: 100%; margin-top: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,248,238,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(120,60,20,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__flower { font-size: 1.4em; line-height: 1; animation: sway 6s ease-in-out infinite; }
.brand__text strong { color: var(--chili); }

.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu a {
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem;
  display: inline-flex; align-items: center; min-height: var(--tap); touch-action: manipulation;
}
.nav__menu a:hover { color: var(--chili); text-decoration: none; }
.nav__cta { background: var(--sun); color: var(--ink) !important; padding: .45em 1.1em; border-radius: 999px; justify-content: center; }
.nav__cta:hover { background: var(--sun-2); }

.nav__toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
  width: var(--tap); height: var(--tap); margin-right: -8px; touch-action: manipulation;
}
.nav__toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(244,195,0,.55), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(176,46,106,.5), transparent 55%),
    linear-gradient(135deg, var(--chili) 0%, #e86a2a 45%, var(--sun) 100%);
  background-size: 130% 130%, 130% 130%, 200% 200%;
  animation: heroShift 16s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 2px, transparent 2px);
  background-size: 26px 26px; opacity: .5;
}
.hero__inner { position: relative; z-index: 1; padding: clamp(60px, 12vw, 130px) 20px clamp(90px, 14vw, 150px); max-width: var(--maxw); }
.hero__eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; margin: 0 0 .6rem; opacity: .95; }
.hero__title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 800; text-shadow: 0 4px 20px rgba(0,0,0,.18); }
.hero__title .highlight { color: var(--sun-2); position: relative; white-space: nowrap; }
.hero__title .highlight::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .18em; background: rgba(255,255,255,.35); border-radius: 4px; }
.hero__lead { max-width: 46ch; font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 1.2rem 0 1.8rem; opacity: .97; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.2rem; font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.hero__badges li { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: .4em .9em; border-radius: 999px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__wave svg { width: 100%; height: clamp(50px, 8vw, 90px); }
.hero__wave path { fill: var(--cream); }

/* ---------- Strip (3 atouts) ---------- */
.strip { background: var(--cream); padding: clamp(20px, 4vw, 40px) 0 10px; }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.strip__item { text-align: center; padding: 22px 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(120,60,20,.06); }
.strip__ico { font-size: 2.4rem; display: block; margin-bottom: .3rem; }
.strip__item h2 { font-size: 1.25rem; color: var(--chili); margin-bottom: .3rem; }
.strip__item p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Nos engagements (charte qualité) ---------- */
.engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.engage-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(120,60,20,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.engage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.engage-card__ico {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  font-size: 1.7rem; border-radius: 16px; margin-bottom: .9rem;
  background: linear-gradient(140deg, var(--sun), var(--chili));
  box-shadow: 0 6px 14px rgba(232,69,42,.28);
}
.engage-card:hover .engage-card__ico { animation: pop .5s ease; }
.engage-card h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: .4rem; }
.engage-card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--alt { background: var(--sand); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(34px, 6vw, 56px); }
.section__kicker { font-family: var(--font-head); font-weight: 700; color: var(--leaf-dk); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin: 0 0 .4rem; }
.section__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--ink); }
.section__title::after { content: ""; display: block; width: 64px; height: 5px; background: linear-gradient(90deg, var(--sun), var(--chili)); border-radius: 4px; margin: .7rem auto 0; }
.section__sub { color: var(--ink-soft); margin-top: 1rem; }
.section__sub code { background: rgba(120,60,20,.08); padding: .1em .4em; border-radius: 5px; font-size: .9em; }

/* ---------- Menu ---------- */
.menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.menu-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow); border: 1px solid rgba(120,60,20,.06);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.menu-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--sun), var(--chili)); }
.menu-card--feature { border: 2px solid var(--sun); }
/* Complète la dernière rangée quand le nombre de cartes est impair */
.menu-card--wide { grid-column: 1 / -1; }
.menu-card__title { font-size: 1.45rem; color: var(--ink); display: flex; align-items: center; gap: .4em; }
.menu-card__note { color: var(--ink-soft); font-style: italic; font-size: .92rem; margin: .3rem 0 1.1rem; }
.menu-list li { display: flex; align-items: baseline; gap: .5rem; padding: .5rem 0; border-bottom: 1px dashed rgba(120,60,20,.15); }
.menu-list li:last-child { border-bottom: 0; }
.ml__name { font-weight: 600; }
.ml__dots { flex: 1; border-bottom: 2px dotted rgba(120,60,20,.2); transform: translateY(-3px); min-width: 12px; }
.ml__price { font-family: var(--font-head); font-weight: 700; color: var(--chili); white-space: nowrap; }

.menu__foot { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.menu__foot p { background: var(--white); border: 1px solid rgba(120,60,20,.1); box-shadow: var(--shadow); padding: 14px 22px; border-radius: 999px; margin: 0; font-size: 1rem; }
.menu__foot-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Carte "carte tournante" : accent chaud + pastille discrète */
.menu-card--daily { border: 2px solid rgba(244,163,0,.55); }
.menu-card__daily { display: inline-block; margin: .8rem 0 .3rem; }
.menu-card__tip {
  margin: 1rem 0 0; padding: .6rem .9rem; font-size: .9rem;
  background: rgba(244,163,0,.14); color: #9a6a00;
  border-radius: 10px; font-weight: 600;
}
.menu-card__note em { color: var(--ink-soft); font-size: .92em; }

/* Lien "voir tous les sandwichs" */
.menu-card__more {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .4em;
  margin-top: auto; padding-top: 1.1rem;
  font-family: var(--font-head); font-weight: 700; color: var(--chili);
}
.menu-card__more span { transition: transform .25s ease; }
.menu-card__more:hover { text-decoration: none; }
.menu-card__more:hover span { transform: translateX(5px); }

/* Variantes de boutons */
.btn--lg { font-size: 1.1rem; padding: .85em 1.9em; }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Galerie ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 18px; }
.tile {
  margin: 0; border-radius: var(--radius); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem; color: #fff;
  background: linear-gradient(140deg, var(--c1, var(--sun)), var(--c2, var(--chili)));
  box-shadow: var(--shadow); cursor: default;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.18) 2px, transparent 2px); background-size: 22px 22px; opacity: .5; }
.tile:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 26px 16px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
/* Petite mise en page façon mosaïque */
.tile--a { grid-row: span 2; font-size: 4.6rem; }
.tile--f { grid-column: span 2; }

/* ---------- Avis Google ---------- */
.reviews { background: linear-gradient(135deg, rgba(244,163,0,.12), rgba(232,69,42,.08)); }
.reviews__summary {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch;
}
.reviews__score-card {
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  border: 1px solid rgba(120,60,20,.08); text-align: center; display: flex; flex-direction: column; justify-content: center;
}
.reviews__badge {
  display: inline-block; margin: 0 auto .7rem; padding: .35rem .75rem; border-radius: 999px;
  background: rgba(46,158,91,.12); color: var(--leaf-dk); font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.reviews__score {
  font-family: var(--font-head); font-size: clamp(2.4rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--chili);
}
.reviews__stars { font-size: 1.35rem; letter-spacing: .18em; color: var(--sun); margin: .3rem 0 .5rem; }
.reviews__meta { color: var(--ink-soft); margin: 0 0 1rem; }
.reviews__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 1rem; }
.reviews__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; color: var(--ink-soft); font-size: .92rem; }
.reviews__trust span { background: rgba(120,60,20,.06); padding: .35rem .65rem; border-radius: 999px; }
.reviews__widget {
  background: rgba(255,255,255,.94); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  border: 1px solid rgba(120,60,20,.08); overflow: hidden;
}
.reviews__carousel {
  display: flex; transition: transform .45s ease;
}
.review-card {
  min-width: 100%; background: linear-gradient(135deg, rgba(255,248,238,.95), rgba(255,255,255,.95));
  border-radius: var(--radius-sm); padding: 22px 20px; box-shadow: inset 0 0 0 1px rgba(120,60,20,.06);
}
.review-card__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: .8rem; }
.review-card__top strong { font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); }
.review-card__meta { margin: .2rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.review-card__rating { color: var(--sun); font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.review-card p { margin: 0; color: var(--ink-soft); }
.reviews__controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.reviews__arrow {
  border: 0; flex: 0 0 var(--tap); width: var(--tap); height: var(--tap);
  border-radius: 999px; background: var(--chili); color: #fff; cursor: pointer;
  box-shadow: 0 8px 16px rgba(232,69,42,.22); transition: transform .2s ease, background .2s ease;
  touch-action: manipulation;
}
.reviews__arrow:hover { transform: translateY(-2px); background: var(--chili-dk); }
.reviews__dots { display: flex; gap: 0; }
/* Pastille de 12 px, mais zone tactile de 44 × 44 px */
.reviews__dot {
  width: var(--tap); height: var(--tap); background: none; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; touch-action: manipulation;
}
.reviews__dot::before {
  content: ""; width: 12px; height: 12px; border-radius: 999px;
  background: rgba(120,60,20,.22); transition: background .2s ease, transform .2s ease;
}
.reviews__dot.is-active::before { background: var(--chili); transform: scale(1.15); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: start; }
.contact__intro { color: var(--ink-soft); margin: 1rem 0 1.6rem; }
.contact__list li { display: flex; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid rgba(120,60,20,.1); }
.contact__list li:last-child { border-bottom: 0; }
.ci__ico { font-size: 1.4rem; flex-shrink: 0; }
.contact__list a { display: inline-flex; align-items: center; min-height: var(--tap); touch-action: manipulation; }
.ci__address { color: var(--ink); font-weight: 600; display: inline-block; }
.ci__address:hover { color: var(--chili); }

/* Réseaux sociaux */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .5rem; }
.social {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: .45em 1.1em; border-radius: 999px; color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
  min-height: var(--tap); touch-action: manipulation;
}
.social:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.social:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.social__ico { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.social--fb { background: #1877f2; box-shadow: 0 8px 16px rgba(24,119,242,.24); }

/* Boutons itinéraire (Maps / Waze) */
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.map-btn {
  display: inline-flex; align-items: center; gap: .4em;
  min-height: var(--tap); touch-action: manipulation;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: .45em 1em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.map-btn:hover { text-decoration: none; transform: translateY(-2px); }
.map-btn--maps { background: var(--chili); color: #fff; box-shadow: 0 4px 10px rgba(232,69,42,.3); }
.map-btn--maps:hover { background: var(--chili-dk); }

.contact__hours { background: var(--white); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-lg); border: 1px solid rgba(120,60,20,.06); }
.hours__title { font-size: 1.35rem; margin-bottom: 1rem; color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; font-size: .95rem; border-bottom: 1px dashed rgba(120,60,20,.15); vertical-align: top; }
.hours th { font-family: var(--font-head); font-weight: 700; width: 34%; }
.hours td { color: var(--ink-soft); }
.hours td.closed { color: var(--chili); font-weight: 700; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--sand); }
.hours tr.is-today th { border-radius: 8px 0 0 8px; padding-left: 8px; }
.hours tr.is-today td { border-radius: 0 8px 8px 0; padding-right: 8px; }
.hours__status { font-family: var(--font-head); font-weight: 700; margin: 1rem 0 0; padding: .6rem .9rem; border-radius: 10px; text-align: center; }
.hours__status.open { background: rgba(46,158,91,.15); color: var(--leaf-dk); }
.hours__status.closed { background: rgba(232,69,42,.12); color: var(--chili-dk); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #f6e8db; padding: 48px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 30px; align-items: start; }
.footer__brand .brand__text { font-family: var(--font-head); font-size: 1.3rem; }
.footer__brand .brand__text strong { color: var(--sun); }
.footer__brand p { margin: .6rem 0 0; color: #d8c3b2; }
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a {
  color: #f6e8db; font-family: var(--font-head); font-weight: 600;
  display: inline-flex; align-items: center; min-height: var(--tap); touch-action: manipulation;
}
.footer__nav a:hover { color: var(--sun); }
.footer__legal { color: #cdb6a4; font-size: .9rem; margin: 0; align-self: end; }
.footer__mini { color: #9d8574; }

/* Signature du studio */
.footer__signature {
  margin-top: 30px; padding-top: 18px;
  border-top: 1px solid rgba(246,232,219,.12);
  text-align: center;
}
.footer__signature p { margin: 0; color: #9d8574; font-size: .85rem; }
.footer__signature a {
  color: var(--sun); font-family: var(--font-head); font-weight: 700;
  display: inline-flex; align-items: center; min-height: var(--tap); touch-action: manipulation;
}
.footer__signature a:hover { color: #fff; }

/* ---------- Bouton retour haut ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--chili); color: #fff; display: grid; place-items: center;
  font-size: 1.4rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top:hover { background: var(--chili-dk); text-decoration: none; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Animations ---------- */
@keyframes sway { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Fond du hero qui "respire" */
@keyframes heroShift {
  0%   { background-position: 0% 0%,   100% 100%, 0% 50%; }
  100% { background-position: 100% 50%, 0% 0%,    100% 50%; }
}

/* Entrée en cascade des éléments du hero */
.anim-up { opacity: 0; transform: translateY(28px); animation: animUp .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes animUp { to { opacity: 1; transform: none; } }

/* Décor tropical flottant */
.hero__deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__deco .float {
  position: absolute; font-size: 2.6rem; opacity: .35;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.15));
  animation: floaty 9s ease-in-out infinite;
  will-change: transform;
}
.float--1 { top: 14%;  left: 6%;   font-size: 3.4rem; animation-duration: 11s; }
.float--2 { top: 22%;  right: 9%;  font-size: 3rem;   animation-duration: 9s;  animation-delay: -2s; }
.float--3 { bottom: 26%; left: 12%; font-size: 2.4rem; animation-duration: 10s; animation-delay: -4s; }
.float--4 { top: 46%;  right: 16%; font-size: 2.2rem; animation-duration: 8s;  animation-delay: -1s; }
.float--5 { bottom: 30%; right: 6%; font-size: 2.8rem; animation-duration: 12s; animation-delay: -5s; }
.float--6 { top: 10%;  left: 44%;  font-size: 2rem;   animation-duration: 10.5s; animation-delay: -3s; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50%     { transform: translateY(-22px) rotate(6deg); }
}

/* Bandeau défilant (marquee) */
.marquee {
  background: linear-gradient(90deg, var(--chili), #e86a2a 55%, var(--sun));
  color: #fff;
  overflow: hidden; white-space: nowrap; padding: 13px 0;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.08);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 1.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  text-shadow: 0 1px 3px rgba(0,0,0,.15);
  animation: marquee 26s linear infinite; will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__dot { color: rgba(255,255,255,.6); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Soulignement animé des liens de nav */
.nav__menu a:not(.nav__cta) { position: relative; }
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--chili); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav__menu a:not(.nav__cta):hover::after { transform: scaleX(1); }

/* Bouton Commander : pulsation + brillance */
.nav__cta { position: relative; overflow: hidden; animation: ctaPulse 2.6s ease-in-out infinite; }
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(244,163,0,.5); }
  50%     { box-shadow: 0 0 0 8px rgba(244,163,0,0); }
}
.nav__cta::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine { 0%,60% { left: -60%; } 100% { left: 130%; } }

/* Réactivité au survol : atouts, cartes menu, tuiles */
.strip__item { transition: transform .25s ease, box-shadow .25s ease; }
.strip__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.strip__item:hover .strip__ico { animation: pop .5s ease; }
@keyframes pop { 0%{ transform: scale(1);} 40%{ transform: scale(1.25) rotate(-8deg);} 100%{ transform: scale(1);} }

.menu-card { transition: transform .25s ease, box-shadow .25s ease; }
.menu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.menu-list li { transition: color .2s ease; }
.menu-list li:hover .ml__price { transform: scale(1.12); display: inline-block; }
.ml__price { transition: transform .2s ease; }

/* Flèche du bouton retour haut */
.to-top:hover { transform: translateY(-4px); }

/* =========================================================
   Page carte complète (carte.html)
   ========================================================= */
.page-head { position: relative; color: #fff; overflow: hidden; }
.page-head__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(244,195,0,.5), transparent 60%),
    linear-gradient(135deg, var(--chili), #e86a2a 60%, var(--sun));
  background-size: 200% 200%; animation: heroShift 16s ease-in-out infinite alternate;
}
.page-head__inner { position: relative; z-index: 1; padding: clamp(30px, 6vw, 56px) 20px clamp(70px, 10vw, 100px); }
.page-head__back { color: #fff; font-family: var(--font-head); font-weight: 600; opacity: .95; display: inline-block; margin-bottom: 1rem; }
.page-head__back:hover { text-decoration: none; opacity: 1; transform: translateX(-3px); }
.page-head__title { font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 800; text-shadow: 0 4px 18px rgba(0,0,0,.18); }
.page-head__lead { max-width: 54ch; font-size: clamp(1rem, 2vw, 1.2rem); margin-top: .8rem; opacity: .97; }

.carte-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.carte-jump a {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: .4em .9em; border-radius: 999px; transition: background .2s, transform .2s;
}
.carte-jump a:hover { background: rgba(255,255,255,.3); text-decoration: none; transform: translateY(-2px); }

.carte { padding: clamp(40px, 7vw, 70px) 20px clamp(50px, 8vw, 90px); }
.carte-cat { margin-bottom: clamp(38px, 6vw, 60px); scroll-margin-top: calc(var(--header-h) + 12px); }
.carte-cat__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: .6rem; }
.carte-cat__head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--ink); }
.carte-cat__intro { color: var(--ink-soft); max-width: 70ch; margin: 0 0 1.2rem; }

/* Carte des sandwichs mise en avant */
.carte-cat--feature {
  background: var(--white); border: 2px solid var(--sun); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 12px);
}
.carte-sub { font-size: 1.2rem; color: var(--chili); margin: 1.6rem 0 .4rem; }
.carte-sub:first-of-type { margin-top: .6rem; }

/* Listes en 2 colonnes */
.menu-list--cols { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 42px; }
.menu-list--cols li em { color: var(--ink-soft); font-size: .88em; }

/* Badges */
.badge {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  padding: .35em .9em; border-radius: 999px; white-space: nowrap;
}
.badge--sun { background: rgba(244,163,0,.18); color: #9a6a00; border: 1px solid rgba(244,163,0,.4); }

.carte-note { font-size: .92rem; color: var(--ink-soft); font-style: italic; margin-top: 1rem; padding-top: .8rem; border-top: 1px dashed rgba(120,60,20,.18); }

/* CTA final de la carte */
.carte-cta {
  text-align: center; background: var(--sand); border-radius: var(--radius);
  padding: clamp(30px, 6vw, 50px); margin-top: 20px; border: 1px solid rgba(120,60,20,.08);
}
.carte-cta h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--ink); }
.carte-cta p { color: var(--ink-soft); margin: .6rem 0 1.4rem; }
.carte-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.carte-disclaimer { font-size: .82rem; color: var(--ink-soft); margin-top: 1.6rem !important; opacity: .8; }

/* =========================================================
   Mentions légales (mentions-legales.html)
   ========================================================= */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px,7vw,70px) 20px clamp(50px,8vw,90px); }
.legal h2 { font-size: 1.35rem; color: var(--ink); margin: 2.1rem 0 .6rem; }
.legal p { color: var(--ink-soft); margin: 0 0 1rem; line-height: 1.7; }
.legal a { color: var(--chili); }
.legal strong { color: var(--ink); }
.legal__note { background: var(--sand); border: 1px solid rgba(120,60,20,.1); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; color: var(--ink-soft); }
.legal__updated { font-style: italic; font-size: .9rem; }
.todo { background: rgba(244,163,0,.16); border: 1px dashed rgba(244,163,0,.65); color: #9a6a00; padding: .05em .4em; border-radius: 5px; font-weight: 600; }

/* =========================================================
   Page 404 (404.html)
   ========================================================= */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.notfound__inner { text-align: center; padding-top: clamp(30px,6vw,60px); padding-bottom: clamp(90px,12vw,140px); }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4.5rem, 17vw, 10rem); line-height: 1; margin: 0 0 .2rem; color: rgba(255,255,255,.9); text-shadow: 0 8px 28px rgba(0,0,0,.22); }
.notfound .hero__lead { margin-left: auto; margin-right: auto; }
.notfound .hero__actions { justify-content: center; }

/* Lien mentions légales dans le footer */
.footer__legal a { color: var(--sun); font-family: var(--font-head); font-weight: 600; }
.footer__legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); padding: 10px 20px 24px;
    box-shadow: var(--shadow-lg); border-bottom: 1px solid rgba(120,60,20,.1);
    transform: translateY(-140%); transition: transform .35s ease; pointer-events: none;
  }
  .nav__menu.open { transform: translateY(0); pointer-events: auto; }
  .nav__menu li { border-bottom: 1px solid rgba(120,60,20,.08); }
  .nav__menu a { display: block; padding: .9rem .2rem; }
  .nav__cta { text-align: center; margin: 10px 0 0; }

  .strip__grid { grid-template-columns: 1fr; }
  .engage__grid { grid-template-columns: repeat(2, 1fr); }
  .menu__grid { grid-template-columns: 1fr; }
  .menu-list--cols { grid-template-columns: 1fr; column-gap: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { align-items: center; }
  .contact__list li { justify-content: flex-start; }
}
@media (max-width: 560px) {
  /* Les pastilles passent au-dessus : les flèches gardent leurs 44 px sans être écrasées */
  .reviews__controls { flex-wrap: wrap; }
  .reviews__dots { order: -1; flex-basis: 100%; justify-content: center; flex-wrap: wrap; }

  .engage__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .tile--a { grid-row: span 2; }
  .tile--f { grid-column: span 2; }
  .hero__badges { gap: .6rem; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal, .anim-up { opacity: 1 !important; transform: none !important; }
  .hero__deco { display: none; }
}
