/* ============================================================
   LA STATION — MAIN CSS
   Variables · Reset · Typographie · Layout global
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,500;0,700;0,800;0,900;1,300;1,400&display=swap');

/* ── Variables ── */
:root {
  --noir:    #0F0F12;
  --toile:   #E8E6E0;
  --blanc:   #FFFFFF;
  --or:      #C8A84B;
  --rouge:   #C0392B;
  --muted:   #888888;

  --font:    'Barlow Condensed', Arial, sans-serif;

  --nav-h:   72px;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--noir);
  color: var(--blanc);
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: none; font-family: inherit; }

/* ── Touch devices — désactiver le curseur custom ── */
@media (hover: none) and (pointer: coarse) {
  body, a, button, .btn { cursor: auto; }
  button { cursor: pointer; }
  .cursor { display: none; }
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--or);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
}
.cursor.hover {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--or);
}
.cursor.hidden { opacity: 0; }

/* ── Header / Navigation ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s var(--ease);
}
.site-header.scrolled { background: var(--noir); }

.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blanc);
  padding: 4px 0;
  margin-left: 28px;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--or);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--or); opacity: 1; }
.nav-links a.active::after { width: 100%; }

/* dot separators */
.nav-dot {
  color: var(--or);
  font-weight: 700;
  margin-left: 4px;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.85);
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}
.burger:hover { opacity: 1; }
.burger span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--blanc);
  transition: transform 0.35s var(--ease), opacity 0.25s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--noir);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-mobile a {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blanc);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--or); }

/* ── Sections utilitaires ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--or);
}

.section-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.section-title--light { color: var(--noir); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── CTA Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--or);
  color: var(--or);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.btn:hover { color: var(--noir); }
.btn:hover::before { transform: scaleX(1); }
.btn span { position: relative; z-index: 1; }

.btn--dark {
  border-color: var(--noir);
  color: var(--noir);
}
.btn--dark::before { background: var(--noir); }
.btn--dark:hover { color: var(--blanc); }

/* ── Footer ── */
.site-footer {
  background: var(--noir);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-nav-title,
.footer-contact-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a,
.footer-contact a {
  font-size: 13px;
  color: var(--blanc);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  letter-spacing: 0.05em;
}
.footer-nav a:hover,
.footer-contact a:hover { opacity: 1; color: var(--or); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Separateur or ── */
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--or);
  margin: 24px 0;
}
