/* =========================================
   VARIABLES GLOBALES - Couleurs VR / 3D
   ========================================= */
:root {
  --vr-primary: #00f0ff;
  --vr-secondary: #ff2d75;
  --vr-dark: rgba(15, 15, 25, 0.95);
  --vr-darker: rgba(0, 0, 0, 0.8);
  --vr-card-bg: rgba(255, 255, 255, 0.05);
  --vr-border: rgba(0, 240, 255, 0.2);
  --primary-color: var(--vr-primary);
  --secondary-color: var(--vr-secondary);
}

/* =========================================
     SECTION HERO (Bannière d’accueil)
     ========================================= */

/* COMMENTÉ POUR VOIR LA VIDÉO
.formations-hero {
  background: linear-gradient(135deg, var(--vr-dark), rgba(25, 25, 35, 0.95));
  color: white;
  padding: 120px 0 80px;
  padding-bottom: 6rem;
  min-height: 100vh;
}

.formations-title {
  font-family: "Orbitron", sans-serif;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

/*

/* Animation hero-title-animated supprimée pour avoir un titre simple */

.hero-subtitle-animated {
  animation: vrSubtitleFade 1.5s ease-out 0.5s both;
}
.divider-animated {
  animation: vrDividerExpand 1s ease-out 0.3s both;
}
.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--vr-primary), var(--vr-secondary));
  margin: 2.5rem auto;
  border-radius: 2px;
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--vr-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--vr-primary);
}

/* =========================================
     HERO - Animations & effets visuels - COMMENTÉ POUR VOIR LA VIDÉO
     ========================================= */
/*
.vr-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.vr-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--vr-primary);
  border-radius: 50%;
  animation: vrParticleFloat 8s linear infinite;
  box-shadow: 0 0 10px var(--vr-primary), 0 0 20px var(--vr-primary);
}
.vr-particle::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, var(--vr-primary) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
}
*/
/* Particules flottantes */
/*
@keyframes vrParticleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}
*/
/* Cercles animés en arrière-plan - COMMENTÉ */
/*
.vr-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.vr-circle {
  position: absolute;
  border: 2px solid var(--vr-primary);
  border-radius: 50%;
  opacity: 0.1;
}
.vr-circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation: vrCircleRotate 20s linear infinite;
}
.vr-circle-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
  animation: vrCircleRotate 15s linear infinite reverse;
  border-color: var(--vr-secondary);
}
.vr-circle-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 30%;
  animation: vrCircleRotate 25s linear infinite;
  border-style: dashed;
}
@keyframes vrCircleRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
*/
/* Lignes de scan animées - COMMENTÉ */
/*
.vr-scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.scan-line {
  position: absolute;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--vr-primary),
    transparent
  );
  opacity: 0.7;
}
.scan-line-1 {
  top: 20%;
  height: 3px;
  animation: vrScanMove 4s ease-in-out infinite;
  box-shadow: 0 0 10px var(--vr-primary);
}
.scan-line-2 {
  top: 80%;
  height: 2px;
  animation: vrScanMove 6s ease-in-out infinite reverse;
  background: linear-gradient(
    90deg,
    transparent,
    var(--vr-secondary),
    transparent
  );
  box-shadow: 0 0 8px var(--vr-secondary);
}
@keyframes vrScanMove {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    transform: translateX(100%);
    opacity: 0.7;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
*/
/* Hero - CTA bouton */
.btn-vr-secondary {
  background: transparent;
  color: #00f0ff;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #00f0ff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  z-index: 1;
}
.btn-vr-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 240, 255, 0.05);
  opacity: 0;
  border-radius: 50px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-vr-secondary:hover {
  color: white;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transform: none !important;
}
.btn-vr-secondary:hover::before {
  opacity: 1;
}
.hero-cta {
  animation: vrCtaSlide 1.8s ease-out 1s both;
}
/* Animations Hero */
@keyframes vrTitleGlow {
  0% {
    text-shadow: 0 0 20px var(--vr-primary);
  }
  100% {
    text-shadow: 0 0 30px var(--vr-primary), 0 0 40px var(--vr-secondary);
  }
}
@keyframes vrTitleSlide {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes vrSubtitleFade {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes vrDividerExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 100px;
    opacity: 1;
  }
}
@keyframes vrCtaSlide {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =========================================
     INTRODUCTION 3D
     ========================================= */

.eyebrow {
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: #9fc9ff;
  background: rgba(77, 177, 255, 0.08);
  border: 1px solid rgba(77, 177, 255, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.section-intro-3d-alt {
  position: relative;
  padding: 5rem 0;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}

.section-intro-3d-alt::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35, 45, 65, 0.8);
  z-index: -1;
  pointer-events: none;
}

.section-intro-3d-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.5),
    transparent
  );
}

.intro-3d-benefits-row {
  margin-top: 2.5rem;
}

.benefit-icon-circle {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #00f0ff 0%, #8f5aff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(0, 240, 255, 0.18), 0 1px 10px 0 #23273a55;
  transition: transform 0.21s;
}
.benefit-icon-circle:hover {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 8px 32px #00f0ff55;
}

.benefit-text {
  color: #e9e9e9;
  font-size: 1.09rem;
  min-height: 52px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
}

.benefit-slogan {
  display: inline-block;
  font-size: 1.5rem;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  margin-top: 2rem;
  padding: 0.5rem 1.5rem;
  line-height: 1.4;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(90deg, #00f0ff 0%, #ff2d75 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Conteneur de section pour correspondre au style d'accueil.css */
.section-container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(35, 45, 65, 0.8);
  transition: all 0.3s ease;
}

.section-container:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
}

/* =========================================
     SECTIONS STYLES
     ========================================= */
.section-standard,
.section-accent,
.section-dark,
.section-intro-3d-alt,
.section-applications-3d,
.section-livrables {
  position: relative;
  overflow: hidden;
}

.section-standard::before,
.section-accent::before,
.section-dark::before,
.section-intro-3d-alt::before,
.section-applications-3d::before,
.section-livrables::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.5),
    transparent
  );
  z-index: 1;
}

/* =========================================
     Applications 3D
     ========================================= */

.section-applications-3d {
  background: linear-gradient(135deg, #09131e 75%, #0a1823 100%);
  padding: 5rem 0 5rem 0;
  position: relative;
  z-index: 2;
}

.applications-title {
  font-size: 2.5rem;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.05em;
  font-weight: 900;
}

.application-card-modern {
  background: rgba(35, 45, 65, 0.93);
  border: 1.5px solid rgba(0, 240, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 6px 44px 0 rgba(0, 0, 0, 0.27);
  padding: 2.5rem 2rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 510px;
  transition: box-shadow 0.25s, border-color 0.2s, transform 0.23s;
  position: relative;
  overflow: hidden;
}

.application-card-modern:hover {
  box-shadow: 0 22px 42px 0 rgba(0, 240, 255, 0.13);
  border-color: #00f0ff;
  transform: translateY(-7px) scale(1.032);
}

.app-card-icon {
  background: linear-gradient(135deg, #00f0ff 20%, #ff2d75 80%);
  color: #fff;
  box-shadow: 0 0 18px #00f0ff55;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.45rem;
  margin-bottom: 1.2rem;
  margin-left: 2px;
}

.app-card-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.52rem;
  font-weight: 900;
  background: linear-gradient(90deg, #00f0ff, #ff2d75 70%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.05rem;
  margin-top: 0;
  letter-spacing: 0.01em;
}

.app-card-desc {
  color: #bababa;
  font-size: 1.03rem;
  margin-bottom: 2.2rem;
  font-weight: 500;
  text-align: left;
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.app-features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  font-size: 1.09rem;
  color: #e0e0e0;
  font-weight: 600;
  border-left: 3px solid #00f0ff33;
  padding-left: 13px;
  gap: 0.5rem;
  transition: border-color 0.2s;
}

.application-card-modern:hover .app-features-list li {
  border-color: #00f0ff;
}

.app-feature-icon {
  width: 26px;
  min-width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #00f0ff 40%, #ff2d75 90%);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 0 7px #00f0ff33;
  margin-right: 9px;
  margin-top: 2px;
}

/* =========================================
     SCENARIOS (Cas d'usages 3D)
     ========================================= */
.section-scenarios {
  background: rgba(35, 45, 65, 0.8);
  color: white;
  padding: 3rem 0;
}
.formation-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px 30px 20px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  margin-bottom: 2rem;
}
.formation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.4);
}
/* Icônes thématiques */
.formation-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  transition: all 0.3s ease;
}
.formation-card:hover .formation-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.formation-icon-fire {
  background: linear-gradient(135deg, #ff6b35, #ff2d75);
}
.formation-icon-safety {
  background: linear-gradient(135deg, #00f0ff, #0080ff);
}
.formation-card h4 {
  color: #00f0ff;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
}
.formation-card p {
  color: #cccccc;
  margin-bottom: 30px;
  text-align: center;
}
.formation-card ul {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
}

.module-immersif {
  padding-top: 150px;
  padding-bottom: 100px;
}

/* =========================================
     TÉMOIGNAGES CLIENTS (Section témoignages)
     ========================================= 
.testimonial-card {
  background: var(--vr-card-bg);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.company-logo {
  transition: transform 0.3s ease;
}
.testimonial-card:hover .company-logo {
  transform: scale(1.1);
}
*/

/* =========================================
     ESPACEMENT GLOBAL & ADAPTATIF
     ========================================= */
/* Espacement général entre les sections */
section {
  padding-top: 5rem;
}
/* Sections avec fond sombre - un padding plus généreux */
section[style*="background: rgba(0, 0, 0"],
section[style*="background: linear-gradient"] {
  margin: 0;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Marges header de section */
.section-header {
  margin-bottom: 4rem;
}
.text-center.mb-5 {
  margin-bottom: 4rem !important;
}

/* padding supplémentaire */
.py-5 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
  margin: 0 !important;
}

/* =========================================
    Harmonisation des cartes modules VR
     ========================================= */
.vr-module-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  background: rgba(35, 45, 65, 0.97);
  border: 1.5px solid rgba(0, 240, 255, 0.07);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.08);
  transition: border 0.25s, box-shadow 0.25s;
}
.vr-module-card:hover {
  border: 1.5px solid var(--vr-primary);
  box-shadow: 0 12px 36px 0 rgba(0, 240, 255, 0.1);
}
.icon-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.vr-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  font-size: 2rem;
  background: linear-gradient(135deg, #232b38 50%, #222 100%);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
  margin-bottom: 7px;
}
.vr-card-icon.fire {
  background: linear-gradient(135deg, #ff6b35 40%, #ff2d75 90%);
  color: #fff;
}
.vr-card-icon.safety {
  background: linear-gradient(135deg, #00f0ff 60%, #0080ff 100%);
  color: #fff;
}
.vr-module-card h4 {
  color: var(--vr-primary);
  font-size: 1.45rem;
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
  font-weight: 700;
}
.vr-badge-stack {
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.feature-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  min-width: 230px;
  font-size: 1.05rem;
  font-weight: 500;
  border: 1.5px solid rgba(0, 240, 255, 0.08);
  transition: background 0.2s, border 0.2s;
  box-shadow: 0 2px 8px 0 rgba(0, 240, 255, 0.02);
}
.feature-badge i {
  font-size: 1.2em;
}
.feature-badge-fire {
  border-left: 5px solid #ff2d75;
}
.feature-badge-safety {
  border-left: 5px solid #00f0ff;
}
.feature-badge:hover {
  background: rgba(0, 240, 255, 0.13);
  border-color: var(--vr-primary);
}

/* ==========================================================================
     VR DEMO SECTION
     ========================================================================== */
.section-header h2 {
  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;
}

.vr-demo-section {
  padding: 100px 0;
  position: relative;
  overflow: visible; /* Permet au trait de séparation d'être visible */
}
.vr-demo-section .container {
  position: relative;
  z-index: 2;
}
.vr-demo-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
  animation: vrIconPulse 3s ease-in-out infinite;
}
.vr-demo-icon i {
  font-size: 2rem;
  color: #fff;
}
@keyframes vrIconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.5),
      0 0 20px rgba(255, 45, 117, 0.3);
  }
}
/* Instructions */

.instruction-item {
  padding: 20px;
  transition: transform 0.3s;
}
.instruction-item:hover {
  transform: translateY(-5px);
}
.instruction-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}
.instruction-item h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.instruction-item p {
  color: #ccc;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== SECTION FORMATION SÉCURITÉ VR ===== */
.vr-security-demo {
  margin-top: 60px;
  margin-bottom: 60px;
  border-radius: 2%;
}

/* Anchor offset so hash targets are not hidden under the fixed header */
#module-immersif,
.module-immersif,
.vr-instructions,
.vr-security-demo {
  scroll-margin-top: 96px; /* adjust if header height changes */
}

.vr-instructions {
  display: flex;
  justify-content: center;
}

/* ===== STYLES POUR LE VIEWER 360° ===== */
.vr-viewer-container {
  max-width: 900px;
  width: 90%;
  margin: 20px auto;
  padding: 0;
  box-sizing: border-box;
}

#vr-viewer {
  width: 100% !important;
  height: 500px !important;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

/* Styles responsifs */
@media (max-width: 992px) {
  #vr-viewer {
    height: 350px !important;
  }
}

@media (max-width: 768px) {
  .vr-viewer-container {
    width: 95%;
  }

  #vr-viewer {
    height: 300px !important;
  }
}

@media (max-width: 576px) {
  #vr-viewer {
    height: 250px !important;
  }
}

.vr-security-demo h3 {
  color: #ff2d75;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
}

.vr-security-demo .divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff2d75, #ff4d8a);
  border-radius: 2px;
}

.vr-security-demo .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.vr-security-container {
  background: rgba(35, 45, 65, 0.6);
  border-radius: 20px;
  padding: 30px;
  border: 2px solid rgba(255, 45, 117, 0.3);
  position: relative;
  box-shadow: 0 15px 40px rgba(255, 45, 117, 0.2);
}

.vr-security-demo .demo-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(45deg, #ff2d75, #ff4d8a);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 45, 117, 0.5);
  animation: pulse 2s infinite;
}

.vr-security-demo .sketchfab-embed-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 45, 117, 0.4);
}

.vr-security-demo .sketchfab-embed-wrapper p {
  font-size: 13px;
  font-weight: normal;
  margin: 15px 0 5px 0;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.vr-security-demo .sketchfab-embed-wrapper a {
  font-weight: bold;
  color: #ff2d75;
  text-decoration: none;
}

.security-feature {
  padding: 15px;
}

.security-feature i {
  font-size: 2rem;
  color: #ff2d75;
  margin-bottom: 10px;
}

.security-feature h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 8px;
}

.security-feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.vr-viewer-frame {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 240, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
}
.vr-viewer-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 240, 255, 0.03),
    transparent
  );
  pointer-events: none;
}
.vr-viewer-content {
  width: 100%;
  height: 600px;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
  position: relative;
  border: 2px solid rgba(0, 240, 255, 0.3);
  transition: border-color 0.3s;
}
.vr-viewer-content:hover {
  border-color: rgba(0, 240, 255, 0.6);
}
.vr-viewer-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.5s;
}
.vr-loading {
  text-align: center;
  color: #fff;
}
.vr-loading-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(0, 240, 255, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: vrSpin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes vrSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.vr-loading p {
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0;
}
.vr-demo-subtitle {
  font-size: 1.3rem;
  color: #ccc;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2; /* derrière tous les effets */
  transform: translate(-50%, -50%);
  object-fit: cover; /* recadrage comme background-size: cover */
}

/* Optimisation mobile : repositionner la vidéo correctement */
@media (max-width: 768px) {
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: none;
  }
}

/* Désactiver vidéo seulement si motion réduite demandée */
@media (prefers-reduced-motion: reduce) {
  .video-background {
    display: none;
  }
}

.header-solution-3d {
  margin-top: 150px; /* ajuste la valeur */
}

.hero-title-only {
  position: absolute;
  bottom: 12vh;
  right: 50%; /* ✅ centre le point d’ancrage */
  transform: translateX(-50%); /* ✅ recentre l’élément */
  z-index: 1;
  text-align: center;
  padding: 0.25rem 0.75rem;
}

.hero-h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(26px, 5vw, 56px); /* s’adapte à l’écran */
  line-height: 1.15;
  color: #fff;
  /* lisible sans “panneau” */
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), 0 2px 4px rgba(0, 0, 0, 0.5);
}
