/* Yana — tokens repris de Theme.swift (app iOS) */
:root {
  --bg-top: #EEE8F8;
  --bg-mid: #F5F0FA;
  --bg-bottom: #F1EAF6;

  --accent: #7D5670;
  --accent-soft: rgba(125, 86, 112, 0.12);
  --brand: #43215C;

  --text: #1E1B22;
  --text-2: #6B6570;
  --text-3: #4D4652;
  --text-muted: #8D7F97;
  --text-fine: #9A939F;

  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --surface-soft: rgba(255, 255, 255, 0.62);
  --border: rgba(30, 27, 34, 0.08);
  --track: rgba(30, 27, 34, 0.10);
  --ink: #1E1B22;

  --dawn: #C98A86;
  --dawn-soft: rgba(201, 138, 134, 0.14);
  --dusk: #5B4A8A;
  --dusk-soft: rgba(91, 74, 138, 0.13);
  --pearl: #B89BC8;
  --rationale: #5D3D52;
  --shadow-ink: 48, 32, 60;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(var(--shadow-ink), 0.04), 0 12px 32px rgba(var(--shadow-ink), 0.08);
  --shadow-lg: 0 2px 6px rgba(var(--shadow-ink), 0.05), 0 30px 70px rgba(var(--shadow-ink), 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.6;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  background-color: var(--bg-mid);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.serif { font-family: var(--serif); font-weight: 400; }
em, .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.12; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 250, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text);
}
.logo img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(var(--shadow-ink), 0.12); }

.nav { display: flex; gap: 30px; }
.nav a { font-size: 0.92rem; color: var(--text-2); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-toggle:hover { background: var(--surface-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(var(--shadow-ink), 0.22); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(125, 86, 112, 0.3); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-sm { padding: 9px 16px; font-size: 0.84rem; }

/* App Store badge (désactivé tant que l'URL n'est pas posée dans script.js) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 10px 20px 10px 16px;
  box-shadow: 0 10px 28px rgba(var(--shadow-ink), 0.22);
  transition: transform 0.2s;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-small { display: block; font-size: 0.68rem; opacity: 0.75; line-height: 1.2; }
.store-badge .sb-big { display: block; font-size: 1.12rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
a.store-badge:hover { transform: translateY(-1px); }
.store-badge[aria-disabled="true"] { cursor: default; }

.cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--text-2);
}
.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(125, 86, 112, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 86, 112, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(125, 86, 112, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 86, 112, 0); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 90px; }

.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto 0;
  height: 760px;
  background:
    radial-gradient(40% 50% at 78% 40%, rgba(184, 155, 200, 0.45), transparent 70%),
    radial-gradient(35% 40% at 15% 20%, rgba(201, 138, 134, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--accent); }

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-3);
  max-width: 520px;
  margin-bottom: 30px;
}

.rotator {
  display: inline-block;
  position: relative;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18em;
  white-space: nowrap;
  transition: opacity 0.35s, transform 0.35s;
}
.rotator.out { opacity: 0; transform: translateY(6px); }


/* Visuel : bulles + téléphone */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}


.goal-chip {
  position: absolute;
  z-index: 3;
  background: var(--surface-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  max-width: 196px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--text);
  animation: drift 7s ease-in-out infinite;
}
.goal-chip small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.goal-chip.c1 { top: 4px; left: -24px; }
.goal-chip.c2 { top: 268px; right: -44px; animation-delay: -2.5s; }
.goal-chip.c3 { bottom: 0; left: -34px; animation-delay: -5s; }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Téléphone (maquette de l'accueil) ---------- */
.phone {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 620px;
  border-radius: 48px;
  padding: 11px;
  background: #1b1820;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a3540;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-mid) 50%, var(--bg-bottom));
  padding: 14px 15px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}
.phone-island {
  position: absolute;
  top: 10px; left: 50%;
  width: 88px; height: 25px;
  transform: translateX(-50%);
  background: #0c0b0e;
  border-radius: 20px;
}
.ps-status {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 11px;
  padding: 2px 12px 0;
  height: 22px;
}
.ps-status .icons { display: flex; gap: 4px; align-items: center; }
.ps-status .icons i { display: block; width: 14px; height: 8px; border-radius: 2px; background: var(--text); opacity: 0.85; }
.ps-status .icons i:first-child { width: 10px; }

.ps-top { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.ps-top .ps-logo { font-family: var(--serif); font-style: italic; font-size: 20px; }
.ps-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-strong); border: 1px solid var(--border); }

.ps-hello { font-family: var(--serif); font-size: 24px; line-height: 1.1; margin-top: 4px; }
.ps-day { display: flex; align-items: baseline; gap: 4px; color: var(--text-2); }
.ps-day b { font-family: var(--serif); font-weight: 400; font-size: 15px; color: var(--text); }

.ps-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ps-track span { height: 4px; border-radius: 4px; background: var(--track); overflow: hidden; position: relative; }
.ps-track span.on::after { content: ""; position: absolute; inset: 0; width: 55%; background: var(--accent); border-radius: 4px; }
.ps-phase { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.ps-phase b { color: var(--accent); font-weight: 600; }

.ps-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 11px 13px;
  box-shadow: 0 4px 14px rgba(var(--shadow-ink), 0.06);
}
.ps-session { display: flex; align-items: center; gap: 11px; }
.ps-session .sun {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.ps-session.morning .sun { background: var(--dawn-soft); color: var(--dawn); }
.ps-session.evening .sun { background: var(--dusk-soft); color: var(--dusk); }
.ps-session .sun svg { width: 18px; height: 18px; }
.ps-session .txt { flex: 1; line-height: 1.3; }
.ps-session .txt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 14.5px; }
.ps-session .txt small { color: var(--text-2); font-size: 10px; }
.ps-go { background: var(--ink); color: #fff; font-weight: 600; font-size: 10px; padding: 7px 11px; border-radius: 999px; }
.ps-session.evening { opacity: 0.78; }
.ps-lock { color: var(--text-muted); font-size: 10px; font-weight: 600; }

.ps-mission .lbl, .ps-finish .lbl {
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); margin-bottom: 4px;
}
.ps-mission p { font-family: var(--serif); font-size: 13px; line-height: 1.3; }
.ps-finish { background: var(--accent); color: #fff; }
.ps-finish .lbl { color: rgba(245, 240, 250, 0.78); }
.ps-finish p { font-family: var(--serif); font-style: italic; font-size: 13px; line-height: 1.3; }

.ps-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 9px;
}
.ps-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ps-tabs span.on { color: var(--accent); font-weight: 600; }
.ps-tabs i { display: block; width: 16px; height: 16px; border-radius: 5px; border: 1.6px solid currentColor; }

/* ---------- Bandeau domaines ---------- */
.domains {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.35);
}
.domains-inner { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 18px; }
.domain-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(var(--shadow-ink), 0.05);
  font-family: var(--serif);
  font-size: 1.4rem;
  white-space: nowrap;
}
.domain-pill span { font-size: 1.2rem; }
.domain-pill span + span { font-size: inherit; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 16px; }
.section-head h2 em { color: var(--accent); }
.section-head p { color: var(--text-2); font-size: 1.05rem; }

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 32px 28px; position: relative; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--pearl);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 0.96rem; }
.step .quote {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-family: var(--serif);
  font-style: italic;
  color: var(--rationale);
  font-size: 0.98rem;
}

/* Rituel */
.ritual { background: rgba(255, 255, 255, 0.32); }
.ritual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.slot { padding: 36px 34px; position: relative; overflow: hidden; }
.slot::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  filter: blur(10px);
}
.slot.morning::before { background: radial-gradient(circle, rgba(201, 138, 134, 0.32), transparent 70%); }
.slot.evening::before { background: radial-gradient(circle, rgba(91, 74, 138, 0.26), transparent 70%); }
.slot-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; }
.slot-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.slot-icon svg { width: 24px; height: 24px; }
.slot.morning .slot-icon { background: var(--dawn-soft); color: var(--dawn); }
.slot.evening .slot-icon { background: var(--dusk-soft); color: var(--dusk); }
.slot-when { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.slot.morning .slot-when { color: var(--dawn); }
.slot.evening .slot-when { color: var(--dusk); }
.slot h3 { font-size: 1.9rem; font-style: italic; position: relative; }
.slot > p { color: var(--text-2); margin: 10px 0 22px; position: relative; }

.flow { list-style: none; display: flex; flex-direction: column; gap: 8px; position: relative; }
.flow li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--surface-strong);
  font-size: 0.95rem;
}
.flow li b {
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.72rem;
}
.slot.morning .flow b { background: var(--dawn-soft); color: var(--dawn); }
.slot.evening .flow b { background: var(--dusk-soft); color: var(--dusk); }
.flow li.hl { outline: 1.5px solid var(--dawn); outline-offset: -1.5px; }
.flow li .tag { margin-left: auto; font-size: 0.7rem; font-weight: 600; color: var(--dawn); text-transform: uppercase; letter-spacing: 0.08em; }

.ritual-note { text-align: center; margin-top: 30px; color: var(--text-2); font-size: 0.95rem; }
.ritual-note em { color: var(--accent); font-size: 1.08em; }

/* Parcours */
.journey-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.journey-wrap .section-head { text-align: left; margin: 0; }
.lengths { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.lengths span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
}
.lengths span.rec { background: var(--accent); color: #fff; border-color: var(--accent); }
.lengths-note { margin-top: 12px; font-size: 0.86rem; color: var(--text-muted); }

.phases { display: flex; flex-direction: column; gap: 14px; position: relative; }
.phase { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; padding: 20px 22px; }
.phase-badge {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem;
  color: var(--accent);
  background: radial-gradient(circle at 35% 30%, #fff, rgba(184, 155, 200, 0.45));
  box-shadow: inset 0 0 0 1px rgba(125, 86, 112, 0.15);
}
.phase h3 { font-size: 1.4rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.phase h3 small { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.phase p { color: var(--text-2); font-size: 0.95rem; }

.pause-note {
  margin-top: 18px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--rationale);
  font-size: 0.95rem;
}
.pause-note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }

/* Fonctionnalités */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px 26px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.32rem; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 0.94rem; }

/* Principes */
.principles { background: var(--brand); color: #F5F0FA; position: relative; overflow: hidden; }
.principles::after {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 155, 200, 0.35), transparent 70%);
}
.principles .section-head p { color: rgba(245, 240, 250, 0.75); }
.principles .section-head h2 em { color: #E6CFE0; }
.principles .eyebrow { color: rgba(245, 240, 250, 0.6); }
.not-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.not-item {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.not-item .x { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: rgba(245, 240, 250, 0.8); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(230, 207, 224, 0.75); margin-bottom: 10px; }
.not-item p { font-size: 0.94rem; color: rgba(245, 240, 250, 0.88); }


/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 2px 10px rgba(var(--shadow-ink), 0.04); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D5670' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 22px 20px; color: var(--text-2); font-size: 0.97rem; }
.faq-item .answer p + p { margin-top: 10px; }
.faq-item .answer a { color: var(--accent); border-bottom: 1px solid rgba(125, 86, 112, 0.3); }
.faq-more { text-align: center; margin-top: 28px; color: var(--text-2); }
.faq-more a { color: var(--accent); font-weight: 600; }

/* CTA final */
.final-cta { padding: 40px 0 110px; }
.final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 30px;
  padding: 48px 56px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.75) 40%, rgba(184, 155, 200, 0.35) 100%);
  box-shadow: var(--shadow-lg);
}
.final-card h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.final-card h2 em { color: var(--accent); }
.final-card p { color: var(--text-2); margin-bottom: 28px; max-width: 460px; }
.final-card picture { display: block; width: 100%; max-width: 240px; justify-self: center; }
.final-card img { width: 100%; animation: float-y 8s ease-in-out infinite; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; background: rgba(255, 255, 255, 0.3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--text-2); font-size: 0.9rem; margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; font-size: 0.92rem; color: var(--text-3); padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--text-fine); }

/* ---------- Barre CTA mobile ---------- */
.mobile-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta img { width: 40px; height: 40px; border-radius: 10px; }
.mobile-cta .txt { flex: 1; line-height: 1.25; }
.mobile-cta .txt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }
.mobile-cta .txt small { font-size: 0.74rem; color: var(--text-2); }

/* ---------- Page Support ---------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin-bottom: 14px; }
.page-hero h1 em { color: var(--accent); }
.page-hero p { color: var(--text-2); font-size: 1.08rem; max-width: 560px; margin: 0 auto; }

.contact-card {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 28px 30px;
}
.contact-card .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.contact-card .ic svg { width: 26px; height: 26px; }
.contact-card .txt { flex: 1; min-width: 220px; }
.contact-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.contact-card p { color: var(--text-2); font-size: 0.94rem; }
.contact-card .mail { color: var(--accent); font-weight: 600; word-break: break-all; }

.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.topic { padding: 22px 20px; display: block; transition: transform 0.2s, box-shadow 0.2s; }
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.topic .feature-icon { margin-bottom: 14px; }
.topic h3 { font-size: 1.2rem; margin-bottom: 4px; }
.topic p { font-size: 0.86rem; color: var(--text-2); }

.support-section { padding: 60px 0 10px; }
.support-section h2 { font-size: 1.9rem; text-align: center; margin-bottom: 26px; }

.steps-inline { counter-reset: s; list-style: none; margin-top: 8px; }
.steps-inline li { counter-increment: s; position: relative; padding-left: 30px; margin-top: 8px; }
.steps-inline li::before {
  content: counter(s);
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center;
}
.kbd { font-weight: 600; color: var(--text-3); }


/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound img { width: 220px; margin: 0 auto 24px; opacity: 0.9; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.notfound p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { text-align: left; }
  .hero-cta { display: flex; flex-direction: column; align-items: center; }
  .goal-chip.c1 { left: 4%; }
  .goal-chip.c2 { right: 2%; }
  .goal-chip.c3 { left: 6%; }
  .journey-wrap { grid-template-columns: 1fr; gap: 36px; }
  .journey-wrap .section-head { text-align: center; }
  .lengths { justify-content: center; }
  .not-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .domains-inner { gap: 12px; }
  .domain-pill { padding: 11px 16px; font-size: 1.05rem; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .header-actions .btn { display: none; }
  section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 60px; }
  .hero-visual { min-height: 580px; }
  .goal-chip { max-width: 170px; font-size: 0.86rem; padding: 8px 11px; }
  .goal-chip.c1 { top: 40px; left: 0; }
  .goal-chip.c2 { display: none; }
  .goal-chip.c3 { bottom: 20px; left: 0; }
  .phone { width: 270px; height: 550px; border-radius: 44px; }
  .phone-screen { border-radius: 34px; }
  .steps, .ritual-grid, .features-grid, .not-grid { grid-template-columns: 1fr; }
  .slot { padding: 28px 22px; }
  .final-card { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
  .final-card p { margin-left: auto; margin-right: auto; }
  .final-card picture { max-width: 160px; grid-row: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-cta { display: flex; }
  .domains-inner { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 10px; }
  .domain-pill { justify-content: center; padding: 11px 18px; font-size: 1.08rem; }
  body.has-mobile-cta { padding-bottom: 84px; }
  .topics { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 420px) {
  .topics { grid-template-columns: 1fr; }
  .phone { width: 252px; height: 516px; }
}
