:root {
  /* Les couleurs de marque sont dans theme.css. */
  --muted: #5a5a5a;
  --bar-h: 78px;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: Manrope, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--page-bg);
  font-family: var(--body);
  color: var(--plum);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--plum); }
a:hover { color: var(--pink); }
h1, h2 { margin: 0; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Device shell ----------
   Phones: the app fills the screen.
   Larger screens: shown inside a phone frame, as in the design. */
.device { height: 100dvh; }
.screen { position: relative; height: 100%; overflow: hidden; background: var(--cream); }
.notch { display: none; }
.scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.scroll::-webkit-scrollbar { display: none; }

@media (min-width: 600px) and (min-height: 700px) {
  body { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 16px; }
  .device {
    width: 390px; height: 844px; flex: none;
    border-radius: 54px; background: #0e0e0e; padding: 12px;
    box-shadow: 0 40px 80px -30px rgba(var(--plum-rgb), .5);
  }
  .screen { border-radius: 44px; }
  .notch {
    display: block; position: absolute; z-index: 6; pointer-events: none;
    left: 50%; top: 10px; transform: translateX(-50%);
    width: 120px; height: 32px; border-radius: 20px; background: #0e0e0e;
  }
}

/* ---------- Image / video slots ---------- */
.slot { position: absolute; inset: 0; overflow: hidden; background: var(--plum); }
.slot img, .slot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot.is-empty {
  display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 10px, transparent 10px 20px),
    #6b2a52;
}
.slot-caption { font: 600 12px/1.4 var(--body); color: rgba(255, 255, 255, .7); max-width: 80%; }
.origin .slot { border-radius: 20px; }
.slot.r24 { border-radius: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 620px; background: var(--plum); }
.hero-media { position: absolute; inset: 0; }
.hero-media.slot.is-empty { align-items: flex-start; padding-top: 140px; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--plum-rgb), .55) 0%, rgba(var(--plum-rgb), 0) 22%, rgba(var(--plum-rgb), 0) 40%, rgba(var(--hero-end-rgb), .85) 78%, var(--pink) 100%);
}
.hero-top {
  position: absolute; left: 20px; right: 20px;
  top: max(16px, env(safe-area-inset-top));
  display: flex; justify-content: space-between; align-items: center; pointer-events: none;
}
@media (min-width: 600px) and (min-height: 700px) { .hero-top { top: 56px; } }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { display: block; }
.brand-name { font: 800 20px var(--display); color: #fff; letter-spacing: -.02em; }
.pts-pill {
  background: rgba(var(--plum-rgb), .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; border-radius: 999px; padding: 8px 14px;
  font: 700 13px var(--body); display: flex; gap: 6px; align-items: center;
  text-decoration: none; pointer-events: auto;
}
.pts-pill:hover { color: #fff; }
.pts-pill:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pts-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero-copy { position: absolute; left: 22px; right: 22px; bottom: 30px; pointer-events: none; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--plum); border-radius: 999px; padding: 6px 12px;
  font: 800 11px var(--body); letter-spacing: .14em;
}
.hero h1 {
  margin-top: 14px; font: 800 58px/.95 var(--display); letter-spacing: -.04em; color: #fff; text-wrap: balance;
}
.hero p { margin: 14px 0 0; font: 600 16px/1.5 var(--body); color: #fff; text-wrap: pretty; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--marquee-bg); overflow: hidden; padding: 12px 0;
  border-top: 2px solid var(--marquee-line); border-bottom: 2px solid var(--marquee-line);
}
.marquee-track {
  display: flex; width: max-content; animation: marquee 18s linear infinite;
  font: 800 18px var(--display); color: var(--plum); letter-spacing: .02em;
}
.marquee-track span { padding-right: 24px; white-space: nowrap; }

/* ---------- Shared section type ---------- */
.section { padding: 40px 22px 0; }
.kicker { font: 700 12px var(--body); color: var(--pink); letter-spacing: .14em; }
.kicker.light { color: #fff; position: relative; }
.display { margin-top: 10px; font: 800 44px/.98 var(--display); color: var(--plum); letter-spacing: -.04em; }

/* ---------- Reels ---------- */
.reels { padding-top: 34px; }
.reels-head { padding: 0 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.reels-head h2 { font: 800 34px/1 var(--display); color: var(--plum); letter-spacing: -.035em; }
.reels-head .kicker { letter-spacing: .12em; }
.reels-row {
  display: flex; gap: 12px; overflow-x: auto; padding: 18px 22px 4px;
  scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 22px;
}
.reels-row::-webkit-scrollbar { display: none; }
.reel {
  flex: none; width: 200px; height: 340px; border-radius: 24px; overflow: hidden;
  position: relative; background: var(--plum); scroll-snap-align: start;
}
.reel .slot.is-empty { align-items: flex-start; padding-top: 40px; }
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .9);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.play span {
  width: 0; height: 0; margin-left: 4px;
  border-left: 16px solid var(--pink); border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.reel-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--plum-rgb), 0), rgba(var(--plum-rgb), .85));
}
.reel-title { font: 800 17px/1.15 var(--display); color: #fff; }
.reel-sub { margin-top: 3px; font: 600 12px var(--body); color: #ffe3ee; }

/* ---------- Produits phares ---------- */
.products { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.product { position: relative; height: 220px; min-width: 0; }
.product .slot { border-radius: 20px; }
.product .slot.is-empty { align-items: flex-start; padding-top: 52px; }
.product-shade {
  position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--plum-rgb), 0) 35%, rgba(var(--plum-rgb), .88));
}
.product-price {
  position: absolute; top: 10px; right: 10px; pointer-events: none;
  background: var(--yellow); color: var(--plum); font: 800 13px var(--display);
  padding: 7px 10px; border-radius: 999px; transform: rotate(-6deg); white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(var(--plum-rgb), .6);
}
.product-label { position: absolute; left: 12px; right: 12px; bottom: 12px; pointer-events: none; }
.product-name { font: 800 17px/1.1 var(--display); color: #fff; letter-spacing: -.01em; }
.product-note { margin-top: 4px; font: 600 11px/1.3 var(--body); color: #ffe3ee; }
#vapes[hidden], .products[hidden], .vape-warning[hidden], .age-gate[hidden] { display: none; }
.reels .age-gate { margin: 18px 22px 0; }
/* Vapes en grand : une carte presque pleine largeur, la suivante dépasse pour inviter à faire défiler. */
.vape-card { width: min(78vw, 270px); height: auto; aspect-ratio: 0.62; }
.vape-card .product-price { top: 14px; right: 14px; font-size: 15px; padding: 8px 12px; }
.reels-lead { margin: 8px 22px 0; font: 600 15px/1.4 var(--body); color: var(--muted); }
.reels-lead strong { color: var(--pink); font-weight: 800; }
.reels .vape-warning { margin: 12px 22px 0; }
.age-gate {
  margin-top: 20px; border-radius: 24px; padding: 26px 22px; text-align: center;
  background: var(--plum); color: #fff;
}
.age-badge {
  margin: 0 auto; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--yellow); color: var(--yellow); font: 800 22px var(--display);
}
.age-title { margin-top: 14px; font: 800 20px var(--display); letter-spacing: -.02em; }
.age-text { margin: 6px 0 0; font: 600 14px/1.5 var(--body); color: #ffe3ee; }
.age-ok { margin-top: 16px; background: var(--yellow); color: var(--plum); padding: 14px 22px; font: 800 15px var(--body); }
.age-ok:hover { color: var(--plum); }
.age-ok:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.vape-warning {
  margin: 12px 0 0; padding: 12px 14px; border: 2px solid var(--plum); border-radius: 14px;
  font: 600 12px/1.45 var(--body); color: var(--plum); background: #fff;
}
.section-note { margin: 14px 0 0; font: 600 14px/1.5 var(--body); color: var(--muted); }

/* ---------- Origins ---------- */
.origins { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.origin { position: relative; height: 190px; min-width: 0; }
.origin .slot.is-empty { align-items: flex-start; padding-top: 28px; }
.origin-shade {
  position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--plum-rgb), 0) 45%, rgba(var(--plum-rgb), .8));
}
.origin-label { position: absolute; left: 12px; bottom: 12px; right: 12px; pointer-events: none; }
.origin-code {
  display: inline-flex; font: 800 10px var(--body); letter-spacing: .14em;
  background: var(--yellow); color: var(--plum); padding: 3px 7px; border-radius: 999px;
}
.origin-name { margin-top: 4px; font: 800 22px var(--display); color: #fff; letter-spacing: -.02em; }

/* ---------- Team ---------- */
.team { margin-top: 20px; position: relative; height: 260px; }
/* Vidéo verticale dans « équipe » : cadre plus haut. */
.team:has(video) { height: auto; aspect-ratio: 4 / 5; }
.team .slot.is-empty { align-items: flex-start; padding-top: 60px; }
.team-card {
  position: absolute; left: 12px; bottom: 12px; pointer-events: none;
  background: #fff; border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 12px 32px -16px rgba(var(--plum-rgb), .4);
}
.team-card-title { font: 800 15px var(--display); color: var(--plum); }
.team-card-sub { font: 600 12px var(--body); color: var(--muted); }

/* ---------- Rewards ---------- */
.rewards {
  background: var(--rewards-bg);
  border-radius: 28px; padding: 24px; position: relative; overflow: hidden;
}
.rewards-ring {
  position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .5); animation: spin 20s linear infinite;
}
.steps { position: relative; list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font: 700 15px/1.35 var(--body); color: #fff; }
.step-n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--plum); font: 800 14px var(--display);
}
.rewards-title { position: relative; margin-top: 10px; font: 800 40px/.98 var(--display); color: #fff; letter-spacing: -.04em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  border-radius: 999px; transition: transform .12s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.btn-dark {
  position: relative; margin-top: 18px; background: var(--plum); color: #fff;
  padding: 15px 22px; font: 700 15px var(--body);
}
.btn-dark:focus-visible { outline-color: #fff; }
.btn-dark:hover { color: #fff; }


/* ---------- Visit ---------- */
.visit { padding-bottom: 40px; }
.storefront { margin-top: 18px; position: relative; height: 220px; }
.storefront .slot.is-empty { align-items: flex-start; padding-top: 50px; }
.address-card {
  margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 18px; display: flex; flex-direction: column; gap: 4px;
}
.address { font: 800 17px var(--display); color: var(--plum); }
.hours { font: 600 14px var(--body); color: var(--muted); }
.phone { font: 700 14px var(--body); color: var(--plum); text-decoration: none; }
.phone:hover { text-decoration: underline; }
.hours[hidden], .phone[hidden], .social[hidden] { display: none; }

/* ---------- Footer / réseaux ---------- */
.footer {
  background: var(--footer-bg); color: #fff;
  padding: 36px 22px 28px;
}
.footer-title { font: 800 36px/1 var(--display); letter-spacing: -.035em; color: #fff; }
.footer-sub { margin: 8px 0 0; font: 600 14px/1.5 var(--body); color: #ffe3ee; }
.socials { margin-top: 20px; display: flex; gap: 10px; }
.social {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0;
  border-radius: 20px; padding: 14px 12px; text-decoration: none; color: #fff;
  transition: transform .12s var(--ease);
}
.social:hover { color: #fff; }
.social:active { transform: scale(.97); }
.social:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.social svg { width: 26px; height: 26px; margin-bottom: 10px; }
.social-name { font: 800 14px var(--display); }
.social-handle { font: 600 11px var(--body); opacity: .85; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-ig { background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); }
.social-tt { background: #0e0e0e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.social-tt svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.social-sc { background: #fffc00; color: #0e0e0e; }
.social-sc:hover { color: #0e0e0e; }
.social-sc svg { stroke: #0e0e0e; stroke-width: 1; }
.footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15);
  display: flex; align-items: center; gap: 10px; font: 600 12px var(--body); color: rgba(255, 255, 255, .7);
}
.footer-bottom img { display: block; }
.footer-slogan { font: 800 13px var(--display); color: #fff; margin-bottom: 2px; }
.footer-switch { color: #fff; font-weight: 700; }
.footer-switch:hover { color: var(--yellow); }

/* ---------- Barre fixe : Itinéraire + WhatsApp ---------- */
.scroll { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
.action-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8;
  display: flex; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--cream);
  box-shadow: 0 -10px 24px -14px rgba(var(--plum-rgb), .35);
}
@media (min-width: 600px) and (min-height: 700px) { .action-bar { padding-bottom: 16px; } }
.action {
  flex: 1 1 0; min-width: 0; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font: 800 15px var(--body); text-decoration: none;
  transition: transform .12s var(--ease);
}
.action:active { transform: scale(.97); }
.action:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.action svg { width: 22px; height: 22px; flex: none; }
.action[hidden] { display: none; }
.action-directions, .action-directions:hover { background: var(--yellow); color: var(--plum); }
.action-whatsapp, .action-whatsapp:hover { background: var(--plum); color: #fff; }


/* ---------- Fenêtre carte fidélité ---------- */
@keyframes promoIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.promo { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; }
.promo[hidden] { display: none; }
.promo-backdrop { position: absolute; inset: 0; background: rgba(var(--plum-rgb), .55); animation: fadeIn .25s ease; }
.promo-card {
  position: relative; width: 100%; text-align: center;
  background: var(--cream); border-radius: 28px 28px 0 0;
  padding: 30px 22px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 50px -20px rgba(var(--plum-rgb), .5);
  animation: promoIn .35s var(--ease);
}
.promo-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(var(--plum-rgb), .08); color: var(--plum); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.promo-x svg { width: 18px; height: 18px; }
.promo-badge {
  display: inline-block; background: var(--plum); color: #fff; border-radius: 999px; padding: 6px 12px;
  font: 800 11px var(--body); letter-spacing: .14em;
}
.promo-amount {
  margin: 18px auto 0; width: 132px; height: 132px; border-radius: 50%;
  background: var(--rewards-bg); color: #fff; transform: rotate(-8deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font: 800 15px var(--body); box-shadow: 0 16px 30px -16px rgba(var(--plum-rgb), .7);
}
.promo-amount span { font: 800 42px/1 var(--display); letter-spacing: -.03em; }
.promo-title { margin-top: 18px; font: 800 30px/1.02 var(--display); color: var(--plum); letter-spacing: -.035em; text-wrap: balance; }
.promo-text { margin: 10px auto 0; max-width: 300px; font: 600 15px/1.5 var(--body); color: var(--muted); }
.promo-cta { display: block; width: 100%; margin-top: 20px; padding: 17px; font-size: 16px; }
.promo-later {
  margin-top: 8px; border: 0; background: none; cursor: pointer; padding: 10px;
  font: 700 14px var(--body); color: var(--muted);
}
.promo-x:focus-visible, .promo-later:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }

/* ---------- Narrow phones ---------- */
@media (max-width: 360px) {
  .hero h1 { font-size: 50px; }
  .display { font-size: 38px; }
  .rewards-title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .rewards-ring { animation: none; }
  .promo-card, .promo-backdrop { animation: none; }
  .btn { transition: none; }
}
