/* Page de presentation myretro.fun - style "pixel retro clair" facon jeu.
   Tout est sous body.lp pour ne jamais toucher au reste du site. */

@font-face { font-family:"Press Start 2P"; font-weight:400; font-display:swap;
  src:url("/assets/fonts/landing/press-start-2p-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Nunito"; font-weight:600; font-display:swap;
  src:url("/assets/fonts/landing/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family:"Nunito"; font-weight:800; font-display:swap;
  src:url("/assets/fonts/landing/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family:"Nunito"; font-weight:900; font-display:swap;
  src:url("/assets/fonts/landing/nunito-latin-900-normal.woff2") format("woff2"); }

:root {
  --lp-ink:#2b2140; --lp-yellow:#ffcc33; --lp-violet:#7a3cff; --lp-orange:#ff7a1a;
  --lp-green:#3bd16f; --lp-cream:#fff3d6; --lp-sky1:#7fc8ff; --lp-sky2:#bfe6ff; --lp-blue:#d9f1ff;
}
html { scroll-behavior:smooth; }
body.lp { margin:0; background:var(--lp-cream); color:var(--lp-ink); font-family:"Nunito", system-ui, sans-serif; font-weight:600; overflow-x:hidden; }
body.lp * { box-sizing:border-box; }
body.lp a { color:inherit; text-decoration:none; }
.lp .px { border:3px solid var(--lp-ink); box-shadow:4px 4px 0 var(--lp-ink); }
.lp .pixfont { font-family:"Press Start 2P", "Courier New", monospace; }
.lp img.iso { image-rendering:pixelated; display:block; }
.lp-wrap { max-width:1180px; margin:0 auto; }

/* --- barre du haut --- */
.lp-nav { position:sticky; top:0; z-index:50; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 18px; background:#fff; border-bottom:3px solid var(--lp-ink); }
.lp-nav .logo-nav { height:34px; width:auto; image-rendering:pixelated; display:block; }
.lp-nav .links { display:flex; align-items:center; gap:16px; font-weight:800; font-size:14px; }
.lp-hud { display:inline-flex; align-items:center; gap:6px; background:var(--lp-ink); color:#fff; padding:5px 10px; font-size:12px; font-weight:800; }

/* --- boutons pixel (effet 3 : s'enfoncent au clic) --- */
.lp-btn { display:inline-block; padding:12px 18px; font-weight:900; font-size:15px; border:3px solid var(--lp-ink); box-shadow:0 5px 0 var(--lp-ink); cursor:pointer; user-select:none; transition:transform .08s, box-shadow .08s, filter .15s; }
.lp-btn:hover { filter:brightness(1.08); transform:translateY(-1px); box-shadow:0 6px 0 var(--lp-ink); }
.lp-btn:active { transform:translateY(5px); box-shadow:0 0 0 var(--lp-ink); }
.lp-btn.y { background:var(--lp-yellow); } .lp-btn.v { background:var(--lp-violet); color:#fff; } .lp-btn.g { background:var(--lp-green); }
.lp-btn.sm { padding:8px 14px; font-size:13px; }

/* --- ecran titre --- */
.lp-title { position:relative; overflow:hidden; text-align:center; padding:36px 20px 190px; border-bottom:3px solid var(--lp-ink);
  background:linear-gradient(rgba(255,243,214,0) 60%, var(--lp-cream)), linear-gradient(var(--lp-sky1), var(--lp-sky2)); }
.lp-title::before { content:""; position:absolute; left:-10%; right:-10%; bottom:-40px; height:220px; border-top:3px solid var(--lp-ink);
  background:repeating-linear-gradient(30deg, rgba(43,33,64,.18) 0 2px, transparent 2px 34px),
             repeating-linear-gradient(-30deg, rgba(43,33,64,.18) 0 2px, transparent 2px 34px),
             linear-gradient(#9be36b, #6cc24a); }
.lp-title > *:not(.lp-scene):not(.lp-bubble):not(.lp-cloud) { position:relative; z-index:2; }
/* nuages qui traversent le ciel, derriere le texte et les scenes */
.lp-cloud { position:absolute; z-index:0; width:200px; height:auto; left:-260px; opacity:.95; pointer-events:none; animation:lp-drift linear infinite; }
.lp-cloud.c1 { top:24px;  width:220px; animation-duration:46s; animation-delay:-6s; }
.lp-cloud.c2 { top:120px; width:150px; animation-duration:62s; animation-delay:-30s; opacity:.85; }
.lp-cloud.c3 { top:60px;  width:180px; animation-duration:54s; animation-delay:-44s; }
.lp-cloud.c4 { top:210px; width:120px; animation-duration:70s; animation-delay:-14s; opacity:.8; }
@keyframes lp-drift { from { left:-260px; } to { left:100%; } }
.lp-title .logo-big { width:260px; max-width:70%; margin:0 auto 6px; display:block; animation:lp-bob 3s ease-in-out infinite; filter:drop-shadow(4px 4px 0 rgba(43,33,64,.35)); }
.lp-title h1 { font-size:22px; line-height:1.6; margin:4px 0 8px; color:#fff; text-shadow:3px 3px 0 var(--lp-ink), -1px -1px 0 var(--lp-ink); }
.lp-title p { font-size:16px; font-weight:800; margin:0 0 18px; }
.lp-title .ctas { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.lp-online { display:inline-flex; align-items:center; gap:6px; margin-top:16px; background:#fff; padding:6px 12px; font-size:14px; font-weight:900; }
.lp-press { font-size:11px; margin-top:16px; animation:lp-blink 1.1s steps(1) infinite; }
.lp-scene { position:absolute; z-index:1; width:190px; animation:lp-bob 4s ease-in-out infinite; }
.lp-scene.s1 { left:2%; bottom:14px; } .lp-scene.s2 { right:2%; bottom:10px; animation-delay:-2s; }
.lp-scene.s3 { left:20%; bottom:-6px; width:140px; animation-delay:-1s; } .lp-scene.s4 { right:21%; bottom:-10px; width:140px; animation-delay:-3s; }

/* bulles de chat facon Habbo */
.lp-bubble { position:absolute; z-index:3; background:#fff; border:2px solid var(--lp-ink); border-radius:8px; padding:4px 8px; font-size:12px; font-weight:800; white-space:nowrap; opacity:0; transform:translateY(6px); transition:opacity .3s, transform .3s; }
.lp-bubble b { color:var(--lp-violet); }
.lp-bubble::after { content:""; position:absolute; left:14px; bottom:-8px; border:6px solid transparent; border-top-color:var(--lp-ink); }
.lp-bubble.lp-show { opacity:1; transform:none; }
.lp-bubble.b1 { left:6%; bottom:205px; } .lp-bubble.b2 { right:6%; bottom:205px; }
.lp-bubble.b3 { left:20%; bottom:130px; } .lp-bubble.b4 { right:20%; bottom:122px; }

/* point vert "en ligne" (effet 4) */
.lp-dot { display:inline-block; width:10px; height:10px; background:#21b35b; border-radius:50%; animation:lp-pulse 1.6s infinite; }

/* --- sections --- */
.lp-sec { padding:44px 22px; position:relative; }
.lp-sec h2 { font-family:"Press Start 2P", monospace; font-weight:400; font-size:18px; line-height:1.5; text-align:center; margin:0 0 10px; color:var(--lp-orange); text-shadow:3px 3px 0 var(--lp-ink); }
.lp-lead { text-align:center; margin:0 auto 24px; max-width:560px; font-size:16px; font-weight:800; }
.lp-grid { display:grid; gap:18px; }
.lp-g4 { grid-template-columns:repeat(4, 1fr); } .lp-g3 { grid-template-columns:repeat(3, 1fr); align-items:stretch; }

.lp-room { background:#fff; overflow:hidden; }
.lp-room .shot { height:140px; background-size:cover; background-position:center; image-rendering:pixelated; border-bottom:3px solid var(--lp-ink); position:relative; }
.lp-room .tagr { position:absolute; left:6px; top:6px; background:var(--lp-ink); color:#fff; font-size:11px; font-weight:900; padding:2px 6px; }
.lp-room .in { padding:10px 12px; font-size:14px; }
.lp-room b, .lp-feat b { display:block; font-size:15px; font-weight:900; margin-bottom:2px; }

.lp-own { background:var(--lp-violet); color:#fff; text-align:center; border-top:3px solid var(--lp-ink); border-bottom:3px solid var(--lp-ink); overflow:hidden; }
.lp-own h2 { color:var(--lp-yellow); }
.lp-own .lp-lead { color:#efe6ff; }
.lp-own .row { display:flex; align-items:center; justify-content:center; gap:26px; flex-wrap:wrap; }
.lp-own .row img { width:170px; animation:lp-bob 4s ease-in-out infinite; }
.lp-own .row img + .demo + img { animation-delay:-2s; }
.lp-own .demo { background:#fff; color:var(--lp-ink); padding:12px 16px; font-weight:900; font-size:15px; max-width:300px; }
.lp-star { position:absolute; width:6px; height:6px; background:var(--lp-yellow); animation:lp-twinkle 2s infinite; }

.lp-feat { background:#fff; padding:10px 12px 14px; font-size:13px; text-align:center; }
.lp-feat img { width:110px; height:96px; object-fit:contain; margin:0 auto 4px; transition:transform .2s; }

.lp-offers { background:var(--lp-blue); border-top:3px solid var(--lp-ink); border-bottom:3px solid var(--lp-ink); }
.lp-offer { background:#fff; padding:18px 16px; font-size:14px; display:flex; flex-direction:column; position:relative; text-align:center; overflow:hidden; }
.lp-offer .chest { width:96px; margin:-6px auto 4px; transition:transform .2s; }
.lp-offer:hover .chest { transform:scale(1.08) rotate(-4deg); }
.lp-offer h3 { margin:0; font-size:17px; font-weight:900; }
.lp-offer .rar { font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:1px; }
.lp-offer .rar.bronze { color:#b0652a; } .lp-offer .rar.argent { color:#6b8aa6; } .lp-offer .rar.or { color:#c99a00; }
.lp-offer .price { font-family:"Press Start 2P", monospace; font-size:22px; color:var(--lp-violet); margin:12px 0; }
.lp-offer ul { list-style:none; padding:0; margin:4px 0 16px; flex:1; text-align:left; }
.lp-offer li { margin-bottom:6px; padding-left:22px; position:relative; }
.lp-offer li::before { content:"✔"; position:absolute; left:0; color:#21b35b; font-weight:900; }
.lp-offer.star { background:#fffbea; animation:lp-float 3.5s ease-in-out infinite; }
.lp-offer.star::after { content:""; position:absolute; top:0; left:-60%; width:40%; height:100%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); animation:lp-shine 3.5s infinite; pointer-events:none; }
.lp-offer .ribbon { position:absolute; top:12px; right:-32px; transform:rotate(35deg); background:var(--lp-orange); color:#fff; font-weight:900; font-size:10px; padding:3px 34px; border-top:2px solid var(--lp-ink); border-bottom:2px solid var(--lp-ink); }
.lp-note { text-align:center; font-size:13px; margin-top:18px; font-weight:800; }

.lp-faq .lp-item { background:#fff; margin:0 auto 12px; max-width:860px; }
.lp-faq .lp-q { width:100%; background:none; border:0; text-align:left; font:inherit; font-size:15px; font-weight:900; color:var(--lp-ink); padding:12px 14px; display:flex; justify-content:space-between; gap:12px; cursor:pointer; }
.lp-faq .lp-q .pl { transition:transform .25s; }
.lp-faq .lp-a { max-height:0; overflow:hidden; transition:max-height .3s ease; font-size:14px; padding:0 14px; }
.lp-faq .lp-item.open .lp-a { max-height:200px; padding-bottom:12px; }
.lp-faq .lp-item.open .pl { transform:rotate(45deg); }

.lp-cta { background:var(--lp-ink); color:#fff; text-align:center; padding:40px 20px; position:relative; overflow:hidden; }
.lp-cta h2 { font-family:"Press Start 2P", monospace; font-weight:400; font-size:17px; color:var(--lp-yellow); line-height:1.6; margin:0 0 18px; }
.lp-cta img { position:absolute; bottom:0; width:150px; }
.lp-cta img.l { left:3%; } .lp-cta img.r { right:3%; }
.lp-foot { background:#1d1630; color:var(--lp-cream); padding:16px 22px; font-size:13px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.lp-foot a { text-decoration:underline; margin-left:12px; }

/* --- effets 5 et 6 : apparition au defilement, cartes qui se soulevent --- */
.lp-js .lp-reveal { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.lp-js .lp-reveal.lp-seen { opacity:1; transform:none; }
.lp-js .lp-reveal.lp-seen.d1 { transition-delay:.08s; } .lp-js .lp-reveal.lp-seen.d2 { transition-delay:.16s; } .lp-js .lp-reveal.lp-seen.d3 { transition-delay:.24s; }
.lp-lift { transition:transform .15s, box-shadow .15s; }
.lp-lift:hover { transform:translate(-3px,-3px) rotate(-.5deg); box-shadow:8px 8px 0 var(--lp-ink); }
.lp-lift:hover img { transform:scale(1.08); }

@keyframes lp-bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-6px); } }
@keyframes lp-blink { 50% { opacity:0; } }
@keyframes lp-pulse { 0% { box-shadow:0 0 0 0 rgba(33,179,91,.7); } 70% { box-shadow:0 0 0 8px rgba(33,179,91,0); } 100% { box-shadow:0 0 0 0 rgba(33,179,91,0); } }
@keyframes lp-twinkle { 0%,100% { opacity:.15; transform:scale(.6); } 50% { opacity:1; transform:scale(1.2); } }
@keyframes lp-float { 0%,100% { transform:translateY(-8px); } 50% { transform:translateY(-14px); } }
@keyframes lp-shine { 0%,60% { left:-60%; } 100% { left:130%; } }

/* --- page simple (mentions legales) --- */
.lp-doc { max-width:820px; margin:0 auto; padding:40px 16px 60px; font-size:16px; line-height:1.6; }
.lp-doc h1 { font-family:"Press Start 2P", monospace; font-weight:400; font-size:18px; line-height:1.5; color:var(--lp-orange); text-shadow:3px 3px 0 var(--lp-ink); }

/* --- telephone --- */
@media (max-width: 768px) {
  .lp-nav { padding:8px 16px; }
  .lp-nav .links > a:not(.lp-btn), .lp-nav .lp-hud { display:none; }
  .lp-title { padding:28px 16px 185px; }
  .lp-title h1 { font-size:15px; }
  .lp-title p { font-size:15px; }
  .lp .lp-cloud.c3, .lp .lp-cloud.c4 { display:none; }
  .lp .lp-cloud { width:110px; }
  .lp .lp-scene.s3, .lp .lp-scene.s4, .lp .lp-bubble.b3, .lp .lp-bubble.b4 { display:none; }
  .lp-scene { width:130px; }
  .lp-bubble.b1 { left:4%; bottom:132px; } .lp-bubble.b2 { right:4%; bottom:132px; }
  .lp-sec { padding:36px 16px; }
  .lp-sec h2 { font-size:14px; }
  .lp-g4 { grid-template-columns:repeat(2, 1fr); gap:12px; }
  .lp-g3 { grid-template-columns:1fr; }
  .lp-offer.star { animation:none; }
  .lp .lp-cta img { display:none; }
}
@media (max-width: 420px) {
  .lp-bubble { font-size:10px; }
  .lp-room .shot { height:100px; }
}

/* --- visiteurs qui coupent les animations --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .lp *, .lp *::before, .lp *::after { animation:none !important; transition:none !important; }
  .lp-js .lp-reveal { opacity:1; transform:none; }
  .lp-bubble { opacity:1; transform:none; }
  .lp-cloud.c1 { left:6%; } .lp-cloud.c2 { left:70%; } .lp-cloud.c3 { left:38%; } .lp-cloud.c4 { left:84%; }
}

/* Icones dessinees (a la place des emoji) */
.myr-svg { display:inline-block; width:1.1em; height:1.1em; vertical-align:-.18em; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.myr-svg .f { fill:currentColor; }
