/* ========================
   VARIABLES & BASE
======================== */
:root {
  --bar-h: 90px;                 /* hauteur header/footer */
  --max-w: 1200px;
  /*--bg: #ffffff;*/
  --text: #222222;
  --muted: #333333;
  --header-bg: rgba(255, 255, 255, 0.9);
  --footer-bg: rgba(255, 255, 255, 0.85);
  --link: inherit;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #f0f0f0;
    --muted: #dddddd;
    --header-bg: rgba(30, 30, 30, 0.85);
    --footer-bg: rgba(30, 30, 30, 0.85);
  }
}

/* Base typo + reset minimal */
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Roboto', sans-serif; /* ✅ Roboto partout */
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background: url("https://now.selektroma.fr/assets/imgs/bg.webp") center center / cover no-repeat;
}
h1, h2, h3, h4 {
  font-weight: 700;
  margin: 0.5em 0;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ========================
   HEADER & FOOTER FIXES
======================== */
#header, #footer {
  position: fixed;
  left: 0; width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
}
#header {
  top: 0;
  background: var(--header-bg);
}
#footer {
  bottom: 0;
  height: var(--bar-h);
  justify-content: center;
  background: var(--footer-bg);
  color: var(--text);
}

/* Contenu interne du header */
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem;
}

/* Logo (unique) */
.logo {
  display: inline-block;
  width: 60px;
  height: 60px;
  aspect-ratio: 1 / 1;
  background: url('https://now.selektroma.fr/assets/imgs/now-logo-bot.webp') center/contain no-repeat;
}
@media (prefers-color-scheme: dark) {
  .logo {
    background-image: url('https://now.selektroma.fr/assets/imgs/now-logo-wot.webp');
  }
}

/* Menu */
nav .menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
nav .menu a {
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text);
}

/* Timer du header */
.header-timer {
  font-weight: 700;
}

/* Adapter le conteneur plein écran au header/footer fixes */
.fullpage {
  padding-top: var(--bar-h);
  padding-bottom: var(--bar-h);
  box-sizing: border-box;
}

/* ========================
   CONTENU / SPÉCIFIQUES
======================== */
.section { text-align: center; }
.section {
  background: url("https://now.selektroma.fr/assets/imgs/bg.webp") center center / cover no-repeat;
}
h1 {
  font-size: 5em;      /* garde ton impact visuel */
  color: #fff;         /* si tu as des sections sombres */
  margin: 0;
}

/* Intro */
.intro {
  color: #000;
  background: rgba(255, 255, 255, 0.8); /* au lieu d'opacity globale */
}
.intro p,
.intro h1 {
  color: #000;
}
.colorized { color : #757575; }


/* Navigation dots / info menu (si utilisés) */
.fp-slidesNav.bottom { bottom: 100px; color: #000; }
#infoMenu li a { color: #fff; }
#section2 h1 { color: var(--muted); }

/* ========================
   ACCESSIBILITÉ / DÉTAILS
======================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
  :root { --bar-h: 72px; }
  .header-inner { gap: .5rem; }
  .logo { width: 48px; height: 48px; }
  nav .menu { gap: .75rem; }
  h1 { font-size: 2.5em; }
}
