/* Variables de couleurs */
:root {
  --primary-blue: #1a2b4b;
  --accent-yellow: #f9d423;
  --input-bg: #f8fafc;
  --text-gray: #64748b;
  --border-color: #e2e8f0;
}

/* Mise en page générale */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f1f5f9;
  min-height: 100vh;
  margin: 0;
}

/*----------------*/







/* Conteneur du formulaire */
.contact-card {
  background: rgb(255, 255, 255);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 50%;
  margin-left: 10px;
  margin-right: 10px;
}

h2 {
  color: var(--primary-blue);
  margin-bottom: 25px;
  font-size: 1.5rem;
}

/* Champs de saisie */
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;

}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--input-bg);
  box-sizing: border-box;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  border-color: var(--primary-blue);
}

/* 2. Aligne proprement la checkbox et son texte */
.checkbox-group {
  display: flex;
  align-items: center;
  /* Aligne verticalement au centre */
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  /* Taille fixe pour la case */
  height: 20px;
  margin: 0;
  /* Supprime les marges par défaut */
  flex-shrink: 0;
  /* Empêche la case de s'écraser */
}

.checkbox-group span {
  font-size: 14px;
  /* Ajuste la taille du texte si besoin */
  line-height: 1.2;
}

/* --- ANIMATIONS DU BOUTON ENVOYER --- */
.btn-submit {
  width: 100%;
  background-color: var(--accent-yellow);
  /* Couleur initiale jaune */
  color: var(--primary-blue);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au survol du curseur */
.btn-submit:hover {
  transform: scale(1.05);
  /* Petit zoom avant */
  background-color: #ffdb33;
  /* Changement vers un jaune plus vif */
  box-shadow: 0 5px 15px rgba(249, 212, 35, 0.4);
}

/*----------------------------------*/









/*---- Responssive ----*/



/* --- Structure Principale --- */
.mbuji {
  display: flex;
  flex-direction: row;
  /* Côte à côte par défaut */
  gap: 25px;
  padding: 20px;
  align-items: flex-direction;
}


.contact-container {
  flex: 1;
  /* La colonne de droite */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Gestion des TOP-CARDS (Téléphone & Email) --- */
.top-cards {
  display: flex;
  flex-direction: row;
  /* Côte à côte sur PC */
  gap: 15px;
}

.info-card {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- RESPONSIVE : TABLETTES ET MOBILES --- */
@media (max-width: 992px) {

  /* 1. On empile les deux colonnes principales */
  .mbuji {
    flex-direction: column;
  }

  /* 2. On empile les cartes Téléphone et Email */
  .top-cards {
    flex-direction: column;
  }

  /* 3. On s'assure que tout prend 100% de la largeur */
  .contact-card,
  .contact-container,
  .info-card {
    width: 100%;
  }

  .contact-card {
    width: 100%;
    padding: 50px;
  }
  .contact-card {
      background: rgb(255, 255, 255);
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
      width: 100%;
      max-width: 100%;
      margin-left: 10px;
      margin-right: 10px;
    }



  /* Optionnel : Agrandir le bouton sur mobile pour le pouce */
  .btn-submit {
    width: 100%;
    padding: 15px;
  }
}














































































































































































































/*--------------------*/




/*---------------*/


:root {
  --primary-color: #1a2a44;
  --accent-color: #f1c40f;
  --whatsapp-green: #2ecc71;
  --text-color: #444;
  --bg-color: #f9f9f9;
}


.zoom-effect:hover {
  transform: scale(1.05);
  /* Petit zoom avant */
  cursor: pointer;
}

.icon-circle {
  background: #eef2f7;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  margin: 0 auto 10px;
  color: var(--primary-color);
}

/* Section Bureaux */
.office-section {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.office-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.address {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Google Maps Image & Animation */
.map-wrapper {
  text-decoration: none;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.map-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #eee;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Zoom de l'image au survol */
.map-wrapper:hover .map-image {
  transform: scale(1.15);
}

/* La petite case "Voir sur la carte" */
.map-pin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  /* Animation de bondissement infinie */
  animation: bounce 2s infinite ease-in-out;
}

/* Animation de bondissement vers le haut (20mm ≈ 75px) */
@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 40px));
    /* Remonte de ~40px pour l'effet visuel */
  }
}

/* Bouton WhatsApp */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--whatsapp-green);
  color: white;
  text-decoration: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background: #27ae60;
}


/*------------------------*/


/* --- STYLE DE LA FENÊTRE MODALE --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.651);
  /* Arrière-plan visible mais assombri */
  display: none;
  /* Caché par défaut */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  width: 453px;
  /* Largeur demandée */
  height: 305px;
  /* Hauteur demandée */
  border-radius: 15px;
  position: relative;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 25px;
  background: none;
  border: none;
  cursor: pointer;
}


.modal-content {
  background: white;
  width: 453px;
  height: auto;
  /* Auto pour s'adapter au contenu interne */
  min-height: 305px;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: left;
  /* Aligné à gauche comme sur l'image */
}

.modal-title {
  font-size: 1.2rem;
  color: #1a365d;
  margin-bottom: 5px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 25px;
}

/* Style des cartes de département */
.dept-card {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  margin-bottom: 15px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.3s;
}

.dept-card:hover {
  transform: scale(1.02);
  /* Le petit zoom avant */
  border-color: #ffc107;
  background-color: #fffaf0;
}

.dept-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  width: 60px;
  text-align: center;
}

.dept-info strong {
  display: block;
  color: #2d3748;
  font-size: 1rem;
}

.dept-info {
  font-size: 0.75rem;
  color: #718096;
}

/*------------------------*/


.cta-section {
  text-align: center;
  padding: 100pxpx 20px;
  font-family: 'Segoe UI', sans-serif;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Style des boutons */
.btn-whatsapp {
  padding: 15px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease-in-out;
  /* Pour le petit zoom */
  border: none;
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 1rem;
}
.d{
width: 80%;
  background-color: var(--accent-yellow);
  /* Couleur initiale jaune */
  color: var(--primary-blue);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 20px;
}
.btn-whatsapp {
  background-color: #25d366;
  /* Vert WhatsApp */
  color: white;
}


/* --- EFFET ZOOM AVANT AU SURVOL --- */
.btn-whatsapp:hover {
  transform: scale(1.05);
  /* Zoom de "quelques poussières" */
}