/* ═══════════════════════════════════════════════════════════════════════
   DAO UNIVERSALIS — Design System Global
   Palette : noir profond · orange #F97316 · vert #22C55E · or #EAB308
   Police : Bricolage Grotesque (display) + Instrument Sans (corps)
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  /* Fond */
  --bg:          #070810;
  --bg-1:        #0d0e1a;
  --bg-2:        #131525;
  --bg-3:        #1a1c30;
  --bg-card:     #161829;
  --bg-card2:    #1d2038;

  /* Bordures */
  --bord:        #1e2240;
  --bord2:       #2a2f58;
  --bord3:       #363c6a;

  /* Texte */
  --txt:         #f0f2ff;
  --txt-2:       #9ba3cc;
  --txt-3:       #5a6290;

  /* Accents principaux */
  --orange:      #F97316;
  --orange-l:    #fb923c;
  --orange-s:    rgba(249,115,22,0.12);
  --orange-ss:   rgba(249,115,22,0.06);
  --green:       #22C55E;
  --green-l:     #4ade80;
  --green-s:     rgba(34,197,94,0.12);
  --green-ss:    rgba(34,197,94,0.06);
  --gold:        #EAB308;
  --gold-l:      #facc15;
  --gold-s:      rgba(234,179,8,0.12);

  /* Secondaires */
  --purple:      #8b5cf6;
  --purple-s:    rgba(139,92,246,0.12);
  --blue:        #3b82f6;
  --pink:        #ec4899;

  /* Espacements */
  --section-py:  clamp(80px, 10vw, 120px);
  --container:   1100px;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── BACKGROUND GLOBAL ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 15% -5%, rgba(249,115,22,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 105%, rgba(34,197,94,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(139,92,246,0.04) 0%, transparent 60%);
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  position: relative; z-index: 1;
}

/* ── TYPOGRAPHY ── */
.display {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(44px, 7vw, 80px); }
h2 { font-size: clamp(32px, 5vw, 52px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(16px, 2vw, 20px); }
p  { color: var(--txt-2); font-size: 16px; line-height: 1.75; }

/* ── GRADIENT TEXTS ── */
.grad-orange {
  background: linear-gradient(135deg, var(--orange-l), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-green {
  background: linear-gradient(135deg, var(--green-l), var(--green));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-full {
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 50%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.1px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn-primary:hover {
  background: var(--orange-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.45);
}
.btn-secondary {
  background: var(--green-s);
  color: var(--green-l);
  border: 1px solid rgba(34,197,94,0.3);
}
.btn-secondary:hover {
  background: rgba(34,197,94,0.18);
  border-color: var(--green);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--txt-2);
  border: 1px solid var(--bord2);
}
.btn-outline:hover {
  border-color: var(--bord3);
  color: var(--txt);
  background: var(--bg-2);
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--bord2); }
.card-glow:hover {
  border-color: var(--orange);
  box-shadow: 0 0 32px rgba(249,115,22,0.08);
}

/* ── SECTION LABEL ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  color: var(--orange); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px;
  background: var(--orange); border-radius: 1px;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bord2), transparent);
  margin: 0;
}

/* ── PILL / TAG ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
}
.pill-orange { background: var(--orange-s); border: 1px solid rgba(249,115,22,0.3); color: var(--orange-l); }
.pill-green  { background: var(--green-s);  border: 1px solid rgba(34,197,94,0.3);  color: var(--green-l); }
.pill-gold   { background: var(--gold-s);   border: 1px solid rgba(234,179,8,0.3);  color: var(--gold-l); }
.pill-purple { background: var(--purple-s); border: 1px solid rgba(139,92,246,0.3); color: #a78bfa; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.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; }

/* ── NOISE TEXTURE OVERLAY ── */
.noise::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.5; z-index: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --section-py: 60px; }
}
@media (max-width: 480px) {
  :root { --section-py: 48px; }
  .btn { padding: 11px 22px; font-size: 14px; }
}
