@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b18;
  --bg-2: #0e1428;
  --card: #111832;
  --line: #1a2240;
  --line-2: #2a3352;
  --text: #eef0f7;
  --text-2: #c9cedd;
  --text-3: #b4bbd0;
  --muted: #9aa3bd;
  --gold: #e8c877;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1px 1px at 23px 41px, rgba(238, 240, 247, 0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 137px 89px, rgba(238, 240, 247, 0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 211px 163px, rgba(238, 240, 247, 0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 312px 27px, rgba(154, 163, 189, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 389px 211px, rgba(238, 240, 247, 0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 74px 268px, rgba(232, 200, 119, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 266px 311px, rgba(238, 240, 247, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 351px 378px, rgba(154, 163, 189, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 159px 371px, rgba(238, 240, 247, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 402px 302px, rgba(238, 240, 247, 0.5) 50%, transparent 51%);
  background-size: 430px 430px;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 10; }

/* Header */
.header { position: relative; z-index: 2; }
.header .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; }
.nav a.nav-cta { border: 1px solid var(--line-2); }

/* Hero */
.hero { position: relative; isolation: isolate; text-align: center; padding: 100px 32px 140px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.hero h1 { font-size: clamp(48px, 7.5vw, 96px); letter-spacing: -0.04em; line-height: 1; }
.hero p { max-width: 600px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--text-3); }
.hero-mark { position: relative; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.hero-mark::before, .hero-mark::after { content: ""; position: absolute; border-radius: 50%; }
.hero-mark::before { inset: 0; border: 1px solid var(--line-2); }
.hero-mark::after { inset: 40px; border: 1px dashed #1f2742; }
.hero-mark svg { width: 132px; height: 132px; position: relative; }

.sky { position: absolute; z-index: -1; left: 50%; top: 230px; pointer-events: none; }
.glow { width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 200, 119, 0.10) 0%, rgba(70, 92, 170, 0.12) 30%, rgba(7, 11, 24, 0) 65%); }
.ring { border-radius: 50%; }
.ring-1 { width: 560px; height: 560px; margin: -280px 0 0 -280px; border: 1px solid #1b2444; }
.ring-2 { width: 900px; height: 900px; margin: -450px 0 0 -450px; border: 1px solid #151d38; }
.ring-3 { width: 1300px; height: 1300px; margin: -650px 0 0 -650px; border: 1px dashed #131a33; }
.planet { position: absolute; left: 50%; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.planet-gold { width: 8px; height: 8px; background: var(--gold); box-shadow: 0 0 12px rgba(232, 200, 119, 0.6); }
.planet-grey { width: 6px; height: 6px; background: var(--muted); }
.planet-blue { width: 10px; height: 10px; background: #5d6a96; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; color: var(--bg); }

/* Sections */
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.section-title { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.08; }

.apps { padding-bottom: 140px; }
.apps-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid #222b4a; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.card-soon { background: rgba(17, 24, 50, 0.45); border-style: dashed; border-color: var(--line-2); }
.card-visual { height: 168px; display: flex; align-items: center; justify-content: center; }
.icon-frame { width: 148px; height: 148px; padding: 14px; border-radius: 40px; border: 1px solid #2f3a5e; background: #0c1226; box-shadow: 0 0 0 8px rgba(47, 58, 94, 0.18), 0 18px 40px rgba(0, 0, 0, 0.35); }
.icon-frame img { width: 120px; height: 120px; border-radius: 28px; display: block; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card h3 { font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; }
.card-body p { color: var(--text-2); }
.card-actions { min-height: 44px; display: flex; gap: 12px; }
.card-actions a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-size: 15px; }
.card-actions .store { background: var(--text); color: var(--bg); font-weight: 600; }
.card-actions .store:hover { background: #fff; color: var(--bg); }
.card-actions .site { border: 1px solid var(--line-2); }
.card-actions .site:hover { border-color: #3a4466; }

/* Orbit in "Prochainement" */
.mini-orbit { position: relative; width: 160px; height: 160px; }
.mini-orbit .o { position: absolute; border-radius: 50%; }
.mini-orbit .o-out { inset: 0; border: 1px dashed #2f3a5e; }
.mini-orbit .o-in { inset: 36px; border: 1px solid #222b4a; }
.mini-orbit .core { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px rgba(232, 200, 119, 0.55); }
.track { position: absolute; }
.track-out { inset: 0; }
.track-in { inset: 36px; }
.track .p { position: absolute; left: 50%; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.track .p-bottom { top: 100%; }
.progress { flex-grow: 1; align-self: center; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.progress span { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: 999px; background: var(--gold); }

/* Studio */
.studio { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio .wrap { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.studio-title { display: flex; flex-direction: column; gap: 16px; }
.studio-text { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.65; color: var(--text-2); }

/* Contact */
.contact { padding: 120px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.contact a.mail { font-family: var(--display); font-size: clamp(26px, 4.5vw, 56px); font-weight: 500; letter-spacing: -0.03em; text-decoration: underline; text-decoration-color: #3a4466; text-underline-offset: 10px; overflow-wrap: anywhere; }
.contact p { color: var(--muted); }
.contact p.eyebrow { color: var(--gold); }

/* Footer */
.footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer .brand { font-size: 16px; }
.footer .brand svg { width: 22px; height: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--text); }

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 96px 32px 120px; display: flex; flex-direction: column; gap: 56px; }
.legal-head { display: flex; flex-direction: column; gap: 12px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.legal-card { background: var(--card); border: 1px solid #222b4a; border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.legal h2 { font-size: 22px; }
.legal dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.legal dl div { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.legal dt { flex: 0 0 180px; color: var(--muted); }
.legal dd { margin: 0; flex: 1 1 280px; color: #dce0ec; }
.legal dd a { text-decoration: underline; text-decoration-color: #3a4466; text-underline-offset: 3px; }
.legal section > p { color: var(--text-2); line-height: 1.7; }

/* Motion */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes scan { 0% { left: -35%; } 100% { left: 100%; } }
.spin { animation: spin 30s linear infinite; }
.rev { animation-direction: reverse; }
.scan { animation: scan 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin, .scan { animation: none; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 64px 20px 100px; }
  .hero-mark { width: 200px; height: 200px; }
  .hero-mark svg { width: 100px; height: 100px; }
  .sky { top: 165px; }
  .nav a { padding: 0 12px; }
  .card { padding: 24px; }
  .studio .wrap, .contact { padding-top: 80px; padding-bottom: 80px; }
  .legal { padding-top: 56px; }
  .legal-card { padding: 24px; }
}
