/* GAMOBI — démo de refonte du site (avant mise en production WordPress / WooCommerce)
   Charte reprise de gamobi.net : fond crème #F5F0E8, sections beiges, titres bleu nuit,
   accents rouge-orangé #EB4624, orange #EF8A3C et bleu-vert #2A7F7F, sections vert foncé et noir,
   Nunito (équivalent libre de Kit Rounded) pour le texte, titres en Grandstander ExtraBold (style « feutre », choisi le 31/10),
   en gros et sans contour. Fredoka reste réservée aux tuiles du logo.
   Mise en page et animations inspirées de lesa.app. */

:root {
  --cream: #F5F0E8;
  --beige: #F2E7D2;
  --paper: #FFFDF8;
  --line: #E6DAC4;
  --ink: #010E26;
  --muted: #4D5566;
  --red: #EB4624;
  --red-dk: #D13A1A;
  --orange: #EF8A3C;
  --teal: #2A7F7F;
  --forest: #23423F;
  --black: #1A1A1A;
  /* carrés du logo */
  --l-g: #2A7F7F; --l-a: #E2694A; --l-m: #4A8569; --l-o: #1C4A44; --l-b: #EE9426; --l-i: #EB4624;
  /* éditions */
  --classique: #2A7F7F;
  --couple: #B8392A;
  --kids: #6B3FA0;
  --edc: var(--teal);
}
body.th-classique { --edc: var(--classique); }
body.th-couple { --edc: var(--couple); }
body.th-kids { --edc: var(--kids); }
body.th-reunion { --edc: var(--l-m); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Nunito', Arial, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typographie ---------- */
.fr { font-family: 'Grandstander', 'Nunito', sans-serif; font-weight: 800; letter-spacing: .2px; line-height: 1.05; margin: 0; }
html:not(.t-baloo) .fr.h1 { font-size: 58px; }
html:not(.t-baloo) .fr.h2 { font-size: 46px; }
html:not(.t-baloo) .hero h1 { font-size: 64px; }
@media (max-width: 760px) {
  html:not(.t-baloo) .fr.h1, html:not(.t-baloo) .hero h1 { font-size: 38px; }
  html:not(.t-baloo) .fr.h2 { font-size: 32px; }
}
.h1 { font-size: 64px; }
.h2 { font-size: 50px; }
.h3 { font-size: 26px; }
.lockup { font-family: 'Grandstander', 'Nunito', sans-serif; font-weight: 800; line-height: 1.02; letter-spacing: .2px; margin: 0;
  color: #1C4A44; }
.lockup .r { color: var(--red); }
.lockup .e { color: var(--edc); }
.kicker { margin: 0; color: var(--orange); font-family: 'Nunito', sans-serif; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.lead { font-size: 18px; color: var(--muted); margin: 14px 0 0; }
.muted { color: var(--muted); }
.todo { color: var(--muted); font-style: italic; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 5px 0 var(--depth, rgba(1,14,38,.25)); transition: background-color .15s, color .15s, transform .15s, box-shadow .15s; }
/* comme une tuile du logo : le bouton a une épaisseur, il monte au survol et s'enfonce quand on appuie */
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--depth, rgba(1,14,38,.25)); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--depth, rgba(1,14,38,.25)); transition-duration: .05s; }
/* au survol, 3 cartes du jeu sortent de derrière le bouton en éventail (ajoutées par app.js).
   Le bouton devient son propre plan : un calque ::before reprend sa couleur et cache les cartes au repos */
.btn { position: relative; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: inherit; }
.btn-cards { position: absolute; left: 50%; top: 50%; z-index: -2; pointer-events: none; }
.btn-cards i { position: absolute; left: -13px; top: -18px; width: 26px; height: 36px; border-radius: 5px; border: 2px solid #fff; background: var(--cc);
  box-shadow: 0 4px 10px rgba(1,14,38,.18); display: flex; align-items: center; justify-content: center;
  color: #fff; font: 800 15px/1 'Grandstander', 'Nunito', sans-serif; font-style: normal;
  opacity: 0; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .15s; transition-delay: 0s; }
.btn:is(:hover, :focus-visible, :active) .btn-cards i { opacity: 1; }
.btn-cards i::after { content: "?"; }
.btn-cards i:nth-child(1) { --cc: var(--teal); }
.btn-cards i:nth-child(2) { --cc: var(--orange); }
.btn-cards i:nth-child(3) { --cc: var(--l-a); }
.btn:is(:hover, :focus-visible, :active) .btn-cards i:nth-child(1) { transform: translate(-24px, -34px) rotate(-16deg); transition-delay: .03s; }
.btn:is(:hover, :focus-visible, :active) .btn-cards i:nth-child(2) { transform: translate(0, -42px); transition-delay: 0s; }
.btn:is(:hover, :focus-visible, :active) .btn-cards i:nth-child(3) { transform: translate(24px, -34px) rotate(16deg); transition-delay: .06s; }
.btn-sm .btn-cards { scale: .8; }
@media (prefers-reduced-motion: reduce) { .btn-cards i { transition: none; } }
/* au clic, un petit éclat de tuiles aux 5 couleurs GAMOBI (créé par app.js) */
.btn-bit { position: fixed; z-index: 90; border-radius: 3px; pointer-events: none; }
.btn-red { --depth: #A9301A; background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-ghost { --depth: var(--ink); border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-dark { --depth: #0F2422; background: var(--forest); color: #fff; }
.btn-dark:hover { background: #18302d; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.chip { display: inline-block; background: var(--c, var(--edc)); color: #fff; font-family: 'Nunito', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 12px; padding: 5px 13px 3px; border-radius: 999px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.specs li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 14px 3px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px; color: var(--c, var(--edc)); text-transform: uppercase; }

/* ---------- bandeau, liseré, en-tête ---------- */
.ticker { position: sticky; top: 0; z-index: 31; overflow: hidden; white-space: nowrap; background: #D63A1A; color: #fff; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px; padding: 6px 0; }
.ticker-in { display: inline-flex; align-items: center; animation: tick 70s linear infinite; }
.ticker-in img { width: 30px; height: 30px; margin: 0 18px; border-radius: 9px; object-fit: cover; flex: none; }
.ticker-in img:nth-of-type(odd) { rotate: -6deg; } .ticker-in img:nth-of-type(even) { rotate: 5deg; }
@keyframes tick { to { transform: translateX(-50%); } }
.site-header { position: sticky; top: var(--tk-h, 0px); z-index: 30; background: var(--page-bg, var(--cream)); border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, var(--l-g) 0 20%, var(--l-a) 20% 40%, var(--l-o) 40% 60%, var(--orange) 60% 80%, var(--red) 80% 100%) 1; transition: box-shadow .2s; }
/* logo en grand au centre, panier à droite */
.hd { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.hd .logo { grid-column: 2; gap: 6px; }
.hd .logo .tile { width: 46px; height: 46px; border-radius: 11px; font-size: 28px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.logo-img img { height: 64px; width: auto; }
.ft-brand .logo-img img { height: 46px; }
.hd-act { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.logo { display: inline-flex; gap: 4px; text-decoration: none; }
.tile { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 7px; color: var(--cream);
  font-family: Fredoka, 'Nunito', sans-serif; font-weight: 700; font-size: 18px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.t-g { background: var(--l-g); } .t-a { background: var(--l-a); } .t-m { background: var(--l-m); }
.t-o { background: var(--l-o); } .t-b { background: var(--l-b); } .t-i { background: var(--l-i); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none; border-radius: 999px; padding: 8px 10px 8px 18px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 17px; }
.cart-btn .count { background: #fff; color: var(--red); border-radius: 999px; min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.12) rotate(-3deg); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--forest); color: #fff; cursor: pointer; align-items: center; justify-content: center; }

/* rail vertical (inspiré de lesa.app) : menu, choix du pays, logo vertical */
.rail { display: none; }
.rail-burger { width: 50px; height: 50px; flex: none; border-radius: 14px; border: 0; background: rgba(255,255,255,.16); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s; }
.rail-burger:hover { background: rgba(255,255,255,.3); }
.rail-burger .x, .rail-burger[aria-expanded="true"] svg:first-child { display: none; }
.rail-burger[aria-expanded="true"] .x { display: block; }
.langs { display: flex; flex-direction: column; gap: 4px; padding: 6px; background: rgba(255,255,255,.14); border-radius: 999px; }
.langs button { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; color: #fff; cursor: pointer;
  font: 800 11px/1 'Nunito', sans-serif; letter-spacing: .5px; padding: 8px 6px; border-radius: 999px; transition: background .2s, color .2s; }
.langs svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); }
.langs button:hover { background: rgba(255,255,255,.18); }
.langs button[aria-pressed="true"] { background: #fff; color: var(--rail, var(--teal)); }
.langs button[aria-pressed="true"] svg { box-shadow: 0 0 0 1.5px var(--line); }
.langs-row { flex-direction: row; align-self: flex-start; background: var(--teal); margin-top: 8px; }
/* bulle « prochainement » (dans la langue concernée) au survol des langues pas encore disponibles */
.langs button { position: relative; }
/* langues à venir : grisées, non cliquables ; seule la bulle « prochainement » réagit au survol */
.langs button[aria-disabled="true"] { cursor: not-allowed; }
.langs button[aria-disabled="true"]:hover { background: none; }
.langs button[aria-disabled="true"] > :not(.soon) { opacity: .35; filter: grayscale(1); }
.soon { position: absolute; left: calc(100% + 16px); top: 50%; translate: -6px -50%; z-index: 5; padding: 8px 12px; border-radius: 10px;
  background: var(--ink); color: #fff; font: 800 13px/1 'Nunito', sans-serif; letter-spacing: 0; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s cubic-bezier(.22,1,.36,1); }
.soon::before { content: ""; position: absolute; right: 100%; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right-color: var(--ink); }
.langs button:is(:hover, :focus-visible) .soon { opacity: 1; translate: 0 -50%; }
.langs-row .soon { left: 50%; top: auto; bottom: calc(100% + 12px); translate: -50% 6px; }
.langs-row .soon::before { right: auto; left: 50%; top: 100%; margin: 0 0 0 -6px; border-right-color: transparent; border-top-color: var(--ink); }
.langs-row button:is(:hover, :focus-visible) .soon { translate: -50% 0; }
.rail .vlogo { display: none; }
.vlogo { margin-top: auto; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; gap: 4px; text-decoration: none; }
.vlogo .tile { box-shadow: 0 0 0 2px var(--cream); }
@media (min-width: 861px) {
  body { padding-left: 84px; }
  .rail { display: flex; position: fixed; left: 0; top: 0; bottom: 0; width: 84px; z-index: 50; background: var(--rail, var(--teal));
    flex-direction: column; align-items: center; gap: 22px; padding: 20px 0; transition: background-color .7s cubic-bezier(.22,1,.36,1); }
}

/* grand menu (inspiré de lesa.app) : panneau plein écran à côté du rail, liens à gauche, les 3 jeux en bas à droite */
.menu { position: fixed; inset: 0; z-index: 45; }
.menu[hidden] { display: none; }
.menu-panel { position: absolute; inset: 0; overflow-y: auto; background: var(--forest); color: var(--cream);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; padding: 44px 48px 0 56px;
  clip-path: inset(0 100% 0 0); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); }
.menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--l-g) 0 20%, var(--l-a) 20% 40%, var(--l-o) 40% 60%, var(--orange) 60% 80%, var(--red) 80% 100%); }
.menu.open .menu-panel { clip-path: inset(0 0 0 0); }
.menu .close { display: none; position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: rgba(255,255,255,.14); color: #fff; cursor: pointer; font-size: 24px; }
.menu-langs { display: none; }
.menu-lbl { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: rgba(245,240,232,.6); padding-top: 16px; }
.menu-nav { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 24px; row-gap: 30px; align-content: start; max-width: 780px; padding-bottom: 40px; }
.menu-links, .menu-social { list-style: none; margin: 0; padding: 0; }
.menu-links li, .menu-social { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s; transition-delay: calc(.2s + var(--i, 6) * .05s); }
.menu.open .menu-links li, .menu.open .menu-social { opacity: 1; transform: none; }
.menu-links li { border-bottom: 1px solid rgba(245,240,232,.16); }
.menu-links a { display: flex; align-items: center; justify-content: space-between; font-family: 'Grandstander', 'Nunito', sans-serif; font-weight: 800; letter-spacing: .2px; font-size: 44px; line-height: 1.15;
  letter-spacing: 1px; color: var(--cream); text-decoration: none; padding: 6px 0 2px; transition: color .2s, padding-left .25s; }
.menu-links a::after { content: "→"; font-family: 'Nunito', sans-serif; font-size: 26px; opacity: 0; transform: translateX(-12px); transition: opacity .25s, transform .25s; }
.menu-links a:hover, .menu-links a[aria-current="page"] { color: var(--orange); }
.menu-links a:hover { padding-left: 12px; }
.menu-links a:hover::after { opacity: 1; transform: none; }
/* sous-menu « Nos jeux » : les éditions, chacune avec sa pastille de couleur */
.menu-sub { list-style: none; margin: 0 0 14px; padding: 0 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.menu-links .menu-sub li { border: 0; }
.menu-links .menu-sub a { display: inline-flex; gap: 10px; font: 800 17px/1 'Nunito', sans-serif; letter-spacing: .3px; text-transform: uppercase;
  padding: 10px 16px 9px 12px; border-radius: 999px; background: rgba(245,240,232,.08); color: var(--cream); }
.menu-links .menu-sub a::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 2px rgba(245,240,232,.5); }
.menu-links .menu-sub a::after { content: none; }
.menu-links .menu-sub a:hover, .menu-links .menu-sub a[aria-current="page"] { padding-left: 12px; background: var(--c); color: #fff; }
.menu-social { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.menu-social a { color: var(--cream); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 15px; }
.menu-social a:hover { color: var(--orange); }
.menu-shelf { align-self: end; display: flex; align-items: flex-end; gap: 22px; padding-bottom: 44px; }
.menu-shelf a { width: clamp(112px, 11vw, 170px); color: var(--cream); text-decoration: none; text-align: center;
  opacity: 0; transform: translateY(80px) rotate(var(--rot)); transition: opacity .45s, transform .6s cubic-bezier(.3, 1.4, .5, 1);
  transition-delay: calc(.35s + var(--i) * .09s); }
.menu.open .menu-shelf a { opacity: 1; transform: rotate(var(--rot)); }
.menu.open .menu-shelf a:hover { transform: translateY(-12px) rotate(0deg); transition-delay: 0s; }
.menu-shelf .bx { display: block; background: var(--paper); border-radius: 18px; padding: 12px; border-bottom: 6px solid var(--c); box-shadow: 0 20px 34px rgba(0,0,0,.28); }
.menu-shelf img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.menu-shelf b { display: block; margin-top: 14px; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 22px; line-height: 1.1; }
.menu-shelf small { color: rgba(245,240,232,.7); font-weight: 600; font-size: 13px; }
@media (min-width: 861px) {
  .menu { left: 84px; }
}
@media (max-width: 860px) {
  .menu-panel { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 0; }
  .menu .close { display: block; }
  .menu-langs { display: block; margin-bottom: 8px; }
  .menu-langs .menu-lbl { padding-top: 0; }
  .menu-nav { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding-bottom: 24px; }
  .menu-links a { font-size: 40px; }
  .menu-shelf { justify-content: center; gap: 12px; }
  .menu-shelf a { width: 30%; }
  .menu-shelf b { font-size: 22px; }
}

/* ---------- sections ---------- */
.sec { padding-top: 100px; padding-bottom: 100px; }
.panel { background: var(--beige); }
.rounded { border-radius: 0; margin: 0; }
.dark { background: var(--forest); color: #fff; }
.dark .fr, .dark .h2 { color: #fff; }
.dark .lead { color: #D7E2E0; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.center-head .h2 { margin-top: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 60px; align-items: center; }
.row > * { flex: 1 1 420px; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }

/* ---------- accueil : hero ---------- */
.hero { padding-top: 56px; padding-bottom: 90px; }
.hero .row { gap: 48px; }
.hero h1 { font-size: 70px; margin-top: 14px; }
.hero h1 > span:not(.wd) { color: var(--red); }
.hero .concept { font-size: 19px; color: var(--muted); margin: 20px 0 0; max-width: 520px; }
.trio { display: flex; gap: 14px; margin-top: 30px; }
.trio a { flex: 1 1 0; background: var(--paper); border: 1px solid var(--line); border-bottom: 5px solid var(--c); border-radius: 18px; padding: 10px; text-decoration: none; text-align: center; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.trio a:hover { transform: translateY(-6px) rotate(-1.5deg); }
.trio img { width: 100%; height: 110px; object-fit: contain; }
.trio span { display: block; margin-top: 6px; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; color: var(--c); font-size: 15px; }
.trio small { display: block; color: var(--muted); font-size: 12px; }
.collage { position: relative; height: 560px; }
.collage img { position: absolute; object-fit: cover; border-radius: 26px; border: 7px solid #fff; box-shadow: 0 22px 44px rgba(1,14,38,.18); }
.collage .c1 { left: 0; top: 30px; width: 78%; height: 380px; --rot: -2deg; transform: rotate(var(--rot)); }
.collage .c2 { right: 0; top: 0; width: 42%; height: 250px; --rot: 5deg; transform: rotate(var(--rot)); object-position: 50% 25%; }
.collage .c3 { right: 6%; bottom: 0; width: 50%; height: 230px; --rot: -4deg; transform: rotate(var(--rot)); }
.badge-rot { position: absolute; left: -10px; bottom: 30px; width: 124px; height: 124px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 14px 30px rgba(1,14,38,.25); z-index: 2; }
.badge-rot svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge-rot text { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2.4px; fill: #fff; text-transform: uppercase; }
.badge-rot:hover { transform: scale(1.06); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- les trois éditions (blocs identiques) ---------- */
.eds { display: flex; flex-wrap: wrap; gap: 26px; }
.ed { flex: 1 1 320px; min-width: 0; background: var(--paper); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.ed:hover { transform: translateY(-8px); box-shadow: 0 24px 44px rgba(1,14,38,.12); }
.ed-top { background: var(--c); height: 250px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ed-top::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 14px, transparent 14px 28px); }
.ed-top img { position: relative; width: 210px; height: 210px; object-fit: contain; background: #fff; border-radius: 22px; padding: 8px; transform: rotate(-4deg); box-shadow: 0 16px 30px rgba(0,0,0,.25); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.ed:hover .ed-top img { transform: rotate(3deg) scale(1.05); }
.ed-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ed-body h3 { font-size: 30px; color: var(--c); }
.ed-body .who { margin: 0; font-weight: 600; }
.ed-body p { margin: 0; color: var(--muted); }
.ed-foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.price { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 34px; line-height: 1; margin-right: auto; }

/* ---------- cartes à retourner ---------- */
.tabs { display: inline-flex; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin: 0 auto 40px; }
.tabs-wrap { text-align: center; }
.tab { border: 0; background: none; cursor: pointer; padding: 10px 22px; border-radius: 999px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--c); color: #fff; }
.deck { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.deck[hidden] { display: none; }
/* nom du thème au-dessus de chaque carte, dans la couleur de la carte */
.deck-item { width: 250px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.deck-theme { margin: 0; padding: 7px 16px 6px; border-radius: 999px; background: var(--t); color: #fff; font: 800 13px/1.2 'Nunito', sans-serif;
  text-transform: uppercase; letter-spacing: 1.2px; text-align: center; box-shadow: 0 4px 0 rgba(0,0,0,.22); rotate: -2deg; }
.deck-item:nth-child(even) .deck-theme { rotate: 2deg; }
.deck-theme.dark { color: var(--ink); }
.flip { width: 250px; aspect-ratio: 5 / 7; perspective: 1200px; border: 0; padding: 0; background: none; cursor: pointer; }
.flip .inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.34,1.3,.64,1); }
.flip.flipped .inner { transform: rotateY(180deg); }
.flip:not(.flipped):hover .inner { transform: rotateY(-12deg) rotate(-2deg); }
.flip .side { display: block; position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 32px rgba(1,14,38,.18); }
.flip .back { background: var(--c); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; }
.flip .back::before { content: ""; position: absolute; inset: 12px; border: 3px dashed rgba(255,255,255,.4); border-radius: 12px; }
.flip .back .logo .tile { width: 26px; height: 26px; font-size: 15px; box-shadow: 0 0 0 2px #fff; }
.flip .back .q { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 90px; line-height: 1; }
.flip .back small { font-family: 'Nunito', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.flip .face { transform: rotateY(180deg); background: #fff; }
.flip .face img { width: 100%; height: 100%; object-fit: cover; }
.flip .face.txt { background: var(--c); padding: 12px; display: flex; flex-direction: column; text-align: left; }
.flip .face.txt .theme { margin: 4px 0 8px; text-align: center; color: #fff; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
.flip .face.txt .card { background: #fff; border-radius: 12px; padding: 14px; font-size: 13.5px; line-height: 1.45; flex: 1; color: var(--ink); }
.flip .face.txt .theme { display: block; }
.flip .face.txt .card > span { display: block; margin: 0 0 7px; }
.flip .face.txt .card .q2 { font-weight: 700; margin-bottom: 10px; }
/* carte en texte à côté des cartes en image : même bord blanc que les vraies cartes */
.flip .face.txt.framed { border: 9px solid #fff; padding: 10px; text-align: center; }
.flip .logo { display: inline-flex; gap: 3px; }
.boxes .bx { display: flex; }
.deck-note { text-align: center; margin-top: 28px; color: var(--muted); }

/* ---------- le jeu en action ---------- */
.video { position: relative; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 24px 50px rgba(0,0,0,.35); aspect-ratio: 4 / 5; max-height: 600px; }
.video video, .video > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video .play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.video .play:hover { transform: scale(1.08); }
.video.playing .play { display: none; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li::before { counter-increment: s; content: counter(s); flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--c, var(--orange)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 20px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.steps li:nth-child(1) { --c: var(--l-g); } .steps li:nth-child(2) { --c: var(--l-a); } .steps li:nth-child(3) { --c: var(--l-m); } .steps li:nth-child(4) { --c: var(--l-i); }
/* sur le fond bleu-vert, la pastille 1 (bleu-vert) et la 3 (vert) se confondaient avec le fond */
section[data-bg="sarcelle"] .steps li:nth-child(1) { --c: var(--g-jaune); } section[data-bg="sarcelle"] .steps li:nth-child(3) { --c: var(--g-foret); }
.steps b { display: block; font-family: 'Nunito', sans-serif; text-transform: uppercase; font-size: 18px; line-height: 1.2; }
.steps p { margin: 2px 0 0; color: inherit; opacity: .85; }

/* ---------- avis ---------- */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 12px; }
.score .fr { font-size: 56px; color: var(--red); }
.score small { color: var(--muted); display: block; }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 18px; }
.review-list { display: flex; flex-wrap: wrap; gap: 22px; }
/* mur d'avis (accueil) : chaque avis est une carte du jeu, penchée, aux couleurs GAMOBI ; deux photos de parties s'y glissent */
.rv-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; max-width: 1520px; margin: 0 auto; padding: 0 40px; }
.rv { display: flex; flex-direction: column; margin: 0; padding: 30px 30px 26px; border-radius: 28px; background: var(--paper); color: var(--ink); position: relative;
  rotate: var(--tilt, 0deg); box-shadow: 0 6px 0 rgba(1,14,38,.18); transition: rotate .4s cubic-bezier(.34,1.56,.64,1), translate .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.rv:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 0 12px 0 rgba(1,14,38,.18); }
.rv-q { position: absolute; right: 22px; top: 6px; font: 800 96px/1 'Grandstander', sans-serif; color: var(--orange); opacity: .35; pointer-events: none; }
.rv-stars { color: var(--orange); font-size: 20px; letter-spacing: 3px; }
.rv h3 { font-size: 26px; line-height: 1.1; margin: 10px 0 10px; padding-right: 30px; }
.rv p { margin: 0; font-size: 17px; line-height: 1.55; }
.rv footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; font-family: 'Nunito', sans-serif; }
.rv footer b { display: block; font-size: 15px; font-weight: 800; }
.rv footer small { display: block; font-size: 13px; opacity: .7; }
.rv-av { width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
  font: 800 20px/1 'Grandstander', sans-serif; rotate: -6deg; }
.rv-teal, .rv-green, .rv-red, .rv-menthe { color: #fff; }
.rv-teal { background: var(--g-sarcelle); } .rv-green { background: var(--g-foret); } .rv-red { background: var(--g-rouge); } .rv-menthe { background: var(--g-menthe); }
:is(.rv-teal, .rv-green, .rv-red, .rv-menthe) :is(.rv-stars, .rv-q) { color: #FBE7C4; }
:is(.rv-teal, .rv-green, .rv-red, .rv-menthe) .rv-av { background: #fff; color: var(--ink); }
.rv-pic { padding: 0; overflow: hidden; background: none; }
.rv-pic img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
/* tablette et petit ordinateur : 2 colonnes (placé après la grille de base, sinon il est écrasé et les avis deviennent des colonnes étroites et très hautes) */
@media (min-width: 761px) and (max-width: 1200px) { .rv-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 32px; } }
.review { flex: 1 1 300px; min-width: 0; margin: 0; background: var(--paper); border-radius: 18px; padding: 26px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.review:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 18px 34px rgba(1,14,38,.1); }
.review h3 { font-size: 20px; margin: 10px 0 8px; }
.review p { margin: 0; }
.review footer { margin-top: 14px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.to-collect { background: var(--paper); border: 2px dashed var(--line); border-radius: 18px; padding: 28px; text-align: center; color: var(--muted); }

/* ---------- à propos (Ludo) ---------- */
.portrait { position: relative; height: 480px; border-radius: 32px; background: var(--c, #F5C330); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .tag { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 999px; padding: 6px 16px 4px; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.faq > div:first-child { flex: 0 0 280px; }
.faq-list { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border-radius: 18px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--red); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- dernière invitation ---------- */
.finale { background: var(--teal); color: var(--ink); text-align: center; overflow: hidden; }
.finale .fr { color: var(--ink); }
.finale p { max-width: 560px; margin: 16px auto 0; }
.giant { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.giant .tile { width: 96px; height: 96px; font-size: 66px; border: 5px solid #fff; border-radius: 16px; transform: rotate(var(--rot, 0deg)); box-shadow: inset 0 -6px 0 rgba(0,0,0,.18), 0 10px 0 rgba(0,0,0,.12); }
.giant .tile:nth-child(1) { --rot: -6deg; --i: 0; } .giant .tile:nth-child(2) { --rot: 4deg; --i: 1; } .giant .tile:nth-child(3) { --rot: -3deg; --i: 2; }
.giant .tile:nth-child(4) { --rot: 5deg; --i: 3; } .giant .tile:nth-child(5) { --rot: -4deg; --i: 4; } .giant .tile:nth-child(6) { --rot: 6deg; --i: 5; }
.boxes { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 44px; }
.boxes a { width: 230px; text-decoration: none; color: #fff; }
.boxes .bx { height: 260px; display: flex; align-items: flex-end; justify-content: center; transform: rotate(var(--rot, 0deg)); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.boxes a:hover .bx { transform: rotate(0) scale(1.06); }
/* boîtes détourées posées directement sur le fond, sans cadre : juste une ombre portée */
.boxes .bx img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.3)); }
.boxes b { display: block; margin-top: 16px; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 22px; }
.boxes small { opacity: .85; }

/* les 3 jeux en bas de l'accueil : les infos du sélecteur du haut, côte à côte en trois colonnes */
.ed3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1140px; margin: 70px auto 0; text-align: left; }
.ed3 { display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 0 8px 0 rgba(0,0,0,.18);
  transition: translate .35s cubic-bezier(.34,1.56,.64,1); }
.ed3:hover { translate: 0 -6px; }
.ed3-vis { display: flex; align-items: center; justify-content: center; height: 250px; background: var(--c); }
.ed3-vis img { height: 210px; width: auto; max-width: 80%; object-fit: contain; rotate: var(--rot); filter: drop-shadow(0 16px 18px rgba(0,0,0,.3));
  transition: rotate .4s cubic-bezier(.34,1.56,.64,1), scale .4s cubic-bezier(.34,1.56,.64,1); }
.ed3:hover .ed3-vis img { rotate: 0deg; scale: 1.06; }
.ed3-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 26px; }
.ed3-body h3 { margin: 0; font-size: 34px; line-height: 1; }
.ed3-body h3 a { color: var(--c); text-decoration: none; }
.ed3-who { margin: 0; font-weight: 700; color: var(--muted); }
/* la règle « .finale p » centrait les petits textes des cartes */
.finale .ed3 p { margin: 0; max-width: none; text-align: left; }
.ed3-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.ed3-foot .price { font-size: 28px; }
@media (max-width: 960px) { .ed3-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }

/* ---------- pied de page ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--g-foret); color: #fff; padding-top: 90px; padding-bottom: 30px; }
/* liseré aux 5 couleurs du logo, comme en haut du site */
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: linear-gradient(90deg, var(--g-sarcelle) 0 20%, var(--g-menthe) 20% 40%, var(--g-foret) 40% 60%, var(--g-jaune) 60% 80%, var(--g-rouge) 80%); }
.site-footer::before { box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.site-footer .wrap { position: relative; z-index: 1; }
/* cartes du jeu « ? » qui flottent derrière le contenu */
.ft-deco i { position: absolute; left: var(--x); top: var(--y); width: 64px; height: 90px; border-radius: 12px; background: var(--c); border: 3px solid rgba(255,255,255,.9);
  rotate: var(--rot); box-shadow: 0 8px 0 rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; opacity: .95; }
.ft-deco i::after { content: "?"; font: 800 40px/1 'Grandstander', sans-serif; color: #fff; }
.js-anim .ft-deco i { animation: ftFloat 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes ftFloat { 50% { translate: 0 -14px; rotate: calc(var(--rot) + 6deg); } }
.ft-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 2px solid rgba(255,255,255,.14); }
.ft-hello { margin: 0; flex: 1 1 560px; max-width: 980px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; color: #fff; }
.ft-hello span { color: var(--g-jaune); }
.ft { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.ft-brand { flex: 1 1 260px; min-width: 0; }
.ft-brand p { color: rgba(255,255,255,.8); margin: 16px 0 0; max-width: 300px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 48px; height: 48px; border-radius: 14px; background: var(--g-jaune); display: flex; align-items: center; justify-content: center; color: #fff;
  rotate: -6deg; box-shadow: 0 5px 0 rgba(0,0,0,.25); transition: rotate .35s cubic-bezier(.34,1.56,.64,1), translate .35s cubic-bezier(.34,1.56,.64,1); }
.socials a:nth-child(2) { background: var(--g-rouge); rotate: 5deg; }
.socials a:nth-child(3) { background: var(--g-sarcelle); rotate: -3deg; }
.socials a:hover { rotate: 0deg; translate: 0 -5px; }
.ft-col { flex: 0 1 170px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* titres de colonnes en tuiles penchées, comme les lettres du logo */
.ft-col h3 { display: inline-block; margin: 0 0 8px; padding: 7px 12px 8px; border-radius: 10px; background: var(--g-sarcelle); color: #fff; rotate: -3deg;
  font: 800 14px/1 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 0 rgba(0,0,0,.22); }
.ft-col:nth-of-type(2) h3 { background: var(--g-jaune); rotate: 2deg; }
.ft-col:nth-of-type(3) h3 { background: var(--g-rouge); rotate: -2deg; }
.ft-col:nth-of-type(4) h3 { background: var(--g-menthe); rotate: 3deg; }
.ft-col a { color: #fff; text-decoration: none; font-weight: 700; transition: color .2s, translate .25s cubic-bezier(.34,1.56,.64,1); }
.ft-col a:hover { color: var(--g-jaune); translate: 5px 0; }
.ft-legal { border-top: 2px solid rgba(255,255,255,.14); margin-top: 56px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; color: rgba(255,255,255,.7); font-size: 14px; }
.ft-langs { display: flex; gap: 10px; margin-left: auto; }
.ft-flag { display: block; width: 36px; height: 24px; border-radius: 6px; overflow: hidden; rotate: -5deg; box-shadow: 0 3px 0 rgba(0,0,0,.28);
  transition: rotate .35s cubic-bezier(.34,1.56,.64,1), translate .35s cubic-bezier(.34,1.56,.64,1), opacity .2s; }
.ft-flag:nth-child(even) { rotate: 4deg; }
.ft-flag:hover { rotate: 0deg; translate: 0 -3px; }
.ft-flag svg { display: block; width: 100%; height: 100%; }
.ft-flag.later { opacity: .4; }
.ft-flag.later:hover { opacity: .8; }
.ft-up { width: 48px; height: 48px; border: 0; border-radius: 14px; background: #fff; color: var(--g-foret); font: 900 22px/1 'Nunito', sans-serif; cursor: pointer;
  box-shadow: 0 5px 0 rgba(0,0,0,.3); transition: translate .2s, box-shadow .2s; }
.ft-up:hover { translate: 0 -3px; box-shadow: 0 8px 0 rgba(0,0,0,.3); }
.ft-up:active { translate: 0 4px; box-shadow: 0 1px 0 rgba(0,0,0,.3); }
@media (max-width: 860px) {
  .site-footer { padding-top: 70px; }
  .ft-top { padding-bottom: 40px; margin-bottom: 40px; }
  .ft-deco i { width: 44px; height: 62px; border-radius: 9px; }
  .ft-deco i::after { font-size: 28px; }
  .ft-deco i:nth-child(4), .ft-deco i:nth-child(5) { display: none; }
}

/* ---------- fiche édition ---------- */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.product { padding-top: 34px; padding-bottom: 90px; }
.product .row { gap: 56px; align-items: flex-start; }
.gal-main { height: 480px; border-radius: 28px; border: 7px solid var(--edc); background: #fff; overflow: hidden; box-shadow: 0 22px 44px rgba(1,14,38,.14); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-main img.contain { object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.thumb { width: 78px; height: 78px; padding: 3px; border-radius: 14px; background: #fff; cursor: pointer; border: 3px solid var(--line); }
.thumb[aria-current="true"] { border-color: var(--edc); }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.buy { display: flex; flex-direction: column; gap: 16px; }
.buy .lockup { font-size: 62px; }
.buy .hook { margin: 0; font-size: 20px; font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--edc); line-height: 1.3; }
.buy .who { margin: 0; color: var(--muted); }
.rating { margin: 0; font-size: 15px; color: var(--muted); }
.rating b { color: var(--orange); letter-spacing: 2px; }
.buy .price { font-size: 52px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.qty { display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 999px; height: 50px; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty output, .qty .n { min-width: 26px; text-align: center; font-weight: 700; }
.buy-row .btn-red { flex: 1 1 220px; }
.ship { list-style: none; margin: 0; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.ship li { display: flex; gap: 10px; align-items: center; }
.ship svg { flex: none; color: var(--edc); }
.added { background: var(--paper); border: 3px solid var(--edc); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.added[hidden] { display: none; }
.added > p { margin: 0; font-weight: 700; color: var(--edc); }
.mini { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mini > div { flex: 1 1 140px; }
.mini p { margin: 0; font-weight: 700; }
.mini small { color: var(--muted); }
.mini img, .mini .tile { width: 52px; height: 52px; object-fit: contain; background: var(--cream); border-radius: 12px; font-size: 16px; }

.local { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; background: var(--paper); border: 3px solid var(--l-m); border-radius: 32px; padding: 36px; }
.local > * { flex: 1 1 360px; min-width: 0; }
.local .vis { height: 260px; border-radius: 22px; background: repeating-linear-gradient(135deg, #5E9A7E 0 14px, #4A8569 14px 28px); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; padding: 20px; }
.local h2 { color: var(--l-m); font-size: 36px; margin-top: 10px; }
.local ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.local .price { font-size: 30px; }

.scenes { display: flex; flex-wrap: wrap; gap: 22px; }
/* « Avec qui allez-vous jouer ? » : photos sans cadre, droites et arrondies, comme la mosaïque de l'accueil ; la photo zoome au survol */
.scene { flex: 1 1 300px; min-width: 0; margin: 0; position: relative; border-radius: 26px; overflow: hidden; height: 380px; background: rgba(1,14,38,.15); }
.scene img, .scene .ph { width: 100%; height: 100%; object-fit: cover; }
.scene img { transition: transform .8s cubic-bezier(.22,1,.36,1); }
.scene:hover img { transform: scale(1.06); }
.scene .ph { background: repeating-linear-gradient(135deg, var(--beige) 0 14px, #EFDDBF 14px 28px); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); text-align: center; padding: 20px; }
.scene figcaption { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
/* dégradé sombre sous la légende, pour qu'elle reste lisible sur les photos claires */
.scene:not(:has(.ph))::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(1,14,38,0), rgba(1,14,38,.68)); }
.scene .ph + figcaption { color: var(--ink); text-shadow: none; }
.scene figcaption b { display: inline-block; background: #fff; color: var(--c, var(--edc)); text-shadow: none; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; padding: 4px 12px 2px; border-radius: 999px; margin-bottom: 6px; }

.facts { margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 2px 0 0; color: var(--muted); }
.box-photo { height: 440px; border-radius: 28px; overflow: hidden; }
.box-photo img { width: 100%; height: 100%; object-fit: cover; }
/* « Dans la boîte » : une grande photo de la boîte ouverte et trois détails (carte Connexion, ardoise, règles), sans cadre */
.box-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; height: 480px; }
.box-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.box-grid img:first-child { grid-row: 1 / -1; border-radius: 28px; }
/* « Dans la boîte » (Classique) : une seule grande photo de tout le contenu, sans cadre */
.box-one { margin: 0; flex: 1.8 1 560px; }
.box-one img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px; }

.collection { display: flex; flex-wrap: wrap; gap: 22px; }
.coll { flex: 1 1 260px; min-width: 0; display: flex; gap: 16px; align-items: center; background: var(--paper); border-radius: 24px; padding: 18px; border: 3px solid var(--c); text-decoration: none; color: var(--ink); transition: transform .25s; }
.coll:hover { transform: translateY(-4px); }
.coll img, .coll .tile { width: 90px; height: 90px; object-fit: contain; flex: none; border-radius: 14px; font-size: 26px; }
.coll b { display: block; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 22px; color: var(--c); line-height: 1.1; }
.coll small { color: var(--muted); }

/* barre d'achat fixe (mobile) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(1,14,38,.12);
  display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s ease; }
.buybar.show { transform: none; }
.buybar img { width: 44px; height: 44px; object-fit: contain; }
.buybar div { flex: 1; min-width: 0; line-height: 1.2; }
.buybar b { display: block; font-family: 'Nunito', sans-serif; text-transform: uppercase; font-size: 15px; color: var(--edc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- panier, commande, confirmation ---------- */
.shop { padding-top: 40px; padding-bottom: 100px; }
.shop h1 { font-size: 52px; }
.flow { display: flex; gap: 8px; list-style: none; padding: 0; margin: 14px 0 36px; flex-wrap: wrap; font-family: 'Nunito', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 13px; }
.flow li { padding: 6px 14px 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.flow li.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-grid { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.shop-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.shop-side { flex: 1 1 320px; min-width: 0; position: sticky; top: 100px; }
.line { display: flex; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 16px; flex-wrap: wrap; }
.line img, .line .tile { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; background: var(--cream); font-size: 22px; }
.line .info { flex: 1 1 160px; min-width: 0; }
.line .info b { display: block; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 20px; color: var(--c, var(--ink)); }
.line .info small { color: var(--muted); }
.line .qty { height: 44px; }
.line .qty button { height: 40px; }
.line .amount { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 22px; min-width: 96px; text-align: right; }
.line .rm { border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 14px; }
.empty { background: var(--paper); border: 2px dashed var(--line); border-radius: 22px; padding: 40px; text-align: center; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.summary h2 { font-size: 24px; }
.summary .l { display: flex; justify-content: space-between; gap: 12px; }
.summary .l span:last-child { text-align: right; }
.summary .tot { border-top: 1px solid var(--line); padding-top: 12px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 22px; }
.summary .note { font-size: 13.5px; color: var(--muted); margin: 0; }
.summary .btn { width: 100%; }
.reassure { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); }
.upsell-card { background: var(--beige); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.upsell-card h2 { font-size: 22px; }

.form-step { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.form-step h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.form-step h2 span { width: 34px; height: 34px; border-radius: 10px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.fields { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field.full { flex-basis: 100%; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(42,127,127,.2); }
.choices { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.choice { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,127,127,.15); }
.choice input { width: 20px; height: 20px; accent-color: var(--teal); }
.choice div { flex: 1; }
.choice small { display: block; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.recap-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.done { text-align: center; max-width: 760px; margin: 0 auto; }
.done .big-check { width: 96px; height: 96px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.done .num { display: inline-block; margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 20px; }
.next { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; text-align: left; }
.next > div { flex: 1 1 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.next b { display: block; font-family: 'Nunito', sans-serif; text-transform: uppercase; margin-bottom: 6px; }

/* pages pratiques */
.doc { max-width: 820px; margin: 0 auto; }
.doc h1 { font-size: 52px; margin-bottom: 26px; }
.doc h2 { font-size: 24px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--muted); }

/* page auteurs */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 36px; overflow: hidden; height: 520px; box-shadow: 0 24px 50px rgba(1,14,38,.16); margin-top: 44px; }
.duo figure { margin: 0; position: relative; background: var(--c); }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.duo figcaption { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 999px; padding: 6px 18px 4px; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; }
.vals { display: flex; flex-wrap: wrap; gap: 22px; }
.val { flex: 1 1 280px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-top: 8px solid var(--c); border-radius: 22px; padding: 26px; }
.val .tile { width: 48px; height: 48px; font-size: 22px; margin-bottom: 14px; }
.val h3 { font-size: 24px; }
.val p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 760px) { .duo { height: 300px; } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 160%); z-index: 70; background: var(--forest); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 600; transition: transform .3s ease; display: flex; gap: 14px; align-items: center; }
.toast a { color: #fff; font-weight: 700; }
.toast.show { transform: translate(-50%, 0); }

/* ==========================================================================
   Animations (esprit lesa.app) : actives seulement si le script pose .js-anim,
   jamais si l'appareil demande moins d'animations.
   ========================================================================== */
@keyframes tileIn {
  0% { opacity: 0; transform: translateY(-120px) rotate(calc(var(--rot, 0deg) - 30deg)) scale(.4); }
  70% { opacity: 1; transform: translateY(8px) rotate(calc(var(--rot, 0deg) + 4deg)) scale(1.04); }
  100% { opacity: 1; transform: rotate(var(--rot, 0deg)); }
}
@keyframes bob { 0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); } 50% { transform: rotate(calc(var(--rot, 0deg) + 2deg)) translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.js-anim .finale.in .giant .tile { animation: tileIn .9s cubic-bezier(.34,1.56,.64,1) both, bob 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms), calc(1s + var(--i) * 350ms); }
.js-anim .finale:not(.in) .giant .tile { opacity: 0; }
.js-anim .collage img { animation: bob 6s ease-in-out infinite; }
.js-anim .collage .c2 { animation-delay: -2s; }
.js-anim .collage .c3 { animation-delay: -4s; }
.js-anim .hero .text > * { animation: rise .8s cubic-bezier(.22,1,.36,1) both; }
.js-anim .hero .text > *:nth-child(2) { animation-delay: .08s; } .js-anim .hero .text > *:nth-child(3) { animation-delay: .16s; }
.js-anim .hero .text > *:nth-child(4) { animation-delay: .24s; } .js-anim .hero .text > *:nth-child(5) { animation-delay: .32s; }
.js-anim .reveal { transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); }
.js-anim .reveal:not(.in) { opacity: 0; transform: translateY(46px); }
.js-anim .reveal.pop:not(.in) { transform: scale(.85) rotate(-4deg); }
.js-anim .deck.in .flip { animation: rise .7s cubic-bezier(.34,1.3,.64,1) both; animation-delay: calc(var(--k, 0) * 100ms); }
.big .w { color: rgba(1,14,38,.22); transition: color .25s; }
.big .w.on { color: var(--ink); }
.dark .big .w { color: rgba(255,255,255,.25); }
.dark .big .w.on { color: #fff; }
.big { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.35; }

/* ---------- bande de photos qui défile (inspirée de lesa.app) ---------- */
.photos-sec { padding: 90px 0 40px; }
.photos-sec .center-head { margin-bottom: 10px; }
/* mosaïque de photos (accueil) : deux lignes, une grande photo, les autres autour ; un clic ouvre la visionneuse */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(200px, 19vw, 290px)); gap: 16px;
  max-width: 1400px; margin: 0 auto; padding: 20px 24px 10px; }
.g-tile { position: relative; display: block; overflow: hidden; border-radius: 26px; background: rgba(1,14,38,.15); cursor: zoom-in; }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.g-tile[hidden] { display: none; }
.g-tile:hover img, .g-tile:focus-visible img { transform: scale(1.06); }
.g-tile:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.g-1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.g-3 { grid-column: span 2; }
.g-4 { grid-column: 6; grid-row: 1 / span 2; }
.g-5 { grid-column: 3 / span 2; }
.g-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; width: fit-content; padding: 8px 14px; border-radius: 14px; background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 700; line-height: 1.3; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .35s cubic-bezier(.22,1,.36,1); }
.g-tile:hover .g-cap, .g-tile:focus-visible .g-cap { opacity: 1; transform: none; }
.g-tile[data-more]::after { content: attr(data-more) " photos"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(1,14,38,.5); color: #fff; font: 800 30px/1 'Grandstander', 'Nunito', sans-serif; transition: background-color .3s; }
.g-tile[data-more]:hover::after { background: rgba(1,14,38,.35); }
.g-tile[data-more] .g-cap { display: none; }
/* apparition en cascade quand la mosaïque arrive à l'écran */
.js-anim .gallery .g-tile { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .6s, transform .8s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--k, 0) * 70ms); }
.js-anim .gallery.in .g-tile { opacity: 1; transform: none; }
/* visionneuse plein écran */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(1,14,38,.94); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: calc(100% - 180px); }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 20px; object-fit: contain; }
.lb-fig figcaption { font-size: 16px; font-weight: 700; text-align: center; }
.lb-count { position: absolute; left: 28px; top: 24px; font: 800 18px/1 'Nunito', sans-serif; opacity: .8; }
.lb-btn { position: absolute; width: 56px; height: 56px; border-radius: 18px; border: 0; background: #fff; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font: 900 26px/1 'Nunito', sans-serif; box-shadow: 0 5px 0 rgba(0,0,0,.35); transition: transform .15s, box-shadow .15s; }
.lb-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0,0,0,.35); }
.lb-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.lb-close { right: 24px; top: 20px; }
.lb-prev { left: 24px; top: 50%; margin-top: -28px; }
.lb-next { right: 24px; top: 50%; margin-top: -28px; }
.lb-fig.slide img { animation: lbIn .45s cubic-bezier(.22,1,.36,1); }
@keyframes lbIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 40px)) scale(.98); } }
.strip { overflow: hidden; }
.strip-track { --gap: 26px; display: flex; gap: var(--gap); width: max-content; padding: 26px 0 40px; animation: strip 80s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(calc(-50% - var(--gap, 26px) / 2)); } }
.strip figure { flex: none; margin: 0; height: 330px; padding: 10px; background: #fff; border-radius: 22px; box-shadow: 0 18px 36px rgba(1,14,38,.14);
  transform: rotate(var(--rot, 0deg)); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.strip figure:hover { transform: rotate(0deg) scale(1.04); }
.strip img { height: 100%; width: auto; border-radius: 14px; }
.strip.static { overflow-x: auto; }
.strip.static .strip-track { animation: none; padding-left: 24px; padding-right: 24px; }
/* photo sous le titre de la FAQ */
.faq-photo { margin-top: 26px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 18px 36px rgba(1,14,38,.14); transform: rotate(-2deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-in, .badge-rot svg.ring, .cart-btn.bump { animation: none; }
  .flip .inner, .menu-panel, .menu-links li, .menu-social, .menu-shelf a, .strip figure { transition: none; }
  .btn, .trio a, .ed, .ed-top img, .review, .scene, .coll, .boxes .bx, .toast, .buybar { transition: none; }
  .btn:hover, .ed:hover, .trio a:hover, .scene:hover, .coll:hover, .review:hover { transform: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .hd .cart-btn .lbl { display: none; }
  .burger { display: inline-flex; }
  /* menu à gauche, logo au centre, panier à droite */
  .hd { gap: 8px; }
  .hd-act { display: contents; }
  .hd .burger { grid-column: 1; grid-row: 1; justify-self: start; }
  .hd .cart-btn { grid-column: 3; grid-row: 1; justify-self: end; padding: 8px 10px; }
  .hd .logo { gap: 4px; }
  .hd .logo .tile { width: 36px; height: 36px; border-radius: 8px; font-size: 22px; }
  .hd .logo-img img { height: 44px; }
}
@media (max-width: 420px) {
  .hd .logo { gap: 3px; }
  .hd .logo .tile { width: 28px; height: 28px; border-radius: 7px; font-size: 17px; }
  .hd .logo-img img { height: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .photos-sec { padding-top: 64px; }
  .strip figure { height: 230px; padding: 7px; border-radius: 16px; }
  .rv-wall { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 20px; }
  .rv { padding: 24px 22px 22px; }
  .rv h3 { font-size: 23px; }
  .rv-pic img { min-height: 0; height: 260px; }
  .rv-pic + .rv-pic, .rv-wall .rv-pic:last-of-type { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 150px; gap: 10px; padding: 10px 16px 0; }
  .g-tile { border-radius: 18px; }
  .g-1 { grid-column: 1 / span 2; grid-row: span 2; }
  .g-3 { grid-column: auto; }
  .g-4 { grid-column: 1; grid-row: span 2; }
  .g-5 { grid-column: 2; }
  .g-cap { display: none; }
  .g-tile[data-more]::after { font-size: 24px; }
  .lb-fig { max-width: calc(100% - 24px); }
  .lb-fig img { max-height: calc(100vh - 200px); border-radius: 14px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; margin: 0; }
  .lb-prev { left: calc(50% - 68px); } .lb-next { right: calc(50% - 68px); }
  .strip-track { --gap: 16px; animation-duration: 60s; }
  .faq-photo { max-width: 420px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .h1, .hero h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .big { font-size: 22px; }
  .collage { height: 380px; }
  .collage .c1 { height: 250px; width: 84%; }
  .collage .c2 { height: 150px; }
  .collage .c3 { height: 150px; }
  .badge-rot { width: 96px; height: 96px; left: auto; right: 0; bottom: -10px; }
  .trio img { height: 80px; }
  .ed-top { height: 210px; }
  .ed-top img { width: 170px; height: 170px; }
  .flip { width: calc(50% - 10px); }
  .deck-item { width: calc(50% - 10px); gap: 10px; }
  .deck-item .flip { width: 100%; }
  .deck-theme { font-size: 11px; padding: 6px 10px 5px; letter-spacing: .6px; }
  .deck { gap: 16px; }
  .flip .face.txt .card { font-size: 11.5px; padding: 10px; }
  .flip .back .q { font-size: 60px; }
  .flip .back .logo { gap: 2px; }
  .flip .back .logo .tile { width: 17px; height: 17px; font-size: 10px; border-radius: 4px; box-shadow: 0 0 0 1.5px #fff; }
  .tabs { margin-bottom: 28px; }
  .tab { padding: 8px 14px; font-size: 14px; }
  .faq > div:first-child { flex-basis: 100%; }
  .giant { gap: 6px; }
  .giant .tile { width: 46px; height: 46px; font-size: 30px; border-width: 3px; border-radius: 10px; }
  .boxes a { width: calc(50% - 14px); }
  .boxes .bx { height: 170px; }
  .portrait { height: 360px; }
  .buy .lockup { font-size: 40px; }
  .buy .price { font-size: 40px; }
  .gal-main { height: 320px; }
  .buybar { display: flex; }
  .product { padding-bottom: 60px; }
  .local { padding: 22px; }
  .scene { height: 260px; }
  .box-photo { height: 300px; }
  .box-grid { height: 340px; gap: 8px; }
  .box-one img { border-radius: 22px; }
  .line .amount { min-width: 0; }
  .shop-side { position: static; }
  .shop h1 { font-size: 36px; }
  .toast { bottom: 90px; }
}

/* accueil : les deux créateurs côte à côte */
.duo-home { margin-top: 0; height: 460px; }

@media (max-width: 860px) {
  .duo-home { height: 300px; }
}

/* fond qui change de couleur au défilement (inspiré de lesa.app) : chaque section [data-bg] donne sa teinte à toute la page */
body { --page-bg: var(--cream); background: var(--page-bg); transition: background-color .7s cubic-bezier(.22,1,.36,1); }
.site-header { transition: box-shadow .2s, background-color .7s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1); }
/* en descendant, l'en-tête remonte derrière le ruban ; il redescend dès qu'on remonte */
.site-header.hd-hide { transform: translateY(-100%); }
/* les sections colorées utilisent les 5 couleurs du logo GAMOBI : bleu-vert, vert, vert foncé, orange, rouge ;
   le rail de gauche prend la même couleur. Le crème reste le fond neutre */
:root { --g-sarcelle: #2A7F7F; --g-menthe: #4D7968; --g-foret: #1C4A43; --g-jaune: #EF8A3C; --g-rouge: #EB4523; --g-corail: #E2694A; }
body[data-bg="beige"] { --page-bg: var(--beige); }
/* sections pleine largeur sans arrondi : leur fond est celui de la page, pour qu'il n'y ait qu'une couleur à l'écran, en-tête compris */
section[data-bg] { background: transparent; }
body[data-bg="sarcelle"] { --page-bg: var(--g-sarcelle); }
body[data-bg="menthe"] { --page-bg: var(--g-menthe); --rail: var(--g-menthe); }
body[data-bg="corail"] { --page-bg: var(--g-corail); --rail: var(--g-corail); }
body[data-bg="foret"] { --page-bg: var(--g-foret); --rail: var(--g-foret); }
body[data-bg="jaune"] { --page-bg: var(--g-jaune); --rail: var(--g-jaune); }
body[data-bg="rouge"] { --page-bg: var(--g-rouge); --rail: var(--g-rouge); }
/* sur l'orange et le rouge, le panier rouge se perdrait : il passe en blanc */
body:is([data-bg="jaune"], [data-bg="rouge"]) .site-header .cart-btn { background: #fff; color: var(--red); }
body:is([data-bg="jaune"], [data-bg="rouge"]) .site-header .cart-btn .count { background: var(--red); color: #fff; }
.acc { color: var(--red); }
/* texte des sections colorées : blanc sur les fonds foncés, bleu nuit sur l'orange (plus lisible) */
section:is([data-bg="foret"], [data-bg="sarcelle"], [data-bg="rouge"], [data-bg="menthe"], [data-bg="corail"]) :is(.h2, .lead) { color: #fff; }
section:is([data-bg="foret"], [data-bg="sarcelle"], [data-bg="rouge"], [data-bg="menthe"], [data-bg="corail"]) .kicker { color: #FBE7C4; }
section[data-bg="rouge"] .acc { color: var(--ink); }
section:is([data-bg="sarcelle"], [data-bg="menthe"]) .acc { color: #FBE7C4; }
section[data-bg="corail"] .acc { color: var(--g-foret); }
section[data-bg="foret"] .acc { color: var(--g-jaune); }
section[data-bg="rouge"] .lead a { color: #fff; }
section:is([data-bg="foret"], [data-bg="sarcelle"], [data-bg="rouge"], [data-bg="menthe"], [data-bg="corail"]) .deck-note { color: rgba(255,255,255,.8); }
section[data-bg="jaune"] .kicker, section[data-bg="jaune"] .reviews-head .stars, section[data-bg="jaune"] .score small { color: var(--ink); }
section[data-bg="jaune"] .acc, section[data-bg="jaune"] .score .fr { color: #fff; }
section[data-bg="jaune"] .to-collect { background: rgba(255,255,255,.25); border-color: rgba(1,14,38,.3); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { body, .site-header, .rail { transition: none; } }

/* ---------- animations au défilement, version « grand spectacle » ---------- */
/* titres : chaque mot sort de sous une ligne invisible, l'un après l'autre */
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .22em .22em; margin: -.14em -.22em -.22em; }
.wd > span { display: inline-block; }
.js-anim .split .wd > span { transform: translateY(115%) rotate(7deg); transform-origin: 0 100%;
  transition: transform 1s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--wi, 0) * 70ms); }
.js-anim .split.in .wd > span { transform: none; }
.js-anim .hero .text > h1.split { animation: none; }

/* profondeur : certains éléments glissent plus vite ou plus lentement que la page */
.js-anim [data-speed] { translate: 0 var(--py, 0px); }
.js-anim .duo img, .js-anim .portrait img { scale: 1.16; }

/* panneaux arrondis : ils s'élargissent en arrivant à l'écran */

/* cartes des éditions et avis : arrivent en tournant, de biais */
.js-anim .ed.reveal:not(.in) { transform: translateY(110px) rotate(var(--er, 0deg)); }
.eds .ed:nth-child(1) { --er: -7deg; } .eds .ed:nth-child(3) { --er: 7deg; }
.js-anim .review.reveal:not(.in) { transform: translateY(70px) rotate(-4deg) scale(.94); }
.js-anim .review.reveal:nth-child(even):not(.in) { transform: translateY(70px) rotate(4deg) scale(.94); }

/* images : se dévoilent de bas en haut */
.js-anim .duo figure { clip-path: inset(0 0 0 0); transition: clip-path 1.2s cubic-bezier(.77,0,.18,1); }
.js-anim .duo.unveil:not(.in) figure:nth-child(1) { clip-path: inset(100% 0 0 0); }
.js-anim .duo.unveil:not(.in) figure:nth-child(2) { clip-path: inset(0 0 100% 0); }
.js-anim .duo figure:nth-child(2) { transition-delay: .15s; }

/* bande de photos : se penche selon la vitesse du défilement */
.js-anim .strip { transform: skewY(calc(var(--skew, 0) * 1deg)); transition: transform .5s cubic-bezier(.22,1,.36,1); }


/* accueil : « Le jeu de la révélation sociale » en grand, puis les 3 boîtes, chacune sur son socle de couleur */
.hero-games { padding-top: 28px; padding-bottom: 110px; }
.hero-games > .wrap { max-width: 1280px; }
html:not(.t-baloo) .hero-games h1 { font-size: 84px; }
.hero-head { position: relative; text-align: center; max-width: 1000px; margin: 0 auto; }
.hero-head h1 { margin-top: 10px; line-height: .95; }
.hero-head h1 > span:not(.wd) { display: block; }
.hero-head .hook { margin: 22px 0 0; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 30px; line-height: 1.15; letter-spacing: -.3px; color: var(--ink); }
.hero-head .hook b { color: var(--red); white-space: nowrap; }
.hero-head .concept { margin: 14px auto 0; max-width: 680px; font-size: 18px; }
/* le badge « Essayer une carte » se place sous le texte, au centre, et pousse les cartes vers le bas */
.hero-head .badge-rot { position: relative; left: auto; bottom: auto; width: 116px; height: 116px; margin: 26px auto 0; }
/* les 3 jeux : « Tu joues avec qui ? », trois grands boutons puis une scène à la couleur de l'édition choisie */
.pick { margin-top: 44px; scroll-margin-top: 110px; }
.pick-q { margin: 0 0 16px; text-align: center; font-weight: 900; font-size: 22px; color: var(--muted); }
.pick-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
.pick-opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 22px;
  border: 2px solid color-mix(in srgb, var(--c) 30%, var(--paper)); background: var(--paper); color: var(--ink); cursor: pointer; text-align: left;
  transition: background .35s, color .35s, transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.pick-opt img { height: 64px; width: 54px; object-fit: contain; flex: none; transform: rotate(-6deg); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.pick-opt span { display: grid; line-height: 1.1; }
.pick-opt small { font-size: 14px; font-weight: 700; opacity: .8; }
.pick-opt b { font-size: 26px; font-weight: 900; letter-spacing: -.4px; color: var(--c); transition: color .35s; }
.pick-opt:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(1,14,38,.1); }
.pick-opt:hover img { transform: rotate(4deg) scale(1.08); }
.pick-opt[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 14px 30px color-mix(in srgb, var(--c) 40%, transparent); }
.pick-opt[aria-selected="true"] b { color: #fff; }
.pick-opt[aria-selected="true"] img { transform: rotate(4deg) scale(1.12); }
/* barre qui se remplit pendant que l'édition est affichée, avant de passer à la suivante */
.pick-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(255,255,255,.75); transform-origin: left; transform: scaleX(0); }
.pick.auto .pick-opt[aria-selected="true"] .pick-bar { animation: pickBar var(--pick-ms, 6000ms) linear forwards; }
.pick.paused .pick-bar, .pick.off .pick-bar { animation-play-state: paused !important; }
@keyframes pickBar { to { transform: scaleX(1); } }
.pick-stage { margin-top: 22px; }
.pick-panel { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; padding: 30px 50px 30px 30px; border-radius: 36px;
  background: color-mix(in srgb, var(--c) 13%, var(--paper)); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--paper)); }
.pick-panel[hidden] { display: none; }
.pick-vis { position: relative; height: 430px; display: grid; place-items: center; }
.pick-vis::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: color-mix(in srgb, var(--c) 28%, var(--paper)); }
.pick-box { position: relative; z-index: 2; height: 380px; width: auto; max-width: 90%; object-fit: contain; transform: rotate(-4deg);
  filter: drop-shadow(0 22px 24px rgba(1,14,38,.3)); }
.pick-photo { position: absolute; z-index: 3; right: 2%; top: 4%; width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff; box-shadow: 0 14px 30px rgba(1,14,38,.22); transform: rotate(6deg); }
.pick-body { display: flex; flex-direction: column; gap: 12px; }
.pick-name { margin: 0; font-family: 'Grandstander', 'Nunito', sans-serif; font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: .2px; }
.pick-name a { color: var(--c); text-decoration: none; }
.pick-panel .who { margin: 0; font-weight: 800; font-size: 20px; }
.pick-desc { margin: 0; font-size: 18px; color: var(--muted); max-width: 440px; }
.pick-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.pick-foot .price { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 40px; color: var(--ink); white-space: nowrap; }
.pick-more { font-weight: 800; color: color-mix(in srgb, var(--c) 62%, #010E26); text-decoration: none; }
.pick-more:hover { text-decoration: underline; }
/* changement d'édition : la boîte tombe sur son disque, la photo et le texte arrivent juste après */
.js-anim .pick-panel.show .pick-box { animation: boxDrop .8s cubic-bezier(.34,1.56,.64,1) backwards; }
.js-anim .pick-panel.show .pick-photo { animation: pickPop .6s .2s cubic-bezier(.34,1.56,.64,1) backwards; }
.js-anim .pick-panel.show .pick-body > * { animation: pickUp .55s cubic-bezier(.22,1,.36,1) backwards; }
.js-anim .pick-panel.show .pick-body > :nth-child(2) { animation-delay: .05s; }
.js-anim .pick-panel.show .pick-body > :nth-child(3) { animation-delay: .1s; }
.js-anim .pick-panel.show .pick-body > :nth-child(4) { animation-delay: .15s; }
.js-anim .pick-panel.show .pick-body > :nth-child(n+5) { animation-delay: .2s; }
/* une photo de chaque côté du titre ; sur petit écran, elles encadrent le badge */
.hero-side { position: absolute; z-index: 0; width: clamp(150px, 15vw, 220px); height: auto; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 22px; box-shadow: 0 16px 34px rgba(1,14,38,.22); }
.hero-side-l { left: 0; top: 100px; transform: rotate(-6deg); }
.hero-side-r { right: 0; top: 140px; transform: rotate(5deg); }
.hero-head > :not(.hero-side) { position: relative; z-index: 1; }
.js-anim .hero-side-l { animation: sideIn .8s .15s cubic-bezier(.34,1.56,.64,1) backwards; --r: -6deg; }
.js-anim .hero-side-r { animation: sideIn .8s .3s cubic-bezier(.34,1.56,.64,1) backwards; --r: 5deg; }
@keyframes sideIn { from { opacity: 0; transform: translateY(40px) rotate(calc(var(--r) * 3)) scale(.85); } }
@media (min-width: 1321px) {
  .hero-head:has(.hero-side) { max-width: none; }
  .hero-head:has(.hero-side) .concept { max-width: 560px; }
}
@media (max-width: 1320px) {
  .hero-side { width: 104px; border-radius: 16px; top: auto; bottom: -14px; }
  .hero-head:has(.hero-side) .badge-rot { margin-top: 56px; }
  .hero-side-l { left: calc(50% - 190px); }
  .hero-side-r { right: calc(50% - 190px); bottom: -2px; }
}
@media (max-width: 560px) {
  .hero-side { width: 86px; bottom: -8px; }
  .hero-head:has(.hero-side) .badge-rot { margin-top: 44px; }
  .hero-side-l { left: calc(50% - 156px); }
  .hero-side-r { right: calc(50% - 156px); bottom: 2px; }
}
@keyframes boxDrop { from { opacity: 0; transform: translateY(-60px) rotate(-20deg) scale(.8); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes pickPop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
@keyframes pickUp { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 1100px) {
  html:not(.t-baloo) .hero-games h1 { font-size: 68px; }
  .pick-panel { padding: 26px 30px 26px 20px; }
  .pick-vis { height: 380px; }
  .pick-box { height: 330px; }
  .pick-name { font-size: 52px; }
}
@media (max-width: 980px) {
  .hero-head .badge-rot { width: 92px; height: 92px; margin-top: 20px; }
  .pick-panel { grid-template-columns: 1fr; gap: 6px; padding: 18px 22px 28px; }
  .pick-vis { height: 330px; }
  .pick-vis::before { width: 260px; height: 260px; }
  .pick-box { height: 290px; }
  .pick-photo { width: 116px; height: 116px; right: 4%; }
}
@media (max-width: 560px) {
  html:not(.t-baloo) .hero-games h1 { font-size: 44px; }
  .hero-head .hook { font-size: 22px; margin-top: 16px; }
  .pick { margin-top: 30px; }
  .pick-q { font-size: 18px; margin-bottom: 12px; }
  .pick-opts { gap: 8px; }
  .pick-opt { flex-direction: column; gap: 4px; padding: 10px 6px 12px; text-align: center; border-radius: 18px; }
  .pick-opt img { height: 52px; }
  .pick-opt small { display: none; }
  .pick-opt b { font-size: 18px; }
  .pick-panel { padding: 10px 18px 24px; border-radius: 28px; }
  .pick-vis { height: 280px; }
  .pick-vis::before { width: 220px; height: 220px; }
  .pick-box { height: 240px; }
  .pick-photo { width: 92px; height: 92px; border-width: 4px; top: 2%; right: 0; }
  .pick-name { font-size: 40px; }
  .pick-foot .price { font-size: 30px; }
  .pick-foot .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-side { animation: none !important; }
  .pick-opt, .pick-opt img { transition: none; }
  .pick.auto .pick-opt .pick-bar { animation: none; }
}

/* vidéo juste sous les 3 jeux, en deux colonnes : le texte à gauche, la vidéo verticale à droite.
   Elle tourne sans le son, un clic la relance avec le son */
.film-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 72px; align-items: center; max-width: 1040px; margin: 0 auto; }
.film-text .h2 { margin-top: 10px; }
.film-sec .h2 > span:not(.wd) { color: #FBE7C4; }
/* sur le bleu-vert du menu, titre blanc ; l'orange y ressort mal, on passe au jaune miel */
.film-sec .h2 { color: #fff; }
.film-sec .kicker { color: #FBE7C4; }
.film-text .lead { margin: 18px 0 0; max-width: 500px; color: rgba(255,255,255,.78); }
.film-points { list-style: none; counter-reset: fp; margin: 26px 0 44px; padding: 0; display: grid; gap: 14px; }
.film-points li { counter-increment: fp; display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; font-size: 17px; line-height: 1.3; }
.film-points li::before { content: counter(fp); flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.film { position: relative; width: 100%; border-radius: 30px; overflow: hidden; background: #000; aspect-ratio: 9 / 16;
  box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film .play { width: 96px; height: 96px; }
.film-tag { position: absolute; left: 50%; top: calc(50% + 68px); transform: translateX(-50%); padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink); font-weight: 800; font-size: 14px; pointer-events: none; }
.film.playing .film-tag { display: none; }
.stack-cta { margin-top: 40px; text-align: center; }
@media (max-width: 860px) {
  .film-grid { grid-template-columns: 1fr; gap: 36px; }
  .film-text { text-align: center; }
  .film-text .lead { margin-inline: auto; }
  .film-points { justify-items: center; text-align: left; }
  .film { max-width: 320px; margin: 0 auto; border-radius: 22px; }
  .film .play { width: 84px; height: 84px; }
  .film-tag { top: calc(50% + 58px); }
}
}

/* ---------- inspirations lesa.app : défilement fluide, grande phrase, cartes empilées, équipe ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }


/* la grande phrase */
.statement { padding: 130px 0 150px; color: #fff; text-align: center; }
.statement .big { font-weight: 900; font-size: 54px; line-height: 1.12; letter-spacing: -1px; max-width: 1000px; margin: 46px auto 0; }
.statement .big .w { color: rgba(255,255,255,.28); }
.statement .big .w.on { color: #fff; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badges li { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.14);
  font-weight: 800; font-size: 16px; backdrop-filter: blur(6px); }
.badges .tile { width: 38px; height: 38px; font-size: 16px; }
.badges .t-flag { padding: 0; overflow: hidden; background: none; }
.badges .t-flag svg { display: block; width: 100%; height: 100%; }

/* les 4 étapes, comme sur lesa.app : de grands panneaux blancs pleine largeur, image carrée sur un tiers à gauche, texte sur deux tiers à droite ;
   sur ordinateur chaque panneau se colle en haut et le suivant monte par-dessus. Sur mobile : une carte par étape */
.play-steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center;
  gap: clamp(40px, 5vw, 96px); padding: 36px; color: #fff;
  /* les panneaux ont le fond de la page : une seule couleur à l'écran, qui change d'un coup avec la section */
  background: var(--page-bg); transition: background-color .7s cubic-bezier(.22,1,.36,1); }
.step-media { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--c); }
.step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-num { position: absolute; left: 18px; top: 18px; width: 60px; height: 60px; border-radius: 18px; background: var(--c); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 30px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 10px 20px rgba(0,0,0,.2); }
.step-text h3 { font-size: clamp(40px, 4vw, 58px); line-height: 1.05; margin-top: 10px; }
/* panneaux dans le premier vert de gamobi.net : texte blanc, mots mis en avant en crème */
.step-text h3 { color: #fff; }
.step-text h3 span, .step-text .kicker { color: #FBE7C4; }
.step-text .lead { color: #fff; opacity: .92; }
.step-text .lead { font-size: 20px; max-width: 620px; }
.step-cta { margin-top: 28px; }
@media (min-width: 861px) {
  .step { position: sticky; top: calc(var(--tk-h, 0px) + var(--hd-h, 90px) + 12px); height: min(620px, calc(100vh - var(--tk-h, 0px) - var(--hd-h, 90px) - 24px)); padding: 48px clamp(40px, 4.5vw, 72px); border-radius: 0; }
  .step-media { max-height: 100%; width: 100%; }
}

/* vidéos de parties (accueil) : rangée de vidéos verticales penchées comme des cartes, qui défile à l'horizontale */
.vids-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.vids-head .lead { max-width: 560px; margin-top: 14px; }
.vid-nav { display: flex; gap: 10px; }
.vid-nav button { width: 52px; height: 52px; border: 0; border-radius: 16px; background: #fff; color: var(--g-foret); font: 900 22px/1 'Nunito', sans-serif; cursor: pointer;
  box-shadow: 0 5px 0 rgba(0,0,0,.3); transition: translate .2s, box-shadow .2s; }
.vid-nav button:hover { translate: 0 -3px; box-shadow: 0 8px 0 rgba(0,0,0,.3); }
.vid-nav button:active { translate: 0 4px; box-shadow: 0 1px 0 rgba(0,0,0,.3); }
.vid-row { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 44px;
  padding: 16px max(40px, calc((100vw - 1240px) / 2)) 30px; scroll-padding: 0 max(40px, calc((100vw - 1240px) / 2)); }
.vid-row::-webkit-scrollbar { display: none; }
.vid { flex: 0 0 clamp(220px, 20vw, 270px); margin: 0; scroll-snap-align: start; rotate: var(--tilt, 0deg);
  transition: rotate .4s cubic-bezier(.34,1.56,.64,1), translate .4s cubic-bezier(.34,1.56,.64,1); }
.vid:hover, .vid.on { rotate: 0deg; translate: 0 -6px; }
.vid-box { position: relative; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 8px 0 rgba(0,0,0,.28); }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vid-play span { width: 66px; height: 66px; border-radius: 20px; background: var(--g-rouge); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; padding-left: 4px; rotate: -6deg; box-shadow: 0 6px 0 rgba(0,0,0,.25); transition: scale .3s cubic-bezier(.34,1.56,.64,1), opacity .2s; }
.vid-play:hover span { scale: 1.08; }
.vid.on .vid-play span { opacity: 0; scale: .7; }
.vid figcaption { margin-top: 16px; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.35; }
.vids-sec .to-collect { margin-top: 10px; }
@media (max-width: 860px) {
  .vid-nav { display: none; }
  .vid-row { gap: 18px; margin-top: 30px; padding: 12px 20px 24px; scroll-padding: 0 20px; }
  .vid { flex-basis: 64vw; }
}

/* cartes à retourner (FAQ et à propos de l'accueil) : recto et verso empilés dans la même case, la carte pivote au clic */
.flipc { perspective: 1400px; }
.flipc-in { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.34,1.3,.64,1); }
.flipc.open .flipc-in { transform: rotateY(180deg); }
.flipc-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipc-back { transform: rotateY(180deg); }
button.flipc-front { border: 0; margin: 0; font: inherit; text-align: left; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .flipc-in { transition: none; } }

/* FAQ de l'accueil : six cartes penchées aux couleurs du logo, question au recto, réponse au verso */
.fq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 46px; }
.fq-head .lead { margin: 0; }
.fq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 28px; }
.fq { display: block; rotate: var(--tilt, 0deg); transition: rotate .4s cubic-bezier(.34,1.56,.64,1), translate .4s cubic-bezier(.34,1.56,.64,1); }
.fq:hover { rotate: 0deg; translate: 0 -6px; }
.fq-front, .fq-back, .fq-cta { min-height: 270px; border-radius: 26px; padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 0 rgba(1,14,38,.22); }
.fq-front { background: var(--c); color: #fff; }
.fq-light .fq-front { color: var(--ink); }
.fq-mark { font: 800 70px/.8 'Grandstander', sans-serif; color: #FBE7C4; }
.fq-light .fq-mark { color: var(--g-rouge); }
.fq-q { font: 800 27px/1.12 'Grandstander', sans-serif; }
.fq-hint { margin-top: auto; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: .75; }
.fq-back { background: var(--paper); color: var(--ink); }
.fq-back p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.fq-back .fq-small { font: 800 19px/1.2 'Grandstander', sans-serif; color: var(--g-rouge); }
.fq-back a { color: var(--g-rouge); font-weight: 800; }
.fq-close { margin-top: auto; align-self: flex-start; border: 0; padding: 0; background: none; font: 800 13px/1 'Nunito', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.fq-cta { background: var(--g-jaune); color: var(--ink); text-decoration: none; }
.fq-cta .fq-mark { color: #fff; }
/* appel à écrire en bandeau sous la grille quand il resterait seul sur sa ligne */
.fq-cta.fq-wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.fq-cta.fq-wide .fq-go { margin-left: auto; }
.fq-go { margin-top: auto; display: inline-flex; align-self: flex-start; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; }
@media (max-width: 1000px) { .fq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .fq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fq-front, .fq-back, .fq-cta { min-height: 200px; padding: 22px 22px 20px; }
  .fq-q { font-size: 24px; }
}

/* à propos (accueil) : Ludovic et Robin en « cartes joueur » penchées, à retourner (leur question préférée au verso),
   au milieu des lettres du logo qui flottent ; le texte occupe la droite */
.about-sec { overflow: hidden; }
.ab { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.ab-cards { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 30px 0 70px; }
.ab-card { width: min(48%, 290px); rotate: var(--tilt); transition: rotate .45s cubic-bezier(.34,1.56,.64,1), translate .45s cubic-bezier(.34,1.56,.64,1); position: relative; z-index: 1; }
.ab-card + .ab-card { margin: 80px 0 0 -18px; z-index: 2; }
.ab-card:hover { rotate: 0deg; translate: 0 -8px; z-index: 3; }
.ab-front, .ab-back { border-radius: 26px; background: var(--c); color: #fff; box-shadow: 0 10px 0 rgba(1,14,38,.2); }
.ab-front { display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 18px; }
.ab-top { display: flex; align-items: center; gap: 10px; padding: 4px 4px 0; }
.ab-top .tile { width: 42px; height: 42px; font-size: 22px; border-radius: 10px; rotate: -6deg; }
.ab-top b { display: block; font: 800 27px/1 'Grandstander', sans-serif; }
.ab-top small { display: block; margin-top: 3px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; opacity: .8; }
.ab-front img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 16px; background: rgba(255,255,255,.12); }
.ab-role { padding: 0 4px; font-weight: 800; font-size: 16px; line-height: 1.3; }
.ab-hint { padding: 0 4px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: .7; }
.ab-back { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 22px; }
.ab-q { font: 800 110px/.8 'Grandstander', sans-serif; color: #FBE7C4; }
.ab-small { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; }
.ab-ans { margin: 0; font: 800 24px/1.15 'Grandstander', sans-serif; }
.ab-close { margin-top: auto; align-self: flex-start; border: 0; padding: 0; background: none; color: #fff; font: 800 13px/1 'Nunito', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; cursor: pointer; }
.ab-tiles .tile { position: absolute; left: var(--x); top: var(--y); width: 46px; height: 46px; font-size: 24px; border-radius: 11px; rotate: var(--r); z-index: 0; }
.js-anim .ab-tiles .tile { animation: abFloat 6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes abFloat { 50% { translate: 0 -12px; rotate: calc(var(--r) + 8deg); } }
.ab-quote { margin: 22px 0 0; font: 800 clamp(24px, 2.3vw, 32px)/1.2 'Grandstander', sans-serif; color: var(--g-sarcelle); max-width: 560px; }
@media (max-width: 860px) {
  .ab { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ab-cards { padding: 20px 0 50px; }
  .ab-card + .ab-card { margin-top: 50px; }
  .ab-top b { font-size: 21px; }
  .ab-top .tile { width: 34px; height: 34px; font-size: 18px; }
  .ab-role { font-size: 14px; }
  .ab-tiles .tile { width: 34px; height: 34px; font-size: 18px; }
  .ab-ans { font-size: 19px; }
  .ab-q { font-size: 80px; }
}

/* créateurs : cartes penchées sur fond de couleur, elles se redressent au survol */
.team { display: flex; justify-content: center; align-items: center; gap: 0; padding: 20px 0; }
.team figure { margin: 0 -14px; width: 270px; transform: rotate(var(--rot)); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.team figure:nth-child(2) { margin-top: 70px; }
.team figure:hover { transform: rotate(0deg) translateY(-12px) scale(1.03); z-index: 2; }
.team-pic { display: block; height: 340px; border-radius: 28px; overflow: hidden; background: var(--c); border: 6px solid #fff; box-shadow: 0 24px 46px rgba(1,14,38,.18); }
.team-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team figcaption { margin-top: 14px; text-align: center; }
.team figcaption b { display: block; font-weight: 900; font-size: 26px; line-height: 1.1; }
.team figcaption small { color: var(--muted); font-weight: 700; }
.js-anim .team figure { animation: bob 6s ease-in-out infinite; }
.js-anim .team figure:nth-child(2) { animation-delay: -3s; }
.js-anim .team figure:hover { animation-play-state: paused; }

@media (max-width: 860px) {
  .statement { padding: 90px 0 100px; }
  .statement .big { font-size: 32px; }
  .step-media { aspect-ratio: auto; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 20px 36px; }
  .step + .step { border-top: 2px solid rgba(255,255,255,.18); }
  .step-media { height: 260px; }
  .step-num { width: 52px; height: 52px; font-size: 26px; }
  .step-text h3 { font-size: 34px; }
  .step-text .lead { font-size: 17px; }
  .team figure { width: 46%; }
  .team-pic { height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .team figure { transition: none; }
  .team figure:hover { transform: rotate(var(--rot)); }
}

/* accueil : l'en-tête est transparent en haut de page, le fond du haut de page passe dessous sans coupure ;
   une fois la page descendue, il prend exactement la couleur de la page (plein, sans flou ni ombre) pour ne pas faire de bande */
body:has(.hero-games) .site-header { background: transparent; }
body:has(.hero-games) .site-header.scrolled { background: var(--page-bg); }
.hero-games { margin-top: calc(-1 * var(--hd-h, 77px)); padding-top: calc(var(--hd-h, 77px) + 28px); }


/* page La Réunion : présentation avec les deux boîtes et une tuile 974, puis les deux offres en cartes penchées */
.re-hero { padding-top: 34px; padding-bottom: 90px; }
.re-hero .row { gap: 56px; }
.re-title { font-size: clamp(44px, 5.4vw, 74px); margin: 16px 0 18px; }
.re-hero .lead { max-width: 560px; }
.re-note { margin-top: 18px; padding: 16px 18px; text-align: left; font-size: 14px; }
.re-vis { position: relative; height: 470px; }
.re-box { position: absolute; width: 58%; filter: drop-shadow(0 22px 26px rgba(1,14,38,.22)); }
.re-box-1 { left: 2%; top: 4%; rotate: -8deg; }
.re-box-2 { right: 0; bottom: 10%; rotate: 7deg; width: 52%; }
.re-974 { position: absolute; left: 44%; top: 40%; width: 104px; height: 104px; border-radius: 26px; background: var(--l-m); font-size: 36px; rotate: -10deg;
  box-shadow: 0 0 0 5px #fff, 0 12px 0 rgba(1,14,38,.18); }
.re-vis-note { position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.re-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; max-width: 980px; margin: 0 auto; }
.re-offer { background: var(--paper); color: var(--ink); border-radius: 30px; padding: 30px 32px 30px; rotate: var(--tilt, 0deg); box-shadow: 0 8px 0 rgba(1,14,38,.22);
  transition: rotate .4s cubic-bezier(.34,1.56,.64,1), translate .4s cubic-bezier(.34,1.56,.64,1); }
.re-offer:hover { rotate: 0deg; translate: 0 -6px; }
.re-offer-top { position: relative; height: 200px; border-radius: 22px; background: var(--c); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.re-offer-top img { height: 82%; width: auto; rotate: -4deg; filter: drop-shadow(0 12px 14px rgba(1,14,38,.3)); }
.re-offer-top .tile { position: absolute; right: 16px; top: 16px; width: 58px; height: 58px; border-radius: 16px; background: #fff; color: var(--c); font-size: 20px; rotate: 8deg; }
.re-offer h3 { font-size: 30px; margin: 0 0 8px; color: var(--c); }
.re-offer > p { margin: 0 0 14px; }
.re-offer .re-todo { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.re-offer .actions { margin-top: 20px; }
@media (max-width: 860px) {
  .re-hero { padding-bottom: 60px; }
  .re-vis { height: 320px; }
  .re-974 { width: 76px; height: 76px; font-size: 26px; border-radius: 20px; }
  .re-offers { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .re-offer { padding: 22px 20px; }
  .re-offer-top { height: 170px; }
  .re-offer h3 { font-size: 26px; }
}

/* « Entre proches » (Classique) : trois vidéos de créateurs, légende posée en bas de la vidéo */
.scenes-vid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.scenes-vid .vid { position: relative; }
.scenes-vid .vid-box { aspect-ratio: 4 / 5; }
.scenes-vid .vid-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scenes-vid .vid-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(1,14,38,0), rgba(1,14,38,.7)); transition: opacity .3s; }
.scenes-vid .sv-cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; margin: 0; color: #fff; font-weight: 600; font-size: 15px;
  text-shadow: 0 1px 8px rgba(0,0,0,.6); pointer-events: none; transition: opacity .3s; }
.scenes-vid .sv-cap b { display: inline-block; background: #fff; color: var(--c); text-shadow: none; font-family: 'Nunito', sans-serif; font-weight: 800;
  text-transform: uppercase; padding: 4px 12px 2px; border-radius: 999px; margin-bottom: 6px; }
.scenes-vid .vid.on .sv-cap, .scenes-vid .vid.on .vid-box::after { opacity: 0; }
@media (max-width: 860px) {
  .scenes-vid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; margin: 0 -20px; padding: 10px 20px 24px; }
  .scenes-vid::-webkit-scrollbar { display: none; }
  .scenes-vid .vid { flex: 0 0 72vw; scroll-snap-align: start; }
}

/* « Dans la boîte » (Classique) : flèches dessinées et étiquettes posées sur la photo */
.box-anno { position: relative; }
.anno-arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; filter: drop-shadow(0 2px 3px rgba(1,14,38,.45)); }
.anno-arrows path:not([fill]) { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; marker-end: url(#anno-head); }
.anno { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; rotate: var(--r, 0deg); white-space: nowrap;
  background: var(--c); color: #fff; font: 800 14px/1.2 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: .8px;
  padding: 8px 14px 7px; border-radius: 999px; box-shadow: 0 4px 0 rgba(1,14,38,.25); }
.anno.dark { color: var(--ink); }
.js-anim .box-anno .anno { opacity: 0; scale: .6; transition: opacity .4s, scale .5s cubic-bezier(.34,1.56,.64,1); }
.js-anim .box-anno.in .anno { opacity: 1; scale: 1; }
.js-anim .box-anno .anno:nth-of-type(2) { transition-delay: .15s; } .js-anim .box-anno .anno:nth-of-type(3) { transition-delay: .3s; } .js-anim .box-anno .anno:nth-of-type(4) { transition-delay: .45s; }
@media (max-width: 860px) {
  .anno { font-size: 9.5px; letter-spacing: .3px; padding: 5px 8px 4px; }
  .anno-arrows path:not([fill]) { stroke-width: 9; }
}

/* variante du manuel sous les étapes de jeu */
.steps-tip { margin: 22px 0 0; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.14); font-size: 15px; line-height: 1.5; }
.steps-tip b { color: #FBE7C4; }

/* fin de page Classique : La Réunion et le coffret des 3 jeux, sous les 3 éditions */
.ed3-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-top: 28px; }
.ed3-vis { position: relative; }
.ed3-974 { position: absolute; right: 18px; top: 18px; width: 70px; height: 70px; border-radius: 18px; background: #fff; color: var(--l-m); font-size: 24px; rotate: 10deg;
  box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.ed3-trio { display: flex; align-items: flex-end; justify-content: center; height: 210px; }
.ed3-trio img { height: 150px; width: auto; max-width: none; margin: 0 -26px; filter: drop-shadow(0 14px 16px rgba(0,0,0,.3)); }
.ed3-trio img:nth-child(1) { rotate: -10deg; } .ed3-trio img:nth-child(2) { rotate: 8deg; } .ed3-trio img:nth-child(3) { height: 180px; rotate: -2deg; position: relative; z-index: 1; }
/* ticket de remise : bords découpés en demi-cercle et pointillés */
.ticket { position: absolute; right: 16px; top: 18px; padding: 10px 22px 8px; background: var(--g-jaune); color: var(--ink); font: 800 30px/1 'Grandstander', sans-serif;
  rotate: 12deg; box-shadow: 0 5px 0 rgba(0,0,0,.2); outline: 2px dashed rgba(1,14,38,.35); outline-offset: -7px;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 9px, #000 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #000 10px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 9px, #000 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #000 10px) right / 51% 100% no-repeat; }
.ed3-box .price s { font-size: 18px; color: var(--muted); font-weight: 700; margin-right: 4px; }
.ed3-todo { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .ed3-duo { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }

/* boutons d'achat le long des pages produit */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 44px; text-align: center; }
.cta-row p { margin: 0; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 18px; }
section[data-bg="jaune"] .cta-row p { color: var(--ink); }
/* sur ordinateur, la barre d'achat devient une pastille flottante en bas de l'écran */
@media (min-width: 761px) {
  .buybar { display: flex; left: 50%; right: auto; bottom: 22px; width: max-content; max-width: calc(100vw - 40px); border: 0; border-radius: 999px;
    padding: 8px 10px 8px 16px; gap: 14px; box-shadow: 0 10px 30px rgba(1,14,38,.25); transform: translate(-50%, 160%); }
  .buybar.show { transform: translate(-50%, 0); }
  .buybar div { display: flex; align-items: baseline; gap: 12px; }
}
/* étapes de jeu à côté de la vidéo (Classique) : la liste reste alignée à gauche quand le texte se centre sur mobile */
.film-text .steps { text-align: left; }

/* Couple / Kids : photo verticale à la place de la vidéo, photo de la boîte en 5:4 */
.film-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-photo .film-tag { top: auto; bottom: 18px; white-space: nowrap; }
.box-one.box-tall img { aspect-ratio: 5 / 4; }

/* Page La Réunion au format produit : choix de la version, tuile 974 sur la photo */
.variant { display: flex; flex-wrap: wrap; gap: 10px; }
.variant button { border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 10px 20px 9px; font: 800 15px/1.2 'Nunito', sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.variant button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.variant button:hover { translate: 0 -2px; }
.gal-main { position: relative; }
.re-gal-974 { position: absolute; right: 18px; top: 18px; width: 74px; height: 74px; border-radius: 20px; background: var(--l-m); color: #fff; font-size: 26px; rotate: 6deg; }
.re-gal-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* page anglaise : pas de panier, la pastille « Our games » garde son texte, même sur mobile */
html[lang="en"] .hd .cart-btn { padding: 8px 18px; white-space: nowrap; }
html[lang="en"] .hd .cart-btn .lbl { display: inline; }
@media (max-width: 860px) { html[lang="en"] .hd .cart-btn { padding: 7px 14px; font-size: 15px; } }

/* rangées de vidéos : on peut les faire glisser à la souris ; pendant le glissé, pas d'aimantation ni de sélection */
@media (hover: hover) { [data-vids] { cursor: grab; } }
[data-vids].dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
[data-vids].dragging .vid-play { cursor: grabbing; }

/* fiches produit : le label de l'édition fait partie du titre principal (référencement), avec le même aspect qu'avant */
.lockup .chip { display: table; margin-bottom: 16px; line-height: 1.6; letter-spacing: .5px; }

/* ---------- page contact : le formulaire est une carte du jeu, une question et des réponses au choix ---------- */
.ct-hero { padding-top: 40px; padding-bottom: 100px; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "intro form" "photo form"; grid-template-rows: auto 1fr; gap: 34px 60px; align-items: start; }
.ct-intro { grid-area: intro; }
.ct-intro .h1 { margin: 12px 0 0; line-height: 1.05; }
.ct-photo { grid-area: photo; position: relative; margin: 0; max-width: 400px; rotate: -2.5deg; }
.ct-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 18px 36px rgba(1,14,38,.16); }
.ct-sticker { position: absolute; right: -22px; bottom: 34px; rotate: 5deg; max-width: 210px; padding: 12px 18px; border-radius: 16px; background: var(--g-jaune); color: var(--ink); font-weight: 800; line-height: 1.3; box-shadow: 0 10px 22px rgba(1,14,38,.18); }
.ct-card { grid-area: form; margin: 0; background: var(--paper); border-radius: 30px; overflow: hidden; box-shadow: 0 24px 50px rgba(1,14,38,.13); }
.ct-band { margin: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 30px; background: var(--g-sarcelle); color: #fff; font-family: 'Grandstander', 'Nunito', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.ct-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--g-jaune); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; rotate: 8deg; }
.ct-body { padding: 26px 30px 30px; }
.ct-pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-q { padding: 0; margin-bottom: 16px; font-size: 30px; font-weight: 800; line-height: 1.15; }
.ct-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ct-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font-weight: 700; line-height: 1.25; cursor: pointer; transition: border-color .2s, background-color .2s, translate .3s cubic-bezier(.34,1.56,.64,1); }
.ct-opt:hover { translate: 0 -2px; }
.ct-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ct-opt .n { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Grandstander', 'Nunito', sans-serif; font-weight: 800; }
.ct-opt:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.ct-opt:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.ct-card .fields { margin-top: 22px; }
/* le n° de commande n'apparaît que si on écrit pour une commande */
.ct-order { display: none; }
.ct-card:has(#s-commande:checked) .ct-order { display: flex; }
.ct-send { margin-top: 22px; }
.ct-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 10px; }
.ct-way { display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 30px; border-radius: 28px; background: var(--c); color: #fff; text-decoration: none; rotate: var(--tilt, 0deg); box-shadow: 0 18px 36px rgba(1,14,38,.16); transition: rotate .4s cubic-bezier(.34,1.56,.64,1), translate .4s cubic-bezier(.34,1.56,.64,1); }
.ct-way:hover { rotate: 0deg; translate: 0 -4px; }
.ct-way.dark { color: var(--ink); }
.ct-ico { width: 50px; height: 50px; border-radius: 15px; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; }
.ct-way h3 { margin: 6px 0 0; font-size: 28px; }
.ct-way p { margin: 0; opacity: .92; }
.ct-way .go { margin-top: auto; font-weight: 800; }
@media (max-width: 960px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "photo"; gap: 30px; }
  .ct-photo { max-width: 300px; margin: 10px auto 0; }
  .ct-sticker { right: -14px; }
  .ct-ways { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
  .ct-way { min-height: 0; }
}
@media (max-width: 560px) {
  .ct-hero { padding-bottom: 70px; }
  .ct-band { padding: 12px 20px; }
  .ct-body { padding: 22px 20px 24px; }
  .ct-q { font-size: 25px; }
  .ct-opts { grid-template-columns: minmax(0, 1fr); }
  .ct-sticker { right: -8px; max-width: 170px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ct-opt, .ct-way { transition: none; } }

/* ---------- panier latéral (10/11) : s'ouvre à l'ajout et au clic sur « Panier », avec l'offre 2 ou 3 jeux ---------- */
.drawer-veil { position: fixed; inset: 0; z-index: 60; background: rgba(1,14,38,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--cream); color: var(--ink);
  transform: translateX(104%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: -14px 0 34px rgba(1,14,38,.2); }
.drawer[hidden] { display: none; }
body.drawer-open .drawer-veil { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; }
.drawer-x { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.drawer-x:hover { background: var(--ink); color: #fff; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 18px; }
.drawer-empty { margin: 48px 0; text-align: center; color: var(--muted); }
.dr-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dr-line img, .dr-line .tile { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; font-size: 17px; }
.dr-line b, .dr-line small { display: block; }
.dr-line small { color: var(--muted); }
.dr-line .qty { height: 38px; margin-top: 8px; border-width: 1.5px; }
.dr-line .qty button { width: 34px; height: 34px; font-size: 18px; }
.dr-line .amount { font-weight: 800; white-space: nowrap; }
.nudge { margin: 16px 0; padding: 12px 16px; border: 2px dashed var(--teal); border-radius: 14px; background: var(--paper); font-weight: 700; }
.nudge[hidden] { display: none; }
.drawer-body .mini { margin-top: 4px; padding: 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.drawer-foot.summary { border-radius: 0; border-width: 1px 0 0; padding: 18px 22px 22px; gap: 8px; }
.drawer-foot .btn { margin-top: 8px; }
.drawer-more { text-align: center; font-weight: 700; font-size: 15px; }
.summary .save span:last-child { color: var(--teal); font-weight: 800; }

/* ---------- réassurance en bas de l'accueil (10/11) : livraison, paiement, retours ---------- */
.trust { list-style: none; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: left; }
.trust li { display: flex; gap: 14px; align-items: flex-start; }
.trust svg { flex: none; width: 30px; height: 30px; color: var(--teal); }
.trust b { display: block; line-height: 1.3; }
.trust span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- parcours d'achat (10/11) : ce qu'il faut pour acheter est visible plus tôt, surtout sur mobile ---------- */
/* accueil : la note et l'offre sous le titre, l'offre rappelée à côté du premier bouton d'achat */
.hero-proof { margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-weight: 700; font-size: 16px; }
.hero-proof a { color: inherit; text-decoration: none; }
.hero-proof a:hover { text-decoration: underline; }
.hp-stars { color: var(--orange); letter-spacing: 2px; }
.hp-deal { padding: 5px 14px; border-radius: 999px; background: var(--g-foret); color: #fff; font-size: 14.5px; }
/* prix dans les onglets des 3 jeux : seulement sur téléphone, où la fiche du jeu est plus bas */
.pick-price { display: none; margin-top: 3px; font-style: normal; font-weight: 800; font-size: 14px; opacity: .85; }
.pick-deal { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--g-foret); }
/* champs de formulaire : 16 px, sinon l'iPhone zoome à chaque saisie */
.field input, .field select, .field textarea { font-size: 16px; }
/* bouton panier flottant (mobile) : il apparaît quand l'en-tête se cache et que le panier n'est pas vide */
.cart-fab { display: none; position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 36; border: 0; cursor: pointer; padding: 12px 12px 12px 16px;
  box-shadow: 0 10px 24px rgba(1,14,38,.28); opacity: 0; visibility: hidden; translate: 0 16px; transition: opacity .25s ease, translate .25s ease, visibility .25s, bottom .3s ease; }
@media (max-width: 760px) {
  .cart-fab { display: inline-flex; }
  body.has-items .site-header.hd-hide ~ .cart-fab { opacity: 1; visibility: visible; translate: 0 0; }
  body.bb-on .cart-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
  /* fiche produit : les vignettes sur une seule rangée qui défile, pour que le nom du jeu arrive tout de suite */
  .thumbs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: none; width: 66px; height: 66px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  /* accueil : les 3 jeux remontent sur le premier écran (la phrase de présentation reste sur tablette et ordinateur) */
  .hero-head .concept { display: none; }
  .pick-price { display: block; }
  .hero-games { padding-top: calc(var(--hd-h, 77px) + 14px); }
  html:not(.t-baloo) .hero-games h1 { font-size: 42px; }
  .hero-head .hook { margin-top: 12px; }
  .pick-q { margin-bottom: 10px; }
  .hero-proof { margin-top: 10px; font-size: 15px; }
  .pick { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cart-fab { transition: none; } }

/* pied de page : liens légaux et drapeaux cliquables */
.ft-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ft-legal a:hover { color: #fff; }
a.ft-flag { cursor: pointer; }
a.ft-flag[aria-current] { box-shadow: 0 0 0 2px #fff, 0 3px 0 rgba(0,0,0,.28); }

/* page Contact : carte réseaux avec deux liens (Instagram, TikTok) */
.ct-social .go-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: auto; }
.ct-social a.go { color: inherit; text-decoration: none; font-weight: 800; }
.ct-social a.go:hover { text-decoration: underline; }
