/* assets/css/style.css - KUMBA Design System */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');

:root {
  --navy: #0B2454;
  --gold: #D9A82B;
  --gold-dark: #8C6510;
  --gold-hover: #E6B93F;
  --red: #A8262B;
  --bg-light: #EAEFF7;
  --bg-subtle: #EEF2F8;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, select, textarea, button {
  font-family: inherit;
}

/* Animations */
@keyframes kFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kLogoIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kLine {
  from { width: 0; }
  to { width: 260px; }
}

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

@keyframes kDiamond {
  0% { opacity: 0; transform: rotate(45deg) scale(0.3); }
  100% { opacity: 1; transform: rotate(45deg) scale(1); }
}

.anim-fade {
  animation: kFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Scroll reveal helper */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F4F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Marquee Pause */
.marquee-track:hover {
  animation-play-state: paused !important;
}

/* Mega menu dropdown styles */
.mega-menu-container {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #FFFFFF;
  border-top: 3px solid var(--gold);
  box-shadow: 0 30px 60px rgba(11, 36, 84, 0.12);
  z-index: 60;
  animation: kFade 0.25s ease-out;
}

.mega-menu-container.active {
  display: block;
}

/* Mobile Nav Drawer (Design inspiré du menu Index) */
#mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 160;
  background: #FFFFFF;
  color: var(--navy);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: kFade 0.25s ease-out both;
}
#mobile-drawer.active {
  display: block;
}

/* Diamond bullet */
.diamond-bullet {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--navy);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.diamond-bullet-gold {
  background: var(--gold);
}

/* Active tabs */
.tab-btn.active {
  background: var(--navy) !important;
  color: #FFFFFF !important;
  border-color: var(--navy) !important;
}

.case-btn.active {
  background: var(--navy) !important;
  color: #FFFFFF !important;
  border-color: var(--navy) !important;
}
.case-btn.active .case-num {
  color: var(--gold) !important;
}
