/* ================================================================
   MAIN.CSS - Design System Global
   Formation Artificier
   ================================================================ */

/* ── 1. RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }
::selection { background: var(--accent-fire); color: #fff; }

/* Accessibilité : focus visible */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 2. TOKENS DE DESIGN ──────────────────────────────────────── */
:root {
  /* Couleurs */
  --bg-primary:       #F8FAFC;
  --bg-secondary:     #FFFFFF;
  --bg-card:          #FFFFFF;
  --bg-card-hover:    #f1f5f9;
  --border-color:     rgba(0,0,0,0.05);
  --border-glow:      rgba(0,169,165,0.3);

  --accent-fire:      #E91E63; /* Pyrodream Accent */
  --accent-gold:      #00A9A5; /* Pyrodream Primary */
  --accent-green:     #10B981; /* Pyrodream Success */
  --accent-blue:      #48CFCB; /* Pyrodream Primary Light */
  --accent-purple:    #FF4081; /* Pyrodream Accent Light */

  --text-primary:     #1D2433; /* Pyrodream Dark */
  --text-secondary:   #334155; /* Pyrodream Text */
  --text-muted:       #64748B; /* Pyrodream Text Muted */

  --success:          #10B981;
  --error:            #EF4444;
  --warning:          #00A9A5;

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

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Ombres */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.6);
  --shadow-fire: 0 0 30px rgba(230,57,70,0.25);
  --shadow-gold: 0 0 30px rgba(244,161,0,0.25);

  /* Header */
  --header-h: 72px;
  --topbar-h: 36px;
}

/* ── 3. TYPOGRAPHIE ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.display-font { font-family: 'Bebas Neue', cursive; letter-spacing: 0.05em; }
.mono-font    { font-family: 'Rajdhani', sans-serif; letter-spacing: 0.03em; }

.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 2rem; }
.text-4xl  { font-size: 2.5rem; }
.text-5xl  { font-size: 3.5rem; }
.text-6xl  { font-size: 5rem; }

.text-muted    { color: var(--text-secondary); }
.text-fire     { color: var(--accent-fire); }
.text-gold     { color: var(--accent-gold); }
.text-gradient {
  color: var(--accent-gold);
}

/* ── 4. LAYOUT ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide { max-width: 1440px; }
.container--narrow { max-width: 800px; }

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

.section--sm  { padding: var(--space-2xl) 0; }
.section--lg  { padding: calc(var(--space-3xl) * 1.5) 0; }

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-md);
}

.section__tag::before,
.section__tag::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-sm       { gap: var(--space-sm); }
.gap-md       { gap: var(--space-md); }
.gap-lg       { gap: var(--space-lg); }

/* ── 5. TOPBAR ────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.78rem;
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.topbar__link:hover { color: var(--accent-gold); }

.topbar__badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  border: 1px solid rgba(244,161,0,0.3);
  border-radius: var(--radius-sm);
  padding: 1px 8px;
}

/* ── 6. HEADER ────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 169, 165, 0.1);
  border: 1px solid rgba(244,161,0,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.header__logo:hover .logo-icon {
  background: rgba(0, 169, 165, 0.2);
  box-shadow: var(--shadow-gold);
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-family: 'Bebas Neue', cursive; font-size: 1.4rem; letter-spacing: 0.08em; color: var(--text-primary); }
.logo-subtitle { font-family: 'Rajdhani', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-gold); }

/* Navigation */
.nav { flex: 1; display: flex; justify-content: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
  background: rgba(0,0,0,0.05);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav__chevron { transition: transform var(--transition-fast); }

/* Dropdown */
.nav__item--dropdown { position: relative; }

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav__item--dropdown:hover .nav__chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  transform: translateX(-50%) rotate(45deg);
}

.dropdown__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown__link:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.05);
}

.dropdown__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 20px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.burger[aria-expanded="true"] .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay nav mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  backdrop-filter: blur(4px);
}

.nav-overlay.active { display: block; }

/* ── 7. BOUTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 11px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before { opacity: 1; }

.btn:active { transform: scale(0.97); }

/* Primary */
.btn--primary {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: transparent;
}

.btn--primary:hover {
  box-shadow: 0 0 24px rgba(244,161,0,0.4);
  transform: translateY(-1px);
}

/* Fire */
.btn--fire {
  background: var(--accent-fire);
  color: #fff;
  border-color: transparent;
}

.btn--fire:hover {
  box-shadow: 0 0 24px rgba(230,57,70,0.4);
  transform: translateY(-1px);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn--outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Ghost */
.btn--ghost {
  background: rgba(0,0,0,0.05);
  color: var(--text-primary);
  border-color: transparent;
}

.btn--ghost:hover { background: rgba(0,0,0,0.1); }

/* Tailles */
.btn--sm { padding: 7px 16px; font-size: 0.8rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--xl { padding: 16px 40px; font-size: 1.1rem; }

/* ── 8. CARTES ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(244,161,0,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__body { padding: var(--space-lg); }
.card__footer { padding: var(--space-md) var(--space-lg); border-top: 1px solid var(--border-color); }

/* ── 9. BADGES ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge--gold    { background: rgba(244,161,0,0.15); color: var(--accent-gold); border: 1px solid rgba(244,161,0,0.3); }
.badge--fire    { background: rgba(230,57,70,0.15);  color: var(--accent-fire);  border: 1px solid rgba(230,57,70,0.3);  }
.badge--cyan    { background: rgba(46,196,182,0.15); color: var(--accent-cyan);  border: 1px solid rgba(46,196,182,0.3); }
.badge--outline { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-color); }

/* ── 10. FORMULAIRES ──────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-md); }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(244,161,0,0.15);
}

.form-control::placeholder { color: var(--text-muted); }

.form-control.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(230,57,70,0.15); }
.form-control.success { border-color: var(--success); }

.form-error { font-size: 0.8rem; color: var(--error); margin-top: 4px; }
.form-success { font-size: 0.8rem; color: var(--success); margin-top: 4px; }

textarea.form-control { resize: vertical; min-height: 120px; }

/* ── 11. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(230,57,70,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(244,161,0,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 20% 60%, rgba(46,196,182,0.03) 0%, transparent 50%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(244,161,0,0.1);
  border: 1px solid rgba(244,161,0,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-lg);
}

.hero__dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.hero__title span { color: var(--accent-fire); }

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
}

.hero__stat-value {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--text-primary);
}

.hero__stat-value span { color: var(--accent-gold); }

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── 12. ANIMATIONS SCROLL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 13. SÉPARATEUR ───────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 3px;
  margin: var(--space-md) auto;
}

.divider--left { margin-left: 0; }

/* ── 14. NOTIFICATIONS ─────────────────────────────────────────── */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.alert--success { background: rgba(46,196,182,0.1); border-color: var(--success); color: var(--success); }
.alert--error   { background: rgba(230,57,70,0.1);  border-color: var(--error);   color: var(--error); }
.alert--warning { background: rgba(244,161,0,0.1);  border-color: var(--warning); color: var(--warning); }

/* ── 15. FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer__wave {
  height: 0;
  overflow: hidden;
}

.footer__main {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer__badges { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer__links { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer__link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__link:hover { color: var(--accent-gold); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__contact p {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer__contact svg { color: var(--accent-gold); flex-shrink: 0; }

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(244,161,0,0.1);
}

.footer__bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__bottom nav {
  display: flex;
  gap: var(--space-lg);
}

/* ── 16. UTILITAIRES ──────────────────────────────────────────── */
.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;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.w-full  { width: 100%; }
.h-full  { height: 100%; }
.hidden  { display: none !important; }

/* ── 17. SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #2a2a38; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* ── 18. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .topbar__right { display: none; }

  /* Navigation mobile */
  .nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    bottom: 0;
    width: min(320px, 90vw);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    z-index: 1000;
    padding: var(--space-lg);
  }

  .nav.open { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }

  .nav__link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav__item--dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 var(--space-md);
    display: none;
  }

  .nav__item--dropdown.open .dropdown { display: block; }
  .nav__item--dropdown.open .nav__chevron { transform: rotate(180deg); }

  .dropdown::before { display: none; }

  .header__actions { display: none; }
  .burger { display: flex; }

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

  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--brand { grid-column: 1; }

  .hero__stats { gap: var(--space-lg); flex-wrap: wrap; }
  .hero__stat-value { font-size: 2rem; }

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

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero__title { font-size: clamp(2.8rem, 10vw, 5rem); }
  .btn--xl { padding: 14px 28px; font-size: 1rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
