/* ===== Global ===== */
body {
  margin: 0;
  font-family: 'Nunito', Arial, sans-serif;
  background: #c9c7e4;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== Header & Menu ===== */
header {
  /* Utilise le shorthand pour éviter les erreurs de position/cover/repeat */
  background: url('../images/header-bg.webp') center bottom / cover no-repeat;
  min-height: 150px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 24px #6e3071aa;
  padding: 20px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-bg {
  background: #fff;
  padding: 2px 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px #c9c7e4;
}

.logo {
  height: 100px;
  max-width: 100px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Poppins', Arial, sans-serif;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 0.2s;
}

nav a.active,
nav a:hover {
  background: #eb7f97;
  color: #fff;
}

/* ===== Menu déroulant ===== */
nav ul .dropdown { position: relative; }

nav ul .dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 2px 8px #c9c7e4;
  border-radius: 10px;
  z-index: 25;
  top: 100%;
  left: 0;
  padding: 0;
}

nav ul .dropdown-content li { display: block; }

nav ul .dropdown-content a {
  color: #6e3071;
  padding: 8px 12px;
  display: block;
  border-radius: 0;
  text-decoration: none;
  font-family: 'Poppins', Arial, sans-serif;
  transition: background 0.2s;
}

nav ul .dropdown-content a:hover {
  background: #eb7f97;
  color: #fff;
}

nav ul .dropdown:hover .dropdown-content { display: block; }

/* ===== Bandeau d'information (site en construction) ===== */
.site-notice {
  background: #fff6ea;               /* orange très pâle */
  border-bottom: 2px solid #f29229;  /* orange de ta palette */
  color: #6e3071;
  box-shadow: 0 2px 10px #00000014;
}

.site-notice__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
}

.site-notice__text {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
  font-size: 0.98rem;
}

.site-notice__emoji { font-size: 1.2rem; }

.site-notice__close {
  background: #f29229;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 6px 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}
.site-notice__close:hover { transform: scale(1.05); background: #e8841d; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  header {
    padding: 16px 8px;
  }
  .header-flex {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
  }
  nav ul {
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
    padding: 10px 0;
  }
  .logo-bg { margin-bottom: 10px; }
}

@media (max-width: 600px) {
  .site-notice__content { flex-direction: column; align-items: flex-start; }
  .site-notice__close { align-self: flex-end; }
}

/* ===== EFFETS VISUELS COZY ===== */

/* Curseur personnalisé */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 20px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}
.custom-cursor.cursor-hover {
  transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
}

/* Particules flottantes */
.particle {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  animation: float linear infinite;
}
@keyframes float {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Animation d'apparition au scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #eb7f97;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px #c9c7e4;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 1000;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #66bda3;
  transform: scale(1.1) rotate(-10deg);
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(90deg, #eb7f97 0%, #c9c7e4 100%);
  color: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px #c9c7e4;
  margin-top: 48px;
  padding: 32px 0 18px 0;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

footer p {
  font-size: 1.05rem;
  font-family: 'Nunito', Arial, sans-serif;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 4px #6e307144;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  display: inline-block;
  background: #fff6ea;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 8px #c9c7e4;
  transition: background 0.2s, transform 0.2s;
}
.socials a:hover {
  background: #eb7f97;
  transform: scale(1.12) rotate(-8deg);
}
.socials img {
  width: 32px;
  height: 32px;
  display: block;
}

@media (max-width: 700px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .socials {
    justify-content: center;
  }
}