/* ex-inline contact.html — externalisé pour la mise en cache */
/* ============================================================================
   VARIABLES
   ============================================================================ */
:root {
  --primary-color: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #5ba3e0;
  --text-dark: #1c1d1f;
  --text-medium: #6a6f73;
  --text-light: #9fa5ad;
  --border-color: #d1d7dc;
  --bg-gray: #f7f9fa;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.contact-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stats .stat-item i {
  font-size: 2rem;
}

.hero-stats .stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.hero-stats .stat-item span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-medium);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ============================================================================
   FEATURES BANNER
   ============================================================================ */
.features-banner {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-medium);
}

.feature-item i {
  font-size: 1.2rem;
}

/* ============================================================================
   MAP SECTION
   ============================================================================ */
.map-section {
  padding: 3rem 0;
}

.map-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-overlay-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-width: 300px;
}

.overlay-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.overlay-content h5 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.overlay-content p {
  color: var(--text-medium);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* ============================================================================
   CONTACT CARDS
   ============================================================================ */
.contact-info-card,
.contact-form-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 100%;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

/* Info Items */
.info-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.info-item:last-of-type {
  border-bottom: none;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-content h5 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-content p {
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

.info-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Social Links */
.social-section {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  margin-top: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.social-link.facebook { background: #1877f2; }
.social-link.linkedin { background: #0a66c2; }
.social-link.youtube { background: #ff0000; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-link.github { background: #181717; }

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ============================================================================
   CONTACT FORM
   ============================================================================ */
.contact-form .form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
  outline: none;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Form Status Messages */
.loading,
.error-message,
.sent-message {
  display: none;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.loading {
  background: #e3f2fd;
  color: var(--primary-color);
  border: 1px solid #bbdefb;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.sent-message {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */
.faq-accordion .accordion-item {
  border: none;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: white;
  border: none;
  padding: 1.5rem 2rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231c1d1f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 1.5rem 2rem;
  background: var(--bg-gray);
  color: var(--text-medium);
  line-height: 1.8;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 991px) {
  .hero-stats {
    gap: 1.5rem;
  }
  
  .map-overlay-info {
    position: static;
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .contact-info-card,
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}
