/* ============================================
   RESET & VARIABLES GLOBALES — HPS
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--fi);
  background-color: var(--n900);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fs);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

/* ============================================
   CSS CUSTOM PROPERTIES — HPS Design System
   ============================================ */

:root {
  /* ── Backgrounds (dark) ── */
  --n900: #020C1B;
  --n800: #06152E;
  --n700: #0A1E3D;

  /* ── Bleus (action & identité) ── */
  --blue: #1352C4;
  --blue2: #1A6FF0;
  --blue3: #3B8BF5;
  --accent: #5DA3FF;

  /* ── Backgrounds (light) ── */
  --white: #FFFFFF;
  --off: #F0F5FF;
  --g50: #F7FAFF;
  --g100: #E8EEF8;

  /* ── Texte ── */
  --g300: #A0AEBF;
  --g500: #5A6677;
  --g700: #2D3748;

  /* ── Sémantique ── */
  --green: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* ── Typographie ── */
  --fs: 'Syne', sans-serif;
  --fi: 'Inter', sans-serif;
  --fn: 'Outfit', sans-serif;

  /* ── Easing ── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* ── Layout ── */
  --container: 1240px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --header-h: 72px;

  /* ── Border radius ── */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-pill: 20px;

  /* ── Transitions ── */
  --t-fast: 0.18s var(--ease);
  --t-base: 0.3s var(--ease);
  --t-slow: 0.65s var(--ease);
}

/* ── Utilitaires ── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-pad {
  padding: 4.5rem 0;
}

.section-pad--sm {
  padding: 3rem 0;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--fs);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  flex-shrink: 0;
  background: currentColor;
}

.eyebrow--light {
  color: var(--blue);
}

.eyebrow--dark {
  color: var(--accent);
}

/* Section title */
.section-title {
  font-family: var(--fs);
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

/* Visually hidden */
.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;
}

/* Data reveal (initial opacity — GSAP contrôle le transform) */
[data-reveal] {
  opacity: 0;
}
