/* =====================================================================
   100% CROUSTI — feuille de styles (code écrit à la main, sans Framer)
   ===================================================================== */
:root {
  /* Palette principale */
  --primary: #F68B1F;        /* orange vif */
  --primary-dark: #D86A0B;   /* orange brûlé */
  --secondary: #E33B8F;      /* rose fuchsia */
  --secondary-dark: #B31E6A; /* magenta foncé */
  --accent: #FF5BA6;         /* rose mascotte (remplace l'ancien doré) */
  --violet: #7C3AED;         /* violet vif (contraste avec l'orange) */
  --violet-light: #A45CFF;
  --dark: #2B1A18;           /* marron chocolat */
  --pink-soft: #F4A2C5;      /* rose clair pastel */
  --bg: #FFF8F3;             /* blanc cassé / crème */
  --bg-alt: #FFFFFF;
  --text: #1A1A1A;
  --muted: #6b5d58;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1200px;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(43, 26, 24, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;        /* évite tout scroll horizontal (bandeau incliné, marquees) */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
}

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  font-family: var(--font-display);
  color: var(--secondary);
  letter-spacing: .14em;
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(34px, 5.5vw, 68px); color: var(--dark); }
.br-mobile { display: none; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 18px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(246,139,31,.4); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; box-shadow: 0 10px 24px rgba(227,59,143,.4); }
.btn-secondary:hover { background: var(--secondary-dark); }
.btn-ghost { background: transparent; border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-stroke-white { border-color: #fff; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: flex; justify-content: center;
  background: linear-gradient(180deg, rgba(12,9,8,.97) 0%, rgba(12,9,8,.86) 58%, rgba(12,9,8,0) 100%);
  backdrop-filter: saturate(120%) blur(4px);
}
/* Page dédiée (sans hero) : on décale le contenu sous le header fixe */
.page-restos main { padding-top: clamp(64px, 8vw, 88px); }
.main-nav a.is-active { color: var(--accent); }
.nav-inner {
  width: min(100% - 48px, 1320px);
  display: flex; align-items: center; gap: 18px;
  padding: 9px 0;
}
.brand img { height: 40px; width: auto; }

/* Centered nav links */
.main-nav {
  display: flex; gap: clamp(18px, 2.6vw, 46px);
  position: absolute; left: 50%; transform: translateX(-50%);
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px; color: #fff; letter-spacing: .07em;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--primary); }

/* Right-side actions */
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* Language selector — outline pill */
.lang { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4);
  font: 700 14px/1 var(--font-body); letter-spacing: .04em;
  padding: 0 16px; height: 42px; border-radius: 999px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.lang-current:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.lang-caret { font-size: 12px; opacity: .8; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: 176px;
  background: #1a1311; border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 6px;
  box-shadow: var(--shadow); display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  background: transparent; border: 0; color: #fff;
  font: 600 14px/1 var(--font-body); padding: 11px; border-radius: 9px; cursor: pointer;
}
.lang-menu button:hover { background: rgba(255,255,255,.1); }

/* Red CTA button */
.btn-reserve {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-size: 17px; color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, #ff5a4d 0%, #e2362a 100%);
  padding: 12px 26px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(226,54,42,.45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-reserve:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(226,54,42,.6); }

.nav-toggle {
  display: none; background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  width: 44px; height: 42px; border-radius: 999px; cursor: pointer;
  align-items: center; justify-content: center;
}
/* Icône hamburger classique (3 barres) */
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ""; display: block;
  width: 20px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after  { position: absolute; top: 6px; left: 0; }
/* Transforme en croix quand le menu est ouvert */
.site-header.open .nav-toggle-bars { background: transparent; }
.site-header.open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.open .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;   /* repli navigateurs anciens */
  min-height: 100dvh;  /* plein écran réel, barres mobiles incluses */
  display: flex; align-items: center;
  padding: 110px 0 40px;
  color: #fff; overflow: hidden;
}
/* ---- Fond vidéo immersif (effet façon Pacific 78) ---- */
.hero-bg {
  position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background: #0c0908;   /* repli pendant le chargement de la vidéo */
}
.hero-video {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  /* léger zoom/dérive permanent pour un rendu plus vivant */
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
/* Overlay léger : lisibilité du texte tout en laissant voir la vidéo */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(120,52,28,.22) 0%, rgba(43,20,15,0) 55%),
    linear-gradient(180deg, rgba(15,10,8,.15) 0%, rgba(10,7,6,.38) 100%),
    linear-gradient(90deg, rgba(8,5,4,.35) 0%, rgba(8,5,4,.08) 45%, rgba(8,5,4,0) 70%);
}
.hero > .container { position: relative; z-index: 1; }
/* Fondu sombre en bas du hero : transition douce vers la section Expérience */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  height: clamp(140px, 18vh, 240px); pointer-events: none;
  background: linear-gradient(180deg, rgba(16,3,8,0) 0%, #100308 100%);
}

@keyframes heroKenBurns {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-50%, -50%) scale(1.08); }
}

/* Mise en page deux colonnes : texte à gauche, mascotte à droite */
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  align-items: center; gap: clamp(20px, 5vw, 70px);
}
.hero-copy { min-width: 0; }
.hero-mascot {
  position: relative; justify-self: end;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  perspective: 900px;            /* profondeur pour l'orientation 3D de la tête */
  margin-right: clamp(-6px, -1vw, 0px);
}

/* Couche 1 — orientation : la tête « regarde » vers le curseur (pilotée en JS) */
.hero-mascot-tilt {
  position: relative; z-index: 1;
  width: min(100%, 440px);
  transform-style: preserve-3d;
  transform:
    rotateY(var(--rx, 0deg))
    rotateX(var(--ry, 0deg))
    translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  will-change: transform;
}

/* Couche 2 — réactions : survol, clic (pop) et idle (wiggle) */
.hero-mascot-react {
  transform-origin: center bottom;
  transform: scale(1) rotate(0deg);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.hero-mascot:hover .hero-mascot-react { transform: scale(1.05) rotate(2deg); }
.hero-mascot:active .hero-mascot-react { transform: scale(.96) rotate(0deg); }
.hero-mascot-react.pop { animation: mascotPop .55s cubic-bezier(.16,1,.3,1); }
.hero-mascot-react.idle-wiggle { animation: mascotWiggle 1.1s ease-in-out; }

/* Couche 3 — flottement permanent (respiration) */
.hero-mascot-float {
  position: relative;
  transform-origin: center bottom;
  animation: mascotFloat 4.5s ease-in-out infinite;
}
.hero-mascot-float img {
  display: block;
  width: 100%; height: auto;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,.55));
}

/* Badge "100% Tasty" épinglé en haut-gauche de la mascotte */
.hero-badge {
  position: absolute; top: 2%; left: -2%; right: auto; z-index: 3;
  width: clamp(72px, 11vw, 116px); height: clamp(72px, 11vw, 116px);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
  animation: heroBadgeSpin 14s linear infinite;
  pointer-events: none;
}
/* Logo "100% Crousti" épinglé en bas-droite, tourne dans l'autre sens */
.hero-badge--alt {
  top: auto; left: auto; bottom: 4%; right: -2%;
  animation: heroBadgeSpin 14s linear infinite reverse;
}
@keyframes heroBadgeSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-mascot-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(50% 50% at 50% 45%, rgba(232,67,31,.4) 0%, rgba(232,67,31,0) 70%);
  filter: blur(8px);
  animation: mascotGlow 4.5s ease-in-out infinite;
  transition: opacity .35s ease;
}
.hero-mascot:hover .hero-mascot-glow { opacity: 1; filter: blur(10px); }

@keyframes mascotPop {
  0%   { transform: scale(1) rotate(0); }
  35%  { transform: scale(.86) rotate(-6deg); }
  70%  { transform: scale(1.08) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes mascotWiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  18%      { transform: rotate(-4deg) translateY(-5px); }
  42%      { transform: rotate(3.5deg) translateY(0); }
  66%      { transform: rotate(-2.5deg) translateY(-3px); }
  85%      { transform: rotate(1.5deg) translateY(0); }
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-18px) rotate(1.5deg); }
}
@keyframes mascotGlow {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* Accessibilité : on coupe le mouvement si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .hero-mascot-float,
  .hero-mascot-glow,
  .hero-mascot-react.idle-wiggle { animation: none; }
  .hero-mascot-tilt { transform: none !important; }
  .hero-video { animation: none; }
}

/* Titre héro à trois traitements */
.hero-title {
  font-size: clamp(46px, 9.2vw, 118px);
  line-height: .92; letter-spacing: .005em;
}
.hero-title span { display: block; }
.ht-accro-row {
  display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  width: max-content; max-width: 100%;
}
.ht-accro-row .ht-grad { display: inline-block; }
.hero-mascot-mini {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: clamp(64px, 9vw, 108px); height: clamp(64px, 9vw, 108px);
  border-radius: 50%; border: 3px solid var(--secondary);
  background: var(--dark); padding: 0; overflow: hidden; text-decoration: none;
  box-shadow: 0 16px 30px rgba(0,0,0,.32);
  animation: bob 2.4s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
  vertical-align: middle;
}
.hero-mascot-mini:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 36px rgba(0,0,0,.38); }
.hero-mascot-mini img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ht-solid  { color: #F3EAdf; }
.ht-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(243,234,223,.92);
  text-stroke: 2px rgba(243,234,223,.92);
}
.ht-grad {
  position: relative; width: max-content; max-width: 100%;
  background: linear-gradient(95deg, #F4A93C 0%, #EE6A22 48%, #E0381B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #cdbeb4; margin: 26px 0 34px; max-width: 56ch; }
.hero .lead strong { color: #f3e9e2; font-weight: 800; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 480px; margin-top: 34px; }

/* Boutons héro en pilules pleine largeur */
.hero-cta .btn {
  width: 100%; justify-content: center;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 800;
  padding: 20px 30px; border-radius: 999px; font-size: 15px;
}
.hero-cta-main {
  background: linear-gradient(180deg, #F2583A 0%, #E8431F 100%);
  box-shadow: 0 14px 34px rgba(232,67,31,.45);
}
.hero-cta-main:hover { background: linear-gradient(180deg, #ff6845 0%, #f24b25 100%); }
.hero-cta-main .arr { margin-left: 8px; font-size: 18px; letter-spacing: 0; }
.hero-cta-find {
  border-color: rgba(255,255,255,.22); color: #f3e9e2;
}
.hero-cta-find:hover { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.4); }
.hero-stats {
  display: flex; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25);
}
.stat {
  position: relative; text-align: left; padding: 6px 10px 6px 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.stat:not(:first-child) { border-left: 1px solid rgba(255,255,255,.18); padding-left: clamp(18px, 3vw, 36px); }
.stat:hover { transform: translateY(-7px); }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1;
  background: linear-gradient(95deg, #F6B73C 0%, #F2922F 52%, #E8431F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(232,67,31,.35));
  animation: numPulse 2.6s ease-in-out infinite;
}
.stat:hover .num { animation-play-state: paused; filter: drop-shadow(0 0 26px rgba(232,67,31,.7)); }
@keyframes numPulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(232,67,31,.28)); }
  50% { filter: drop-shadow(0 0 22px rgba(232,67,31,.6)); }
}
.stat .label {
  font-size: 13px; color: #9a8a80; max-width: 18ch; margin: 8px 0 0;
  text-transform: uppercase; letter-spacing: .12em;
}

/* =====================================================================
   EXPÉRIENCE
   ===================================================================== */
.experience {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #F68B1F 0%, #FFA347 45%, #FFC98A 100%);
}
/* Fond "mur 100% TASTY" + overlay dégradé pour garder le texte lisible */
.experience::before {
  content: ""; position: absolute; top: -15%; left: 0; right: 0; height: 130%; z-index: 0;
  background:
    linear-gradient(90deg, rgba(20,8,3,.55) 0%, rgba(20,8,3,.28) 40%, rgba(20,8,3,.06) 70%, rgba(20,8,3,0) 100%);
  transform: translate3d(0, var(--pary, 0px), 0); will-change: transform;
}
/* Fondu sombre en haut : transition douce depuis le hero (opaque en haut → transparent en descendant) */
.experience::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: clamp(120px, 18vh, 220px);
  z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #100308 0%, rgba(16,3,8,.7) 35%, rgba(16,3,8,0) 100%);
}
.experience > .container { position: relative; z-index: 1; }
.experience .eyebrow { color: var(--secondary); }
.exp-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.exp-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(44px, 6.4vw, 92px); line-height: .92; color: #fff;
  margin-bottom: 26px;
}
.exp-accent {
  color: var(--secondary);
  -webkit-text-stroke: 1.2px rgba(255,255,255,.8);
  text-shadow:
    0 0 24px rgba(227,59,143,.55),
    0 3px 10px rgba(0,0,0,.35),
    0 0 2px rgba(255,255,255,.4);
  font-style: italic;
}
.exp-lead { font-size: clamp(16px, 1.5vw, 19px); color: #fff; max-width: 46ch; margin: 0 0 32px; }
.exp-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.exp-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.exp-gallery img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 20px; box-shadow: 0 18px 40px rgba(0,0,0,.45);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
  animation: expFloat 5.5s ease-in-out infinite;
}
.exp-gallery img:nth-child(1) { translate: 0 -16px; animation-delay: 0s; }
.exp-gallery img:nth-child(2) { translate: 0 0;     animation-delay: .55s; }
.exp-gallery img:nth-child(3) { translate: 0 0;     animation-delay: 1.1s; }
.exp-gallery img:nth-child(4) { translate: 0 16px;  animation-delay: 1.65s; }
.exp-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 22px 50px rgba(227,59,143,.45);
  animation-play-state: paused;
}
@keyframes expFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-gallery img:nth-child(1),
  .exp-gallery img:nth-child(4) { translate: 0 0; }
}

/* =====================================================================
   HISTOIRE
   ===================================================================== */
.histoire .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.histoire .section-title { margin-bottom: 24px; }
.histoire p { margin: 0 0 18px; font-size: 18px; }
.histoire p:last-child { margin-bottom: 0; }
.histoire .brandline { font-family: var(--font-display); font-size: 30px; color: var(--secondary); text-transform: uppercase; margin: 6px 0 18px; }
.histoire .media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/5;
}
.histoire .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.histoire .media:hover img { transform: scale(1.07); }

/* Entrée animée de l'image : glisse depuis la droite + léger zoom */
.histoire .media.reveal { opacity: 0; transform: translateX(46px) scale(.94); }
.histoire .media.reveal.in-view { opacity: 1; transform: none; }

/* Badge flottant "Depuis 2008" */
.histoire-badge {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; flex-direction: column; line-height: 1;
  background: var(--secondary); color: #fff;
  padding: 14px 20px; border-radius: 18px;
  box-shadow: 0 14px 30px rgba(43,26,24,.35);
  opacity: 0; transform: scale(.3) rotate(-25deg);
  will-change: opacity, transform;
}
.histoire-badge.in-view {
  animation: badgeIn .85s cubic-bezier(.2,1.35,.35,1) both,
             badgeBob 3.2s ease-in-out .85s infinite;
}
.histoire-badge .n { font-family: var(--font-display); font-size: 32px; letter-spacing: .01em; }
.histoire-badge .t { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .9; margin-top: 4px; order: -1; }
@keyframes badgeIn {
  0%   { opacity: 0; transform: scale(.3) rotate(-25deg); }
  55%  { opacity: 1; transform: scale(1.18) rotate(8deg); }
  80%  { transform: scale(.96) rotate(-4deg); }
  100% { opacity: 1; transform: scale(1) rotate(-2deg); }
}
@keyframes badgeBob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }

/* Brandline "100% Crousti." : entrée plus punchy */
.histoire .brandline.reveal { opacity: 0; transform: translateY(20px) scale(.85); filter: blur(6px); }
.histoire .brandline.reveal.in-view {
  animation: brandlinePop .9s cubic-bezier(.2,1.3,.35,1) both;
}
@keyframes brandlinePop {
  0%   { opacity: 0; transform: translateY(20px) scale(.85); filter: blur(6px); letter-spacing: .3em; }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.06); filter: blur(0); letter-spacing: .01em; }
  100% { opacity: 1; transform: none; filter: none; letter-spacing: 0; }
}

/* =====================================================================
   PRODUITS
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 46px; }
.card {
  background: var(--bg-alt); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border: 2px solid #f1e4db;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card .emoji { font-size: 44px; line-height: 1; }
.card h3 { font-size: 24px; color: var(--dark); margin: 16px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* =====================================================================
   BANDEAU DÉFILANT (marquee)
   ===================================================================== */
.marquee {
  background: var(--dark);
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  padding: 16px 0;
  overflow: hidden;
  /* bandeau légèrement incliné */
  transform: rotate(-2.5deg);
  width: 108%; margin-left: -4%;
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.marquee-item {
  font-family: var(--font-display);
  text-transform: uppercase; color: #fff;
  font-size: clamp(26px, 4vw, 46px); letter-spacing: .02em;
  white-space: nowrap; padding: 0 32px;
}
.marquee-sep { font-size: clamp(22px, 3.4vw, 38px); line-height: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================================
   CARTE DES POINTS DE VENTE
   ===================================================================== */
/* Fond orange brûlé uni (famille logo), sans image — texte blanc pour la lisibilité */
.carte { position: relative; overflow: hidden; background: #E2611E; }
/* Fond orange "100% Crousti" fourni par le client (repli couleur si l'image manque) */
.carte::before {
  content: ""; position: absolute; inset: -8% 0; z-index: 0; pointer-events: none;
  background: url('./assets/pic/bg-carte.jpg') center/cover no-repeat;
  transform: translate3d(0, var(--pary, 0px), 0); will-change: transform;
}
.carte > .container { position: relative; z-index: 1; }
.carte .eyebrow { color: #ffd9b0; }
.carte .section-title { color: #fff; text-shadow: 0 4px 18px rgba(60,20,0,.35); }
.carte .lead { color: rgba(255,255,255,.95); }
.carte-layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 24px;
  margin-top: 40px; height: 540px;
}
.carte-list-wrap { position: relative; height: 100%; min-height: 0; overflow: hidden; border-radius: 12px; }
.carte-list-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent 0%, rgba(30,10,4,.7) 60%, rgba(30,10,4,.95) 100%);
  border-radius: 0 0 12px 12px; pointer-events: none; z-index: 2;
  transition: opacity .35s ease;
}
.carte-list-wrap.is-scrolled::after { opacity: 0; }
.carte-scroll-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  z-index: 3; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.25);
  font: 700 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  animation: scrollHintPulse 1.6s ease-in-out infinite;
  transition: opacity .35s ease;
}
.carte-list-wrap.is-scrolled .carte-scroll-hint { opacity: 0; }
.carte-scroll-arrow { display: inline-block; animation: scrollHintArrow 1.4s ease-in-out infinite; font-size: 14px; }
@keyframes scrollHintPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 0 0 rgba(255,255,255,.3); }
  50%      { box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 0 8px rgba(255,255,255,0); }
}
@keyframes scrollHintArrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
.carte-list {
  overflow-y: scroll; display: flex; flex-direction: column; gap: 12px;
  padding-left: 16px; padding-right: 0; padding-bottom: 70px;
  direction: rtl; height: 100%; box-sizing: border-box;
}
.carte-list > .carte-item { direction: ltr; }
.carte-item {
  background: var(--dark); border: 2px solid var(--secondary);
  border-radius: 16px; padding: 16px 18px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(43,26,24,.22);
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.carte-item:hover { transform: translateX(3px); border-color: var(--accent); box-shadow: 0 12px 26px rgba(227,59,143,.4); }
.carte-item.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.carte-item h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; color: #fff; margin: 0 0 6px; }
.carte-addr { margin: 0 0 4px; font-size: 13.5px; color: #d9ccc5; }
.carte-hours { margin: 0 0 10px; font-size: 13px; color: #b9aaa3; }
.carte-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.carte-tag {
  font: 700 10.5px/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); background: rgba(255,91,166,.12);
  border: 1px solid rgba(255,91,166,.4); padding: 5px 9px; border-radius: 999px;
}
.carte-order { display: flex; gap: 8px; }
.carte-link {
  font: 700 12px/1 var(--font-body); color: #fff;
  background: linear-gradient(180deg, #ff5a4d, #e2362a);
  padding: 8px 14px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.carte-link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(226,54,42,.5); }
.carte-map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); min-height: 420px;
  background: #15100f;
}
.carte-map .leaflet-container { height: 100%; width: 100%; background: #15100f; }
/* Scrollbar noire, toujours visible et bien voyante pour la liste (côté gauche) */
.carte-list { scrollbar-width: auto; scrollbar-color: #000 #fff; }
.carte-list::-webkit-scrollbar { width: 16px; }
.carte-list::-webkit-scrollbar-track { background: #fff; border-radius: 999px; margin: 4px 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.carte-list::-webkit-scrollbar-thumb { background: #000; border-radius: 999px; min-height: 80px; box-shadow: 0 2px 8px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.15); }
.carte-list::-webkit-scrollbar-thumb:hover { background: #1a1a1a; }

@media (max-width: 900px) {
  .carte-layout { grid-template-columns: 1fr; height: auto; }
  .carte-map { order: -1; height: 420px; }   /* carte en haut */
  .carte-list { order: 1; max-height: 360px; } /* liste en bas */
}

/* =====================================================================
   NOS ADRESSES
   ===================================================================== */
/* Fond orange uni (couleur de marque) */
.adresses {
  position: relative; overflow: hidden; color: #fff;
  background: var(--primary);
}
.adresses .eyebrow { color: #20100a; }
.adresses-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 88px); line-height: .94; color: #fff;
  margin-bottom: clamp(36px, 5vw, 60px);
  text-shadow: 0 4px 22px rgba(60,20,0,.4);
}
.adresses-accent {
  color: #1c0a05; font-style: italic;
  white-space: nowrap;
}
/* Carrousel défilant vers la droite */
.adresses-grid { overflow: hidden; padding-bottom: 16px; }
.adresses-track {
  display: flex; gap: 22px; width: max-content;
  perspective: 1100px;            /* profondeur pour l'effet 3D */
  animation: adressesScroll 42s linear infinite;
}
.adresses-grid:hover .adresses-track { animation-play-state: paused; }
@keyframes adressesScroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.adresse-card {
  flex: 0 0 clamp(260px, 80vw, 300px);
  background: #141011;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 18px 40px rgba(28,10,2,.34);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease;
}
/* Façade et textes "flottent" en relief lors de l'inclinaison 3D */
.adresse-media { transform: translateZ(34px); }
.adresse-tag { transform: translateZ(52px); }
.adresse-city, .adresse-info { transform: translateZ(22px); }
/* Barre de défilement discrète */
.adresses-grid::-webkit-scrollbar { height: 8px; }
.adresses-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 999px; }
.adresses-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; }
.adresse-card:hover { transform: translateY(-8px); }
/* Cartes noires uniformes : accents conservés uniquement sur les tags/hover */
.adresse-card:nth-child(odd),
.adresse-card:nth-child(even) {
  background: #141011;
  border-color: rgba(255,255,255,.08);
}
.adresse-card:nth-child(odd):hover {
  border-color: var(--primary);
  box-shadow: 0 26px 54px rgba(0,0,0,.5);
}
.adresse-card:nth-child(even):hover {
  border-color: var(--violet-light);
  box-shadow: 0 26px 54px rgba(0,0,0,.5);
}
.adresse-media {
  border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; margin-bottom: 16px;
}
/* Mini-carte à la place de la photo de façade */
.adresse-map { background: #15100f; }
.adresse-map .leaflet-container { width: 100%; height: 100%; background: #15100f; font-family: var(--font-body); }
.adresse-map .leaflet-popup-content-wrapper { border-radius: 10px; }
.adresse-map .leaflet-popup-content { margin: 8px 12px; font-size: 13px; }
.adresse-map .leaflet-popup-content strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.adresse-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.adresse-card:hover .adresse-media img { transform: scale(1.07); }
.adresse-tag {
  display: inline-block; color: #fff;
  font: 700 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em;
  padding: 7px 12px; border-radius: 999px;
}
.adresse-card:nth-child(odd) .adresse-tag {
  background: linear-gradient(180deg, #ff9a3d, #e2362a);
  box-shadow: 0 6px 16px rgba(226,54,42,.45);
}
.adresse-card:nth-child(even) .adresse-tag {
  background: linear-gradient(180deg, var(--violet-light), var(--violet));
  box-shadow: 0 6px 16px rgba(124,58,237,.5);
}
.adresse-city {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 32px); color: #fff; margin: 12px 0 8px;
}
.adresse-card:nth-child(even) .adresse-city { color: #fff; }
.adresse-info { margin: 0; font-size: 14px; color: #cfc4be; line-height: 1.7; }
.adresses-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

@media (max-width: 980px) {
  .adresses-accent { white-space: normal; }
}

/* =====================================================================
   FRANCHISE
   ===================================================================== */
.franchise {
  background: linear-gradient(160deg, #2bb6cc 0%, #5dd1e3 55%, #baeeff 100%);
  color: #06363f; text-align: center;
  position: relative; overflow: hidden;
}
.franchise-logo {
  position: absolute; left: clamp(40px, 16vw, 260px); bottom: clamp(60px, 12vw, 130px);
  width: clamp(120px, 17vw, 230px); z-index: 1;
  filter: drop-shadow(0 10px 22px rgba(6,54,63,.28));
  transform: translateY(0) rotate(-4deg);
}
@keyframes franchiseLogoFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}
/* Chute depuis le haut quand la section entre à l'écran, puis flottement */
.franchise-logo.reveal { opacity: 0; transition: none; }
.franchise-logo.reveal.in-view {
  animation:
    franchiseDrop 1.15s cubic-bezier(.3,.9,.4,1) both,
    franchiseLogoFloat 5s ease-in-out 1.35s infinite;
}
@keyframes franchiseDrop {
  0%   { opacity: 0; transform: translateY(-100vh) rotate(-16deg); }
  8%   { opacity: 1; }
  55%  { transform: translateY(0) rotate(-4deg); }
  70%  { transform: translateY(-28px) rotate(2deg); }
  83%  { transform: translateY(0) rotate(-4deg); }
  92%  { transform: translateY(-9px) rotate(-2deg); }
  100% { opacity: 1; transform: translateY(0) rotate(-4deg); }
}
/* Miroir à droite : wordmark texte "100% Crousti" avec la même chute + flottement */
.franchise-logo--right {
  left: auto; right: clamp(40px, 16vw, 260px);
  width: auto; display: inline-flex; align-items: center; justify-content: center;
  transform: translateY(0) rotate(4deg);
  filter: drop-shadow(0 10px 22px rgba(6,54,63,.28));
}
.franchise-wordmark {
  display: inline-flex; flex-direction: column; align-items: center; line-height: .82;
  font-family: var(--font-display); text-transform: uppercase; color: #fff;
  text-shadow: 0 4px 0 rgba(6,54,63,.35), 0 12px 24px rgba(6,54,63,.25);
  letter-spacing: .02em;
}
.franchise-wordmark-pct { font-size: clamp(38px, 5.4vw, 74px); }
.franchise-wordmark-name { font-size: clamp(46px, 6.8vw, 96px); letter-spacing: .01em; }
@keyframes franchiseLogoFloatRight {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50%      { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes franchiseDropRight {
  0%   { opacity: 0; transform: translateY(-100vh) rotate(16deg); }
  8%   { opacity: 1; }
  55%  { transform: translateY(0) rotate(4deg); }
  70%  { transform: translateY(-28px) rotate(-2deg); }
  83%  { transform: translateY(0) rotate(4deg); }
  92%  { transform: translateY(-9px) rotate(2deg); }
  100% { opacity: 1; transform: translateY(0) rotate(4deg); }
}
.franchise-logo--right.reveal.in-view {
  animation:
    franchiseDropRight 1.15s cubic-bezier(.3,.9,.4,1) both,
    franchiseLogoFloatRight 5s ease-in-out 1.35s infinite;
}

/* Sur petit écran, les wordmarks chevaucheraient le bouton : on les masque */
@media (max-width: 820px) { .franchise-logo { display: none; } }

/* =====================================================================
   INTERNATIONAL
   ===================================================================== */
.international {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(246,139,31,.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(227,59,143,.22) 0%, transparent 45%),
    linear-gradient(160deg, #1a0d10 0%, #2b1a18 60%, #3a1f22 100%);
}
.international::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('./assets/pic/bg-carte.jpg') center/cover no-repeat;
  opacity: .18; mix-blend-mode: screen;
}
.intl-glow {
  position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,91,166,.14) 0%, transparent 55%);
  animation: intlGlow 9s ease-in-out infinite;
}
@keyframes intlGlow { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.international > .container { position: relative; z-index: 1; }
.international .eyebrow { color: var(--accent); }
.international .section-title { color: #fff; margin-bottom: 22px; }
.intl-lead { margin-inline: auto; max-width: 64ch; color: #e9d9d5; margin-bottom: 40px; }
.intl-lead.reveal { opacity: 0; transform: translateY(20px); filter: blur(8px); letter-spacing: .12em; transition: none; }
.intl-lead.reveal.in-view {
  animation: intlLeadIn 1.1s cubic-bezier(.2,1,.3,1) both;
}
@keyframes intlLeadIn {
  0%   { opacity: 0; transform: translateY(20px); filter: blur(8px); letter-spacing: .12em; }
  50%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; letter-spacing: 0; }
}
.intl-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 880px; margin: 0 auto;
}
.intl-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; border-radius: 22px;
  background: rgba(20,10,12,.72);
  border: 2px solid rgba(255,91,166,.35);
  color: #fff; text-align: left;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.2,1,.3,1), border-color .3s ease, box-shadow .3s ease;
}
.intl-card::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 55%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.10), transparent);
  transform: skewX(-14deg); transition: left .8s cubic-bezier(.2,1,.3,1);
}
.intl-card:hover { transform: translateY(-6px) scale(1.02); border-color: var(--accent); box-shadow: 0 22px 44px rgba(227,59,143,.28); }
.intl-card:hover::before { left: 130%; }
.intl-flag {
  font-size: clamp(46px, 6vw, 62px); line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
  animation: intlFlagBob 4.5s ease-in-out infinite;
}
.intl-card--ma .intl-flag { animation-delay: .8s; }
@keyframes intlFlagBob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
.intl-meta { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.intl-country { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .02em; }
.intl-card--es .intl-country { color: #FFC107; }
.intl-card--ma .intl-country { color: #FF5BA6; }
.intl-city { font-size: 13.5px; color: #d9ccc5; line-height: 1.35; }
.intl-count { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.15); }
.intl-count strong { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 46px); line-height: 1; color: #fff; }
.intl-count small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #b9aaa3; }
@media (max-width: 720px) {
  .intl-grid { grid-template-columns: 1fr; }
  .intl-card { padding: 18px 20px; gap: 14px; }
  /* Saut de ligne après "Aussi" (le 6e span est l'espace) */
  .international .section-title { display: flex; flex-wrap: wrap; justify-content: center; }
  .international .section-title span:nth-child(6) { flex-basis: 100%; height: 0; width: 0; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .intl-glow, .intl-flag { animation: none; }
}
.franchise .eyebrow { color: #fff; letter-spacing: .22em; }
.franchise .section-title { color: #fff; font-size: clamp(40px, 8vw, 96px); margin-bottom: 26px; text-shadow: 0 6px 20px rgba(6,54,63,.25); }
.franchise-inner { max-width: 860px; margin-inline: auto; }
.franchise-lead { font-size: clamp(16px, 2vw, 19px); margin: 0 auto 16px; max-width: 62ch; }
.franchise-lead strong { color: #06363f; }
.franchise-punch { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.5; margin: 28px 0 32px; font-weight: 600; }
.franchise-punch strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.25em; display: inline-block; margin-top: 6px; }
.btn-light { background: #fff; color: var(--dark); box-shadow: 0 12px 26px rgba(6,54,63,.25); }
.btn-light:hover { background: var(--dark); color: #fff; }
.franchise-contact {
  margin: 22px 0 0; font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(6,54,63,.85); letter-spacing: .02em;
}
.franchise-contact a {
  color: #06363f; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid rgba(6,54,63,.35);
  padding-bottom: 1px; transition: border-color .2s ease, color .2s ease;
}
.franchise-contact a:hover { color: #000; border-bottom-color: #06363f; }
.franchise-contact-sep { display: inline-block; margin: 0 .55em; color: rgba(6,54,63,.55); }

/* Titre animé lettre par lettre (effet Framer) */
.fx-letters span { display: inline-block; opacity: 0; will-change: transform; }
.fx-letters.in-view span { animation: letterPop .55s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * .028s); }
@keyframes letterPop {
  0% { opacity: 0; transform: translateY(26px) scale(.8) rotate(-5deg); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .fx-letters span { opacity: 1 !important; } }

/* =====================================================================
   RESTAURANTS
   ===================================================================== */
.resto .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.resto-search { margin: 30px 0 22px; }
.resto-search input {
  width: min(100%, 420px); padding: 14px 18px; border-radius: 999px;
  border: 2px solid #e7d6cc; font: 16px var(--font-body); background: #fff;
}
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.store {
  background: var(--bg-alt); border: 2px solid #f1e4db; border-radius: 16px; padding: 18px 20px;
}
.store h4 { font-family: var(--font-display); text-transform: uppercase; color: var(--secondary); margin: 0 0 6px; font-size: 20px; }
.store p { margin: 0; font-size: 14px; color: var(--muted); }
.store.hidden { display: none; }
.resto .more { margin-top: 30px; text-align: center; }

/* =====================================================================
   TÉMOIGNAGE
   ===================================================================== */
.temoignage {
  position: relative; overflow: hidden;
  background: var(--accent);
}
/* Fond "mur 100% TASTY" + voile pour la lisibilité */
.temoignage::before {
  content: ""; position: absolute; top: -15%; left: 0; right: 0; height: 130%; z-index: 0;
  background:
    linear-gradient(180deg, rgba(38,8,26,.58) 0%, rgba(30,6,20,.66) 100%),
    url('./assets/pic/mur-tasty.jpg') center/cover no-repeat;
  transform: translate3d(0, var(--pary, 0px), 0); will-change: transform;
}
.temoignage > .container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 72px); text-align: left;
}
.temoignage blockquote {
  margin: 0; max-width: 20ch; text-align: left;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(26px, 4.4vw, 52px); color: #fff; line-height: 1.05;
  text-shadow: 0 6px 26px rgba(0,0,0,.45);
}
.temoignage blockquote span { color: var(--accent); }
.temoignage-mascot {
  order: -1; flex: none;                 /* mascotte à gauche sur desktop */
  width: auto; height: clamp(220px, 26vw, 380px); margin: 0;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,.5));
  animation: mascotFloat 5s ease-in-out infinite;
}
@media (max-width: 760px) {
  .temoignage > .container { flex-direction: column; text-align: center; }
  .temoignage-mascot { order: 0; margin-top: clamp(22px, 5vw, 40px); height: clamp(200px, 42vw, 320px); }
  .temoignage blockquote { text-align: center; margin-inline: auto; }
}

/* =====================================================================
   INSTAGRAM
   ===================================================================== */
.instagram { text-align: center; }
.insta-carousel {
  overflow: hidden; margin: 40px 0; width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.insta-track {
  display: flex; gap: 14px; width: max-content;
  animation: instaScroll 36s linear infinite;
}
/* vers la droite : on part de -50% (2e copie) vers 0 (1re copie) */
@keyframes instaScroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* 2e rangée : sens inverse (vers la gauche), légèrement décalée en vitesse */
.insta-track--reverse { animation: instaScrollReverse 42s linear infinite; }
@keyframes instaScrollReverse { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.insta-carousel:hover .insta-track { animation-play-state: paused; }
.insta-track img { flex: none; width: clamp(180px, 22vw, 240px); aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
/* rapproche la 2e rangée de la 1re */
.insta-carousel + .insta-carousel { margin-top: -26px; }
@media (prefers-reduced-motion: reduce) { .insta-track { animation: none; } }

/* =====================================================================
   ÉCOSYSTÈME SOCIAL
   ===================================================================== */
.social-eco {
  margin-top: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: .88fr 1.12fr;   /* téléphone à gauche, texte à droite */
  gap: clamp(20px, 3vw, 40px); align-items: center; text-align: left;
  background: none;                 /* pas de fond */
  padding: 0;
  position: relative;
}
.social-eco-visual { position: relative; z-index: 1; display: flex; justify-content: center; order: 1; }
.social-eco-panel { order: 2; }
.social-eco-visual img {
  width: min(100%, 300px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
  animation: socialPhoneFloat 5s ease-in-out infinite;
}
@keyframes socialPhoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
.social-eco-panel { position: relative; z-index: 1; color: var(--dark); }
.social-eco-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 44px); color: var(--dark); line-height: 1;
  margin: 0 0 clamp(16px, 2vw, 22px);
}
.social-eco-title span { color: var(--secondary); }
.social-eco-badge {
  display: inline-block; vertical-align: middle;
  height: clamp(64px, 8vw, 96px); width: auto; margin-left: 10px;
  filter: drop-shadow(0 8px 20px rgba(227,59,143,.34));
  animation: socialPhoneFloat 5s ease-in-out infinite;
}
.social-eco-text { color: var(--muted); margin: 14px 0 24px; max-width: 48ch; }

/* Instagram + TikTok côte à côte sur la 1re ligne, Facebook en pleine largeur dessous */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Facebook : même largeur qu'une carte du haut, centré sur la ligne */
.social-card--fb { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
.social-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid rgba(43,26,24,.12);
  border-radius: 16px; padding: 11px 16px;
  box-shadow: 0 6px 18px rgba(43,26,24,.08);
  position: relative; overflow: hidden;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, border-color .28s ease;
}
/* Reflet qui balaie la carte au survol */
.social-card::before {
  content: ""; position: absolute; top: 0; left: -70%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(227,59,143,.18), transparent);
  transform: skewX(-18deg); pointer-events: none;
  transition: left .55s ease;
}
.social-card:hover::before { left: 130%; }
.social-card:hover { transform: translateX(6px) translateY(-3px) scale(1.015); }
/* Halo coloré spécifique à chaque réseau */
.social-card--ig:hover { border-color: #dc2743; box-shadow: 0 16px 32px rgba(220,39,67,.26); }
.social-card--tt:hover { border-color: #111; box-shadow: 0 16px 32px rgba(0,0,0,.22); }
.social-card--fb:hover { border-color: #1877F2; box-shadow: 0 16px 32px rgba(24,119,242,.28); }
.social-ic {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.social-card:hover .social-ic { transform: rotate(-8deg) scale(1.14); }
.social-ic svg { width: 24px; height: 24px; }
.social-card--ig .social-ic { background: linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888); }
.social-card--tt .social-ic { background: #000; }
.social-card--fb .social-ic { background: #1877F2; }
.social-meta { display: flex; flex-direction: column; line-height: 1.1; gap: 3px; min-width: 0; }
.social-meta small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-meta strong {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  font-size: 20px; color: var(--dark);
}
.social-meta small { color: var(--muted); font-size: 13px; }
.social-go {
  margin-left: auto; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dark); color: #fff; font-size: 15px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .25s ease;
}
.social-card:hover .social-go { transform: translate(2px,-2px) rotate(10deg); background: var(--secondary); }
.social-follow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Mobile : on empile l'illustration au-dessus, le panneau dessous.
   On garde Instagram + TikTok côte à côte pour éviter les cartes trop larges/vides. */
@media (max-width: 760px) {
  .social-eco { grid-template-columns: 1fr; text-align: center; }
  .social-eco-panel { order: 1; }
  .social-eco-visual { order: 2; }
  .social-grid { text-align: left; gap: 8px; }
  .social-card { padding: 10px 12px; gap: 10px; }
  .social-ic { width: 40px; height: 40px; }
  .social-meta strong { font-size: 17px; }
}

/* =====================================================================
   APPLICATION MOBILE
   ===================================================================== */
.app-section { background: var(--dark); color: #fff; overflow: hidden; padding-block: clamp(44px, 6vw, 84px); }
.app-section .eyebrow { color: var(--primary); }
.app-section .section-title { color: #fff; }
.app-section .lead { color: #e7d9d3; }
.app-card { display: block; }
/* Avantages : vague de pulsation (chaque puce s'illumine à tour de rôle) */
.app-benefits { margin: 24px 0 28px; }
.app-benefits-track {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 20px;
}
.app-benefits-track li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  padding: 9px 16px; border-radius: 999px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  font-size: 15px; color: #fff; white-space: nowrap;
  animation: benefitPulse 3.4s ease-in-out infinite;
}
.app-benefits-track li:nth-child(1) { animation-delay: 0s; }
.app-benefits-track li:nth-child(2) { animation-delay: .35s; }
.app-benefits-track li:nth-child(3) { animation-delay: .7s; }
.app-benefits-track li:nth-child(4) { animation-delay: 1.05s; }
@keyframes benefitPulse {
  0%, 72%, 100% { transform: translateY(0) scale(1); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); box-shadow: none; }
  16%           { transform: translateY(-6px) scale(1.06); background: rgba(246,139,31,.22); border-color: rgba(246,139,31,.7); box-shadow: 0 8px 22px rgba(246,139,31,.35); }
}
.app-benefit-ic { font-size: 18px; }
.app-stores { display: flex; gap: 14px; flex-wrap: wrap; }
.app-stores--center { justify-content: center; margin-top: clamp(26px, 4vw, 44px); }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px; padding: 9px 16px; color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.store-badge:hover { transform: translateY(-3px); background: #141414; }
.store-ic { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: .01em; opacity: .92; }
.store-badge strong { font-family: var(--font-body); font-weight: 600; font-size: 19px; letter-spacing: .01em; }

.app-card-rating {
  text-align: center; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: 30px 26px;
}
.app-rating-num { font-family: var(--font-display); font-size: clamp(52px,7vw,72px); color: #fff; line-height: 1; }
.app-rating-num span { font-size: .38em; color: #c9b8b1; }
.app-rating-stars { color: #FFB400; font-size: 22px; letter-spacing: 3px; margin: 8px 0; }
.app-rating-label { color: #c9b8b1; font-size: 13px; }

/* Captures app : rangée centrée, apparition une par une au scroll */
.app-screens {
  margin-top: clamp(26px, 4vw, 44px);
  display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap;
  gap: clamp(16px, 3vw, 48px);
}
.app-screens img {
  height: clamp(230px, 28vw, 360px); width: auto;
  filter: drop-shadow(0 20px 38px rgba(0,0,0,.5));
}
/* écran du milieu un peu surélevé/agrandi (effet vitrine) */
.app-screens img:nth-child(2) { height: clamp(255px, 31vw, 400px); }

/* Entrée dynamique décalée (pop + rotation), puis flottement */
.app-screens img.reveal { opacity: 0; transition: none; }
.app-screens img:nth-child(1).reveal.in-view { animation: appScreenIn .8s cubic-bezier(.2,1.25,.35,1) .05s both, appScreenFloat 5s ease-in-out 1.0s infinite; }
.app-screens img:nth-child(2).reveal.in-view { animation: appScreenIn .8s cubic-bezier(.2,1.25,.35,1) .28s both, appScreenFloat 5.4s ease-in-out 1.3s infinite; }
.app-screens img:nth-child(3).reveal.in-view { animation: appScreenIn .8s cubic-bezier(.2,1.25,.35,1) .51s both, appScreenFloat 5.8s ease-in-out 1.6s infinite; }
@keyframes appScreenIn {
  0%   { opacity: 0; transform: translateY(90px) scale(.82) rotate(-7deg); }
  60%  { opacity: 1; transform: translateY(-12px) scale(1.04) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes appScreenFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .social-eco-visual img, .app-screens img,
  .app-benefits-track li, .mu-traits li, .mu-traits li span,
  .adresses-track, .hero-badge, .footer-badge, .footer-word { animation: none; }
  /* Sans auto-défilement : on rend le carrousel d'adresses balayable au doigt */
  .adresses-grid {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .adresses-track { width: max-content; }
  .adresse-card { scroll-snap-align: center; }
}

/* =====================================================================
   UNIVERS DE LA MASCOTTE
   ===================================================================== */
.mu {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 80% at 82% -10%, #3a1226 0%, #1a0a12 46%, #140a10 100%);
}
.mu-bg {
  position: absolute; top: -15%; left: 0; right: 0; height: 130%; z-index: 0; pointer-events: none;
  background: url('./assets/pic/mur-tasty.jpg') center/cover;
  opacity: .07; mix-blend-mode: screen;
  transform: translate3d(0, var(--pary, 0px), 0); will-change: transform;
}
.mu > .container { position: relative; z-index: 1; }
.mu .eyebrow { color: var(--accent); }
.mu .section-title, .mu .lead { color: #fff; }

/* Intro — la mascotte comme personnage */
.mu-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,64px); align-items: center; }
.mu-title { font-size: clamp(46px, 8vw, 104px); line-height: .9; }
.mu-title span { color: var(--secondary); font-style: italic; text-shadow: 0 0 30px rgba(227,59,143,.5); }
.mu .lead { color: #e7d9d3; }
.mu-traits { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.mu-traits li {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
  animation: traitBob 2.8s ease-in-out infinite;
}
/* vague décalée + couleur d'accent à chaque puce */
.mu-traits li:nth-child(1) { animation-delay: 0s; }
.mu-traits li:nth-child(2) { animation-delay: .18s; }
.mu-traits li:nth-child(3) { animation-delay: .36s; }
.mu-traits li:nth-child(4) { animation-delay: .54s; }
.mu-traits li:hover { background: rgba(227,59,143,.18); border-color: var(--secondary); }
.mu-traits li span { font-size: 16px; display: inline-block; animation: traitWiggle 2.8s ease-in-out infinite; animation-delay: inherit; }
@keyframes traitBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes traitWiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }
.mu-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.mu-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.mu-hero-glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,59,143,.5) 0%, transparent 65%);
  filter: blur(12px); animation: mascotGlow 5s ease-in-out infinite;
}
.mu-hero-img {
  position: relative; z-index: 1; width: min(100%, 380px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.6));
  animation: mascotFloat 5s ease-in-out infinite;
}
.mu-bubble {
  position: absolute; z-index: 2;
  background: #fff; color: var(--dark); font-weight: 800; font-size: 14px;
  padding: 9px 14px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.35);
  animation: muBubble 4s ease-in-out infinite;
}
.mu-bubble::after { content: ""; position: absolute; bottom: -5px; left: 22px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.mu-bubble--1 { top: 10%; left: 0; }
.mu-bubble--2 { bottom: 16%; right: 0; animation-delay: 1.6s; }
@keyframes muBubble { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-9px) rotate(2deg); } }

/* Origine */
.mu-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px,4vw,56px); align-items: center; margin-top: clamp(48px,8vw,100px); }
.mu-story-media img {
  width: 100%; border-radius: var(--radius); padding: 18px;
  background: linear-gradient(160deg, rgba(246,139,31,.16), rgba(227,59,143,.16));
  border: 1px solid rgba(255,255,255,.1);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.5));
}
.mu-h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(28px,4vw,46px); color: #fff; margin: 8px 0 16px; }
.mu-story-copy p { color: #d9ccc5; margin: 0 0 14px; }

.mu-subtitle {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(24px,3.2vw,40px); color: #fff; text-align: center;
  margin: clamp(48px,7vw,90px) 0 26px;
}

/* Anecdotes */
.mu-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.mu-fact {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 22px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease;
}
.mu-fact:hover { transform: translateY(-6px); border-color: var(--secondary); background: rgba(227,59,143,.1); }
.mu-fact-ic { font-size: 30px; display: block; margin-bottom: 12px; }
.mu-fact p { margin: 0; font-size: 14px; color: #d9ccc5; }
.mu-fact strong { color: #fff; }

/* Galerie photos */
.mu-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.mu-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px;
  background: radial-gradient(circle at 50% 42%, rgba(227,59,143,.16) 0%, transparent 70%);
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  transition: border-color .3s ease, filter .3s ease;
}
.mu-gallery img:hover { border-color: var(--secondary); filter: drop-shadow(0 14px 26px rgba(227,59,143,.45)); }
/* Entrée "pop" rotative décalée au scroll (alternée gauche/droite) */
.mu-gallery img.reveal { opacity: 0; transition: none; }
.mu-gallery img.reveal.in-view { animation: muGalleryPop .7s cubic-bezier(.2,1.35,.35,1) both; }
.mu-gallery img:nth-child(even).reveal.in-view { animation-name: muGalleryPopAlt; }
.mu-gallery img:nth-child(1).in-view { animation-delay: .04s; }
.mu-gallery img:nth-child(2).in-view { animation-delay: .11s; }
.mu-gallery img:nth-child(3).in-view { animation-delay: .18s; }
.mu-gallery img:nth-child(4).in-view { animation-delay: .25s; }
.mu-gallery img:nth-child(5).in-view { animation-delay: .32s; }
.mu-gallery img:nth-child(6).in-view { animation-delay: .39s; }
.mu-gallery img:nth-child(7).in-view { animation-delay: .46s; }
.mu-gallery img:nth-child(8).in-view { animation-delay: .53s; }
@keyframes muGalleryPop {
  0%   { opacity: 0; transform: translateY(48px) scale(.5) rotate(-16deg); }
  60%  { opacity: 1; transform: translateY(-8px) scale(1.08) rotate(6deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes muGalleryPopAlt {
  0%   { opacity: 0; transform: translateY(48px) scale(.5) rotate(16deg); }
  60%  { opacity: 1; transform: translateY(-8px) scale(1.08) rotate(-6deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

/* Vidéos */
.mu-videos { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mu-video {
  position: relative; display: block; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5; background: #1f0f17; border: 1px solid rgba(255,255,255,.1);
}
.mu-video > img {
  width: 100%; height: 100%; object-fit: contain; padding: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(246,139,31,.2) 0%, transparent 70%);
  transition: transform .4s ease;
}
.mu-video:hover > img { transform: scale(1.06); }
.mu-video-play {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 50%; padding-left: 4px;
  background: rgba(227,59,143,.92); color: #fff; display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .25s ease, background .25s ease;
}
.mu-video:hover .mu-video-play { transform: translate(-50%,-50%) scale(1.14); background: var(--secondary); }
.mu-video-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(0deg, rgba(10,5,8,.92), transparent); font-weight: 700; font-size: 14px;
}

/* Futures aventures */
.mu-roadmap { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mu-step {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 24px;
  transition: transform .3s ease, border-color .3s ease;
}
.mu-step:hover { transform: translateY(-6px); border-color: var(--accent); }
.mu-step-tag {
  display: inline-block; font: 700 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark)); padding: 6px 11px; border-radius: 999px; margin-bottom: 14px;
}
.mu-step:nth-child(2) .mu-step-tag { background: linear-gradient(180deg, var(--violet-light), var(--violet)); }
.mu-step:nth-child(3) .mu-step-tag { background: linear-gradient(180deg, #ff5a4d, var(--secondary)); }
.mu-step h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; color: #fff; margin: 0 0 8px; }
.mu-step p { margin: 0; color: #d9ccc5; font-size: 14px; }

@media (max-width: 900px) {
  .mu-hero, .mu-story { grid-template-columns: 1fr; }
  .mu-story-copy { order: -1; }   /* texte au-dessus, image en dessous sur mobile */
  .mu-facts, .mu-gallery { grid-template-columns: repeat(2,1fr); }
  .mu-videos, .mu-roadmap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mu-videos { grid-template-columns: 1fr; }
  /* Avantages app : 2 par ligne sur mobile */
  .app-benefits-track { gap: 8px; }
  .app-benefits-track li {
    flex: 1 1 calc(50% - 4px); min-width: 0; box-sizing: border-box;
    justify-content: center; text-align: center;
    white-space: normal; line-height: 1.15; font-size: 12.5px; padding: 9px 8px; gap: 6px;
  }
  /* Section app : un peu plus d'air sur mobile */
  .app-section { padding-block: clamp(56px, 14vw, 84px); }
  .app-benefits { margin: 20px 0 26px; }
  .app-screens { margin-top: 30px; gap: 14px; }
  .app-stores--center { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .mu-hero-img, .mu-hero-glow, .mu-bubble { animation: none; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--dark); color: #fff; padding: 70px 0 40px; }
.footer-logos {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 48px); margin-bottom: 26px; flex-wrap: wrap;
}
.footer-badge {
  display: block; width: clamp(140px, 18vw, 190px); height: auto; margin: 0;
  filter: drop-shadow(0 10px 26px rgba(227,59,143,.35));
  animation: socialPhoneFloat 6s ease-in-out infinite;
}
.footer-word {
  display: block; width: clamp(110px, 14vw, 150px); height: auto;
  filter: drop-shadow(0 10px 26px rgba(227,59,143,.28));
  animation: socialPhoneFloat 6s ease-in-out infinite;
}
.footer-slogan { font-family: var(--font-display); font-size: clamp(34px, 6vw, 70px); color: var(--accent); text-align: center; }
.footer-slogan span { color: var(--secondary); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin: 40px 0 30px; }
.footer-links a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; opacity: .85; }
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 34px; }
.footer-social a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.footer-social a:hover { transform: translateY(-3px); background: var(--secondary); color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { text-align: center; color: #b3a59e; font-size: 14px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; opacity: .85; }
.footer-bottom a:hover { opacity: 1; color: var(--accent); }

/* =====================================================================
   MASCOTTE (animation partagée avec .hero-mascot-mini)
   ===================================================================== */
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-1deg);} 50%{ transform: translateY(-8px) rotate(2deg);} }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .histoire .grid, .franchise .grid { grid-template-columns: 1fr; }
  /* Héro : la mascotte passe au-dessus, le texte dessous, le tout centré */
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-mascot { order: -1; }
  .hero-mascot-tilt { width: min(64%, 300px); }
  /* Badges "100% Tasty" / "100% Crousti" : recalés sur les coins de la mascotte
     centrée (elle ne fait que ~64% de la largeur en mobile) */
  .hero-badge { top: 4%; left: 10%; width: clamp(58px, 15vw, 88px); height: clamp(58px, 15vw, 88px); }
  .hero-badge--alt { top: auto; left: auto; right: 10%; bottom: 6%; }
  .hero-title, .hero .lead { margin-inline: auto; }
  .ht-grad { margin-inline: auto; }
  /* Rangée ACCRO : ACCRO. centré au milieu, mini-mascotte collée à droite */
  .ht-accro-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%; max-width: 100%;
    gap: 0;
  }
  .ht-accro-row .ht-grad { grid-column: 2; margin: 0; }
  .hero-mascot-mini {
    grid-column: 3; justify-self: end;
    position: static; left: auto;
  }
  .hero-cta { align-items: stretch; margin-inline: auto; }
  .br-mobile { display: inline; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; transform: none;
    flex-direction: column; gap: 6px; display: none;
    padding: 18px 22px 26px; transform-origin: top center;
    border-radius: 0 0 22px 22px; overflow: hidden;
    box-shadow: 0 22px 50px rgba(0,0,0,.55);
    border-top: 1px solid rgba(255,255,255,.08);
    /* Motif Crousti en fond + léger voile pour garder les liens lisibles */
    background:
      linear-gradient(180deg, rgba(12,9,8,.34) 0%, rgba(12,9,8,.46) 55%, rgba(12,9,8,.6) 100%),
      url("./assets/pic/bg-carte.jpg") center/cover no-repeat;
  }
  .site-header.open .main-nav {
    display: flex;
    animation: navPanelIn .38s cubic-bezier(.22,1,.36,1) both;
  }
  .main-nav a {
    padding: 13px 16px; font-size: 18px; font-weight: 600;
    color: #fff; border-radius: 12px;
    background: rgba(12,9,8,.5);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(2px);
    transition: background .25s ease, transform .2s ease, color .25s ease;
  }
  .main-nav a:hover, .main-nav a:active {
    background: var(--primary); color: #fff;
    transform: translateX(4px);
  }
  .main-nav a::after { display: none; } /* pas de soulignement en mode pilule */
  /* Les liens apparaissent en cascade à l'ouverture */
  .site-header.open .main-nav a {
    animation: navLinkIn .4s cubic-bezier(.22,1,.36,1) both;
  }
  .site-header.open .main-nav a:nth-child(1) { animation-delay: .08s; }
  .site-header.open .main-nav a:nth-child(2) { animation-delay: .14s; }
  .site-header.open .main-nav a:nth-child(3) { animation-delay: .20s; }
  .site-header.open .main-nav a:nth-child(4) { animation-delay: .26s; }
  .site-header.open .main-nav a:nth-child(5) { animation-delay: .32s; }
  @keyframes navPanelIn {
    from { opacity: 0; transform: translateY(-12px) scaleY(.96); }
    to   { opacity: 1; transform: translateY(0) scaleY(1); }
  }
  @keyframes navLinkIn {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .site-header.open .main-nav,
    .site-header.open .main-nav a { animation: none; }
  }
  .lang, .btn-reserve { display: none; }
  /* Écosystème social & app : empilage vertical */
  .social-eco { grid-template-columns: 1fr; text-align: center; }
  .social-eco-text { margin-inline: auto; }
  .social-card { text-align: left; }
  .social-follow { justify-content: center; }
  .app-card { grid-template-columns: 1fr; }
  .app-benefits { grid-template-columns: 1fr; }
  .app-stores { justify-content: center; }
}
@media (max-width: 560px) {
  .fr-highlights { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  /* Stats centrées sur mobile */
  .hero-stats { justify-content: center; }
  .stat { text-align: center; padding: 6px 10px; }
  .stat:not(:first-child) { border-left: 0; padding-left: 10px; }
  .stat .label { margin-inline: auto; }
}

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
/* Intro : logo qui zoome puis l'overlay s'efface */
#intro {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg); display: grid; place-items: center;
  pointer-events: none; animation: introOut .9s ease forwards;
}
#intro img { width: min(42vw, 300px); animation: introZoom .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes introZoom { 0% { transform: scale(.25); opacity: 0; } 55% { opacity: 1; } 100% { transform: scale(1); } }
@keyframes introOut { 0%, 68% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }

/* Nav qui descend du haut */
.site-header { animation: navDrop .6s cubic-bezier(.16,1,.3,1) .35s both; }
@keyframes navDrop { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Apparition au scroll (révélée par IntersectionObserver) */
.reveal {
  opacity: 0; transform: translateY(38px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1), filter .8s ease;
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; filter: none; }
/* Variantes directionnelles pour un défilement plus vivant */
.reveal-up    { transform: translateY(64px); }
.reveal-left  { transform: translateX(-64px); }
.reveal-right { transform: translateX(64px); }
.reveal-scale { transform: scale(.82); }
.reveal-rot   { transform: translateY(44px) rotate(-4deg); }

/* Barre de progression de défilement */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1500;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  box-shadow: 0 0 12px rgba(227,59,143,.5);
  pointer-events: none;
}

/* Parallaxe (déplacée par JS) */
[data-parallax] { will-change: transform; }

/* Le hero démarre dès la fin de l'intro raccourcie */
.hero .reveal { transition-delay: .45s; transition-duration: .55s; }
.hero .reveal.in-view { transition-delay: .45s; transition-duration: .55s; }

/* =====================================================================
   POLISH GLOBAL — micro-interactions, survols, accessibilité
   ===================================================================== */
/* Soulignement animé du menu */
.main-nav a { position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .26s cubic-bezier(.16,1,.3,1);
}
.main-nav a:hover::after { transform: scaleX(1); }

/* Boutons : effet d'appui + survol un peu plus vivant */
.btn { will-change: transform; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.97); }

/* Liens de pied de page : léger soulèvement */
.footer-links a { transition: opacity .2s ease, color .2s ease, transform .2s ease; display: inline-block; }
.footer-links a:hover { transform: translateY(-2px); }

/* Focus clavier visible et homogène (accessibilité) */
a:focus-visible, button:focus-visible, .btn:focus-visible, .social-card:focus-visible, .mu-video:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px;
}

/* Images : transition de netteté à l'arrivée (évite le "pop" brut) */
img { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  #intro { display: none; }
  .site-header { animation: none; }
  .histoire-badge { animation: none; }
  .marquee-track { animation: none; }
  .exp-gallery img { animation: none; }
  .btn:hover, .btn:active { transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* =====================================================================
   MENTIONS LÉGALES & POLITIQUE DE CONFIDENTIALITÉ
   ===================================================================== */
.section.mentions { padding-top: clamp(90px, 12vw, 130px); padding-bottom: clamp(60px, 8vw, 90px); }
.section.mentions .container { max-width: 900px; }
.section.mentions .lead { font-size: 17px; color: #4a3c37; margin-bottom: 32px; }
.section.mentions p { font-size: 15.5px; line-height: 1.65; margin: 0 0 14px; color: #2b1a18; }
.section.mentions .mentions-h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(232,67,31,.18);
}
.section.mentions .mentions-list {
  list-style: none; padding: 0; margin: 0 0 18px;
}
.section.mentions .mentions-list li {
  position: relative; padding: 6px 0 6px 22px;
  font-size: 15.5px; line-height: 1.55; color: #2b1a18;
  border-bottom: 1px dashed rgba(43,26,24,.12);
}
.section.mentions .mentions-list li:last-child { border-bottom: none; }
.section.mentions .mentions-list li::before {
  content: "•"; position: absolute; left: 4px; top: 6px;
  color: var(--secondary); font-weight: 700;
}
.section.mentions .mentions-list strong { color: var(--dark); font-weight: 700; }
.section.mentions a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.section.mentions a:hover { color: var(--primary); }
.section.mentions .mentions-update { margin-top: 30px; font-size: 14px; color: #6b5651; }
.section.mentions + .section.mentions { padding-top: 0; }
