/*
VOICE   joyeux, taquin, jamais méchant : un jouet qu'on a envie de toucher.
IDEA    la boîte d'un jouet en peluche : bandes de couleur franche, contours épais, étiquettes qui débordent.
PICTURE l'étoile « PAF » jaune et les peluches du jeu (dessinées par le même code que l'app).
COLOUR  crème #fff4dc, prune #2a1838 pour encre et ombres, tomate #ff5b3a, sarcelle #1fa398, soleil #ffc531.
TYPE    Baloo 2 (ronde, épaisse), 4 tailles. LAYOUT bandes pleine largeur, contenu 1180px, tout s'empile sous 640px.
*/
:root { color-scheme: light; --bg: #fff4dc; --ink: #2a1838; --red: #ff5b3a; --teal: #1fa398; --sun: #ffc531; --white: #fff; --soft: #5a4868; }
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 80px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 'Baloo 2', system-ui, sans-serif; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; font-weight: 800; }
h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -1px; }
h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.5px; }
h3 { font-size: 21px; line-height: 1.15; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.band { padding: clamp(40px, 6vw, 88px) max(5vw, 18px); }
.band > * { max-width: 1180px; margin-inline: auto; }
.sub { font-size: 19px; color: var(--soft); margin-top: 12px; max-width: 640px; margin-inline: auto; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 10px max(5vw, 18px); background: var(--bg); border-bottom: 3px solid var(--ink); }
.brand img { width: 180px; }
.nav { display: flex; gap: 6px 22px; flex-wrap: wrap; margin-left: auto; font-weight: 700; }
.nav a { text-decoration: none; padding: 8px 2px; }
.nav a:hover { color: var(--red); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; gap: 6px; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 800; background: var(--white); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); padding: 6px; min-width: 170px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.lang li a:hover, .lang li a[aria-current] { background: var(--sun); }

/* Accueil */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 4vw, 56px); align-items: center; max-width: none;
  background: radial-gradient(circle at 1px 1px, rgba(42, 24, 56, .13) 1.6px, transparent 2px) 0 0 / 18px 18px, var(--sun); border-bottom: 3px solid var(--ink); }
.hero > * { max-width: none; margin: 0; }
.hero-txt { justify-self: end; max-width: 560px; }
.hero-pic { justify-self: start; max-width: 620px; }
.pill { display: inline-block; font-weight: 800; font-size: 15px; background: var(--white); border: 3px solid var(--ink); border-radius: 999px; padding: 4px 14px; margin-bottom: 18px; transform: rotate(-2deg); }
.lead { font-size: 20px; margin: 18px 0 26px; }
.btn { font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; font-weight: 800; font-size: 19px; text-decoration: none; color: var(--white); background: var(--red); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 5px 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }

/* Cartes jouet */
.card, .combat, .feats li, .bubble, .notif { background: var(--white); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.how h2, .games h2, .verdicts h2, .friends h2, .safe h2, .cast h2 { text-align: center; }
.games .sub, .friends .sub, .cast .sub { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 36px; }
.card { padding: 22px; text-align: center; }
.card img { width: 120px; margin: -6px auto 8px; }
.card p { color: var(--soft); margin-top: 8px; }

.games { background: var(--white); border-block: 3px solid var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.combat { padding: 18px 16px 20px; display: grid; justify-items: center; text-align: center; gap: 8px; }
.combat img { width: 96px; }
.tag { font-size: 14px; font-weight: 800; padding: 2px 12px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); }
.c-pillow { background: #ffd6e4; } .c-cart { background: #c9f0e6; } .c-spaghetti { background: #ffe2b0; } .c-sumo { background: #bfe6ff; }
.c-snow { background: #e3ecff; } .c-tickle { background: #fff0a0; } .c-pie { background: #ffd9cf; } .c-dance { background: #e9dcff; }

.verdicts { background: var(--teal); color: var(--white); border-bottom: 3px solid var(--ink); }
.verdicts h2 { text-shadow: 3px 3px 0 var(--ink); }
.bubbles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; margin-top: 36px; max-width: 900px; }
.bubble { color: var(--ink); font-weight: 700; font-size: 21px; line-height: 1.25; padding: 18px 22px; position: relative; }
.bubble:nth-child(odd) { transform: rotate(-1.5deg); } .bubble:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
.bubble::after { content: ''; position: absolute; left: 34px; bottom: -15px; width: 22px; height: 22px; background: var(--white); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) skew(10deg, 10deg); }
.notif { display: flex; gap: 14px; align-items: center; color: var(--ink); max-width: 520px; margin-top: 56px; padding: 14px 18px; border-radius: 20px; }
.notif img { width: 44px; border-radius: 11px; border: 2px solid var(--ink); flex: none; }
.notif p { font-size: 16px; line-height: 1.35; }
.note { text-align: center; font-weight: 700; margin-top: 12px; }

.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 36px; max-width: 980px; }
.feats li { display: flex; gap: 16px; padding: 20px; align-items: flex-start; }
.feats p { color: var(--soft); margin-top: 4px; }
.ico { width: 48px; height: 48px; flex: none; padding: 8px; border-radius: 14px; background: var(--sun); border: 2px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.safe { background: #ffe9d9; border-block: 3px solid var(--ink); }
.safe .ico { background: #ffc2b0; }
.gift { display: flex; align-items: center; gap: 14px; justify-content: center; font-weight: 700; font-size: 19px; margin-top: 30px; }
.gift img { width: 88px; flex: none; }

.cast { background: var(--red); color: var(--white); }
.cast h2 { text-shadow: 3px 3px 0 var(--ink); }
.cast .sub { color: var(--white); }
.plushes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 28px; }
.plushes img { filter: drop-shadow(4px 4px 0 rgba(42, 24, 56, .35)); transition: transform .2s; }
.plushes li:hover img { transform: translateY(-8px) rotate(-4deg); }

.foot { background: var(--ink); color: #f4e9ff; display: flex; gap: 28px; align-items: center; }
.foot > * { margin: 0; }
.foot { justify-content: center; }
.foot img { width: 150px; flex: none; }
.tagline { font-weight: 800; font-size: 22px; color: var(--white); }
.small { font-size: 14px; opacity: .8; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0; }
.langs a { text-decoration: none; font-weight: 600; } .langs a:hover { color: var(--sun); }

@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plushes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-txt, .hero-pic { justify-self: stretch; }
  .steps, .feats, .bubbles { grid-template-columns: minmax(0, 1fr); }
  .bubble:nth-child(even) { transform: rotate(1.5deg); }
  .foot { flex-direction: column; text-align: center; }
  .langs { justify-content: center; }
  .brand img { width: 150px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
