/* =========================================================
   HERO – CONTACT
   ========================================================= */

.contact-hero {
  position: relative;
  min-height: 60vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  overflow: hidden;
  color: #ffffff;
}

/* Image de fond */
.contact-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: heroImageZoom 1.8s ease-out forwards;
}

/* Overlay sombre pour lisibilité */
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* Contenu centré */
.contact-hero .hero-content {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Titre */
.contact-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(22px);
  animation: heroTextFadeUp 1.2s cubic-bezier(0.25,1,0.5,1) forwards;
  animation-delay: 0.5s;
}

/* Texte */
.contact-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(18px);
  animation: heroTextFadeUp 1.2s cubic-bezier(0.25,1,0.5,1) forwards;
  animation-delay: 0.8s;
}

/* Animations */
@keyframes heroImageZoom {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroTextFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Texte HERO contact – blanc */
.contact-hero h1,
.contact-hero p {
  color: #ffffff;
}


/* ===============================
   GOOGLE FORM – DESIGN RESPONSIVE
================================ */

/* Conteneur */
.google-form-container {
  width: 100%;
  max-width: 760px;              /* largeur confortable desktop */
  margin: 0 auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Iframe */
.google-form-container iframe {
  width: 100%;
  min-height: 900px;             /* desktop */
  border: none;
  border-radius: 12px;
}

/* ===============================
   TABLETTE
================================ */
@media (max-width: 1024px) {
  .google-form-container {
    max-width: 100%;
    padding: 1.2rem;
  }

  .google-form-container iframe {
    min-height: 950px;
  }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
  .google-form-container {
    padding: 1rem;
    border-radius: 12px;
  }

  .google-form-container iframe {
    min-height: 1100px;          /* Google Form est plus long sur mobile */
  }
}

/* ===============================
   PETITS ÉCRANS (≤ 480px)
================================ */
@media (max-width: 480px) {
  .google-form-container {
    padding: 0.75rem;
    border-radius: 10px;
  }

  .google-form-container iframe {
    min-height: 1200px;
  }
}



/* Boutons */
.btn {
  background: #8d8d8d;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 0px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Effet hover sur bouton */
.btn:hover {
  background: #0088cc;
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}