/* Wali — site vitrine et pages légales. Police : Plus Jakarta Sans (OFL),
   servie depuis le site ; icônes : Lucide (ISC). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  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: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  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 {
  --primary: #7c3aed;
  --primary-deep: #5b21b6;
  --primary-soft: #ede4fc;
  --accent: #fbbf24;
  --bg: #fdf8ff;
  --surface: #ffffff;
  --surface-2: #f4eefb;
  --text: #1d1b20;
  --muted: #625b71;
  --line: #e6dff0;
  --shadow: 0 18px 50px -20px rgba(76, 29, 149, 0.35);
  --radius: 24px;
  color-scheme: light;
}
/* Dark: chosen with the switch, or the system's when nothing was chosen. */
:root[data-theme="dark"] {
  --primary: #a78bfa;
  --primary-soft: #2a2140;
  --bg: #121019;
  --surface: #1c1926;
  --surface-2: #231f30;
  --text: #ece6f0;
  --muted: #b3abc0;
  --line: #2f2a3d;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #a78bfa;
    --primary-soft: #2a2140;
    --bg: #121019;
    --surface: #1c1926;
    --surface-2: #231f30;
    --text: #ece6f0;
    --muted: #b3abc0;
    --line: #2f2a3d;
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
/* The logo that suits the background, light or dark. */
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-dark { display: inline; }
:root[data-theme="dark"] .logo-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark { display: inline; }
  :root:not([data-theme="light"]) .logo-light { display: none; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-light { background: #fff; color: var(--primary-deep); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.btn-primary { background: var(--primary-deep); color: #fff; box-shadow: var(--shadow); }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08);
  font-size: 13px; line-height: 1.2; text-decoration: none;
}
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store strong { display: block; font-size: 15px; }
.on-light .store { border-color: var(--line); color: var(--text); background: var(--surface); }

/* ---------- En-tête ---------- */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; }
.nav .btn { padding: 10px 18px; font-size: 15px; }
.nav a.btn-light { color: var(--primary-deep); opacity: 1; }
.nav a.btn-primary { color: #fff; opacity: 1; }
.controls { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; height: 40px; min-width: 40px; padding: 0 10px;
  border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; opacity: .85;
}
.nav a.icon-btn { display: inline-grid; opacity: .85; }
.icon-btn:hover { opacity: 1; }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
@media (max-width: 520px) { .nav a.btn { display: none; } }
@media (max-width: 860px) { .nav > a:not(.btn) { display: none; } }

/* ---------- Haut de page ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 40%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(167,139,250,.35), transparent 70%),
    linear-gradient(135deg, #4c1d95 0%, #6d28d9 45%, #8b5cf6 100%);
  border-radius: 0 0 48px 48px;
}
.hero .site-header { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 30px 0 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 520px; opacity: .92; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-self: end; min-height: 560px; }
.hero-visual img { position: absolute; bottom: -120px; width: 330px; }
.hero-visual .front { right: 18%; z-index: 2; transform: rotate(-4deg); }
.hero-visual .back { right: -2%; bottom: -40px; width: 290px; transform: rotate(8deg); opacity: .95; }
.chip-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; background: #fff; color: #1d1b20;
  font-size: 14px; font-weight: 700; box-shadow: 0 14px 40px -12px rgba(0,0,0,.35);
}
.chip-float small { display: block; font-weight: 500; color: #625b71; font-size: 12px; }
.chip-float .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #ede4fc; color: #7c3aed; }
.chip-float .ico svg { width: 18px; height: 18px; }
.chip-a { left: 2%; top: 22%; }
.chip-b { left: 10%; bottom: 14%; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { min-height: 470px; }
  .hero-visual img { width: 270px; bottom: -110px; }
  .hero-visual .front { right: auto; left: 50%; transform: translateX(-62%) rotate(-4deg); }
  .hero-visual .back { right: auto; left: 50%; width: 236px; transform: translateX(8%) rotate(8deg); }
  .chip-a { left: 0; top: 10%; }
  .chip-b { left: auto; right: 0; bottom: 30%; }
}

/* ---------- Bandeau « pensé pour » ---------- */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 40px 0 0; }
.tags span {
  padding: 9px 16px; border-radius: 999px; background: var(--surface-2); color: var(--muted);
  font-weight: 600; font-size: 15px; border: 1px solid var(--line);
}

/* ---------- Sections ---------- */
section { padding: 96px 0 0; scroll-margin-top: 20px; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 10px 0 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- Écrans ---------- */
.showcase { display: grid; gap: 40px; }
.show {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  background: var(--surface-2); border-radius: 36px; padding: 50px 60px 0; overflow: hidden;
}
.show:nth-child(even) .show-text { order: 2; }
.show-text { padding-bottom: 50px; }
.show-text h3 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin: 10px 0 14px; }
.show-text p { color: var(--muted); margin: 0 0 18px; font-size: 18px; }
.show-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.show-text li { display: flex; gap: 10px; align-items: flex-start; }
.show-text li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.show-img { display: flex; justify-content: center; align-self: end; }
.show-img img { width: 390px; margin-bottom: -170px; }
@media (max-width: 860px) {
  .show { grid-template-columns: 1fr; padding: 36px 24px 0; border-radius: 28px; }
  .show:nth-child(even) .show-text { order: 0; }
  .show-text { padding-bottom: 0; }
  .show-img img { width: 280px; margin-bottom: -130px; }
}

.gallery {
  display: flex; justify-content: safe center; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 20px 30px; margin: 40px -20px 0; scrollbar-width: thin;
}
.gallery img { width: 230px; flex: none; scroll-snap-align: center; }

/* ---------- Vidéo ---------- */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
  border: 0; padding: 0; cursor: pointer; background: #2e1065;
}
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.95); color: #6d28d9;
  box-shadow: 0 10px 40px rgba(0,0,0,.35); transition: transform .2s ease;
}
.video:hover .play { transform: scale(1.08); }
.video .play svg { width: 36px; height: 36px; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- Données ---------- */
.privacy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  border-radius: 40px; padding: 60px; color: #fff;
  background: radial-gradient(500px 300px at 90% 10%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #2e1065, #5b21b6);
}
.privacy h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 10px 0 14px; }
.privacy .eyebrow { color: #c4b5fd; }
.privacy p { opacity: .9; margin: 0 0 24px; }
.privacy a { color: #fff; font-weight: 700; }
.checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.checks svg { width: 24px; height: 24px; flex: none; color: #c4b5fd; margin-top: 2px; }
.checks strong { display: block; }
.checks span { opacity: .85; font-size: 15px; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; padding: 36px 24px; border-radius: 28px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--primary); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Soutenir ---------- */
.support {
  max-width: 760px; margin: 0 auto; text-align: center; padding: 48px 28px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 36px;
}
.support .ico {
  width: 60px; height: 60px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 16px;
}
.support .ico svg { width: 28px; height: 28px; }
.support h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.support p { color: var(--muted); margin: 0 auto 24px; max-width: 560px; }
.support .support-note { font-size: 14px; margin: 16px auto 0; }

/* ---------- Appel final ---------- */
.cta {
  text-align: center; color: #fff; border-radius: 40px; padding: 70px 24px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255,255,255,.2), transparent 70%), linear-gradient(135deg, #6d28d9, #8b5cf6);
}
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; margin: 0 0 14px; }
.cta p { opacity: .92; margin: 0 auto 30px; max-width: 520px; font-size: 18px; }
.cta .hero-actions, .cta .stores { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 96px; padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid img { height: 44px; width: auto; margin-bottom: 12px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 15px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 8px; font-size: 15px; }
.footer-grid a:hover { color: var(--primary); }
.footer-grid p { color: var(--muted); margin: 0; font-size: 15px; }
.copy { color: var(--muted); font-size: 14px; margin-top: 40px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-grid .socials a {
  display: grid; place-items: center; width: 42px; height: 42px; margin: 0; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
}
.footer-grid .socials a:hover { color: #fff; background: var(--primary-deep); border-color: var(--primary-deep); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Pages légales ---------- */
.page-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.page-header .nav a { color: var(--text); }
.doc { max-width: 780px; margin: 0 auto; padding: 56px 0 0; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; margin-bottom: 10px; }
.doc .muted { color: var(--muted); font-size: 15px; margin: 0 0 30px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .card, .doc .callout {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; padding: 18px 24px; margin: 18px 0;
}
.back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; margin-bottom: 26px; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature { transition: none; }
}
