/* Moodelito · moodelito.noret.eu
   Couleurs d'humeur = EmojiFeeling.swift ; dégradé et bleu nuit = icône de l'app. */

:root {
  --navy-950: #060f1d;
  --navy-900: #0a1628;
  --navy-800: #0f2138;
  --navy-700: #173253;

  --mood-happy: #78ff70;
  --mood-content: #99cc99;
  --mood-neutral: #8e8e93;
  --mood-sad: #ff8000;
  --mood-despair: #ff2600;

  --ios-blue: #007aff;
  --ios-green: #34c759;
  --ios-bg: #f2f2f7;
  --ios-label2: #6a6a70;  /* gris secondaire iOS, foncé pour un contraste AA */
  --ios-blue-text: #0066d6;

  --grad: linear-gradient(100deg, #3ef2ff 0%, #9af59a 28%, #f7e94a 52%, #ff9a2e 76%, #ff3355 100%);
  --grad-text: var(--grad);

  /* thème sombre (par défaut, celui de l'icône) */
  --bg: var(--navy-900);
  --bg-alt: var(--navy-800);
  --text: #eef3fa;
  --muted: #9fb0c7;
  --card: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);

  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fc;
    --bg-alt: #ffffff;
    --text: #0d1b2e;
    --muted: #4f6079;
    --card: #ffffff;
    --border: rgba(13, 27, 46, 0.1);
    --shadow: 0 30px 60px -24px rgba(13, 27, 46, 0.35);
    --grad-text: linear-gradient(100deg, #0a9fc2 0%, #2fa54a 30%, #d18f00 55%, #f0561c 78%, #e0153f 100%);
    color-scheme: light;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
.emo { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-style: normal; font-weight: 400; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid #3ef2ff; outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.lead { font-size: 1.2rem; color: var(--muted); }

/* Couleur par humeur : toute classe .mood-* fixe --c */
.mood-happy { --c: var(--mood-happy); }
.mood-content { --c: var(--mood-content); }
.mood-neutral { --c: var(--mood-neutral); }
.mood-sad { --c: var(--mood-sad); }
.mood-despair { --c: var(--mood-despair); }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.main-nav a { text-decoration: none; color: var(--muted); transition: color 0.15s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.lang-switch { border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; }
.btn-mini {
  background: var(--grad); color: #08121f !important; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
}
@media (max-width: 680px) {
  .hide-sm { display: none; }
  .main-nav { gap: 14px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .hide-xs { display: none; }
}
@media (max-width: 340px) {
  .brand span { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; text-align: center; margin-bottom: 0.6em; }
.section-title--left { text-align: left; }
.section-lead { text-align: center; color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: -8px auto 40px; }

/* ---------- Hero (toujours sombre, comme l'icône) ---------- */

.hero {
  --text: #eef3fa; --muted: #a9b9cf; --grad-text: var(--grad);
  color: var(--text);
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(62, 242, 255, 0.16), transparent 70%),
    radial-gradient(50% 50% at 95% 85%, rgba(255, 90, 50, 0.16), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.6rem); font-weight: 850; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 0.4em; }
.hero .lead { max-width: 540px; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; margin-top: 32px; }
.hero-meta { margin: 0; font-size: 0.95rem; color: var(--muted); }
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }

.store-badge { display: inline-block; border-radius: 12px; transition: transform 0.15s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 54px; width: auto; }
.store-badge--center { margin: 0 auto; }

.demo-hint {
  margin: 0; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem; color: var(--text);
  animation: nudge 2.4s ease-in-out infinite;
  transition: opacity 0.4s;
}
.demo-hint.is-done { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; flex-direction: column; }
}

/* ---------- Maquettes iPhone ---------- */

.phone {
  position: relative;
  width: 300px; aspect-ratio: 300 / 630;
  padding: 10px; border-radius: 50px;
  background: linear-gradient(145deg, #2b3242, #0c0f16 40%, #232a38);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), var(--shadow);
  flex: none;
}
.phone--hero { width: 320px; }
.phone--hero::before {
  content: ""; position: absolute; inset: -60px; z-index: -1;
  background: conic-gradient(from 200deg, #3ef2ff, #f7e94a, #ff9a2e, #ff3355, #3ef2ff);
  filter: blur(70px); opacity: 0.28; border-radius: 50%;
}
.phone-screen {
  position: relative; height: 100%;
  border-radius: 40px; overflow: hidden;
  background: #fff; color: #000;
  display: flex; flex-direction: column;
  font-size: 13px; line-height: 1.3;
  font-family: var(--font);
  text-align: left;
}
@media (max-width: 380px) { .phone { zoom: 0.86; } }

.ios-status {
  position: relative; flex: none;
  height: 46px; padding: 14px 26px 0 30px;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-weight: 600; font-size: 14px;
}
.ios-status svg { width: 46px; height: 12px; margin-top: 3px; fill: currentColor; }
.ios-island { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; }

.ios-navbar {
  flex: none; height: 38px; padding: 0 14px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
}
.ios-nav-title { grid-column: 2; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ios-back, .ios-action { color: var(--ios-blue-text); font-size: 13px; white-space: nowrap; background: none; border: 0; padding: 0; }
.ios-back { grid-column: 1; justify-self: start; cursor: pointer; font-size: 22px; line-height: 1; padding: 0 6px 2px 0; }
.ios-action { grid-column: 3; justify-self: end; font-weight: 700; }
.ios-navbar--sub .ios-nav-title { font-size: 12.5px; }
.ios-navbar--large { display: block; height: auto; padding: 4px 16px 8px; border: 0; }
.ios-large-title { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }

.ios-tabbar {
  flex: none; margin-top: auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 7px 4px 24px;
  background: rgba(249, 249, 249, 0.96);
  border-top: 0.5px solid rgba(0, 0, 0, 0.15);
}
.ios-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; color: var(--ios-label2); }
.ios-tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ios-tabbar .is-active { color: var(--ios-blue-text); }

.screen-body { flex: 1; overflow: hidden; padding: 6px 14px 10px; }

/* Calendrier (FSCalendar : en-tête gris foncé, semaine qui commence lundi, ronds colorés) */
.app-calendar { flex: 1; padding: 4px 12px 0; }
.cal-month { margin: 6px 0 10px; text-align: center; font-size: 26px; font-weight: 900; color: #555; text-transform: lowercase; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-weekdays { margin-bottom: 6px; }
.cal-weekdays span { text-align: center; font-size: 12px; font-weight: 500; color: #0e45dd; }
.cal-grid { row-gap: 7px; }
.cal-day {
  justify-self: center;
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--c, transparent);
  font-size: 15px; font-weight: 700; color: #000;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.3s, box-shadow 0.15s;
}
.cal-day:hover:not(:disabled) { transform: scale(1.1); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12); }
.cal-day.is-today { box-shadow: 0 0 0 2.5px #1a80ff; }
.cal-day.is-today:not([class*="mood-"]) { background: rgba(26, 128, 255, 0.14); }
.cal-day.is-future { color: #c7c7cc; cursor: default; }
.cal-day.is-selected { box-shadow: 0 0 0 2.5px #000; }
.cal-day.just-set { animation: pop 0.45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }

/* Feuille « Comment était ta journée ? » (navigation poussée) */
.sheet {
  position: absolute; inset: 46px 0 0; z-index: 3;
  display: flex; flex-direction: column;
  background: #fff;
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0.35s;
}
.sheet.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.sheet-note { margin: 14px 22px 0; font-size: 11.5px; color: var(--ios-label2); text-align: center; }
.sheet .act-grid { padding: 0 12px; }
.sheet .act-grid button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8.5px; color: var(--ios-label2); background: none; border: 0; padding: 0; cursor: pointer; }
.sheet .act-grid button b { transition: transform 0.2s, background-color 0.2s; }
.sheet .act-grid button.is-selected b { background: rgba(255, 204, 0, 0.85); box-shadow: inset 0 0 0 2px #ffcc00; transform: scale(1.06); }
.ios-action { cursor: pointer; }
.sheet-saved {
  position: absolute; left: 50%; top: 45%;
  transform: translate(-50%, -50%) scale(0.8); opacity: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 30px; border-radius: 20px;
  background: rgba(242, 242, 247, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-weight: 600; pointer-events: none;
  transition: opacity 0.2s, transform 0.25s;
}
.sheet-saved .check {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ios-green); color: #fff; font-size: 26px; font-weight: 800;
}
.sheet.is-saved .sheet-saved { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.daily-title { margin: 14px 0 12px; text-align: center; font-size: 18px; font-weight: 700; }
.daily-sub { margin: 14px 0 10px; text-align: center; font-size: 14px; font-weight: 600; }
.mood-picker { display: flex; justify-content: center; gap: 4px; padding: 0 6px; }
.mood-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  width: 52px;
}
.mood-emoji {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  font-size: 30px; line-height: 1;
  transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1), background-color 0.2s;
}
.mood-label { font-size: 10.5px; color: var(--ios-label2); }
.mood-btn:hover .mood-emoji { transform: scale(1.08); }
.mood-btn.is-selected .mood-emoji {
  background: color-mix(in srgb, var(--c) 35%, transparent);
  box-shadow: inset 0 0 0 3px var(--c);
  transform: scale(1.12);
}
.mood-btn.is-selected .mood-label { color: color-mix(in srgb, var(--c) 45%, #000); font-weight: 600; }
.mood-picker--static .mood-btn { cursor: default; }
.mood-picker--static .mood-btn:hover .mood-emoji { transform: none; }
.mood-picker--static .mood-btn.is-selected .mood-emoji { transform: scale(1.12); }

.act-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 4px; }
.act-grid > span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 8.5px; color: var(--ios-label2); }
.act-grid b {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--ios-bg); font-size: 22px; font-weight: 400;
}
.act-grid .is-selected b { background: rgba(255, 204, 0, 0.85); box-shadow: inset 0 0 0 2px #ffcc00; transform: scale(1.06); }
.daily-note {
  margin: 16px 0 0; padding: 11px 12px; border-radius: 14px;
  background: var(--ios-bg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  font-size: 13.5px;
}

/* Statistiques */
.phone-screen:has(.segmented) .screen-body { background: var(--ios-bg); padding-top: 4px; }
.phone-screen:has(.segmented) .ios-navbar--large { background: var(--ios-bg); }
.segmented { display: flex; padding: 2px; border-radius: 9px; background: #e3e3e8; margin-bottom: 10px; }
.segmented span { flex: 1; text-align: center; padding: 4px 0; font-size: 10.5px; font-weight: 500; border-radius: 7px; }
.segmented .is-active { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); font-weight: 600; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.summary div {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 2px; border-radius: 14px; background: #fff; text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.summary i { font-style: normal; color: var(--ios-blue-text); font-size: 14px; line-height: 1; }
.summary b { font-size: 15px; white-space: nowrap; }
.summary small { font-size: 9px; color: var(--ios-label2); line-height: 1.15; }
.card { margin-top: 9px; padding: 11px 12px; border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.card-title { margin: 0; font-weight: 700; font-size: 13.5px; }
.card-sub { margin: 0 0 8px; font-size: 9.5px; color: var(--ios-label2); }
.chart-bars { display: flex; align-items: flex-end; gap: 2px; height: 86px; border-bottom: 1px solid #e5e5ea; }
.chart-bars .bar {
  flex: 1; max-width: 14px;
  height: calc(var(--v) * 20%);
  background: var(--c); border-radius: 3px 3px 0 0;
  transition: height 0.4s, background-color 0.3s;
}
.hbars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.hbars li { display: grid; grid-template-columns: 74px 1fr 18px; align-items: center; gap: 6px; font-size: 11px; }
.hbars b { height: 12px; width: calc(var(--n) / 18 * 100%); border-radius: 4px; background: linear-gradient(90deg, #5ac8fa, var(--ios-blue)); }
.hbars small { color: var(--ios-label2); text-align: right; }

/* Suivi des activités */
.heatmap { padding-top: 2px; }
.hm-weekdays, .hm-grid { display: grid; grid-template-columns: repeat(7, 26px); justify-content: space-between; gap: 4px; }
.hm-weekdays span { text-align: center; font-size: 9.5px; color: var(--ios-label2); }
.hm-row p { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; font-weight: 700; font-size: 13.5px; }
.hm-row small { font-weight: 400; font-size: 11px; color: var(--ios-label2); }
.hm-grid i { aspect-ratio: 1; border-radius: 4px; background: #e5e5ea; box-shadow: inset 0 0 0 0.5px #d1d1d6; }
.hm-grid i.on { background: var(--ios-green); }
.hm-grid i.off { background: rgba(242, 242, 247, 0.5); }
.hm-grid i.today { box-shadow: inset 0 0 0 2px var(--ios-blue); }

/* Écran verrouillé + notification */
.lockscreen {
  width: 330px; aspect-ratio: 330 / 400; padding: 30px 16px;
  border-radius: 38px;
  background:
    radial-gradient(70% 55% at 25% 15%, rgba(62, 242, 255, 0.75), transparent 70%),
    radial-gradient(60% 50% at 85% 55%, rgba(247, 233, 74, 0.6), transparent 70%),
    radial-gradient(70% 60% at 40% 100%, rgba(255, 51, 85, 0.75), transparent 70%),
    #13284a;
  box-shadow: var(--shadow);
  color: #fff; text-align: center;
}
.ls-date { margin: 0; font-size: 16px; font-weight: 600; opacity: 0.9; }
.ls-time { margin: 0; font-size: 76px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.notif {
  margin-top: 58px; display: flex; gap: 10px; align-items: center; text-align: left;
  padding: 12px; border-radius: 22px;
  background: rgba(245, 245, 250, 0.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: #000; font-size: 13.5px; line-height: 1.3;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.notif img { border-radius: 9px; flex: none; }
.notif p { margin: 0; }
.notif-head { display: flex; justify-content: space-between; gap: 8px; }
.notif-head small { color: #6c6c70; font-size: 12px; }

/* ---------- Étapes + échelle des humeurs ---------- */

.steps-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-list li { padding: 30px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.steps-list h3 { font-size: 1.3rem; margin-top: 18px; }
.steps-list p { margin: 0; color: var(--muted); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #08121f; font-weight: 800; font-size: 1.15rem;
}
@media (max-width: 860px) { .steps-list { grid-template-columns: 1fr; } }

.mood-scale { list-style: none; padding: 0; margin: 56px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.mood-scale li {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 18px 8px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--c) 70%, transparent);
  font-weight: 600;
}
.mood-scale span { font-size: 1.6rem; line-height: 1; }

/* ---------- Fonctionnalités ---------- */

.features { background: var(--bg-alt); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 110px; }
.feature:first-of-type { margin-top: 64px; }
.feature--flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.feature-copy p { color: var(--muted); font-size: 1.08rem; }
.feature-visual { display: flex; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); color: #08121f; font-size: 0.75rem; font-weight: 900;
}
.live-note { font-size: 0.95rem !important; padding: 10px 14px; border-radius: 12px; background: var(--card); border: 1px dashed var(--border); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 40px; margin-top: 88px; text-align: center; }
  .feature--flip .feature-copy { order: 0; }
  .ticks { justify-content: center; text-align: left; }
}

/* ---------- Vie privée ---------- */

.privacy-band { background: var(--bg); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.privacy-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.privacy-points li { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.privacy-points li > span { font-size: 1.6rem; line-height: 1.2; }
.privacy-points h3 { font-size: 1.08rem; margin-bottom: 4px; }
.privacy-points p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }
.link-arrow::after { content: " →"; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Plateformes ---------- */

.platforms { background: var(--bg-alt); }
.platform-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform-list li {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 26px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border);
}
.platform-list span { font-size: 2rem; }
.platform-list small { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 860px) { .platform-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Feuille de route ---------- */

.roadmap-inner { max-width: 640px; }
.roadmap-list { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 12px; }
.roadmap-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.roadmap-list li > span {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  font-weight: 800;
}
.roadmap-list .is-done > span { background: var(--ios-green); color: #fff; }
.roadmap-list .is-next > span { border: 2px dashed var(--muted); color: var(--muted); }
.roadmap-list b { display: block; }
.roadmap-list small { color: var(--muted); }
.roadmap-cta { text-align: center; margin-top: 28px; color: var(--muted); }
.roadmap-cta a { color: var(--text); font-weight: 600; }

/* ---------- Appel final ---------- */

.final-cta {
  --text: #eef3fa; --muted: #a9b9cf; --grad-text: var(--grad);
  color: var(--text);
  background:
    radial-gradient(45% 70% at 50% 100%, rgba(255, 154, 46, 0.22), transparent 70%),
    radial-gradient(40% 60% at 50% 0%, rgba(62, 242, 255, 0.14), transparent 70%),
    var(--navy-950);
  text-align: center;
}
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-icon { border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(62, 242, 255, 0.35); margin-bottom: 26px; }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 12px 0 18px; }
.footer-brand .store-badge img { height: 44px; }
.footer-title { font-weight: 700; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--text); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
.footer-bottom p { margin: 0 0 4px; }
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Pages de texte (support, confidentialité, mentions) ---------- */

.doc-hero { max-width: 760px; padding-top: 72px; padding-bottom: 24px; }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 850; }
.doc-hero .lead { max-width: 680px; }
.doc { max-width: 760px; padding-bottom: 96px; }
.doc h2 { font-size: 1.5rem; margin-top: 2.2em; }
.doc h3 { font-size: 1.15rem; margin-top: 1.6em; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.4em; }
.doc a { color: var(--text); text-decoration-color: color-mix(in srgb, var(--text) 40%, transparent); text-underline-offset: 3px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; }
.callout {
  display: flex; gap: 14px; padding: 18px 20px; margin: 28px 0;
  border-radius: 16px; background: var(--card); border: 1px solid var(--border);
}
.callout > span { font-size: 1.5rem; line-height: 1.3; }
.callout p { margin: 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.data-table th { font-weight: 700; }
@media (max-width: 600px) { .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table th { display: block; } .data-table thead { display: none; } .data-table td:first-child { font-weight: 700; border-bottom: 0; padding-bottom: 0; } }

.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 6px; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin: 36px 0; padding: 26px 28px; border-radius: var(--radius);
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
}
.contact-card h2 { margin: 0 0 4px; font-size: 1.3rem; }
.contact-card p { margin: 0; color: var(--muted); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--grad); color: #08121f !important; font-weight: 700; text-decoration: none !important;
}

.notfound { text-align: center; padding-top: 120px; padding-bottom: 120px; }
.notfound .big { font-size: 5rem; line-height: 1; margin-bottom: 20px; }

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
