/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}





/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/* Contact Info Section - Classes spécifiques */
.contact-info-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

/* Grille des contacts */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* Carte de contact */
.contact-info-card {
  background: white;
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #6C63FF, #FFD700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-info-card:hover {
  transform: translateY(-15px);
  border-color: #c3cfe2;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

/* Icône de contact */
.contact-icon-container {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  position: relative;
}

.contact-icon-circle {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 242, 101, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #6C63FF;
  transition: all 0.4s ease;
  border: 2px solid rgba(108, 99, 255, 0.2);
}

.contact-info-card:hover .contact-icon-circle {
  background: linear-gradient(135deg, #6C63FF, #FFD700);
  color: white;
  transform: scale(1.1) rotate(10deg);
  border-color: transparent;
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.3);
}

/* Contenu de la carte */
.contact-card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a202c;
  transition: all 0.4s ease;
}

.contact-info-card:hover .contact-card-content h3 {
  color: #6C63FF;
}

.contact-card-content p {
  color: #718096;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.contact-info-card:hover .contact-card-content p {
  color: #4a5568;
}

/* Bouton d'action */
.contact-action-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #6C63FF;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #6C63FF;
  position: relative;
  overflow: hidden;
}

.contact-action-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #6C63FF, #FFD700);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.contact-info-card:hover .contact-action-button {
  color: white;
  border-color: transparent;
}

.contact-info-card:hover .contact-action-button::before {
  opacity: 1;
}

.contact-action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

/* Animation d'apparition */
@keyframes contactCardReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-info-card {
  animation: contactCardReveal 0.6s ease-out forwards;
  opacity: 0;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.3s; }
.contact-info-card:nth-child(3) { animation-delay: 0.5s; }

/* Effet de brillance au survol */
.contact-info-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  pointer-events: none;
  opacity: 0;
}

.contact-info-card:hover::after {
  opacity: 1;
  transform: rotate(30deg) translateX(100%);
}

/* Responsive */
@media (max-width: 1200px) {
  .contact-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .contact-info-section {
    padding: 80px 0;
  }
  
  .contact-cards-grid {
    gap: 25px;
  }
  
  .contact-info-card {
    padding: 35px 25px;
  }
}

@media (max-width: 768px) {
  .contact-info-card {
    padding: 30px 20px;
  }
  
  .contact-icon-container {
    width: 80px;
    height: 80px;
  }
  
  .contact-icon-circle {
    font-size: 2rem;
  }
  
  .contact-card-content h3 {
    font-size: 1.3rem;
  }
  
  .contact-card-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 40px auto 0;
  }
  
  .contact-action-button {
    width: 100%;
    justify-content: center;
  }
}

/* Animation des icônes */
.contact-icon-circle i {
  transition: transform 0.4s ease;
}

.contact-info-card:hover .contact-icon-circle i {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Particules de fond (optionnel) */
.contact-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.contact-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #6C63FF, #FFD700);
  border-radius: 50%;
  animation: contactParticleFloat 15s infinite linear;
}

@keyframes contactParticleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}



/* Contact Form & Map Section - Classes spécifiques */
.contact-form-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact-form-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Layout formulaire + carte */
.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 992px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Formulaire */
.contact-form-wrapper {
  background: white;
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6C63FF, #FFD700);
}

.contact-form-header {
  margin-bottom: 40px;
}

.contact-form-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #1a202c 0%, #6C63FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-form-description {
  color: #718096;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Champs du formulaire */
.contact-form {
  display: grid;
  gap: 25px;
}

.form-group-wrapper {
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a202c;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  color: #1a202c;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #6C63FF;
  background: white;
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.form-input:hover {
  border-color: #c3cfe2;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Bouton d'envoi */
.form-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #6C63FF, #FFD700);
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-shadow: 0 15px 35px rgba(108, 99, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.form-submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.form-submit-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(108, 99, 255, 0.35);
}

.form-submit-button:hover::before {
  left: 100%;
}

.form-submit-button:active {
  transform: translateY(-2px);
}

/* Carte */
.contact-map-wrapper {
  height: 100%;
  min-height: 600px;
}

.contact-map-container {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-map {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 600px;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1a202c 0%, #6C63FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #6C63FF, #FFD700);
  border-radius: 2px;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.7;
}

/* Accordéon FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #c3cfe2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a202c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #6C63FF;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #6C63FF;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] {
  color: #6C63FF;
}

.faq-question[aria-expanded="true"]::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-answer.show {
  padding: 0 30px 30px;
  max-height: 500px;
}

.faq-answer-content {
  color: #4a5568;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form-wrapper,
.contact-map-container {
  animation: fadeIn 0.8s ease-out;
}

.faq-item {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 1200px) {
  .contact-form-title {
    font-size: 2.2rem;
  }
  
  .faq-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .contact-form-section,
  .faq-section {
    padding: 80px 0;
  }
  
  .contact-form-wrapper {
    padding: 40px;
  }
  
  .contact-map-wrapper {
    min-height: 500px;
  }
  
  .contact-map {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 30px;
  }
  
  .contact-form-title {
    font-size: 1.8rem;
  }
  
  .faq-title {
    font-size: 2rem;
  }
  
  .faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
  }
  
  .faq-answer.show {
    padding: 0 25px 25px;
  }
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 25px 20px;
  }
  
  .contact-form-layout {
    gap: 30px;
  }
  
  .form-input {
    padding: 14px 18px;
  }
  
  .form-submit-button {
    padding: 16px 30px;
  }
  
  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }
  
  .faq-answer.show {
    padding: 0 20px 20px;
  }
}

/* Validation du formulaire */
.form-input.valid {
  border-color: #48bb78;
  background-color: rgba(72, 187, 120, 0.05);
}

.form-input.invalid {
  border-color: #f56565;
  background-color: rgba(245, 101, 101, 0.05);
}

.form-error-message {
  color: #f56565;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-input.invalid + .form-error-message {
  display: block;
}