/* ============================================================
   CONVERTU — Premium SaaS design system
   Inspiré Linear / Stripe / Vercel
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --c-primary: #5B5FE6;
  --c-primary-50: #EEF0FF;
  --c-primary-100: #DDE0FF;
  --c-primary-200: #C5C9FF;
  --c-primary-600: #4F52D6;
  --c-primary-700: #3F41B0;
  --c-primary-900: #2A2C75;

  --c-accent: #10B981;
  --c-accent-50: #ECFDF5;
  --c-accent-600: #059669;

  --c-gold: #F59E0B;
  --c-pink: #EC4899;
  --c-violet: #8B5CF6;
  --c-cyan: #06B6D4;
  --c-red: #EF4444;

  /* Neutres */
  --c-bg: #FFFFFF;
  --c-bg-soft: #FAFAFA;
  --c-bg-muted: #F8FAFC;
  --c-surface: #FFFFFF;
  --c-elevated: #FFFFFF;
  --c-border: #E2E8F0;
  --c-border-strong: #CBD5E1;
  --c-hover: #F1F5F9;

  --c-text: #0F172A;
  --c-text-muted: #475569;
  --c-text-soft: #64748B;
  --c-text-faint: #94A3B8;

  --c-success: #10B981;
  --c-warning: #F59E0B;
  --c-danger: #EF4444;
  --c-info: #06B6D4;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --sh-md: 0 4px 12px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .03);
  --sh-lg: 0 12px 32px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
  --sh-xl: 0 24px 64px rgba(15, 23, 42, .10), 0 4px 12px rgba(15, 23, 42, .04);
  --sh-glow: 0 0 0 4px rgba(91, 95, 230, .12);
  --sh-glow-strong: 0 8px 24px rgba(91, 95, 230, .25);

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;
  --sp-11: 80px;
  --sp-12: 96px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 30px;
  --fs-4xl: 36px;
  --fs-5xl: 44px;
  --fs-6xl: 56px;
  --fs-7xl: 72px;

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 760px;
  --header-h: 72px;

  /* Motion */
  --t-fast: 120ms cubic-bezier(.4, 0, .2, 1);
  --t-base: 180ms cubic-bezier(.4, 0, .2, 1);
  --t-slow: 280ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset modern ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary-600); }
button { font: inherit; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
::selection { background: var(--c-primary-100); color: var(--c-primary-900); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--sp-3); font-weight: 700; line-height: var(--lh-tight); color: var(--c-text); letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, var(--fs-6xl)); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, var(--fs-4xl)); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-xl); }
p { margin: 0 0 var(--sp-3); color: var(--c-text-muted); line-height: var(--lh-relaxed); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--sp-3); padding-left: var(--sp-6); color: var(--c-text-muted); line-height: var(--lh-relaxed); }
li + li { margin-top: var(--sp-1); }

code { font-family: var(--font-mono); font-size: 0.92em; background: var(--c-bg-muted); padding: 2px 6px; border-radius: var(--r-xs); color: var(--c-text); }
pre { font-family: var(--font-mono); background: var(--c-bg-muted); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-4); overflow-x: auto; line-height: 1.6; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--sp-11) 0; }
.section--lg { padding: var(--sp-12) 0; }
.section--sm { padding: var(--sp-9) 0; }
.section--alt { background: var(--c-bg-soft); }
.section--gradient {
  background: radial-gradient(1200px 600px at 50% -100px, rgba(91,95,230,.10), transparent 60%),
              radial-gradient(800px 400px at 100% 50%, rgba(16,185,129,.06), transparent 60%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-5);
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn--primary {
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-600) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, var(--sh-glow-strong);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 32px rgba(91,95,230,.32); color: #fff; }
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: #fff;
  color: var(--c-text);
  border-color: var(--c-border);
  box-shadow: var(--sh-sm);
}
.btn--secondary:hover { background: var(--c-bg-soft); border-color: var(--c-border-strong); color: var(--c-text); }

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

.btn--success {
  background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-accent-600) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16,185,129,.25);
}
.btn--success:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 32px rgba(16,185,129,.32); }

.btn--danger { background: var(--c-danger); color: #fff; }
.btn--danger:hover { background: #DC2626; color: #fff; }

.btn--lg { height: 54px; padding: 0 var(--sp-7); font-size: var(--fs-md); border-radius: var(--r-lg); }
.btn--sm { height: 36px; padding: 0 var(--sp-4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 44px; }
.btn--icon.btn--sm { width: 36px; }

/* ---------- Cards ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.card--elevated { box-shadow: var(--sh-md); border-color: transparent; }
.card--interactive { cursor: pointer; }
.card--interactive:hover { border-color: var(--c-primary-100); box-shadow: var(--sh-lg); transform: translateY(-2px); }

/* ---------- Form ---------- */
.input, .select, .textarea {
  width: 100%;
  padding: 0 var(--sp-4);
  height: 44px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-size: var(--fs-base);
  outline: none;
}
.textarea { padding: var(--sp-3) var(--sp-4); height: auto; min-height: 140px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--c-primary); box-shadow: var(--sh-glow); }
.input:disabled { background: var(--c-bg-muted); color: var(--c-text-faint); }
.input--lg { height: 54px; font-size: var(--fs-md); }
.input--mono { font-family: var(--font-mono); }

.label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); margin-bottom: var(--sp-2); }
.field { margin-bottom: var(--sp-4); }
.field-help { font-size: var(--fs-sm); color: var(--c-text-soft); margin-top: var(--sp-2); }
.field-error { font-size: var(--fs-sm); color: var(--c-danger); margin-top: var(--sp-2); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.5;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--c-primary);
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}
.site-header__logo { display: flex; align-items: center; gap: var(--sp-2); font-weight: 800; font-size: var(--fs-lg); color: var(--c-text); letter-spacing: -0.02em; }
.site-header__logo svg { width: 28px; height: 28px; }
.site-header__nav { display: flex; align-items: center; gap: var(--sp-2); flex: 1; }
.site-header__nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--c-text-muted);
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { background: var(--c-hover); color: var(--c-text); }
.site-header__actions { display: flex; align-items: center; gap: var(--sp-2); }

.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.lang-switch__btn:hover { background: var(--c-hover); }
.lang-switch__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: var(--sp-1);
  min-width: 180px;
  display: none;
  z-index: 50;
}
.lang-switch[data-open="true"] .lang-switch__menu { display: block; }
.lang-switch__menu a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-size: var(--fs-sm);
}
.lang-switch__menu a:hover { background: var(--c-hover); }
.lang-switch__menu a[aria-current="true"] { background: var(--c-primary-50); color: var(--c-primary-700); }

/* Mega menu */
.mega { position: relative; }
.mega__trigger { cursor: pointer; }
.mega__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: var(--sp-6);
  width: 720px;
  max-width: calc(100vw - 32px);
  display: none;
  z-index: 50;
}
.mega[data-open="true"] .mega__panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3) var(--sp-5); }
.mega__item { display: flex; gap: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-sm); transition: background var(--t-fast); }
.mega__item:hover { background: var(--c-bg-soft); }
.mega__item-icon {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: #fff;
}
.mega__item-title { font-weight: 600; color: var(--c-text); font-size: var(--fs-sm); margin: 0 0 2px; }
.mega__item-desc { font-size: var(--fs-xs); color: var(--c-text-soft); margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--sp-12) 0 var(--sp-11);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 80% 0%, rgba(91,95,230,.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(16,185,129,.10), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-primary-50);
  color: var(--c-primary-700);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--c-primary-100);
}
.hero__title { margin-bottom: var(--sp-5); background: linear-gradient(180deg, #0F172A 0%, #334155 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { font-size: clamp(16px, 1.6vw, var(--fs-xl)); color: var(--c-text-muted); margin: 0 auto var(--sp-7); max-width: 720px; line-height: 1.55; }
.hero__cta { display: inline-flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.hero__note { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-text-soft); }
.hero__trust { margin-top: var(--sp-9); display: flex; justify-content: center; gap: var(--sp-7); flex-wrap: wrap; padding: var(--sp-4) var(--sp-7); background: rgba(255,255,255,.6); border-radius: var(--r-full); border: 1px solid var(--c-border); display: inline-flex; }
.hero__trust-item { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-muted); font-weight: 500; }

/* ---------- Sections ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-9); }
.section-head__eyebrow { color: var(--c-primary); font-weight: 600; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--sp-2); }
.section-head__title { margin-bottom: var(--sp-3); }
.section-head__lead { font-size: var(--fs-lg); color: var(--c-text-muted); }

/* ---------- Tool grid ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--sp-4); }
.tool-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--accent, var(--c-primary)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: transparent; color: inherit; }
.tool-card:hover::before { opacity: .04; }

.tool-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: #fff;
  font-size: 22px;
  background: var(--accent, var(--c-primary));
}
.tool-card__title { font-weight: 600; color: var(--c-text); font-size: var(--fs-md); margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
.tool-card__desc { font-size: var(--fs-sm); color: var(--c-text-soft); margin: 0; line-height: 1.5; }
.tool-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-full);
  align-self: flex-start;
}
.tool-card__badge--free { background: var(--c-accent-50); color: var(--c-accent-600); }
.tool-card__badge--premium { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); color: #92400E; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-4); }
.cat-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-7);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: -50% 60% 60% -50%;
  background: var(--accent, var(--c-primary));
  filter: blur(60px);
  opacity: .12;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); border-color: transparent; color: inherit; }
.cat-card:hover::before { opacity: .25; }
.cat-card__icon { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff; background: var(--accent, var(--c-primary)); font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.cat-card__title { font-size: var(--fs-xl); font-weight: 700; margin: 0; color: var(--c-text); }
.cat-card__desc { font-size: var(--fs-sm); color: var(--c-text-muted); margin: 0; flex: 1; }
.cat-card__count { font-size: var(--fs-sm); color: var(--c-text-soft); font-weight: 500; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-6); }
.how-step { text-align: center; padding: var(--sp-6); }
.how-step__num {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--c-primary-50);
  color: var(--c-primary-700);
  font-weight: 700;
  display: grid; place-items: center;
  margin: 0 auto var(--sp-4);
  font-size: var(--fs-lg);
  border: 1px solid var(--c-primary-100);
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: linear-gradient(160deg, #fff 0%, #FAFAFA 100%);
  border: 2px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.pricing-card--featured { border-color: var(--c-primary); box-shadow: var(--sh-glow-strong); }
.pricing-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 300px at 50% 0%, rgba(91,95,230,.10), transparent 70%);
  pointer-events: none;
}
.pricing-card__badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: linear-gradient(135deg, var(--c-gold) 0%, #F97316 100%);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-card__title { font-size: var(--fs-xl); margin-bottom: var(--sp-1); }
.pricing-card__price { display: flex; align-items: baseline; gap: var(--sp-2); margin: var(--sp-5) 0 var(--sp-2); }
.pricing-card__amount { font-size: clamp(48px, 7vw, var(--fs-7xl)); font-weight: 800; color: var(--c-text); letter-spacing: -0.04em; line-height: 1; }
.pricing-card__period { font-size: var(--fs-md); color: var(--c-text-muted); }
.pricing-card__sub { font-size: var(--fs-sm); color: var(--c-text-soft); margin-bottom: var(--sp-7); }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 var(--sp-7); display: grid; gap: var(--sp-2); }
.pricing-card__features li { display: flex; align-items: flex-start; gap: var(--sp-2); color: var(--c-text); font-size: var(--fs-base); padding: 6px 0; }
.pricing-card__features li::before {
  content: "";
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: var(--r-full);
  background: var(--c-accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  margin-top: 2px;
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-5); }
.testi-card {
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.testi-card__stars { color: var(--c-gold); margin-bottom: var(--sp-3); font-size: 18px; letter-spacing: 2px; }
.testi-card__text { font-size: var(--fs-md); line-height: 1.55; color: var(--c-text); margin: 0 0 var(--sp-4); }
.testi-card__author { display: flex; align-items: center; gap: var(--sp-3); }
.testi-card__avatar { width: 40px; height: 40px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-violet) 100%); display: grid; place-items: center; color: #fff; font-weight: 700; }
.testi-card__name { font-weight: 600; font-size: var(--fs-sm); color: var(--c-text); }
.testi-card__role { font-size: var(--fs-xs); color: var(--c-text-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--sp-3); max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--c-text);
  gap: var(--sp-3);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--c-text-soft);
  transition: transform var(--t-fast);
  font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-text-muted); line-height: 1.6; }

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: var(--sp-12) var(--sp-5);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-violet) 100%);
  border-radius: var(--r-2xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-banner::before { width: 400px; height: 400px; background: rgba(255,255,255,.15); top: -200px; left: -100px; }
.cta-banner::after { width: 500px; height: 500px; background: rgba(245,158,11,.30); bottom: -250px; right: -100px; }
.cta-banner__inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); font-size: var(--fs-lg); margin-bottom: var(--sp-6); }
.cta-banner .btn--primary { background: #fff; color: var(--c-primary); box-shadow: 0 12px 32px rgba(0,0,0,.20); }
.cta-banner .btn--primary:hover { background: #fff; color: var(--c-primary-700); }

/* ---------- Footer ---------- */
.site-footer { background: #0F172A; color: #94A3B8; padding: var(--sp-11) 0 var(--sp-6); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--sp-7); margin-bottom: var(--sp-8); }
.site-footer__brand h3 { color: #fff; margin-bottom: var(--sp-3); font-size: var(--fs-xl); }
.site-footer__brand p { color: #94A3B8; font-size: var(--fs-sm); }
.site-footer__col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-4); font-weight: 600; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin: 0; padding: 6px 0; }
.site-footer__col a { color: #94A3B8; font-size: var(--fs-sm); transition: color var(--t-fast); }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid #1E293B; padding-top: var(--sp-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); font-size: var(--fs-sm); }
.site-footer__bottom a { color: #94A3B8; }
.site-footer__bottom a:hover { color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: var(--sp-2); align-items: center; font-size: var(--fs-sm); color: var(--c-text-soft); margin-bottom: var(--sp-5); }
.breadcrumb a { color: var(--c-text-soft); }
.breadcrumb a:hover { color: var(--c-text); }
.breadcrumb__sep { color: var(--c-text-faint); }
.breadcrumb__current { color: var(--c-text); font-weight: 500; }

/* ---------- AdSense + NordVPN ---------- */
.ad-block { margin: var(--sp-7) auto; max-width: 100%; min-height: 90px; display: grid; place-items: center; background: var(--c-bg-soft); border: 1px dashed var(--c-border); border-radius: var(--r-md); color: var(--c-text-faint); font-size: var(--fs-xs); }
.ad-block::before { content: "Publicité"; }

.nordvpn-banner { background: linear-gradient(135deg, #4F52D6 0%, #2A2C75 100%); border-radius: var(--r-lg); padding: var(--sp-5); color: #fff; margin: var(--sp-6) 0; }
.nordvpn-banner__content { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.nordvpn-banner__icon { font-size: 28px; }
.nordvpn-banner__text { flex: 1; min-width: 200px; }
.nordvpn-banner__title { color: #fff; margin: 0 0 4px; font-size: var(--fs-md); }
.nordvpn-banner__desc { color: rgba(255,255,255,.85); font-size: var(--fs-sm); margin: 0; }
.nordvpn-banner__cta { background: #fff; color: var(--c-primary-700); padding: 10px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.nordvpn-banner__cta:hover { background: var(--c-bg-soft); color: var(--c-primary-700); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: var(--sp-4); left: var(--sp-4); right: var(--sp-4); max-width: 540px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--sh-xl); padding: var(--sp-5); z-index: 200; }
.cookie-banner h4 { margin: 0 0 var(--sp-2); font-size: var(--fs-md); }
.cookie-banner p { font-size: var(--fs-sm); margin: 0 0 var(--sp-4); }
.cookie-banner__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.cookie-banner__actions .btn { flex: 1; min-width: 130px; }

/* ---------- Flash messages ---------- */
.flash { padding: var(--sp-4); border-radius: var(--r-md); margin-bottom: var(--sp-4); border: 1px solid; font-size: var(--fs-sm); }
.flash--success { background: var(--c-accent-50); border-color: #A7F3D0; color: #065F46; }
.flash--error { background: #FEE2E2; border-color: #FECACA; color: #991B1B; }
.flash--info { background: var(--c-primary-50); border-color: var(--c-primary-100); color: var(--c-primary-900); }

/* ---------- Loader ---------- */
.spinner { width: 40px; height: 40px; border: 3px solid var(--c-primary-100); border-top-color: var(--c-primary); border-radius: 50%; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.processing-screen { padding: var(--sp-12) var(--sp-5); text-align: center; }
.processing-screen .spinner { margin: 0 auto var(--sp-5); }
.processing-screen h2 { margin-bottom: var(--sp-2); }
.processing-screen p { color: var(--c-text-soft); }
.progress-bar { width: 100%; max-width: 360px; height: 8px; background: var(--c-primary-50); border-radius: var(--r-full); margin: var(--sp-5) auto 0; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-violet) 100%); border-radius: var(--r-full); width: 0%; animation: progress 3s ease-in-out forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.text-soft { color: var(--c-text-soft); }
.text-primary { color: var(--c-primary); }
.text-success { color: var(--c-success); }
.font-mono { font-family: var(--font-mono); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-7 { margin-bottom: var(--sp-7); }
.mt-3 { margin-top: var(--sp-3); }
.mt-5 { margin-top: var(--sp-5); }
.mt-7 { margin-top: var(--sp-7); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .mega[data-open="true"] .mega__panel { width: calc(100vw - 32px); grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .site-header__nav { display: none; }
  .site-header__inner { gap: var(--sp-3); }
  .hero { padding: var(--sp-9) 0 var(--sp-8); }
  .section { padding: var(--sp-9) 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .pricing-card { padding: var(--sp-6); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
