/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Disable text selection sitewide */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Re-enable selection only for inputs and textareas */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

:root {
  --red: #E2001A;
  --red-dark: #8A0000;
  --navy: #0a2540;
  --navy-mid: #16304f;
  --bg: #F5F5F5;
  --bg-white: #ffffff;
  --text: #222222;
  --text-muted: #555555;
  --text-light: #888888;
  --border: #e0e0e0;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 30px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-white);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--red);
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.topbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.topbar-contact-label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.topbar-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.92);
}

.topbar-phone {
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity var(--transition);
}

.topbar-phone:hover { opacity: 0.8; color: #fff; }

.topbar-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

.topbar-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.3);
  margin: 0 4px;
}

.icon {
  width: 13px; height: 13px;
  fill: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.topbar-item .icon[stroke] { fill: none; stroke: rgba(255,255,255,0.9); }

.topbar-right { display: flex; align-items: center; gap: 8px; }

.social-icon {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}

.social-icon:hover { background: rgba(255,255,255,0.3); }

.social-icon svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
}

#site-header.scrolled {
  top: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* Nav links — white when transparent (over hero) */
#site-header:not(.scrolled) .main-nav > ul > li > a {
  color: rgba(255,255,255,0.92);
}
#site-header:not(.scrolled) .main-nav > ul > li > a:hover {
  color: #fff;
}
#site-header:not(.scrolled) .arrow {
  color: rgba(255,255,255,0.7);
}
#site-header:not(.scrolled) .burger span {
  background: #fff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 86px;
  gap: 1.5rem;
}

.site-logo { display: flex; align-items: center; }

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Main Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.main-nav > ul > li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 16px;
  background: currentColor;
  opacity: 0.25;
  vertical-align: middle;
  margin-right: 0;
}

.main-nav > ul > li > a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 9px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-align: center;
  line-height: 1.3;
}

.main-nav > ul > li > a:hover { color: var(--red); }
.main-nav > ul > li > a.nav-active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
}

.arrow { font-size: 10px; opacity: 0.6; }

/* Dropdown */
.sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none;
  min-width: 220px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}

.sub-menu li a:hover {
  color: var(--red);
  background: #fef2f2;
}

/* Header Certification Badges */
.header-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-left: 1rem;
  flex-shrink: 0;
}

.cert-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-badge-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-badge-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.cert-badge-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.cert-labels {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-align: center;
}

/* Header CTA */
.header-cta {
  background: var(--red);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  margin-left: 0.5rem;
}

.header-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 126px; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow-md);
  z-index: 999;
  padding: 1rem 0;
}

.mobile-nav.open { display: block; }
#site-header.scrolled ~ .mobile-nav { top: 86px; }

.mobile-nav ul { list-style: none; }

.mnav-link {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
}

.mnav-link:hover { color: var(--red); background: #fef2f2; }

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 520px;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active { opacity: 1; }


.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.62);
}

.slide-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  margin: 50px auto 0;
}

.slide-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.slide-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-content h3 {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}

.slide-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.slide-btn-primary {
  background: var(--red);
  color: #fff;
  padding: 11px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}

.slide-btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.slide-btn-outline {
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  padding: 9px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition);
}

.slide-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), opacity 0.3s ease;
  backdrop-filter: blur(4px);
  opacity: 0;
}

.hero-slider:hover .slider-btn { opacity: 1; }
.slider-btn:hover { background: var(--red); border-color: var(--red); }

.prev { left: 20px; }
.next { right: 20px; }

.slide-counter {
  display: none;
  position: absolute;
  bottom: 18px;
  right: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  z-index: 10;
}

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-slider:hover .slider-dots { opacity: 1; }

.dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===== ABOUT (reference layout) ===== */
.section-about {
  padding: 70px 0 80px;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

/* ---- LEFT column ---- */
.about-left {}

.about-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 500px;
}

.about-desc strong { color: var(--text); }

/* Stats row */
.about-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px 0;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px 0 0;
  min-width: 120px;
}

.asi-icon {
  margin-bottom: 6px;
  opacity: 0.75;
}

.asi-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 3px;
}

.asi-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}

.about-stat-sep {
  width: 1px;
  height: 52px;
  background: var(--border);
  margin: 0 24px 0 0;
  flex-shrink: 0;
}

.btn-savoir {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background var(--transition);
  margin-left: 8px;
  align-self: center;
}

.btn-savoir:hover { background: var(--red-dark); color: #fff; }

/* Left photo with overlapping card */
.about-photo-wrap {
  position: relative;
  line-height: 0;
}

.about-photo-wrap > img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-policy-card {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58%;
  background: var(--red);
  padding: 22px 22px 24px;
  border-radius: 4px 0 4px 0;
  z-index: 2;
}

.about-policy-card h4 {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.about-policy-card p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 10px;
}

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

.about-policy-card ul li {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}

.about-policy-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  top: 2px;
}

/* ---- RIGHT column ---- */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Right photo with year badge */
.about-photo2-wrap {
  position: relative;
  line-height: 0;
}

.about-photo2-wrap > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.about-video-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
}
.about-video {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-video.video-visible {
  opacity: 1;
  transform: translateY(0);
}
.about-video-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: default;
}

.about-exp-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
  transition: opacity 0.8s ease;
}
.about-exp-badge.badge-hidden {
  opacity: 0;
  pointer-events: none;
}

.exp-big {
  font-size: 46px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.exp-rest {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.exp-rest strong {
  font-weight: 800;
  font-size: 15px;
}

/* Feature items */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.afi-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.afi-text h5 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
}

.afi-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap > img { height: 280px; }
  .about-policy-card { width: 80%; }
  .about-stats-row { gap: 10px; }
}

/* ===== BUTTONS ===== */
.btn-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  color: #fff;
}

.btn-red.full { width: 100%; text-align: center; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy);
  padding: 36px 0;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-box {
  text-align: center;
  color: #fff;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== SHARED SECTION STYLES ===== */
.section-header-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag-line {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}
.section-header-center .section-tag-line { margin-bottom: 10px; }

.bg-light { background: var(--bg); }

/* ===== DOMAINES D'ACTIVITE (photo carousel) ===== */
.section-domaines {
  padding: 40px 0 28px;
  background: #fff;
}

.domaines-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.domaines-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.domaines-nav {
  display: flex;
  gap: 8px;
}

.dom-nav-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid #ccc;
  background: #fff;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  transition: border-color 0.25s, color 0.25s;
  line-height: 1;
}

.dom-nav-btn--active {
  border-color: var(--red);
  color: var(--red);
}

.dom-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.domaines-carousel-wrap {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.domaines-carousel-wrap:active { cursor: grabbing; }

.domaines-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.domaine-item {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
}

.domaine-img-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #e8edf3;
  border-radius: 6px;
}

.domaine-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.domaine-item:hover .domaine-img-wrap img {
  transform: scale(1.04);
}

.domaine-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0 0;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .domaine-item { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 540px) {
  .domaine-item { flex: 0 0 100%; }
  .domaines-title { font-size: 19px; }
}

/* ===== SERVICES ===== */
.section-services {
  padding: 80px 0;
  background: #fff;
}

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

.service-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226, 0, 26, 0.2);
}

.service-box:hover::after { transform: scaleX(1); }

.service-ico {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-box h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== EQUIPMENT ===== */
.section-equipment {
  padding: 80px 0;
}

.equipment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.section-title-sm {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.equip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
}

.equip-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 14px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.eq-num {
  font-weight: 800;
  color: var(--red);
  min-width: 36px;
  font-size: 13px;
}

.equip-note {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ===== BRANDS / PARTENAIRES ===== */
.section-brands {
  padding: 28px 0 0;
  background: #fff;
  border-top: none;
}

.brands-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 32px;
  letter-spacing: 0;
}

.brands-logos-wrap {
  width: 100%;
  overflow: hidden;
}

.brands-logos-img {
  width: 100%;
  max-width: 100%;
  height: 110px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brands-logos-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== OBJECTIFS ===== */
.section-objectifs { padding: 80px 0; }

.obj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.obj-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 22px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.obj-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226, 0, 26, 0.2);
}

.obj-box.feature {
  border-top: 3px solid var(--red);
}

.obj-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.obj-box h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.obj-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== SECURITE ===== */
.section-securite {
  padding: 80px 0;
  background: #fff;
}

.securite-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.principe-card {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.grande-guillemet {
  font-size: 8rem;
  line-height: 0.5;
  color: var(--red);
  opacity: 0.4;
  font-family: Georgia, serif;
  position: absolute;
  top: 24px;
  left: 24px;
}

.principe-card blockquote {
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.9);
}

.principe-card cite {
  font-size: 12px;
  color: var(--red);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sst-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pdca-box {
  background: #f9f9f9;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.pdca-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.pdca-item {
  flex: 1;
  padding: 18px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.pdca-item:hover { transform: scale(1.04); }

.planifier { background: rgba(226,0,26,0.08); border-color: rgba(226,0,26,0.2); }
.realiser  { background: rgba(10,37,64,0.06); border-color: rgba(10,37,64,0.15); }
.agir      { background: rgba(10,37,64,0.06); border-color: rgba(10,37,64,0.15); }
.controler { background: rgba(226,0,26,0.08); border-color: rgba(226,0,26,0.2); }

.pdca-letter {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.pdca-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.pdca-center-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 12px 0;
}

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

.sst-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.sst-item:hover {
  border-color: rgba(226,0,26,0.3);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.sst-ico { font-size: 2rem; margin-bottom: 10px; display: block; }

.sst-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.sst-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FAQ (cinematic dark split) ===== */
.section-faq {
  background: var(--navy);
  padding: 60px 0;
}

.faq-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 52px;
}

/* ---- Left visual panel ---- */
.faq-visual {
  flex: 0 0 360px;
  height: 680px;
  position: relative;
  overflow: hidden;
  background: #0a1628;
  border-radius: 14px;
}

.faq-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 0.6s ease;
}

.faq-visual:hover .faq-visual-img { opacity: 0.85; }

.faq-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.75) 0%, rgba(196,18,48,0.35) 100%);
}

/* red left accent bar */
.faq-visual-bar {
  display: none;
}

/* floating text on image */
.faq-visual-text {
  position: absolute;
  bottom: 48px;
  left: 40px;
  right: 40px;
  color: #fff;
  z-index: 2;
}

.faq-visual-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
  border-left: 3px solid var(--red);
  padding-left: 10px;
}

.faq-visual-heading {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.faq-visual-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  letter-spacing: 0.04em;
}

/* ---- Right content panel ---- */
.faq-content-col {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.faq-content-inner {
  padding: 0;
  width: 100%;
}

.faq-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.faq-title {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 32px;
  position: relative;
  padding-bottom: 18px;
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}

/* accordion items */
.faq-list { border-top: 1px solid rgba(255,255,255,0.25); }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.25); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}

.faq-q:hover { color: rgba(255,255,255,0.75); }

.faq-chevron {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-q { color: #fff; }
.faq-item.open .faq-chevron { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  padding-bottom: 18px;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .faq-inner { flex-direction: column; padding: 0 24px; }
  .faq-visual { flex: 0 0 260px; width: 100%; height: 260px; }
  .faq-visual-heading { font-size: 26px; }
  .faq-content-inner { padding: 0; }
}

/* ===== CTA BANNER ===== */
.cta-section {
  background: #f4f5f7;
  padding: 50px 52px 60px;
}

.cta-banner {
  display: flex;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  max-width: 1100px;
  margin: 0 auto;
}

.cta-img-half {
  flex: 1;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
}

.cta-red-half {
  background: var(--red);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 48px;
}

.cta-urgence {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.18);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  transition: opacity var(--transition);
  line-height: 1;
  text-decoration: none;
}

.cta-phone:hover { opacity: 0.8; }

.cta-phone svg {
  width: 26px; height: 26px;
  stroke: #fff;
  fill: none;
  flex-shrink: 0;
}

/* ===== QUALITY BAR ===== */
.quality-bar {
  background: var(--red);
  padding: 0;
  margin-top: 40px;
}

.quality-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.quality-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.quality-text svg {
  width: 22px; height: 22px;
  stroke: #fff;
  fill: none;
  flex-shrink: 0;
}

.quality-btn {
  background: #fff;
  color: var(--red);
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition);
}

.quality-btn:hover {
  background: var(--navy);
  color: #fff;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
  font-size: 14px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-qr-col {
  display: flex;
  flex-direction: column;
}

.footer-qr-box {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  flex: 1;
  box-shadow: none;
}

.footer-qr-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-qr-img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  opacity: 0.82;
}

.footer-logo {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand-col p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.footer-social {
  display: none;
}

.f-social {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}

.f-social:hover { background: var(--red); }

.f-social svg {
  width: 15px; height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

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

.footer-col ul li a:hover { color: #fff; }

.footer-col ul li span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  cursor: pointer;
}

.footer-col ul li span:hover { color: #3b82f6; }

/* Footer coords column */
.footer-coords { display: flex; flex-direction: column; gap: 14px; }

.f-coord-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.f-coord-item svg {
  width: 16px; height: 16px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.f-coord-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.f-coord-item span {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.f-coord-item span a {
  color: rgba(255,255,255,0.55);
  display: block;
  transition: color var(--transition);
}

.f-coord-item span a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px; height: 42px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  z-index: 500;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ===== FADE IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===== ABOUT SCROLL ANIMATIONS ===== */
[data-anim] {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-anim='fade-up']    { transform: translateY(36px); }
[data-anim='fade-left']  { transform: translateX(-40px); }
[data-anim='fade-right'] { transform: translateX(40px); }
[data-anim='fade-scale'] { transform: scale(0.92) translateY(20px); }

[data-anim].anim-visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .obj-grid { grid-template-columns: repeat(2, 1fr); }
  .securite-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-slider { height: 460px; }
  .faq-layout { grid-template-columns: 280px 1fr; gap: 40px; }
  .cta-section { padding: 40px 24px 50px; }
  .cta-banner { margin: 0; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-exp-badge { right: 10px; }
  .about-mission-card { left: 0; right: 0; }
  .equipment-layout { grid-template-columns: 1fr; }
  .org-level { gap: 16px; }
  .org-sub { grid-template-columns: 1fr; }
  .sst-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-img-col { display: none; }
  .cta-banner { height: 160px; flex-direction: row; border-radius: 14px; }
  .cta-img-half { flex: 0 0 42%; }
  .cta-red-half { padding: 20px 18px; gap: 10px; }
  .cta-phone { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .obj-grid { grid-template-columns: 1fr 1fr; }
  .topbar-left { gap: 0.5rem; flex-wrap: nowrap; }
  .topbar-contact-label { display: none; }
  .topbar-label { display: none; }
  .hero-slider { height: 380px; }
  .slide-content h1 { font-size: 1.4rem; }
  .sst-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { margin: 0 16px; border-radius: 12px; height: 150px; flex-direction: row; }
  .cta-img-half { flex: 0 0 42%; min-height: 100%; }
  .cta-red-half { flex: 1; padding: 16px 14px; gap: 8px; }
  .cta-urgence { font-size: 9px; letter-spacing: 1px; padding: 4px 10px; }
  .quality-inner { justify-content: center; text-align: center; }
  .faq-inner { padding: 0 16px; gap: 24px; }
  .about-video { height: 220px; }
  .section-about { padding: 48px 0 56px; }
  .about-stats-row { flex-wrap: wrap; }
  .cta-section { padding: 30px 0 40px; }
}

@media (max-width: 480px) {
  .obj-grid { grid-template-columns: 1fr; }
  .pdca-row { flex-direction: column; gap: 10px; }
  .brands-row { gap: 10px; }
  .brand-tag { padding: 10px 18px; font-size: 14px; }
  .cta-banner { height: 135px; flex-direction: row; margin: 0 12px; }
  .cta-img-half { flex: 0 0 42%; }
  .cta-red-half { padding: 12px 10px; gap: 7px; }
  .cta-phone { font-size: 1rem; gap: 8px; }
  .cta-phone svg { width: 20px; height: 20px; }
  .cta-urgence { font-size: 8px; padding: 3px 8px; }
  .hero-slider { height: 320px; }
  .slide-content h1 { font-size: 1.15rem; }
  .slide-content h3 { font-size: 0.85rem; }
  .stat-num { font-size: 2rem; }
  .topbar-phone { font-size: 11px; gap: 3px; }
  .topbar-inner { padding: 7px 14px; }
  .header-inner { padding: 0 14px; }
  .about-policy-card { width: 90%; }
  .faq-inner { padding: 0 12px; }
  .footer-grid { gap: 1.5rem; }
  .equip-list li { font-size: 13px; padding: 8px 12px; }
  .domaine-item { flex: 0 0 calc(100% - 0px); }
}

@media (max-width: 375px) {
  .cta-banner { height: 120px; margin: 0 10px; }
  .cta-img-half { flex: 0 0 44%; }
  .cta-red-half { padding: 10px 8px; gap: 6px; }
  .cta-phone { font-size: 0.88rem; gap: 6px; }
  .cta-phone svg { width: 17px; height: 17px; }
  .cta-urgence { font-size: 7px; padding: 2px 7px; letter-spacing: 0.8px; }
}

