* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #050505;
  color: white;
  overflow-x: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.fade-in {
  animation: pageFadeIn 0.8s ease;
}

body.fade-out {
  animation: pageFadeOut 0.5s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(15px); }
}

/* ===== PAGES LÉGALES ===== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  color: white;
  flex: 1 0 auto;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-updated {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  color: #c7c7c7;
  line-height: 1.8;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page a {
  color: white;
}

/* ===== FOOTER AVEC LIENS LÉGAUX ===== */
footer {
  text-align: center;
  padding: 20px;
  background: black;
  color: #aaa;
  flex-shrink: 0;
}

.legal-footer {
  text-align: center;
}

.legal-footer p {
  color: #aaa;
  margin-bottom: 10px;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.3s;
}

.legal-links a:hover {
  color: white;
}

/* ===== BANNIÈRE COOKIES ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.97);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 9999;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.cookie-text p {
  color: #d0d0d0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}

.cookie-text a {
  color: white;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.3s;
}

.cookie-btn-primary {
  background: white;
  color: black;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
}

.cookie-btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

.cookie-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
  }
}