/* ==========================================================================
   BHYNEXA TECHNOLOGIES — Feuille de style principale (Design High-Tech Moderne)
   Couleurs officielles : Bleu Nuit Tech (#060B16, #0B132B), Rouge Cramoisi (#E11D48),
   Blanc Pur (#F8FAFC), Accent Cyan Électrique (#38BDF8)
   ========================================================================== */

/* Variables CSS globales (Thème Sombre / Mode Nuit par défaut) */
:root {
  --bg-dark: #060b16;
  --bg-navy: #0b132b;
  --bg-card: rgba(15, 25, 50, 0.78);
  --bg-card-hover: rgba(20, 34, 68, 0.92);
  --brand-red: #e11d48;
  --brand-red-bright: #f43f5e;
  --brand-red-dark: #be123c;
  --brand-red-glow: rgba(225, 29, 72, 0.38);
  --accent-cyan: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-red: rgba(225, 29, 72, 0.45);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-red: 0 10px 28px -6px rgba(225, 29, 72, 0.45);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Grille technologique et halos lumineux d'arrière-plan */
.bg-grid {
  position: fixed;
  inset: 0;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 50%, transparent 100%);
  pointer-events: none;
  z-index: -2;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: -1;
}

.bg-glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.22), transparent 70%);
  top: -120px;
  left: -100px;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.28), transparent 70%);
  top: 25%;
  right: -180px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   1. BARRE SUPÉRIEURE (TOP BAR : Coordonnées rapides & Badge Partenaire)
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #040812 0%, #0e1836 50%, #040812 100%);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-weight: 500;
}

.topbar-item svg {
  color: var(--brand-red);
}

.topbar-item:hover {
  color: #fff;
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.16);
}

.topbar-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(225, 29, 72, 0.35);
  padding: 3px 12px;
  border-radius: 999px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 8px var(--brand-red);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

/* ==========================================================================
   2. EN-TÊTE DE NAVIGATION (NAVBAR STICKY, ICÔNES D'ACTION & MENU BURGER)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 22, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 11, 22, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(225, 29, 72, 0.55);
  background: #141923;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
}

.brand-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
}

.brand-name .bhy {
  color: #ffffff;
}

.brand-name .nexa {
  color: var(--brand-red);
}

.brand-sub {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--text-soft);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-icon-btn:hover {
  border-color: var(--brand-red);
  background: rgba(225, 29, 72, 0.14);
  color: var(--brand-red-bright);
  transform: translateY(-1px);
}

.lang-icon-btn {
  width: auto;
  padding: 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-chat-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.online-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

/* Styles génériques des boutons ( Rouge principal, Contour, Effet verre ) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
  padding: 13px 24px;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--brand-red-bright) 0%, var(--brand-red) 100%);
  box-shadow: 0 14px 32px -6px rgba(225, 29, 72, 0.65);
}

.btn-primary-sm {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
  padding: 9px 18px;
  font-size: 0.88rem;
  box-shadow: var(--shadow-red);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  background: var(--brand-red-bright);
}

.btn-outline-sm {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--border-glass);
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-outline-sm:hover {
  border-color: var(--brand-red);
  background: rgba(225, 29, 72, 0.12);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 13px 24px;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  padding: 15px 24px;
  font-size: 1rem;
}

.nav-mobile-extra {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  border-color: var(--brand-red);
  background: rgba(225, 29, 72, 0.14);
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   3. SECTION HÉRO (ACCUEIL : SLOGAN, CHIFFRES CLÉS & CARTE VISUELLE 3D)
   ========================================================================== */
.hero {
  padding: 64px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 25, 50, 0.85);
  border: 1px solid var(--border-red);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(225, 29, 72, 0.15);
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: 'Orbitron', sans-serif;
  line-height: 1.05;
  margin-bottom: 14px;
}

.brand-highlight {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.text-red {
  color: var(--brand-red);
  text-shadow: 0 0 28px rgba(225, 29, 72, 0.45);
}

.hero-title-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.36em;
  color: var(--text-soft);
  margin-top: 4px;
}

.hero-slogan {
  font-style: italic;
  font-size: 1.22rem;
  color: #e2e8f0;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--brand-red);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-description strong {
  color: #fff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 26px;
  background: rgba(11, 19, 43, 0.72);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  max-width: 580px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-red-bright);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-glass);
}

/* Carte visuelle 3D à droite du Hero avec badges flottants animés */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: linear-gradient(160deg, rgba(16, 27, 56, 0.92) 0%, rgba(7, 12, 26, 0.96) 100%);
  border: 1px solid rgba(225, 29, 72, 0.38);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(225, 29, 72, 0.16);
  position: relative;
}

.circuit-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--brand-red);
  pointer-events: none;
}

.circuit-top-left {
  top: -2px;
  left: -2px;
  border-top: 3px solid var(--brand-red);
  border-left: 3px solid var(--brand-red);
  border-top-left-radius: var(--radius-lg);
}

.circuit-bottom-right {
  bottom: -2px;
  right: -2px;
  border-bottom: 3px solid var(--brand-red);
  border-right: 3px solid var(--brand-red);
  border-bottom-right-radius: var(--radius-lg);
}

.hero-logo-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090d16;
  margin-bottom: 18px;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card-main:hover .hero-logo-img {
  transform: scale(1.03);
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.command-center-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-led {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  flex-shrink: 0;
}

.command-center-status strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.command-center-status span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-chat-trigger {
  background: rgba(225, 29, 72, 0.16);
  color: #fff;
  border: 1px solid var(--brand-red);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-chat-trigger:hover {
  background: var(--brand-red);
}

.floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 19, 43, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  animation: floatPill 4s ease-in-out infinite;
}

.pill-top {
  top: -18px;
  right: -14px;
}

.pill-bottom {
  bottom: 65px;
  left: -24px;
  animation-delay: 2s;
}

.pill-icon {
  font-size: 1.4rem;
}

.floating-pill strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
}

.floating-pill small {
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ==========================================================================
   4. EN-TÊTES DE SECTIONS (BADGE, TITRE & SOUS-TITRE CENTRÉS)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.18), rgba(15, 25, 50, 0.85));
  border: 1px solid var(--border-red);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-tag svg {
  color: var(--brand-red-bright);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   5. SERVICES & SOLUTIONS — 12 CAPSULES MINIMALISTES INTERACTIVES
   ========================================================================== */
.services-section {
  padding: 80px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-capsule {
  background: rgba(13, 22, 46, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: #fff;
  backdrop-filter: blur(12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-capsule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-red);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-capsule:hover {
  transform: translateY(-3px);
  background: rgba(20, 33, 68, 0.92);
  border-color: rgba(225, 29, 72, 0.55);
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.7), 0 0 24px rgba(225, 29, 72, 0.16);
}

.service-capsule:hover::before {
  opacity: 1;
}

.capsule-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.capsule-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #9f1239 100%);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.service-capsule:hover .capsule-icon {
  transform: scale(1.07);
}

.capsule-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
}

.capsule-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.service-capsule:hover .capsule-arrow {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateX(3px);
}

.map-layer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   6. SECTION POURQUOI NOUS CHOISIR & BROCHURE OFFICIELLE
   ========================================================================== */
.why-section {
  padding: 84px 0;
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.45) 0%, rgba(6, 11, 22, 0.9) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.why-content .section-title {
  text-align: left;
}

.why-lead {
  color: var(--text-soft);
  font-size: 1.04rem;
  margin-bottom: 28px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 25, 50, 0.65);
  border: 1px solid var(--border-glass);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-red);
  transform: translateX(4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #9f1239 100%);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.07);
}

.feature-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Carte d'aperçu et de téléchargement du flyer officiel BHYNEXA */
.brochure-card {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.brochure-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.brochure-badge {
  background: var(--brand-red);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 6px;
}

.brochure-header h3 {
  font-size: 1.05rem;
  color: #fff;
}

.brochure-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  margin-bottom: 16px;
  max-height: 500px;
  overflow-y: auto;
}

.brochure-img {
  width: 100%;
  height: auto;
}

.brochure-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-download:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

/* ==========================================================================
   7. SECTION CONTACT & FORMULAIRE DE DEMANDE DE DEVIS
   ========================================================================== */
.contact-section {
  padding: 88px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-info-panel {
  background: linear-gradient(155deg, rgba(16, 28, 60, 0.9) 0%, rgba(8, 14, 30, 0.95) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-panel-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.info-panel-header p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-item-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 15px 18px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-item-card:hover {
  border-color: var(--brand-red);
  background: rgba(225, 29, 72, 0.08);
  transform: translateX(4px);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red) 0%, #9f1239 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.contact-icon-box.wa-icon-box {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1rem;
  color: #fff;
}

.contact-value-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.wa-inline-icon {
  color: #25d366;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.35));
}

.social-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
  font-weight: 600;
  color: var(--text-soft);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.social-icon.social-icon-wa,
[data-theme="light"] .social-icon.social-icon-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.38);
}

.social-icon.social-icon-wa:hover,
[data-theme="light"] .social-icon.social-icon-wa:hover {
  background: linear-gradient(135deg, #2be571 0%, #17a393 100%);
  border-color: #2be571;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.55);
}

/* Panneau du formulaire de demande de devis (droite) */
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 7px;
}

.req {
  color: var(--brand-red-bright);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(6, 11, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: #fff;
  font-family: inherit;
  font-size: 0.94rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.22);
}

.form-group select option {
  background: #0b132b;
  color: #fff;
}

.form-error {
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid var(--brand-red);
  color: #fecdd3;
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.form-success {
  margin-top: 20px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 18px;
  border-radius: var(--radius-md);
}

.success-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.success-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10b981;
  color: #06281e;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-header h4 {
  color: #ecfdf5;
  font-size: 1rem;
}

.success-header p {
  color: #a7f3d0;
  font-size: 0.86rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   8. SECTION CARTE GPS INTERACTIVE (12°37'46.5"N 8°02'01.8"W | 12.629581, -8.033829)
   ========================================================================== */
.map-section {
  padding: 20px 0 88px;
}

.map-card {
  background: var(--bg-card);
  border: 1px solid rgba(225, 29, 72, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 24px;
  background: linear-gradient(90deg, rgba(11, 19, 43, 0.96) 0%, rgba(25, 11, 26, 0.96) 100%);
  border-bottom: 1px solid var(--border-glass);
}

.map-coords-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.coord-chip {
  font-size: 0.82rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 8px;
}

.coord-chip strong {
  color: var(--brand-red-bright);
}

.map-hud-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-viewport-wrapper {
  position: relative;
  height: 440px;
  width: 100%;
  background: #080f1e;
}

.bhynexa-map,
.bhynexa-map.leaflet-container,
.bhynexa-map .leaflet-pane,
.bhynexa-map * {
  touch-action: pan-y !important;
  -ms-touch-action: pan-y !important;
}

.bhynexa-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.two-finger-overlay {
  position: absolute;
  inset: 0;
  z-index: 480;
  background: rgba(6, 11, 22, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.two-finger-overlay.visible {
  opacity: 1;
}

.two-finger-text {
  background: rgba(11, 19, 43, 0.96);
  border: 1px solid var(--brand-red);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
}

.map-scroll-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 450;
  background: rgba(6, 11, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* Marqueur GPS officiel BHYNEXA ancré exactement sur 12.629581, -8.033829 */
.bhynexa-leaflet-pin {
  background: transparent;
  border: none;
}

.map-pin-wrapper {
  position: relative;
  width: 140px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.fixed-logo-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin-top: -29px;
  margin-left: -29px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.45);
  animation: mapPulseRing 2.2s infinite ease-out;
}

@keyframes mapPulseRing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.fixed-logo-box {
  width: 78px;
  height: 68px;
  border-radius: 15px;
  overflow: hidden;
  border: 2.5px solid var(--brand-red);
  background: #141923;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85), 0 0 22px rgba(225, 29, 72, 0.65);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixed-logo-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}

.fixed-logo-label {
  margin-top: 6px;
  background: rgba(6, 11, 22, 0.94);
  border: 1px solid var(--brand-red);
  padding: 4px 12px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  z-index: 2;
  white-space: nowrap;
}

.fixed-logo-label strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.fixed-logo-label strong span {
  color: var(--brand-red);
}

.fixed-logo-label small {
  display: block;
  font-size: 0.68rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.fixed-logo-pointer {
  width: 14px;
  height: 14px;
  background: var(--brand-red);
  border: 3px solid #fff;
  border-radius: 50%;
  margin-top: 5px;
  box-shadow: 0 0 12px var(--brand-red);
  z-index: 2;
}

/* ==========================================================================
   9. PIED DE PAGE PROFESSIONNEL STRUCTURÉ (FOOTER PRO)
   ========================================================================== */
.footer-pro {
  background: linear-gradient(180deg, #060b18 0%, #03060d 100%);
  border-top: 1px solid rgba(225, 29, 72, 0.35);
  padding: 58px 0 28px;
  position: relative;
}

.footer-pro-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 1fr 1.15fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--border-glass);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-slogan {
  font-style: italic;
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.95rem;
  padding-left: 10px;
  border-left: 2.5px solid var(--brand-red);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-partner-badge {
  margin-top: 4px;
}

.footer-col-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-list a:hover {
  color: var(--brand-red-bright);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.footer-contact-link:hover {
  color: #ffffff;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: var(--brand-red-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon.footer-wa-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.footer-pro-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}

.footer-min-Copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. WIDGET CHATBOT INTERACTIF (NexaBot)
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-toggle-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red) 0%, #9f1239 100%);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.chat-toggle-btn:hover {
  transform: scale(1.07);
}

.chat-unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #042f2e;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

.chat-icon-close {
  display: none;
}

.chat-widget.open .chat-icon-open {
  display: none;
}

.chat-widget.open .chat-icon-close {
  display: block;
}

.chat-window {
  position: absolute;
  bottom: 78px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 530px;
  max-height: calc(100vh - 120px);
  background: #0a1226;
  border: 1px solid rgba(225, 29, 72, 0.45);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transition: var(--transition);
}

.chat-widget.open .chat-window {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: linear-gradient(135deg, #131f42 0%, #240b1d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #141923;
  border: 1.5px solid rgba(225, 29, 72, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.chat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.chat-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0a1226;
}

.chat-header h4 {
  font-size: 0.94rem;
  color: #fff;
  line-height: 1.2;
}

.chat-status-text {
  font-size: 0.74rem;
  color: #a7f3d0;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-action-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-action-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: fadeInMsg 0.22s ease;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 4px;
  color: var(--text-main);
}

.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--brand-red) 0%, #be123c 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg a,
.chat-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  margin-right: 5px;
  background: rgba(225, 29, 72, 0.22);
  border: 1px solid var(--brand-red);
  color: #fff;
  padding: 6px 11px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.chat-inline-btn:hover,
.chat-msg a.chat-inline-btn:hover {
  background: var(--brand-red);
  color: #fff;
  transform: translateY(-1px);
}

.chat-inline-btn.chat-btn-wa {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25d366;
  color: #4ade80;
}

.chat-inline-btn.chat-btn-wa:hover {
  background: #25d366;
  color: #fff;
}

.chat-msg-time {
  display: block;
  font-size: 0.68rem;
  opacity: 0.6;
  margin-top: 6px;
  text-align: right;
}

.chat-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f8fafc;
  padding: 7px 10px;
  border-radius: 9px;
  margin-top: 5px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chat-service-item:hover {
  background: rgba(225, 29, 72, 0.22);
  border-color: var(--brand-red);
  transform: translateX(3px);
}

/* Indicateur animé "NexaBot est en train d'écrire..." */
.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red-bright);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0.65);
    opacity: 0.45;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.chat-suggestions {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 11, 22, 0.6);
}

.chat-suggestions::-webkit-scrollbar {
  height: 4px;
}

.chat-suggestions::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.chip {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-soft);
  padding: 5px 11px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #060b16;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 13px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--brand-red);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send-btn:hover {
  background: var(--brand-red-bright);
}

/* ==========================================================================
   11. ANIMATIONS D'ENTRÉE (HERO) & APPARITION AU DÉFILEMENT (SCROLL-REVEAL)
   ========================================================================== */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroCardReveal {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.94);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Cascade d'apparition automatique au chargement de la page (Section Hero) */
.hero-content .hero-badge {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hero-content .hero-title {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.hero-content .hero-slogan {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero-content .hero-description {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.hero-content .hero-cta-group {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.hero-content .hero-stats {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

.hero-visual .hero-card-main {
  animation: heroCardReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}

/* Classes animées déclenchées au défilement via IntersectionObserver */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-left {
  transform: translateX(-32px);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(32px);
}

.reveal-on-scroll.reveal-scale {
  transform: translateY(22px) scale(0.96);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   12. BOUTONS RETOUR EN HAUT DE PAGE (PIED DE PAGE & BOUTON FLOTTANT)
   ========================================================================== */
.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red) 0%, #be123c 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
  transition: var(--transition);
}

.footer-top-btn:hover {
  transform: translateY(-3px);
  background: var(--brand-red-bright);
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.65);
}

.back-to-top-float {
  position: fixed;
  bottom: 98px;
  right: 31px;
  z-index: 990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 19, 43, 0.92);
  border: 1.5px solid var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 16px rgba(225, 29, 72, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: var(--transition);
}

.back-to-top-float.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-float:hover {
  background: var(--brand-red);
  transform: translateY(-3px);
}

/* ==========================================================================
   13. BOUTON DE THÈME & MODE JOUR / CLAIR ([data-theme="light"])
   ========================================================================== */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--brand-red);
  background: rgba(225, 29, 72, 0.14);
  transform: translateY(-1px);
}

/* En Mode Nuit (par défaut) : affiche l'icône Soleil ☀️ pour passer au Mode Jour */
.theme-icon-moon {
  display: none;
}

.theme-icon-sun {
  display: inline-block;
}

/* En Mode Jour ([data-theme="light"]) : affiche l'icône Lune 🌙 pour revenir au Mode Nuit */
[data-theme="light"] .theme-icon-sun {
  display: none;
}

[data-theme="light"] .theme-icon-moon {
  display: inline-block;
}

/* Variables et surcharges visuelles pour le Mode Jour (Thème Clair) */
[data-theme="light"] {
  --bg-dark: #f4f7fb;
  --bg-navy: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --text-main: #0b132b;
  --text-muted: #475569;
  --text-soft: #1e293b;
  --border-glass: rgba(15, 23, 42, 0.11);
  --shadow-card: 0 16px 36px -10px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .topbar {
  background: #0b132b;
  color: #f8fafc;
}

[data-theme="light"] .topbar-item {
  color: #e2e8f0;
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .brand-name .bhy,
[data-theme="light"] .section-title,
[data-theme="light"] .feature-card h3,
[data-theme="light"] .brochure-header h3,
[data-theme="light"] .info-panel-header h3,
[data-theme="light"] .form-header h3,
[data-theme="light"] .contact-value,
[data-theme="light"] .capsule-title,
[data-theme="light"] .command-center-status strong,
[data-theme="light"] .floating-pill strong {
  color: #0b132b;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--brand-red);
}

[data-theme="light"] .btn-outline-sm,
[data-theme="light"] .btn-glass,
[data-theme="light"] .nav-icon-btn,
[data-theme="light"] .mobile-menu-btn {
  background: rgba(15, 23, 42, 0.05);
  color: #0b132b;
  border-color: rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .btn-outline-sm:hover,
[data-theme="light"] .btn-glass:hover {
  background: rgba(225, 29, 72, 0.1);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

[data-theme="light"] .mobile-menu-btn span {
  background: #0b132b;
}

[data-theme="light"] .hero-badge,
[data-theme="light"] .section-tag {
  background: rgba(225, 29, 72, 0.09);
  color: #0b132b;
}

[data-theme="light"] .hero-slogan {
  color: #1e293b;
}

[data-theme="light"] .hero-description strong {
  color: #0b132b;
}

[data-theme="light"] .hero-stats,
[data-theme="light"] .hero-card-main,
[data-theme="light"] .floating-pill,
[data-theme="light"] .service-capsule,
[data-theme="light"] .feature-card,
[data-theme="light"] .brochure-card,
[data-theme="light"] .contact-info-panel,
[data-theme="light"] .contact-form-panel,
[data-theme="light"] .map-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .service-capsule:hover {
  background: #ffffff;
  border-color: var(--brand-red);
  box-shadow: 0 16px 34px rgba(225, 29, 72, 0.14);
}

[data-theme="light"] .capsule-arrow {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0b132b;
}

[data-theme="light"] .btn-chat-trigger {
  color: var(--brand-red);
  background: rgba(225, 29, 72, 0.08);
}

[data-theme="light"] .btn-chat-trigger:hover {
  color: #fff;
  background: var(--brand-red);
}

[data-theme="light"] .why-section {
  background: linear-gradient(180deg, #e9eff8 0%, #f4f7fb 100%);
}

[data-theme="light"] .contact-item-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .social-icon {
  color: #0b132b;
  border-color: rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .social-icon:hover {
  color: #fff;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #f8fafc;
  color: #0b132b;
  border-color: rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .form-group select option {
  background: #ffffff;
  color: #0b132b;
}

[data-theme="light"] .form-success {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.14);
}

[data-theme="light"] .success-header h4 {
  color: #064e3b;
  font-weight: 800;
}

[data-theme="light"] .success-header p {
  color: #065f46;
  font-weight: 500;
}

[data-theme="light"] .success-header p strong {
  color: #022c22;
  font-weight: 800;
}

[data-theme="light"] .success-check {
  background: #059669;
  color: #ffffff;
}

[data-theme="light"] .form-error {
  background: #fff1f2;
  border: 1.5px solid var(--brand-red);
  color: #9f1239;
  font-weight: 600;
}

[data-theme="light"] .map-hud-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .coord-chip {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #1e293b;
}

[data-theme="light"] .footer-pro {
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .footer-col-title,
[data-theme="light"] .footer-slogan,
[data-theme="light"] .footer-contact-link:hover {
  color: #0b132b;
}

[data-theme="light"] .footer-partner-badge {
  background: rgba(225, 29, 72, 0.09);
  color: #0b132b;
}

[data-theme="light"] .btn-download {
  background: #0b132b;
  color: #fff;
}

/* Styles spécifiques du Chatbot (NexaBot) en Mode Jour (fond clair & barres de défilement visibles) */
[data-theme="light"] .chat-window {
  background: #ffffff;
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .chat-messages {
  background: #f8fafc;
}

[data-theme="light"] .chat-msg.bot {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0b132b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .chat-msg.bot a,
[data-theme="light"] .chat-msg.bot .chat-inline-btn {
  background: rgba(225, 29, 72, 0.1);
  color: var(--brand-red);
  border-color: var(--brand-red);
}

[data-theme="light"] .chat-msg.bot .chat-inline-btn:hover {
  background: var(--brand-red);
  color: #fff;
}

[data-theme="light"] .chat-msg.bot .chat-inline-btn.chat-btn-wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: #16a34a;
  color: #15803d;
}

[data-theme="light"] .chat-msg.bot .chat-inline-btn.chat-btn-wa:hover {
  background: #25d366;
  color: #fff;
}

[data-theme="light"] .chat-service-item {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0b132b;
}

[data-theme="light"] .chat-service-item:hover {
  background: rgba(225, 29, 72, 0.1);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

[data-theme="light"] .chat-suggestions {
  background: #f1f5f9;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  scrollbar-color: rgba(15, 23, 42, 0.35) rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .chat-suggestions::-webkit-scrollbar {
  height: 5px;
}

[data-theme="light"] .chat-suggestions::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 4px;
}

[data-theme="light"] .chat-suggestions::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.32);
  border-radius: 4px;
}

[data-theme="light"] .chat-suggestions::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

[data-theme="light"] .chat-messages::-webkit-scrollbar {
  width: 6px;
}

[data-theme="light"] .chat-messages::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .chat-messages::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.25);
  border-radius: 4px;
}

[data-theme="light"] .chip {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #1e293b;
}

[data-theme="light"] .chip:hover {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

[data-theme="light"] .chat-input-area {
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .chat-input-area input {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.16);
  color: #0b132b;
}

[data-theme="light"] .chat-input-area input::placeholder {
  color: #64748b;
}

[data-theme="light"] .back-to-top-float {
  background: #ffffff;
  color: #0b132b;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .back-to-top-float:hover {
  background: var(--brand-red);
  color: #fff;
}

@media (max-width: 1040px) {
  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  }

  [data-theme="light"] .nav-mobile-phone {
    background: rgba(15, 23, 42, 0.05);
    color: #0b132b;
  }
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (ADAPTATION TABLETTES & MOBILES)
   ========================================================================== */
@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .navbar-inner {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 11, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-red);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 26px;
    gap: 6px;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(225, 29, 72, 0.14);
  }

  .nav-link::after {
    display: none;
  }

  .nav-mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-glass);
  }

  .nav-mobile-phone {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
  }

  .mobile-menu-btn {
    display: flex !important;
    flex-shrink: 0;
  }

  .pill-top,
  .pill-bottom {
    position: static;
    margin-top: 12px;
  }

  .footer-pro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .footer-pro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-pro-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .container {
    padding: 0 14px;
  }

  .navbar-inner {
    height: 68px;
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-emblem {
    width: 40px;
    height: 36px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-icon-btn,
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
  }

  .lang-icon-btn {
    width: auto;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hide-mobile {
    display: none;
  }

  .topbar-right {
    display: none;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .stat-divider {
    display: none;
  }

  .contact-form-panel,
  .contact-info-panel {
    padding: 22px;
  }

  .map-viewport-wrapper {
    height: 350px;
  }

  .map-hud-bar {
    padding: 14px 16px;
  }
}
