/* =========================================================
   STYLE CONTACT - Page Contact AFEVAG
========================================================= */

/* ===== HERO AVEC DÉCORATIONS ===== */
.hero-small {
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* ===== DÉCORATIONS ===== */
.hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.hero-decorations span {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.2;
  animation: floatDecoration 6s ease-in-out infinite;
}

.deco-star { color: #ffb703; animation-duration: 4s !important; }
.star-1 { top: 5%; left: 3%; font-size: 2rem; animation-delay: 0s; }
.star-2 { top: 10%; right: 5%; font-size: 1.6rem; animation-delay: 1.2s; }
.star-3 { bottom: 20%; left: 2%; font-size: 1.8rem; animation-delay: 2.4s; }
.star-4 { bottom: 10%; right: 4%; font-size: 2.2rem; animation-delay: 3.6s; }

.deco-diamond { color: #d7263d; animation-duration: 5s !important; }
.diamond-2 { top: 30%; right: 2%; font-size: 1.2rem; color: #1b9c66; animation-delay: 1s; }

.deco-circle { color: #ff9200; animation-duration: 4.5s !important; }
.circle-2 { bottom: 35%; left: 4%; font-size: 0.9rem; color: #ffb703; animation-delay: 2s; }

.deco-sparkle { color: #f1c40f; animation-duration: 3.5s !important; }
.sparkle-2 { top: 45%; right: 6%; font-size: 1rem; color: #d7263d; animation-delay: 1.5s; }

.deco-heart { color: #ff6b6b; animation-duration: 5.5s !important; }
.heart-2 { bottom: 15%; right: 3%; font-size: 1.1rem; color: #ffb703; animation-delay: 2.5s; }

/* Thématique contact */
.deco-phone { color: #06b6d4; animation-duration: 4.8s !important; }
.phone-2 { top: 55%; left: 1%; font-size: 1.4rem; color: #8b5cf6; animation-delay: 2s; }

.deco-mail { color: #ff9200; animation-duration: 3.8s !important; }
.mail-2 { top: 40%; right: 1%; font-size: 1.2rem; color: #d7263d; animation-delay: 1.8s; }

@keyframes floatDecoration {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.15; }
  25% { transform: translateY(-20px) rotate(15deg) scale(1.3); opacity: 0.4; }
  50% { transform: translateY(15px) rotate(-15deg) scale(0.8); opacity: 0.2; }
  75% { transform: translateY(-10px) rotate(8deg) scale(1.1); opacity: 0.35; }
}

.hero-text {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 600;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin: 0.5rem 0;
  font-family: var(--font-heading);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== SECTION TITLE ===== */
.section-title-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 146, 0, 0.10);
  padding: 0.4rem 1.2rem 0.4rem 1rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 146, 0, 0.15);
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.section-title-wrapper:hover {
  background: rgba(255, 146, 0, 0.18);
  border-color: rgba(255, 146, 0, 0.30);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 146, 0, 0.10);
}

.section-icon {
  color: var(--color-primary);
  font-size: 1rem;
  animation: iconPulse 2s ease-in-out infinite;
}

.section-icon:first-child {
  animation-delay: 0s;
}
.section-icon:last-child {
  animation-delay: 1s;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.3) rotate(180deg); opacity: 1; }
}

/* ===== ABOUT STRIP ===== */
.about-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.about-block {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.about-block:hover {
  border-color: rgba(255, 146, 0, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 146, 0, 0.08);
}

.about-block h2 {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.about-block p {
  margin: 0 0 0.8rem;
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-block p strong {
  color: var(--color-text);
  font-size: 0.95rem;
}

.about-block .btn {
  margin-top: 0.5rem;
}

/* ===== CONTACT LINK ===== */
.contact-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  font-family: var(--font-numbers);
  letter-spacing: 0.02em;
  display: inline-block;
}

.contact-link::before {
  content: "◆";
  margin-right: 0.4rem;
  opacity: 0.4;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

.contact-link:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.contact-link:hover::before {
  opacity: 1;
  transform: rotate(90deg);
}

/* =========================================================
   RESPONSIVE CONTACT
========================================================= */
@media (max-width: 960px) {
  .about-strip {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section-title-wrapper {
    display: flex;
    justify-content: center;
    padding: 0.4rem 1.2rem;
  }

  .hero-decorations {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-small {
    padding: 2.5rem 0 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .about-block {
    padding: 1.5rem;
  }

  .contact-link {
    font-size: 0.95rem;
    word-break: break-all;
  }

  .section-title-wrapper {
    padding: 0.3rem 1rem;
    gap: 0.5rem;
  }

  .section-icon {
    font-size: 0.8rem;
  }

  .hero-decorations {
    display: none;
  }
}

@media (max-width: 460px) {
  .about-block {
    padding: 1rem;
  }

  .about-block h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .contact-link {
    font-size: 0.9rem;
  }

  .section-title-wrapper {
    padding: 0.2rem 0.8rem;
    gap: 0.4rem;
  }

  .section-icon {
    font-size: 0.7rem;
  }
}