:root {
  --bg: #0f0f11;
  --text: #eaeaea;
  --muted: #9a9a9a;
  --accent: #c9a24d;
  --card: #17171a;
  --border: #1f1f23;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

nav a {
  margin-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

/* Hero / accueil */
.hero {
  max-width: 1100px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
}

.search {
  margin-top: 2rem;
  max-width: 450px;
}

.search input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  border: none;
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
}

/* Main content */
main {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.weekly h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.card img {
  width: 100%;
  border-radius: 4px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.read {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  background: #0c0c0e;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  font-size: 0.9rem;
}

footer h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

footer a:hover {
  color: var(--text);
}

.footer-bottom {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
/* Formulaire avancé */
form label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}

form select, form input, form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-top: 0.3rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  padding: 0.7rem 1.5rem;
  margin-top: 1rem;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: #b38f42;
}

#formMsg {
  font-size: 0.9rem;
  color: var(--muted);
}


@media (max-width: 700px) {
  .card {
    grid-template-columns: 1fr;
  }
  nav {
    display: none;
  }
}
/* Bouton hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}
/* ---------- Desktop / Mobile switch ---------- */
.nav-desktop {
  display: flex;
  gap: 1.4rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

/* ---------- Menu mobile ---------- */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #0b0b0d; /* PLUS FONCÉ */
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile a {
  font-size: 1.1rem;
}

.nav-mobile .secondary {
  opacity: 0.7;
  font-size: 0.95rem;
}

.mobile-search {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  background: #151518;
  color: var(--text);
  margin-bottom: 10px;
}

/* Séparateur */
.nav-divider {
  height: 1px;
  background: #1f1f23;
  margin: 15px 0;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 999;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }
}
/* Mobile */
@media (max-width: 700px) {

  .burger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--bg);
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.1rem;
  }

  .mobile-search {
    margin-top: 2rem;
  }
}
/* Scroll to top progress */
#scrollTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#scrollTop svg {
  position: absolute;
  transform: rotate(-90deg);
}

#scrollTop circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.1s linear;
}

#scrollTop span {
  position: relative;
  color: var(--text);
  font-size: 1.1rem;
}
/* Pop-up maintenance */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: var(--card);
  color: var(--text);
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.popup-content h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.popup-content p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.popup-content button {
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.popup-content button:hover {
  background: #b38f42;
}

/* ================= POP-UP GLOBAL ================= */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup[hidden] {
  display: none;
}

.popup-content {
  position: relative;
  background: var(--card);
  color: var(--text);
  padding: 2rem;
  border-radius: 10px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  animation: popupFade 0.25s ease;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-content h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.popup-content p {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Bouton principal */
.popup-content button {
  padding: 0.7rem 1.6rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.popup-content button:hover {
  background: #b38f42;
  transform: translateY(-1px);
}

/* Bouton fermeture (croix) */
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.popup-close:hover {
  color: var(--text);
}
.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.profile-icon:hover {
  transform: scale(1.05);
  opacity: 0.85;
}
/* Bandeau avis disponible */
.avis-banner {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(
    90deg,
    rgba(201,162,77,0.15),
    rgba(201,162,77,0.05)
  );
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.avis-banner span {
  color: var(--text);
}

.avis-banner a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.avis-banner a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .avis-banner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}
/* ================= VIDEO YOUTUBE ================= */

.trailer-section {
  margin-top: 3rem;
}

.trailer-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#loadMoreBtn {
  display: block;
  margin: 2.5rem auto 0;
  padding: 0.8rem 1.8rem;
  background: var(--card);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

#loadMoreBtn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-1px);
}

#loadMoreBtn:active {
  transform: translateY(0);
}.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.85rem;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}