/* Style du site muzzlimin.com, version F (planches `SiteF-*` du canevas de
   design) : nuit, rouge, Newsreader pour les titres, Geist pour le reste,
   étoiles qui scintillent, halo rouge qui respire, sections qui montent. */
:root {
  --bg: #0C0B10; --card: #17151C; --line: rgba(255,255,255,.10); --line2: rgba(255,255,255,.18);
  --ink: #F5F1EA; --soft-ink: #D8D2C8; --sub: #A8A095; --mute: #6F675E;
  --red: #D92645; --red-text: #FF9098; --red-soft: rgba(217,38,69,.14);
  --ui: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2,.9,.3,1);
  color-scheme: dark;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { -webkit-text-size-adjust: 100%; background: var(--bg) }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit }

/* Ciel */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0 }
.st { position: absolute; border-radius: 50%; background: #F3ECE0; animation: twinkle 3s ease-in-out infinite }
.glow {
  position: absolute; left: 50%; top: -160px; width: 760px; height: 760px; margin-left: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,38,69,.22), rgba(12,11,16,0) 62%);
  animation: breathe 4s ease-in-out infinite;
}

.page { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 0 16px 40px }

/* En-tête */
.top { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 0; min-height: 64px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none }
.logo { width: 34px; height: 34px; border-radius: 9px; display: block; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.16) }
.word { font-weight: 700; font-size: 14px; letter-spacing: .14em }
.langs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 20px; border: 1px solid var(--line2) }
.langs button {
  min-height: 38px; min-width: 44px; padding: 0 12px; border-radius: 17px; border: 0; cursor: pointer;
  background: transparent; color: var(--sub); font: 600 13.5px var(--ui); transition: background .25s, color .25s;
}
.langs button[aria-pressed=true] { background: var(--ink); color: #12100E }

/* Titre */
.hero { text-align: center; padding: 56px 0 8px; display: flex; flex-direction: column; align-items: center }
.kick { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--red); text-transform: uppercase }
h1 { font: 500 46px/1.04 var(--display); letter-spacing: -.01em; margin: 18px 0 0; text-wrap: balance }
h1 em { color: var(--red); font-style: italic }
.lead { font-size: 16.5px; line-height: 1.5; color: var(--soft-ink); max-width: 30em; margin: 20px 0 0 }

/* Étapes */
.steps { display: flex; justify-content: center; gap: 8px; margin: 34px 0 18px }
.steps span {
  height: 32px; min-width: 32px; padding: 0 12px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--mute); font-size: 13px; font-weight: 600; transition: all .35s var(--ease);
}
.steps span.on { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06) }
.steps span.done { color: var(--red-text); border-color: rgba(217,38,69,.5) }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 26px 22px;
  display: grid; gap: 16px; transition: border-color .25s, box-shadow .25s;
}
.card:hover, .card:focus-within { border-color: rgba(217,38,69,.6); box-shadow: 0 0 40px rgba(217,38,69,.18) }
.card.danger { border-color: rgba(217,38,69,.55) }
h2 { font: 500 28px/1.12 var(--display); letter-spacing: -.01em; margin: 0 }
.sub { color: var(--sub); margin: 0; font-size: 15px }

/* Champ en verre, bouton rouge dedans (comme « Me prévenir ») */
.field {
  display: flex; align-items: center; gap: 6px; min-height: 60px; padding: 6px 6px 6px 22px; border-radius: 30px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line2); backdrop-filter: blur(10px);
  transition: border-color .25s, box-shadow .25s;
}
.field:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,38,69,.22) }
.field input {
  flex: 1; min-width: 0; min-height: 46px; border: 0; outline: 0; background: transparent; color: #fff;
  font: 400 16px var(--ui);
}
.field input::placeholder { color: rgba(255,255,255,.5) }
.field input.code { font: 600 24px var(--ui); letter-spacing: .45em }
@media (max-width: 420px) {
  .field { flex-direction: column; align-items: stretch; border-radius: 26px; padding: 6px }
  .field input { padding: 0 16px; text-align: center }
}
.label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border-radius: 26px; border: 0; background: var(--red); color: #fff; font: 700 16px var(--ui); cursor: pointer;
  text-decoration: none; text-align: center; transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover:not(:disabled) { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(217,38,69,.22) }
.btn:disabled { opacity: .4; cursor: default }
.btn.wide { width: 100% }
.btn.ready { animation: breath 2.2s ease-in-out infinite }
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px;
  border-radius: 26px; border: 1px solid rgba(255,255,255,.35); color: #fff; font: 600 15px var(--ui);
  text-decoration: none; background: transparent; transition: border-color .25s, background .25s;
}
.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06) }
.links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px }
.link {
  min-height: 44px; padding: 0 2px; border: 0; background: none; cursor: pointer; color: var(--red-text);
  font: 600 14.5px var(--ui); text-decoration: underline; text-underline-offset: 4px;
}
.link:disabled { color: var(--mute); text-decoration: none; cursor: default }

.notice { border-radius: 22px; background: var(--red-soft); border: 1px solid rgba(217,38,69,.4); padding: 18px; display: grid; gap: 12px }
.notice p { margin: 0 }
.notice strong { font-weight: 600 }
.notice .sub { color: var(--soft-ink) }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
@media (max-width: 380px) { .stores { grid-template-columns: 1fr } }

.check { display: flex; align-items: center; gap: 14px; min-height: 48px; cursor: pointer; font-weight: 600 }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: 0; border-radius: 8px; border: 1.5px solid var(--line2); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s }
.check input::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .25s var(--ease) }
.check input:checked { background: var(--red); border-color: var(--red) }
.check input:checked::after { transform: rotate(45deg) scale(1) }

.error { margin: 0; padding: 12px 16px; border-radius: 16px; background: rgba(217,38,69,.14); color: var(--red-text); font-weight: 500; animation: shake .35s }

/* Fait */
.done { text-align: center; justify-items: center }
.seal { width: 76px; height: 76px; border-radius: 38px; background: var(--red); display: grid; place-items: center; animation: pop .6s var(--ease) both }
.seal svg { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .35s ease-out forwards }
.date { font: 500 30px/1.15 var(--display); color: var(--red-text) }

/* Ce qu'il faut savoir */
.know { margin-top: 64px; display: grid; gap: 12px }
.know .kick { margin-bottom: 4px }
.know h3 { font: 500 36px/1.05 var(--display); margin: 0 0 10px; letter-spacing: -.01em }
.item { display: flex; gap: 14px; align-items: flex-start; border-radius: 22px; background: var(--card); border: 1px solid var(--line); padding: 18px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s }
.item:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 22px 50px rgba(217,38,69,.18) }
.ico { flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--red-soft); color: var(--red-text); display: grid; place-items: center }
.item b { display: block; font-size: 16px; font-weight: 600 }
.item p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--sub) }
.mail { color: var(--red-text); font-weight: 600; word-break: break-all }

/* Pied de page (comme le site) */
.foot { margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; gap: 18px }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--sub) }
.foot nav a { text-decoration: none; transition: color .2s }
.foot nav a:hover { color: var(--ink) }
.copy { font-size: 14px; color: var(--mute) }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px }

/* Mouvement */
.rise { animation: rise .8s var(--ease) both }
.d1 { animation-delay: .08s } .d2 { animation-delay: .16s } .d3 { animation-delay: .24s } .d4 { animation-delay: .32s }
@keyframes rise { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }
@keyframes twinkle { 0%, 100% { opacity: .15 } 50% { opacity: .9 } }
@keyframes breathe { 0%, 100% { opacity: .55 } 50% { opacity: .9 } }
@keyframes breath { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,38,69,.45) } 50% { box-shadow: 0 0 0 14px rgba(217,38,69,0) } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0 } 70% { transform: scale(1.08) } 100% { transform: scale(1); opacity: 1 } }
@keyframes draw { to { stroke-dashoffset: 0 } }
@keyframes shake { 0%, 100% { transform: none } 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } .seal svg { stroke-dashoffset: 0 } }
@media (max-width: 420px) { h1 { font-size: 40px } .hero { padding-top: 40px } }
