/* Slaypad — site vitrine. Polices du système (SF Pro sur Apple, Segoe UI sur Windows) : aucune requête externe. */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --card: #ffffff;
  --card-border: rgba(0, 0, 0, 0.07);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -18px rgba(30, 20, 80, 0.18);
  --screen-bg: linear-gradient(160deg, #ecebf6, #e4e6f3);
  --header-bg: rgba(251, 251, 253, 0.74);
  --divider: rgba(0, 0, 0, 0.08);
  --glow-a: rgba(168, 85, 247, 0.22);
  --glow-b: rgba(79, 124, 255, 0.2);
  --check: #7c5cff;
  --grad: linear-gradient(95deg, #a855f7 0%, #7c5cff 45%, #4f7cff 100%);
  --btn-ghost: rgba(0, 0, 0, 0.05);
  --btn-ghost-hover: rgba(0, 0, 0, 0.09);
  --radius: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* Thème sombre : choisi dans la page, ou celui du système tant qu'aucun choix n'est fait. */
:root[data-theme="dark"] {
  --bg: #000;
  --bg-alt: #0a0a0f;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #86868b;
  --card: #111116;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --screen-bg: radial-gradient(120% 90% at 50% 0%, #1d1a35 0%, #0d0d14 70%);
  --header-bg: rgba(0, 0, 0, 0.66);
  --divider: rgba(255, 255, 255, 0.1);
  --glow-a: rgba(168, 85, 247, 0.32);
  --glow-b: rgba(79, 124, 255, 0.28);
  --check: #a78bfa;
  --btn-ghost: rgba(255, 255, 255, 0.08);
  --btn-ghost-hover: rgba(255, 255, 255, 0.14);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #000;
    --bg-alt: #0a0a0f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --card: #111116;
    --card-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
    --screen-bg: radial-gradient(120% 90% at 50% 0%, #1d1a35 0%, #0d0d14 70%);
    --header-bg: rgba(0, 0, 0, 0.66);
    --divider: rgba(255, 255, 255, 0.1);
    --glow-a: rgba(168, 85, 247, 0.32);
    --glow-b: rgba(79, 124, 255, 0.28);
    --check: #a78bfa;
    --btn-ghost: rgba(255, 255, 255, 0.08);
    --btn-ghost-hover: rgba(255, 255, 255, 0.14);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  margin: 0;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sprite {
  position: absolute;
}

img {
  display: block;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, 100% - 48px);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 12px;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid #7c5cff;
  outline-offset: 3px;
  border-radius: 8px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: -0.005em;
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.lead.center {
  text-align: center;
  max-width: 620px;
  margin: 18px auto 0;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(124, 92, 255, 0.75);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -12px rgba(124, 92, 255, 0.9);
}

.btn-primary[aria-disabled="true"] {
  background: var(--btn-ghost);
  color: var(--muted);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.btn-ghost {
  background: var(--btn-ghost);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--btn-ghost-hover);
}

.btn-ghost .chev {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.btn-small {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-large {
  padding: 17px 28px;
  font-size: 17px;
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: var(--btn-ghost);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}

.icon-button:hover {
  background: var(--btn-ghost-hover);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .if-dark {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .if-dark {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .if-light {
  display: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--divider);
}

.nav {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-links + .nav-actions {
  margin-left: 12px;
}

/* ---------- Accueil ---------- */

.hero {
  position: relative;
  padding: 72px 0 104px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 45% at 72% 38%, var(--glow-a), transparent 70%),
    radial-gradient(35% 40% at 90% 62%, var(--glow-b), transparent 70%),
    radial-gradient(30% 35% at 10% 10%, rgba(124, 92, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

.hero .lead {
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checks svg,
.checklist svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
  color: var(--check);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 660px;
}

.float-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.float-badge svg {
  width: 16px;
  height: 16px;
  color: var(--check);
  stroke-width: 2.2;
}

.badge-top {
  top: 18px;
  left: -14px;
  animation: float 7s ease-in-out infinite;
}

.badge-bottom {
  bottom: 96px;
  right: -12px;
  animation: float 7s ease-in-out -3.5s infinite;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.18);
  display: inline-block;
}

/* ---------- Téléphone (écrans de l'appli, toujours en sombre comme l'appli) ---------- */

.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 300 / 620;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(145deg, #2c2c33, #0d0d10 40%, #1b1b20);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 50px 90px -30px rgba(60, 40, 160, 0.55),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  animation: float 8s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  background: #000;
  overflow: hidden;
  color: #f5f5f7;
  padding: 0 14px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  padding: 4px 16px 0;
  font-weight: 600;
  font-size: 13px;
}

.status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.status-icons i {
  display: block;
  width: 14px;
  height: 9px;
  border-radius: 2.5px;
  background: #f5f5f7;
}

.status-icons i:first-child {
  width: 15px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.status-icons i:nth-child(2) {
  width: 12px;
  border-radius: 50% 50% 2px 2px;
}

.status-icons i:last-child {
  width: 22px;
  background: linear-gradient(90deg, #f5f5f7 75%, #555 75%);
}

.island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 27px;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 0 0 1px #111;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 10px;
}

.app-head b {
  display: block;
  font-size: 14px;
}

.app-head small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
  font-size: 11px;
}

.app-head .dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.pc-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3a7bff, #7a4dff);
}

.pc-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.ctx small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
  font-weight: 600;
  font-size: 10.5px;
  margin: 0 4px 6px;
}

.ctx small svg {
  width: 9px;
  height: 9px;
  color: #0a84ff;
}

.chips {
  display: flex;
  gap: 6px;
  overflow: hidden;
  margin: 0 -14px 12px 0;
}

.chips span {
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 11px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  font-size: 11px;
}

.np {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 14px;
}

.np-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.np-top > div:first-child {
  flex: 1;
}

.np-top b {
  display: block;
  font-size: 14px;
}

.np-top small {
  color: #8e8e93;
  font-size: 11px;
}

.art {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background:
    radial-gradient(60% 60% at 30% 70%, #ff7a59 0%, transparent 70%),
    radial-gradient(70% 70% at 80% 20%, #a855f7 0%, transparent 70%),
    linear-gradient(135deg, #1e1b4b, #312e81);
  box-shadow: 0 6px 18px -6px rgba(168, 85, 247, 0.6);
}

.transport {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 14px 0 12px;
}

.transport span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
}

.transport span.big {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
}

.transport svg {
  width: 15px;
  height: 15px;
}

.transport .big svg {
  width: 19px;
  height: 19px;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-row svg {
  width: 14px;
  height: 14px;
  color: #f5f5f7;
}

.slider-row small {
  color: #8e8e93;
  font-size: 10.5px;
  min-width: 28px;
  text-align: right;
}

.track {
  position: relative;
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.13);
}

.track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: 3px;
  background: #f5f5f7;
}

.track span::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.mini-label {
  color: #8e8e93;
  font-size: 9.5px;
  letter-spacing: 0.05em;
  margin: 14px 4px 8px;
}

.mixer {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 4px 12px;
}

.mix-row {
  display: grid;
  grid-template-columns: 14px 70px 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px 4px 9px 0;
}

.mix-row + .mix-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mix-row b {
  font-weight: 500;
  font-size: 11px;
}

.app-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.c1 {
  background: linear-gradient(135deg, #4f7cff, #22d3ee);
}

.c2 {
  background: linear-gradient(135deg, #818cf8, #6366f1);
}

.c3 {
  background: linear-gradient(135deg, #34d399, #059669);
}

.c4 {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.tabbar {
  margin: auto -14px 0;
  padding: 8px 6px 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(11, 11, 13, 0.96);
}

.tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 500;
  color: #8e8e93;
  padding: 5px 0;
  border-radius: 10px;
}

.tabbar svg {
  width: 16px;
  height: 16px;
}

.tabbar .on {
  color: #0a84ff;
  background: rgba(10, 132, 255, 0.16);
}

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

.section {
  padding: 112px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  padding-bottom: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
}

.feature h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  margin: 26px 28px 8px;
}

.feature h3 svg {
  width: 22px;
  height: 22px;
  color: var(--check);
}

.feature p {
  margin: 0 28px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.feature-screen {
  height: 270px;
  background: var(--screen-bg);
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}

.mini-phone {
  width: 236px;
  margin-top: 30px;
  background: #000;
  border: 7px solid #1d1d22;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
  padding: 16px 13px 0;
  color: #f5f5f7;
  font-size: 11px;
  box-shadow: 0 30px 60px -25px rgba(40, 30, 120, 0.55);
}

.mini-title {
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  margin-bottom: 12px;
}

.pad {
  position: relative;
  height: 126px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1f1f23, #18181b);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  overflow: hidden;
}

.pad small {
  color: #5c5c61;
  font-size: 9px;
  text-align: center;
  line-height: 1.35;
}

.touch {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(124, 92, 255, 0.35) 55%, transparent 72%);
  top: 30px;
  left: 40px;
  animation: swipe 4.5s var(--ease) infinite;
}

.pad-buttons,
.clip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.pad-buttons span,
.clip span {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
}

.clip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-inline: 4px;
  white-space: nowrap;
  font-size: 9.5px;
}

.clip svg {
  width: 12px;
  height: 12px;
  color: #0a84ff;
}

.field {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  height: 56px;
  font-size: 11.5px;
}

.caret {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  margin-left: 1px;
  vertical-align: -2px;
  background: #0a84ff;
  animation: blink 1.1s steps(1) infinite;
}

.keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 8px 0;
}

.keys span,
.shortcuts span {
  background: #242427;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  text-align: center;
  padding: 7px 0;
  font-weight: 500;
  font-size: 10px;
}

.shortcuts {
  display: flex;
  gap: 6px;
}

.shortcuts span {
  padding: 6px 9px;
  background: #1c1c1e;
  border-radius: 12px;
}

.ctx.compact .chips {
  margin-right: -13px;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 159, 10, 0.1);
  border: 1px solid rgba(255, 159, 10, 0.4);
}

.countdown > svg {
  width: 18px;
  height: 18px;
  color: #ff9f0a;
}

.countdown div {
  flex: 1;
}

.countdown small {
  display: block;
  color: #8e8e93;
  font-size: 9px;
}

.countdown b {
  display: block;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.cancel,
.open {
  padding: 6px 9px;
  border-radius: 12px;
  background: #242427;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 10px;
}

.link-field {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 7px 7px 7px 11px;
  border-radius: 13px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8e8e93;
  font-size: 10.5px;
}

.link-field svg {
  width: 12px;
  height: 12px;
}

.link-field .open {
  margin-left: auto;
  background: #0a84ff;
  border-color: #0a84ff;
  color: #fff;
}

.photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.photos span {
  aspect-ratio: 1;
  border-radius: 8px;
}

.p1 {
  background: linear-gradient(160deg, #60a5fa, #1e3a8a 70%, #0f172a);
}

.p2 {
  background: linear-gradient(170deg, #fde68a, #f59e0b 50%, #7c2d12);
}

.p3 {
  background: linear-gradient(200deg, #a5f3fc, #0e7490 60%, #164e63);
}

.p4 {
  background: linear-gradient(160deg, #f9a8d4, #be185d 60%, #3b0764);
}

.p5 {
  background: linear-gradient(160deg, #bbf7d0, #15803d 60%, #052e16);
}

.p6 {
  background: linear-gradient(160deg, #c4b5fd, #6d28d9 60%, #1e1b4b);
}

.progress {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress small {
  display: block;
  font-size: 10px;
  margin-bottom: 7px;
}

.bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 64%;
  background: #0a84ff;
  border-radius: 3px;
}

.desk {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 30% 110%, #4f7cff 0%, transparent 60%),
    radial-gradient(60% 80% at 85% 0%, #a855f7 0%, transparent 60%),
    linear-gradient(135deg, #0f172a, #1e1b4b);
}

.w {
  position: absolute;
  border-radius: 4px;
  background: rgba(20, 20, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.w1 {
  left: 8%;
  top: 12%;
  width: 52%;
  height: 58%;
}

.w2 {
  left: 46%;
  top: 30%;
  width: 44%;
  height: 46%;
  background: rgba(30, 30, 40, 0.95);
}

.taskbar {
  position: absolute;
  inset: auto 0 0;
  height: 9%;
  background: rgba(0, 0, 0, 0.55);
}

.win-list {
  margin-top: 8px;
  border-radius: 14px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 10px;
}

.win-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 10.5px;
  font-weight: 500;
}

.win-list div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.win-list svg {
  margin-left: auto;
  width: 10px;
  height: 10px;
  color: #5c5c61;
}

/* ---------- Étapes ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 34px 30px 32px;
}

.step-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.25;
}

.step-icon {
  width: 34px;
  height: 34px;
  color: var(--check);
  stroke-width: 1.6;
  margin-bottom: 22px;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Sécurité ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--card-border);
  box-shadow: var(--card-shadow);
}

.trust > div {
  background: var(--card);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust svg {
  width: 28px;
  height: 28px;
  color: var(--check);
  stroke-width: 1.6;
  margin-bottom: 12px;
}

.trust b {
  font-size: 16px;
}

.trust small {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.security-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.security-details h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.security-details p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Appli Windows ---------- */

.pc-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.pc-text h2 {
  margin-bottom: 20px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
  font-size: 16px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.window {
  border-radius: 14px;
  overflow: hidden;
  background: #1c1c1f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px -40px rgba(60, 40, 160, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  color: #f5f5f7;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 12px;
  background: #202024;
}

.win-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.win-buttons {
  display: flex;
  gap: 18px;
}

.win-buttons i {
  width: 10px;
  height: 1.5px;
  background: #8e8e93;
}

.win-buttons i:nth-child(2) {
  height: 10px;
  background: none;
  border: 1.5px solid #8e8e93;
  border-radius: 2px;
}

.win-buttons i:nth-child(3) {
  height: 10px;
  background:
    linear-gradient(45deg, transparent 45%, #8e8e93 45%, #8e8e93 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #8e8e93 45%, #8e8e93 55%, transparent 55%);
}

.window-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 300px;
}

.win-side {
  background: #18181b;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.win-side span {
  padding: 8px 12px;
  border-radius: 8px;
  color: #c7c7cc;
}

.win-side .on {
  background: #2c2c30;
  color: #fff;
}

.win-main {
  padding: 22px 24px;
}

.win-h {
  display: block;
  font-size: 22px;
  font-weight: 600;
}

.win-sub {
  display: block;
  color: #8e8e93;
  margin: 2px 0 18px;
}

.device {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #252529;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

.device > div {
  flex: 1;
}

.device b {
  display: block;
  font-weight: 600;
}

.device small {
  color: #8e8e93;
  font-size: 12px;
}

.dev-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #303035;
  display: grid;
  place-items: center;
}

.dev-icon svg {
  width: 17px;
  height: 17px;
  color: #6aa5ff;
}

.connected {
  font-size: 11.5px;
  font-weight: 600;
  color: #30d158;
  background: rgba(48, 209, 88, 0.14);
  border-radius: 10px;
  padding: 3px 9px;
}

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #3a3a3f;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.switch.on {
  background: #30d158;
}

.switch.on::after {
  transform: translateX(16px);
}

/* ---------- Téléchargements ---------- */

.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 22px;
}

.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 44px 32px 40px;
}

.download-icon {
  width: 44px;
  height: 44px;
  color: var(--check);
  stroke-width: 1.4;
  margin-bottom: 18px;
}

.download h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.download p {
  flex: 1;
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 15.5px;
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-top: 30px;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--divider);
}

.faq details {
  border-bottom: 1px solid var(--divider);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq details p {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 680px;
}

/* ---------- Dernier appel ---------- */

.cta-final {
  text-align: center;
  padding: 128px 0;
}

.cta-final img {
  margin: 0 auto 28px;
}

.cta-final h2 {
  margin-bottom: 36px;
}

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

.footer {
  border-top: 1px solid var(--divider);
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  font-size: 13.5px;
  color: var(--muted);
}

.footer-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.footer .brand {
  font-size: 15px;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  margin-left: auto;
}

/* ---------- Pages d'information ---------- */

.legal {
  padding: 72px 0 96px;
  max-width: 720px;
}

.legal h1 {
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.legal h2 {
  font-size: 22px;
  margin: 40px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16.5px;
}

.legal p + p {
  margin-top: 12px;
}

.legal a {
  color: var(--check);
}

.legal .updated {
  margin-top: 48px;
  font-size: 14px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding: 48px 0;
}

.not-found h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.03em;
}

.not-found p {
  color: var(--muted);
}

/* ---------- Animations ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes swipe {
  0% {
    transform: translate(0, 0);
  }
  35% {
    transform: translate(110px, 34px);
  }
  60% {
    transform: translate(60px, 60px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.anim-progress {
  animation: progress 5s var(--ease) infinite;
}

@keyframes progress {
  0% {
    width: 8%;
  }
  80%,
  100% {
    width: 100%;
  }
}

.anim-volume {
  animation: volume 9s ease-in-out infinite;
}

@keyframes volume {
  0%,
  100% {
    width: 62%;
  }
  50% {
    width: 40%;
  }
}

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

/* ---------- Écrans moyens et petits ---------- */

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }
  .nav-links + .nav-actions {
    margin-left: auto;
  }
  .hero-grid,
  .pc-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-text {
    text-align: center;
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero-actions,
  .checks {
    justify-content: center;
  }
  .hero-visual {
    min-height: 0;
    margin-top: 12px;
  }
  .features,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust {
    grid-template-columns: repeat(3, 1fr);
  }
  .security-details {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .container,
  .container.narrow {
    width: calc(100% - 32px);
  }
  .section {
    padding: 80px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .features,
  .steps,
  .downloads {
    grid-template-columns: 1fr;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .trust > div:last-child {
    grid-column: span 2;
  }
  .phone {
    --w: 272px;
  }
  .badge-top {
    left: 0;
    top: 0;
  }
  .badge-bottom {
    right: 0;
    bottom: 60px;
  }
  .btn-large {
    padding: 16px 24px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .nav-actions .btn {
    display: none;
  }
  .window-body {
    grid-template-columns: 1fr;
  }
  .win-side {
    display: none;
  }
  .faq summary {
    font-size: 17px;
  }
  .copyright {
    margin-left: 0;
  }
}
