/* ═══════════════════════════════════════════════════
   ABSOLUTION — Theme v3
   Palette dark spatial, police Exo 2 partout
═══════════════════════════════════════════════════ */

:root {
  --color-primary:    #48B8F0;
  --color-secondary:  #FF3A3A;
  --color-accent:     #F0C040;
  --color-success:    #4AE08A;

  --bg-base:          #070E1F;
  --bg-surface:       #0D1528;
  --bg-card:          #0D1528;
  --bg-card-hover:    #111D35;

  --text-primary:     #E8F4FF;
  --text-secondary:   #C8D8E8;
  --text-muted:       #6A82A0;
  --text-dim:         #3A5070;

  --border:           rgba(72,184,240,0.15);
  --border-strong:    rgba(72,184,240,0.35);

  --font:             'Exo 2', sans-serif;

  --glow-blue:        0 0 20px rgba(72,184,240,0.35);
  --glow-red:         0 0 20px rgba(255,58,58,0.35);
  --shadow:           0 8px 32px rgba(0,0,0,0.5);

  --nav-h:            60px;
  --ease:             0.2s ease;
}

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

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 40%, rgba(72,184,240,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 60%, rgba(255,58,58,0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--text-primary);
}

/* Liens — PAS de opacity, PAS de transition globale */
a { text-decoration: none; color: inherit; }

p { font-family: var(--font); color: var(--text-secondary); line-height: 1.75; }

input, textarea, select {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color var(--ease);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.06);
}
::placeholder { color: var(--text-muted); }
select option  { background: var(--bg-surface); }

::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: box-shadow var(--ease), transform var(--ease), background var(--ease);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary  { background: var(--color-primary);   color: var(--bg-base); }
.btn-secondary{ background: transparent; color: var(--color-secondary); border: 1px solid var(--color-secondary); }
.btn-ghost    { background: transparent; color: var(--text-muted);      border: 1px solid var(--border-strong); }
.btn-primary:hover  { box-shadow: var(--glow-blue); transform: translateY(-1px); }
.btn-secondary:hover{ box-shadow: var(--glow-red);  transform: translateY(-1px); }
.btn-ghost:hover    { color: var(--text-primary); border-color: var(--color-primary); }
