/* =============================================
   SBSYSNET V4 - Main Stylesheet
   Modern, Professional, Industrial Tech
   ============================================= */

:root {
  --sbs-navy: #0d1b3e;
  --sbs-blue: #1a3a6b;
  --sbs-accent: #0094d9;
  --sbs-accent-light: #00c4f0;
  --sbs-green: #00c471;
  --sbs-white: #ffffff;
  --sbs-light: #f4f7fb;
  --sbs-grey: #8892a4;
  --sbs-dark-text: #1a1f36;
  --sbs-card-bg: #ffffff;
  --sbs-border: #e3e8f0;
  --navbar-height: 75px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 12px rgba(13,27,62,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,62,0.14);
  --shadow-lg: 0 20px 60px rgba(13,27,62,0.18);
}

/* ---- Base ---- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--sbs-dark-text);
  background: var(--sbs-white);
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--sbs-navy);
  line-height: 1.3;
}

a { color: var(--sbs-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sbs-accent-light); }

img { max-width: 100%; height: auto; }

/* ---- Navbar ---- */
#sbs-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--navbar-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sbs-border);
  box-shadow: 0 2px 24px rgba(13,27,62,0.07);
  transition: box-shadow var(--transition);
}

#sbs-navbar.scrolled {
  box-shadow: 0 4px 32px rgba(13,27,62,0.14);
}

#sbs-navbar .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo img { height: 50px; width: auto; }

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-logo-text .brand { font-size: 1.25rem; font-weight: 800; color: var(--sbs-navy); }
.navbar-logo-text .tagline { font-size: 0.68rem; color: var(--sbs-grey); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sbs-navy);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: var(--sbs-light);
  color: var(--sbs-accent);
}

.nav-menu > li > a .chevron {
  font-size: 0.7rem;
  transition: transform var(--transition);
  opacity: 0.6;
}

/* Mega dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--sbs-white);
  border-radius: 14px;
  border: 1px solid var(--sbs-border);
  box-shadow: var(--shadow-lg);
  padding: 16px 8px 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  transform: translateX(-50%) translateY(8px);
}
/* Bridge invisible qui comble le gap entre le lien nav et le dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}


.nav-menu > li:hover .nav-dropdown,
.nav-menu > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-menu > li:hover > a .chevron {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sbs-dark-text);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover {
  background: var(--sbs-light);
  color: var(--sbs-accent);
}

.nav-dropdown a .drop-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-dropdown .drop-divider {
  height: 1px;
  background: var(--sbs-border);
  margin: 6px 0;
}

/* Category label inside dropdown */
.nav-dropdown .drop-category {
  padding: 6px 14px 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sbs-grey);
  pointer-events: none;
  user-select: none;
}

/* Wide dropdown (Secteurs â 10 items) */
.nav-dropdown-wide {
  min-width: 270px;
}

/* Mobile submenu section label */
.mobile-submenu-label {
  display: block;
  padding: 8px 16px 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sbs-grey);
  pointer-events: none;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--sbs-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sbs-navy);
  background: transparent;
  transition: background var(--transition);
}

.lang-btn:hover { background: var(--sbs-light); }
.lang-btn img { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; }

.btn-nav-contact {
  padding: 9px 20px;
  background: var(--sbs-accent);
  color: var(--sbs-white) !important;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}

.btn-nav-contact:hover {
  background: var(--sbs-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,148,217,0.35);
  color: var(--sbs-white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 4px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--sbs-navy);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sbs-white);
  overflow-y: auto;
  padding: 16px;
  z-index: 9998;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile-item {
  border-bottom: 1px solid var(--sbs-border);
}

.nav-mobile-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sbs-navy);
}

.nav-mobile-submenu { display: none; padding: 0 8px 12px; }
.nav-mobile-submenu.open { display: block; }
.nav-mobile-submenu a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--sbs-dark-text);
  border-radius: 8px;
}
.nav-mobile-submenu a:hover { background: var(--sbs-light); color: var(--sbs-accent); }

/* ---- Hero Section ---- */
.hero {
  margin-top: var(--navbar-height);
  min-height: calc(100vh - var(--navbar-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}

.hero-left {
  background: linear-gradient(135deg, var(--sbs-navy) 0%, var(--sbs-blue) 100%);
  display: flex;
  align-items: center;
  padding: 80px 60px 80px 80px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0,148,217,0.12);
  pointer-events: none;
}

.hero-left::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0,196,113,0.08);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,148,217,0.18);
  color: var(--sbs-accent-light);
  border: 1px solid rgba(0,148,217,0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sbs-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--sbs-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--sbs-accent-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-sbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--sbs-accent);
  color: var(--sbs-white);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary-sbs:hover {
  background: var(--sbs-accent-light);
  color: var(--sbs-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,148,217,0.4);
}

.btn-outline-sbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--sbs-white);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-outline-sbs:hover {
  background: rgba(255,255,255,0.12);
  color: var(--sbs-white);
  border-color: rgba(255,255,255,0.7);
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat .value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sbs-white);
  line-height: 1;
  justify-self: center;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--sbs-navy);
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--sbs-navy) 0%, transparent 40%);
  z-index: 2;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) saturate(0.9);
}

.hero-slide-nav {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-slide-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
  border: none;
}

.hero-slide-dot.active {
  background: var(--sbs-accent);
  width: 48px;
}

.hero-slide-label {
  position: absolute;
  bottom: 60px;
  right: 32px;
  z-index: 3;
  text-align: right;
}

.hero-slide-label .slide-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sbs-white);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease 0.3s;
}

.hero-slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Section base ---- */
.section-sbs {
  padding: 96px 0;
}

.section-light { background: var(--sbs-light); }
.section-white { background: var(--sbs-white); }
.section-dark {
  background: var(--sbs-navy);
  color: var(--sbs-white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--sbs-white); }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sbs-accent);
  background: rgba(0,148,217,0.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--sbs-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-dark .section-title { color: var(--sbs-white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--sbs-grey);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---- Clients marquee ---- */
.clients-section {
  padding: 56px 0;
  background: var(--sbs-white);
  border-top: 1px solid var(--sbs-border);
  border-bottom: 1px solid var(--sbs-border);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sbs-grey);
  margin-bottom: 32px;
}

.marquee-track {
  display: flex;
  gap: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 15%, black 85%, transparent 100%);
}

.marquee-content {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marquee 35s linear infinite;
  flex-shrink: 0;
  padding-right: 56px;
}

.marquee-content:nth-child(2) {
  animation: marquee2 35s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes marquee2 {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee-brand {
  font-size: 1rem;
  font-weight: 800;
  color: #b8c4d8;
  white-space: nowrap;
  letter-spacing: 0.03em;
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.marquee-brand:hover { opacity: 1; color: var(--sbs-navy); }

/* ---- Key stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--sbs-white);
  border-radius: 20px;
  border: 1px solid var(--sbs-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.stat-icon-blue { background: rgba(0,148,217,0.1); color: var(--sbs-accent); }
.stat-icon-green { background: rgba(0,196,113,0.1); color: var(--sbs-green); }
.stat-icon-navy { background: rgba(13,27,62,0.08); color: var(--sbs-navy); }

.stat-value {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--sbs-navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value span { color: var(--sbs-accent); }

.stat-desc {
  font-size: 0.95rem;
  color: var(--sbs-grey);
  font-weight: 500;
}

/* ---- Solution cards ---- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.solution-card {
  background: var(--sbs-white);
  border-radius: 20px;
  border: 1px solid var(--sbs-border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--sbs-accent);
  color: inherit;
}

.solution-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.ic-blue { background: rgba(0,148,217,0.12); color: var(--sbs-accent); }
.ic-green { background: rgba(0,196,113,0.12); color: var(--sbs-green); }
.ic-orange { background: rgba(255,140,0,0.12); color: #ff8c00; }
.ic-purple { background: rgba(111,66,193,0.12); color: #6f42c1; }
.ic-red { background: rgba(220,53,69,0.12); color: #dc3545; }
.ic-teal { background: rgba(32,201,151,0.12); color: #20c997; }
.ic-navy { background: rgba(13,27,62,0.08); color: var(--sbs-navy); }

.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--sbs-grey);
  margin: 0;
  flex: 1;
}

.solution-card .card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sbs-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* ---- Featured product ---- */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-feature.reverse { direction: rtl; }
.product-feature.reverse > * { direction: ltr; }

.product-feature-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.product-feature-media img,
.product-feature-media iframe {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.product-feature-content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-feature-content .tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sbs-accent);
  background: rgba(0,148,217,0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.product-feature-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 16px;
}

.product-feature-content p {
  color: var(--sbs-grey);
  margin-bottom: 24px;
  font-size: 1.0rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sbs-dark-text);
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sbs-green);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- About preview ---- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--sbs-accent);
  color: var(--sbs-white);
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.3;
}

.about-badge-float .num { font-size: 2rem; display: block; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--sbs-navy) 0%, #0a2855 50%, #0d3a7d 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0,148,217,0.08);
  pointer-events: none;
}

.cta-banner h2 { color: var(--sbs-white); font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 36px; }

/* ---- Footer ---- */
.sbs-footer {
  background: #07111e;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 90px; width:auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}

/* Default hover */
.footer-social a:hover { background: var(--sbs-accent); color: var(--sbs-white); }

/* Brand colors on hover */
.footer-social a.social-twitter:hover  { background: #000000; color: #ffffff; }
.footer-social a.social-linkedin:hover { background: #0A66C2; color: #ffffff; }
.footer-social a.social-youtube:hover  { background: #FF0000; color: #ffffff; }

/* ── Brochure download button ──────────────────────────────── */
.btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--sbs-accent), var(--sbs-navy));
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,114,255,0.3);
}
.btn-brochure:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,114,255,0.4);
  color: #fff;
  text-decoration: none;
}

/* Bridge invisible qui comble le gap entre le bouton et le dropdown langue */
.lang-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.footer-col h5 {
  color: var(--sbs-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--sbs-white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--sbs-white); }

/* ---- Modals ---- */
.sbs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,17,30,0.7);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.sbs-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sbs-modal {
  background: var(--sbs-white);
  border-radius: 24px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s;
  box-shadow: var(--shadow-lg);
}

.sbs-modal-overlay.open .sbs-modal { transform: translateY(0); }

.sbs-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--sbs-light);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--sbs-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.sbs-modal-close:hover { background: var(--sbs-border); }

.sbs-modal h3 { margin-bottom: 24px; }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sbs-navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sbs-border);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--sbs-dark-text);
  background: var(--sbs-white);
  transition: border-color var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sbs-accent);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  margin-top: var(--navbar-height);
  background: linear-gradient(135deg, var(--sbs-navy) 0%, var(--sbs-blue) 100%);
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h80v80H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 { color: var(--sbs-white); position: relative; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 640px; margin: 0 auto; position: relative; }

/* ---- Lang dropdown ---- */
.lang-dropdown-wrap { position: relative; }
.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--sbs-white);
  border: 1px solid var(--sbs-border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  transform: translateY(8px);
  z-index: 1000;
}
.lang-dropdown-wrap:hover .lang-dropdown-menu,
.lang-dropdown-wrap.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}
.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sbs-dark-text);
  transition: background var(--transition);
}
.lang-dropdown-menu a:hover { background: var(--sbs-light); }
.lang-dropdown-menu img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; }

/* ---- AOS overrides ---- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ---- Breadcrumb ---- */
.sbs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--sbs-grey);
  margin-bottom: 16px;
}
.sbs-breadcrumb a { color: var(--sbs-grey); }
.sbs-breadcrumb a:hover { color: var(--sbs-accent); }
.sbs-breadcrumb span { color: var(--sbs-border); }

/* ---- Product page ---- */
.product-detail-header {
  background: var(--sbs-light);
  padding: 56px 0;
  border-bottom: 1px solid var(--sbs-border);
}

.product-icon-lg {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* ---- Scroll to top ---- */
#scrolltop {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sbs-accent);
  color: var(--sbs-white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,148,217,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
#scrolltop.visible { opacity: 1; visibility: visible; }
#scrolltop:hover { background: var(--sbs-navy); transform: translateY(-3px); }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sbs-navy);
  color: var(--sbs-white);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  width: calc(100% - 48px);
  box-shadow: var(--shadow-lg);
  z-index: 99998;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }
.cookie-banner p { margin: 0; color: rgba(255,255,255,0.8); flex: 1; }
.cookie-banner p a { color: var(--sbs-accent-light); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 80px 40px; }
  .hero-right { height: 380px; }
  .product-feature, .product-feature.reverse { grid-template-columns: 1fr; direction: ltr; }
  .about-preview { grid-template-columns: 1fr; }
  .about-badge-float { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }
  #sbs-navbar .navbar-inner { padding: 0 20px; }
  .hero-left { padding: 60px 24px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-sbs { padding: 64px 0; }
  .hero-right { height: 280px; }
}

@media (max-width: 480px) {
  :root { --navbar-height: 65px; }
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary-sbs, .btn-outline-sbs { width: 100%; justify-content: center; }
  .stats-grid { gap: 16px; }
  .stat-value { font-size: 2.2rem; }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    bottom: 16px;
    gap: 12px;
    width: calc(100% - 32px);
  }
  .cookie-banner .btn-primary-sbs {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

/* ---- Phosphor Icons â sizing and alignment ---- */
/* Icons inside icon containers inherit font-size and color */
.solution-card-icon i[class*="ph"],
.stat-icon i[class*="ph"],
.drop-icon i[class*="ph"],
.product-icon-lg i[class*="ph"],
.footer-social i[class*="ph"] {
  font-size: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PCA eco icon: lightbulb + leaf overlay */
.ph-icon-eco {
  line-height: 1;
}

/* Chevron rotation: Phosphor caret-down in nav */
.nav-menu > li:hover > a i.chevron {
  transform: rotate(180deg);
}

/* Ensure Phosphor icons in buttons align properly */
button i[class*="ph"],
a i[class*="ph"] {
  vertical-align: -0.1em;
}

/* ---- Job Modal ---- */
.job-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.job-modal-overlay.open { display: flex; }
.job-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.job-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--sbs-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.job-modal-header h2 { font-size: 1.35rem; color: var(--sbs-navy); margin: 0; }
.job-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--sbs-grey);
  flex-shrink: 0;
  line-height: 1;
  padding: 2px 6px;
}
.job-modal-close:hover { color: var(--sbs-navy); }
.job-modal-meta {
  padding: 16px 32px;
  background: var(--sbs-light);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sbs-navy);
}
.job-modal-meta span { display: flex; align-items: center; gap: 6px; }
.job-modal-body {
  padding: 24px 32px 32px;
}
.job-modal-body h4 { color: var(--sbs-navy); font-size: 1rem; margin-top: 20px; margin-bottom: 8px; }
.job-modal-body ul { padding-left: 20px; color: var(--sbs-grey); font-size: .9rem; }
.job-modal-body p { color: var(--sbs-grey); font-size: .9rem; }
.job-modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--sbs-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .job-modal-header, .job-modal-body, .job-modal-meta, .job-modal-footer { padding-left: 20px; padding-right: 20px; }
}

/* ---- Phosphor Icons â sizing and alignment ---- */
/* Icons inside icon containers inherit font-size and color */
.solution-card-icon i[class*="ph"],
.stat-icon i[class*="ph"],
.drop-icon i[class*="ph"],
.product-icon-lg i[class*="ph"],
.footer-social i[class*="ph"] {
  font-size: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PCA eco icon: lightbulb + leaf overlay */
.ph-icon-eco {
  line-height: 1;
}

/* Chevron rotation: Phosphor caret-down in nav */
.nav-menu > li:hover > a i.chevron {
  transform: rotate(180deg);
}

/* Ensure Phosphor icons in buttons align properly */
button i[class*="ph"],
a i[class*="ph"] {
  vertical-align: -0.1em;
}

/* ---- Job Modal ---- */
.job-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.job-modal-overlay.open { display: flex; }
.job-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.job-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--sbs-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.job-modal-header h2 { font-size: 1.35rem; color: var(--sbs-navy); margin: 0; }
.job-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--sbs-grey);
  flex-shrink: 0;
  line-height: 1;
  padding: 2px 6px;
}
.job-modal-close:hover { color: var(--sbs-navy); }
.job-modal-meta {
  padding: 16px 32px;
  background: var(--sbs-light);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sbs-navy);
}
.job-modal-meta span { display: flex; align-items: center; gap: 6px; }
.job-modal-body {
  padding: 24px 32px 32px;
}
.job-modal-body h4 { color: var(--sbs-navy); font-size: 1rem; margin-top: 20px; margin-bottom: 8px; }
.job-modal-body ul { padding-left: 20px; color: var(--sbs-grey); font-size: .9rem; }
.job-modal-body p { color: var(--sbs-grey); font-size: .9rem; }
.job-modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--sbs-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .job-modal-header, .job-modal-body, .job-modal-meta, .job-modal-footer { padding-left: 20px; padding-right: 20px; }
}
