/* ================================================
   KEYBIS.SITE v3 — Design premium
   ================================================ */

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

:root {
  /* Couleurs signature */
  --ink: #0A0F1E;
  --ink-soft: #1a2236;
  --ink-mute: #455072;

  --slate-950: #0a0f1e;
  --slate-900: #111827;
  --slate-800: #1f2937;
  --slate-700: #374151;
  --slate-600: #4b5563;
  --slate-500: #6b7280;
  --slate-400: #9ca3af;
  --slate-300: #d1d5db;
  --slate-200: #e5e7eb;
  --slate-100: #f3f4f6;
  --slate-50: #f9fafb;

  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-900: #312e81;

  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  --fuchsia-500: #d946ef;
  --pink-500: #ec4899;

  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;

  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  --emerald-500: #10b981;
  --emerald-600: #059669;

  --red-500: #ef4444;

  --brand: var(--indigo-600);
  --brand-light: var(--indigo-500);
  --brand-dark: var(--indigo-700);
  --brand-soft: var(--indigo-50);
  --brand-muted: var(--indigo-100);

  --accent: var(--amber-500);
  --accent-dark: var(--amber-600);

  --white: #ffffff;
  --black: #000000;

  /* Typographie */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sohne', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

  /* Espacement */
  --container: 1200px;
  --container-wide: 1320px;

  /* Rayons */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 28px;

  /* Ombres premium */
  --shadow-xs: 0 1px 2px 0 rgba(10, 15, 30, 0.04);
  --shadow-sm: 0 1px 3px rgba(10, 15, 30, 0.06), 0 1px 2px rgba(10, 15, 30, 0.04);
  --shadow: 0 4px 12px -2px rgba(10, 15, 30, 0.06), 0 2px 6px -2px rgba(10, 15, 30, 0.04);
  --shadow-md: 0 12px 24px -6px rgba(10, 15, 30, 0.08), 0 4px 12px -4px rgba(10, 15, 30, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 15, 30, 0.10), 0 8px 20px -8px rgba(10, 15, 30, 0.05);
  --shadow-xl: 0 32px 64px -16px rgba(10, 15, 30, 0.15);
  --shadow-brand: 0 10px 30px -8px rgba(99, 102, 241, 0.35);
  --shadow-inner: inset 0 0 0 1px rgba(10, 15, 30, 0.05);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 200ms var(--ease);
  --transition-slow: 400ms var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  letter-spacing: -0.005em;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--brand-dark); }

::selection { background: var(--brand-muted); color: var(--brand-dark); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

/* ========== TYPOGRAPHY ========== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
}

.h-display {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.h-hero {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.h-section {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* ========== ANNOUNCEMENT ========== */
.announcement {
  background: var(--ink);
  color: var(--slate-200);
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.005em;
  position: relative;
  overflow: hidden;
}
.announcement strong { color: var(--white); }
.announcement a { color: var(--amber-400); font-weight: 600; margin-left: 4px; }
.announcement a:hover { color: var(--amber-500); }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(10, 15, 30, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--indigo-600) 0%, var(--violet-600) 100%);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.2),
    0 4px 12px -2px rgba(99, 102, 241, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.brand-logo::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 50%);
  pointer-events: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-tagline {
  font-size: 10px;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  font-family: var(--font-sans);
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition);
}
.nav a:not(.btn):hover {
  color: var(--ink);
  background: var(--slate-100);
}
.nav .btn { margin-left: 8px; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-toggle { display: block; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.1),
    0 2px 4px rgba(10, 15, 30, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}
.btn-primary:hover {
  background: var(--slate-800);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.12),
    0 6px 12px rgba(10, 15, 30, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: white;
}
.btn-brand {
  background: linear-gradient(180deg, var(--indigo-500) 0%, var(--indigo-600) 100%);
  color: white;
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.2),
    0 4px 14px -2px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-brand:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.25),
    0 8px 20px -2px rgba(99, 102, 241, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: white;
}
.btn-secondary {
  background: white;
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.1),
    0 1px 2px rgba(10, 15, 30, 0.05);
}
.btn-secondary:hover {
  background: var(--slate-50);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.15),
    0 4px 10px rgba(10, 15, 30, 0.08);
}
.btn-ghost { background: transparent; color: var(--slate-700); }
.btn-ghost:hover { background: var(--slate-100); color: var(--ink); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: var(--radius); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: var(--radius-sm); font-weight: 500; }

.btn svg { width: 14px; height: 14px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1000px 600px at 20% 0%, rgba(139, 92, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 800px 400px at 80% 50%, rgba(99, 102, 241, 0.06), transparent 60%),
    radial-gradient(ellipse 600px 300px at 50% 100%, rgba(251, 191, 36, 0.04), transparent 60%),
    linear-gradient(180deg, #fbfafd 0%, #ffffff 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10, 15, 30, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--slate-700);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.06),
    0 2px 4px rgba(10, 15, 30, 0.04);
}
.hero-eyebrow .pill {
  background: var(--indigo-100);
  color: var(--indigo-700);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--indigo-600) 0%, var(--violet-600) 45%, var(--fuchsia-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero p.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--slate-600);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 500;
}
.hero-trust-item { display: flex; align-items: center; gap: 7px; }
.hero-trust-item svg { color: var(--emerald-500); flex-shrink: 0; }

/* ========== LOGO CLOUD ========== */
.logo-cloud {
  padding: 40px 0 60px;
  border-top: 1px solid var(--slate-100);
}
.logo-cloud-label {
  text-align: center;
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}
.logo-cloud-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.7;
}
.logo-cloud-item {
  height: 32px;
  color: var(--slate-400);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-cloud-item img { height: 28px; filter: grayscale(1); opacity: 0.6; }

/* ========== SECTIONS ========== */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--ink);
}
.section-header p {
  font-size: 18px;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ========== BRAND LOGOS ========== */
.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: white;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(10, 15, 30, 0.05);
}
.brand-logo-img.sm { width: 28px; height: 28px; padding: 3px; border-radius: 6px; }
.brand-logo-img.lg { width: 56px; height: 56px; padding: 8px; border-radius: 12px; }
.brand-logo-img.xl { width: 80px; height: 80px; padding: 12px; border-radius: 16px; }

.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  background: var(--slate-600);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 1px rgba(10, 15, 30, 0.05);
}
.brand-avatar.sm { width: 28px; height: 28px; font-size: 11px; border-radius: 6px; }
.brand-avatar.lg { width: 56px; height: 56px; font-size: 18px; border-radius: 12px; }
.brand-avatar.xl { width: 80px; height: 80px; font-size: 26px; border-radius: 16px; }

/* ========== PRICING HERO CARD ========== */
.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.06),
    0 24px 48px -12px rgba(10, 15, 30, 0.08);
  position: relative;
  overflow: hidden;
  max-width: 520px;
  margin: 56px auto 0;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--indigo-400), var(--violet-500), transparent 50%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}
.pricing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pricing-card-tag {
  background: linear-gradient(135deg, var(--indigo-100), var(--violet-100));
  color: var(--indigo-700);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.pricing-card-price .amount {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: 'tnum';
}
.pricing-card-price .currency { font-size: 28px; font-weight: 600; color: var(--slate-700); }
.pricing-card-price .period {
  font-size: 15px;
  color: var(--slate-500);
  font-weight: 500;
  margin-left: 4px;
  font-family: var(--font-sans);
}
.pricing-card-strike {
  display: inline-block;
  color: var(--slate-400);
  text-decoration: line-through;
  font-size: 16px;
  font-weight: 500;
  margin-right: 8px;
}
.pricing-card-features { list-style: none; margin: 20px 0; }
.pricing-card-features li {
  padding: 8px 0;
  padding-left: 26px;
  position: relative;
  font-size: 14.5px;
  color: var(--slate-700);
  font-weight: 500;
}
.pricing-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  background: var(--indigo-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========== OFFRES SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.06),
    0 4px 12px -2px rgba(10, 15, 30, 0.04);
  transition: all var(--transition-slow);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.08),
    0 24px 48px -12px rgba(10, 15, 30, 0.12);
}
.service-card.hero-service {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo-900) 100%);
  color: white;
  position: relative;
}
.service-card.hero-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 400px at 20% 20%, rgba(139, 92, 246, 0.3), transparent 60%),
    radial-gradient(circle 300px at 80% 80%, rgba(236, 72, 153, 0.2), transparent 60%);
  pointer-events: none;
}
.service-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 16px;
  position: relative;
}
.service-card.hero-service .service-card-tag { color: var(--violet-400, #a78bfa); }
.service-card-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
  position: relative;
}
.service-card.hero-service .service-card-title { font-size: 36px; }
.service-card-desc {
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
  position: relative;
}
.service-card.hero-service .service-card-desc { color: rgba(255, 255, 255, 0.75); }
.service-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  position: relative;
  font-family: var(--font-display);
}
.service-card-price .amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.service-card.hero-service .service-card-price .amount { color: white; }
.service-card-price .currency { font-size: 22px; font-weight: 600; }
.service-card-price .period { font-size: 14px; color: var(--slate-500); font-weight: 500; margin-left: 4px; font-family: var(--font-sans); }
.service-card.hero-service .service-card-price .period { color: rgba(255, 255, 255, 0.6); }

/* ========== COMPARISON TABLE ========== */
.compare-wrap {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.06),
    0 12px 32px -8px rgba(10, 15, 30, 0.08);
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.compare-table th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--slate-600);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-table th.highlight-col {
  background: linear-gradient(180deg, var(--indigo-50), white);
  color: var(--indigo-700);
  position: relative;
  border-bottom: 2px solid var(--indigo-500);
}
.compare-table th.highlight-col::before {
  content: 'Recommandé';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px -2px rgba(10, 15, 30, 0.2);
}
.compare-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
  vertical-align: middle;
}
.compare-table td.highlight-col { background: var(--indigo-50); color: var(--ink); font-weight: 600; }
.compare-table tbody tr:hover td:not(.highlight-col) { background: var(--slate-50); }
.compare-table tbody tr:last-child td { border-bottom: none; }

.brand-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-sans);
}
.rating-stars { color: var(--amber-500); letter-spacing: 1px; font-size: 13px; }
.rating-value { color: var(--slate-700); }
.rating-count { color: var(--slate-400); font-weight: 500; font-size: 12px; font-feature-settings: 'tnum'; }

.price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.015em;
  font-feature-settings: 'tnum';
}
.price-tag small { color: var(--slate-500); font-weight: 500; font-size: 12px; letter-spacing: 0; font-family: var(--font-sans); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.tag-success { background: rgba(16, 185, 129, 0.1); color: var(--emerald-600); }
.tag-warning { background: rgba(251, 191, 36, 0.12); color: var(--amber-600); }
.tag-danger { background: rgba(239, 68, 68, 0.1); color: var(--red-500); }
.tag-info { background: var(--indigo-100); color: var(--indigo-700); }
.tag-gold { background: rgba(251, 191, 36, 0.15); color: var(--amber-600); }
.tag-dark { background: var(--ink); color: white; }

/* ========== CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.06),
    0 1px 2px rgba(10, 15, 30, 0.04);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.08),
    0 20px 40px -10px rgba(10, 15, 30, 0.12);
}
.card.featured {
  background: linear-gradient(180deg, var(--indigo-50) 0%, white 40%);
  box-shadow:
    0 0 0 1.5px var(--indigo-500),
    0 8px 24px -8px rgba(99, 102, 241, 0.25);
}
.card-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.card-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}
.card-brand-cat {
  font-size: 11px;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-weight: 600;
}
.card-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card-desc {
  color: var(--slate-600);
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: var(--slate-50);
  border-radius: var(--radius);
  font-family: var(--font-display);
}
.card-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-feature-settings: 'tnum';
}
.card-price small { font-size: 12px; color: var(--slate-500); font-weight: 500; font-family: var(--font-sans); }
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

/* ========== PROCESS / STEPS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: steps;
}
.step {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.06);
  position: relative;
  counter-increment: steps;
}
.step::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--indigo-500);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  font-feature-settings: 'tnum';
}
.step h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.step p { color: var(--slate-600); font-size: 14px; line-height: 1.55; }

/* ========== DUEL ========== */
.duel-header {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 400px at 50% 100%, rgba(139, 92, 246, 0.08), transparent 60%),
    linear-gradient(180deg, #fafaff 0%, white 100%);
}
.duel-versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 36px 0 0;
  flex-wrap: wrap;
}
.duel-versus .brand-logo-img,
.duel-versus .brand-avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.08),
    0 16px 32px -8px rgba(10, 15, 30, 0.12);
}
.duel-versus .vs-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--slate-300);
  font-style: italic;
  letter-spacing: -0.03em;
}

.two-col-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
@media (max-width: 768px) { .two-col-compare { grid-template-columns: 1fr; } }
.compare-col {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.06);
}
.compare-col.winner {
  background: linear-gradient(180deg, var(--indigo-50) 0%, white 50%);
  box-shadow:
    0 0 0 1.5px var(--indigo-500),
    0 12px 32px -8px rgba(99, 102, 241, 0.2);
}
.compare-col.winner::before {
  content: '🏆 Notre choix';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--ink);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-100);
}
.compare-col h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.compare-col .brand-cat {
  font-size: 11px;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
}
.compare-col ul { list-style: none; margin: 8px 0; }
.compare-col ul li {
  padding: 7px 0;
  padding-left: 26px;
  position: relative;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.5;
}
.compare-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--emerald-500);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.compare-col ul.cons li::before {
  background: var(--red-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* ========== PROS/CONS ========== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 0 0 1px rgba(10, 15, 30, 0.06);
}
.pros { background: linear-gradient(180deg, rgba(16, 185, 129, 0.04), white); box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25); }
.cons { background: linear-gradient(180deg, rgba(239, 68, 68, 0.04), white); box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2); }
.pros h4, .cons h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pros h4 { color: var(--emerald-600); }
.cons h4 { color: var(--red-500); }
.pros ul, .cons ul { list-style: none; }
.pros ul li, .cons ul li {
  padding: 7px 0;
  padding-left: 26px;
  position: relative;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.55;
}
.pros ul li::before, .cons ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.pros ul li::before {
  background-color: var(--emerald-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.cons ul li::before {
  background-color: var(--red-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* ========== VERDICT BOX ========== */
.verdict {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo-900) 100%);
  color: white;
  padding: 44px;
  border-radius: var(--radius-xl);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.verdict::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 400px at 10% 10%, rgba(139, 92, 246, 0.25), transparent 60%),
    radial-gradient(circle 300px at 90% 90%, rgba(236, 72, 153, 0.15), transparent 60%);
  pointer-events: none;
}
.verdict h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  letter-spacing: -0.02em;
  color: white;
}
.verdict p { opacity: 0.82; font-size: 16px; position: relative; margin-bottom: 24px; line-height: 1.6; }
.verdict .btn {
  position: relative;
  background: white;
  color: var(--ink);
  font-weight: 600;
}
.verdict .btn:hover { background: var(--slate-100); transform: translateY(-1px); color: var(--ink); }

/* ========== ARTICLE / BLOG ========== */
.article-header {
  padding: 80px 0 50px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 500;
}
.article-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 60px;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--slate-700);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 52px 0 20px;
  color: var(--ink);
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 18px 0 26px 28px; }
.article-body ul li, .article-body ol li { margin-bottom: 10px; }
.article-body blockquote {
  border-left: 3px solid var(--brand);
  padding: 4px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--slate-700);
  font-size: 17px;
}
.article-body a { font-weight: 600; border-bottom: 1px solid currentColor; }
.article-body strong { color: var(--ink); font-weight: 600; }

.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  color: inherit;
  box-shadow: 0 0 0 1px rgba(10, 15, 30, 0.06);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(10, 15, 30, 0.1),
    0 20px 40px -10px rgba(10, 15, 30, 0.1);
}
.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.018em;
}
.blog-card p { color: var(--slate-600); font-size: 14px; line-height: 1.55; flex: 1; }
.blog-card-meta {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  gap: 12px;
  font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(10, 15, 30, 0.06);
}
.testimonial-rating {
  color: var(--amber-500);
  margin-bottom: 14px;
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 15.5px;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--slate-100);
  padding-top: 18px;
}
.testimonial-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px white, 0 0 0 3px var(--slate-200);
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--ink); font-family: var(--font-display); letter-spacing: -0.015em; }
.testimonial-role { font-size: 12px; color: var(--slate-500); margin-top: 2px; }

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo-900) 100%);
  color: white;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 700px at 20% 0%, rgba(139, 92, 246, 0.35), transparent 55%),
    radial-gradient(circle 500px at 80% 100%, rgba(236, 72, 153, 0.2), transparent 55%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  position: relative;
  line-height: 1.15;
  color: white;
}
.cta-band p {
  font-size: 18px;
  opacity: 0.82;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  line-height: 1.55;
}
.cta-band .btn {
  position: relative;
  background: white;
  color: var(--ink);
}
.cta-band .btn:hover { background: var(--slate-100); transform: translateY(-1px); color: var(--ink); }

/* ========== FOOTER ========== */
.site-footer {
  background: white;
  color: var(--slate-600);
  padding: 80px 0 32px;
  font-size: 14px;
  border-top: 1px solid var(--slate-100);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--slate-500); max-width: 300px; line-height: 1.55; margin-top: 16px; font-size: 13.5px; }
.footer-col h4 {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--slate-600); font-size: 13.5px; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--slate-100);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--slate-500);
  font-size: 12.5px;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--slate-500);
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}
.breadcrumb a { color: var(--slate-500); transition: color var(--transition); font-weight: 500; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; color: var(--slate-300); }

/* ========== FAQ ========== */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 0 0 1px rgba(10, 15, 30, 0.06);
}
.faq-item:hover { box-shadow: 0 0 0 1px rgba(10, 15, 30, 0.12); }
.faq-item[open] { box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--slate-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0f1e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-color: var(--indigo-100);
}
.faq-item p {
  padding: 0 24px 20px;
  color: var(--slate-600);
  line-height: 1.65;
  font-size: 14.5px;
}

/* ========== MISC ========== */
.bg-gray { background: var(--slate-50); }
.bg-mesh {
  background:
    radial-gradient(ellipse 800px 500px at 0% 0%, rgba(139, 92, 246, 0.06), transparent 50%),
    radial-gradient(ellipse 600px 400px at 100% 100%, rgba(99, 102, 241, 0.06), transparent 50%),
    var(--slate-50);
}
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.divider {
  height: 1px;
  background: var(--slate-100);
  margin: 48px 0;
}

.compare-wrap::-webkit-scrollbar { height: 8px; }
.compare-wrap::-webkit-scrollbar-track { background: var(--slate-100); }
.compare-wrap::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 4px; }
.compare-wrap::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s var(--ease) forwards; }

/* Tabular numbers for prices */
.tnum { font-feature-settings: 'tnum'; font-variant-numeric: tabular-nums; }
