:root {
  /* Colors */
  --primary-blue: #1665C0;
  --primary-light-blue: #1E40AF;
  --accent-orange: #FF7B00;
  --accent-yellow: #FFB300;
  --white: #ffffff;
  --light-gray: #F8F9FA;
  --gray: #6C757D;
  --dark-gray: #343A40;
  --black: #0F1115;

  /* Typography */
  --font-main: 'Outfit', 'Montserrat', sans-serif;

  /* Utilities */
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-blue);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 25px;
  /* Espace augmenté sous les titres */
}

p {
  margin-bottom: 1.5rem;
  text-align: center;
}

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

ul {
  list-style: none;
}

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

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}


.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--accent-orange);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 1.15rem;
  max-width: 800px;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-blue);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Navbar */
.navbar {
  background-color: transparent;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 8px 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* En transparent : liens blancs */
.navbar:not(.scrolled) .nav-links a {
  color: var(--white);
}

.navbar:not(.scrolled) .nav-links a::after {
  background-color: var(--accent-orange);
}

.navbar:not(.scrolled) .mobile-menu-btn {
  color: var(--white);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  transition: var(--transition);
}

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

.nav-links a {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-orange);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Footer */
footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 70px 0 20px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  text-align: center;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--accent-orange);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-col p,
.footer-col ul li a {
  color: #a0aec0;
  font-size: 0.95rem;
}

.footer-col ul li {
  margin-bottom: 15px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-blue);
  overflow: hidden;
}


.hero-bg,
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-bg {
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-content {
  max-width: 700px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 120px 20px 80px;
  animation: fadeUp 1s ease-out forwards;
}

.hero-title {
  color: var(--white);
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero-subtitle {
  color: #e2e8f0;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cards & Components */
.services-grid,
.products-grid,
.sectors-grid {
  display: grid;
  gap: 30px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.sectors-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 123, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-orange);
  font-size: 2rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--accent-orange);
  color: var(--white);
}

.card-title {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.card-text {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* Product Card Specifics */
.product-card {
  padding: 0;
  text-align: left;
}

.product-img-wrapper {
  height: 250px;
  overflow: hidden;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-content {
  padding: 30px;
}

.product-tag {
  display: inline-block;
  background: rgba(10, 25, 47, 0.1);
  color: var(--primary-blue);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Info Section (Pourquoi Nous) */
.info-section {
  background-color: var(--light-gray);
  position: relative;
}

.info-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.info-text,
.info-image {
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  color: var(--accent-orange);
  font-size: 1.5rem;
  margin-top: -2px;
}

.feature-list h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light-blue));
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section::after {
  display: none;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-blue);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--light-gray);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.1);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .info-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Mobile menu toggled via JS setup */
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ─── Floating Action Buttons ─── */
.fab-group {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.fab-contact {
  background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
  color: var(--white);
}

.fab-top {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light-blue));
  color: var(--white);
  opacity: 0;
  visibility: hidden;
}

.fab-top.visible {
  opacity: 1;
  visibility: visible;
}