/* ==========================================================================
   HERO PERSONNALISÉS - Contact & Devis
   ========================================================================== */

/* Hero Contact avec icônes */
.hero-contact {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  overflow: hidden;
}

.hero-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1200px;
  padding: 3rem 2rem;
}

.hero-contact-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease;
}

.hero-contact-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Icônes de contact */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.contact-icon-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  min-width: 180px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease backwards;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-icon-box:nth-child(1) { animation-delay: 0.3s; }
.contact-icon-box:nth-child(2) { animation-delay: 0.4s; }
.contact-icon-box:nth-child(3) { animation-delay: 0.5s; }

.contact-icon-box:hover {
  transform: translateY(-15px) scale(1.05);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #4facfe;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.contact-icon-box:hover .contact-icon {
  transform: rotate(360deg);
}

.contact-icon-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Devis Gratuit */
.hero-devis {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4f1f9 0%, #b8e6f5 100%);
  overflow: hidden;
}

.hero-devis::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255, 255, 255, 0.03) 60px,
    rgba(255, 255, 255, 0.03) 120px
  );
  animation: slide 20s linear infinite;
}

@keyframes slide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-devis-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #2c5f7d;
  padding: 3rem 2rem;
}

.devis-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 3px solid #4a9dc7;
  border-radius: 100px;
  padding: 2rem 4rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: bounceIn 1s ease;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.devis-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.devis-checkmark {
  width: 60px;
  height: 60px;
  background: #4a9dc7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.devis-checkmark::before {
  content: '✓';
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
}

.devis-text {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.devis-text span {
  display: block;
  font-size: 4rem;
}

.hero-devis-subtitle {
  font-size: 1.5rem;
  margin-top: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.devis-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.devis-feature {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  animation: fadeInUp 0.8s ease backwards;
}

.devis-feature:nth-child(1) { animation-delay: 0.4s; }
.devis-feature:nth-child(2) { animation-delay: 0.5s; }
.devis-feature:nth-child(3) { animation-delay: 0.6s; }

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-contact-title,
  .devis-text {
    font-size: 2.5rem;
  }

  .devis-text span {
    font-size: 3rem;
  }

  .contact-icons {
    gap: 1.5rem;
  }

  .contact-icon-box {
    min-width: 140px;
    padding: 1.5rem 1rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .devis-badge {
    padding: 1.5rem 2.5rem;
    flex-direction: column;
  }
}
