/* Watowa — site vitrine
   Layout : une seule page, sections empilées sur fond nuit, menu à ancres collant en haut. */
:root {
  color-scheme: dark;
  --bg: #0D0918;
  --bg-2: #120D22;
  --surface: #17112A;
  --surface-2: #221A3A;
  --border: #2E2449;
  --violet: #845CE2;
  --violet-hover: #7349D6;
  --violet-soft: #B9A2F2;
  --fg: #FFFFFF;
  --fg-2: #B3ACC8;
  --fg-3: #7A7392;
  --star: #F5B731;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: 104px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-soft);
}
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; letter-spacing: -.01em; }
.section-head p { color: var(--fg-2); font-size: 17px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px; padding: 13px 24px; transition: background .2s, transform .2s, border-color .2s;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-hover); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--violet); }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #120D1E; text-decoration: none;
  border-radius: 14px; padding: 10px 18px 10px 14px; min-width: 176px;
  transition: transform .2s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store small { display: block; font-size: 11px; line-height: 1.2; color: #4A4458; }
.store b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: rgba(13, 9, 24, .92);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 9, 24, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--fg-2); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { padding: 10px 20px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--fg); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px;
  }
  .nav-links a { display: block; padding: 12px 0; font-size: 17px; }
  .nav-links:not(.open) { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-cta { display: none; }
}

/* Hero */
.hero { position: relative; padding-block: 72px 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(132, 92, 226, .35), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fg-2); background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px 6px 8px;
}
.pill span { background: var(--violet); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 600; padding: 2px 9px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--violet-soft); }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--fg-2); max-width: 34em; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; }
.hero-note { font-size: 13px; color: var(--fg-3); }
.hero-note a { color: var(--violet-soft); }

.phones { position: relative; height: 620px; }
.phone {
  position: absolute; width: 280px; aspect-ratio: 393 / 852;
  border-radius: 44px; overflow: hidden; background: #0F0B1A;
  border: 7px solid #241C3B; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .05);
}
.phone img { width: 100%; height: auto; }
.phones .phone:nth-child(1) { left: 4%; top: 40px; transform: rotate(-6deg); }
.phones .phone:nth-child(2) { right: 4%; top: 0; transform: rotate(5deg); z-index: 2; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phones { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { width: 230px; }
}
@media (max-width: 480px) {
  .phones { height: 430px; }
  .phone { width: 190px; border-radius: 34px; border-width: 5px; }
}

/* Concept */
.concept { background: var(--bg-2); }
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.section-head .quote {
  color: var(--fg);
  font-size: clamp(24px, 2.8vw, 32px); font-weight: 500; line-height: 1.35;
}
.quote strong { color: var(--violet-soft); font-weight: 500; }
.concept-copy { display: flex; flex-direction: column; gap: 22px; color: var(--fg-2); min-width: 0; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.versus div { border-radius: 16px; padding: 18px; font-size: 14px; line-height: 1.55; }
.versus .them { background: var(--surface); border: 1px solid var(--border); color: var(--fg-3); }
.versus .us { background: rgba(132, 92, 226, .14); border: 1px solid rgba(132, 92, 226, .45); color: var(--fg); }
.versus b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.versus .them b { color: var(--fg-3); }
.versus .us b { color: var(--violet-soft); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--border); }
.pillar svg { width: 22px; height: 22px; color: var(--violet-soft); flex-shrink: 0; margin-top: 3px; }
.pillar h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.pillar p { font-size: 14px; color: var(--fg-2); }
@media (max-width: 860px) {
  .concept-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .pillars, .versus { grid-template-columns: 1fr; } }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(132, 92, 226, .16); color: var(--violet-soft);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; font-weight: 600; }
.feature p { font-size: 15px; color: var(--fg-2); }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Aperçu */
.screens { background: var(--bg-2); overflow: hidden; }
.screens-track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(20px, env(safe-area-inset-left, 0px)) 30px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.screens-track::after { content: ""; flex: 0 0 1px; }
@media (min-width: 1240px) { .screens-track { justify-content: center; } }
.screen { flex: 0 0 auto; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.screen .phone { position: relative; width: 230px; }
.screen figcaption { font-size: 14px; color: var(--fg-2); text-align: center; }
.screen figcaption b { display: block; color: var(--fg); font-weight: 600; font-size: 15px; }
figure { margin: 0; }

/* Téléchargement */
.download-card {
  position: relative; overflow: hidden;
  border-radius: 32px; padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(135deg, #5B33C9 0%, #845CE2 55%, #9E7FEA 100%);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.download-card::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px;
  background: url("../img/logo-watowa.png") center / contain no-repeat; opacity: .14; transform: rotate(-12deg);
  pointer-events: none;
}
.download-card h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-bottom: 12px; }
.download-card p { color: rgba(255, 255, 255, .85); max-width: 32em; }
.download-card .stores { position: relative; z-index: 1; }
@media (max-width: 860px) { .download-card { grid-template-columns: 1fr; } }

/* Avis */
.proto-note {
  display: inline-block; font-size: 12px; color: var(--star);
  border: 1px dashed rgba(245, 183, 49, .5); border-radius: 999px; padding: 3px 12px;
}
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 0; font-size: 15px; color: var(--fg); line-height: 1.6; flex: 1; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-size: 15px; color: #fff;
}
.who b { display: block; font-size: 14px; font-weight: 600; }
.who span { font-size: 13px; color: var(--fg-3); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* FAQ */
.faq { background: var(--bg-2); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.faq details[open] { border-color: rgba(132, 92, 226, .5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 500; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--violet-soft); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--fg-2); font-size: 15px; }

/* Inscription */
.signup-box {
  max-width: 720px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.signup-box h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; }
.signup-box > p { color: var(--fg-2); font-size: 17px; }
.signup-form { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.signup-row { display: flex; gap: 10px; }
.signup-row input {
  flex: 1; min-width: 0; font-family: var(--font); font-size: 15px; color: var(--fg);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 14px 22px;
}
.signup-row input::placeholder { color: var(--fg-3); }
.signup-row input:focus { outline: none; border-color: var(--violet); }
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; color: var(--fg-3); }
.consent input { margin-top: 3px; accent-color: var(--violet); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--violet-soft); }
.form-msg { font-size: 14px; min-height: 1.4em; }
.form-msg.ok { color: #6EE7A0; }
.form-msg.err { color: #F7838F; }
@media (max-width: 520px) { .signup-row { flex-direction: column; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 64px 32px; font-size: 14px; color: var(--fg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); font-weight: 600; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--fg-2); }
.footer-grid a:hover { color: var(--fg); }
.footer-about { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--fg-2);
}
.socials a:hover { border-color: var(--violet); color: var(--fg); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--fg-3);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Pages légales */
.legal { padding-block: 64px 96px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 700; margin-bottom: 12px; }
.legal .updated { color: var(--fg-3); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--fg-2); font-size: 15px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--violet-soft); }
.todo-mark { color: var(--star); }
