

/* Section media */
.media-section {
  padding: 50px 20px;
  background: #f9fafb;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #111827;
  font-weight: 600;
}

.media-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.media-column {
  flex: 1 1 300px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.media-column h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
  display: inline-block;
  padding-bottom: 5px;
}

/* Ads */
.ad-box img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}
.ad-box img:hover {
  transform: scale(1.05);
}

/* Videos */
.video-box {
  margin-bottom: 20px;
}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}
.video-wrapper iframe {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
.video-box p {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

/* Podcasts */
.podcast-box {
  margin-bottom: 20px;
}
.podcast-box audio {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 8px;
}
.podcast-box p {
  font-size: 14px;
  color: #555;
}

/* See all links */
.see-all {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}
.see-all:hover {
  color: #1e40af;
}

/* Responsive */
@media (max-width: 1000px) {
  .media-grid {
    flex-direction: column;
  }
}
.newsletter-section {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 50px 0;
}

.newsletter-section h2 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 600;
}

.newsletter-section p {
  font-size: 18px;
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  width: 300px;
  max-width: 100%;
  font-size: 16px;
}

.newsletter-form button {
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  background-color: #facc15; /* bouton jaune pour contraste */
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.newsletter-form button i {
  margin-right: 8px;
}

.newsletter-form button:hover {
  background-color: #eab308;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}
/* ================= BACK TO TOP BUTTON ================= */
#btnTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0b1f3a;
  color: #fff;
  border: none;
  padding: 12px 15px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: 0.3s;
}

#btnTop:hover {
  background: #133a75;
  transform: scale(1.1);
}
