/* ═══════════════════════════════════════
   IAZO — Feuille de style partagée
   Palette : Noir / Blanc uniquement
═══════════════════════════════════════ */

:root {
  --bg:      #000000;
  --bg2:     #0a0a0a;
  --bg3:     #111111;
  --bg4:     #181818;
  --text:    #ffffff;
  --text2:   #cccccc;
  --muted:   #777777;
  --muted2:  #444444;
  --border:  rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.18);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── STARS ─── */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

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

.nav-logo img {
  height: 100px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: color .2s, background .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-links .btn-nav {
  margin-left: 0.6rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--text);
  border-radius: 7px;
  color: var(--bg) !important;
  background: var(--text) !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: background .2s, color .2s, transform .15s !important;
}

.nav-links .btn-nav:hover {
  background: var(--bg) !important;
  color: var(--text) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  letter-spacing: 0.03em;
  border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-white {
  background: #ffffff;
  color: #000000;
}
.btn-white:hover {
  background: #dddddd;
  box-shadow: 0 4px 24px rgba(255,255,255,0.18);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.7);
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { position: relative; z-index: 1; }

/* ─── SECTION HEADERS ─── */
.section-eyebrow {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 3.5rem;
}

/* ─── DIVIDER ─── */
.divider {
  width: 40px; height: 2px;
  background: var(--text);
  margin: 0 auto 2rem;
  opacity: 0.2;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}
footer a { color: var(--text2); text-decoration: none; }
footer a:hover { color: var(--text); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-logo img { height: 100px; opacity: .6; mix-blend-mode: screen; }

/* ─── FADE-UP ANIMATION ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; }
.anim.visible { animation: fadeUp .5s ease both; }

/* ─── MOBILE ─── */
@media (max-width: 720px) {
  /* Nav — on supprime le backdrop-filter sinon position:fixed des enfants
     se cale sur le nav au lieu du viewport (bug navigateurs mobiles) */
  nav {
    padding: 0 1.2rem;
    height: 64px;
    backdrop-filter: none;
    background: rgba(0,0,0,0.96);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: #000;
    padding: 1.5rem 1.2rem 2rem;
    gap: 0;
    align-items: stretch;
    z-index: 300;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    font-size: 1.05rem;
    padding: 1rem 0.5rem;
    width: 100%;
    color: var(--text2);
    border-bottom: 1px solid var(--border);
    background: none;
  }
  .nav-links a.active { color: #fff; }

  .nav-links li:last-child { margin-top: 1.2rem; }
  .nav-links .btn-nav {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem !important;
    border-radius: 8px;
    background: #fff !important;
    color: #000 !important;
    font-weight: 700;
    border-bottom: none !important;
    margin-left: 0;
  }

  .hamburger { display: flex; }

  /* Layout */
  .container { padding: 0 1rem; }

  /* Section headers */
  .section-title { font-size: 1.7rem; }
  .section-sub { font-size: 0.92rem; margin-bottom: 2rem; }

  /* Buttons */
  .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
  .footer-logo { margin: 0 auto; }
  .footer-logo img { height: 22px; }
}

@media (max-width: 480px) {
  nav { padding: 0 1rem; }
  .nav-logo img { height: 50px; }
  .section-title { font-size: 1.5rem; }
}
