/* ════════════════════════════════════════════════════════════════
   ARTSONIK — SYSTÈME GLOBAL
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #050505;
  --ink:       #f0f0f0;
  --ink-soft:  #606060;
  --line:      #1a1a1a;
  --accent:    #f0f0f0;

  --f-display: "Archivo Black", sans-serif;
  --f-mono:    "JetBrains Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-mono);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ─── GRAIN ─────────────────────────────────────────────────────── */
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)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: overlay;
}

/* ─── UTILITAIRES ───────────────────────────────────────────────── */
.mono { font-family: var(--f-mono); }

.period {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  background: var(--ink);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  vertical-align: middle;
  margin-left: 3px;
}

.section-num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 68px);
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

/* ─── TOPBAR ────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.topbar__left,
.topbar__right { display: flex; align-items: center; gap: 10px; }

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.topbar .sep { opacity: 0.25; }

/* ─── NAV ───────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 34px;
  z-index: 199;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.nav__logo:hover { opacity: 0.7; }

.logo-mark {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.nav__links {
  display: flex;
  align-items: center;
}

.nav__links li a {
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 20px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  transition: color 0.2s;
}

.nav__links li a:hover,
.nav__links li a.is-active { color: var(--ink); }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 0;
  min-height: calc(100svh - 102px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

/* Grille industrielle en fond */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

.hero__title .line--outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.hero__lede {
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 460px;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-arrow:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn-arrow .arrow { transition: transform 0.2s; }
.btn-arrow:hover .arrow { transform: translateX(4px); }

/* ─── MARQUEE ───────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.marquee__track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee__track span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.marquee__track .bullet { color: var(--ink); letter-spacing: 0; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── MANIFESTO ─────────────────────────────────────────────────── */
.manifesto {
  padding: 96px 24px;
  max-width: 1000px;
  border-bottom: 1px solid var(--line);
}

.manifesto__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.manifesto__text {
  font-family: var(--f-display);
  font-size: clamp(20px, 3.2vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.manifesto__text em {
  font-style: italic;
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
}

.manifesto__sign {
  margin-top: 36px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 24px;
  border-top: 1px solid var(--line);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer__label {
  color: var(--ink);
  opacity: 0.4;
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-bottom: 2px;
}

.footer__col a:hover { color: var(--ink); }

.footer__col--right {
  text-align: right;
  align-items: flex-end;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .topbar { display: none; }
  .nav { top: 0; height: 60px; }
  .nav__links li a { height: 60px; padding: 0 14px; font-size: 9px; }
  .hero { padding: 48px 16px 0; min-height: auto; }
  .hero__bottom { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero__lede { max-width: 100%; }
  .manifesto { padding: 60px 16px; }
  .footer { grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 16px; }
  .footer__col--right { text-align: left; align-items: flex-start; }
}

@media (max-width: 520px) {
  .nav__links li:nth-child(n+4) { display: none; }
  .footer { grid-template-columns: 1fr; }
}
