/* Jeux Malins – grands caractères, fort contraste, gros boutons */
:root {
  --bg: #f6f1e7; --card: #fffdf8; --ink: #22302c; --muted: #5b6863;
  --blue: #2c6e63; --blue-2: #3a8a7c; --orange: #d9663f; --green: #3f8a5a; --red: #c44536; --yellow: #f2c14e;
  --line: #e3dccb; --shadow: 0 1px 0 rgba(34,48,44,.05), 0 10px 28px -12px rgba(34,48,44,.22);
  --radius: 20px; --fs: 20px;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
}
html.fs-1 { --fs: 20px; } html.fs-2 { --fs: 24px; } html.fs-3 { --fs: 28px; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: var(--fs)/1.55 "Atkinson Hyperlegible", Verdana, "Segoe UI", system-ui, sans-serif; background: var(--bg) radial-gradient(circle at 12% -10%, #e5efe9 0, transparent 40%) no-repeat; color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: .4em 0 .5em; color: #1f4d45; letter-spacing: -.01em; }
h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.15em; }
p { margin: .4em 0 .8em; }
a { color: var(--blue-2); }
button, input, select { font: inherit; }
:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 18px; }
header.top { background: linear-gradient(120deg, #24584f, #2c6e63 55%, #3a8a7c); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
header.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 72px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.logo { font-family: var(--head); font-size: 1.35em; font-weight: bold; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; margin-right: auto; }
.logo span.emo { font-size: 1.3em; }
.pill { background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: bold; white-space: nowrap; text-decoration: none; }
.pill.gold { background: var(--yellow); color: #3a2a00; border-color: var(--yellow); }
.navbtn { background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; border-radius: 12px; padding: 6px 12px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.navbtn:hover { background: rgba(255,255,255,.12); }

main { padding: 24px 0 60px; min-height: 70vh; }
footer { border-top: 2px solid var(--line); color: var(--muted); font-size: .8em; padding: 24px 0 40px; }
footer a { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px 22px; border-radius: 14px; border: 3px solid var(--blue); background: var(--blue); color: #fff; font-weight: bold; cursor: pointer; text-decoration: none; transition: transform .08s; }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn:active { transform: scale(.97); }
.btn.alt { background: #fff; color: var(--blue); }
.btn.alt:hover { background: #eef3fa; }
.btn.orange { background: var(--orange); border-color: var(--orange); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.big { min-height: 68px; font-size: 1.15em; padding: 12px 30px; }
.btn.small { min-height: 44px; padding: 6px 14px; font-size: .9em; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; } .muted { color: var(--muted); } .mt { margin-top: 18px; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; border: 2px solid var(--line); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* Accueil */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.hero h1 { font-size: 2.3em; }
.hero .emojis { font-size: 3.2em; line-height: 1.3; text-align: center; letter-spacing: .1em; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .hero .emojis { font-size: 2.4em; } }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding-left: 56px; position: relative; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: bold; display: grid; place-items: center; }

/* Formulaires */
form label { display: block; font-weight: bold; margin: 12px 0 4px; }
input[type=email], input[type=password], input[type=text], select { width: 100%; min-height: 56px; padding: 10px 14px; border: 3px solid #b9c2d0; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus { border-color: var(--blue-2); outline: none; }
.tabs { display: flex; gap: 8px; margin-bottom: 8px; }
.tabs button { flex: 1; min-height: 54px; border: 3px solid var(--blue); background: #fff; color: var(--blue); border-radius: 12px; font-weight: bold; cursor: pointer; }
.tabs button.on { background: var(--blue); color: #fff; }
.msg { padding: 12px 16px; border-radius: 12px; margin: 12px 0; font-weight: bold; }
.msg.err { background: #fdecea; color: #8a1f12; border: 2px solid #f1b0a8; }
.msg.ok { background: #e7f5ec; color: #1d5e3a; border: 2px solid #a8d8bb; }
.showpw { font-size: .85em; display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: normal; }
.showpw input { width: 24px; height: 24px; }

/* Catalogue */
.cats { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 20px; }
.cats button { min-height: 50px; padding: 6px 16px; border-radius: 999px; border: 3px solid var(--blue); background: #fff; color: var(--blue); font-weight: bold; cursor: pointer; }
.cats button.on { background: var(--blue); color: #fff; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.gcard { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: left; cursor: pointer; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; color: var(--ink); transition: transform .1s, border-color .1s; }
.gcard:hover { transform: translateY(-3px); border-color: var(--orange); }
.gcard .ge { font-size: 2.6em; line-height: 1; }
.gcard .gn { font-weight: bold; font-size: 1.1em; color: var(--blue); }
.gcard .gd { font-size: .82em; color: var(--muted); }
.gcard .gm { font-size: .75em; color: var(--muted); margin-top: auto; }
.search { max-width: 420px; }

/* Jeton / bannière */
.banner { background: #fff7e6; border: 3px solid var(--yellow); border-radius: var(--radius); padding: 16px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.banner .big { font-size: 2em; }
.tokens { display: inline-flex; gap: 4px; }
.tok { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); border: 3px solid #b44c19; display: inline-block; }
.tok.off { background: #ddd; border-color: #bbb; }

/* Prix */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.price { text-align: center; border: 3px solid var(--line); }
.price.best { border-color: var(--orange); position: relative; }
.price.best::before { content: attr(data-badge); position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; padding: 2px 14px; border-radius: 999px; font-size: .8em; font-weight: bold; white-space: nowrap; }
.price .amount { font-size: 2.4em; font-weight: bold; color: var(--blue); font-family: Georgia, serif; }
.price ul { text-align: left; padding-left: 1.2em; }

/* Zone de jeu */
.gamebar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.gamebar h2 { margin: 0; margin-right: auto; }
.status { background: #fff; border: 3px solid var(--line); border-radius: 14px; padding: 10px 16px; font-weight: bold; font-size: 1.05em; min-height: 54px; display: flex; align-items: center; justify-content: center; text-align: center; margin-bottom: 14px; }
.stage { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.rules { background: #eef3fa; border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; font-size: .9em; }
.board { display: grid; gap: 8px; }
.cell { background: #f3efe6; border: 3px solid #cfc6b4; border-radius: 12px; display: grid; place-items: center; font-size: 1.8em; font-weight: bold; cursor: pointer; aspect-ratio: 1; min-width: 0; color: var(--ink); padding: 0; }
.cell:hover:not([disabled]) { border-color: var(--orange); }
.cell[disabled] { cursor: default; }
.choice { min-height: 64px; font-size: 1.1em; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; max-width: 720px; }
.choices .btn { width: 100%; white-space: normal; }
.btn.right { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
.btn.wrong { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.question { font-size: 1.35em; font-weight: bold; text-align: center; max-width: 760px; }
.bigtext { font-size: 2.6em; font-weight: bold; letter-spacing: .08em; text-align: center; }
.score-line { display: flex; gap: 22px; justify-content: center; font-weight: bold; flex-wrap: wrap; }
.arena { position: relative; width: 100%; max-width: 760px; height: 420px; background: #eaf4e4; border-radius: 16px; overflow: hidden; border: 3px solid #c7dcbc; }
.arena .thing { position: absolute; font-size: 2.6em; cursor: pointer; line-height: 1; transition: transform .1s; background: none; border: 0; padding: 4px; }
.arena .thing:active { transform: scale(.8); }
.keys { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 760px; }
.keys button { min-width: 50px; min-height: 54px; font-size: 1.05em; font-weight: bold; border-radius: 10px; border: 3px solid var(--blue); background: #fff; color: var(--blue); cursor: pointer; }
.keys button[disabled] { opacity: .3; }
.dpad { display: grid; grid-template-columns: repeat(3, 70px); gap: 6px; justify-content: center; }
.dpad button { height: 64px; font-size: 1.6em; border-radius: 12px; border: 3px solid var(--blue); background: #fff; cursor: pointer; }
.dice { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.die { width: 84px; height: 84px; border-radius: 16px; background: #fff; border: 4px solid var(--ink); font-size: 3em; display: grid; place-items: center; cursor: pointer; }
.die.kept { background: var(--yellow); border-color: #a07800; }
.playing-card { width: 110px; height: 154px; border-radius: 12px; background: #fff; border: 3px solid #333; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-size: 2.2em; font-weight: bold; margin: 4px; box-shadow: var(--shadow); }
.playing-card.red { color: #c0392b; }
.playing-card.back { background: repeating-linear-gradient(45deg, var(--blue), var(--blue) 10px, var(--blue-2) 10px, var(--blue-2) 20px); }

/* Résultat */
.result { text-align: center; }
.result .emo { font-size: 4em; }
.overlay { position: fixed; inset: 0; background: rgba(20,24,34,.55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: #fff; border-radius: var(--radius); padding: 26px; max-width: 560px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modes { display: grid; gap: 12px; margin: 16px 0; }
.modes .btn { justify-content: flex-start; text-align: left; }
.lb { width: 100%; border-collapse: collapse; }
.lb td { padding: 8px; border-bottom: 2px solid var(--line); }
.lb td:last-child { text-align: right; font-weight: bold; }
.copybox { display: flex; gap: 8px; } .copybox input { flex: 1; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 14px; z-index: 60; font-weight: bold; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
@media (max-width: 600px) { .btn { width: 100%; } .row .btn { width: auto; flex: 1 1 auto; } header.top .navbtn.hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ================= Animations ================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@keyframes bounce { 0%,100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-14px) scale(1.08); } 55% { transform: translateY(0) scale(.97); } 75% { transform: translateY(-5px); } }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes floatUp { from { opacity: 1; transform: translate(-50%, 0) scale(.9); } to { opacity: 0; transform: translate(-50%, -80px) scale(1.3); } }
@keyframes roll { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(200deg) scale(.8); } 70% { transform: rotate(340deg) scale(1.15); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes fall { from { transform: translateY(var(--fall, -300%)); } 75% { transform: translateY(6%); } to { transform: translateY(0); } }
@keyframes flipIn { from { transform: perspective(600px) rotateY(90deg); } to { transform: perspective(600px) rotateY(0); } }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(232,105,44,.0); } 50% { box-shadow: 0 0 0 8px rgba(232,105,44,.35); } }
@keyframes spinIn { from { transform: rotate(-200deg) scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideFromBottom { from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideFromTop { from { transform: translateY(-120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideFromLeft { from { transform: translateX(-140px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideFromRight { from { transform: translateX(140px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes ticket { 0% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(0, 60px) scale(1.8) rotate(25deg); } }

.page > * { animation: fadeUp .45s both; }
.page > *:nth-child(2) { animation-delay: .06s; } .page > *:nth-child(3) { animation-delay: .12s; } .page > *:nth-child(4) { animation-delay: .18s; } .page > *:nth-child(5) { animation-delay: .24s; }
.games .gcard { animation: fadeUp .4s both; animation-delay: calc(var(--i, 0) * 35ms); }
.gcard .ge { display: inline-block; transition: transform .25s; }
.gcard:hover .ge { animation: wiggle .5s; transform: scale(1.15); }
.hero .emojis span { display: inline-block; animation: floatY 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
.logo .emo { display: inline-block; transition: transform .6s; } .logo:hover .emo { transform: rotate(360deg); }
.btn { transition: transform .1s, box-shadow .2s, background .2s; }
.btn:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(29,78,137,.25); }
.btn.orange:not([disabled]), .pill.gold { background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); background-size: 200% 100%; animation: shine 3.5s linear infinite; }
.overlay { animation: fadeUp .2s both; } .modal { animation: popIn .35s both; }
.toast { animation: slideFromBottom .35s both; }
.pop { animation: pop .3s; } .shake { animation: shake .45s; } .bounce { animation: bounce .6s; } .roll { animation: roll .5s; }
.fall { animation: fall .45s cubic-bezier(.4,0,.6,1); } .flip { animation: flipIn .3s; } .glow { animation: glow 1.2s infinite; }
.slide-b { animation: slideFromBottom .35s both; } .slide-t { animation: slideFromTop .35s both; } .slide-l { animation: slideFromLeft .35s both; } .slide-r { animation: slideFromRight .35s both; }
.stage > * { animation: fadeUp .3s both; }
.floater { position: fixed; z-index: 70; font-weight: bold; font-size: 1.6em; pointer-events: none; animation: floatUp 1s ease-out forwards; text-shadow: 0 2px 0 #fff; }
.flyticket { position: fixed; z-index: 70; font-size: 2em; pointer-events: none; animation: ticket .9s ease-in forwards; }
.result .emo { display: inline-block; animation: spinIn .7s both, floatY 2.5s 0.7s ease-in-out infinite; }
canvas.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }
.die.rolling { animation: roll .45s; }
.lang-switch { display: inline-flex; border: 3px solid var(--blue); border-radius: 14px; overflow: hidden; }
.lang-switch button { border: 0; background: #fff; color: var(--blue); font-weight: bold; padding: 10px 18px; cursor: pointer; min-height: 50px; }
.lang-switch button.on { background: var(--blue); color: #fff; }
.cats button.fav { border-color: var(--orange); color: var(--orange); } .cats button.fav.on { background: var(--orange); color: #fff; }
.gcard.popular { border-color: #f5c542; }
.gcard .badge { align-self: flex-start; background: #fff3cd; color: #7a5800; border-radius: 999px; font-size: .7em; font-weight: bold; padding: 2px 10px; }
/* cartes de jeu (belote, solitaire) */
.table { width: 100%; max-width: 860px; background: radial-gradient(ellipse at center, #2f8a57 0%, #1e6b40 70%, #175533 100%); border-radius: 26px; padding: 14px; color: #fff; border: 8px solid #6b4423; box-shadow: inset 0 0 40px rgba(0,0,0,.35); }
.pc { --w: min(74px, 11.5vw); width: var(--w); height: calc(var(--w) * 1.42); border-radius: 9px; background: #fff; border: 2px solid #333; color: #1f2430; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-weight: bold; font-size: calc(var(--w) * .34); line-height: 1.05; box-shadow: 0 3px 6px rgba(0,0,0,.3); padding: 0; cursor: pointer; transition: transform .15s; position: relative; }
.pc.red { color: #c0392b; } .pc.back { background: repeating-linear-gradient(45deg, #1d4e89, #1d4e89 6px, #2f6fb8 6px, #2f6fb8 12px); border-color: #fff; cursor: default; }
.pc.legal:hover { transform: translateY(-14px); } .pc.legal { box-shadow: 0 0 0 3px #f5c542, 0 3px 6px rgba(0,0,0,.3); }
.pc.sel { transform: translateY(-10px); box-shadow: 0 0 0 4px #e8692c, 0 6px 12px rgba(0,0,0,.4); }
.pc.dim { filter: brightness(.75); cursor: not-allowed; }
.pc.slot { background: rgba(255,255,255,.12); border: 2px dashed rgba(255,255,255,.6); color: rgba(255,255,255,.7); box-shadow: none; }
.hand { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
.domino { display: inline-flex; border: 3px solid #1f2430; border-radius: 10px; background: #fffdf5; font-size: 1.4em; font-weight: bold; box-shadow: 0 3px 0 #1f2430; cursor: pointer; padding: 0; }
.domino span { width: 1.7em; height: 1.9em; display: grid; place-items: center; } .domino span:first-child { border-right: 2px solid #1f2430; }
.domino.legal { box-shadow: 0 0 0 4px #f5c542, 0 3px 0 #1f2430; }
.cw-cell { width: var(--s); height: var(--s); border: 2px solid #1f2430; background: #fff; position: relative; display: grid; place-items: center; font-weight: bold; font-size: calc(var(--s) * .55); padding: 0; cursor: pointer; color: #1d4e89; }
.cw-cell .n { position: absolute; top: 1px; left: 3px; font-size: calc(var(--s) * .26); color: #555; }
.cw-cell.on { background: #fff3b0; } .cw-cell.cur { background: #f5c542; } .cw-cell.ok { color: #2e8b57; } .cw-cell.blank { visibility: hidden; }
.clue { text-align: left; border: 2px solid var(--line); border-radius: 10px; padding: 6px 10px; background: #fff; cursor: pointer; font: inherit; font-size: .85em; width: 100%; }
.clue.on { border-color: var(--orange); background: #fff7e6; } .clue.done { text-decoration: line-through; opacity: .55; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.pc.tl { flex-direction: row; align-items: flex-start; gap: 1px; padding-top: 4px; font-size: calc(var(--w) * .3); }
@media (max-width: 600px) {
  .stage { padding: 8px; } .table { padding: 6px; border-width: 4px; border-radius: 16px; }
  .pc { --w: min(74px, 11.2vw); } .gamebar .btn { width: auto; flex: 0 0 auto; }
  .hero h1 { font-size: 1.7em; }
}

/* ================= Jeux Zen – mise en page des pages publiques ================= */
.skip { position: absolute; left: -999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }
.lead { font-size: 1.12em; color: #3d4a46; max-width: 62ch; }
.hero { padding: 10px 0 20px; }
.hero h1 { font-size: clamp(1.9em, 4vw, 2.7em); }
.hero .ticks { font-weight: bold; line-height: 1.9; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #e8f1ec 45%, #cfe3d9 100%); box-shadow: inset 0 -20px 40px rgba(44,110,99,.15), var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); place-items: center; padding: 12%; font-size: clamp(1.8em, 4.4vw, 2.9em); }
.hero-art span { display: inline-block; animation: floatY 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.41s); filter: drop-shadow(0 4px 4px rgba(0,0,0,.12)); }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 30px; }
.catcard { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); color: #fff; text-decoration: none; font-size: 1.1em; box-shadow: var(--shadow); transition: transform .15s; }
.catcard:hover { transform: translateY(-3px); } .catcard span { opacity: .9; font-size: .85em; }
.cat-reflexion { background: linear-gradient(135deg, #2c6e63, #3f8f7f); } .cat-memoire { background: linear-gradient(135deg, #7a4fa0, #9b6cc2); } .cat-mots { background: linear-gradient(135deg, #2f5f9e, #4b7fc0); }
.cat-calcul { background: linear-gradient(135deg, #b0562f, #d9663f); } .cat-adresse { background: linear-gradient(135deg, #3f8a5a, #5aa874); } .cat-hasard { background: linear-gradient(135deg, #9e2f45, #c44a5f); }
a.gcard { text-decoration: none; }
.gcard { border-radius: 22px; border: 2px solid var(--line); background: var(--card); }
.gcard .ge { width: 64px; height: 64px; display: grid !important; place-items: center; border-radius: 18px; background: #eef5f1; font-size: 2.2em !important; }
.gcard.popular .ge { background: #fdf1d8; }
.crumbs { font-size: .85em; color: var(--muted); margin-bottom: 6px; } .crumbs a { color: var(--muted); }
nav.cats { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 20px; } nav.cats a { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--blue); color: var(--blue); text-decoration: none; font-weight: bold; } nav.cats a.on { background: var(--blue); color: #fff; }
.gp-head { display: flex; gap: 20px; align-items: center; } .gp-emo { font-size: 3.6em; width: 110px; height: 110px; flex: none; display: grid; place-items: center; border-radius: 28px; background: #eef5f1; box-shadow: var(--shadow); }
.gp-play { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 18px 0 22px; }
.seo-text { margin: 30px 0; max-width: 75ch; } .faq details { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 12px 18px; margin: 10px 0; } .faq summary { font-weight: bold; cursor: pointer; }
.foot-cats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
header.top .navbtn { border-color: rgba(255,255,255,.4); }
.btn { border-radius: 16px; } .btn.orange { background: var(--orange); border-color: var(--orange); }
.banner { background: #fff8e8; border-color: #f2c14e; }
.tok { background: var(--orange); border-color: #a9472a; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .hero-art { max-width: 300px; } .gp-emo { width: 80px; height: 80px; font-size: 2.6em; } }
