/* Variables */
:root {
  --goldenrod: goldenrod;
  --goldenrod-light: rgba(218, 165, 32, 0.1);
  --shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Structure */
.contact-section {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-card-wrapper {
  flex: 0 0 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
}

/* Cartes */
.contact-card {
  border: 2px solid var(--goldenrod);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: white;
  height: 100%;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.card-body {
  padding: 30px;
  text-align: center;
  position: relative;
}

.card-icon {
  font-size: 48px;
  color: var(--goldenrod);
  margin-bottom: 20px;
}

/* Icônes spécifiques */


.phone-icon::before {
    content: "\f095"; /* Code Unicode de l'icône */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.whatsapp-icon::before {
  content: "\f075";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.email-icon::before {
  content: "\f0e0";
  
  font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.card-decor {
  height: 2px;
  background: var(--goldenrod-light);
  margin: 20px 0;
}

/* Bouton */
.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: var(--goldenrod);
  border: 2px solid var(--goldenrod);
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--goldenrod);
  color: white;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-card-wrapper {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .contact-card-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }
}











.bouton-arrondi {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D4AF37; /* Couleur or */
    color: white;
    text-decoration: none;
    border-radius: 50px; /* Rend le bouton complètement arrondi */
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    /* Style supplémentaire pour le texte */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Effet au survol */
.bouton-arrondi:hover {
    background-color: #C9A227; /* Or légèrement plus foncé */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Effet quand on clique */
.bouton-arrondi:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.conteneur-bouton {
    text-align: center; /* Méthode la plus simple */
    margin: 20px 0; /* Espacement optionnel */
}

.conteneur-flex {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    min-height: 200px;      /* Hauteur minimale pour voir l'effet */
}



.bouton-brillant::before {
    animation: brillance 3s infinite;
}

@keyframes brillance {
    0% { left: -60%; }
    100% { left: 120%; }
}

.bouton-brillant {
    /* Style de base */
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #D4AF37 0%, #F9E076 100%); /* Dégradé or */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden; /* Cache le débordement de l'effet */
    transition: all 0.4s ease;
}

/* Effet de brillance (pseudo-élément) */
.bouton-brillant::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.7s ease;
}

/* Animation au survol */
.bouton-brillant:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.bouton-brillant:hover::before {
    left: 120%; /* Déplace la brillance */
}

/* Effet au clic */
.bouton-brillant:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.6);
}




 
 /* Styles du popup */
 .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #D4AF37;
}

.popup-icon {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 15px;
}

.popup-btn {
    background-color: #D4AF37;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Style de base des champs - conserve votre style original */
input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
  }
  
  /* Message d'erreur masqué par défaut */
  .email-error {
    color: #ff4444;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 15px;
    display: none; /* Masqué initialement */
  }
  
  /* Affiche l'erreur seulement quand le champ est invalide ET a été modifié */
  input[type=email]:not(:placeholder-shown):invalid + .email-error {
    display: block;
  }
  
  /* Style visuel quand invalide */
  input[type=email]:not(:placeholder-shown):invalid {
    border-color: #ff4444;
  }