/* Imposteur — imposteur.app
   L'enseigne néon de l'app, étendue au web. Palette et matières identiques :
   nuit violacée, dalles sombres translucides, halos magenta et cyan. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --void: #0a0713;
  --void-lift: #140c26;
  --void-lift-high: #1d1235;
  --indigo: #2a1b5e;
  --magenta: #e8318a;
  --cyan: #22d3ee;
  --acid: #fde047;
  --success: #34e5a0;
  --ink: #f8f5ff;
  --ink-muted: #cbc6d6;
  --radius-card: 22px;
  --radius-big: 30px;
  --gutter: clamp(20px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Fond : l'aurore de l'app, en version calme ---- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(56vmax 42vmax at 18% 14%, rgba(42, 27, 94, 0.85), transparent 68%),
    radial-gradient(48vmax 40vmax at 84% 26%, rgba(20, 73, 95, 0.55), transparent 70%),
    radial-gradient(50vmax 44vmax at 70% 88%, rgba(62, 16, 70, 0.6), transparent 70%),
    var(--void);
}

.aurora::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(30vmax 24vmax at 30% 70%, rgba(232, 49, 138, 0.14), transparent 70%),
    radial-gradient(26vmax 22vmax at 76% 30%, rgba(34, 211, 238, 0.12), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora::after { animation: none; }
}

/* ---- Accessibilité ---- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 50;
  background: var(--void-lift-high);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(248, 245, 255, 0.25);
}
.skip-link:focus { left: 12px; }

a { color: var(--cyan); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Structure ---- */

.wrap {
  width: min(1080px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 44px; height: auto; }
.brand span {
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: 0.22em;
  font-size: 15px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-switch a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 9px;
  border-radius: 9px;
  text-transform: uppercase;
}
.lang-switch a[aria-current="true"] {
  color: var(--void);
  background: var(--acid);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"]:hover { color: var(--void); }

/* ---- Héros ---- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(48px, 9vh, 110px) 0 clamp(56px, 10vh, 120px);
}

.hero-mask { width: clamp(88px, 12vw, 128px); height: auto; margin-bottom: 18px; }

.wordmark {
  font-weight: 900;
  font-stretch: 122%;
  letter-spacing: 0.3em;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--ink);
  text-shadow:
    0 0 18px rgba(232, 49, 138, 0.65),
    0 0 44px rgba(232, 49, 138, 0.35);
  margin-bottom: clamp(18px, 3vh, 30px);
}

h1 {
  font-weight: 900;
  font-size: clamp(2.5rem, 6.2vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 22px;
}

.hero p {
  color: var(--ink-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  max-width: 34em;
  margin-bottom: 34px;
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(232, 49, 138, 0.22), rgba(232, 49, 138, 0.1)), var(--void-lift);
  border: 1.5px solid rgba(232, 49, 138, 0.8);
  box-shadow: 0 0 26px rgba(232, 49, 138, 0.35), inset 0 0 18px rgba(232, 49, 138, 0.08);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
}

.cta-price {
  color: var(--acid);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.hero-shot { position: relative; justify-self: center; }
.hero-shot img {
  width: min(320px, 78vw);
  height: auto;
  display: block;
  border-radius: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(248, 245, 255, 0.14);
  box-shadow:
    0 0 0 10px rgba(10, 7, 19, 0.85),
    0 0 70px rgba(34, 211, 238, 0.28),
    0 34px 80px rgba(0, 0, 0, 0.55);
}

/* ---- Sections ---- */

section { padding: clamp(48px, 9vh, 104px) 0; }

h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 14px;
}

.lead {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 42em;
  margin-bottom: clamp(28px, 5vh, 48px);
  text-wrap: pretty;
}

/* Étapes de jeu : une vraie séquence, numérotée à bon droit. */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.step {
  background: rgba(20, 12, 38, 0.72);
  border: 1px solid rgba(248, 245, 255, 0.1);
  border-radius: var(--radius-big);
  padding: 22px 22px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step .n {
  font-weight: 900;
  font-size: 15px;
  color: var(--void);
  background: var(--cyan);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step:nth-child(2) .n { background: var(--magenta); color: var(--ink); }
.step:nth-child(3) .n { background: var(--acid); }

.step h3 { font-weight: 800; font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-muted); font-size: 0.99rem; margin-bottom: 20px; }

.step img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px 22px 0 0;
  border: 1px solid rgba(248, 245, 255, 0.1);
  border-bottom: none;
  margin-top: auto;
}

/* La langue par joueur : la dalle signature. */
.lang-panel {
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(232, 49, 138, 0.16), transparent 60%),
    radial-gradient(60% 120% at 88% 100%, rgba(34, 211, 238, 0.15), transparent 60%),
    rgba(20, 12, 38, 0.78);
  border: 1.5px solid rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 44px rgba(34, 211, 238, 0.18);
  border-radius: var(--radius-big);
  padding: clamp(28px, 5vw, 56px);
}

.lang-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--cyan);
  border-radius: 999px;
  padding: 6px 13px;
  margin-bottom: 18px;
}

.lang-panel p { color: var(--ink); max-width: 46em; font-size: clamp(1.02rem, 1.5vw, 1.15rem); }

.lang-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lang-chips span {
  border: 1px solid rgba(248, 245, 255, 0.22);
  background: rgba(10, 7, 19, 0.6);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Vie privée : trois affirmations, pas de décor. */
.priv { text-align: center; }
.priv h2 { max-width: 17em; margin-inline: auto; }
.priv ul {
  list-style: none;
  max-width: 36em;
  margin: 30px auto 0;
  display: grid;
  gap: 14px;
}
.priv li {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: var(--ink);
}
.priv li::before { content: "— "; color: var(--success); font-weight: 800; }
.priv .note {
  margin-top: 30px;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Prix : la dalle acid. */
.price-panel {
  text-align: center;
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(253, 224, 71, 0.1), transparent 55%),
    rgba(20, 12, 38, 0.8);
  border: 1.5px solid rgba(253, 224, 71, 0.65);
  box-shadow: 0 0 48px rgba(253, 224, 71, 0.16);
  border-radius: var(--radius-big);
  padding: clamp(32px, 6vw, 64px);
}
.price-panel .lead { margin-inline: auto; }
.price-amount {
  font-weight: 900;
  font-stretch: 116%;
  font-size: clamp(4rem, 11vw, 7rem);
  line-height: 1;
  color: var(--acid);
  text-shadow: 0 0 34px rgba(253, 224, 71, 0.4);
  display: block;
  margin: 10px 0 4px;
}
.price-currency { color: var(--ink-muted); font-weight: 700; letter-spacing: 0.12em; }
.price-note { margin-top: 22px; color: var(--ink-muted); font-size: 0.98rem; }

/* Grille contenu. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.6vw, 24px);
}
.cell {
  background: rgba(20, 12, 38, 0.72);
  border: 1px solid rgba(248, 245, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 24px;
}
.cell h3 { font-weight: 800; font-size: 1.16rem; margin-bottom: 8px; }
.cell h3 strong { color: var(--magenta); }
.cell:nth-child(2n) h3 strong { color: var(--cyan); }
.cell:nth-child(3n) h3 strong { color: var(--success); }
.cell p { color: var(--ink-muted); font-size: 0.98rem; }

/* ---- Pied ---- */

footer {
  border-top: 1px solid rgba(248, 245, 255, 0.1);
  padding: 40px 0 56px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: center;
  justify-content: space-between;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--ink-muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
footer .langs { margin-top: 18px; }
footer .langs a { color: var(--ink-muted); margin-right: 14px; }

/* ---- Pages légales ---- */

.legal {
  max-width: 46em;
  margin-inline: auto;
  padding: clamp(36px, 7vh, 72px) 0 clamp(56px, 9vh, 100px);
}
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-muted); }
.legal ul { padding-left: 1.2em; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal .updated { font-size: 0.92rem; font-style: italic; }
.legal a.back { display: inline-block; margin-top: 40px; }
.legal .contact-email {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---- Réactivité ---- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-mask { margin-inline: auto; }
  .hero-shot { order: 2; }
}
