/* ═══════════════════════════════════════════════
   2GL — Guilde Gaming Linux
   style.css — feuille de style globale
════════════════════════════════════════════════ */

:root {
  --teal:        #008080;
  --teal-bright: #00b3b3;
  --teal-dim:    #004d4d;
  --teal-glow:   rgba(0,128,128,0.18);
  --bg:          #080c0c;
  --bg2:         #0d1414;
  --bg3:         #111b1b;
  --text:        #d4eaea;
  --text-muted:  #6a9090;
  --border:      rgba(0,128,128,0.22);
  --font-display:'Oxanium', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

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

body {
  background:    var(--bg);
  color:         var(--text);
  font-family:   var(--font-body);
  font-weight:   300;
  line-height:   1.7;
  overflow-x:    hidden;
}

/* noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 72px;
  background: rgba(8,12,12,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo svg {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal-bright); }

/* ── BOUTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border: 1px solid var(--teal);
  color: var(--teal-bright);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  z-index: -1;
}

.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--bg); box-shadow: 0 0 24px rgba(0,128,128,0.35); }

.btn-center { display: flex; justify-content: center; margin-top: 3rem; }

/* ── SECTIONS COMMUNES ── */
.section-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

h2 .accent { color: var(--teal-bright); }

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--teal), transparent);
  margin-bottom: 2.5rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.6;
}

.footer-logo svg { height: 28px; }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal-bright); }

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  footer { flex-direction: column; padding: 2rem 1.5rem; }
}
