/* --- Reset global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  background-color: #fff;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.hero-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 3;
  color: white;
  font-size: 1.2em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

/* structure de la top-bar pour centrer l'élément */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center; /* centre tous les éléments par défaut */
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  position: relative;
}

/* si tu gardes .logo-zone et hamburger à gauche/droite, on repositionne */
.top-bar .logo-zone { position: absolute; left: 16px; display:flex; align-items:center; }
.top-bar .hamburger { position: absolute; right: 16px; display:flex; align-items:center; }

/* bouton centré */
.btn-direct {
  background: var(--accent, #970A0A);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 14px rgba(151,10,10,0.15);
  transition: transform .12s ease, box-shadow .12s ease;
}

/* play triangle */
.btn-direct .play-icon {
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  display: inline-block;
}

/* hover / focus */
.btn-direct:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(151,10,10,0.18); }
.btn-direct:focus { outline: 3px solid rgba(151,10,10,0.18); outline-offset: 2px; }

/* responsive : sur petits écrans on replace logo/hamburger inline and reduce padding */
@media (max-width: 700px) {
  .top-bar { justify-content: center; padding: 8px 12px; }
  .top-bar .logo-zone { position: static; margin-right: auto; }
  .top-bar .hamburger { position: static; margin-left: auto; }
  .btn-direct { padding: 8px 10px; font-size: 0.9rem; gap:8px; }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
  z-index: 2;
}

.ads-wrapper {
  width: 100%;
  min-width: 300px;
  min-height: 250px;
  display: block;
}

.adsbygoogle {
  max-height: 1200px !important;
  width: 100%;
}

.adscontainer {
  max-height: 1200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.adsbygoogle {
  max-height: 1200px !important;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: white;
  color: #111;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.popup-content h2 {
  margin-bottom: 15px;
  color: #970A0A;
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #970A0A;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 80vh; /* hauteur ajustable */
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  pointer-events: none;
}

.intro-vafm {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

    .don-button {
      background-color: #0070ba;
      color: white;
      padding: 15px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-size: 1.2em;
      font-weight: bold;
      display: inline-block;
      margin-top: 20px;
      transition: background 0.3s;
    }

    .don-button:hover {
      background-color: #005c9e;
    }
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background-color: #fff;
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
}

.side-menu.open {
  right: 0;
}

.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #000;
  display: block;
}

/* --- Images globales --- */
img {
  max-width: 100%;
  height: auto;
}
.video-short-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-short-popup.hidden {
  display: none;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 100%;
}

.video-wrapper video {
  height: 90vh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* --- Structure principale --- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
}

.site-footer {
  background-color: #111;
  color: white;
  padding: 40px 20px 20px;
  font-size: 0.95em;
  width: 100%;
  box-sizing: border-box;
}

.short-thumbnail {
  max-width: 360px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.short-thumbnail:hover {
  transform: scale(1.02);
}

.short-thumbnail video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background-color: black;
  border-radius: 12px;
}

.short-video-popup {
  background: black;
  padding: 0;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.short-video-popup video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background-color: black;
}

/* --- Bouton hamburger --- */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Menu latéral (glissement depuis la droite) --- */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: #57081B;
  color: white;
  display: none;
  flex-direction: column;
  padding: 60px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.side-menu.open {
  display: flex;
  transform: translateX(0);
}

.side-menu a {
  color: white;
  font-size: 1.1em;
  text-decoration: none;
  margin-bottom: 20px;
}

.side-menu a:hover {
  color: yellow;
}

/* --- Réseaux sociaux --- */
.social-links {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.social-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* --- Publicité personnalisée --- */
.custom-ad {
  text-align: center;
  padding: 20px;
}

.custom-ad .ad-image {
  max-width: 100%;
  width: 700px;
  border: 2px solid #970A0A;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- Vidéo format short --- */
.short-video {
  max-width: 360px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.short-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background-color: black;
  border-radius: 12px;
}

/* --- Popup vidéo --- */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  position: relative;
  background: #000;
  padding: 10px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
}

.short-popup video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background-color: black;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* --- Bouton fermeture popup --- */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* --- Bandeau dédicace --- */
.dedicace-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 40px;
  background: #57081B;
  color: white;
  display: flex;
  align-items: center;
  font-size: 1em;
}

.dedicace-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  position: absolute;
  left: 100%;
}

@keyframes defilement {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --- Dédicace en direct --- */
.live-dedicace {
  max-width: 700px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.live-dedicace h2 {
  text-align: center;
  color: #970A0A;
  margin-bottom: 20px;
}

#dedicaceForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#dedicaceForm input,
#dedicaceForm textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1em;
}

#dedicaceForm button {
  background-color: #970A0A;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#dedicaceForm button:hover {
  background-color: #57081B;
}

.dedicace-feed {
  margin-top: 30px;
  max-height: 300px;
  overflow-y: auto;
}

.dedicace-entry {
  background: #ffeded;
  border-left: 5px solid #970A0A;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  animation: fadeIn 0.5s ease;
}

/* --- Sondage local --- */
.live-sondage {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.live-sondage h2 {
  text-align: center;
  color: #970A0A;
  margin-bottom: 20px;
}
/* --- Sondage --- */
#sondageForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#sondageForm input,
#sondageForm textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1em;
}

#sondageForm button {
  background-color: #970A0A;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#sondageForm button:hover {
  background-color: #57081B;
}

.sondage-feed {
  margin-top: 30px;
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.sondage-feed .entry {
  background: #ffeded;
  border-left: 5px solid #970A0A;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  animation: fadeIn 0.5s ease;
}

/* --- Dédicace --- */
.dedicace-entry {
  background: #ffeded;
  border-left: 5px solid #970A0A;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  animation: fadeIn 0.5s ease;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-50vh) scale(1.2);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* --- Header --- */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}

/* --- Barre rouge --- */
.top-bar {
  background-color: #970A0A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  height: 80px;
  position: relative;
}

/* --- Logo --- */
.logo {
  height: 250px;
  margin-top: 50px;
}

/* --- Barre noire secondaire --- */
.sub-bar {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 8px 0;
  font-weight: bold;
}

/* --- Hamburger animé --- */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  top: 20px;
  right: 20px;
}

.hamburger span {
  display: block;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Menu latéral --- */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: #57081B;
  color: white;
  display: none;
  flex-direction: column;
  padding: 60px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.side-menu.open {
  display: flex;
  transform: translateX(0);
}

.side-menu a {
  color: white;
  font-size: 1.1em;
  text-decoration: none;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.side-menu a:hover {
  color: #FFD700;
  transform: translateX(5px);
}

/* --- Réseaux sociaux --- */
.social-links {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.social-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.2);
}

/* --- News card --- */
.news-card {
  max-width: 600px;
  margin: 20px auto;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-card img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.news-card h2 {
  font-size: 1.4em;
  margin-bottom: 8px;
  color: #970A0A;
}

.news-card p {
  font-size: 0.95em;
  line-height: 1.4;
  color: #333;
}

/* --- Carte horizontale --- */
.article-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  max-width: 800px;
  margin: 30px auto;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: scale(1.02);
}

.card-image {
  width: 40%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  width: 60%;
}

.card-content h3 {
  margin-bottom: 10px;
  color: #970A0A;
}

.card-content p {
  color: #333;
  font-size: 0.95em;
}

/* --- Pop-up --- */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.popup-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #970A0A;
}

/* --- Texte stylisé --- */
.text {
  font-family: 'Rampart One', cursive;
  font-size: 2.5em;
  color: #000;
  text-align: center;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  transition: letter-spacing 0.3s ease;
}

.text:hover {
  letter-spacing: 1px;
}

/* --- Footer --- */
.site-footer {
  background-color: #111;
  color: white;
  padding: 40px 20px 20px;
  font-size: 0.95em;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}

.footer-logo img {
  height: 60px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85em;
  opacity: 0.7;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px;
    height: 60px;
  }

  .logo {
    height: 150px;
    margin-top: 40px;
  }

  .hamburger {
    top: 15px;
    right: 15px;
  }

  .news-card,
  .article-card {
    width: 100%;
    flex-direction: column;
  }

  .card-image {
    width: 100%;
    height: auto;
  }

  .card-content {
    width: 100%;
    padding: 15px;
  }

  .side-menu {
    width: 100%;
    padding: 40px 20px;
  }

  .text {
    font-size: 2em;
    height: auto;
    margin: 10px 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
@media screen and (max-width: 768px) {
  .card-content {
    width: 100%;
  }

  .popup-content {
    padding: 20px;
    max-height: 90vh;
    flex-direction: column;
    gap: 15px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-logo img {
    height: 50px;
  }

  .footer-bottom {
    font-size: 0.8em;
    margin-top: 20px;
  }

  .text {
    font-size: 1.6em;
    margin: 10px auto;
    height: auto;
    padding: 20px 10px;
  }

  .popup-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .popup-text {
    width: 100%;
  }

  .side-menu {
    width: 100%;
    padding: 80px 20px;
  }

  .side-menu a {
    font-size: 1em;
    margin-bottom: 15px;
  }

  .social-links {
    gap: 10px;
    padding-top: 15px;
  }

  .social-links img {
    width: 20px;
    height: 20px;
  }
}


























