/**
 * BBM - Custom Design System
 * Palette : Bleu tech deep + Orange vif + Blanc
 */

/* ========================================================
   1. VARIABLES & ROOT
======================================================== */
:root {
  --bbm-blue-deep:    #051c3f;
  --bbm-blue-mid:     #0a3680;
  --bbm-blue-bright:  #1565c0;
  --bbm-blue-glow:    #1e88e5;
  --bbm-blue-light:   #e3f2fd;
  --bbm-orange:       #ff6b1a;
  --bbm-orange-light: #ff8c42;
  --bbm-orange-glow:  rgba(255, 107, 26, 0.25);
  --bbm-white:        #ffffff;
  --bbm-off-white:    #f0f6ff;
  --bbm-text:         #1a2a3a;
  --bbm-text-muted:   #5a7a9a;
  --bbm-surface:      #ffffff;
  --bbm-border:       rgba(21, 101, 192, 0.15);
  --bbm-shadow:       0 8px 32px rgba(5, 28, 63, 0.12);
  --bbm-shadow-lg:    0 20px 60px rgba(5, 28, 63, 0.18);
  --bbm-radius:       14px;
  --bbm-radius-sm:    8px;
  --bbm-radius-lg:    24px;

  /* Override Dewi template vars */
  --background-color:  #f0f6ff;
  --default-color:     #1a2a3a;
  --heading-color:     #051c3f;
  --accent-color:      #ff6b1a;
  --surface-color:     #ffffff;
  --contrast-color:    #ffffff;
  --nav-color:         #e3f2fd;
  --nav-hover-color:   #ff6b1a;
}

/* ========================================================
   2. GLOBAL BASE
======================================================== */
body {
  font-family: 'Inter', 'Exo 2', sans-serif;
  color: var(--bbm-text);
  background: var(--bbm-off-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  color: var(--bbm-blue-deep);
}

.text-accent { color: var(--bbm-orange); }

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Selection */
::selection {
  background: var(--bbm-orange);
  color: #fff;
}

/* ========================================================
   3. PRELOADER
======================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bbm-blue-deep);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--bbm-white);
  letter-spacing: 8px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, var(--bbm-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: preloader-pulse 1.5s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.preloader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bbm-orange), var(--bbm-blue-glow));
  border-radius: 99px;
  animation: preloader-load 2s ease-in-out forwards;
}
@keyframes preloader-load {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

/* ========================================================
   4. HEADER & NAVIGATION
======================================================== */
.header {
  background: transparent;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px 0;
}
.scrolled .header {
  background: rgba(5, 28, 63, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 107, 26, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

/* Logo */
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-bbm {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--bbm-white);
  letter-spacing: 4px;
  background: linear-gradient(135deg, #fff 50%, var(--bbm-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* Nav links */
.navmenu a,
.navmenu a:focus {
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  transition: all 0.3s;
  position: relative;
}
.navmenu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--bbm-orange);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.navmenu a:hover::after,
.navmenu a.active::after { transform: scaleX(1); }
.navmenu a:hover,
.navmenu a.active { color: var(--bbm-white); }

/* CTA Button */
.cta-btn {
  background: var(--bbm-orange) !important;
  border: none !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px !important;
  border-radius: 6px !important;
  letter-spacing: 0.5px;
  transition: all 0.3s !important;
  box-shadow: 0 4px 14px var(--bbm-orange-glow);
}
.cta-btn:hover {
  background: var(--bbm-orange-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--bbm-orange-glow) !important;
}

/* Dropdown */
.navmenu .dropdown ul {
  background: var(--bbm-blue-deep);
  border: 1px solid rgba(255,107,26,0.2);
  border-radius: var(--bbm-radius-sm);
  padding: 8px 0;
}
.navmenu .dropdown ul li a {
  font-size: 13px;
  padding: 8px 20px;
  color: rgba(255,255,255,0.75);
}
.navmenu .dropdown ul li a:hover { color: var(--bbm-orange); }

/* Mobile nav */
.mobile-nav-toggle { color: var(--bbm-white) !important; }
.navmenu-mobile { background: var(--bbm-blue-deep) !important; }

/* ========================================================
   5. SECTION TITLES & TAGS
======================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  color: var(--bbm-orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}
.section-tag.light { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; }

.section-title {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--bbm-blue-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title p {
  max-width: 600px;
  color: var(--bbm-text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Dark bg section titles */
.dark-background .section-title h2 { color: #fff; }
.dark-background .section-title p { color: rgba(255,255,255,0.65); }

/* ========================================================
   6. SHARED BUTTONS
======================================================== */
.btn-primary-bbm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bbm-orange);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--bbm-radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--bbm-orange-glow);
}
.btn-primary-bbm:hover {
  background: var(--bbm-orange-light);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--bbm-orange-glow);
}

/* ========================================================
   7. HERO SECTION
======================================================== */
.hero {
  background: var(--bbm-blue-deep);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 28, 63, 0.92) 0%,
    rgba(10, 54, 128, 0.80) 50%,
    rgba(5, 28, 63, 0.75) 100%
  );
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 136, 229, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 136, 229, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  animation: grid-move 20s linear infinite;
}
@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.hero .container { position: relative; z-index: 3; padding-top: 100px; padding-bottom: 60px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 26, 0.15);
  border: 1px solid rgba(255, 107, 26, 0.4);
  color: var(--bbm-orange-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 99px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.hero h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero h1 .accent-word {
  color: var(--bbm-orange);
  position: relative;
}

.hero p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}
.hero .hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  max-width: 520px;
  margin-bottom: 0;
}

/* Hero action buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bbm-orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: var(--bbm-radius-sm);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 28px rgba(255,107,26,0.4);
  font-family: 'Inter', sans-serif;
}
.btn-hero-primary:hover {
  background: var(--bbm-orange-light);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255,107,26,0.5);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--bbm-radius-sm);
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.btn-hero-outline:hover {
  border-color: var(--bbm-orange);
  color: var(--bbm-orange);
  background: rgba(255,107,26,0.08);
}

/* Hero cards stack */
.hero-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--bbm-radius);
  padding: 16px 22px;
  transition: all 0.4s ease;
  animation: card-float 0.8s ease both;
}
.hero-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,107,26,0.4);
  transform: translateX(8px);
}
.hc-1 { animation-delay: 0.4s; }
.hc-2 { animation-delay: 0.6s; }
.hc-3 { animation-delay: 0.8s; }
.hc-4 { animation-delay: 1.0s; }

@keyframes card-float {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-card i {
  font-size: 28px;
  color: var(--bbm-orange);
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}
.hero-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
}
.hero-card span {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  font-family: 'Inter', sans-serif;
}
.hero-scroll-indicator a:hover { color: var(--bbm-orange); }
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  position: relative;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--bbm-orange);
  border-radius: 99px;
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

/* ========================================================
   8. CLIENTS / PARTNERS STRIP
======================================================== */
.clients {
  background: var(--bbm-white);
  padding: 30px 0;
  border-top: 1px solid var(--bbm-border);
  border-bottom: 1px solid var(--bbm-border);
}
.clients-label {
  text-align: center;
  margin-bottom: 20px;
}
.clients-label span {
  font-size: 11px;
  font-weight: 600;
  color: var(--bbm-text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.partner-logo:hover { opacity: 1; }
.partner-icon { font-size: 32px; }
.partner-logo span {
  font-size: 12px;
  font-weight: 700;
  color: var(--bbm-blue-deep);
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.5px;
}

/* ========================================================
   9. ABOUT SECTION
======================================================== */
.about { background: var(--bbm-off-white); padding: 100px 0; }

.about-img-wrapper {
  position: relative;
  padding: 20px 20px 40px 0;
}
.about-main-img {
  width: 100%;
  border-radius: var(--bbm-radius-lg);
  box-shadow: var(--bbm-shadow-lg);
  object-fit: cover;
  height: 440px;
}
.about-img-badge {
  position: absolute;
  bottom: 20px;
  left: -10px;
  background: var(--bbm-orange);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--bbm-radius);
  box-shadow: 0 8px 24px rgba(255,107,26,0.4);
  text-align: center;
  line-height: 1.2;
}
.badge-number {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 900;
}
.badge-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.about-img-float {
  position: absolute;
  top: 0;
  right: -10px;
  width: 180px;
  height: 160px;
  border-radius: var(--bbm-radius);
  overflow: hidden;
  box-shadow: var(--bbm-shadow);
  border: 4px solid #fff;
}
.about-float-img { width: 100%; height: 100%; object-fit: cover; }

.about-content h2 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--bbm-blue-deep);
}
.about-lead {
  font-size: 17px;
  color: var(--bbm-text);
  font-weight: 500;
  margin-bottom: 16px;
  border-left: 3px solid var(--bbm-orange);
  padding-left: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bbm-white);
  border: 1px solid var(--bbm-border);
  border-radius: var(--bbm-radius-sm);
  padding: 16px;
  transition: all 0.3s;
}
.about-feature-item:hover {
  border-color: var(--bbm-orange);
  box-shadow: 0 4px 16px rgba(255,107,26,0.1);
  transform: translateY(-2px);
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--bbm-orange), var(--bbm-orange-light));
  border-radius: var(--bbm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon i { color: #fff; font-size: 18px; }
.about-feature-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--bbm-blue-deep);
  margin-bottom: 4px;
  font-family: 'Exo 2', sans-serif;
}
.about-feature-item span { font-size: 12px; color: var(--bbm-text-muted); }

/* ========================================================
   10. STATS SECTION
======================================================== */
.stats {
  background: linear-gradient(135deg, var(--bbm-blue-deep) 0%, var(--bbm-blue-mid) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,107,26,0.15) 0%, transparent 60%);
}
.stats-bg-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}
.stat-card i {
  font-size: 40px;
  color: var(--bbm-orange);
  margin-bottom: 16px;
  display: block;
}
.stat-count {
  display: inline;
  font-family: 'Orbitron', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-suffix {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--bbm-orange);
}
.stat-card p {
  margin-top: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* ========================================================
   11. SERVICES SECTION
======================================================== */
.services { background: var(--bbm-off-white); padding: 100px 0; }

.service-card {
  background: var(--bbm-white);
  border-radius: var(--bbm-radius);
  overflow: hidden;
  box-shadow: var(--bbm-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bbm-border);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--bbm-shadow-lg);
  border-color: var(--bbm-orange);
}

.service-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.08); }
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,28,63,0.7), rgba(10,54,128,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img-overlay i { font-size: 48px; }

.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--bbm-blue-deep);
  margin-bottom: 10px;
}
.service-body p {
  color: var(--bbm-text-muted);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--bbm-border);
}
.service-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--bbm-orange);
  font-family: 'Inter', sans-serif;
}
.service-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--bbm-blue-bright);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.service-cta:hover {
  color: var(--bbm-orange);
  gap: 10px;
}

/* ========================================================
   12. PRODUCTS SECTION
======================================================== */
.products { background: var(--bbm-white); padding: 100px 0; }

/* Filter tabs */
.product-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  background: transparent;
  border: 1.5px solid var(--bbm-border);
  color: var(--bbm-text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--bbm-orange);
  border-color: var(--bbm-orange);
  color: #fff;
  box-shadow: 0 4px 14px var(--bbm-orange-glow);
}

/* Product cards */
.product-card {
  background: var(--bbm-white);
  border: 1px solid var(--bbm-border);
  border-radius: var(--bbm-radius-lg);
  overflow: hidden;
  box-shadow: var(--bbm-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bbm-shadow-lg);
  border-color: rgba(255,107,26,0.3);
}

.product-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(5,28,63,0.8);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 99px;
  font-family: 'Inter', sans-serif;
}

.product-hot-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 99px;
  font-family: 'Inter', sans-serif;
}
.badge-success { background: #059669; color: #fff; }
.badge-warning { background: #d97706; color: #fff; }
.badge-primary { background: var(--bbm-blue-bright); color: #fff; }

.product-content { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--bbm-radius-sm);
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon-wrap i { font-size: 24px; }

.product-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--bbm-blue-deep);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--bbm-orange);
  font-family: 'Orbitron', sans-serif;
}

.product-content > p {
  color: var(--bbm-text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--bbm-text);
  font-family: 'Inter', sans-serif;
}
.product-features li i { color: var(--bbm-blue-bright); font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.btn-product-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bbm-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--bbm-radius-sm);
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.btn-product-primary:hover {
  background: var(--bbm-orange-light);
  color: #fff;
  transform: translateY(-2px);
}
.btn-product-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--bbm-blue-bright);
  border: 1.5px solid var(--bbm-blue-bright);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: var(--bbm-radius-sm);
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn-product-outline:hover {
  background: var(--bbm-blue-bright);
  color: #fff;
}

/* ========================================================
   13. PRICING SECTION
======================================================== */
.pricing { background: var(--bbm-off-white); padding: 100px 0; }

.pricing-card {
  background: var(--bbm-white);
  border: 1px solid var(--bbm-border);
  border-radius: var(--bbm-radius-lg);
  padding: 40px 32px;
  box-shadow: var(--bbm-shadow);
  transition: all 0.4s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bbm-shadow-lg);
}

.pricing-featured {
  background: linear-gradient(145deg, var(--bbm-blue-deep), var(--bbm-blue-mid));
  border-color: var(--bbm-orange);
  box-shadow: 0 20px 60px rgba(5,28,63,0.3);
}
.pricing-featured h3,
.pricing-featured p,
.pricing-featured .pricing-features li { color: rgba(255,255,255,0.9); }
.pricing-featured .pricing-features li.inactive { color: rgba(255,255,255,0.35); }
.pricing-featured .amount { color: var(--bbm-orange); }
.pricing-featured .currency,
.pricing-featured .period { color: rgba(255,255,255,0.6); }

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bbm-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 99px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px var(--bbm-orange-glow);
}

.pricing-header { text-align: center; margin-bottom: 28px; }
.pricing-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--bbm-orange), var(--bbm-orange-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #fff;
}
.pricing-featured .pricing-icon { box-shadow: 0 8px 20px var(--bbm-orange-glow); }
.pricing-header h3 { font-size: 22px; font-weight: 800; color: var(--bbm-blue-deep); margin-bottom: 6px; }
.pricing-sub { font-size: 13px; color: var(--bbm-text-muted); }

.pricing-amount {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.currency { font-size: 22px; font-weight: 700; color: var(--bbm-text-muted); font-family: 'Exo 2', sans-serif; }
.amount { font-family: 'Orbitron', sans-serif; font-size: 56px; font-weight: 900; color: var(--bbm-blue-deep); line-height: 1; }
.period { font-size: 14px; color: var(--bbm-text-muted); font-family: 'Inter', sans-serif; }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bbm-border);
  font-size: 14px;
  color: var(--bbm-text);
  font-family: 'Inter', sans-serif;
}
.pricing-featured .pricing-features li { border-bottom-color: rgba(255,255,255,0.1); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { font-size: 16px; }
.pricing-features li i.bi-check2 { color: var(--bbm-blue-bright); }
.pricing-featured .pricing-features li i.bi-check2 { color: var(--bbm-orange); }
.pricing-features li.inactive { opacity: 0.4; text-decoration: line-through; }

.pricing-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--bbm-radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  margin-top: auto;
}
.pricing-btn-outline {
  border: 2px solid var(--bbm-blue-bright);
  color: var(--bbm-blue-bright);
}
.pricing-btn-outline:hover {
  background: var(--bbm-blue-bright);
  color: #fff;
}
.pricing-btn-primary {
  background: var(--bbm-orange);
  color: #fff;
  box-shadow: 0 6px 20px var(--bbm-orange-glow);
}
.pricing-btn-primary:hover {
  background: var(--bbm-orange-light);
  color: #fff;
  transform: translateY(-3px);
}

.pricing-note {
  margin-top: 60px;
}
.pricing-note-inner {
  background: linear-gradient(135deg, rgba(5,28,63,0.05), rgba(21,101,192,0.08));
  border: 1px solid var(--bbm-border);
  border-left: 4px solid var(--bbm-orange);
  border-radius: var(--bbm-radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.pricing-note-inner > i { font-size: 32px; color: var(--bbm-orange); flex-shrink: 0; }
.pricing-note-inner strong { display: block; font-size: 16px; color: var(--bbm-blue-deep); font-family: 'Exo 2', sans-serif; }
.pricing-note-inner span { font-size: 14px; color: var(--bbm-text-muted); }
.pricing-note-inner a { color: var(--bbm-blue-bright); font-weight: 600; }
.pricing-note-inner a:hover { color: var(--bbm-orange); }

/* ========================================================
   14. FAQ SECTION
======================================================== */
.faq { background: var(--bbm-white); padding: 100px 0; }

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.faq-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--bbm-border);
  color: var(--bbm-text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.faq-tab-btn i { font-size: 16px; }
.faq-tab-btn:hover,
.faq-tab-btn.active {
  background: var(--bbm-blue-deep);
  border-color: var(--bbm-blue-deep);
  color: #fff;
}

.faq-category { display: none; max-width: 800px; margin: 0 auto; }
.faq-category.active { display: block; }

.faq-item {
  border: 1px solid var(--bbm-border) !important;
  border-radius: var(--bbm-radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(5,28,63,0.05);
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 6px 20px rgba(5,28,63,0.1); }

.accordion-button {
  background: var(--bbm-white) !important;
  color: var(--bbm-blue-deep) !important;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
  padding: 20px 24px !important;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--bbm-orange) !important; }
.accordion-button::after {
  background-image: none !important;
  content: '\F4FE';
  font-family: 'bootstrap-icons';
  font-size: 20px;
  color: var(--bbm-orange);
  transition: transform 0.3s;
  margin-left: auto;
  flex-shrink: 0;
}
.accordion-button:not(.collapsed)::after { content: '\F2EA'; }

.faq-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--bbm-orange);
  background: rgba(255,107,26,0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-answer {
  background: rgba(5,28,63,0.02);
  color: var(--bbm-text-muted);
  font-size: 15px;
  line-height: 1.8;
  padding: 0 24px 24px 70px !important;
}

/* ========================================================
   15. CONTACT SECTION
======================================================== */
.contact {
  background: linear-gradient(145deg, var(--bbm-blue-deep), var(--bbm-blue-mid));
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(255,107,26,0.12) 0%, transparent 50%);
}
.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.contact .container { position: relative; z-index: 2; }

/* Contact info cards */
.contact-info-wrap { display: flex; flex-direction: column; gap: 14px; }

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--bbm-radius);
  padding: 20px;
  transition: all 0.3s;
}
.contact-info-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,107,26,0.4);
  transform: translateX(4px);
}
.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--bbm-orange);
  border-radius: var(--bbm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.ci-content h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}
.ci-content p,
.ci-content a {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.ci-content a:hover { color: var(--bbm-orange-light); }

.contact-social { margin-top: 8px; display: flex; align-items: center; gap: 14px; }
.contact-social > span {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
}
.social-link {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
}
.social-link:hover {
  background: var(--bbm-orange);
  border-color: var(--bbm-orange);
  color: #fff;
  transform: translateY(-3px);
}

/* Contact form */
.contact-form { height: 100%; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.contact-form .required { color: var(--bbm-orange); }

.contact-form .form-control {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: var(--bbm-radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,0.3); }
.contact-form .form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--bbm-orange);
  box-shadow: 0 0 0 3px rgba(255,107,26,0.15);
  color: #fff;
  outline: none;
}
.contact-form select.form-control option { background: var(--bbm-blue-deep); color: #fff; }

.btn-send-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bbm-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--bbm-radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 24px var(--bbm-orange-glow);
}
.btn-send-contact:hover {
  background: var(--bbm-orange-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--bbm-orange-glow);
}

/* ========================================================
   16. FOOTER
======================================================== */
.footer {
  background: #020e24;
  padding: 0;
}
.footer-top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }

.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--bbm-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 6px;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--bbm-orange);
  border-color: var(--bbm-orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-family: 'Exo 2', sans-serif;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
}
.footer-links a::before {
  content: '';
  width: 6px;
  height: 1px;
  background: var(--bbm-orange);
  transition: width 0.3s;
  flex-shrink: 0;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-links a:hover::before { width: 12px; }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-contact-item i { color: var(--bbm-orange); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span,
.footer-contact-item a {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
}
.footer-contact-item a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  margin: 0;
  font-family: 'Inter', sans-serif;
}
.footer-bottom strong { color: var(--bbm-orange); }
.footer-credits { color: rgba(255,255,255,0.2) !important; }

/* ========================================================
   17. SCROLL TOP BUTTON
======================================================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--bbm-orange);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px var(--bbm-orange-glow);
  font-size: 22px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
  z-index: 9998;
}
.scroll-top.active {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--bbm-orange-light);
  color: #fff;
  transform: translateY(-4px);
}

/* ========================================================
   18. ANIMATIONS & UTILITIES
======================================================== */
[data-aos] { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Glow effect on hover for cards */
.service-card::before,
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,107,26,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.service-card { position: relative; }
.product-card { position: relative; }
.service-card:hover::before,
.product-card:hover::before { opacity: 1; }

/* ========================================================
   19. RESPONSIVE COMPLET
======================================================== */

/* ── Tablette large (1200px) ── */
@media (max-width: 1200px) {
  .hero h1 { font-size: 46px; }
  .about-content h2 { font-size: 28px; }
  .hero-cards-stack { padding: 10px 0; }
  .section-title h2 { font-size: 30px; }
  .product-features { grid-template-columns: 1fr; }
}

/* ── Tablette (992px) ── */
@media (max-width: 992px) {
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .hero-cards-stack { display: none; }

  /* About */
  .about-img-float { width: 140px; height: 120px; }
  .about-features { grid-template-columns: 1fr; }
  .about-main-img { height: 360px; }

  /* Services */
  .service-card { min-height: auto; }

  /* Stats */
  .stat-count { font-size: 42px; }
  .stat-card { padding: 24px 12px; }

  /* Pricing */
  .pricing-card { padding: 32px 24px; }
  .amount { font-size: 48px; }

  /* Products */
  .product-card { margin-bottom: 0; }

  /* FAQ */
  .faq-tabs { gap: 8px; }
  .faq-tab-btn { font-size: 12px; padding: 8px 16px; }

  /* Contact */
  .contact-info-wrap { gap: 10px; }

  /* Header */
  .header { padding: 12px 0; }
}

/* ── Tablette portrait (768px) ── */
@media (max-width: 768px) {
  /* Global */
  section { padding: 70px 0; }
  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 14px; }

  /* Hero */
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 14px; letter-spacing: 1px; }
  .hero-sub { font-size: 14px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-cards-stack { display: none; }
  .hero-scroll-indicator { display: none; }

  /* About */
  .about-img-wrapper { padding: 10px 0 30px; }
  .about-main-img { height: 280px; }
  .about-img-float { display: none; }
  .about-img-badge { left: 10px; bottom: 0; padding: 12px 16px; }
  .badge-number { font-size: 28px; }
  .about-features { grid-template-columns: 1fr; gap: 10px; }
  .about-content h2 { font-size: 24px; }
  .about-lead { font-size: 15px; }

  /* Stats */
  .stat-count { font-size: 36px; }
  .stat-suffix { font-size: 24px; }
  .stat-card i { font-size: 32px; }
  .stat-card p { font-size: 12px; }

  /* Services */
  .service-img-wrap { height: 180px; }
  .service-body h3 { font-size: 16px; }

  /* Products */
  .product-filters { gap: 8px; }
  .filter-btn { font-size: 12px; padding: 7px 16px; }
  .product-img-wrap { height: 200px; }
  .product-content h3 { font-size: 16px; }
  .product-price { font-size: 13px; }
  .product-features { grid-template-columns: 1fr; gap: 6px; }
  .product-actions { flex-direction: column; }
  .btn-product-primary,
  .btn-product-outline { width: 100%; justify-content: center; }

  /* Pricing */
  .pricing-card { padding: 28px 20px; }
  .amount { font-size: 44px; }
  .pricing-note-inner { flex-direction: column; text-align: center; gap: 12px; }
  .pricing-note-inner > i { font-size: 24px; }

  /* FAQ */
  .faq-tabs { gap: 6px; }
  .faq-tab-btn { font-size: 12px; padding: 8px 14px; }
  .faq-tab-btn i { display: none; }
  .accordion-button { font-size: 14px !important; padding: 16px 18px !important; }
  .faq-answer { padding-left: 18px !important; font-size: 14px; }
  .faq-num { width: 28px; height: 28px; font-size: 10px; }

  /* Contact */
  .contact-info-card { padding: 16px; }
  .ci-icon { width: 38px; height: 38px; font-size: 16px; }
  .contact-form label { font-size: 12px; }
  .btn-send-contact { width: 100%; justify-content: center; }

  /* Footer */
  .footer-top { padding: 60px 0 40px; }
  .footer-logo { font-size: 30px; }
  .footer-heading { font-size: 13px; }
  .footer-links a { font-size: 13px; }
}

/* ── Mobile (576px) ── */
@media (max-width: 576px) {
  /* Global */
  section { padding: 56px 0; }
  .section-title h2 { font-size: 22px; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero */
  .hero { padding: 90px 0 50px; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary,
  .btn-hero-outline { width: 100%; justify-content: center; padding: 13px 20px; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stat .lbl { font-size: 10px; }

  /* Logo header */
  .logo-bbm { font-size: 22px; letter-spacing: 2px; }
  .logo-tagline { display: none; }
  .cta-btn { padding: 7px 14px !important; font-size: 12px !important; }

  /* About */
  .about-main-img { height: 220px; }
  .about-img-badge { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .about-feature-item { padding: 12px; }
  .feature-icon { width: 36px; height: 36px; }
  .feature-icon i { font-size: 16px; }

  /* Stats */
  .stat-count { font-size: 30px; }
  .stat-suffix { font-size: 20px; }

  /* Partners */
  .partner-logo span { font-size: 10px; }
  .partner-icon { font-size: 24px; }

  /* Services */
  .service-img-wrap { height: 160px; }
  .service-body { padding: 18px; }
  .service-body h3 { font-size: 15px; }
  .service-body p { font-size: 13px; }

  /* Products */
  .product-content { padding: 20px; }
  .product-header { flex-direction: column; gap: 10px; }
  .product-icon-wrap { width: 44px; height: 44px; }
  .product-content > p { font-size: 13px; }
  .product-features li { font-size: 12px; }

  /* Pricing */
  .pricing-card { padding: 24px 16px; }
  .amount { font-size: 40px; }
  .currency { font-size: 18px; }
  .period { font-size: 12px; }
  .pricing-features li { font-size: 13px; }
  .pricing-btn { padding: 12px; font-size: 13px; }

  /* FAQ */
  .faq-tabs { flex-direction: column; align-items: stretch; }
  .faq-tab-btn { text-align: center; justify-content: center; }
  .accordion-button { font-size: 13px !important; padding: 14px 16px !important; }
  .faq-num { display: none; }

  /* Contact */
  .contact { padding: 60px 0; }
  .contact-info-wrap { gap: 8px; }
  .ci-content h4 { font-size: 11px; }
  .ci-content p,
  .ci-content a { font-size: 13px; }
  .contact-form .form-control { font-size: 16px; padding: 11px 14px; }

  /* Footer */
  .footer-bottom { text-align: center; }
  .footer-bottom p { font-size: 12px; }
  .footer-credits { display: none; }
  .footer-social { justify-content: center; }

  /* Scroll top */
  #scroll-top { width: 38px; height: 38px; font-size: 18px; bottom: 20px; right: 20px; }
}

/* ── Très petit mobile (360px) ── */
@media (max-width: 360px) {
  .hero h1 { font-size: 22px; }
  .section-title h2 { font-size: 20px; }
  .logo-bbm { font-size: 18px; }
  .amount { font-size: 34px; }
  .stat-count { font-size: 26px; }
  .product-img-wrap { height: 160px; }
  .pricing-card { padding: 20px 12px; }
  .contact-info-card { flex-direction: column; gap: 10px; }
}

/* ── Paysage mobile (hauteur réduite) ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero h1 { font-size: 26px; }
  .hero-scroll-indicator { display: none; }
  section { padding: 50px 0; }
}


/* ── Message confirmation contact ── */
.php-email-form .sent-message {
  display: none;
  background: rgba(5,150,105,0.12) !important;
  border: 1px solid rgba(5,150,105,0.3) !important;
  color: #fff !important;
  border-radius: var(--bbm-radius-sm);
  padding: 16px 20px !important;
  margin-bottom: 20px;
  font-size: 14px !important;
  line-height: 1.6;
  display: none;
  align-items: flex-start;
  gap: 12px;
}
.php-email-form .sent-message i {
  color: #34d399;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── AOS fallback : uniquement si AOS ne s'initialise pas (CDN bloqué) ── */
body:not(.aos-init) [data-aos] {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}


/* ── Dropdown header : wrapper flex lien + bouton toggle ── */
.navmenu .dropdown-header {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navmenu .dropdown-header a {
  flex: 1;
}

/* Bouton toggle — desktop : invisible, mobile : visible */
.navmenu .toggle-dropdown {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--bbm-white);
  display: flex;
  align-items: center;
  line-height: 1;
  transition: color 0.2s;
}
.navmenu .toggle-dropdown:hover { color: var(--bbm-orange); }
.navmenu .toggle-dropdown .bi {
  font-size: 12px;
  transition: transform 0.25s ease;
  display: block;
}

/* Desktop : sous-menu au survol de la li */
@media (min-width: 1200px) {
  .navmenu .dropdown:hover > ul {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

/* ═══════════════════════════════════════════════════════════
   MENU MOBILE COMPLET
   ═══════════════════════════════════════════════════════════ */

/* Bouton hamburger — toujours visible sur mobile */
.mobile-nav-toggle {
  font-size: 26px;
  cursor: pointer;
  color: var(--bbm-white);
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.3s;
  z-index: 9999;
  position: relative;
}
.mobile-nav-toggle:hover { color: var(--bbm-orange); }

@media (max-width: 1199px) {

  /* Le nav lui-même n'a pas de fond sur mobile */
  .navmenu { padding: 0; }

  /* La liste du menu — cachée par défaut sur mobile */
  .navmenu > ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 80px 0 20px;
    background: #051c3f;
    overflow-y: auto;
    z-index: 9998;
    margin: 0;
    list-style: none;
    transition: opacity 0.3s ease;
  }

  /* ACTIF : afficher le menu */
  body.mobile-nav-active .navmenu > ul {
    display: flex;
  }

  /* Overlay sombre */
  body.mobile-nav-active::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9997;
  }

  /* Hamburger fixe quand menu ouvert */
  body.mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    color: var(--bbm-white);
  }

  /* Liens du menu */
  .navmenu > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .navmenu > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
  }
  .navmenu > ul > li > a::after { display: none !important; }
  .navmenu > ul > li > a:hover,
  .navmenu > ul > li > a.active { color: var(--bbm-orange); }

  /* Wrapper lien + toggle sur mobile */
  .navmenu .dropdown-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .navmenu .dropdown-header > a {
    flex: 1;
    padding: 15px 24px;
    border-bottom: none !important;
  }
  .navmenu > ul > li.dropdown {
    border-bottom: none;
  }
  /* Bouton chevron sur mobile */
  .navmenu .toggle-dropdown {
    padding: 15px 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .navmenu .dropdown.active .toggle-dropdown {
    color: var(--bbm-orange);
  }
  .navmenu .dropdown.active .toggle-dropdown .bi {
    transform: rotate(180deg);
  }

  /* Sous-menu dropdown */
  .navmenu .dropdown > ul {
    display: none;
    list-style: none;
    padding: 4px 0 4px 20px;
    margin: 0;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid rgba(255,107,26,0.4);
  }
  .navmenu .dropdown.active > ul,
  .navmenu .dropdown > ul.dropdown-active {
    display: block;
  }
  .navmenu .dropdown > ul > li > a {
    padding: 10px 24px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    display: block;
    text-decoration: none;
    transition: color 0.2s;
  }
  .navmenu .dropdown > ul > li > a:hover { color: var(--bbm-orange); }
}

/* ── AOS fallback : éléments visibles si JS ne charge pas ── */
body:not(.aos-init) [data-aos] {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}
