/* ==========================================================================
   GLOBAL STYLES & VARIABLES
   ========================================================================== */

/* ===== Variables CSS ===== */
:root {
  --primary-color: #00f0ff;
  --primary-dark: #00a8b5;
  --secondary-color: #ff2d75;
  --dark-color: #1b2333;
  --darker-color: #050505;
  --light-color: #f0f0f0;
  --gray-color: #888888;
  --transition: all 0.3s ease;
  /* Couleurs Footer */
  --footer-bg-gradient: linear-gradient(
    135deg,
    rgba(5, 5, 15, 0.98) 0%,
    rgba(15, 15, 25, 0.95) 50%,
    rgba(25, 25, 35, 0.98) 100%
  );
  --footer-cyan: #00f0ff;
  --footer-pink: #ff2d75;
  --footer-link: #b0b0b0;
  --footer-link-hover: #00f0ff;
  --footer-text: #888;
  --footer-text-light: #e0e0e0;
  --footer-credit: #666;
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-glow: rgba(0, 240, 255, 0.5);
  --footer-bg-pink: rgba(255, 45, 117, 0.05);
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Roboto", sans-serif;
  background-color: var(--dark-color);
  color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-size: 1rem;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: radial-gradient(
      circle at 20% 30%,
      rgba(0, 240, 255, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 45, 117, 0.1) 0%,
      transparent 40%
    ),
    linear-gradient(to bottom, var(--darker-color), var(--dark-color));
    */
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--light-color);
}

/* Global section title style (used by pages like Drone, etc.) */
.display-5 {
  font-size: 2.5rem;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.05em;
  font-weight: 900;
  color: var(--light-color);
  text-align: center;
  margin-bottom: 1.5rem;
}
p {
  margin-bottom: 1rem;
  color: var(--light-color);
}
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--secondary-color);
}

/* ===== Animation du petit point ===== */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ===========================
   VARS GLOBALES
   =========================== */
:root {
  --nav-h: 72px;
} /* hauteur approx. de ta navbar */
@media (max-width: 991.98px) {
  :root {
    --nav-h: 64px;
  }
}

/* éviter que les ancres passent sous la navbar */
[id] {
  scroll-margin-top: var(--nav-h);
}

/* ===========================
   NAVBAR BLANCHE + BURGER PRO
   =========================== */
/* NAVBAR 100% BLANCHE (pas de transparence) */
.navbar,
.navbar.scrolled {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  z-index: 1030;
  transition: background 0.25s, box-shadow 0.25s;
}

/* Marque & logo */
.navbar-brand {
  font-family: "Orbitron", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  position: relative;
  text-decoration: none;
}
.navbar-brand::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}
.navbar-brand:hover::after {
  width: 100%;
}

.navbar-logo {
  max-height: 56px !important;
  width: auto;
}

/* Liens */
.navbar .nav-link {
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0f1a2e !important; /* texte normal = sombre */
  margin: 0 10px;
  padding: 8px 15px !important;
  position: relative;
  font-size: 0.85rem;
  transition: color 0.2s, background 0.2s;
}
.navbar .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color); /* barre = bleu fluo */
  transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #0a66ff !important; /* hover = bleu foncé */
}
.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
  width: 70%;
}

/* >>> Correction demandée : actif = même couleur que le hover (bleu foncé) */
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: #0a66ff !important;
}

/* Burger (3 barres -> X) lisible sur blanc */
.navbar .navbar-toggler {
  border: none;
  padding: 0.45rem 0.5rem;
  outline: 0;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}
.navbar .navbar-toggler:focus-visible {
  box-shadow: 0 0 0 0.15rem rgba(10, 102, 255, 0.25);
}
.navbar .navbar-toggler-icon {
  background-image: none;
  position: relative;
  display: inline-block;
  width: 26px;
  height: 2px;
  border-radius: 1px;
  background: #0f1a2e;
  transition: background 0.25s, transform 0.25s;
}
.navbar .navbar-toggler-icon::before,
.navbar .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  border-radius: 1px;
  background: #0f1a2e;
  transform-origin: center;
  transition: transform 0.25s, background 0.25s;
}
.navbar .navbar-toggler-icon::before {
  transform: translateY(-8px);
}
.navbar .navbar-toggler-icon::after {
  transform: translateY(8px);
}
.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}
.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translateY(0) rotate(45deg);
  background: var(--primary-color);
}
.navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: translateY(0) rotate(-45deg);
  background: var(--primary-color);
}

/* Menu mobile déployé (clair) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.6rem 0;
    margin-top: 0.6rem;
  }
  .navbar-nav {
    padding: 0 0.25rem;
  }
  .navbar .nav-item {
    margin: 0.2rem 0;
  }
  .navbar .nav-link {
    display: block;
    margin: 0;
    padding: 0.85rem 1rem !important;
  }
}

/* ==========================================================================
   GLOBAL FORM STYLES
   ========================================================================== */
.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light-color);
  border-radius: 10px;
  padding: 12px 15px;
  transition: var(--transition);
}
.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.25);
  color: var(--light-color);
}
.form-control::placeholder {
  color: var(--gray-color);
}
.form-label {
  color: var(--light-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light-color);
  border-radius: 10px;
  padding: 12px 15px;
  transition: var(--transition);
}
.form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.25);
  color: var(--light-color);
}
.form-select option {
  background: var(--dark-color);
  color: var(--light-color);
}

/* ==========================================================================
   HERO / TITRES STANDARD & ANIMATIONS
   ========================================================================== */

/* Animation pour les titres hero */
@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 45, 117, 0.8),
      0 0 30px rgba(0, 240, 255, 0.6);
  }
}

/* Titre de header/hero - Style simple sans effets */
.hero-title,
.formations-title {
  font-family: "Orbitron", sans-serif;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

/* Divider pour les headers - Style formations-vr */
.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 2.5rem auto;
  border-radius: 2px;
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  opacity: 0.3;
  border-radius: 2px;
}

/* Titres de sections en blanc */
.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-color);
  text-transform: uppercase;
  text-align: center;
}

/* Page Mentions legale et page confidentialite */
.page-hero {
  background: linear-gradient(135deg, #0f0f19 0%, #1a1a28 100%);
  color: #ffffff;
  padding: 160px 0 70px; /* ensures clear space under fixed navbar */
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-hero h1 {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.page-hero .subtitle {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.page-hero .divider {
  margin: 0.75rem 0 0.75rem 0; /* left aligned divider */
}
/* Breadcrumb in hero */
.breadcrumb-hero {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb-hero a {
  color: var(--primary-color);
}
.breadcrumb-hero .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 991.98px) {
  .page-hero {
    padding: 130px 0 50px;
  }
}

/* ==========================================================================
   LEAD TEXT
   ========================================================================== */
.lead,
p.lead,
.text.lead,
.section-header .lead,
.hero-content .lead {
  font-size: 1.4rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 1.5rem !important;
  font-weight: 300 !important;
}

/* ==========================================================================
   LANGUE / DRAPEAUX (Flag Icons)
   ========================================================================== */
.fi {
  font-size: 1.1em;
  line-height: 1em;
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.fi-fr {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><path fill="#fff" d="M0 0h9v6H0z"/><path fill="#002654" d="M0 0h3v6H0z"/><path fill="#ce1126" d="M6 0h3v6H6z"/></svg>');
  background-size: cover;
  width: 1.33333333em;
  height: 1em;
  display: inline-block;
}
.fi-gb {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><path fill="#012169" d="M0 0v30h60V0H0z"/><path fill="#FFF" d="M6.25 0L30 16.25 53.75 0H60v6.25L36.25 30H30L6.25 6.25V0z"/><path fill="#C8102E" d="M10 0v10L48.5 30h6.5l-37-20V0z"/><path fill="#FFF" d="M60 20v10l-30-20h6.25L60 20z"/><path fill="#C8102E" d="M20 0v30h20V0z"/><path fill="#C8102E" d="M0 20v10l30-20h-6.25L0 20z"/></svg>');
  background-size: cover;
  width: 1.33333333em;
  height: 1em;
  display: inline-block;
}

/* Bouton de langue */
#lang-toggle {
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--light-color) !important;
  text-decoration: none !important;
  border: none !important;
  background: transparent !important;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--primary-color) !important;
  transform: translateY(-1px);
}
#lang-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Version mobile pour langue */
@media (max-width: 767.98px) {
  #lang-toggle {
    padding: 0.5rem 0.75rem;
  }
  .fi {
    font-size: 1.3em;
  }
}

/* =========================================
   Footer - Modern Professional Design
   ========================================= */
.footer-main {
  background: var(--footer-bg-gradient);
  border-top: 2px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 240, 255, 0.3) 25%,
      rgba(255, 45, 117, 0.3) 75%,
      transparent 100%
    )
    1;
  padding: 60px 0 30px 0;
  position: relative;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
}

.footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(0, 240, 255, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 45, 117, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(0, 240, 255, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.footer-main::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 240, 255, 0.6) 25%,
    rgba(255, 45, 117, 0.6) 75%,
    transparent 100%
  );
  box-shadow: 0 0 20px var(--footer-glow);
}

.footer-container {
  position: relative;
  z-index: 2;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Brand Section */
.footer-brand-section {
  padding-right: 20px;
}
.footer-logo {
  font-family: "Orbitron", monospace;
  font-weight: 900;
  font-size: 2.2em;
  color: var(--footer-cyan);
  text-shadow: 0 0 20px var(--footer-glow);
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  display: block;
}
.footer-logo:hover {
  text-shadow: 0 0 30px var(--footer-glow);
  transform: scale(1.02);
}
.footer-tagline {
  color: var(--footer-text-light);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 300;
}
.footer-slogan {
  color: var(--footer-pink);
  font-style: italic;
  font-size: 1em;
  margin-bottom: 25px;
  border-left: 3px solid rgba(255, 45, 117, 0.5);
  background: var(--footer-bg-pink);
  padding: 10px 15px 10px 15px;
  border-radius: 0 8px 8px 0;
}

/* Section Navigation et Services */
.footer-section {
  display: flex;
  flex-direction: column;
}
.footer-section-title {
  color: var(--footer-cyan);
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 10px;
}
.footer-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--footer-cyan), var(--footer-pink));
  border-radius: 2px;
}

.footer-link,
.footer-legal-links a {
  color: var(--footer-link);
  text-decoration: none;
  font-size: 0.95em;
  transition: all 0.3s ease;
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-link i,
.footer-legal-links a i {
  font-size: 0.9em;
  opacity: 0.7;
  transition: all 0.3s ease;
}
.footer-link:hover,
.footer-legal-links a:hover {
  color: var(--footer-link-hover);
  transform: translateX(5px);
  text-shadow: 0 0 10px var(--footer-glow);
}
.footer-link:hover i,
.footer-legal-links a:hover i {
  opacity: 1;
  color: var(--footer-pink);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-services-list li {
  color: var(--footer-link);
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.footer-services-list i {
  color: var(--footer-cyan);
  font-size: 1.1em;
  opacity: 0.8;
}
.footer-services-list li:hover i {
  color: var(--footer-pink);
  opacity: 1;
}

/* Contact avec icônes */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--footer-link);
  font-size: 0.95em;
}
.footer-contact-item i {
  color: var(--footer-cyan);
  font-size: 1.1em;
  width: 20px;
  text-align: center;
}
.footer-contact-item:hover {
  color: var(--footer-text-light);
}

/* Séparateur élégant */
.footer-separator {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 240, 255, 0.3) 25%,
    rgba(255, 45, 117, 0.3) 75%,
    transparent 100%
  );
  margin: 30px 0;
  position: relative;
}
.footer-separator::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--footer-cyan), var(--footer-pink));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--footer-glow);
}

/* Footer bottom et crédits */
.footer-bottom,
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 0.92em;
  color: var(--footer-text);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 30px;
  flex-wrap: wrap;
}
.footer-legal,
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.footer-legal-links .divider,
.footer-legal .divider {
  color: var(--footer-credit);
  margin: 0 3px;
  font-size: 1em;
}
.footer-copyright {
  color: var(--footer-text);
  font-size: 0.96em;
  text-align: right;
}
.footer-credits {
  color: var(--footer-credit);
  font-size: 0.85em;
  text-align: center;
  margin-top: 15px;
  opacity: 0.85;
  padding-top: 15px;
  border-top: 1px solid var(--footer-border);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-vr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: transparent;
  color: #00f0ff;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #00f0ff;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  white-space: nowrap;
}

/* Animation fond circulaire */
.btn-vr::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.2) 0%,
    transparent 70%
  );
  opacity: 0;
  z-index: -1;
  transition: all 0.4s ease;
  transform: scale(0.5);
}

/* Glow au hover, sans translation */
.btn-vr:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: #00f0ff;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  color: white;
}

.btn-vr:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

/* Icône à gauche */
.btn-vr i {
  margin-right: 10px;
  font-size: 0.85rem;
}

/* Supprimer bordure noire ou flash */
.btn-vr:focus,
.btn-vr:active {
  outline: none;
  box-shadow: none;
  border-color: #00f0ff;
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--darker-color);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.4);
}

/* ==========================================================================
   LEGAL PAGES STYLES (Mentions légales & Confidentialité)
   ========================================================================== */

/* Section standard pour contenu principal */
.section-standard {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Contenu légal avec espacement professionnel */
.legal-content {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.legal-content h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 240, 255, 0.2);
  position: relative;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.legal-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-content ul {
  margin-bottom: 2rem;
  padding-left: 0;
}

.legal-content li {
  list-style: none;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 25px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.legal-content li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
  top: 2px;
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.legal-content a:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(255, 45, 117, 0.4);
}

/* Card premium pour sidebar */
.card-premium {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  position: sticky;
  top: 120px;
}

.card-premium h3 {
  color: var(--primary-color);
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.card-premium ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-premium li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.card-premium li:last-child {
  border-bottom: none;
}

/* Section accent pour CTA */
.section-accent {
  background: linear-gradient(
    135deg,
    rgba(0, 240, 255, 0.1) 0%,
    rgba(255, 45, 117, 0.1) 100%
  );
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.btn-primary-glow {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5);
  color: white;
}

/* Responsive pour mobile */
@media (max-width: 991.98px) {
  .legal-content {
    padding: 30px 20px;
  }

  .legal-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
  }

  .legal-content p,
  .legal-content li {
    font-size: 1rem;
  }

  .card-premium {
    position: static;
    margin-top: 30px;
  }

  .section-standard {
    padding: 50px 0;
  }

  .section-accent {
    padding: 40px 0;
  }
}

/* ==========================================================================
   Divider
   ========================================================================== */
.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 1.5rem auto;
  border-radius: 2px;
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-color);
}
