/* ════════════════════════════════════════════════════════════════
   3DPokeCrafter — Feuille de style principale
   Design : mobile-first, esprit Pokémon, coloré mais élégant
   ════════════════════════════════════════════════════════════════ */

:root {
  --navy:        #1c2a58;
  --navy-deep:   #131d3f;
  --blue:        #2a75bb;
  --sky:         #8ed8f8;
  --sky-soft:    #e8f6fd;
  --yellow:      #ffcb05;
  --yellow-deep: #e6b400;
  --red:         #e3350d;
  --cream:       #fdfbf4;
  --paper:       #f6f8fc;
  --ink:         #22264a;
  --ink-soft:    #5a608a;
  --white:       #ffffff;
  --green:       #4caf6d;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(28, 42, 88, .08);
  --shadow-md: 0 8px 28px rgba(28, 42, 88, .14);
  --shadow-lg: 0 18px 50px rgba(28, 42, 88, .22);
  --header-h: 64px;
  --bottomnav-h: 62px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  /* semis très discret de pokéballs et d'étincelles, comme un papier d'atelier */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 340 340'%3E%3Cg fill='none' stroke='%231c2a58' stroke-width='1.4' opacity='.045'%3E%3Ccircle cx='60' cy='70' r='16'/%3E%3Cpath d='M44 70h11m10 0h11'/%3E%3Ccircle cx='60' cy='70' r='5'/%3E%3Ccircle cx='265' cy='220' r='12'/%3E%3Cpath d='M253 220h8m8 0h8'/%3E%3Ccircle cx='265' cy='220' r='4'/%3E%3C/g%3E%3Cg fill='%231c2a58' opacity='.05'%3E%3Cpath d='M180 60l2.2 5.6 5.6 2.2-5.6 2.2-2.2 5.6-2.2-5.6-5.6-2.2 5.6-2.2z'/%3E%3Cpath d='M90 270l1.8 4.5 4.5 1.8-4.5 1.8-1.8 4.5-1.8-4.5-4.5-1.8 4.5-1.8z'/%3E%3Cpath d='M295 95l1.5 3.8 3.8 1.5-3.8 1.5-1.5 3.8-1.5-3.8-3.8-1.5 3.8-1.5z'/%3E%3C/g%3E%3C/svg%3E");
  line-height: 1.65;
  overflow-x: hidden;
  /* marge basse : barre de nav + dépassement de la pokéball */
  padding-bottom: calc(var(--bottomnav-h) + 30px);
}

/* ───────────── Touches manuscrites (atelier) ───────────── */
.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.35em;
  line-height: 1.2;
  letter-spacing: .2px;
}
.hand-note {
  font-family: var(--font-hand); font-size: 1.25rem; font-weight: 600;
  color: var(--ink-soft); transform: rotate(-1.5deg); display: inline-block;
}
.hand-arrow { font-family: var(--font-hand); color: var(--yellow-deep); }

/* soulignement « coup de feutre » sous certains mots */
.scribble {
  position: relative; white-space: nowrap;
}
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C20 3 40 10 60 6 S100 4 118 7' fill='none' stroke='%23ffcb05' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); }

.container { width: min(1120px, 100% - 2.2rem); margin-inline: auto; }

/* ───────────── Accessibilité / utilitaires ───────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

::selection { background: var(--yellow); color: var(--navy); }

/* ═══════════════════ HEADER ═══════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 42, 88, .07);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: transform .3s; }
.brand:hover img { transform: rotate(-6deg) scale(1.07); }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem;
  color: var(--navy); letter-spacing: .2px; line-height: 1;
}
.brand-name span { color: var(--red); }
.brand-sub { display: block; font-size: .62rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 1.6px; text-transform: uppercase; }

.main-nav { display: none; }

.header-cta {
  display: none;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  padding: .55rem 1.15rem; border-radius: 999px;
  box-shadow: 0 3px 0 var(--yellow-deep);
  transition: transform .15s, box-shadow .15s;
}
.header-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--yellow-deep); }

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .main-nav { display: flex; gap: .25rem; }
  .main-nav a {
    font-weight: 800; font-size: .95rem; color: var(--ink-soft);
    padding: .45rem .85rem; border-radius: 999px;
    transition: color .2s, background .2s;
  }
  .main-nav a:hover { color: var(--navy); background: var(--sky-soft); }
  .main-nav a.active { color: var(--navy); background: var(--yellow); }
  .header-cta { display: inline-block; }
}

/* ═══════════════════ MENU BURGER (mobile) ═══════════════════ */
.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  border-radius: 12px; flex-shrink: 0;
  background: var(--sky-soft);
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block; height: 3px; border-radius: 99px;
  background: var(--navy);
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), opacity .2s, width .3s;
}
.burger span:nth-child(2) { width: 70%; }
.burger.open { background: var(--yellow); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 860px) { .burger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(19,29,63,.45); backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-nav {
  background:
    radial-gradient(ellipse 90% 60% at 85% -10%, rgba(142,216,248,.5), transparent 60%),
    var(--paper);
  border-radius: 0 0 26px 26px;
  padding: calc(var(--header-h) + 1.2rem) 1.4rem 1.2rem;
  display: grid; gap: .4rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.mobile-menu.open .mobile-menu-nav { transform: translateY(0); }
.mobile-menu-nav a {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--navy); padding: .7rem .9rem; border-radius: 16px;
  opacity: 0; transform: translateX(-14px);
  transition: opacity .35s, transform .35s, background .2s;
  transition-delay: calc(var(--i, 0) * .045s);
}
.mobile-menu.open .mobile-menu-nav a { opacity: 1; transform: translateX(0); }
.mobile-menu-nav a:active { background: var(--sky-soft); }
.mobile-menu-nav a.active { background: var(--yellow); }
.mobile-menu-nav .mm-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--white); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.mobile-menu-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.6rem;
}
.mobile-menu-foot .hand-note { color: #e8f6fd; }
.mm-social { display: flex; gap: .7rem; }
.mm-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center;
}
.mm-social svg { width: 20px; height: 20px; }
.mm-social svg:not([fill="none"]) { fill: #fff; }

/* ═══════════════════ NAV MOBILE (barre basse, façon app) ═══════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(28,42,88,.08);
  display: grid; grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 -4px 24px rgba(28,42,88,.10);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: .62rem; font-weight: 800; color: var(--ink-soft);
  transition: color .2s, transform .2s;
}
.bottom-nav a svg { width: 23px; height: 23px; }
.bottom-nav a.active { color: var(--blue); }
.bottom-nav a.active svg { transform: translateY(-2px) scale(1.12); }
.bottom-nav a:active { transform: scale(.92); }
.bottom-nav .nav-fab {
  position: relative;
}
.bottom-nav .nav-fab .fab-spacer { height: 23px; }
.bottom-nav .nav-fab .fab-circle {
  position: absolute; top: -22px; margin: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 46%, var(--navy-deep) 46% 54%, #fff 54%);
  border: 3px solid var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 6px 18px rgba(227,53,13,.3);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.bottom-nav .nav-fab .fab-circle::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--navy-deep);
}
.bottom-nav .nav-fab:active .fab-circle { transform: rotate(20deg) scale(.94); }
@media (min-width: 860px) { .bottom-nav { display: none; } }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 75% -10%, rgba(142,216,248,.55), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 110%, rgba(255,203,5,.18), transparent 60%),
    linear-gradient(165deg, #eaf7fd 0%, #f6f8fc 55%, #fdf8e7 100%);
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: 1.8rem;
  padding: 2.6rem 0 3rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--white); border: 1.5px solid rgba(28,42,88,.1);
  font-size: .78rem; font-weight: 800; color: var(--ink-soft);
  padding: .35rem .9rem; border-radius: 999px; width: fit-content;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.hero h1 {
  font-size: clamp(2.1rem, 7.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -.5px;
}
.hero h1 .stroke {
  color: var(--navy);
  background: linear-gradient(178deg, transparent 8%, var(--yellow) 8% 94%, transparent 94%);
  border-radius: .25em;
  padding: 0 .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero p.lead { font-size: 1.06rem; color: var(--ink-soft); max-width: 34rem; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  transition: transform .15s, box-shadow .15s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--yellow); color: var(--navy);
  box-shadow: 0 4px 0 var(--yellow-deep), var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--yellow-deep); }
.btn-secondary {
  background: var(--navy); color: #fff;
  box-shadow: 0 4px 0 var(--navy-deep), var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-2px); }
.btn-secondary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--navy-deep); }
.btn-ghost {
  background: var(--white); color: var(--navy); border: 2px solid rgba(28,42,88,.14);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 4px 0 #1aa851; }
.btn-whatsapp:active { transform: translateY(2px); box-shadow: 0 1px 0 #1aa851; }
.btn-instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  color: #fff; box-shadow: 0 4px 0 #a01d56;
}
.btn-instagram:active { transform: translateY(2px); box-shadow: 0 1px 0 #a01d56; }
.btn-whatsapp svg, .btn-instagram svg { width: 1.1em; height: 1.1em; fill: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .88rem; }

.hero-visual { position: relative; min-height: 260px; }
.hero-visual .hero-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-.5deg); }
  50% { transform: translateY(-12px) rotate(.5deg); }
}

/* étincelles décoratives */
.sparkle {
  position: absolute; pointer-events: none; z-index: 1;
  font-size: 1.3rem; opacity: 0;
  animation: sparkle 4.5s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50% { opacity: .9; transform: scale(1) rotate(25deg); }
}

/* pokeball décorative en fond */
.deco-ball {
  position: absolute; border-radius: 50%; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(227,53,13,.10) 0 46%, rgba(19,29,63,.12) 46% 54%, rgba(255,255,255,.0) 54%);
  border: 2px dashed rgba(28,42,88,.12);
  animation: spinSlow 40s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 4.5rem 0 5rem; }
}

/* ═══════════════════ BANDEAU DÉFILANT ═══════════════════ */
.marquee {
  background: var(--navy); color: #fff;
  overflow: hidden; padding: .65rem 0;
  transform: rotate(-1deg) scale(1.02);
  box-shadow: var(--shadow-md);
}
.marquee-track {
  display: flex; gap: 2.6rem; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  letter-spacing: .4px; white-space: nowrap;
}
.marquee-track span { display: flex; align-items: center; gap: .6rem; }
.marquee-track .star { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════════ SECTIONS ═══════════════════ */
.section { padding: 3.4rem 0; overflow-x: clip; }
.section-head { margin-bottom: 1.8rem; }
.section-head .kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: .3rem;
}
.section-head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-weight: 600; max-width: 40rem; margin-top: .4rem; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }

.section-alt { background: var(--white); }
.section-navy {
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(42,117,187,.35), transparent 60%),
    var(--navy);
  color: #dde5f5;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .kicker { color: var(--yellow); }
.section-navy p { color: #b8c2dd; }

/* ═══════════════════ GRILLE DE CARTES ═══════════════════ */
.cards-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

.card-tile {
  position: relative;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s;
  display: flex; flex-direction: column;
}
.card-tile:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.card-tile:active { transform: scale(.97); }

.card-tile .img-wrap {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--sky-soft);
}
.card-tile .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.card-tile:hover .img-wrap img { transform: scale(1.06); }

/* reflet holographique au survol */
.card-tile .img-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, rgba(142,216,248,.35) 52%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s;
}
.card-tile:hover .img-wrap::after { transform: translateX(120%); }

.card-tile .tile-body { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-tile h3 { font-size: 1.02rem; font-weight: 700; }
.card-tile .tile-meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-top: auto; }

.type-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .3px;
  padding: .18rem .6rem; border-radius: 999px; color: #fff;
  text-transform: uppercase;
}
.type-badge svg { width: .95em; height: .95em; fill: #fff; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }

/* pastille « énergie » du JCC : symbole blanc sur fond coloré */
.type-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; border-radius: 50%;
  vertical-align: -4px; flex-shrink: 0;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.22), inset 0 2px 3px rgba(255,255,255,.35);
}
.type-dot svg { width: 11px; height: 11px; fill: #fff; }
.serie-badge {
  display: inline-block; font-size: .68rem; font-weight: 800;
  padding: .18rem .6rem; border-radius: 999px;
  background: var(--sky-soft); color: var(--blue);
}
.price-tag {
  font-weight: 800; font-size: .82rem;
  color: var(--ink-soft);
}
.price-tag small { font-size: .9em; }

.ribbon-sold {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: rgba(19,29,63,.82); color: #fff;
  font-family: var(--font-hand); font-weight: 600; font-size: .95rem;
  padding: .2rem .8rem; border-radius: 999px;
  transform: rotate(-2deg);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}
.ribbon-sold::after { content: " ♥"; color: var(--sky); }
.badge-video {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: rgba(19,29,63,.78); color: #fff;
  font-size: .66rem; font-weight: 800;
  padding: .25rem .6rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .3rem;
  backdrop-filter: blur(4px);
}
.card-tile.is-sold .img-wrap img { filter: saturate(.55) brightness(.96); }

/* légère rotation alternée : posées à la main, pas alignées par une machine */
.cards-grid .card-tile:nth-child(odd),
.scroller .card-tile:nth-child(odd) { transform: rotate(-.7deg); }
.cards-grid .card-tile:nth-child(even),
.scroller .card-tile:nth-child(even) { transform: rotate(.6deg); }
.cards-grid .card-tile:nth-child(3n),
.scroller .card-tile:nth-child(3n) { transform: rotate(.2deg); }
.cards-grid .card-tile:hover, .scroller .card-tile:hover { transform: translateY(-6px) rotate(0deg); }

/* ═══════════════════ CARROUSEL NOUVEAUTÉS ═══════════════════ */
.scroller {
  display: flex; gap: 1rem; overflow-x: auto; padding: .4rem .2rem 1.2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller .card-tile { flex: 0 0 min(62vw, 240px); scroll-snap-align: start; }

/* ═══════════════════ CHIPS TYPES / FILTRES ═══════════════════ */
.chips { display: flex; gap: .55rem; flex-wrap: wrap; }
.chips.scroll-x { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.chips.scroll-x::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 800; font-size: .85rem; white-space: nowrap;
  padding: .5rem 1.05rem; border-radius: 999px;
  background: var(--white); color: var(--ink-soft);
  border: 2px solid rgba(28,42,88,.1);
  transition: all .2s; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip .swatch { width: 10px; height: 10px; border-radius: 50%; }

/* ═══════════════════ SÉRIES (accueil) ═══════════════════ */
.series-grid { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .series-grid { grid-template-columns: repeat(3, 1fr); } }
.serie-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 210px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.serie-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.serie-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.serie-card:hover img { transform: scale(1.07); }
.serie-card .overlay {
  position: relative; z-index: 2; width: 100%;
  padding: 2.2rem 1.2rem 1.1rem;
  background: linear-gradient(transparent, rgba(19,29,63,.88));
  color: #fff;
}
.serie-card .overlay .tag { font-size: .7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); }
.serie-card .overlay h3 { color: #fff; font-size: 1.35rem; }
.serie-card .overlay p { font-size: .82rem; opacity: .85; font-weight: 600; }
.serie-card .count-pill {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  padding: .25rem .75rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ═══════════════════ STATS ═══════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center; padding: 1.4rem .8rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
}
.stat .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 6vw, 2.5rem); color: var(--yellow); line-height: 1.1;
}
.stat .label { font-size: .8rem; font-weight: 700; color: #b8c2dd; }

/* ═══════════════════ RÉASSURANCE ═══════════════════ */
.reassure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 860px) { .reassure-grid { grid-template-columns: repeat(4, 1fr); } }
.reassure {
  background: var(--white); border-radius: var(--radius);
  padding: 1.4rem 1.1rem; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.reassure:hover { transform: translateY(-4px); }
.reassure .ico {
  width: 54px; height: 54px; margin: 0 auto .7rem;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: var(--sky-soft);
}
.reassure h3 { font-size: .95rem; margin-bottom: .25rem; }
.reassure p { font-size: .8rem; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }

/* ═══════════════════ ATELIER / ÉTAPES ═══════════════════ */
.split { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.split .img-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.steps { display: grid; gap: 0; position: relative; }
.step { display: flex; gap: 1.1rem; padding: 1rem 0; position: relative; }
.step .num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 0 var(--yellow-deep);
  position: relative; z-index: 2;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 22px; top: 56px; bottom: -10px;
  width: 2px; background: repeating-linear-gradient(var(--sky) 0 6px, transparent 6px 12px);
}
.step h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.step p { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

.materials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.materials li {
  background: var(--sky-soft); color: var(--navy);
  font-size: .8rem; font-weight: 800;
  padding: .35rem .85rem; border-radius: 999px;
}

/* ═══════════════════ FICHE CARTE ═══════════════════ */
.product-layout { display: grid; gap: 2rem; padding: 1.6rem 0 3rem; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; } }
/* empêche la largeur intrinsèque des vidéos de faire déborder la grille sur mobile */
.product-layout > * { min-width: 0; }

.gallery .main-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  perspective: 900px;
}
.gallery .main-frame #mainMedia { position: absolute; inset: 0; }
.gallery .main-frame img, .gallery .main-frame video {
  width: 100%; height: 100%; object-fit: cover;
  max-width: 100%;
  transition: transform .2s ease-out;
  will-change: transform;
}
.gallery .holo-layer {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), rgba(255,255,255,.5), rgba(142,216,248,.22) 30%, transparent 60%);
  mix-blend-mode: soft-light; transition: opacity .3s;
}
.gallery .main-frame:hover .holo-layer { opacity: 1; }

.thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
  flex: 0 0 64px; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  border: 2.5px solid transparent; transition: border .2s, transform .2s;
  background: var(--white); padding: 0;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.active { border-color: var(--yellow); transform: translateY(-2px); }
.thumbs button.video-thumb { position: relative; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-size: 1.2rem; }

.product-info h1 { font-size: clamp(1.6rem, 6vw, 2.3rem); }
.product-info .badges { display: flex; gap: .5rem; flex-wrap: wrap; margin: .7rem 0 1rem; }
.product-price {
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin: .4rem 0 1.1rem;
}
.product-price .amount {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy);
  background: var(--sky-soft); padding: .25rem .9rem; border-radius: 999px;
}
.availability { font-size: .85rem; font-weight: 800; display: inline-flex; align-items: center; gap: .4rem; }
.availability.ok { color: var(--green); }
.availability.ko { color: var(--red); }
.availability .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }

.spec-table {
  width: 100%; border-collapse: collapse; margin: 1.2rem 0;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: .92rem;
}
.spec-table th, .spec-table td { padding: .7rem 1rem; text-align: left; }
.spec-table tr:not(:last-child) { border-bottom: 1px solid var(--paper); }
.spec-table th { color: var(--ink-soft); font-weight: 800; width: 52%; }
.spec-table td { font-weight: 700; color: var(--navy); }

.info-note {
  background: #fff7e0; border: 1.5px solid #f0dfa0; border-radius: var(--radius);
  padding: .9rem 1.1rem; font-size: .85rem; font-weight: 600; color: #7a6210;
  margin: 1rem 0;
}
.info-note strong { color: #5d4a08; }

.product-ctas { display: grid; gap: .7rem; margin-top: 1.4rem; }
@media (min-width: 480px) { .product-ctas { grid-template-columns: 1fr 1fr; } }

.included-list { display: grid; gap: .5rem; margin: 1rem 0; }
.included-list li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.included-list li::before { content: "✓"; color: var(--green); font-weight: 900; }

/* ═══════════════════ MODAL PROPOSITION D'ACHAT ═══════════════════ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(19,29,63,.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-sheet {
  width: 100%; max-width: 480px;
  background: var(--white); border-radius: 26px 26px 0 0;
  padding: 1.6rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .35s cubic-bezier(.32,.72,.34,1);
  max-height: 88vh; overflow-y: auto;
}
.modal-backdrop.open .modal-sheet { transform: translateY(0); }
@media (min-width: 640px) {
  .modal-backdrop { align-items: center; padding: 1rem; }
  .modal-sheet { border-radius: var(--radius-lg); }
}
.modal-sheet .grab { width: 44px; height: 5px; border-radius: 99px; background: rgba(28,42,88,.15); margin: 0 auto 1rem; }
.modal-sheet h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.modal-sheet > p { color: var(--ink-soft); font-size: .9rem; font-weight: 600; margin-bottom: 1.2rem; }
.modal-options { display: grid; gap: .7rem; }
.modal-option {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem; border-radius: var(--radius);
  border: 2px solid rgba(28,42,88,.1); background: var(--white);
  transition: border .2s, transform .15s;
  text-align: left;
}
.modal-option:hover { border-color: var(--blue); }
.modal-option:active { transform: scale(.98); }
.modal-option .opt-ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.modal-option .opt-ico svg { width: 24px; height: 24px; fill: #fff; }
.modal-option .opt-ico svg[fill="none"] { fill: none; }
.opt-ico.ig { background: radial-gradient(circle at 28% 110%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 92%); }
.opt-ico.wa { background: #25d366; }
.opt-ico.mail { background: var(--blue); }
.modal-option strong { display: block; font-family: var(--font-display); color: var(--navy); }
.modal-option small { color: var(--ink-soft); font-weight: 700; font-size: .78rem; }
.modal-close {
  margin-top: 1.1rem; width: 100%; text-align: center;
  font-weight: 800; color: var(--ink-soft); padding: .6rem;
}

/* ═══════════════════ POPUP DE BIENVENUE ═══════════════════ */
.welcome-backdrop {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(19,29,63,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.welcome-backdrop.open { opacity: 1; pointer-events: auto; }
.welcome-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 420px;
  /* min-width:0 : la largeur native de la vidéo ne doit pas élargir la carte */
  min-width: 0;
  max-height: 88vh; overflow-y: auto; overflow-x: hidden;
  transform: translateY(26px) scale(.95);
  transition: transform .45s cubic-bezier(.34,1.4,.64,1);
}
.welcome-backdrop.open .welcome-card { transform: none; }
.welcome-close {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(19,29,63,.55); color: #fff;
  font-size: 1.05rem; font-weight: 800; line-height: 1;
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
.welcome-close:hover { background: var(--red); transform: rotate(90deg); }
.welcome-video {
  background: var(--navy-deep);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  max-height: 46vh; min-width: 0;
}
.welcome-video video { width: 100%; height: 100%; max-height: 46vh; aspect-ratio: 9/14; object-fit: cover; display: block; }
.welcome-body { padding: 1.3rem 1.4rem 1.5rem; text-align: center; }
.welcome-body h3 { font-size: 1.45rem; margin: .25rem 0 .5rem; }
.welcome-body p { font-size: .92rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.1rem; }
@media (min-width: 720px) {
  .welcome-card { max-width: 680px; display: grid; grid-template-columns: 290px 1fr; }
  .welcome-card > * { min-width: 0; }
  .welcome-video { border-radius: var(--radius-lg) 0 0 var(--radius-lg); max-height: none; }
  .welcome-video video { max-height: none; aspect-ratio: 9/14; }
  .welcome-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; padding: 1.8rem; }
}

/* ═══════════════════ BLOG ═══════════════════ */
.articles-grid { display: grid; gap: 1.4rem; }
@media (min-width: 700px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
.article-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-card .cover { aspect-ratio: 16/8.5; overflow: hidden; background: var(--sky-soft); }
.article-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .cover img { transform: scale(1.05); }
.article-card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-card .meta { display: flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 800; color: var(--ink-soft); }
.article-card .meta .tag { background: var(--yellow); color: var(--navy); padding: .15rem .6rem; border-radius: 999px; }
.article-card h3 { font-size: 1.2rem; }
.article-card p { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.article-card .read-more { margin-top: auto; font-weight: 800; color: var(--blue); font-size: .9rem; }

.article-page { max-width: 720px; margin-inline: auto; padding: 2rem 0 3.5rem; }
.article-page .cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin: 1.4rem 0 2rem; }
.article-page h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); }
.article-page .article-body p { margin-bottom: 1.1rem; font-size: 1.02rem; }
.article-page .article-body p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 3.1em; font-weight: 800;
  float: left; line-height: .85; padding-right: .12em; color: var(--yellow);
  text-shadow: 0 2px 0 var(--yellow-deep);
}

/* ═══════════════════ FORMULAIRE CONTACT ═══════════════════ */
.contact-layout { display: grid; gap: 2rem; padding-bottom: 1rem; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }

.contact-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 800; font-size: .85rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: .75rem 1rem; border-radius: 14px;
  border: 2px solid rgba(28,42,88,.12); background: var(--paper);
  transition: border .2s, box-shadow .2s;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,203,5,.22);
}
.field textarea { min-height: 130px; resize: vertical; }

.contact-channels { display: grid; gap: .8rem; }
.channel {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); padding: 1rem 1.1rem;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.channel:hover { transform: translateX(4px); }
.channel .ch-ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.channel .ch-ico svg { width: 25px; height: 25px; fill: #fff; }
.channel .ch-ico svg[fill="none"] { fill: none; }
.ch-ig { background: radial-gradient(circle at 28% 110%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 92%); }
.ch-wa { background: #25d366; }
.ch-mail { background: var(--blue); }
.channel strong { font-family: var(--font-display); color: var(--navy); display: block; }
.channel small { color: var(--ink-soft); font-weight: 700; }

/* ═══════════════════ FAQ ═══════════════════ */
.faq { display: grid; gap: .8rem; max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
  padding: 1.05rem 3rem 1.05rem 1.2rem; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); font-weight: 700;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); font-weight: 600; font-size: .92rem; }

/* ═══════════════════ CTA FINAL ═══════════════════ */
.big-cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 20% 110%, rgba(227,53,13,.25), transparent 55%),
    radial-gradient(ellipse 70% 90% at 85% -10%, rgba(42,117,187,.5), transparent 60%),
    var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.6rem 1.6rem; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.big-cta h2 { color: #fff; font-size: clamp(1.5rem, 5.5vw, 2.3rem); margin-bottom: .5rem; }
.big-cta p { color: #b8c2dd; font-weight: 600; max-width: 32rem; margin: 0 auto 1.5rem; }

/* ═══════════════════ FOOTER ═══════════════════ */
.site-footer {
  background: var(--navy-deep); color: #aab4d4;
  margin-top: 3rem; padding: 2.8rem 0 1.6rem;
  font-size: .9rem;
}
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer .foot-brand img { height: 64px; margin-bottom: .8rem; }
.site-footer p { font-weight: 600; line-height: 1.7; }
.site-footer ul { display: grid; gap: .45rem; }
.site-footer ul a { font-weight: 700; transition: color .2s; }
.site-footer ul a:hover { color: var(--yellow); }
.foot-social { display: flex; gap: .7rem; margin-top: 1rem; }
.foot-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.foot-social a:hover { background: var(--yellow); transform: translateY(-3px); }
.foot-social a:hover svg { fill: var(--navy); }
.foot-social svg { width: 20px; height: 20px; fill: #fff; transition: fill .2s; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.3rem; text-align: center;
  font-size: .78rem; font-weight: 700;
}
.foot-bottom .pokeball-mini {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 45%, #fff 45% 55%, #fff 55%);
  border: 2px solid #fff; vertical-align: -2px; margin: 0 .3rem;
}
.legal-note { font-size: .72rem; opacity: .65; max-width: 640px; margin: .8rem auto 0; }

/* ═══════════════════ PAGE HERO (pages internes) ═══════════════════ */
.page-hero {
  background:
    radial-gradient(ellipse 80% 100% at 80% -20%, rgba(142,216,248,.5), transparent 60%),
    linear-gradient(160deg, #eaf7fd, #f6f8fc);
  padding: 2.4rem 0 2rem;
  position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(1.8rem, 6.5vw, 2.8rem); }
.page-hero p { color: var(--ink-soft); font-weight: 600; max-width: 38rem; margin-top: .4rem; }
.breadcrumb { font-size: .78rem; font-weight: 800; color: var(--ink-soft); margin-bottom: .6rem; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 .4rem; color: var(--yellow-deep); }

/* ═══════════════════ FILTRES BOUTIQUE ═══════════════════ */
.shop-toolbar { display: grid; gap: .9rem; padding: 1.2rem 0 1.6rem; }
/* les rangées de filtres défilent dans leur couloir sans élargir la page */
.shop-toolbar > * { min-width: 0; }
.search-wrap { position: relative; max-width: 420px; }
.search-wrap input {
  width: 100%; padding: .8rem 1.1rem .8rem 2.8rem;
  border-radius: 999px; border: 2px solid rgba(28,42,88,.12);
  font-size: 1rem; font-weight: 600; background: var(--white);
  transition: border .2s, box-shadow .2s;
}
.search-wrap input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,203,5,.22); }
.search-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: .45; }
.results-count { font-size: .85rem; font-weight: 800; color: var(--ink-soft); }
.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--ink-soft); font-weight: 700;
}
.empty-state .ball { font-size: 3rem; display: block; margin-bottom: .6rem; filter: grayscale(.4); }

/* ═══════════════════ ANIMATIONS AU SCROLL ═══════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

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

/* ═══════════════════ LOADER POKEBALL ═══════════════════ */
.pokeloader {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .45s, visibility .45s;
}
.pokeloader.done { opacity: 0; visibility: hidden; }
.pokeloader .ball {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 45%, var(--navy-deep) 45% 55%, #fff 55%);
  border: 3px solid var(--navy-deep);
  position: relative; animation: ballShake 1.1s ease-in-out infinite;
}
.pokeloader .ball::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--navy-deep);
  transform: translate(-50%, -50%);
}
@keyframes ballShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-14deg) translateX(-3px); }
  75% { transform: rotate(14deg) translateX(3px); }
}

/* ═══════════════════ VIDÉOS DE L'ATELIER (façon reels) ═══════════════════ */
.reels-scroller {
  display: flex; gap: 1.2rem; overflow-x: auto;
  padding: 1.2rem .4rem 1.6rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reels-scroller::-webkit-scrollbar { display: none; }
.reel-phone {
  position: relative; flex: 0 0 min(58vw, 218px); min-width: 0; max-width: min(58vw, 218px);
  scroll-snap-align: center;
  border-radius: 30px; overflow: hidden;
  background: var(--navy-deep);
  border: 6px solid var(--navy-deep);
  box-shadow: var(--shadow-md);
  aspect-ratio: 9 / 15.5;
  transition: transform .3s;
}
.reel-phone:nth-child(odd) { transform: rotate(-1.4deg) translateY(8px); }
.reel-phone:nth-child(even) { transform: rotate(1.2deg); }
.reel-phone:hover { transform: rotate(0) translateY(-4px); }
.reel-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.reel-phone .notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 14px; border-radius: 999px;
  background: var(--navy-deep); z-index: 3;
}
.reel-phone .reel-label {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: rgba(19,29,63,.62); backdrop-filter: blur(6px);
  color: #fff; font-weight: 800; font-size: .78rem;
  padding: .45rem .75rem; border-radius: 999px;
}
.reel-phone .reel-label .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-phone .mute-hint { opacity: .75; font-size: .85rem; }
.ig-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  color: #fff; font-family: var(--font-display); font-weight: 700;
  padding: .8rem 1.6rem; border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
}
.ig-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-lg); }
.ig-cta svg { width: 20px; height: 20px; fill: #fff; }

/* ═══════════════════ MANIFESTE ARTISANAL ═══════════════════ */
.manifesto {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.manifesto::before {
  content: ""; position: absolute; inset: 10px;
  border: 2px dashed rgba(28,42,88,.14);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.manifesto-grid { display: grid; gap: 1.4rem; position: relative; }
@media (min-width: 820px) { .manifesto-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.manifesto-item { text-align: center; padding: 0 .5rem; }
.manifesto-item .no {
  font-family: var(--font-hand); font-size: 2.1rem; font-weight: 700;
  color: var(--red); display: block; line-height: 1;
}
.manifesto-item h3 { font-size: 1.12rem; margin: .35rem 0 .3rem; }
.manifesto-item p { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.manifesto-sign {
  text-align: right; margin-top: 1.6rem; position: relative;
  font-family: var(--font-hand); font-size: 1.5rem; color: var(--navy);
  transform: rotate(-2deg);
}

/* ═══════════════════ SCOTCH WASHI & POLAROID ═══════════════════ */
.taped { position: relative; }
.taped::before, .taped::after {
  content: ""; position: absolute; z-index: 3;
  width: 92px; height: 30px;
  background: rgba(255,203,5,.5);
  box-shadow: 0 1px 4px rgba(28,42,88,.12);
  backdrop-filter: blur(1px);
}
.taped::before { top: -12px; left: -28px; transform: rotate(-38deg); }
.taped::after { bottom: -12px; right: -28px; transform: rotate(-38deg); }

.polaroid {
  background: #fff; padding: 10px 10px 14px;
  border-radius: 6px; box-shadow: var(--shadow-md);
  transform: rotate(-1.6deg);
}
.polaroid img { border-radius: 3px; }
.polaroid .caption {
  font-family: var(--font-hand); text-align: center;
  font-size: 1.25rem; color: var(--ink-soft); padding-top: .5rem;
}

/* grande pokéball en filigrane derrière certaines sections */
.watermark-ball {
  position: absolute; pointer-events: none; z-index: 0;
  width: 380px; height: 380px; opacity: .05;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%231c2a58' stroke-width='2.5'%3E%3Ccircle cx='50' cy='50' r='46'/%3E%3Cpath d='M4 50h32m28 0h32'/%3E%3Ccircle cx='50' cy='50' r='14'/%3E%3Ccircle cx='50' cy='50' r='6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bottomnav-h) + 16px); z-index: 150;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem;
  padding: .8rem 1.4rem; border-radius: 999px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .35s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 860px) { .toast { bottom: 24px; } }
