/* SoiréeOK — site vitrine. Responsive mobile + PC. */
:root {
  --violet: #7C5CFF;
  --magenta: #FF5C8A;
  --amber: #FFB27A;
  --ink: #1A1730;
  --muted: #6B6784;
  --bg: #FBFAFF;
  --card: #FFFFFF;
  --line: #ECE9F6;
  --grad: linear-gradient(120deg, #7C5CFF 0%, #A45CFF 45%, #FF5C8A 100%);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(124, 92, 255, 0.16);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(251, 250, 255, 0.8);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow);
  border: none; cursor: pointer; transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn.ghost { background: #fff; color: var(--violet); border: 1px solid var(--line); box-shadow: none; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.85rem;
  color: var(--violet); background: #F1ECFF; padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; }
.hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 20px 0 30px; max-width: 34ch; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-note { color: var(--muted); font-size: 0.85rem; margin-top: 16px; }

/* Phone mockup */
.phone {
  justify-self: center;
  width: 280px; height: 570px; border-radius: 44px; padding: 12px;
  background: #12102a; box-shadow: var(--shadow); position: relative;
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #12102a; border-radius: 0 0 16px 16px; z-index: 2; }
.screen { width: 100%; height: 100%; border-radius: 34px; background: var(--grad); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.screen .top { padding: 54px 22px 0; color: #fff; }
.screen .top small { opacity: .85; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .7rem; }
.screen .top h3 { font-size: 1.5rem; margin-top: 6px; }
.screen .sheet { margin-top: 22px; background: #fff; border-radius: 26px 26px 0 0; flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mock-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.mock-card .row { display: flex; align-items: center; justify-content: space-between; }
.mock-title { font-weight: 700; }
.badge { background: var(--grad); color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.mock-sub { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.votes { display: flex; gap: 8px; margin-top: 12px; }
.vote { flex: 1; height: 34px; border-radius: 10px; background: #F1ECFF; display: grid; place-items: center; color: var(--violet); }
.vote.on { background: var(--grad); color: #fff; }

/* Sections */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: #F1ECFF; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin-top: 8px; font-size: 0.98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .n { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }

/* CTA band */
.band { background: var(--grad); border-radius: 32px; color: #fff; text-align: center; padding: 56px 24px; box-shadow: var(--shadow); }
.band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.band p { opacity: .95; margin: 12px 0 26px; }
.band .btn { background: #fff; color: var(--violet); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 60px; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot .brand { font-size: 1.05rem; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a, .foot small { color: var(--muted); font-size: 0.92rem; }
.foot-links a:hover { color: var(--violet); }
.copyright { color: var(--muted); font-size: 0.85rem; margin-top: 28px; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.legal a.back { color: var(--violet); font-weight: 700; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 18px 0 6px; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p { color: #333049; }
.legal .box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .grid, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .phone { width: 240px; height: 500px; }
}
