* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #ffffff;
  --muted: #b8b8d0;
  --accent-purple: #8b458b;
  --accent-purple-light: #a055a0;
  --accent-blue: #4a5fc1;
  --bg-dark: #0a0a1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.1);
}

/* 🌌 FOND GALAXY */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #0a0a1a 0%, #1a0b2e 30%, #16213e 60%, #0f1624 100%);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  scroll-behavior: smooth;
}

#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 100;
  background: rgba(10, 10, 26, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  animation: fadeInDown 0.6s ease-out;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo-small {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  overflow: hidden;
  padding: 4px;
}

.header-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-title {
  display: flex;
  flex-direction: column;
}

.header-title-main {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  transition: width 0.3s;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-fivem-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  transition: all 0.3s;
}

.btn-fivem-header:hover {
  background: rgba(255, 107, 107, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-discord-header {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  background: rgba(88, 101, 242, 0.15);
  color: #5865f2;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(88, 101, 242, 0.3);
  transition: all 0.3s;
}

.btn-discord-header:hover {
  background: rgba(88, 101, 242, 0.25);
  transform: translateY(-2px);
}

/* ============ MAIN ============ */
.main {
  flex: 1;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin: 0;
  z-index: 2;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
  transition: opacity 0.5s ease;
}

.hero-logo-main {
  margin: 0 auto 2rem;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: grab;
  touch-action: none;
  will-change: transform;
}

.hero-logo-main.dragging {
  cursor: grabbing;
  z-index: 9999;
  user-select: none;
}

.hero-logo-main.returning {
  cursor: grab;
  animation: none !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(1.05); }
}

.hero-logo-main::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(139, 69, 139, 0.3) 0%, transparent 70%);
  filter: blur(30px);
}

.hero-logo-main img {
  width: 140%;
  height: 140%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(139, 69, 139, 0.5));
  position: relative;
  z-index: 2;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;

}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

.hero-title-centered {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #d8d8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Contrôle pour cacher le contenu hero */
.hero-hide-control {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.3;
  transition: all 0.3s ease;
  color: white;
}

.hero-hide-control:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

/* Contrôle du son à gauche */
.hero-sound-control {
  left: 2rem;
  right: auto;
}

.hero-sound-control.active {
  opacity: 0.6;
  background: rgba(139, 69, 139, 0.2);
  border-color: rgba(139, 69, 139, 0.4);
}

.hero-sound-control.active:hover {
  background: rgba(139, 69, 139, 0.3);
}

/* Slider de volume vertical */
.volume-slider-container {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 8px;
  border-radius: 25px;
  border: 1px solid rgba(139, 69, 139, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-sound-control.active:hover .volume-slider-container,
.volume-slider-container.show {
  opacity: 1;
  pointer-events: auto;
}

.volume-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 4px;
  height: 100px;
  background: rgba(139, 69, 139, 0.3);
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  writing-mode: bt-lr;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(139, 69, 139, 0.6) !important;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(139, 69, 139, 0.6);
  transition: all 0.2s ease;
  border: 2px solid rgba(139, 69, 139, 0.4) !important;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(139, 69, 139, 0.9) !important;
  background: rgba(139, 69, 139, 0.8) !important;
}

.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(139, 69, 139, 0.6) !important;
  cursor: pointer;
  border: 2px solid rgba(139, 69, 139, 0.4) !important;
  box-shadow: 0 0 10px rgba(139, 69, 139, 0.6);
  transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(139, 69, 139, 0.9) !important;
  background: rgba(139, 69, 139, 0.8) !important;
}

/* Contrôle de visibilité du contenu */
.hero-visibility-control {
  transition: all 0.3s ease;
}

.hero-visibility-control.hidden-state {
  opacity: 0.6;
  background: rgba(139, 69, 139, 0.2);
  border-color: rgba(139, 69, 139, 0.4);
}

.hero-visibility-control.hidden-state:hover {
  background: rgba(139, 69, 139, 0.3);
  opacity: 1;
}

.btn-discord-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-light) 100%);
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(139, 69, 139, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.btn-fivem-hero {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4);
}

.btn-discord-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-discord-hero:hover::before {
  opacity: 1;
}

.btn-discord-hero:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 50px rgba(139, 69, 139, 0.6);
}

.btn-fivem-hero:hover {
  box-shadow: 0 15px 50px rgba(255, 107, 107, 0.6);
}

/* ============ SECTION HEADERS (GLOBAL) ============ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
}

.section-header.animated {
  animation: fadeInUp 0.8s ease-out both;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 400;
}

/* ============ STATS SECTION ============ */
.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 69, 139, 0.4);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============ COMMUNITY SECTION ============ */
.communaute-showcase {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 4rem;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  animation: fadeInUp 0.8s ease-out;
  opacity: 0;
}

.showcase-item.animated {
  animation: fadeInUp 0.8s ease-out both;
}

.showcase-left.animated {
  animation: fadeInLeft 0.8s ease-out both;
}

.showcase-right.animated {
  animation: fadeInRight 0.8s ease-out both;
}

.showcase-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease;
}

.showcase-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(139, 69, 139, 0.3);
}

.showcase-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.showcase-content {
  padding: 2rem;
}

.showcase-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #d8d8d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.showcase-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 400;
}

/* ============ JOBS SECTION ============ */
.jobs-section {
  padding: 6rem 0;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s;
  position: relative;
}

.job-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, rgba(139, 69, 139, 0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.job-card:hover::after {
  opacity: 1;
}

.job-card:hover {
  transform: translateY(-10px);
}

.job-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.job-legal .job-badge {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

.job-civil .job-badge {
  background: rgba(52, 172, 224, 0.15);
  color: #34ace0;
  border: 1px solid rgba(52, 172, 224, 0.3);
}

.job-illegal .job-badge {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.job-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.job-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.job-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 1rem;
}

.job-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: bold;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 6rem 0 8rem;
}

.cta-card {
  background: linear-gradient(135deg, rgba(139, 69, 139, 0.1) 0%, rgba(74, 95, 193, 0.1) 100%);
  border: 2px solid var(--border-glass);
  border-radius: 30px;
  padding: 5rem 3rem;
  text-align: center;
  backdrop-filter: blur(30px);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.cta-card.animated {
  animation: fadeInUp 0.8s ease-out both;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 69, 139, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.cta-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(139, 69, 139, 0.6));
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
  position: relative;
  z-index: 2;
}

.cta-desc {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.3rem 3rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.btn-fivem {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  box-shadow: 0 15px 50px rgba(255, 107, 107, 0.5);
}

.btn-fivem:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.7);
}

.btn-discord {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  box-shadow: 0 15px 50px rgba(139, 69, 139, 0.5);
}

.btn-discord:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px rgba(139, 69, 139, 0.7);
}

/* ============ FOOTER ============ */
.footer {
  padding: 3rem 2rem;
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  animation: fadeIn 0.8s ease-out both;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
  justify-self: start;
}

.footer-logo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo-text span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.footer-legal {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-self: center;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-social-links a svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
  justify-self: end;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  text-align: right;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

 .footer-credit a:hover {
  color: var(--accent-blue);
}

@media (max-width: 1047px) {
  .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
    max-width: 100%;
    justify-self: center;
  }

  .footer-logo-header {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-text {
    align-items: center;
  }

  .footer-legal {
    text-align: center;
  }

  .footer-right {
    align-items: center;
    justify-self: center;
  }

  .footer-text {
    text-align: center;
    align-items: center;
  }
}

/* ============ STAFF SECTION ============ */
.staff-section {
  padding: 6rem 0;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem 1.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
}

.staff-card-clickable {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.staff-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 69, 139, 0.4);
}

.staff-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s;
  position: relative;
}

.staff-card:hover .staff-avatar {
  border-color: rgba(139, 69, 139, 0.6);
  box-shadow: 0 0 25px rgba(139, 69, 139, 0.4);
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid;
}

.staff-badge.founder {
  color: #ff0000;
  border-color: rgba(255, 0, 0, 0.3);
}

.staff-badge.dev {
  color: #e2bdff;
  border-color: rgba(226, 189, 255, 0.3);
}

.staff-badge.supervisor {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
}

.staff-badge.manager {
  color: #f1c40f;
  border-color: rgba(241, 196, 15, 0.3);
}

.staff-badge.contributor {
  color: #31aa4d;
  border-color: rgba(49, 170, 77, 0.3);
}

/* Remove old badge styles */
.staff-badge.admin,
.staff-badge.mod,
.staff-badge.helper {
  /* Keep for backward compatibility but apply generic style */
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.staff-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.staff-role {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

/* ============ DISCORD SECTION ============ */
.discord-section {
  padding: 6rem 0;
}

.discord-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.discord-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.4s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.discord-card.animated {
  animation: scaleIn 0.6s ease-out both;
}

.discord-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #5865f2, #7289da);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.discord-card:hover::before {
  transform: scaleX(1);
}

.discord-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(88, 101, 242, 0.4);
}

.discord-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 1rem;
  transition: all 0.4s;
}

.discord-card:hover .discord-logo {
  transform: scale(1.1);
}

.discord-logo img {
  width: 150%;
  height: 150%;
  object-fit: contain;
  border-radius: 100%;
}

.discord-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

.discord-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

/* Couleurs spécifiques pour chaque pôle */
.highlight-entreprise {
  background: #0edfe1;;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.highlight-police {
  background: #54afe9;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.highlight-gouvernement {
  background: #05dd60;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.highlight-medical {
  background: #dc4847;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.highlight-illegal {
  background: #ff100f;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.highlight-event {
  background: #fffd00;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-title-centered {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .showcase-item {
    gap: 3rem;
  }
  
  .showcase-title {
    font-size: 1.7rem;
  }
  
  .showcase-desc {
    font-size: 1rem;
  }
}

@media (max-width: 1047px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header-buttons {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-logo-main {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
  }
  
  .hero-title-centered {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .hero-subtitle-centered {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-cta {
    width: 100%;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
    max-width: 100%;
  }
  
  .footer-logo-header {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-text {
    align-items: center;
  }
  
  .footer-legal {
    text-align: center;
  }

  .stats-grid,
  .communaute-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .btn-discord-hero {
    width: 100%;
    justify-content: center;
  }
  
  .staff-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }
  
  .staff-card {
    padding: 1.5rem 1rem;
  }
  
  .staff-avatar {
    width: 80px;
    height: 80px;
  }
  
  .staff-name {
    font-size: 1.1rem;
  }
  
  .discord-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .discord-card {
    padding: 2rem 1.5rem;
  }
  
  .discord-logo {
    width: 100px;
    height: 100px;
  }
  
  .communaute-showcase {
    gap: 3rem;
  }
  
  .showcase-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .showcase-right {
    direction: ltr;
  }
  
  .showcase-right .showcase-content {
    order: 1;
  }
  
  .showcase-right .showcase-image {
    order: 2;
  }
  
  .showcase-content {
    padding: 1rem;
  }
  
  .showcase-title {
    font-size: 1.5rem;
  }
  
  .showcase-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  /* ...existing code... */

  /* Make showcase items stack consistently: image above text for all items */
  .showcase-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  /* Items that were "right" (content then image) should show image first on mobile */
  .showcase-right {
    flex-direction: column-reverse;
  }

  .showcase-image,
  .showcase-content {
    width: 100%;
  }

  .showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }
}

/* ============================================ */
/* 🛒 BOUTIQUE PAGE STYLES */
/* ============================================ */

.boutique-main {
  padding-top: 80px;
  min-height: 100vh;
  padding-bottom: 60px;
}

.boutique-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 35px;
}

/* SIDEBAR */
.boutique-sidebar {
  width: 240px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 25px 18px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: fadeInLeft 0.8s ease-out both;
}

.sidebar-header {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.sidebar-subtitle {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-btn {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
}

.sidebar-btn::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.sidebar-text {
  flex: 1;
}

.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.sidebar-btn.active {
  background: rgba(139, 92, 246, 0.12);
  color: var(--text);
}

.sidebar-btn.active::after {
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

/* CONTENT */
.boutique-content {
  flex: 1;
  min-height: 600px;
}

.category-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.category-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-header {
  margin-bottom: 45px;
}

.category-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.category-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 700px;
  font-weight: 400;
  line-height: 1.5;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* PRODUCT CARD */
.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
}

.product-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.product-card.featured {
  border-color: rgba(139, 92, 246, 0.4);
}

.product-card.featured:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.product-card.exclusive {
  border-color: rgba(184, 184, 208, 0.3);
}

.product-card.exclusive:hover {
  border-color: rgba(184, 184, 208, 0.6);
  box-shadow: 0 12px 40px rgba(184, 184, 208, 0.1);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-glass);
  gap: 10px;
  min-height: 52px;
}

.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  flex: 1;
  margin: 0;
  line-height: 1.3;
}

.product-tag {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple-light);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  align-self: flex-start;
  line-height: 1.2;
}

.product-tag.bonus {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple-light);
}

.product-tag.highlight {
  background: rgba(139, 92, 246, 0.25);
  color: #fff;
}

.product-tag.exclusive-tag {
  background: rgba(184, 184, 208, 0.15);
  color: var(--muted);
}

.product-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 4px 0;
}

.product-amount {
  font-size: 14px;
  font-weight: 600;
  color: rgba(184, 184, 208, 0.7);
  letter-spacing: 0;
  text-align: center;
}

.product-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1.5px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.product-price-incash {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-purple-light);
  letter-spacing: -0.5px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.product-bonus {
  display: block;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple-light);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.product-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  min-height: 36px;
  opacity: 0.8;
}

.product-btn {
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-glass);
  border-radius: 0 0 16px 16px;
  padding: 14px 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.02);
}

.product-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple-light);
}

.product-bonus {
  display: block;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple-light);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.product-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  min-height: 40px;
}

/* RANG CARDS */
.rang-card .product-header {
  background: rgba(139, 92, 246, 0.05);
}

.rang-duration {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 9px;
  border-radius: 6px;
}

.rang-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rang-features li {
  color: var(--muted);
  font-size: 12px;
  padding: 7px 10px;
  padding-left: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.rang-features li:hover {
  background: rgba(139, 92, 246, 0.08);
  color: var(--text);
}

.rang-features li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-purple);
}

/* INCASH LIST */
.incash-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
}

.incash-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  opacity: 0;
}

.incash-item.animated {
  animation: scaleIn 0.6s ease-out both;
}

.incash-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.incash-item.featured {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.03);
}

.incash-item.featured:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.incash-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.incash-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.incash-bonus {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-purple-light);
  opacity: 0.9;
}

.incash-btn {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 10px 24px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.incash-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--accent-purple);
  transform: scale(1.05);
}

/* RESPONSIVE BOUTIQUE */
@media (max-width: 1024px) {
  .boutique-container {
    flex-direction: column;
  }

  .boutique-sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
  }
}

@media (max-width: 1047px) {
  .products-grid,
  .rangs-grid {
    grid-template-columns: 1fr;
  }

  .category-title {
    font-size: 32px;
  }

  .category-subtitle {
    font-size: 16px;
  }

  .sidebar-nav {
    flex-direction: column;
  }

  .sidebar-btn {
    width: 100%;
  }
}

/* ANIMATIONS D'APPARITION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Classes d'animation */
.animate-on-scroll {
  opacity: 0;
  animation-fill-mode: both;
}

.animate-on-scroll.animated {
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
}

/* HEADER */
.header {
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO SECTION */
.hero-logo-main {
  animation: scaleIn 0.8s ease-out 0.2s both;
}

.hero-title-centered {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* SECTION HEADERS */
.section-header {
  opacity: 0;
}

.section-header.animated {
  animation: fadeInUp 0.8s ease-out both;
}

/* SHOWCASE ITEMS */
.showcase-item {
  opacity: 0;
}

.showcase-item.animated {
  animation: fadeInUp 0.8s ease-out both;
}

.showcase-left.animated {
  animation: fadeInLeft 0.8s ease-out both;
}

.showcase-right.animated {
  animation: fadeInRight 0.8s ease-out both;
}

/* DISCORD CARDS */
.discord-card {
  opacity: 0;
}

.discord-card.animated {
  animation: scaleIn 0.6s ease-out both;
}

/* STAFF CARDS */
.staff-card {
  opacity: 0;
}

.staff-card.animated {
  animation: scaleIn 0.6s ease-out both;
}

/* CTA SECTION */
.cta-card {
  opacity: 0;
}

.cta-card.animated {
  animation: fadeInUp 0.8s ease-out both;
}

/* BOUTIQUE ELEMENTS */
.boutique-sidebar {
  animation: fadeInLeft 0.8s ease-out both;
}

.category-section {
  opacity: 0;
}

.category-section.animated {
  animation: fadeInUp 0.8s ease-out both;
}

.incash-item,
.product-card {
  opacity: 0;
}

.incash-item.animated,
.product-card.animated {
  animation: scaleIn 0.6s ease-out both;
}

/* FOOTER */
.footer {
  animation: fadeIn 0.8s ease-out both;
}

/* Mobile header / hamburger */
.mobile-hamburger {
  display: none; /* shown via media query */
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10010;
  width: 48px;
  height: 48px;
  border-radius: 10px;
background: rgba(10, 10, 26, 0.7);
  color: rgba(255, 187, 0);
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* close button inside header */
.mobile-close {
  display: none; /* shown inside header on mobile */
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10011;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* block body scroll when menu open */
body.no-scroll {
  overflow: hidden;
}

/* mobile behavior */
@media (max-width: 1047px) {
  /* hide normal header by default on small screens */
  .header {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 0.32s ease, opacity 0.25s ease;
    opacity: 0;
    flex-direction: column;
  }

  /* when opened */
  .header.open {
    display: flex !important;
    transform: translateY(0);
    opacity: 1;
  }

  /* ensure header inner elements stack nicely on mobile */
  .header-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
  }

  /* show hamburger and close on mobile */
  .mobile-hamburger {
    display: block;
  }
  .mobile-close {
    display: block;
  }

  /* ensure page content is pushed under header when open */
  .header.open + .main,
  .header.open ~ .main {
    margin-top: 0; /* header is fixed, content can remain */
  }
}

/* Floating CTA button (glass / liquid style) */
.scroll-cta-button {
  position: fixed;
  right: 24px;
  top: -120px; /* hidden by default above viewport */
  z-index: 10020;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e79d01;
  text-decoration: none;

  /* liquid glass look */
  background: linear-gradient(135deg, rgba(255, 187, 0, 0.11), rgba(255, 187, 0, 0.11));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.02);
  transition: top 480ms cubic-bezier(.2,.9,.2,1), opacity 280ms ease, transform 280ms ease;
  transform: translateY(8px);
  opacity: 0;
}

/* visible state */
.scroll-cta-button.show {
  opacity: 1;
  transform: translateY(0);
}

/* hover */
.scroll-cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55), inset 0 2px 0 rgba(255,255,255,0.03);
}

/* smaller on small screens */
@media (max-width: 480px) {
  .scroll-cta-button {
    width: 56px;
    height: 56px;
    right: 16px;
    border-radius: 12px;
  }
}

/* ensure button doesn't conflict with fixed header/hamburger */
@media (max-width: 1047px) {
  .scroll-cta-button {
    right: 16px;
  }
}


/* Version de test sur taioo.fr : les liens vers l'extérieur sont désactivés */
a[aria-disabled="true"] { cursor: default; }

/* Équipe : quatre cartes sur une ligne, deux par ligne sur petit écran */
.staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
