/* ==========================================================================
   AXION DÃ‰VELOPPEMENT â€” FIVE-M SCRIPTS STUDIO
   Direction Artistique & Design System
   Palette NÃ©on Magenta & Obsidienne inspirÃ©e du logo officiel AD
   InspirÃ© de l'ergonomie et du style Ã©purÃ© de VDMSimulation
   ========================================================================== */

:root {
  /* Palette Axion DÃ©veloppement (InspirÃ©e du logo nÃ©on rose/magenta) */
  --ad-bg-deep: #09050C;
  --ad-bg-card: #140918;
  --ad-bg-card-hover: #1D0E23;
  --ad-primary: #250F2C;
  --ad-primary-dark: #120616;
  --ad-primary-soft: #381544;
  
  --ad-accent: #FF1A75;
  --ad-accent-light: #FF5E9E;
  --ad-accent-glow: rgba(255, 26, 117, 0.45);
  --ad-cyan: #FF2A85;
  --ad-purple: #C026D3;
  --ad-green: #10B981;
  --ad-amber: #F59E0B;

  --ad-white: #FFFFFF;
  --ad-white-90: rgba(255, 255, 255, 0.92);
  --ad-white-70: rgba(255, 255, 255, 0.72);
  --ad-white-50: rgba(255, 255, 255, 0.50);
  --ad-white-15: rgba(255, 255, 255, 0.15);
  --ad-white-08: rgba(255, 255, 255, 0.08);
  --ad-white-04: rgba(255, 255, 255, 0.04);

  --ad-line: rgba(255, 255, 255, 0.08);
  --ad-line-highlight: rgba(255, 26, 117, 0.38);

  --ad-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ad-font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  
  --ad-ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ad-transition: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);

  --ad-container: 1240px;
  --ad-header-h: 82px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Masquer la scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome / Safari / Opera */
}

body {
  font-family: var(--ad-font);
  background-color: var(--ad-bg-deep);
  color: var(--ad-white-90);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--ad-header-h); /* compense le header fixed */
}

body.menu-open, body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ad-transition);
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.site-container {
  width: min(calc(100% - 48px), var(--ad-container));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Typographie & Ã‰lÃ©ments RÃ©utilisables
   -------------------------------------------------------------------------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ad-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--ad-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ad-accent);
}

.section-eyebrow--white {
  color: var(--ad-white-70);
}
.section-eyebrow--white::before {
  background: var(--ad-white-70);
  box-shadow: 0 0 10px var(--ad-white-70);
}

.section-title {
  color: var(--ad-white);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--ad-white-70);
  font-size: 16px;
  max-width: 680px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Boutons signatures (Style VDMS avec effet de glissement)
   -------------------------------------------------------------------------- */
.button {
  position: relative;
  min-height: 52px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  color: var(--ad-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  isolation: isolate;
  border-radius: 4px;
  transition: color 0.35s var(--ad-ease), border-color 0.35s var(--ad-ease), transform 0.35s var(--ad-ease), box-shadow 0.35s var(--ad-ease);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-102%);
  transition: transform 0.42s var(--ad-ease);
}

.button span, .button > i {
  position: relative;
  z-index: 1;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(0);
}

/* Variante blanche */
.button--light {
  background: var(--ad-white);
  color: var(--ad-primary-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.button--light::before {
  background: var(--ad-accent);
}

.button--light:hover {
  color: var(--ad-white);
}

/* Variante contour (outline) */
.button--outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ad-white-15);
  color: var(--ad-white);
  backdrop-filter: blur(10px);
}

.button--outline::before {
  background: var(--ad-primary-soft);
}

.button--outline:hover {
  border-color: var(--ad-accent);
}

/* Variante Discord */
.button--discord {
  background: #5865F2;
  color: #fff;
  border-color: #5865F2;
}

.button--discord::before {
  background: #4752C4;
}

/* Petite variante pour cartes */
.button--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.ad-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--ad-header-h);
  background: rgba(9, 5, 12, 0.92);
  border-bottom: 1px solid var(--ad-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

/* Header transparent sans barre uniquement sur la page d'accueil avec hero au sommet */
body.has-hero .ad-header:not(.is-scrolled) {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ad-header.is-scrolled {
  background: rgba(9, 5, 12, 0.92);
  border-bottom: 1px solid var(--ad-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ad-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ad-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ad-brand__logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #250A2C, #120416);
  border: 1px solid var(--ad-line-highlight);
  display: grid;
  place-items: center;
  color: var(--ad-accent);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.05em;
  text-shadow: 0 0 16px rgba(255, 26, 117, 0.85);
  box-shadow: 0 0 25px rgba(255, 26, 117, 0.35);
}

.ad-brand__text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ad-white);
  line-height: 1.2;
}

.ad-brand__text span {
  display: block;
  font-size: 10px;
  color: var(--ad-white-50);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ad-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.ad-nav__link {
  color: var(--ad-white-70);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 0;
  transition: color var(--ad-transition);
}

.ad-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ad-accent);
  transition: width 0.3s var(--ad-ease);
}

.ad-nav__link:hover, .ad-nav__link.is-active {
  color: var(--ad-white);
}

.ad-nav__link:hover::after, .ad-nav__link.is-active::after {
  width: 100%;
}

.ad-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ad-discord-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #c7cdff;
  transition: background 0.2s, border-color 0.2s;
}

.ad-discord-status:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.45);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ad-green);
  box-shadow: 0 0 10px var(--ad-green);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--ad-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.ad-header__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--ad-line);
  border-radius: 999px;
  color: var(--ad-white-90);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.04);
}

.ad-header__login:hover, .ad-header__login.is-active {
  background: var(--ad-white);
  color: var(--ad-primary-dark);
  border-color: var(--ad-white);
}

.ad-header__login.is-logged-in {
  background: var(--ad-bg-card);
  border-color: var(--ad-line-highlight);
  color: var(--ad-white);
}

.header-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.user-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ad-green);
  box-shadow: 0 0 8px var(--ad-green);
}

.ad-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ad-line);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
}

.ad-burger span {
  width: 100%;
  height: 2px;
  background: var(--ad-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--ad-header-h));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(56, 18, 68, 0.45) 0%, rgba(9, 5, 12, 1) 80%);
  border-bottom: 1px solid var(--ad-line);
}

/* Zone centrale texte + boutons */
.hero__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 50px;
  position: relative;
  z-index: 2;
}

/* Bande stats pleine largeur collée en bas */
.hero-stats-strip {
  width: 100%;
  border-top: 1px solid var(--ad-line);
  background: rgba(9, 5, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__banner-art {
  position: absolute;
  inset: 0;
  background: url('../img/banner.png') center/cover no-repeat;
  opacity: 0.18;
  filter: contrast(1.15) saturate(1.2);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: 1;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 80%);
}

.hero__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 26, 117, 0.28) 0%, rgba(192, 38, 211, 0.12) 50%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero h1 {
  color: var(--ad-white);
  font-size: clamp(40px, 5.8vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.hero h1 span.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 40%, var(--ad-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ad-white-70);
  line-height: 1.65;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}

/* Barre de métriques — grille interne de .hero-stats-strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  max-width: 100%;
}

.hero-stat {
  text-align: center;
  border-right: 1px solid var(--ad-line);
  padding: 22px 32px;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 26px;
  font-weight: 800;
  color: var(--ad-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-stat__value span.accent {
  color: var(--ad-accent);
  font-size: 16px;
}

.hero-stat__label {
  margin-top: 4px;
  font-size: 11px;
  color: var(--ad-white-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section : Nos Engagements & Exigence Technique (Piliers 01, 02, 03)
   -------------------------------------------------------------------------- */
.presentation {
  padding: 100px 0;
  border-bottom: 1px solid var(--ad-line);
  background: linear-gradient(180deg, var(--ad-bg-deep) 0%, #0d121c 100%);
}

.presentation__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 70px;
}

.presentation__lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--ad-white);
  line-height: 1.6;
  margin-bottom: 16px;
}

.presentation__copy p:last-child {
  color: var(--ad-white-70);
  font-size: 15px;
}

.presentation__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.presentation-point {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--ad-transition), border-color var(--ad-transition), box-shadow var(--ad-transition);
}

.presentation-point::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ad-accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.presentation-point:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 26, 117, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 26, 117, 0.1);
}

.presentation-point:hover::after {
  opacity: 1;
}

.presentation-point__top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.presentation-point__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 26, 117, 0.08);
  border: 1px solid rgba(255, 26, 117, 0.25);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ad-accent);
  font-size: 19px;
}

.presentation-point__index {
  font-size: 13px;
  font-weight: 800;
  color: var(--ad-white-50);
  letter-spacing: 0.1em;
  font-family: var(--ad-font-mono);
}

.presentation-point h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ad-white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.presentation-point p {
  color: var(--ad-white-70);
  font-size: 14px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Section : Script Phare / Spotlight (InspirÃ© de VDMS Discover)
   -------------------------------------------------------------------------- */
.spotlight {
  position: relative;
  padding: 100px 0;
  background: #0d121c;
  border-bottom: 1px solid var(--ad-line);
  overflow: hidden;
}

.spotlight__backdrop {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(11, 14, 23, 0.95) 0%, rgba(11, 14, 23, 0.75) 50%, rgba(11, 14, 23, 0.92) 100%),
    url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  opacity: 0.35;
  filter: saturate(0.6);
}

.spotlight__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.spotlight__copy h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--ad-white);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.spotlight__copy p {
  font-size: 16px;
  color: var(--ad-white-70);
  margin-bottom: 30px;
  line-height: 1.7;
}

.spotlight__aside {
  background: rgba(19, 25, 38, 0.75);
  border: 1px solid var(--ad-line-highlight);
  border-radius: 12px;
  padding: 36px;
  backdrop-filter: blur(14px);
}

.spotlight__aside-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ad-accent);
  margin-bottom: 24px;
}

.spotlight__features-list {
  display: grid;
  gap: 16px;
}

.spotlight-feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ad-line);
}

.spotlight-feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spotlight-feature-row span.index {
  font-family: var(--ad-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ad-accent);
}

.spotlight-feature-row strong {
  font-size: 15px;
  color: var(--ad-white);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section : Catalogue de Scripts (Filtres, Recherche, Grille)
   -------------------------------------------------------------------------- */
.catalog {
  padding: 100px 0;
  border-bottom: 1px solid var(--ad-line);
}

.catalog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.catalog-search {
  position: relative;
  min-width: 300px;
}

.catalog-search input {
  width: 100%;
  height: 48px;
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 6px;
  padding: 0 18px 0 44px;
  color: var(--ad-white);
  font-family: var(--ad-font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog-search input:focus {
  border-color: var(--ad-accent);
  box-shadow: 0 0 0 3px rgba(255, 26, 117, 0.2);
}

.catalog-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ad-white-50);
  font-size: 14px;
  pointer-events: none;
}

/* Barre de filtres par catÃ©gories */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 999px;
  color: var(--ad-white-70);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.filter-btn:hover {
  color: var(--ad-white);
  border-color: var(--ad-white-50);
}

.filter-btn.is-active {
  background: var(--ad-white);
  border-color: var(--ad-white);
  color: var(--ad-primary-dark);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

/* Grille de cartes de scripts */
.scripts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.script-card {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ad-transition), border-color var(--ad-transition), box-shadow var(--ad-transition);
  position: relative;
}

.script-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 26, 117, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.script-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0d14;
  overflow: hidden;
}

.script-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ad-ease);
}

.script-card:hover .script-card__img {
  transform: scale(1.05);
}

.script-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 25, 38, 0.95) 0%, rgba(19, 25, 38, 0.2) 60%, transparent 100%);
}

.script-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge-tag {
  padding: 4px 9px;
  background: rgba(11, 14, 23, 0.85);
  border: 1px solid var(--ad-line);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ad-white);
  backdrop-filter: blur(8px);
}

.badge-tag--accent {
  background: var(--ad-accent);
  color: #fff;
  border-color: var(--ad-accent);
}

.badge-resmon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-family: var(--ad-font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.badge-resmon .dot {
  width: 5px;
  height: 5px;
  background: #34d399;
  border-radius: 50%;
}

.script-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.script-card__category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ad-accent);
  margin-bottom: 8px;
}

.script-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ad-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.script-card__desc {
  font-size: 13px;
  color: var(--ad-white-70);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.script-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.tag-pill {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ad-line);
  border-radius: 4px;
  font-size: 11px;
  color: var(--ad-white-70);
}

.script-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ad-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.script-card__price strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ad-white);
}

.script-card__price span {
  display: block;
  font-size: 10px;
  color: var(--ad-white-50);
  text-transform: uppercase;
}

.script-card__actions {
  display: flex;
  gap: 8px;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--ad-primary-soft);
  border: 1px solid var(--ad-line-highlight);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.2s;
}

.btn-detail:hover {
  background: var(--ad-accent);
  color: #fff;
  border-color: var(--ad-accent);
}

/* --------------------------------------------------------------------------
   Section : Benchmark & Performance Resmon
   -------------------------------------------------------------------------- */
.benchmark {
  padding: 100px 0;
  background: #0d121c;
  border-bottom: 1px solid var(--ad-line);
}

.benchmark__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.benchmark-card {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  overflow: hidden;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.benchmark-table th {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--ad-line);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ad-white-50);
}

.benchmark-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ad-line);
  font-size: 13px;
  color: var(--ad-white-70);
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.benchmark-table td.brand-col {
  color: var(--ad-cyan);
  font-weight: 700;
  font-family: var(--ad-font-mono);
}

.benchmark-table td.badge-col span {
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Section : FAQ (AccordÃ©on interactif)
   -------------------------------------------------------------------------- */
.faq {
  padding: 100px 0;
  border-bottom: 1px solid var(--ad-line);
}

.faq__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.faq__aside {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  padding: 40px 32px;
  height: max-content;
}

.faq-item {
  border-bottom: 1px solid var(--ad-line);
}

.faq-item:first-child {
  border-top: 1px solid var(--ad-line);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  color: var(--ad-white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--ad-accent);
}

.faq-trigger i {
  font-size: 14px;
  color: var(--ad-white-50);
  transition: transform 0.3s;
}

.faq-item.is-open .faq-trigger i {
  transform: rotate(180deg);
  color: var(--ad-accent);
}

.faq-content {
  display: none;
  padding-bottom: 24px;
  color: var(--ad-white-70);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.is-open .faq-content {
  display: block;
}

/* --------------------------------------------------------------------------
   Section : Contact & CommunautÃ© Discord (InspirÃ© de VDMS Contact)
   -------------------------------------------------------------------------- */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--ad-bg-deep) 0%, #0c101a 100%);
  border-bottom: 1px solid var(--ad-line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact__intro h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  color: var(--ad-white);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact__intro p {
  color: var(--ad-white-70);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__discord-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 36px;
  transition: background 0.2s, border-color 0.2s;
}

.contact__discord-card:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.6);
}

.contact__socials {
  display: flex;
  gap: 12px;
}

.contact__socials a {
  width: 44px;
  height: 44px;
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ad-white-70);
  font-size: 16px;
  transition: all 0.2s;
}

.contact__socials a:hover {
  color: var(--ad-white);
  border-color: var(--ad-accent);
  transform: translateY(-2px);
}

/* Formulaire de contact */
.contact-form {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  padding: 40px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ad-white-70);
  margin-bottom: 8px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(11, 14, 23, 0.7);
  border: 1px solid var(--ad-line);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--ad-white);
  font-family: var(--ad-font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--ad-accent);
  box-shadow: 0 0 0 3px rgba(255, 26, 117, 0.20);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 60px 0 36px;
  background: var(--ad-bg-deep);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--ad-line);
}

.site-footer__brand p {
  color: var(--ad-white-50);
  font-size: 13px;
  margin-top: 16px;
  max-width: 380px;
  line-height: 1.7;
}

.site-footer__col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ad-white);
  margin-bottom: 20px;
}

.site-footer__col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.site-footer__col a {
  color: var(--ad-white-70);
  font-size: 13px;
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--ad-accent);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 12px;
  color: var(--ad-white-50);
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Modale Interactive de DÃ©tail de Script
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.script-modal {
  width: min(960px, 100%);
  max-height: 90vh;
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line-highlight);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  transition: transform 0.3s var(--ad-ease);
}

.modal-overlay.is-visible .script-modal {
  transform: translateY(0);
}

.script-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: rgba(11, 14, 23, 0.7);
  border-bottom: 1px solid var(--ad-line);
}

.script-modal__title-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ad-white);
}

.script-modal__title-box p {
  font-size: 12px;
  color: var(--ad-white-50);
}

.script-modal__close {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ad-line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--ad-white-70);
  cursor: pointer;
  transition: all 0.2s;
}

.script-modal__close:hover {
  background: var(--ad-accent);
  color: #fff;
}

.script-modal__tabs {
  display: flex;
  background: rgba(11, 14, 23, 0.4);
  border-bottom: 1px solid var(--ad-line);
  padding: 0 28px;
  gap: 24px;
}

.modal-tab-btn {
  padding: 14px 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ad-white-50);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-tab-btn:hover {
  color: var(--ad-white);
}

.modal-tab-btn.is-active {
  color: var(--ad-accent);
  border-color: var(--ad-accent);
}

.script-modal__content {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

.tab-pane {
  display: none;
}

.tab-pane.is-active {
  display: block;
}

/* BoÃ®te d'aperÃ§u de code Lua */
.code-box {
  background: #090c13;
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  overflow: hidden;
}

.code-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--ad-line);
  font-family: var(--ad-font-mono);
  font-size: 12px;
  color: var(--ad-white-50);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ad-line);
  border-radius: 4px;
  font-size: 11px;
  color: var(--ad-white-70);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--ad-accent);
  color: #fff;
}

.code-box pre {
  padding: 18px;
  font-family: var(--ad-font-mono);
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: auto;
}

/* Notification Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--ad-primary-dark);
  border: 1px solid var(--ad-line-highlight);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  animation: slideToast 0.3s ease-out;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 14, 23, 0.98);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ad-ease);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 18px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .scripts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .presentation__points {
    grid-template-columns: 1fr;
  }
  .spotlight__grid {
    grid-template-columns: 1fr;
  }
  .benchmark__grid {
    grid-template-columns: 1fr;
  }
  .faq__layout {
    grid-template-columns: 1fr;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .ad-nav, .ad-discord-status {
    display: none;
  }
  .ad-burger {
    display: flex;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-stat:nth-child(2) {
    border-right: none;
  }
  .presentation__top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .scripts-grid {
    grid-template-columns: 1fr;
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PAGE DE CONNEXION & DASHBOARD CLIENT (Style VDMS access-pages)
   ========================================================================== */
.access-hero {
  position: relative;
  padding: 80px 0 60px;
  background: var(--ad-bg-deep);
  border-bottom: 1px solid var(--ad-line);
  overflow: hidden;
}

.access-hero__media {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.access-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6);
}

.access-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 23, 0.7) 0%, rgba(11, 14, 23, 1) 100%);
}

.access-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.access-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ad-white-50);
  margin-bottom: 18px;
}

.access-breadcrumb a:hover {
  color: var(--ad-white);
}

.access-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  color: var(--ad-white);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.05;
}

.access-hero__lead {
  font-size: 16px;
  color: var(--ad-white-70);
  max-width: 650px;
  line-height: 1.65;
}

/* Contenu principal de la connexion */
.access-content {
  padding: 80px 0;
  border-bottom: 1px solid var(--ad-line);
}

.access-gate {
  max-width: 580px;
  margin: 0 auto 50px;
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line-highlight);
  border-radius: 12px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.access-gate__icon {
  width: 68px;
  height: 68px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.access-gate__copy h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ad-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.access-gate__copy p {
  color: var(--ad-white-70);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 8px;
}

.access-gate__copy small {
  display: block;
  color: var(--ad-white-50);
  font-size: 11px;
  margin-bottom: 28px;
}

.access-gate__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px;
  background: #5865F2;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s var(--ad-ease);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
  cursor: pointer;
  border: 1px solid #5865F2;
}

.access-gate__button:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5);
}

.access-benefits {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.access-benefit {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access-benefit i {
  color: var(--ad-accent);
  font-size: 20px;
  margin-top: 2px;
}

.access-benefit strong {
  display: block;
  color: var(--ad-white);
  font-size: 14px;
  margin-bottom: 4px;
}

.access-benefit p {
  color: var(--ad-white-50);
  font-size: 12px;
  line-height: 1.5;
}

/* Dashboard Utilisateur ConnectÃ© */
.user-dashboard {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.user-dashboard__header {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.user-dashboard__profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-dashboard__avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 2px solid var(--ad-line-highlight);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.user-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}

.user-dashboard__section {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  padding: 32px;
}

.user-scripts-list {
  display: grid;
  gap: 14px;
}

.user-script-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(11, 14, 23, 0.6);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.user-script-row:hover {
  border-color: rgba(255, 26, 117, 0.35);
}

.user-script-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.user-quick-card {
  background: var(--ad-bg-card);
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  padding: 28px;
}

.user-quick-card h5 {
  font-size: 16px;
  color: var(--ad-white);
  margin-bottom: 8px;
}

.user-quick-card p {
  color: var(--ad-white-70);
  font-size: 13px;
  line-height: 1.6;
}

/* Section access-community */
.access-community {
  padding: 70px 0;
  background: #0d121c;
}

.access-community__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.access-community h2 {
  font-size: 26px;
  color: var(--ad-white);
  margin-bottom: 6px;
}

.access-community p {
  color: var(--ad-white-70);
  font-size: 14px;
}

/* ==========================================================================
   ADMINISTRATION & GESTIONNAIRE DES RESSOURCES
   ========================================================================== */

/* Badge Administrateur */
.user-role-badge--admin {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(255, 26, 117, 0.2)) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

/* Bannière d'administration sur le catalogue */
.admin-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: linear-gradient(90deg, rgba(13, 18, 28, 0.95), rgba(24, 16, 27, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.1);
  flex-wrap: wrap;
}

.admin-banner__content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 20px;
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.admin-banner__content p {
  color: var(--ad-white-90);
  font-size: 13px;
  margin: 0;
}

.admin-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Boutons admin sur chaque carte du catalogue */
.script-card {
  position: relative;
}

.script-card__admin-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.admin-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.admin-icon-btn--edit {
  background: rgba(13, 18, 28, 0.85);
  color: var(--ad-cyan);
}

.admin-icon-btn--edit:hover {
  background: var(--ad-cyan);
  color: #000;
  border-color: var(--ad-cyan);
  transform: translateY(-2px);
}

.admin-icon-btn--delete {
  background: rgba(13, 18, 28, 0.85);
  color: #ef4444;
}

.admin-icon-btn--delete:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
  transform: translateY(-2px);
}

/* Bouton danger */
.button--danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.button--danger:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* Panneau admin dashboard */
.admin-panel-box {
  border-color: rgba(245, 158, 11, 0.35) !important;
  background: linear-gradient(180deg, rgba(20, 16, 26, 0.7), rgba(11, 14, 23, 0.7)) !important;
}

.admin-stat-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-stat-card__num {
  font-size: 26px;
  font-weight: 800;
  color: #fbbf24;
  font-family: var(--ad-font-mono);
}

.admin-stat-card__label {
  font-size: 12px;
  color: var(--ad-white-50);
}

/* Modale Admin */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 2, 7, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.admin-modal {
  width: 100%;
  max-height: 90vh;
  background: #0d111a;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-modal--large {
  max-width: 1020px;
}

.admin-modal--form {
  max-width: 820px;
}

.admin-modal__header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--ad-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.admin-modal__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 18px;
}

.admin-modal__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ad-white);
  margin-bottom: 2px;
}

.admin-modal__sub {
  font-size: 12px;
  color: var(--ad-white-50);
  margin: 0;
}

.admin-modal__close {
  background: none;
  border: none;
  color: var(--ad-white-50);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.admin-modal__close:hover {
  color: var(--ad-white);
  background: rgba(255, 255, 255, 0.05);
}

.admin-modal__toolbar {
  padding: 16px 28px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--ad-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-search-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.admin-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ad-white-50);
  font-size: 13px;
}

.admin-search-wrap input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  color: var(--ad-white);
  font-size: 13px;
  outline: none;
}

.admin-search-wrap input:focus {
  border-color: #fbbf24;
}

.admin-modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.admin-modal__footer {
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--ad-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Tableau dans le gestionnaire */
.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 12px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ad-white-50);
  border-bottom: 1px solid var(--ad-line);
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

/* Grille du Formulaire Admin */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.admin-form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ad-white-70);
  margin-bottom: 6px;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  color: var(--ad-white);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.admin-form-grid select {
  background-color: #121722;
  cursor: pointer;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus {
  border-color: #fbbf24;
}

@media (max-width: 680px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

