/* =========================================================
   OCULTA — Design tokens
   Dark mode, style Apple / Bartender (premium indie app)
   ========================================================= */

:root {
  /* Couleurs */
  --bg: #000000;
  --bg-elev-1: #0a0a0c;
  --bg-elev-2: #111114;
  --bg-elev-3: #18181c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f5f7;
  --text-muted: #a1a1aa;
  --text-dim: #6b6b73;

  /* Accent : violet "privacy" subtil */
  --accent: #a78bfa;
  --accent-2: #7c6bf7;
  --accent-glow: rgba(167, 139, 250, 0.25);

  /* Typo */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;

  /* Espacements */
  --container: 1200px;
  --container-narrow: 920px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #000; }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev-1) 50%, var(--bg) 100%);
}

.section__head {
  max-width: 740px;
  margin-bottom: 72px;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.section__sub {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 640px;
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 22px;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent) 0%, var(--accent-2) 60%, transparent 70%),
              radial-gradient(circle at 65% 65%, rgba(255,255,255,0.5) 0%, transparent 35%);
  box-shadow: 0 0 22px var(--accent-glow), inset 0 0 8px rgba(0,0,0,0.4);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 35%;
  background: #0a0a0c;
  border-radius: 50%;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  color: var(--text-muted);
}

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

@media (max-width: 800px) {
  .nav__links { display: none; }
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   Sélecteur de langue
   ========================================================= */

.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 980px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lang-switcher__current:hover {
  background: var(--surface-strong);
  border-color: rgba(255,255,255,0.22);
}

.lang-switcher__icon {
  width: 15px; height: 15px;
  color: var(--text-muted);
}

.lang-switcher__chevron {
  width: 11px; height: 11px;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease);
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s var(--ease);
  z-index: 60;
}

.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.lang-switcher__option:hover {
  background: var(--surface-strong);
  color: var(--text);
}

.lang-switcher__option.is-active {
  background: rgba(167, 139, 250, 0.10);
  color: var(--accent);
}

.lang-switcher__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 3px 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
}

.lang-switcher__option.is-active .lang-switcher__code {
  background: rgba(167,139,250,0.18);
  border-color: rgba(167,139,250,0.32);
  color: var(--accent);
}

.lang-switcher__label { flex: 1; }

@media (max-width: 600px) {
  .lang-switcher__current span:not(.lang-switcher__current-code) { display: none; }
  .lang-switcher__menu { right: -10px; min-width: 170px; }
}

/* =========================================================
   Boutons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 980px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 12px 32px -8px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 16px 38px -8px var(--accent-glow);
  color: #fff;
}

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

.btn--ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(255,255,255,0.22);
  color: var(--text);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 107, 247, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 40%, rgba(167, 139, 250, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 130px 0 80px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 8px #34c759;
}

.hero__title {
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #c5c5cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 28px;
}

.hero__subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__meta {
  font-size: 13.5px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* Visuel Hero */
.hero__visual { perspective: 1200px; }

.window-frame {
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 -1px 0 rgba(255, 255, 255, 0.06) inset;
  transform: rotateX(2deg) rotateY(-3deg);
  transition: transform 0.6s var(--ease);
}

.window-frame:hover { transform: rotateX(0) rotateY(0); }

.window-frame--mac { transform: none; }
.window-frame--mac:hover { transform: none; }

.window-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border-bottom: 1px solid var(--border);
}

.window-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.window-dot--red { background: #ff5f57; }
.window-dot--yellow { background: #febc2e; }
.window-dot--green { background: #28c840; }

.window-frame__title {
  margin-left: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.window-frame__body {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at center, rgba(124,107,247,0.10) 0%, transparent 60%),
    linear-gradient(135deg, #16161b 0%, #0d0d11 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.window-frame__image,
.window-frame__body img,
.window-frame__body video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario__visual img,
.scenario__visual video,
.placeholder--filter img,
.placeholder--filter video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.placeholder--filter { position: relative; padding: 0; border: none; background: transparent; }
.scenario__visual .placeholder { position: relative; padding: 0; border: none; background: transparent; }

/* =========================================================
   Placeholders élégants
   ========================================================= */

.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /*padding: 32px;*/
  color: var(--text-dim);
  text-align: center;
  background:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 12px,
      rgba(255,255,255,0.015) 12px,
      rgba(255,255,255,0.015) 24px);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

.placeholder__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
  margin-bottom: 6px;
  box-shadow: 0 0 24px var(--accent-glow);
}

.placeholder__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.placeholder__hint {
  font-size: 12.5px;
  color: var(--text-dim);
}

.placeholder--video { min-height: 320px; }
.placeholder--square { aspect-ratio: 1 / 1; min-height: 200px; }
.placeholder--filter { 
  aspect-ratio: 1 / 1; 
  padding: 0;           /* Supprime le padding pour laisser la vidéo toucher les bords */
  overflow: hidden;    /* Coupe ce qui dépasse si les ratios diffèrent légèrement */
  position: relative;  /* Pour un positionnement précis si besoin */
  border: none;        /* Optionnel : retire les pointillés si la vidéo est présente */
}
.placeholder--filter video {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* C'est la propriété clé : remplit tout l'espace sans déformer */
  display: block;
}
.placeholder--editor { min-height: 320px; }

/* =========================================================
   Grilles & cards
   ========================================================= */

.grid {
  display: grid;
  gap: 24px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--tight { gap: 20px; }
.grid--tech { gap: 16px; }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
}

.card {
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, var(--surface-strong) 0%, transparent 100%);
  transform: translateY(-2px);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.10);
  color: var(--accent);
  margin-bottom: 22px;
}

.card__icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.card__sub {
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.card p:not(.card__sub) {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* =========================================================
   Scénarios
   ========================================================= */

.scenario {
  display: flex;
  flex-direction: column;
}

.scenario__visual {
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
}

.scenario h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.scenario p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* =========================================================
   Filtres
   ========================================================= */

.filter {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.filter:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.filter__preview {
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.filter__preview--blur {
  background:
    radial-gradient(circle at 50% 40%, rgba(167,139,250,0.35) 0%, transparent 60%),
    linear-gradient(135deg, #2a2535 0%, #14111c 100%);
  filter: blur(0.5px);
}

.filter__preview--pixel {
  background:
    conic-gradient(from 0deg at 50% 50%, #3a2f4f, #1a1525, #2c2542, #14111c, #3a2f4f);
  background-size: 16px 16px;
  background-repeat: repeat;
}

.filter__preview--bar {
  background: linear-gradient(135deg, #1f1c2c 0%, #14111c 100%);
  position: relative;
}
/*
.filter__preview--bar::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  top: 42%;
  height: 18%;
  background: #000;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}*/

.filter__info {
  padding: 22px 24px 26px;
}

.filter__info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.window-frame__image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom-left-radius: inherit;  /* Permet de garder les coins arrondis en bas si la fenêtre en a */
  border-bottom-right-radius: inherit;
}

.filter__info p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* =========================================================
   Split (texte + visuel)
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.split--reverse .split__text { order: 2; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__text { order: 0; }
}

.features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.features li strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* =========================================================
   Technique (Ghost Mode)
   ========================================================= */

.tech {
  padding: 36px 32px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.tech__num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.tech h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.tech p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

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

/* =========================================================
   Privacy
   ========================================================= */

.section--privacy {
  background: radial-gradient(ellipse at top, rgba(124,107,247,0.08) 0%, transparent 50%),
              var(--bg);
}

.privacy { text-align: center; }

.privacy__head { max-width: 720px; margin: 0 auto 64px; }

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(167, 139, 250, 0.08);
  color: var(--accent);
  margin-bottom: 28px;
  border: 1px solid rgba(167, 139, 250, 0.18);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.15);
}

.lock-icon svg { width: 30px; height: 30px; }

.privacy__head .section__sub { margin-left: auto; margin-right: auto; }

.privacy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

@media (max-width: 900px) { .privacy__grid { grid-template-columns: 1fr; } }

.privacy__cell {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.privacy__cell h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.privacy__cell p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* =========================================================
   Native card
   ========================================================= */

.native-card {
  padding: 40px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.native-card__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kbd {
  padding: 7px 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'SF Mono', 'JetBrains Mono', 'Menlo', monospace;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.01em;
}

.native-card__lang {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.native-card__lang > span {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.native-card__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.native-card__flags span {
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.18);
  color: var(--accent);
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Pricing
   ========================================================= */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 800px) { .pricing { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  padding: 40px 36px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  background: linear-gradient(180deg, rgba(167,139,250,0.06) 0%, var(--bg-elev-2) 60%);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(167,139,250,0.05), 0 30px 60px -20px rgba(167,139,250,0.12);
}

.price-card__tag {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 11.5px;
  padding: 5px 11px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 980px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card__tag--pro {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border-color: transparent;
}

.price-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.price-card__amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 0%, #c5c5cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card__per {
  font-size: 14px;
  color: var(--text-dim);
}

.price-card__sub {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-card__list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 15px;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7l3 3 5-6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/10px 10px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7l3 3 5-6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/10px 10px no-repeat;
}

.price-card__list li strong { color: var(--text); font-weight: 600; }

.price-card .btn { margin-top: auto; }

.pricing__footnote {
  text-align: center;
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* =========================================================
   CTA finale
   ========================================================= */

.section--cta { padding: 100px 0; }

.cta-final {
  text-align: center;
  padding: 80px 40px;
  background: radial-gradient(ellipse at center, rgba(167,139,250,0.10) 0%, transparent 60%),
              var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(167,139,250,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-final h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  position: relative;
}

.cta-final p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 32px;
  position: relative;
}

.cta-final .btn { position: relative; }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-elev-1);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--text-muted);
}

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

@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

.footer__col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--text-muted); font-size: 14.5px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Reveal on scroll (animation)
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Page Légale / Privacy
   ========================================================= */

.legal {
  padding: 140px 0 100px;
  position: relative;
  min-height: 70vh;
}

.legal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 360px;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(124,107,247,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.legal .container { position: relative; z-index: 1; }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.legal__back:hover {
  color: var(--accent);
  background: rgba(167,139,250,0.06);
}

.legal__head {
  text-align: center;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.legal__head .lock-icon { margin-bottom: 24px; }

.legal__head h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.025em;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #c5c5cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.legal__date {
  font-size: 13.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.legal__intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal__content {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.legal__content section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal__content h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.legal__content h2::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 22px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 4px;
}

.legal__content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.legal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.legal__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.legal__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(167,139,250,0.5);
}

.legal__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}

.legal__contact a {
  color: var(--text);
  font-weight: 500;
  font-size: 15.5px;
}

.legal__contact a:hover { color: var(--accent); }

/* =========================================================
   Responsive tweaks
   ========================================================= */

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 48px; }
  .container { padding: 0 20px; }
  body { font-size: 16px; }
  .legal { padding: 110px 0 70px; }
  .legal__content { gap: 40px; }
  .legal__content h2 { font-size: 21px; }
}
