/* =============================================================
   ActuTech.be — main.css
   Tokens · Reset · Base · Animations
   ============================================================= */

/* --- DESIGN TOKENS --- */
:root {
  /* === FONDS === */
  --color-bg-dark:       #0F1E3C;
  --color-bg-icon:       #162448;
  --color-bg-card:       #111D35;
  --color-bg-ticker:     #0B1628;
  --color-bg-surface:    #0B1628;

  /* === ACCENT === */
  --color-amber:         #F59E0B;
  --color-amber-12:      rgba(245, 158, 11, 0.12);
  --color-amber-08:      rgba(245, 158, 11, 0.08);
  --color-amber-25:      rgba(245, 158, 11, 0.25);
  --color-amber-15:      rgba(245, 158, 11, 0.15);
  --color-amber-10:      rgba(245, 158, 11, 0.10);

  /* === CATÉGORIES === */
  --color-ia:            #F59E0B;
  --color-sante:         #FF4D6D;
  --color-espace:        #9B8DFF;
  --color-env:           #1FCC8A;

  /* === TEXTE === */
  --color-text-white:    #FFFFFF;
  --color-text-60:       rgba(255, 255, 255, 0.60);
  --color-text-35:       rgba(255, 255, 255, 0.35);
  --color-text-30:       rgba(255, 255, 255, 0.30);
  --color-text-18:       rgba(255, 255, 255, 0.18);

  /* === BORDURES === */
  --color-border:        rgba(255, 255, 255, 0.06);
  --color-border-amber:  rgba(245, 158, 11, 0.15);

  /* === TYPOGRAPHIE === */
  --font-display:        'Syne', sans-serif;
  --font-mono:           'Space Mono', monospace;
  --font-body:           'Source Sans 3', system-ui, sans-serif;

  /* === RAYONS === */
  --radius-xs:  2px;
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  8px;
  --radius-xl:  12px;
  --radius-2xl: 16px;
  --radius-app: 20px;

  /* === ESPACEMENTS === */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   14px;
  --space-lg:   24px;
  --space-xl:   36px;
  --space-2xl:  48px;

  /* === TRANSITIONS === */
  --transition:      0.2s ease;
  --transition-slow: 0.35s ease;
}

/* --- RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- BASE --- */
/* !important nécessaire pour neutraliser body{background:#fff} injecté par WP Global Styles */
html,
body {
  background: var(--color-bg-dark) !important;
  color: var(--color-text-white) !important;
}

body {
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Neutralise les backgrounds blancs injectés par WP (Gutenberg global styles) */
.wp-site-blocks,
.entry-content,
.wp-block-group,
.wp-block-post-content {
  background: transparent !important;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: clamp(1.5rem, 4vw, 1.75rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.1rem, 3vw, 1.25rem); letter-spacing: -0.3px; }
h3 { font-size: 0.9rem; font-weight: 700; }
h4 { font-size: 0.825rem; font-weight: 700; }

p {
  line-height: 1.65;
  color: var(--color-text-60);
}

/* --- ANIMATION TICKER --- */
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- SCROLLBAR (dark) --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
