/* ============================================================
   Pausitive - design system du site (aligné sur l'app)
   Titres : Clash Display · Corps : General Sans
   ============================================================ */

@font-face {
  font-family: 'Clash Display';
  src: url('assets/fonts/ClashDisplay-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('assets/fonts/ClashDisplay-Semibold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('assets/fonts/ClashDisplay-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-Semibold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('assets/fonts/GeneralSans-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}

:root {
  --bg: #fbf6f0;
  --surface: #ffffff;
  --ink: #2b2a33;
  --muted: #7b7686;
  --plum: #6e5f94;
  --plum-soft: #efeaf5;
  --coral: #e8765a;
  --coral-deep: #d85b40;
  --peach: #f7e8de;
  --success: #4fa386;
  --border: #ede4db;
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1080px;
  --shadow: 0 18px 40px -18px rgba(110, 95, 148, 0.35);
  --shadow-soft: 0 10px 30px -14px rgba(110, 95, 148, 0.22);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Aura de fond (comme AuraBackground de l'app) : halos doux, fixes. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 40% at 15% 8%, rgba(240, 180, 140, 0.50), transparent 70%),
    radial-gradient(46% 38% at 92% 4%, rgba(163, 141, 200, 0.40), transparent 70%),
    radial-gradient(60% 45% at 80% 96%, rgba(232, 166, 160, 0.32), transparent 72%);
  pointer-events: none;
}

h1, h2, h3, .display {
  font-family: 'Clash Display', 'General Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

a { color: var(--coral-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(251, 246, 240, 0.78);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'General Sans', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--plum);
}
.brand:hover { text-decoration: none; }
.brand img.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 2px 8px rgba(110, 95, 148, 0.28);
}
nav.site { display: flex; align-items: center; gap: 22px; }
nav.site a:not(.btn) {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
nav.site a:not(.btn):hover { color: var(--ink); text-decoration: none; }
nav.site a.btn-primary { color: #fff; }
nav.site .nav-hide-mobile { display: inline; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--plum), var(--coral));
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }
.btn-ghost {
  color: var(--plum);
  background: var(--surface);
  border: 1px solid var(--border);
}
.btn-ghost:hover { text-decoration: none; border-color: var(--plum); }
.btn-sm { padding: 10px 18px; font-size: 15px; }

/* Boutons stores (App Store / Google Play) */
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #17151c;
  color: #fff;
  padding: 11px 18px;
  border-radius: 13px;
  transition: transform 0.15s ease;
}
.store:hover { text-decoration: none; transform: translateY(-2px); }
.store svg { width: 22px; height: 22px; fill: #fff; flex: none; }
.store .lbl { line-height: 1.15; text-align: left; font-size: 12px; color: #fff; }
.store .lbl b { display: block; font-size: 16px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 72px 0 48px; }
.hero .cap-halo {
  width: 210px; height: 210px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.9), rgba(247, 232, 222, 0.5) 60%, transparent 72%);
}
.hero .cap-halo img { width: 190px; height: auto; display: block; }
.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--plum-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 auto 18px; max-width: 15ch; }
.hero .lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 30ch;
  margin: 0 auto 30px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.reassure { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Botaniques flottantes (décor du sentier) */
.decor { position: absolute; z-index: -1; opacity: 0.9; pointer-events: none; }
.decor.plant { width: 120px; left: -10px; top: 60px; }
.decor.pampas { width: 130px; right: -20px; top: 30px; }
.decor.flower { width: 84px; left: 8%; bottom: 8px; }
.decor.euca { width: 100px; right: 6%; bottom: 24px; }
@media (max-width: 860px) { .decor { display: none; } }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

/* Grille de features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}
.feature img { width: 66px; height: 66px; object-fit: contain; margin-bottom: 14px; }
.feature h3 { font-size: 20px; margin: 0 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* Bande "sentier" / progression */
.path-band {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--peach) 100%);
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  padding: 48px 24px 40px;
  text-align: center;
}
.path-band::before {
  content: '';
  position: absolute;
  top: -40px; right: -30px;
  width: 190px; height: 190px;
  background: radial-gradient(circle, rgba(232, 166, 160, 0.55), transparent 68%);
  pointer-events: none;
}
.path-band h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 12px; position: relative; }
.path-band > p { color: var(--muted); max-width: 40ch; margin: 0 auto 30px; position: relative; }
.levels {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 10px; flex-wrap: wrap; position: relative;
}
.levels img {
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(110, 95, 148, 0.18));
}
.levels img:nth-child(1) { width: 44px; }
.levels img:nth-child(2) { width: 52px; }
.levels img:nth-child(3) { width: 60px; }
.levels img:nth-child(4) { width: 68px; }
.levels img:nth-child(5) { width: 76px; }
.levels img:nth-child(6) { width: 86px; }
.path-scene { position: relative; display: grid; place-items: center; margin-top: 24px; }
.path-scene::after {
  content: '';
  position: absolute; bottom: 4px;
  width: 200px; height: 34px;
  background: radial-gradient(closest-side, rgba(110, 95, 148, 0.16), transparent);
  border-radius: 50%;
}
.path-cap { width: 140px; height: auto; position: relative; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { text-align: center; }
.step .num {
  width: 44px; height: 44px; margin: 0 auto 12px;
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--plum), var(--coral));
  color: #fff; font-weight: 700; font-family: 'Clash Display';
}
.step h3 { font-size: 19px; margin: 0 0 6px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* Témoignage / réassurance */
.quote {
  background: var(--plum);
  color: #fff;
  border-radius: 32px;
  padding: 48px 32px;
  text-align: center;
}
.quote .display { font-size: clamp(22px, 3.4vw, 32px); max-width: 22ch; margin: 0 auto; }
.quote .who { margin-top: 18px; opacity: 0.8; font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* CTA final */
.final-cta { text-align: center; }
.final-cta img { width: 130px; margin-bottom: 12px; }
.final-cta h2 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 22px; max-width: 18ch; margin-inline: auto; }

/* ---------- Pages légales ---------- */
main.doc { padding: 48px 0 72px; }
main.doc h1 { font-size: 34px; margin: 0 0 8px; }
main.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
main.doc h2 { font-size: 22px; margin: 34px 0 10px; }
main.doc h3 { font-size: 18px; margin: 22px 0 6px; }
main.doc .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 18px 0;
  box-shadow: var(--shadow-soft);
}
main.doc .card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
  margin-top: 40px;
}
footer.site .wrap {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
footer.site .brand { font-size: 18px; }
footer.site .links a { color: var(--muted); margin-left: 20px; font-size: 14px; font-weight: 500; }
footer.site .copy { color: var(--muted); font-size: 13px; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features, .steps { grid-template-columns: 1fr; }
  nav.site .nav-hide-mobile { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  footer.site .links a { margin: 0 16px 0 0; }
}
