/* ══════════════════════════════════════
   RAIFLECTION — main.css
   Variables, base, nav, footer, global
══════════════════════════════════════ */

:root {
  --blue: #21345e;
  --blue-light: #2d4a85;
  --cyan: #00d4ff;
  --cyan-dim: rgba(0,212,255,0.15);
  --dark: #0a0a0f;
  --dark2: #111118;
  --dark3: #1a1a26;
  --white: #f0f2f8;
  --grey: #8892aa;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── SECTIONS COMMUNES ── */
section { padding: 100px 5%; }

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 20px;
}

.section-sub {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 0px;
}

.divider {
  width: 60px; height: 2px;
  background: var(--cyan);
  margin: 20px 0 40px;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BOUTONS GLOBAUX ── */
.btn-primary {
  background: var(--cyan);
  color: var(--dark);
  padding: 14px 34px;
  border: none;
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #00b8dc;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.3);
}

.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-ghost svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── NAV ── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,212,255,0.08);
}

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

.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 80px;
  height: 80px;
  position: relative;
  top: 8px;
}

.nav-logo-text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--white);
  line-height: 1;
}

.nav-logo-text span {
  color: var(--cyan);
  font-size: 1.6rem;
  padding: 3px 6px;
  border: 1.5px solid var(--cyan);
  border-radius: 4px;
  margin: 0 2px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}

.nav-logo-slogan {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
  white-space: normal;
  max-width: 170px;
  line-height: 1.3;
}

.nav-links {
  display: flex; gap: 32px; list-style: none;
}

.nav-links a {
  color: var(--grey);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 1.5px solid transparent;
  border-radius: 3px;
  padding: 8px 22px;
}

.nav-links a:hover {
  background: var(--cyan);
  color: var(--dark);
  border-color: var(--cyan);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-top: -36px;
}

.nav-burger span {
  display: block; width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* nav mobile menu */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px; left:0; right:0;
  background: rgba(10,10,15,0.97);
  padding: 32px 5%;
  gap: 20px;
  border-bottom: 1px solid rgba(0,212,255,0.1);
  backdrop-filter: blur(16px);
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: var(--grey);
}

.footer-logo span { color: var(--cyan); }

.footer-links {
  display: flex; gap: 28px; list-style: none;
}

.footer-links a {
  font-size: 1.0rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-copy { font-size: 0.78rem; color: var(--grey); opacity: 0.6; }

/* ── RESPONSIVE GLOBAL ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-logo-slogan { white-space: normal; max-width: 120px; line-height: 1.3; }
}
