@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/* ============================================================
   VARIABLES — MODE SOMBRE (défaut) & MODE CLAIR
   ============================================================ */
:root {
  --red:      #cc0000;
  --red-dark: #a00000;
  --dark:     #0c0c0c;
  --surface:  #141414;
  --surface2: #1c1c1c;
  --surface3: #242424;
  --border:   rgba(255,255,255,0.08);
  --border2:  rgba(255,255,255,0.14);
  --text:     #f0f0f0;
  --text2:    #b0b0b0;
  --muted:    #666;
  --up:       #00c87a;
  --dn:       #cc0000;
  --font:     'Inter', sans-serif;
  --radius:   3px;
}

body.light-mode {
  --dark:     #f2f2f2;
  --surface:  #ffffff;
  --surface2: #f5f5f5;
  --surface3: #ebebeb;
  --border:   rgba(0,0,0,0.09);
  --border2:  rgba(0,0,0,0.15);
  --text:     #111111;
  --text2:    #444444;
  --muted:    #888888;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  transition: background .3s, color .3s;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
img { display: block; max-width: 100%; }
input, textarea, select { font-family: var(--font); }

/* ============================================================
   FINANCIAL TICKER (barre du dessus)
   ============================================================ */
.fin-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}
.fin-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: tickscroll 35s linear infinite;
}
.fin-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
  flex-shrink: 0;
}
.fin-item .sym { color: var(--text); font-weight: 600; }
.fin-item .up  { color: var(--up); }
.fin-item .dn  { color: var(--dn); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 0;
}

.logo-zone { display: flex; align-items: center; margin-right: 36px; flex-shrink: 0; }
.logo-zone img { height: 34px; width: auto; }
.logo-text { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.logo-text span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--red);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.lang-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius);
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.lang-btn:hover,
.lang-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

.icon-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border2); }

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

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.news-ticker {
  background: var(--red);
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
}
.news-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: tickscroll 45s linear infinite;
}
.ticker-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.3);
  padding: 2px 10px 2px 14px;
  margin-right: 20px;
  flex-shrink: 0;
}
.ticker-sep { color: rgba(255,255,255,.35); margin: 0 14px; font-size: 10px; }
.ticker-item { color: #fff; font-size: 12px; font-weight: 400; }

@keyframes tickscroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes blink {
  0%,100% { opacity:1; } 50% { opacity:0; }
}

/* ============================================================
   CONTENEUR PRINCIPAL
   ============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SECTION BAR (titre + onglets)
   ============================================================ */
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  margin-bottom: -1px;
  flex-shrink: 0;
}
.tabs { display: flex; gap: 0; }
.tab {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.tab:hover, .tab.active { color: var(--text); border-bottom-color: var(--text2); }

/* ============================================================
   HERO GRID
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2px;
  margin: 24px 0 0;
}
.hero-main {
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: background .2s;
}
.hero-main:hover { background: var(--surface2); }

.hero-img-wrap {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--surface2);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  font-size: 64px;
  opacity: .15;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.75) 100%);
}
.hero-live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}
.hero-body { padding: 16px 18px; }
.hero-theme {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.hero-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.hero-meta { font-size: 11px; color: var(--muted); }

/* Sidebar hero */
.hero-side { display: flex; flex-direction: column; gap: 2px; }
.side-card {
  background: var(--surface);
  padding: 13px 15px;
  cursor: pointer;
  border-left: 3px solid transparent;
  flex: 1;
  transition: border-color .2s, background .2s;
}
.side-card:hover { border-left-color: var(--red); background: var(--surface2); }
.side-theme {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: 5px;
}
.side-title { font-size: 12px; font-weight: 600; line-height: 1.35; margin-bottom: 5px; }
.side-meta { font-size: 10px; color: var(--muted); }

/* ============================================================
   NEWS GRID (4 colonnes)
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.news-card {
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: background .2s;
}
.news-card:hover { background: var(--surface2); }
.card-img-wrap {
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: var(--surface2);
  position: relative;
}
.card-img-wrap img { width:100%; height:100%; object-fit:cover; }
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  opacity: .12;
}
.card-video-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  letter-spacing: .05em;
}
.card-body { padding: 12px 13px; }
.card-theme {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: 5px;
}
.card-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.card-desc { font-size: 11px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.card-meta {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 7px;
}

/* ============================================================
   STUDIOS GRID
   ============================================================ */
.studios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
}
.studio-card {
  background: var(--surface);
  overflow: hidden;
  position: relative;
  cursor: default;
}
.studio-img-wrap {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--surface2);
  position: relative;
}
.studio-img-wrap img { width:100%; height:100%; object-fit:cover; }
.studio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  opacity: .08;
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
}
.studio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.7) 100%);
}
.studio-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.studio-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2px;
  min-height: 500px;
}
.services-menu {
  background: var(--surface);
  padding: 20px 0;
}
.services-menu-item {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.services-menu-item:hover { color: var(--text); background: var(--surface2); }
.services-menu-item.active { color: var(--text); border-left-color: var(--red); background: var(--surface2); }
.services-menu-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 20px 6px;
}
.services-content {
  background: var(--surface);
  padding: 28px 32px;
  display: none;
}
.services-content.active { display: block; }
.services-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.services-content .lead {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.7;
}
.services-list { list-style: none; }
.services-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.services-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   BOOKING
   ============================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.booking-card {
  background: var(--surface);
  padding: 24px;
}
.booking-card h3 { font-size: 15px; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.booking-card p { font-size: 13px; color: var(--text2); line-height: 1.6; }
.booking-card .contact-info { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ============================================================
   CORPORATE / STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  padding: 28px 20px;
  text-align: center;
}
.stat-number { font-size: 36px; font-weight: 900; color: var(--red); line-height: 1; }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   CAREERS FORM
   ============================================================ */
.careers-form-wrap {
  background: var(--surface);
  padding: 32px;
  max-width: 560px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 10px 12px;
  font-size: 13px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--red); }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-row select option { background: var(--surface2); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity .2s, background .2s;
}
.btn-red   { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; border: 1px solid var(--border2); color: var(--text2); }
.btn-ghost:hover { background: var(--surface2); color: var(--text); }
.btn-sm { padding: 7px 14px; font-size: 11px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border2);
}
.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h2 { font-size: 15px; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal-body { padding: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 48px;
  padding: 36px 24px 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.footer-logo { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.footer-logo span { color: var(--red); }
.footer-tagline { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.footer-col h4 {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 9px;
  opacity: .75;
  transition: opacity .2s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .03em;
}

/* ============================================================
   MESSAGES / ALERTS
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}
.alert.show { display: block; }
.alert-error   { background: rgba(204,0,0,.12); border: 1px solid rgba(204,0,0,.3); color: #ff6b6b; }
.alert-success { background: rgba(0,200,122,.1); border: 1px solid rgba(0,200,122,.3); color: #00c87a; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px;  }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }
.red { color: var(--red); }
.muted { color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .side-card { flex: 1 1 calc(50% - 1px); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-menu { display: flex; flex-wrap: wrap; padding: 12px; gap: 4px; }
  .services-menu-item { border-left: none; border-bottom: 2px solid transparent; padding: 8px 14px; }
  .services-menu-item.active { border-bottom-color: var(--red); border-left: none; }
  .studios-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .booking-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 16px; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; background: var(--dark); border-bottom: 1px solid var(--border); padding: 8px 0; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { height: auto; padding: 12px 20px; border-bottom: none; border-left: 3px solid transparent; }
  .nav-links a.active { border-left-color: var(--red); border-bottom: none; }
  .hamburger { display: flex; }
  .nav-right { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { height: 220px; }
  .hero-title { font-size: 16px; }
  .container { padding: 0 14px; }
  .hero-side { flex-direction: column; }
  .side-card { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fin-track, .news-track { animation: none; }
  * { transition: none !important; animation: none !important; }
}
