/*
   CONTACT.CSS – Domaine Équestre du Rival
   Contient les styles spécifiques à la page contact.html uniquement
   (En plus de common.css)
*/


/* ----- Coordonnées / Réseaux Sociaux ----- */
.annual-formulas {
  margin-top: 2.2rem;
  margin-bottom: 2.5rem;
}
.annual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}
.annual-card {
  background:#edfffe;
  border-radius: 13px;
  box-shadow: 0 4px 15px 0 rgba(180,140,50,0.07);
  overflow: hidden;
  border: 1.5px solid #5984ff;
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-family: 'Arial', sans-serif;
  text-align: center;
}
.annual-header {
  display: flex;
  flex-direction: column; /* Changé de row à column pour centrer */
  align-items: center;
  justify-content: center;
  padding: 1.3rem 1.2rem 1.1rem 1.2rem;
  background: #d2f7f5;
  border-bottom: 1px solid #ffe7b8;
  text-align: center;
}

/* Style pour les icônes PNG dans les headers */

        .annual-icon {
          font-size: 2.5rem;
          margin-right: 0;
          margin-bottom: 0.5rem;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 60px;  /* Largeur fixe */
          height: 60px; /* Hauteur fixe */
        }

/* Style spécifique pour les images dans les icônes */

        .annual-icon img {
          width: 50px;   /* Taille de l'image */
          height: 50px;  /* Taille de l'image */
          object-fit: contain; /* Garde les proportions */
          filter: none;  /* Pas de filtre par défaut */
          transition: transform 0.3s ease, filter 0.3s ease; /* Animation au survol */
        }
        
/* Effet au survol des icônes */

        .annual-icon:hover img {
          transform: scale(1.1); /* Légère augmentation de taille */
          filter: brightness(1.1); /* Légère augmentation de luminosité */
        }
        
/* Si vous voulez ajuster la taille selon le type d'icône */

        .annual-card.loisirs .annual-icon img {
          /* Icône coordonnées - ajustements spécifiques si nécessaire */
          width: 50px;
          height: 50px;
        }

/* Icône réseaux sociaux - ajustements spécifiques si nécessaire */

        .annual-card.competition .annual-icon img {
          width: 50px;
          height: 50px;
        }

/* Gestion des erreurs de chargement d'image */

        .annual-icon img[alt]:after {
          content: attr(alt);
          font-size: 0.8rem;
          color: #666;
          text-align: center;
          display: block;
          margin-top: 5px;
        }
        
/* Style pour les icônes dans les titres H4 */

        .h4-icon {
            width: 25px;   /* TAILLE RÉDUITE de 18px à 16px */
            height: 25px;  /* TAILLE RÉDUITE de 18px à 16px */
            margin-right: 8px;
            vertical-align: middle;
            object-fit: contain;
            /* Légère transition pour l'effet hover */
            transition: transform 0.2s ease;
        }

.annual-info h3 {
  font-size: 1.22rem;
  color: #0a0a0a;
  margin-bottom: 0.15rem;
}
.annual-content {
  padding: 1.2rem 1.2rem 1rem 1.2rem;
  flex-grow: 1;
  text-align: center; /* Ajouté centrage explicite */
}
.contact-info-block, .social-media-block {
  margin-bottom: 1.1rem;
}

.annual-ideal {
  text-align: center; /* Ajouté centrage explicite */
  margin-top: 15px;
}

/* Style du formulaire de contact */

        /* Styles pour les messages de retour */
        .message-zone {
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            font-size: 1rem;
            line-height: 1.6;
        }
        
        .message-zone.success {
            background: linear-gradient(135deg, #4ADE80, #22C55E);
            color: white;
            border: 2px solid #16A34A;
        }
        
        .message-zone.error {
            background: linear-gradient(135deg, #EF4444, #DC2626);
            color: white;
            border: 2px solid #B91C1C;
        }
        
        .message-zone h3 {
            margin: 0 0 10px 0;
            font-size: 1.2rem;
        }
        
        .message-zone p {
            margin: 8px 0;
        }
        
        .message-zone ul {
            margin: 10px 0;
            padding-left: 20px;
        }
        
        .message-zone a {
            color: white;
            text-decoration: underline;
        }
        
        .message-zone a:hover {
            color: #F0F0F0;
        }
        
/* Styles pour les messages d'erreur */

        .error-message {
            color: #dc2626;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: none;
        }
        
        .error-message.show {
            display: block;
        }
        
        .field-help {
            color: #6b7280;
            font-size: 0.75rem;
            display: block;
            margin-top: 0.25rem;
        }
        
        .form-group.error input,
        .form-group.error select,
        .form-group.error textarea {
            border-color: #dc2626;
            box-shadow: 0 0 0 1px #dc2626;
        }
        
/* Styles existants pour le formulaire... */
        
        .contact-form-section {
            padding: 80px 0;
            background: white;
            position: relative;
            z-index: 2;
        }
        
        .form-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .form-intro {
            text-align: center;
            margin-bottom: 40px;
            font-size: 1.1rem;
            color: #555;
        }
        
        .contact-form {
            background: #F5F2E8;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #1E3A8A;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #20B2AA;
        }
        
        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .checkbox-label {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
            line-height: 1.5;
        }
        
        .checkbox-label input[type="checkbox"] {
            width: auto;
            margin: 0;
        }
        
        .form-submit {
            text-align: center;
            margin-top: 30px;
        }
        
        .submit-btn {
            background: linear-gradient(135deg, #20B2AA 0%, #1E3A8A 100%);
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .submit-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
        }
        
        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }
        
/* Styles pour les autres sections... */

        .contact-info-block {
            margin-bottom: 1.1rem;
            text-align: center;
            padding: 20px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
        }
        
        .contact-info-block h4 {
            display: flex;
            align-items: center;
            justify-content: center; /* Garde le centrage */
            color: #1E3A8A;
            margin-bottom: 10px;
            font-size: 1.1rem;
            text-align: center;
        }
        
        .contact-info-block p {
            text-align: center; /* Ajouté centrage explicite */
            margin: 5px 0;
        }
        
        .phone-link {
            color: #20B2AA;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.2rem;
        }
        
        .phone-link:hover {
            text-decoration: underline;
        }
        
       .social-media-block {
            margin-bottom: 1.1rem;
            text-align: center; /* Ajouté centrage explicite */
        }
        
       .social-item {
          display: flex;
          flex-direction: column; /* Changé pour centrer */
          align-items: center;
          justify-content: center;
          gap: 10px; /* Remplacé gap: 15px par gap: 10px */
          margin-bottom: 20px;
          padding: 15px;
          background: rgba(255, 255, 255, 0.8);
          border-radius: 10px;
          text-align: center;
        }

        .social-icon {
          font-size: 2rem;
          width: 45px;
          height: 45px;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
          background: #20B2AA;
          color: white;
          margin-bottom: 5px; /* Ajouté marge en bas */
        }
        
        .social-info {
          text-align: center; /* Ajouté centrage explicite */
        }
        
        .social-info h4 {
          margin: 5px 0;
          text-align: center; /* Ajouté centrage explicite */
        }
        
        .social-link {
            color: #20B2AA;
            text-decoration: none;
            font-weight: 600;
        }
        
        .social-link:hover {
            text-decoration: underline;
        }
        
        .map-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #F5F2E8 0%, #E8F4F8 100%);
            position: relative;
            z-index: 2;
        }
        
        .map-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: start;
            margin-top: 50px;
        }
        
        .map-info h3 {
            color: #1E3A8A;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        
        .directions h4 {
            color: #20B2AA;
            margin: 20px 0 10px 0;
            font-size: 1.1rem;
        }
        
        .directions p {
            color: #555;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        
        .map-embed {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
        }
        
        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
            
            .contact-form {
                padding: 25px;
            }
            
            .map-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .map-embed {
                order: -1;
            }
        }

@media (max-width: 800px) {
  .annual-grid, .map-container, .contact-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .form-row {
    flex-direction: column;
    gap: 1em;
  }
}
