/* ClipVault : site de présentation. Thème sombre par défaut, thème clair au choix (bouton) ou selon le système. */

:root {
  --bg: #0b0911;
  --bg-2: #110e1a;
  --surface: #17131f;
  --surface-2: #1e1829;
  --line: #2a2338;
  --line-strong: #3a3050;
  --fg: #f2eff8;
  --fg-muted: #c3bcd4;
  --fg-subtle: #8f87a3;
  --accent: #8b6cff;
  --accent-strong: #a891ff;
  --accent-soft: rgba(139, 108, 255, 0.14);
  --aqua: #3dd6c4;
  --aqua-soft: rgba(61, 214, 196, 0.12);
  --amber: #ffb454;
  --amber-soft: rgba(255, 180, 84, 0.12);
  --rose: #ff6b8a;
  --green: #4ade80;
  --green-soft: rgba(74, 222, 128, 0.12);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --max: 1180px;
  --font-display: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f7f5fc;
    --bg-2: #efecf8;
    --surface: #ffffff;
    --surface-2: #f3f0fb;
    --line: #e2ddf0;
    --line-strong: #cfc7e6;
    --fg: #16121f;
    --fg-muted: #4b4560;
    --fg-subtle: #6e6884;
    --accent: #6a4be8;
    --accent-strong: #5636d6;
    --accent-soft: rgba(106, 75, 232, 0.1);
    --aqua: #0f9e8d;
    --aqua-soft: rgba(15, 158, 141, 0.1);
    --amber: #b8650a;
    --amber-soft: rgba(184, 101, 10, 0.1);
    --green: #16884a;
    --green-soft: rgba(22, 136, 74, 0.1);
    --shadow: 0 30px 70px -35px rgba(40, 20, 90, 0.35);
    color-scheme: light;
  }
}
:root[data-theme='light'] {
  --bg: #f7f5fc;
  --bg-2: #efecf8;
  --surface: #ffffff;
  --surface-2: #f3f0fb;
  --line: #e2ddf0;
  --line-strong: #cfc7e6;
  --fg: #16121f;
  --fg-muted: #4b4560;
  --fg-subtle: #6e6884;
  --accent: #6a4be8;
  --accent-strong: #5636d6;
  --accent-soft: rgba(106, 75, 232, 0.1);
  --aqua: #0f9e8d;
  --aqua-soft: rgba(15, 158, 141, 0.1);
  --amber: #b8650a;
  --amber-soft: rgba(184, 101, 10, 0.1);
  --green: #16884a;
  --green-soft: rgba(22, 136, 74, 0.1);
  --shadow: 0 30px 70px -35px rgba(40, 20, 90, 0.35);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(38px, 5vw, 64px);
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
}
h3 {
  font-size: 22px;
}
p {
  margin: 0 0 1em;
}
kbd {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.82em;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  background: var(--surface-2);
  color: var(--fg);
  white-space: nowrap;
}
code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.wrap {
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}

/* ─── En-tête ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--fg-muted);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--fg);
  background: var(--surface-2);
  text-decoration: none;
}
.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg-muted);
  cursor: pointer;
}
.icon-btn:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.menu-btn {
  display: none;
}
@media (max-width: 960px) {
  .menu-btn {
    display: grid;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 14px;
    font-size: 17px;
  }
  .nav-actions {
    margin-left: auto;
  }
  .nav .btn-download {
    display: none;
  }
}

/* ─── Boutons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6f4df0);
  color: #fff;
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 11px;
}

/* ─── Pastilles ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill-ok {
  background: var(--green-soft);
  color: var(--green);
  border-color: color-mix(in srgb, var(--green) 30%, transparent);
}
.pill-wait {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: color-mix(in srgb, var(--amber) 30%, transparent);
}
.pill-soon {
  background: var(--aqua-soft);
  color: var(--aqua);
  border-color: color-mix(in srgb, var(--aqua) 30%, transparent);
}
.pill-premium {
  background: rgba(255, 197, 61, 0.12);
  color: #e0a92a;
  border-color: rgba(255, 197, 61, 0.3);
}
.pill-plain {
  background: var(--surface-2);
  color: var(--fg-muted);
  border-color: var(--line);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--fg-muted);
  max-width: 760px;
}
.muted {
  color: var(--fg-muted);
}
.subtle {
  color: var(--fg-subtle);
  font-size: 15px;
}

/* ─── Sections ─── */
section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 780px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .lead {
  margin-inline: auto;
}

/* ─── Héros ─── */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent-strong), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}
.hero-shot {
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--fg-subtle);
  font-size: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.trust li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: 700;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Chiffres ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--fg);
}
.stat span {
  color: var(--fg-muted);
  font-size: 15px;
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ─── Cartes ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .cards,
  .cards.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .cards,
  .cards.two,
  .cards.four {
    grid-template-columns: 1fr;
  }
}
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.card {
  color: inherit;
  display: block;
}
a.card:hover {
  text-decoration: none;
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.card h3 {
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .card {
    padding: 20px;
  }
  section {
    padding: 64px 0;
  }
}
.card p {
  color: var(--fg-muted);
  margin: 0;
  font-size: 16px;
}
.card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 18px;
  font-size: 22px;
}
.card .pill {
  margin-bottom: 14px;
}
.card.wait {
  border-color: color-mix(in srgb, var(--amber) 35%, var(--line));
}
.card.soon {
  border-color: color-mix(in srgb, var(--aqua) 30%, var(--line));
}

/* ─── Fonction avec capture ─── */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}
.feature.flip .feature-text {
  order: 2;
}
.feature-text h3 {
  font-size: clamp(24px, 3vw, 32px);
}
.feature-text p {
  color: var(--fg-muted);
}
.shot {
  position: relative;
  margin: 0;
}
.shot img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: var(--surface);
}
.shot figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--fg-subtle);
  text-align: center;
}
@media (max-width: 960px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature.flip .feature-text {
    order: 0;
  }
}

/* ─── Listes à coches ─── */
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--fg-muted);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  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='%23a891ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks li b {
  color: var(--fg);
}
.checks.wait li::before {
  background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb454' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks.soon li::before {
  background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233dd6c4' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v7l4 3'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ─── Page Fonctionnalités : sommaire + catégories ─── */
.page-hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -200px;
  top: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
  pointer-events: none;
}
.layout-doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 96px;
}
.toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
}
.toc p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 10px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.toc a {
  display: block;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--fg-muted);
  font-size: 15px;
  border-left: 2px solid transparent;
}
.toc a:hover {
  text-decoration: none;
  color: var(--fg);
  background: var(--surface);
}
.toc a.active {
  color: var(--fg);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}
.search {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  margin-bottom: 16px;
}
.search:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
@media (max-width: 960px) {
  .layout-doc {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    max-height: none;
  }
  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .toc a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 14px;
  }
}
.cat {
  padding: 8px 0 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.cat:last-child {
  border-bottom: 0;
}
.cat-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.cat-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 38px);
}
.cat > .lead {
  margin-bottom: 28px;
}
.opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}
@media (max-width: 760px) {
  .opts {
    grid-template-columns: 1fr;
  }
}
.opt {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.opt h4 {
  font-size: 17px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.opt p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-muted);
}
.opt[hidden] {
  display: none;
}
.no-result {
  display: none;
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  text-align: center;
  color: var(--fg-muted);
}

/* ─── Tableaux ─── */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
}
tr:last-child td {
  border-bottom: 0;
}
td {
  color: var(--fg-muted);
}
td b {
  color: var(--fg);
}

/* ─── Encadrés ─── */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin: 24px 0;
}
.callout .ico {
  flex: none;
  font-size: 22px;
  line-height: 1.3;
}
.callout p:last-child {
  margin: 0;
}
.callout.wait {
  border-color: color-mix(in srgb, var(--amber) 40%, var(--line));
  background: color-mix(in srgb, var(--amber) 7%, var(--surface));
}
.callout.info {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.callout.ok {
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
  background: color-mix(in srgb, var(--green) 6%, var(--surface));
}

/* ─── Feuille de route ─── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--green), var(--amber), var(--aqua), var(--line-strong));
  border-radius: 2px;
}
.step {
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--line-strong);
}
.step.done::before {
  border-color: var(--green);
}
.step.wait::before {
  border-color: var(--amber);
}
.step.soon::before {
  border-color: var(--aqua);
}

/* ─── FAQ ─── */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 0 22px;
}
.faq details[open] {
  border-color: var(--line-strong);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 32px 20px 0;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 26px;
  color: var(--accent-strong);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding-bottom: 20px;
  color: var(--fg-muted);
}
.faq details > div p:last-child {
  margin: 0;
}

/* ─── Galerie ─── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  width: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.gallery img:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.gallery figcaption {
  font-size: 14px;
  color: var(--fg-subtle);
  margin-top: 8px;
}
@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ─── Visionneuse ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(5, 4, 10, 0.88);
  backdrop-filter: blur(6px);
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-width: min(1440px, 100%);
  max-height: calc(100vh - 110px);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.lightbox p {
  color: #e6e1f2;
  text-align: center;
  margin: 14px 0 0;
  font-size: 15px;
}
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ─── Bandeau d'appel ─── */
.cta {
  border-radius: 28px;
  padding: 56px;
  background: radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), var(--surface);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta h2 {
  margin: 0 0 8px;
}
.cta p {
  margin: 0;
  color: var(--fg-muted);
}
@media (max-width: 640px) {
  .cta {
    padding: 32px 24px;
  }
}

/* ─── Pied de page ─── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg-2);
  color: var(--fg-subtle);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-grid h4 {
  color: var(--fg);
  font-size: 15px;
  margin-bottom: 12px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  color: var(--fg-muted);
}
.legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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