/* ============================================================
   VETLEE — Design System Global
   Département IA d'eTeamsys
   ============================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
  /* Backgrounds */
  --bg-primary:    #080a0e;
  --bg-secondary:  #0d0f14;
  --bg-card:       #111318;
  --bg-card-hover: #161920;
  --bg-surface:    #1a1d25;

  /* Borders */
  --border-subtle:  rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.1);
  --border-accent:  rgba(0, 210, 255, 0.35);
  --border-violet:  rgba(124, 92, 252, 0.35);

  /* Text */
  --text-primary:   #f0f2f5;
  --text-secondary: #8a95a3;
  --text-muted:     #525a65;
  --text-caption:   #00d2ff;

  /* Accents */
  --accent-cyan:   #00d2ff;
  --accent-violet: #7c5cfc;
  --accent-blue:   #0095e8;
  --accent-green:  #10b981;
  --accent-amber:  #f59e0b;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #00d2ff 0%, #7c5cfc 100%);
  --gradient-glow:   radial-gradient(ellipse at 50% 0%, rgba(0,210,255,0.12) 0%, transparent 70%);
  --gradient-subtle: linear-gradient(180deg, rgba(0,210,255,0.04) 0%, transparent 100%);
  --gradient-hero:   radial-gradient(ellipse at 30% 50%, rgba(0,210,255,0.08) 0%, transparent 60%),
                     radial-gradient(ellipse at 70% 30%, rgba(124,92,252,0.06) 0%, transparent 60%);

  /* Typography */
  --font-primary: 'Inter', 'Manrope', -apple-system, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-card:  0 1px 3px rgba(0,0,0,0.5), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow:  0 0 40px rgba(0, 210, 255, 0.12);
  --shadow-glow-strong: 0 0 60px rgba(0, 210, 255, 0.25);
  --shadow-violet-glow: 0 0 40px rgba(124, 92, 252, 0.2);

  /* Transitions */
  --transition-fast:    0.15s ease;
  --transition-default: 0.25s ease;
  --transition-slow:    0.4s ease;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 72px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Typography Scale ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -0.01em; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }

p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

img { max-width: 100%; height: auto; display: block; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

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

/* ─── Section Base ─── */
section {
  padding: var(--space-3xl) 0;
  position: relative;
}

section.section--sm {
  padding: var(--space-xl) 0;
}

section.section--lg {
  padding: 160px 0;
}

/* ─── Section Label / Tag ─── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: var(--space-md);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Section Header ─── */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header .subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: var(--space-sm);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-default);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-cyan);
  color: #040608;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 rgba(0,210,255,0);
}

.btn--primary:hover {
  background: #00e8ff;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--accent-cyan);
  border-color: rgba(0, 210, 255, 0.4);
}

.btn--secondary:hover {
  background: rgba(0, 210, 255, 0.06);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-default);
  background: rgba(255,255,255,0.04);
}

.btn--lg {
  font-size: 16px;
  padding: 16px 40px;
}

.btn--sm {
  font-size: 13px;
  padding: 10px 20px;
}

/* ─── Cards ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-default);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.card--violet:hover {
  border-color: var(--border-violet);
  box-shadow: var(--shadow-violet-glow);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card__icon--cyan { background: rgba(0, 210, 255, 0.1); color: var(--accent-cyan); }
.card__icon--violet { background: rgba(124, 92, 252, 0.1); color: var(--accent-violet); }
.card__icon--green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.card__icon--amber { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.card__icon--blue { background: rgba(0, 149, 232, 0.1); color: var(--accent-blue); }

.card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-default);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 10, 14, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1;
}

.site-logo__tagline {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.nav-link.active {
  color: var(--accent-cyan);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all var(--transition-default);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(8, 10, 14, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 24px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  font-size: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.mobile-nav .btn {
  margin-top: 16px;
  justify-content: center;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* AI Abstract Visual */
.ai-visual {
  position: relative;
  width: 480px;
  height: 480px;
}

/* Page Hero (non-homepage) */
.page-hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 400px;
  background: radial-gradient(ellipse at 50% -20%, rgba(0,210,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
  margin-top: 20px;
}

/* ─── Divider ─── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  position: relative;
}

.divider::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

/* ─── Stats Row ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-card);
  padding: 40px 32px;
  transition: all var(--transition-default);
}

.stat-item:hover {
  background: var(--bg-card-hover);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Grid Layouts ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

/* ─── Step / Process ─── */
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step-item {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition-default);
}

.step-item:hover {
  background: var(--bg-card-hover);
}

.step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--border-subtle);
  line-height: 1;
  letter-spacing: -0.03em;
  position: absolute;
  top: 24px;
  right: 28px;
  background: linear-gradient(180deg, var(--border-default) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── CTA Section ─── */
.cta-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,210,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  max-width: 640px;
  margin: 0 auto 20px;
}

.cta-section .subtitle {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--text-secondary);
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand .site-logo__name {
  font-size: 20px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}

.footer-contact {
  margin-top: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-contact-item i {
  color: var(--accent-cyan);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Badge / Trust ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-md);
}

/* ─── Gradient Text ─── */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Highlight line ─── */
.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ─── Checklist ─── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(0,210,255,0.1);
  color: var(--accent-cyan);
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

/* ─── Feature Points ─── */
.feature-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.feature-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-point__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0,210,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 16px;
  flex-shrink: 0;
}

.feature-point__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-point__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── AI Dots Visual ─── */
.ai-dots {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* ─── Background Decorations ─── */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.bg-glow--cyan {
  background: rgba(0, 210, 255, 0.06);
}

.bg-glow--violet {
  background: rgba(124, 92, 252, 0.06);
}

/* ─── Partners ─── */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.partner-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-badge:hover { color: var(--text-secondary); }

.partner-badge i {
  font-size: 16px;
}

/* ─── Number Badge ─── */
.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.number-badge--cyan {
  background: rgba(0,210,255,0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0,210,255,0.2);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cta-section {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 80px;
    --space-2xl: 60px;
    --space-xl: 48px;
  }

  h1 { font-size: 34px; }
  h2 { font-size: 26px; }

  .site-nav, .header-cta .btn:not(.btn--primary) {
    display: none;
  }

  .hamburger { display: flex; }

  .header-cta {
    gap: 8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-section {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .feature-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 28px 20px;
  }

  .btn--lg {
    font-size: 15px;
    padding: 14px 28px;
  }
}
