﻿/* ═══════════════════════════════════════════════════
   ABSOLUTION — Theme V3 "ARC ÉLECTRIQUE"
   Espace · Foudre · Bleu électrique · Profondeur
   Inspiré du logo : bleu arc / profondeur stellaire
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

:root {
  /* ── Primaire — Bleu arc électrique ── */
  --elec:             #1B9FE8;   /* bleu électrique vif — arc principal */
  --elec-light:       #42BDFF;   /* halo lumineux */
  --elec-bright:      #90D9FF;   /* éclat blanc-bleu */
  --elec-dim:         #0B5A8C;
  --cyan:             #00D4F5;   /* cyan arc — flash secondaire */
  --cyan-dim:         #0D4E6A;

  /* ── Prestige — Ambre / Or ── */
  --gold:             #92400E;
  --gold-light:       #D97706;
  --gold-bright:      #F59E0B;
  --gold-dim:         #451A03;

  /* ── Danger / SWTOR ── */
  --red:              #DC2626;
  --red-light:        #F87171;
  --red-dim:          #7F1D1D;

  /* ── Acier ── */
  --silver:           #CBD5E1;
  --silver-dim:       #64748B;
  --steel:            #1E3A5F;

  /* ── Success ── */
  --success:          #059669;
  --success-light:    #34D399;

  /* ── Fonds — espace profond ── */
  --bg:               #080D1A;   /* espace — moins noir, plus bleu stellaire */
  --bg-2:             #0C1325;
  --bg-3:             #12203A;
  --bg-4:             #182C4A;

  /* ── Textes ── */
  --txt:              #EEF7FF;
  --txt-2:            #6DCEFF;   /* plus vif, arc électrique */
  --txt-3:            #4A6380;   /* légèrement plus lisible sur fond clair */
  --txt-4:            #1E3050;

  /* ── Bordures ── */
  --bdr:              rgba(27,159,232,0.14);
  --bdr-elec:         rgba(27,159,232,0.50);
  --bdr-strong:       rgba(66,189,255,0.65);
  --bdr-cyan:         rgba(0,212,245,0.32);

  /* ── Typographie ── */
  --display:          'Bebas Neue', sans-serif;
  --body:             'Outfit', sans-serif;
  --font:             'Outfit', sans-serif;

  /* ── Misc ── */
  --radius:           2px;
  --nav-h:            60px;
  --transition:       0.16s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Shadows & Glows — intensifiés arc électrique ── */
  --shadow:           0 8px 40px rgba(0,0,0,0.80);
  --glow-elec:        0 0 32px rgba(27,159,232,0.55), 0 0 8px rgba(66,189,255,0.30);
  --glow-cyan:        0 0 28px rgba(0,212,245,0.45);
  --glow-red:         0 0 28px rgba(220,38,38,0.40);
  --glow-sm:          0 0 14px rgba(27,159,232,0.28);
  --glow-gold:        0 0 28px rgba(217,119,6,0.35);

  /* ── Aliases compatibilité ── */
  --blue:             #1B9FE8;
  --blue-light:       #42BDFF;
  --blue-dark:        #0B5A8C;
  --violet:           #1B9FE8;
  --color-primary:    #1B9FE8;
  --color-secondary:  #DC2626;
  --color-accent:     #00D4F5;
  --color-tertiary:   #90D9FF;
  --color-success:    #34D399;
  --bg-base:          #080D1A;
  --bg-surface:       #0C1325;
  --bg-card:          #0C1325;
  --bg-card-hover:    #12203A;
  --text-primary:     #EEF7FF;
  --text-secondary:   #6DCEFF;
  --text-muted:       #4A6380;
  --text-dim:         #0E1E38;
  --border:           rgba(27,159,232,0.14);
  --border-strong:    rgba(27,159,232,0.50);
  --shadow-blue:      0 0 32px rgba(27,159,232,0.55), 0 0 8px rgba(66,189,255,0.30);
  --shadow-red:       0 0 28px rgba(220,38,38,0.40);
  --shadow-gold:      0 0 28px rgba(217,119,6,0.35);
  --shadow-crimson:   0 0 28px rgba(220,38,38,0.40);
  --crimson:          #DC2626;
  --crimson-light:    #F87171;
  --crimson-bright:   #FCA5A5;
  --cream:            #D6EFFF;
  --glass-bg:         #080D1A;
  --glass-border:     rgba(27,159,232,0.14);
  --glass-inset:      inset 0 1px 0 rgba(66,189,255,0.07);
  --glass-blur:       blur(0px);
  --ease:             0.16s cubic-bezier(0.4,0,0.2,1);
  --bdr-gold:         rgba(217,119,6,0.40);
  --success-light:    #34D399;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background-color: var(--bg);
  /* Grille étoilée + nébuleuse bleue */
  background-image:
    radial-gradient(circle, rgba(42,189,255,0.045) 1px, transparent 1px),
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(27,159,232,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 85%, rgba(0,212,245,0.045) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 15% 70%, rgba(27,80,180,0.06) 0%, transparent 55%);
  background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  color: var(--txt);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Pas de grain / scanlines en V3 ── */

/* ── Arc électrique — halo central haut ── */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60vh;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(27,159,232,0.13) 0%,
    rgba(0,212,245,0.055) 35%,
    rgba(27,80,180,0.03) 60%,
    transparent 75%);
  pointer-events: none;
  z-index: 0;
}

#bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.85;
}

/* ── Grain analogique — texture de bruit ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  background-repeat: repeat;
}

nav, header, main, section, footer, div, article {
  position: relative; z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.0;
  color: var(--txt);
}

a { text-decoration: none; color: inherit; }

p {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--txt-3);
  line-height: 1.75;
}

input, textarea, select {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--txt);
  background: var(--bg-3);
  border: 1px solid var(--bdr);
  border-radius: 0;
  padding: 0.65rem 1rem;
  width: 100%; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--elec);
  box-shadow: 0 0 0 2px rgba(27,111,232,0.15), var(--glow-sm);
}
::placeholder { color: var(--txt-4); }
select option { background: var(--bg-3); }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(27,111,232,0.4); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--elec); }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
  position: relative; overflow: hidden;
}
/* Ligne électrique en bas */
.btn::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.15); transition: background var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.3); }

.btn-primary {
  background: var(--elec);
  color: #E0F2FE;
  box-shadow: 0 2px 16px rgba(14,165,233,0.30);
}
.btn-primary:hover {
  background: var(--elec-light);
  box-shadow: var(--glow-elec);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--red-light);
  border: 1px solid rgba(220,38,38,0.40);
}
.btn-secondary:hover {
  background: rgba(220,38,38,0.08);
  border-color: var(--red-light);
  box-shadow: var(--glow-red);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--txt-2);
  border: 1px solid var(--bdr);
}
.btn-ghost:hover {
  border-color: var(--bdr-elec);
  color: var(--txt);
  background: rgba(27,111,232,0.06);
}
.btn-outline {
  background: transparent;
  color: var(--elec-light);
  border: 1px solid var(--bdr-elec);
}
.btn-outline:hover {
  background: rgba(27,111,232,0.1);
  border-color: var(--elec-light);
  box-shadow: var(--glow-sm);
}


