/* ═══════════════════════════════════════════════════════════════════
   HippieTV — thème inspiré de 1Password : clair, sobre, fonctionnel
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ── Couleurs ─────────────────────────────────────────────────── */
  --bg-base:        #FFFFFF;
  --bg-alt:         #F4F6FA;          /* sections alternées */
  --surface:        #FFFFFF;          /* cartes */
  --surface-2:      #F8FAFC;
  --border:         #E4E8F0;
  --border-strong:  #D0D7E2;

  /* Texte */
  --text-primary:   #0A2540;          /* bleu nuit profond */
  --text-soft:      #2C3E58;
  --text-muted:     #5A6B7B;
  --text-faint:     #8895A7;

  /* Accents (un seul accent — bleu de marque) */
  --primary:        #0572EC;
  --primary-hover:  #0461C9;
  --primary-soft:   #E8F1FE;
  --success:        #16A34A;
  --warning:        #C2410C;

  /* ── Typographie ──────────────────────────────────────────────── */
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ── Spacing scale ────────────────────────────────────────────── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* ── Tailles texte ────────────────────────────────────────────── */
  --fs-xs:    0.8125rem;
  --fs-sm:    0.9375rem;
  --fs-base:  1rem;
  --fs-lg:    1.125rem;
  --fs-xl:    1.375rem;
  --fs-2xl:   1.75rem;
  --fs-3xl:   2.25rem;
  --fs-4xl:   3rem;
  --fs-5xl:   3.75rem;

  /* ── Layout ───────────────────────────────────────────────────── */
  --content-max:   1200px;
  --content-pad:   max(1.5rem, env(safe-area-inset-left));
  --radius-sm:     6px;
  --radius:        8px;
  --radius-lg:     12px;
}

/* ═══════════════════════════════════════════════════════════════════
   Reset minimal
   ═══════════════════════════════════════════════════════════════════ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100dvh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

::selection {
  background: var(--primary-soft);
  color: var(--text-primary);
}
