/* Fneuf 茶多多 — v2 */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #C47A3A; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #4A220C; }

:root {
  --navy: #101A55;
  --cobalt: #2B44FF;
  --butter: #FFE15C;
  --pink: #FFB3D6;
  --matcha: #C6EA8D;
  --lilac: #DCCBFF;
  --cream: #FFF7E8;
  --white: #FFFFFF;
  --ink-soft: #3B4373;

  --display: "Bagel Fat One", "Pretendard Variable", system-ui, sans-serif;
  --text: "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", system-ui, sans-serif;
  --cn: "ZCOOL KuaiLe", "Microsoft YaHei", sans-serif;
  --m: clamp(16px, 3vw, 44px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 17px/1.55 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
[lang="zh"] { font-family: var(--cn); }
.nowrap { white-space: nowrap; }
::selection { background: var(--butter); color: var(--navy); }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; text-decoration: none; }
.skip:focus { clip-path: none; width: auto; height: auto; }

/* ---------- pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 800 15px/1 var(--text); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .3s var(--spring), background-color .2s, color .2s, box-shadow .3s;
}
.pill:hover { transform: translateY(-3px) scale(1.04); }
.pill:active { transform: scale(.96); }
.pill--white { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.pill--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.pill--ghost:hover { background: #fff; color: var(--navy); }
.pill--butter { background: var(--butter); color: var(--navy); }
.pill--ink { background: var(--navy); color: #fff; }
.pill--ink:hover { background: var(--cobalt); }
.pill--small { min-height: 40px; padding: 0 18px; font-size: 13px; background: var(--navy); color: #fff; }
.pill__ico { width: 18px; height: 22px; }
.round {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font: 400 32px/1 var(--display);
  display: grid; place-items: center; padding-bottom: 4px;
  transition: transform .3s var(--spring), background-color .2s;
}
.round:hover { background: #fff; color: var(--navy); transform: scale(1.1); }
.round--light { background: rgba(255,255,255,.12); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: var(--m); right: var(--m); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px; color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s, transform .4s var(--ease);
}
.nav.is-solid { background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 8px 30px rgba(16,26,85,.12); backdrop-filter: blur(10px); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.nav__lapin { width: 30px; height: 37px; transition: transform .4s var(--spring); }
.nav__brand:hover .nav__lapin { transform: rotate(-12deg); }
.nav__name { font: 22px/1 var(--display); }
.nav__cn { font-size: 20px; color: var(--butter); }
.nav.is-solid .nav__cn { color: var(--cobalt); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 999px; transition: background-color .2s; }
.nav__links a:hover { background: rgba(255,255,255,.2); }
.nav.is-solid .nav__links a:hover { background: var(--cream); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(720px, 100svh); overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 50% 30%, var(--c1) 0%, var(--c2) 78%);
  transition: --c1 1s var(--ease), --c2 1s var(--ease);
  display: grid; place-items: center;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.14) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.1) 0 2px, transparent 3px);
  background-size: 90px 90px, 130px 130px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__fallback { display: none; }
.no-webgl .hero__fallback { display: flex; position: absolute; inset: 0; justify-content: space-between; align-items: center; padding: 0 6vw; z-index: 1; }
.no-webgl .hero__fallback img { height: 62vh; width: auto; rotate: 8deg; }
.no-webgl .hero__fallback img:first-child { rotate: -8deg; }
.hero__center { position: relative; z-index: 2; text-align: center; max-width: 560px; padding: 120px 16px 160px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__title { font: clamp(24px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -0.01em; }
.hero__flavor { font: clamp(64px, 8.4vw, 132px)/.88 var(--display); letter-spacing: -0.02em; text-shadow: 0 8px 40px rgba(0,0,0,.25); }
.hero__desc { font-size: 17px; max-width: 30em; text-wrap: balance; }
.hero__price { font-weight: 800; font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.hero__center.is-swap > * { animation: swapIn .7s var(--ease) both; }
.hero__center.is-swap > *:nth-child(2) { animation-delay: .05s; }
.hero__center.is-swap > *:nth-child(3) { animation-delay: .1s; }
.hero__center.is-swap > *:nth-child(4) { animation-delay: .15s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(26px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero__switch { position: absolute; z-index: 3; bottom: 40px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .35s var(--ease), background-color .2s; }
.dots button[aria-current="true"] { width: 34px; background: #fff; }
.hero__status, .hero__addr { position: absolute; z-index: 3; bottom: 46px; font-size: 14px; font-weight: 600; }
.hero__status { left: var(--m); display: flex; align-items: center; gap: 10px; }
.hero__addr { right: var(--m); text-align: right; opacity: .9; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #4BE38E; box-shadow: 0 0 0 0 rgba(75,227,142,.6); animation: ping 2s infinite; }
.is-closed .dot { background: #FF6B6B; animation: none; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(75,227,142,0); } }

/* ---------- marquee ---------- */
.marquee { background: var(--butter); overflow: hidden; padding: 16px 0; position: relative; z-index: 2; rotate: -1.2deg; margin: -18px -10px 0; }
.marquee__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { font: clamp(22px, 2.4vw, 34px)/1 var(--display); white-space: nowrap; }
.marquee__track svg { width: 22px; height: 22px; color: var(--cobalt); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sticker text (Tealive vibe) ---------- */
.sticker {
  font: clamp(40px, 5.6vw, 84px)/.95 var(--display); color: #fff; letter-spacing: -0.01em;
  -webkit-text-stroke: 0.09em var(--navy); paint-order: stroke fill;
  text-shadow: 0.06em 0.08em 0 var(--navy);
}
.sticker--big { font-size: clamp(52px, 8vw, 128px); }
.sticker--ink { color: var(--cobalt); -webkit-text-stroke-color: var(--navy); }
.sticker--yellow { color: var(--butter); }

/* ---------- OG / fait maison ---------- */
.og { position: relative; background: var(--cream); padding: clamp(110px, 12vw, 180px) var(--m) clamp(180px, 16vw, 260px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--m); align-items: center; overflow: hidden; }
.og__art { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.og__sun { position: absolute; inset: 6%; border-radius: 50%; background: var(--lilac); }
.og__cup { position: absolute; left: 50%; bottom: 6%; height: 84%; width: auto; translate: -50% 0; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(16,26,85,.2)); }
.og__lapin { position: absolute; width: 34%; height: 42%; left: -2%; bottom: 0; color: var(--navy); animation: wobble 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
.og__pearl { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6b4a33 0 12%, #2a160c 45%); animation: float 5s ease-in-out infinite; }
.og__pearl--a { width: 44px; height: 44px; right: 8%; top: 10%; }
.og__pearl--b { width: 28px; height: 28px; right: 2%; top: 42%; animation-delay: -1.5s; }
.og__pearl--c { width: 36px; height: 36px; left: 14%; top: 8%; animation-delay: -3s; }
.og__sticker { position: absolute; right: 0; bottom: 14%; font-size: clamp(30px, 3vw, 46px); color: var(--butter); rotate: 8deg; text-align: center; animation: wobble 4s ease-in-out -1s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes wobble { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -14px); } }
.og__text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; max-width: 600px; }
.og__title { font: clamp(36px, 4.4vw, 64px)/1 var(--display); color: var(--navy); letter-spacing: -0.02em; }
.claims { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.claims li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.claims svg { width: 22px; height: 22px; color: var(--cobalt); margin-top: 4px; }
.claims b { display: block; font: 24px/1.15 var(--display); text-transform: uppercase; color: var(--navy); }
.claims span { color: var(--ink-soft); }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(110px, 14vw, 200px); }
.hills__a { fill: var(--matcha); }
.hills__b { fill: var(--navy); }

/* ---------- la gamme (rail) ---------- */
.range { background: var(--navy); color: #fff; padding: 40px 0 clamp(100px, 10vw, 150px); }
.range__head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: end; padding: 0 var(--m); }
.range__head .sticker { color: var(--pink); -webkit-text-stroke-color: #fff; text-shadow: 0.06em 0.08em 0 var(--cobalt); }
.range__intro { max-width: 30em; font-size: 18px; padding-bottom: 12px; }
.range__arrows { display: flex; gap: 10px; padding-bottom: 6px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24vw, 340px); gap: 22px; overflow-x: auto; padding: 56px var(--m) 30px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--m); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.card {
  scroll-snap-align: start; position: relative; border-radius: 30px; padding: 22px 22px 22px; color: var(--navy);
  background: linear-gradient(160deg, var(--c) 0%, var(--c2) 140%);
  display: flex; flex-direction: column; gap: 8px; min-height: 480px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}
.card img { height: 270px; width: auto; align-self: center; margin: -60px 0 10px; filter: drop-shadow(0 24px 22px rgba(16,26,85,.3)); transition: transform .6s var(--spring); pointer-events: none; }
.card:hover img { transform: translateY(-14px) rotate(-6deg) scale(1.06); }
.card h3 { font: 34px/1 var(--display); }
.card p { font-size: 15px; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; }
.card__foot b { font: 22px/1 var(--display); }

/* ---------- histoire ---------- */
.story { background: var(--cream); padding: clamp(100px, 11vw, 170px) var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: 48px var(--m); align-items: center; }
.story__text { display: flex; flex-direction: column; gap: 22px; font-size: 19px; max-width: 34em; }
.story__title { font: clamp(36px, 4.4vw, 64px)/1 var(--display); }
.story__title [lang="zh"] { color: var(--cobalt); }
.story__pics { position: relative; height: clamp(420px, 42vw, 600px); }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 12px 12px 14px; border-radius: 6px; box-shadow: 0 18px 40px rgba(16,26,85,.16); transition: rotate .5s var(--spring), scale .5s var(--spring); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font: 18px/1 var(--display); padding-top: 10px; text-align: center; }
.polaroid:hover { rotate: 0deg !important; scale: 1.05; z-index: 3; }
.polaroid--a { width: 46%; left: 0; top: 4%; rotate: -6deg; }
.polaroid--b { width: 52%; right: 0; top: 0; rotate: 5deg; }
.polaroid--c { width: 44%; left: 26%; bottom: 0; rotate: -2deg; z-index: 2; }

/* ---------- la carte ---------- */
.menu { background: #fff; padding: clamp(100px, 10vw, 150px) var(--m); border-radius: 48px 48px 0 0; }
.menu__head { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: end; }
.menu__intro { font-size: 18px; max-width: 34em; padding-bottom: 10px; }
.menu__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.menu__tabs a { text-decoration: none; font-weight: 800; font-size: 14px; text-transform: uppercase; padding: 13px 18px; border-radius: 999px; background: var(--cream); transition: background-color .2s, transform .3s var(--spring), color .2s; }
.menu__tabs a:hover { background: var(--butter); transform: translateY(-3px); }
.menu__tabs a.is-active { background: var(--navy); color: #fff; }
.cat { padding-top: 48px; display: grid; grid-template-columns: 5fr 7fr; gap: 0 var(--m); align-items: start; }
.cat[hidden] { display: none; }
.cat__pic { margin: 0; background: var(--c); border-radius: 32px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: sticky; top: 100px; }
.cat__pic img { height: 82%; width: auto; max-width: 86%; object-fit: contain; animation: bob 4.6s ease-in-out infinite; }
.cat__pic--photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; animation: none; }
.cat__lapin { width: 58%; height: 72%; color: var(--navy); animation: wobble 4s ease-in-out infinite; }
.cat.is-showing .cat__pic { animation: pop .7s var(--spring) both; }
.cat.is-showing .item { animation: swapIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + .1s); }
@keyframes pop { from { transform: scale(.85) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.cat__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 32px; }
.cat__name { font: clamp(34px, 3.4vw, 52px)/1 var(--display); }
.cat__count { font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.item { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; }
.item__top { display: flex; justify-content: space-between; gap: 14px; font-size: 17px; line-height: 1.3; }
.item__top span { font-weight: 800; white-space: nowrap; }
.item__desc { margin-top: 4px; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.pearl, .photo { width: 60px; height: 60px; border-radius: 50%; transition: transform .4s var(--spring); }
.pearl { background: var(--c); position: relative; }
.pearl::after { content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,.55); top: 11px; left: 13px; }
.photo { overflow: hidden; background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--cut { background: var(--c); display: grid; place-items: center; }
.photo--cut img { width: auto; height: 86%; object-fit: contain; }
.item:hover .pearl, .item:hover .photo { transform: scale(1.15) rotate(-10deg); }

/* ---------- commander (Tealive purple field) ---------- */
.order {
  background-color: var(--cobalt); color: #fff; padding: clamp(100px, 10vw, 150px) var(--m);
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.09) 0 26px, transparent 27px);
  background-size: 120px 120px; background-position: 0 0;
  animation: drift 40s linear infinite;
}
@keyframes drift { to { background-position: 120px 240px; } }
.order__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.order .sticker { max-width: 14ch; }
.big-outline {
  font: clamp(34px, 4.6vw, 64px)/1 var(--display); color: #fff; text-decoration: none; text-transform: uppercase;
  padding: 18px 56px 24px; border-radius: 999px; box-shadow: inset 0 0 0 5px #fff;
  transition: background-color .25s, color .25s, transform .35s var(--spring);
}
.big-outline:hover { background: #fff; color: var(--cobalt); transform: scale(1.05) rotate(-2deg); }
.order__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; width: 100%; text-align: left; }
.ticket { background: var(--cream); color: var(--navy); border-radius: 30px; padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; box-shadow: 0 8px 0 var(--navy); transition: transform .4s var(--spring); }
.ticket:hover { transform: rotate(-1.5deg) translateY(-6px); }
.ticket--deliver { background: var(--pink); }
.ticket--shop { background: var(--butter); }
.ticket__title { font: 36px/1 var(--display); }
.ticket__now { font-weight: 700; }
.hours { margin: 0; width: 100%; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font: 24px/1 var(--display); }
.ticket .pill { margin-top: auto; }

/* ---------- avis ---------- */
.reviews { background: var(--cream); padding: clamp(100px, 10vw, 150px) var(--m); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 40px; }
.reviews__sub { font-size: 19px; font-weight: 700; padding-bottom: 12px; }
.reviews__cta { margin-left: auto; margin-bottom: 8px; }
.reviews__cta .pill__ico { width: 18px; height: 18px; color: var(--butter); }
.bubbles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; align-items: start; }
.bubble { margin: 0; background: var(--c); border-radius: 30px 30px 30px 6px; padding: 28px 26px; rotate: var(--r); box-shadow: 0 6px 0 var(--navy); transition: rotate .4s var(--spring), transform .4s var(--spring); }
.bubble:nth-child(even) { margin-top: 40px; }
.bubble:hover { rotate: 0deg; transform: translateY(-8px); }
.bubble p { font-size: 18px; font-weight: 600; }
.bubble cite { display: block; margin-top: 16px; font: normal 18px/1 var(--display); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #fff; padding: clamp(70px, 8vw, 110px) var(--m) 30px; position: relative; overflow: hidden; }
.foot__lapin { display: inline-block; width: .5em; height: .62em; margin-left: .12em; vertical-align: -0.02em; color: var(--cobalt); animation: wobble 5s ease-in-out infinite; transform-origin: 50% 100%; }
.foot__word { font: clamp(56px, 12vw, 210px)/.85 var(--display); color: var(--butter); letter-spacing: -0.02em; white-space: nowrap; position: relative; z-index: 1; }
.foot__word span { color: var(--pink); font-size: .62em; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; font-size: 15px; }
.foot__cols > div { display: flex; flex-direction: column; gap: 8px; }
.foot__h { font: 20px/1 var(--display); margin-bottom: 6px; color: var(--butter); }
.foot__cols a { text-decoration: none; width: fit-content; transition: color .2s; }
.foot__cols a:hover { color: var(--pink); }
.foot__last { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; font-size: 14px; }
.foot .pill--small { background: var(--butter); color: var(--navy); }

/* ---------- entrées ---------- */
.js [data-rise] { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s var(--ease), transform .9s var(--spring); transition-delay: var(--d, 0s); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.js .polaroid[data-rise] { transform: translateY(60px) scale(.9); }
.js .polaroid[data-rise].is-in { transform: none; }

/* ---------- tablette ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .og { grid-template-columns: 1fr; }
  .og__art { max-width: 460px; }
  .range__head { grid-template-columns: 1fr auto; }
  .range__intro { grid-column: 1 / -1; grid-row: 2; }
  .story { grid-template-columns: 1fr; }
  .menu__head { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 4fr 8fr; }
  .items { grid-template-columns: 1fr; gap: 22px; }
  .bubbles { grid-template-columns: 1fr 1fr; }
  .order__cards { grid-template-columns: 1fr; }
}

/* ---------- téléphone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 10px; left: 10px; right: 10px; padding-left: 14px; }
  .nav__name { font-size: 19px; }
  .nav__cta { min-height: 42px; padding: 0 18px; font-size: 13px; }
  .hero { place-items: start center; min-height: max(760px, 100svh); }
  .hero__center { padding: 96px 16px 0; gap: 12px; }
  .hero__flavor { font-size: 15.5vw; }
  .hero__desc { font-size: 15px; }
  .hero__actions .pill { min-height: 46px; padding: 0 20px; font-size: 13px; }
  .hero__switch { bottom: 24px; }
  .round { width: 44px; height: 44px; font-size: 26px; }
  .hero__status { bottom: 84px; left: 50%; translate: -50% 0; white-space: nowrap; font-size: 13px; }
  .hero__addr { display: none; }
  .sticker { -webkit-text-stroke-width: 0.08em; }
  .og { padding-top: 90px; }
  .claims b { font-size: 20px; }
  .rail { grid-auto-columns: 78vw; }
  .card { min-height: 440px; }
  .story__pics { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .polaroid { position: static; width: auto !important; padding: 8px 8px 10px; }
  .polaroid--c { grid-column: 1 / -1; width: 70% !important; justify-self: center; }
  .polaroid figcaption { font-size: 15px; }
  .menu { border-radius: 32px 32px 0 0; }
  .cat { grid-template-columns: 1fr; }
  .cat__pic { position: static; aspect-ratio: 16 / 10; margin-bottom: 26px; border-radius: 24px; }
  .item { grid-template-columns: 50px 1fr; gap: 14px; }
  .pearl, .photo { width: 50px; height: 50px; }
  .pearl::after { width: 12px; height: 12px; top: 9px; left: 10px; }
  .menu__tabs a { padding: 11px 14px; font-size: 13px; }
  .big-outline { padding: 14px 36px 18px; }
  .ticket { padding: 26px 22px; }
  .bubbles { grid-template-columns: 1fr; }
  .bubble:nth-child(even) { margin-top: 0; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-rise] { opacity: 1; transform: none; }
}

@media (max-width: 640px) { .reviews__cta { margin-left: 0; } }

/* ---------- carte fidélité (démo) ---------- */
.loyal {
  background: var(--butter); padding: clamp(100px, 10vw, 150px) var(--m);
  display: grid; grid-template-columns: 7fr 5fr; gap: 28px var(--m); align-items: end; overflow: hidden;
}
.loyal__text { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; max-width: 680px; }
.loyal__tag { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
.steps li::before { content: counter(s); grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--butter); display: grid; place-items: center; font: 26px/1 var(--display); }
.steps b { font: 24px/1.1 var(--display); }
.steps span { color: var(--ink-soft); }
.loyal__bonus { display: flex; gap: 10px; align-items: center; font-weight: 700; background: #fff; padding: 14px 20px; border-radius: 18px; box-shadow: 0 5px 0 var(--navy); }
.loyal__bonus svg { width: 22px; height: 22px; color: var(--cobalt); flex: none; }
.loyal__actions { display: flex; flex-wrap: wrap; gap: 12px; grid-column: 1; grid-row: 2; align-self: start; }
.pill[hidden] { display: none; }
.phone { grid-column: 2; grid-row: 1 / span 2; }
.pill--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.pill--line:hover { background: var(--navy); color: #fff; }

.phone { position: relative; justify-self: center; width: min(330px, 100%); aspect-ratio: 9 / 18.5; background: var(--navy); border-radius: 52px; padding: 14px; box-shadow: 0 30px 60px rgba(16,26,85,.3); rotate: 4deg; transition: rotate .6s var(--spring); }
.phone:hover { rotate: 0deg; }
.phone::before { content: ""; position: absolute; top: 24px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 999px; background: #050a2a; z-index: 2; }
.phone__screen { height: 100%; border-radius: 40px; background: #F2F2F7; padding: 64px 16px 16px; overflow: hidden; }
.phone__wallet { font: 800 30px/1 var(--text); letter-spacing: -0.02em; margin-bottom: 16px; }
.pass { background: var(--cobalt); color: #fff; border-radius: 22px; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.pass__top { display: flex; justify-content: space-between; align-items: center; }
.pass__brand { display: flex; align-items: center; gap: 6px; font: 18px/1 var(--display); }
.pass__brand svg { width: 20px; height: 25px; }
.pass__brand [lang="zh"] { color: var(--butter); font-size: 16px; }
.pass__count { font-size: 14px; font-weight: 700; }
.pass__count b { font: 26px/1 var(--display); color: var(--butter); }
.pass__label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .85; }
.stamps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.stamp { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.stamp svg { width: 62%; height: 72%; color: var(--navy); opacity: 0; transform: scale(.3) rotate(-30deg); transition: opacity .2s, transform .5s var(--spring); }
.stamp.is-on { background: var(--butter); box-shadow: none; }
.stamp.is-on svg { opacity: 1; transform: none; }
.stamp--gift { background: var(--pink); box-shadow: none; color: var(--navy); font: 11px/1 var(--display); text-align: center; }
.stamp--gift.is-ready { animation: glow 1s ease-in-out infinite alternate; }
@keyframes glow { from { transform: scale(1); } to { transform: scale(1.18) rotate(8deg); } }
.pass__msg { font-size: 14px; font-weight: 600; min-height: 2.6em; }
.pass__qr { background: #fff; border-radius: 12px; padding: 10px; width: 58%; align-self: center; aspect-ratio: 1; }
.pass__qr svg { width: 100%; height: 100%; display: block; }
.pass__hint { text-align: center; font-size: 12px; opacity: .85; }
.pass.is-bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { transform: scale(1.04) rotate(-1deg); } }

.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; left: 50%; top: 40%; width: 14px; height: 14px; border-radius: 50%; background: var(--c); animation: burst 1.1s var(--ease) forwards; }
@keyframes burst { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(.4); opacity: 0; } }

@media (max-width: 1000px) {
  .loyal { grid-template-columns: 1fr; }
  .phone { grid-column: 1; grid-row: 2; }
  .loyal__actions { grid-row: 3; justify-content: center; }
}
@media (max-width: 640px) {
  .steps b { font-size: 20px; }
  .phone { width: min(320px, 100%); rotate: 0deg; }
  .loyal__actions .pill { min-height: 46px; padding: 0 18px; font-size: 13px; }
}
