/* =========================================================
   NEWSLETTER PAGE
   ========================================================= */

.newsletter-hero {
    position: relative;                /* Parent relatif pour bg absolu */
    min-height: 60vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 3rem 2rem;
    overflow: hidden;
    background: none;
}

/* Image de fond */
.newsletter-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    animation: heroImageZoom 1.8s ease-out forwards;
}

@keyframes heroImageZoom {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Contenu hero centré */
.newsletter-hero .hero-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Titres et paragraphes */
.newsletter-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.6s;
}

.newsletter-hero p {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 700px;
    opacity: 0;
    transform: translateY(18px);
    animation: heroTextFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.9s;
}



/* Animation texte */
@keyframes heroTextFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   TEXTE HERO NEWSLETTER EN BLANC
   ========================================= */

.newsletter-hero h1,
.newsletter-hero p {
  color: #ffffff;
}





/* ===============================
   BANNIÈRE NEWSLETTER
=============================== */
.newsletter-banner {
  background: url('../images/newsletter-banner.jpg') center/cover no-repeat;
  padding: 6rem 2rem;
  text-align: center;
  color: #ffffff;
  position: relative;
}



.newsletter-banner h1 {
  font-size: 2.8rem;
  font-family: 'IBM Plex Serif', serif;
  margin-bottom: 1rem;
}

.newsletter-banner p.subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #f0f0f0;
  line-height: 1.5;
}

/* ===============================
   CONTENU NEWSLETTER / FORMULAIRE
=============================== */
.newsletter-content {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.newsletter-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.newsletter-card h2 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 2rem;
  color: #0a2540;
  margin-bottom: 0.5rem;
}

.newsletter-card p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
}

.newsletter-card ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-card ul li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #475569;
}

.newsletter-card ul li i {
  color: #00aaff; /* icône accent bleu */
  min-width: 24px;
  min-height: 24px;
}

/* ===============================
   GOOGLE FORM
=============================== */
.google-form-container {
  width: 100%;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  margin-top: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-form-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Hover animation */
.google-form-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ===============================
   NOTE RGPD
=============================== */
.newsletter-card .note-rgpd {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin-top: 1rem;
}

.newsletter-card .note-rgpd a {
  color: #00aaff;
  text-decoration: underline;
}

.newsletter-card .note-rgpd a:hover {
  color: #0a2540;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
  .newsletter-banner h1 {
    font-size: 2rem;
  }

  .newsletter-banner p.subtitle {
    font-size: 1rem;
  }

  .newsletter-card {
    padding: 2rem 1.5rem;
  }

  .google-form-container {
    height: 550px;
  }
}

@media (max-width: 480px) {
  .newsletter-card ul li {
    flex-direction: column;
    align-items: flex-start;
  }

  .google-form-container {
    height: 500px;
  }
}




/* 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);
}