/* =========================================
   Consolidation: home.css
========================================= */

/* --- Source: main.css --- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-normal);
  background-color: var(--bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* TYPOGRAPHIE ET ELEMENTS DE BASE */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* LAYOUT & CONTAINERS */
.products-section .container {
  /* width: 90%; */
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 1.5rem; */
}

/* COMPOSANTS COMMUNS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: var(--font-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: #0274ae;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1.5px solid var(--text-white);
  color: var(--text-white);
}

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.link-action {
  color: var(--color-success);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition-fast);
}

.link-action:hover {
  gap: 0.5rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  height: 1114px;
  max-height: 1114px;
  display: flex;
  align-items: flex-end;
  background-image: url('../assets/images/hero-bg.png'); /* Image officielle */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-white);
  padding-top: 81px; /* Compensation du Header */
  overflow: hidden;
}

/* Double overlay : Dégradé sombre linéaire pour assombrir le bas */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(1, 14, 26, 0) 0%, rgba(1, 14, 26, 0.75) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 105px 240px 105px; /* Marges officielles */
}

/* Colonne Gauche : Titre et Description */
.hero-left {
  width: 702px;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  gap: 31px; /* Espace vertical */
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 54px; /* Taille officielle */
  font-weight: 600; /* SemiBold */
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.03em; /* -3% officiel */
}

.hero-title .text-highlight {
  color: var(--text-white); /* Blanc dans Figma, mais peut être stylisé si besoin */
}

.hero-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle */
  font-weight: 400; /* Regular */
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  letter-spacing: -0.03em;
  max-width: 640px;
}

/* Colonne Droite : Boutons et Recherche */
.hero-right {
  width: 570px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 17.25px; /* Espace vertical officiel entre les boutons et la recherche */
}

.hero-ctas {
  display: flex;
  gap: 17.25px; /* Espace horizontal officiel entre les deux boutons */
  width: 100%;
}

/* Ajustements boutons Hero */
.hero-ctas .btn {
  height: 76.75px; /* Hauteur officielle */
  border-radius: 0; /* Forme carrée dans Figma */
  font-family: 'DM Sans', sans-serif;
  font-size: 17.25px; /* Taille officielle */
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 0;
  transition: all var(--transition-normal);
  text-transform: none;
}

.hero-ctas .btn-primary {
  width: 240.59px; /* Largeur officielle */
  background-color: var(--color-accent); /* #07B1F0 */
  color: var(--text-white);
  border: none;
  justify-content: center;
  gap: 8px;
}

.hero-ctas .btn-primary:hover {
  background-color: #058ec1;
  transform: translateY(-2px);
}

.hero-ctas .btn-outline-white {
  width: 312.16px; /* Largeur officielle */
  background-color: transparent;
  color: var(--text-white);
  border: 0.86px solid var(--text-white); /* stroke officiel */
  justify-content: center;
}

.hero-ctas .btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Barre de recherche Hero */
.hero-search-wrapper {
  width: 570px; /* Largeur officielle */
  height: 76.75px; /* Hauteur officielle */
}

.hero-search-form {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: rgba(176, 176, 176, 0.35); /* Remplissage officiel */
  border: 1px solid rgba(207, 207, 207, 0.4); /* Rapprochement du gradient officiel */
  backdrop-filter: blur(11.5px); /* Flou officiel */
  -webkit-backdrop-filter: blur(11.5px);
  padding: 0 32px;
  gap: 16px;
}

.search-icon {
  width: 20.7px; /* Taille officielle */
  height: 20.7px;
  opacity: 0.9;
}

.search-input {
  flex: 1;
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 17.25px; /* Taille officielle */
  font-weight: 500;
  color: var(--text-white);
  background: transparent;
  border: none;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

/* Media Queries pour le Responsive */
@media (max-width: 1200px) {
  .hero {
    height: auto;
    max-height: none;
    padding: 140px 0 80px 0;
  }

  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 32px;
    gap: 48px;
  }

  .hero-left, .hero-right {
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100% !important;
    height: 60px;
  }

  .hero-search-wrapper {
    width: 100%;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }
}



/* --- Source: services.css --- */

/* ==========================================================================
   SECTION SERVICES ADAPTES AUX BESOINS
   ========================================================================== */

.services-section {
  width: 100%;
  max-width: 1590px; /* Largeur exacte Figma */
  margin: 120px auto; /* Centré avec une marge verticale confortable */
  background-color: var(--color-services-bg); /* Bleu très clair #DFF3FF */
  border-radius: 25px; /* Arrondi officiel */
  padding: 128px 179px; /* Padding interne Figma pour aérer la grille */
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   EN-TÊTE DE LA SECTION
   -------------------------------------------------------------------------- */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 137px; /* Marge officielle Figma avant la grille */
}

.services-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 43px; /* Taille officielle */
  font-weight: 700; /* Bold officiel */
  color: var(--color-sectors-dark); /* Bleu-noir #010E1A */
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 666px; /* Largeur max officielle */
  margin: 0;
}

.services-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle */
  font-weight: 400; /* Regular */
  color: var(--color-sectors-desc); /* Bleu-gris #668AA4 */
  line-height: 1.35;
  letter-spacing: -0.03em;
  max-width: 509px; /* Largeur max officielle */
  margin: 0;
}

/* --------------------------------------------------------------------------
   GRILLE ASYMÉTRIQUE DE CARTES
   -------------------------------------------------------------------------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 19px; /* Écart vertical et horizontal uniforme de 19px */
  width: 100%;
  max-width: 1232px; /* Largeur totale Figma de la grille */
}

/* Cartes de services */
.service-card {
  background-color: var(--bg-white);
  height: 393px; /* Hauteur officielle */
  /* Coins légèrement arrondis pour un aspect premium */
  /* border-radius: 20px;  */
  padding: 80px 64px; /* Marges internes Figma */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrer verticalement les textes */
  align-items: flex-start;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(2, 24, 43, 0.08), 0 10px 10px -5px rgba(2, 24, 43, 0.04);
}

.service-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 33px; /* Taille officielle */
  font-weight: 700; /* Bold officiel */
  color: var(--color-primary); /* Bleu marine #02182B */
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
}

.service-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle */
  font-weight: 500; /* Medium officiel */
  color: var(--color-sectors-desc); /* Bleu-gris #668AA4 */
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Largeurs spécifiques de la grille asymétrique */
.card-full {
  width: 100%; /* Ligne 1 : Largeur complète (1232px) */
}

.card-half {
  width: calc(50% - 9.5px); /* Ligne 2 : Deux colonnes égales (608px et 606px) */
}

.card-35 {
  width: calc(35.63% - 9.5px); /* Ligne 3 : Colonne gauche plus petite (439px) */
}

.card-65 {
  width: calc(64.37% - 9.5px); /* Ligne 3 : Colonne droite plus large (774px) */
}

/* --------------------------------------------------------------------------
   ACTION / BOUTON GLOBAL
   -------------------------------------------------------------------------- */
.services-action {
  margin-top: 64px; /* Écart vertical officiel sous la grille */
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-services-all {
  width: 370.29px; /* Largeur officielle */
  height: 77px; /* Hauteur officielle */
  border-radius: 0; /* Pas de border radius d'après la maquette */
  background-color: var(--color-accent); /* Cyan #07B1F0 */
  color: var(--text-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 17.3px; /* Taille officielle style_L2I64B */
  font-weight: 500; /* Medium */
  letter-spacing: -0.03em;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-services-all:hover {
  background-color: #058ec1; /* Variante plus sombre au survol */
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-services-all .btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-services-all:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1620px) {
  .services-section {
    margin: 100px 24px;
    padding: 100px 60px;
    max-width: calc(100% - 48px);
  }
  
  .services-grid {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .services-header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 60px;
  }

  .services-title, 
  .services-desc {
    max-width: 100%;
  }

  .services-section {
    padding: 80px 40px;
  }

  .card-half, 
  .card-35, 
  .card-65 {
    width: calc(50% - 9.5px); /* Toutes les sous-cartes s'alignent en 2 colonnes */
  }
}

@media (max-width: 992px) {
  .services-title {
    font-size: 36px;
  }

  .services-desc, 
  .service-card-desc {
    font-size: 18px;
  }

  .service-card-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 20px;
    /* margin: 60px 16px; */
    border-radius: 16px;
  }

  .services-title {
    font-size: 28px;
  }

  .services-desc, 
  .service-card-desc {
    font-size: 16px;
  }

  .service-card-title {
    font-size: 24px;
  }

  .service-card {
    height: auto;
    min-height: 280px;
    padding: 50px 30px;
  }

  .card-half, 
  .card-35, 
  .card-65 {
    width: 100%; /* S'empilent sur 1 colonne sur les téléphones */
  }

  .btn-services-all {
    width: 100%;
    height: 60px;
  }
}


/* --- Source: sectors.css --- */

/* ==========================================================================
   SECTION SECTEURS D'ACTIVITE
   ========================================================================== */

.sectors-section {
  padding: 130px 0;
  background-color: var(--bg-white);
  overflow: hidden;
}

.sectors-container {
  width: 100%;
  max-width: 1308px; /* Largeur exacte Figma : 169px de marge à gauche de 1728px */
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grille asymétrique officielle */
.sectors-grid {
  display: grid;
  grid-template-columns: 661px 569px;
  gap: 78px; /* Écart horizontal officiel */
  align-items: start;
}

/* --------------------------------------------------------------------------
   COLONNE GAUCHE : GRANDE CARTE D'INTRO
   -------------------------------------------------------------------------- */
.sector-intro-card {
  position: relative;
  width: 661px;
  height: 792px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 82px 85px 72px 69px; /* Rembourrages officiels */
  background-image: url('../assets/images/sectors-intro-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-white);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.sector-intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Overlay dégradé : transparent en haut → #2D5D1C en bas */
.sector-intro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(45, 93, 28, 0) 0%,
    rgba(45, 93, 28, 0.75) 60%,
    rgba(45, 93, 28, 0.96) 100%
  );
  z-index: 1;
}

.sector-intro-title {
  position: relative;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-size: 43px; /* Taille officielle */
  font-weight: 700; /* Bold officiel */
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.03em; /* -3% officiel */
  margin: 0;
}

.sector-intro-desc {
  position: relative;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle */
  font-weight: 500; /* Medium officiel */
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   COLONNE DROITE : CARTES DE SECTEURS
   -------------------------------------------------------------------------- */
.sectors-list-col {
  display: flex;
  flex-direction: column;
  width: 569px;
}

.sectors-list {
  display: flex;
  flex-direction: column;
  gap: 38px; /* Écart vertical officiel de 38px */
}

.sector-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform var(--transition-fast);
}

.sector-item:hover {
  transform: translateX(6px);
}

.sector-item-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 33px; /* Taille officielle */
  font-weight: 600; /* SemiBold */
  color: var(--color-primary); /* Bleu marine #02182B */
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 7px; /* Espace calculé net de 7px */
}

/* Pour le titre de la cimenterie ou pétrolier s'il utilise le bleu encore plus sombre */
.sector-item:nth-child(3) .sector-item-title,
.sector-item:nth-child(4) .sector-item-title {
  color: var(--color-sectors-dark); /* #010E1A */
}

.sector-item-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle */
  font-weight: 400; /* Regular */
  color: var(--color-sectors-desc); /* Bleu gris #668AA4 */
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 6px; /* Espace calculé net de 6px */
}

.sector-item-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle */
  font-weight: 700; /* Bold */
  color: var(--color-sectors-link); /* Vert vif #53B730 */
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: -0.03em;
  width: fit-content;
}

.sector-item-link .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.sector-item:hover .sector-item-link .arrow {
  transform: translateX(4px);
}

/* Bouton d'action global */
.sectors-action {
  margin-top: 38px; /* Écart vertical officiel de 38px */
}

.btn-sectors-all {
  width: 370.29px; /* Largeur officielle */
  height: 77px; /* Hauteur officielle */
  border-radius: 0; /* Pas de border radius d'après la maquette */
  background-color: var(--color-accent); /* Cyan #07B1F0 */
  color: var(--text-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 17.3px; /* Taille officielle */
  font-weight: 500; /* Medium */
  letter-spacing: -0.03em;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-sectors-all:hover {
  background-color: #058ec1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sectors-all .btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-sectors-all:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1350px) {
  .sectors-container {
    max-width: 1200px;
  }

  .sectors-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .sector-intro-card {
    width: 100%;
    height: auto;
    min-height: 600px;
    padding: 60px 40px;
  }

  .sectors-list-col {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .sector-intro-card {
    min-height: 480px;
    padding: 50px 30px;
  }

  .sector-intro-title {
    font-size: 36px;
  }

  .sector-intro-desc {
    font-size: 18px;
    margin-top: 40px;
  }

  .sector-item-title {
    font-size: 28px;
  }

  .sector-item-desc {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .sectors-section {
    padding: 80px 0;
  }

  .sector-intro-card {
    min-height: 400px;
    padding: 40px 24px;
  }

  .sector-intro-title {
    font-size: 28px;
  }

  .sector-intro-desc {
    font-size: 16px;
  }

  .sector-item-title {
    font-size: 24px;
  }

  .sector-item-desc {
    font-size: 16px;
  }

  .sector-item-link, 
  .btn-sectors-all {
    font-size: 16px;
  }

  .btn-sectors-all {
    width: 100%;
    height: 60px;
  }
}


/* --- Source: partners.css --- */

/* ==========================================================================
   SECTION PARTENAIRES — REFONTE STYLE MAQUETTE FIGMA
   2 rangées pleine largeur, cellules à bordures fines, pas de coins arrondis
   Rangée 1 : droite → gauche | Rangée 2 : gauche → droite
   ========================================================================== */

.partners-section {
  padding: 100px 0;
  background-color: var(--bg-white);
  overflow: hidden;
  position: relative;
}

/* Conteneur centré pour le titre et le lien d'action */
.partners-container {
  max-width: 1590px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* Titre de la section */
.partners-title {
  font-family: var(--font-family);
  font-size: 43px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 724px;
  line-height: 1.25;
  margin: 0;
}

/* --------------------------------------------------------------------------
   ZONE DES RANGÉES (pleine largeur du viewport)
   -------------------------------------------------------------------------- */
.partners-rows-wrapper {
  /* width: 100vw; */
  position: relative;
  left: 50%;
  margin-left: -50vw;
  display: flex;
  flex-direction: column;
  /* Bordure supérieure de la zone */
  border-top: 1px solid #e2ecf3;
}

/* --------------------------------------------------------------------------
   RANGÉE INDIVIDUELLE (conteneur de défilement)
   -------------------------------------------------------------------------- */
.partners-row {
  width: 100%;
  overflow: hidden;
  /* Séparation entre les 2 rangées */
  border-bottom: 1px solid #e2ecf3;
  position: relative;
}

/* --------------------------------------------------------------------------
   TRACK DE DÉFILEMENT (contient 2× la liste de logos)
   -------------------------------------------------------------------------- */
.partners-track {
  display: flex;
  width: max-content;
}

/* Rangée 1 : droite → gauche (translateX de 0 à -50%) */
.partners-track--ltr {
  animation: none;
}

/* Rangée 2 : gauche → droite (translateX de -50% à 0) */
.partners-track--rtl {
  animation: none;
}

/* Pause au survol */
.partners-track:hover {
  animation-play-state: paused;
}

/* --------------------------------------------------------------------------
   LISTE DE LOGOS (une rangée = 2 × .partners-list)
   -------------------------------------------------------------------------- */
.partners-list {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CELLULE LOGO (reproduit exactement le style Figma : rectangle à bordures)
   -------------------------------------------------------------------------- */
.partner-cell {
  /* Dimensions identiques à la maquette Figma */
  width: 150px;
  height: 150px;
  flex-shrink: 0;

  /* Centrage du contenu */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Bordure droite pour séparer les cellules (style Figma) */
  border-right: 1.54pt solid #e2ecf3;
  box-sizing: border-box;

  /* Pas de coins arrondis — strict Figma */
  border-radius: 0;

  /* Typographie de base */
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;

  /* Effet grisé → couleur au survol */
  filter: grayscale(100%) opacity(55%);
  transition: filter 0.25s ease, transform 0.2s ease;
  cursor: default;
  user-select: none;
  padding: 0 16px;
}

.partner-cell:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.04);
}

.partner-cell small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.7;
}

.partner-cell > span:first-child {
  width: 90%;
}

.partner-cell em {
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  display: block;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   STYLES INDIVIDUELS DES LOGOS (typographies fidèles à la maquette)
   -------------------------------------------------------------------------- */

/* ACROS Organics — rouge vif sur fond blanc, gras */
.logo-acros {
  font-size: 17px;
  font-weight: 900;
  color: #cc2200;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* BD Becton Dickinson — bleu marine + badge rond orange */
.logo-bd {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
  gap: 6px;
}
.logo-bd .bd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* BINDER — noir, caps, lettres espacées */
.logo-binder {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* bürkle — rouge/bordeaux, minuscules stylisées */
.logo-buerkle {
  font-size: 20px;
  font-weight: 800;
  color: #c0392b;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

/* CORNING — bleu marine, grandes lettres espacées */
.logo-corning {
  font-size: 17px;
  font-weight: 600;
  color: #1e40af;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* deltalab — gris bleuté */
.logo-deltalab {
  font-size: 19px;
  font-weight: 600;
  color: #3b82f6;
  letter-spacing: -0.01em;
}

/* DURAN GROUP — noir, structuré */
.logo-duran {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* fisher scientific — noir + italique bleu */
.logo-fisher {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  text-transform: lowercase;
}
.logo-fisher em {
  color: #07B1F0;
}

/* Funke Gerber — gris foncé, structuré */
.logo-funke {
  font-size: 17px;
  font-weight: 700;
  color: #374151;
}

/* HACH — bleu, gras, stylisé */
.logo-hach {
  font-size: 22px;
  font-weight: 900;
  color: #1d4ed8;
  letter-spacing: 0.05em;
}

/* IDEXX — gris ardoise, majuscules */
.logo-idexx {
  font-size: 19px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* hygiena — bleu clair, minuscules */
.logo-hygiena {
  font-size: 19px;
  font-weight: 600;
  color: #0284c7;
  text-transform: lowercase;
}

/* Hettich — gris ardoise */
.logo-hettich {
  font-size: 20px;
  font-weight: 700;
  color: #334155;
  font-style: italic;
}

/* IKA — bleu vif, gras */
.logo-ika {
  font-size: 26px;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: 0.04em;
}

/* interchim — gris + vert */
.logo-interchim {
  font-size: 18px;
  font-weight: 400;
  color: #6b7280;
  text-transform: lowercase;
}
.logo-interchim span {
  font-weight: 700;
  color: #16a34a;
}

/* interscience for microbiology — texte structuré */
.logo-interscience {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-transform: lowercase;
}

/* RETSCH TECHNOLOGY — rouge, caps */
.logo-retsch {
  font-size: 15px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* testo — orange vif, stylisé */
.logo-testo {
  font-size: 22px;
  font-weight: 900;
  color: #f97316;
  font-style: italic;
  text-transform: lowercase;
}

/* Dräger — bleu marine, élégant */
.logo-draeger {
  font-size: 20px;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: -0.04em;
}

/* --------------------------------------------------------------------------
   LIEN D'ACTION PARTENAIRES
   -------------------------------------------------------------------------- */
.partners-action {
  margin-top: 0;
}

.btn-partners-link {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.btn-partners-link span.action-green {
  color: var(--color-partners-green);
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-partners-link:hover span.action-green {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------------------- */

/* Rangée 1 : droite → gauche */
@keyframes scrollLTR {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Rangée 2 : gauche → droite */
@keyframes scrollRTL {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .partners-container {
    padding: 0 24px;
  }
  .partner-cell {
    width: 150px;
    height: 100px;
    font-size: 16px;
  }
  .partners-track--ltr {
    animation-duration: 32s;
  }
  .partners-track--rtl {
    animation-duration: 32s;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 60px 0;
  }
  .partners-title {
    font-size: 28px;
    padding: 0 10px;
  }
  .partner-cell {
    width: 130px;
    height: 88px;
    font-size: 14px;
    padding: 0 12px;
  }
  .partner-cell small {
    font-size: 8px;
  }
  .partners-track--ltr {
    animation-duration: 28s;
  }
  .partners-track--rtl {
    animation-duration: 28s;
  }
  .btn-partners-link {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .partner-cell {
    width: 110px;
    height: 80px;
    font-size: 13px;
    padding: 0 8px;
  }
  .partners-track--ltr {
    animation-duration: 24s;
  }
  .partners-track--rtl {
    animation-duration: 24s;
  }
}


/* --- Source: actualite.css --- */

/* ==========================================================================
   SECTION ACTUALITÉS — STYLES DÉDIÉS
   ========================================================================== */

.news-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: 120px;
  background-color: var(--color-news-bg); /* Vert très clair #f0fbea */
  /* Pas de border-radius selon maquette */
  padding: 128px 0; /* Padding vertical, padding horizontal géré à l'intérieur */
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   EN-TÊTE DE LA SECTION
   -------------------------------------------------------------------------- */
.news-header {
  width: 100%;
  max-width: 1308px; /* Alignement sur les autres conteneurs de la page */
  margin: 0 auto 90px auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.news-header-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 43px; /* Taille officielle Figma */
  font-weight: 700;
  color: var(--color-primary); /* Bleu marine #02182B */
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 666px;
  margin: 0;
}

.news-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle Figma */
  font-weight: 400;
  color: var(--color-sectors-desc); /* Bleu-gris #668AA4 */
  line-height: 1.35;
  letter-spacing: -0.03em;
  max-width: 509px;
  margin: 0;
}

/* Bouton Voir plus - Style Fantôme Vert */
.btn-news-more {
  border: 1px solid var(--color-partners-green); /* Vert d'action #53B730 */
  background-color: transparent;
  color: var(--color-partners-green);
  font-family: 'DM Sans', sans-serif;
  font-size: 17.3px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 16px 32px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-news-more:hover {
  background-color: var(--color-partners-green);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(83, 183, 48, 0.2);
}

.btn-news-more .btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-news-more:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   GRILLE D'ACTUALITÉS (DÉFILEMENT HORIZONTAL GRAB)
   -------------------------------------------------------------------------- */
.news-grid {
  display: flex;
  gap: 24px;
  width: 100%;
  padding-left: calc((100vw - 1260px) / 2); /* Alignement avec max-width 1308px - padding */
  padding-right: 40px; /* Espace à droite pour laisser respirer le défilement */
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Masquer la scrollbar */
  scrollbar-width: none; /* Firefox */
}

/* Calcul du padding-left responsive */
@media (max-width: 1308px) {
  .news-grid {
    padding-left: 1.5rem;
  }
}

.news-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Curseur grab pour l'UX souris */
.news-grid.grab-enabled {
  cursor: grab;
}
.news-grid.grab-enabled:active {
  cursor: grabbing;
}

/* Cartes d'actualités */
.news-card {
  position: relative;
  min-width: 400px; /* Largeur fixe pour forcer le dépassement */
  height: 480px; 
  /* Angles droits conformes à la maquette */
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.news-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-normal);
  z-index: 1;
}

/* Calque de dégradé sombre (Figma : du noir vers le transparent) */
.news-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(1, 14, 26, 0.95) 0%,
    rgba(1, 14, 26, 0.5) 50%,
    rgba(1, 14, 26, 0.1) 100%
  );
  z-index: 2;
  /* Laisse passer les clics du drag */
  pointer-events: none;
}

/* Contenu interne de la carte */
.news-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none; /* Pour ne pas gêner le drag, sauf les liens */
}

.news-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.news-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #d1d5db; /* Gris clair pour un bon contraste */
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.news-card-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-partners-green); /* Vert d'action #53B730 */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
  pointer-events: auto; /* Restaure la cliquabilité du lien */
}

.news-card-link .arrow {
  transition: transform var(--transition-fast);
  display: inline-block;
}

/* Effets de survol */
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(2, 24, 43, 0.15), 0 10px 10px -5px rgba(2, 24, 43, 0.08);
}

.news-card:hover .news-card-bg {
  transform: scale(1.06);
}

.news-card-link:hover {
  color: #64cf40; /* Teinte de vert légèrement plus lumineuse */
}

.news-card-link:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   MEDIA QUERIES — RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
  }

  .news-title,
  .news-desc {
    max-width: 100%;
  }

  .news-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 60px 0;
    margin-top: 60px;
  }

  .news-title {
    font-size: 28px;
  }

  .news-desc {
    font-size: 16px;
  }

  .news-card {
    min-width: 300px; /* Plus étroit sur mobile */
    height: 400px;
  }

  .news-card-content {
    padding: 24px;
  }

  .news-card-title {
    font-size: 20px;
  }
  
  .btn-news-more {
    width: 100%;
  }
}


/* --- Source: chiffres.css --- */

/* ==========================================================================
   SECTION CHIFFRES CLÉS — STYLES DÉDIÉS
   ========================================================================== */

.chiffres-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: 120px;
  background-color: var(--text-white); /* Fond blanc selon la maquette */
  padding: 120px 0;
  box-sizing: border-box;
  overflow: hidden; /* Empêcher la main de créer un scroll horizontal */
}

.chiffres-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1308px; /* Alignement sur les autres conteneurs (Actualités, etc.) */
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* --------------------------------------------------------------------------
   COLONNE CONTENU & STATISTIQUES (GAUCHE)
   -------------------------------------------------------------------------- */
.chiffres-content {
  flex: 1;
  max-width: 600px; /* Limite la largeur du texte pour laisser la place à la main */
  z-index: 2; /* Pour passer au-dessus de l'image si ça se chevauche sur petites résolutions */
}

.chiffres-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 43px; /* Taille officielle Figma */
  font-weight: 700;
  color: var(--color-primary); /* Bleu marine #02182B */
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
}

.chiffres-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle Figma */
  font-weight: 400;
  color: var(--color-sectors-desc); /* Bleu-gris #668AA4 */
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0 0 48px 0;
}

/* Liste des statistiques */
.chiffres-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chiffres-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Le chiffre vert en Inter Extra Bold */
.stat-number {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--color-partners-green); /* Vert d'action #53B730 */
  width: 130px; /* Largeur fixe pour aligner parfaitement les libellés */
  flex-shrink: 0;
  display: inline-block;
}

/* Le libellé en DM Sans Bold */
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   COLONNE ILLUSTRATION (DROITE)
   -------------------------------------------------------------------------- */
.chiffres-illustration {
  /* Positionnement absolu pour coller l'image au bord droit de l'écran */
  position: absolute;
  right: calc(-50vw + 50%); /* Débordement à droite jusqu'au bord de l'écran */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

.chiffres-hand-img {
  max-width: none;
  width: 65vw; /* S'adapte dynamiquement à la largeur de l'écran */
  min-width: 500px;
  max-height: 800px;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.05));
  transition: transform var(--transition-normal);
}

/* Effet interactif premium sur l'image */
.chiffres-hand-img:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   MEDIA QUERIES — RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .chiffres-section {
    padding: 80px 0;
    margin-top: 80px;
  }

  .chiffres-container {
    flex-direction: column; /* Empilement des colonnes */
    align-items: flex-start;
    gap: 40px;
  }

  .chiffres-content {
    max-width: 100%;
  }

  .chiffres-illustration {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 40px;
    width: 100%;
    justify-content: center;
    display: none;
  }

  .chiffres-hand-img {
    width: 100%;
    max-width: 500px;
    object-position: center;
  }
}

@media (max-width: 768px) {
  .chiffres-section {
    padding: 60px 0;
    margin-top: 60px;
  }

  .chiffres-title {
    font-size: 32px; /* Réduit pour mobile */
    margin-bottom: 16px;
  }

  .chiffres-desc {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .chiffres-stats-list {
    gap: 20px;
  }

  .stat-number {
    font-size: 32px;
    width: 100px;
  }

  .stat-label {
    font-size: 18px;
  }

  /* Disparition de la main sur mobile comme demandé */
  .chiffres-illustration {
    display: none;
  }
}


/* --- Source: temoignages.css --- */

/* ==========================================================================
   SECTION TÉMOIGNAGES — STYLES DÉDIÉS (SLIDER DYNAMIQUE)
   ========================================================================== */

.temoignages-section {
  width: 100%;
  max-width: 1590px; /* Aligné sur Services et Actualités */
  margin: 120px auto;
  border-radius: 25px; /* Arrondi officiel */
  padding: 128px 179px; /* Padding officiel Figma */
  box-sizing: border-box;
  background-color: #def5d2; /* Couleur du slide 1 par défaut */
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.temoignages-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1232px; /* Aligné sur la grille */
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   COLONNE GAUCHE — TITRES & NAVIGATION
   -------------------------------------------------------------------------- */
.temoignages-intro {
  display: flex;
  flex-direction: column;
}

.temoignages-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; /* Taille officielle Figma */
  font-weight: 400;
  color: var(--color-sectors-desc); /* Bleu-gris #668AA4 */
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
  max-width: 440px;
}

.temoignages-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 43px; /* Taille officielle Figma */
  font-weight: 700;
  color: var(--color-primary); /* Bleu marine #02182B */
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 64px 0;
}

/* Contrôles du Slider */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
}

.slider-pagination {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-partners-green); /* Vert d'accentuation #53B730 */
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 45px;
}

.slider-pagination .current {
  font-size: 24px;
}

/* Barre de progression avec flèche */
.slider-progress-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 0.6;
  position: relative;
  height: 2px;
  background-color: rgba(2, 24, 43, 0.1);
  border-radius: 2px;
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-partners-green);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Boutons Flèches */
.slider-navigation {
  display: flex;
  gap: 16px;
}

.slider-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  padding: 0;
}

.slider-btn:hover {
  background-color: var(--color-primary);
  color: var(--text-white);
  transform: scale(1.05);
}

.slider-btn:active {
  transform: scale(0.95);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.slider-btn.prev:hover svg {
  transform: translateX(-2px);
}

.slider-btn.next:hover svg {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   COLONNE DROITE — CARTE DE TÉMOIGNAGE (TRACK / SLIDES)
   -------------------------------------------------------------------------- */
.temoignages-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.temoignages-slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

/* La carte épurée */
.testimonial-card {
  background: transparent;
  position: relative;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 380px;
  justify-content: space-between;
}

/* En-tête de carte (Logo) */
.testimonial-logo-box {
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.testimonial-logo {
  max-height: 100%;
  max-width: 160px;
  object-fit: contain;
}

/* Corps de texte (Citation) */
.testimonial-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px; /* Taille généreuse premium */
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin: 0 0 32px 0;
  position: relative;
  z-index: 2;
}

/* Auteur */
.testimonial-author {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-sectors-desc); /* Bleu-gris #668AA4 */
  line-height: 1.4;
  margin: 0;
}

/* Guillemets géants en arrière-plan */
.testimonial-quote-bg {
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 180px;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  color: var(--color-partners-green);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ==========================================================================
   MEDIA QUERIES — RESPONSIVE
   ========================================================================== */

@media (max-width: 1620px) {
  .temoignages-section {
    margin: 100px 24px;
    padding: 100px 60px;
    max-width: calc(100% - 48px);
  }
}

@media (max-width: 1200px) {
  .temoignages-container {
    grid-template-columns: 1fr; /* Empilage */
    gap: 60px;
  }

  .temoignages-intro {
    align-items: center;
    text-align: center;
  }

  .temoignages-sub {
    max-width: 600px;
  }

  .temoignages-title {
    margin-bottom: 40px;
  }

  .slider-controls {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }

  .slider-progress-wrapper {
    flex-grow: 0.4;
  }

  .testimonial-card {
    padding-right: 0;
    align-items: center;
    text-align: center;
    min-height: auto;
  }

  .testimonial-logo-box {
    justify-content: center;
  }

  .testimonial-quote {
    font-size: 22px;
  }

  .testimonial-quote-bg {
    right: 20px;
    bottom: -20px;
    font-size: 140px;
  }
}

@media (max-width: 768px) {
  .temoignages-section {
    padding: 60px 20px;
    /* margin: 60px 16px; */
    border-radius: 16px;
  }

  .temoignages-sub {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .temoignages-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .slider-controls {
    gap: 16px;
  }

  .slider-pagination {
    font-size: 16px;
    min-width: 35px;
  }

  .slider-pagination .current {
    font-size: 20px;
  }

  .slider-btn {
    width: 48px;
    height: 48px;
  }

  .testimonial-quote {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .testimonial-author {
    font-size: 14px;
  }

  .testimonial-logo-box {
    height: 50px;
    margin-bottom: 24px;
  }

  .testimonial-quote-bg {
    font-size: 100px;
  }
}


/* --- Source: produits.css --- */

/* ==========================================================================
   SECTION PRODUITS PHARES — STYLES DÉDIÉS
   ========================================================================== */

.products-section {
  width: 100%;
  max-width: 1590px;
  margin: 120px auto;
  background-color: var(--bg-white);
  padding: 100px 179px;
  box-sizing: border-box;
}

.products-section-title {
  text-align: center;
  margin-bottom: 56px;
}

.products-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sectors-desc); /* Gris ardoise/bleuté #668AA4 */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.products-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 43px;
  font-weight: 700;
  color: var(--color-primary); /* Bleu marine #02182B */
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Grille de 3 cartes */
.products-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 384px);
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.product-card-new {
  display: flex;
  flex-direction: column;
  width: 384px;
  height: 610px;
  box-sizing: border-box;
}

/* Boîte Image du dessus (W=384px, H=507px) */
.product-card-image-box {
  position: relative;
  width: 384px;
  height: 500px; /* Réduit pour laisser la place au texte en dessous */
  border-radius: 0;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.product-card-image-box:hover {
  transform: translateY(-4px);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

/* Dégradé linéaire #010e1a (transparent à 75%) */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 14, 26, 0) 40%, rgba(1, 14, 26, 0.75) 100%);
  pointer-events: none;
}

/* Titre superposé (en bas, texte blanc) */
.product-card-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  z-index: 2;
  pointer-events: none;
}

/* Contenu du dessous (H =~ 103px) */
.product-card-content {
  padding: 16px 16px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-primary); /* Bleu marine #02182B */
  line-height: 1.4;
  margin: 0;
}

.product-card-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-partners-green); /* Vert d'action #53B730 */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-normal);
}

.product-card-link:hover {
  color: var(--color-cta); /* Bleu ciel pour le hover ou conserver le vert avec translation */
}

/* Bouton Voir tous les produits */
.products-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-products-cta {
  width: 370.29px; /* Largeur officielle */
  height: 77px; /* Hauteur officielle */
  border-radius: 0; /* Pas de border radius d'après la maquette */
  background-color: var(--color-accent); /* Cyan #07B1F0 */
  color: var(--text-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 17.3px; /* Taille officielle */
  font-weight: 500; /* Medium */
  letter-spacing: -0.03em;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: background-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.btn-products-cta:hover {
  background-color: #058ec1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-products-cta .btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-products-cta:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   MEDIA QUERIES — RESPONSIVE
   ========================================================================== */

@media (max-width: 1620px) {
  .products-section {
    margin: 100px 24px;
    padding: 100px 60px;
    max-width: calc(100% - 48px);
  }
  .products-grid-new {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  .product-card-new,
  .product-card-image-box {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .products-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card-new {
    height: auto;
  }
  .product-card-image-box {
    height: 350px;
  }
  .product-card-title {
    font-size: 22px;
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 60px 20px;
    /* margin: 60px 16px; */
  }
  .products-title {
    font-size: 28px;
  }
  .products-grid-new {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-card-image-box {
    height: 380px;
  }
  .btn-products-cta {
    width: 100%;
    max-width: 274px;
    height: 60px;
  }
}


/* --- Source: contact.css --- */

/* ==========================================================================
   SECTION CONTACT — STYLES DÉDIÉS
   Fidèle à la maquette Figma (Group 35 / ID 73:180)
   ========================================================================== */

.contact-section {
  width: 100%;
  max-width: 1590px;
  margin: 120px auto;
  padding: 0 60px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   LAYOUT PRINCIPAL : 2 COLONNES (Image gauche / Formulaire droite)
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 80px; */
  gap: 12em;
  align-items: stretch;
  min-height: 700px;
}

/* --------------------------------------------------------------------------
   COLONNE GAUCHE : GRANDE IMAGE AVEC FONDU BLANC (Thumb Figma)
   -------------------------------------------------------------------------- */
.contact-image-col {
  position: relative;
  border-radius: 0; /* Pas de border-radius */
  overflow: hidden;
  min-height: 700px;
}

.contact-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dégradé blanc sur la gauche pour se fondre avec le formulaire */
.contact-image-fade {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.95) 100%
  ); */
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   COLONNE DROITE : FORMULAIRE DE CONTACT
   -------------------------------------------------------------------------- */
.contact-form-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* En-tête du formulaire */
.contact-form-header {
  margin-bottom: 36px;
}

.contact-form-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 43px;
  font-weight: 600;
  color: var(--color-primary); /* #02182b */
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
}

.contact-form-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-sectors-desc); /* #668aa4 */
  line-height: 1.6;
  margin: 0;
  max-width: 487px;
}

/* --------------------------------------------------------------------------
   FORMULAIRE : CHAMPS (W=484px, H=64px selon Figma)
   -------------------------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  width: 100%;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-primary);
  background: transparent;
  border: 0.86px solid var(--color-sectors-desc); /* Bordure #668aa4, weight=0.86 Figma */
  border-radius: 0; /* Pas de border-radius */
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input,
.form-field select {
  height: 64px;  /* H=64px Figma */
  line-height: 64px;
}

/* Style de la flèche du select */
.form-field select {
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23668aa4" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px;
  padding-right: 40px;
}

/* Couleur du placeholder du select (lorsque l'option cachée est sélectionnée) */
.form-field select:invalid {
  color: var(--color-sectors-desc);
}

.form-field select option {
  color: var(--color-primary);
}

.form-field textarea {
  height: 154px; /* H=154px Figma (zone Message) */
  padding-top: 18px;
  padding-bottom: 18px;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
}

/* Placeholder style (couleur #668aa4 comme dans Figma) */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-sectors-desc);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* Focus state */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(2, 24, 43, 0.08);
}

/* Grille pour 2 champs côte à côte (Nom + Email) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   MENTION LÉGALE ET NOTE DE RÉPONSE
   -------------------------------------------------------------------------- */
.form-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.form-legal-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.5;
  margin: 0;
}

.form-legal-link {
  color: var(--color-sectors-link);
  transition: color 0.2s ease;
}

.form-legal-link:hover {
  color: var(--color-sectors-desc);
}

.form-response-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-sectors-desc);
  margin: 0;
}

/* --------------------------------------------------------------------------
   BOUTON DE SOUMISSION (W=484px, H=66px, Fond #02182b, Figma)
   -------------------------------------------------------------------------- */
.btn-contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 66px;
  background-color: var(--color-primary); /* #02182b */
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 0; /* Pas de border-radius */
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  letter-spacing: 0.01em;
  margin-top: 8px;
}

.btn-contact-submit:hover {
  background-color: #031d33;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 24, 43, 0.25);
}

.btn-contact-submit .arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-contact-submit:hover .arrow {
  transform: translateX(4px);
}



/* ==========================================================================
   MEDIA QUERIES — RESPONSIVE CONTACT
   ========================================================================== */

@media (max-width: 1620px) {
  .contact-section {
    margin: 100px 24px;
    padding: 0 0;
    max-width: calc(100% - 48px);
  }
  .contact-wrapper {
    /* gap: 48px; */
    gap: 12em;
  }
}

@media (max-width: 1200px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-image-col {
    height: 400px;
    min-height: 0;
    /* Mettre cette partie en premier */
    order: 1;
    /* border-radius: 20px 20px 0 0; */
  }
  .contact-form-col {
    padding: 48px 40px;
    background: #f8fcff;
    /* border-radius: 0 0 20px 20px; */
    border: 1px solid #e8f4fd;
    border-top: none;
    /* Mettre cette partie en 2ème */
    order: 2;
  }
  .contact-form-title {
    font-size: 32px;
  }
}


@media (max-width: 768px) {
  .contact-section {
    /* margin: 60px 16px; */
  }
  .contact-image-col {
    height: 280px;
  }
  .contact-form-col {
    padding: 36px 24px;
  }
  .contact-form-title {
    font-size: 26px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}


