/* ═══════════════════════════════════════════════════════
   Latour Creative — Common Styles
   Shared across all pages
   ═══════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg-deep: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-bright: #60a5fa;
  --accent-cyan: #22d3ee;
  --accent-green: #34d399;
  --accent-orange: #fb923c;
  --accent-purple: #a78bfa;
  --accent-rose: #fb7185;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.08);
  --brand-blue: #1e3a5f;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-deep);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-bright); text-decoration: none; }
a:hover { color: var(--accent-cyan); }

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── LANGUAGE VISIBILITY SYSTEM ── */
/* Block-level: data-lang="en" / data-lang="fr" */
[data-lang="fr"] { display: none; }
body.fr [data-lang="fr"] { display: block; }
body.fr [data-lang="en"] { display: none; }
body.fr span[data-lang="fr"],
body.fr a[data-lang="fr"] { display: inline; }
body.fr span[data-lang="en"],
body.fr a[data-lang="en"] { display: none; }
span[data-lang="fr"], a[data-lang="fr"] { display: none; }
span[data-lang="en"], a[data-lang="en"] { display: inline; }

/* ── SITE NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand:hover { color: var(--text-primary); }

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-brand span {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--text-primary); }

/* ── LANG TOGGLE ── */
.lang-toggle {
  display: flex;
  gap: 0;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lang-btn {
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: var(--accent);
  color: white;
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

/* ── SHARED BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: var(--accent-bright);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-2px);
}

/* ── SHARED SECTION STYLES ── */
.section-divider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── SITE FOOTER ── */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-footer .footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.site-footer .footer-brand span { font-weight: 600; font-size: 15px; color: var(--text-secondary); }
.site-footer p { font-size: 13px; color: var(--text-muted); }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent-bright); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav { padding: 12px 16px; }
  .nav-brand span { display: none; }
}
