.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


header {
  position: sticky;
  top: 0;
  z-index: 1000; /* Assure qu'il passe au-dessus des autres éléments */
  background-color: white; /* Nécessaire pour éviter la transparence */
}




/* Applique une police propre et enlève marges/paddings */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: white ; /* Fond général */
  color: #c19a6b; /* Couleur du texte principal */
}

@keyframes zoomInBg {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/*
.slider-btn,
.slider-btn-outline {
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.slider-background {
  position: absolute;
  inset: 0;
  background-image: url('truc.jpg'); 
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: zoomInBg 10s ease-in-out infinite alternate;
}


.slider-btn {
  background-color: #c19a6b;
  color: #012767;
}

.slider-btn-outline {
  border: 2px solid #c19a6b;
  color: #c19a6b;
  background-color: transparent;
}

.slider-btn:hover,
.slider-btn-outline:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .slider-content h1 {
    font-size: 2rem;
  }

  .slider-content p {
    font-size: 1rem;
  }
    .slider-background {
    background-image: url('font4.jpg'); 
  }
}
*/

.slider-hero {
  position: relative;
  overflow: hidden;
  height: 90vh;
}

.slider-background {
  position: absolute;
  inset: 0;
  background-image: url('truc.jpg'); /* 🖼️ Image desktop par défaut */
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: zoomInBg 10s ease-in-out infinite alternate;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.hero-overlay {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
  text-shadow: 1px 1px #000;
  animation: fadeZoom 2s ease-out forwards;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  animation: fadeZoom 2.5s ease-out forwards;
}

.cta-buttons a {
  background-color: #0b7821;
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.cta-buttons a:hover {
  background-color: #0a6c1e;
}

/* 🌐 Responsive - image de fond différente */
@media screen and (max-width: 768px) {
  .slider-background {
    background-image: url('fond.jpg'); /* Image mobile */
    max-width: 100%;
  }

  .cta-buttons a {
    font-size: 0.95rem;
    padding: 12px 24px;
    text-align: center;
  }
}


.quisommesnous-valeurs-section {
  background-color: white;
  padding: 80px 40px; /* réduit le padding vertical général */
  font-family: 'Poppins', sans-serif;
  color: #012767;
}

.quisommesnous-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;                /* réduit l’espace entre texte et image */
  margin-bottom: 20px;     /* réduit l’espace avec les valeurs */
}

.quisommesnous-text {
  flex: 1 1 500px;
}

.quisommesnous-text h2 {
  font-size: 34px;
  margin-bottom: 10px;     /* réduit l’espace sous le titre */
  color: #c19a6b;
}

.quisommesnous-text p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.quisommesnous-image {
  flex: 1 1 400px;
  text-align: center;
}

.quisommesnous-image img {
  max-width: 100%;
  max-height: 50%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.valeurs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0;
}

.valeurs-container h2 {
  font-size: 34px;
  margin-bottom: 20px;    /* réduit espace titre/valeurs */
  color: #c19a6b;
}

.valeur-card {
  background-color: #f5f5f5;
  border-left: 6px solid #0b7821;
  padding: 20px 18px;     /* plus compact */
  margin-bottom: 16px;    /* réduit entre cartes */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.valeur-card h3 {
  font-size: 18px;
  margin-bottom: 6px;     /* réduit l’espace titre / paragraphe */
  color: #0b7821;
}

.valeur-card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .quisommesnous-valeurs-section {
    padding: 20px 15px;
    max-height: 1200px;
  }

  .quisommesnous-text {
  flex: 1 1 200px;
  }

  .quisommesnous-container {
    flex-direction: column;
    gap: 0px;
    margin-bottom: 0px;
  }

  .quisommesnous-text h2,
  .valeurs-container h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 0px;
  }

  .quisommesnous-text p {
    font-size: 13.5px;
    text-align: justify;
    line-height: 1.5;
  }

  .valeur-card h3 {
    font-size: 16px;
    text-align: left;
  }

  .valeur-card p {
    font-size: 13.5px;
    text-align: justify;
    margin-bottom: 0;
  }

  .quisommesnous-image {
  flex: 1 1 400px;
  text-align: center;
  max-height: 200px;
  }

  
.valeurs-container {
  max-height: 400px;
  margin: 0 auto;
  padding-top: 0;
}

}




.services-section {
  background-color: #ffffff;
  padding: 80px 40px;
  font-family: 'Poppins', sans-serif;
  color: #012767;
  text-align: center;
}

.services-title {
  font-size: 40px;
  margin-bottom: 50px;
  color: #c19a6b;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-card {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 30px 25px;
  width: 320px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #c19a6b;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
  }

  .services-title {
    font-size: 30px;
  }
}





#grille_services {
  display: flex;
  flex-direction: column;
  background-color: white;
}

.service-row {
  display: flex;
  flex-direction: row; /* texte à gauche, image à droite */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); 
  background-color: #f5f5f5;
  transition: transform 0.3s ease;
  border: 2px solid #c19a6b;
  border-radius: 12px;
  min-height: 400px;
}

.presentation-bloc {
  flex: 1;
  background-color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation-bloc-img {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-color: #eaeaea;
  border: 2px solid #c19a6b;
  border-radius: 12px;
  min-height: 300px;
}

/* Titres et paragraphes */
.titre-presentation {
  font-size: 2rem;
  font-weight: bold;
  color: #0b7821;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.texte-presentation {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

/* Responsive mobile */
@media screen and (max-width: 768px) {
  .service-row {
    flex-direction: column;
  }

  .presentation-bloc,
  .presentation-bloc-img {
    width: 100%;
    min-height: 250px;
  }

  .presentation-bloc {
    padding: 30px 20px;
  }

  .titre-presentation {
    font-size: 1.5rem;
    text-align: center;
  }

  .texte-presentation {
    font-size: 0.95rem;
    text-align: justify;
  }
}





.carousel-container {
  overflow: hidden;
  position: relative;
  margin: 40px auto;
  max-width: 1200px;
}

.carousel-slider {
  display: flex;
  gap: 20px;
  animation: scroll 30s linear infinite;
}

.carousel-item {
  flex: 0 0 auto;
  text-align: center;
}

.carousel-item img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-item p {
  margin-top: 8px;
  font-weight: 500;
  color: #0b7821;
  font-family: 'Poppins', sans-serif;
}

/* Animation défilement automatique */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



.expediteurs-section {
  background-color: white;
  padding: 90px 65px;
  font-family: 'Poppins', sans-serif;
  color: #012767;
}

.expediteurs-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.expediteurs-text {
  flex: 1 1 500px;
}

.expediteurs-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #c19a6b;
}

.expediteurs-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.btn-expediteur {
  display: inline-block;
  padding: 14px 28px;
  background-color: #c19a6b;
  color: #012767;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.btn-expediteur:hover {
  background-color: #0b7821;
  color: #ffffff;
}

.expediteurs-image {
  flex: 1 1 200px;
  text-align: center;
}

.expediteurs-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
}

/* 📱 MOBILE COMPACT */
@media screen and (max-width: 768px) {
  .expediteurs-section {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .expediteurs-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .expediteurs-text,
  .expediteurs-image {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .expediteurs-text h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
  }

  .expediteurs-text p {
    font-size: 1em;
    line-height: 1.4;
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .btn-expediteur {
    font-size: 0.95em;
    padding: 10px 20px;
    margin: 0 auto;
  }

  .expediteurs-image img {
    max-width: 85%;
    height: auto;
    margin-top: 10px;
  }
}




.equipe-section {
  padding: 60px 20px;
  background-color: white;
  font-family: 'Poppins', sans-serif;
}

.equipe-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.equipe-container h2 {
  color: #0b7821;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.equipe-intro {
  color: #555;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.equipe-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.equipe-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-top: 20px;
  width: 260px;
  row-gap: 20px;
  column-gap: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.equipe-card:hover {
  transform: translateY(-5px);
}

.equipe-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.equipe-card h3 {
  color: #0b7821;
  margin: 20px 0 5px;
  font-size: 1.1rem;
}

.equipe-card .poste {
  color: #c19a6b;
  font-weight: 600;
  font-size: 0.95rem;
}

/* 📱 Responsive */
@media (max-width: 600px) {
  .equipe-card {
    width: 100%;
    max-width: 320px;
  }

  .equipe-container h2 {
    font-size: 1.8rem;
  }

  .equipe-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}







.tudize-footer {
  background-color: #c19a6b;
  color: #012767;
  padding: 60px 20px 30px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 220px;
  margin: 20px;
}

.footer-col h4 {
  border-left: 4px solid #012767;
  padding-left: 10px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #012767;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col a {
  color: #012767;
  text-decoration: none;
}

.footer-col p {
  color: #012767;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 10px;
}

.footer-slogan {
  font-style: italic;
  font-size: 14px;
  margin-bottom: -30px;
}

.footer-address,
.footer-contact,
.footer-email {
  font-size: 14px;
  margin: 5px 0;
}

.footer-social a img {
  width: 26px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.footer-social a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  border-top: 1px solid #fff2;
  padding-top: 15px;
}

.footer-bottom a {
  color: #012767;
  text-decoration: none;
}



@media (max-width: 768px) {
  /* Réduction de l’espace vertical entre les sections */
  section,
  .expediteurs-section,
  .valeurs-section,
  .services-section,
  .transmeet-devis,
  .slider-hero,
  .quisommesnous-container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Réduction des marges autour des titres */
  h2, h3 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  /* Réduction des espaces entre paragraphes */
  p {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  /* Supprimer tout espace bas entre cartes, images, blocs */
  .valeur-card,
  .service-card,
  .expediteurs-image img,
  .quisommesnous-image img {
    margin-bottom: 0 !important;
  }
}
