/* debut de la page services pilotes */

.hero-section {
  /* Remplacez l'URL par le chemin de votre image de conteneurs */
  background-image: linear-gradient(rgba(64, 82, 116, 0.507), rgba(25, 77, 173, 0.7)),
    url(https://www.dropbox.com/scl/fi/zsowhjupvjeuwdfggp8z7/cont.jpg?rlkey=zh9f7gosfyknahwrlrnhky893&st=pqc113li&raw=1);

  background-size: cover;
  background-position: center;
  height: 400px;
  /* Ajustez la hauteur selon vos besoins */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(255, 255, 255);
  font-family: 'Arial', sans-serif;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/*----------*/


:root {
  --blue-brand: #1a2b4b;
  --yellow-brand: #f9d423;
  /* Couleur jaune au survol */
  --bg-light: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px;
  background-color: var(--bg-light);
  font-family: sans-serif;
}

.card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  border-top: 5px solid var(--blue-brand);
  /* Barre bleue initiale */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  /* Fluidité des transitions */
  cursor: pointer;
}

/* --- EFFETS AU SURVOL --- */

/* 1. Monte la case de quelques millimètres */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  /* 2. La barre bleue devient jaune */
  border-top-color: var(--yellow-brand);
}

/* 3. Inversion de couleur de l'icône au survol */
.icon-box {
  width: 60px;
  height: 60px;
  background-color: #f0f3f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-brand);
  font-size: 22px;
  transition: all 0.3s ease;
}

/* On inverse les couleurs quand la souris est sur l'icône précisément */
.icon-box:hover {
  background-color: var(--blue-brand);
  color: white;
  /* L'icône devient blanche sur fond bleu */
}

/* Styles textes */
.card h3 {
  color: var(--blue-brand);
  font-size: 1.15rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.card p {
  color: #607d8b;
  font-size: 0.95rem;
  line-height: 1.5;
}
/*---------------------*/

:root {
  --primary-blue: #1d3557;
  --accent-yellow: #0e0752;
  --text-gray: #666;
  --bg-card: #ffffff;
}

.info-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Roboto, sans-serif;
  text-align: center;
}

.info-container {
  max-width: 80%;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h2 {
  color: var(--primary-blue);
  margin-bottom: 50px;
  font-size: 1.8rem;
}

.features-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1;
  min-width: 250px;
}

/* --- LOGIQUE DE L'ICONE --- */
.icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: #fff9e6; /* Fond jaune très clair */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Inversion de couleur au survol de l'icône */
.icon-wrapper:hover {
  background-color: var(--accent-yellow);
  color: white;
  transform: translateY(-3px);
}

.feature-item h3 {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- BOUTON AVEC EFFET ZOOM --- */
.btn-devis {
  display: inline-block;
  background-color: var(--primary-blue);
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
}

.btn-devis:hover {
  transform: scale(1.08); /* Petit zoom de 8% */
  background-color: #142844;
}


/* fin de la page services pilotes */
/*----La Condition de Responsive----*/

@media (max-width: 992px) {
:root {
  --primary-blue: #1d3557;
  --accent-yellow: #0e0752;
  --text-gray: #666;
  --bg-card: #ffffff;
}

.info-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Roboto, sans-serif;
  text-align: center;
}

.info-container {
  max-width: 80%;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h2 {
  color: var(--primary-blue);
  margin-bottom: 50px;
  font-size: 1.8rem;
}

.features-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1;
  min-width: 250px;
}

/* --- LOGIQUE DE L'ICONE --- */
.icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: #fff9e6; /* Fond jaune très clair */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Inversion de couleur au survol de l'icône */
.icon-wrapper:hover {
  background-color: var(--accent-yellow);
  color: white;
  transform: translateY(-3px);
}

.feature-item h3 {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- BOUTON AVEC EFFET ZOOM --- */
.btn-devis {
  display: inline-block;
  background-color: var(--primary-blue);
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
}

.btn-devis:hover {
  transform: scale(1.08); /* Petit zoom de 8% */
  background-color: #142844;
}
/*-- texte contenaire --*/

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

@media (max-width: 576px) {

.info-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Roboto, sans-serif;
  text-align: center;
}

.info-container {
  max-width: 100%;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h2 {
  color: var(--primary-blue);
  margin-bottom: 50px;
  font-size: 1.5rem;
}

.features-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1;
  min-width: 250px;
}

/* --- LOGIQUE DE L'ICONE --- */
.icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: #eee1b6d7; /* Fond jaune très clair */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Inversion de couleur au survol de l'icône */
.icon-wrapper:hover {
  background-color: var(--accent-yellow);
  color: white;
  transform: translateY(-3px);
}

.feature-item h3 {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- BOUTON AVEC EFFET ZOOM --- */
.btn-devis {
  display: inline-block;
  background-color: var(--primary-blue);
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
}

.btn-devis:hover {
  transform: scale(1.08); /* Petit zoom de 8% */
  background-color: #142844;
} 
/*-- texte contenaire --*/

.hero-content h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

}
}

/*------------------------*/