* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #fff;
  min-height: 100vh;
}

/* ----- Top bar ----- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-icon {
  color: #e91e8c;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: #e91e8c;
}

.topbar-icons {
  display: flex;
  gap: 1rem;
}

.topbar-icons .icon {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  opacity: 0.9;
}

.topbar-icons .icon:hover {
  opacity: 1;
  color: #e91e8c;
}

.topbar-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.topbar-icons .social-icon:hover {
  color: #e91e8c;
}

.topbar-icons .social-icon svg {
  display: block;
}

/* Bannière message (nouveautés, cadeaux) */
.banner-msg {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg, rgba(233, 30, 140, 0.9), rgba(200, 20, 120, 0.9));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 12px rgba(233, 30, 140, 0.3);
}

/* ----- Hero full-bleed ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 2rem 4rem;
  background-color: #1f0e14;
  background-image: url("hero-bg.jpg"), linear-gradient(160deg, #2d1520 0%, #3d2030 40%, #2a1420 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-desc {
  margin: 1.25rem 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 420px;
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #e91e8c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
}

.hero-btn:hover {
  background: #d0187a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233, 30, 140, 0.5);
}

/* ----- Gallery section (below hero) ----- */
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  background: #0f0a0c;
  color: #e2e8f0;
}

.section {
  margin-bottom: 2rem;
}

.section h2 {
  font-size: 1.2rem;
  color: #e91e8c;
  margin: 0 0 1rem;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.card {
  border-radius: 12px;
  overflow: hidden;
  background: #1a1215;
  cursor: pointer;
  border: 1px solid rgba(233, 30, 140, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 30, 140, 0.2);
}

.card-img img,
.card-vid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1;
}

.card-vid { position: relative; }

.card-vid .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 2.5rem;
  pointer-events: none;
}

.card-vid video { pointer-events: none; }

.empty {
  text-align: center;
  color: #94a3b8;
  padding: 2rem;
}

/* ----- Overlays (cachés au chargement) ----- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.overlay[hidden] {
  display: none !important;
}

.overlay .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.overlay .close:hover { background: rgba(255, 255, 255, 0.35); }

#overlay-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

#vid-player {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  background: #000;
}

@media (max-width: 768px) {
  .topbar { padding: 0.75rem 1rem; flex-wrap: wrap; }
  .nav { display: none; }
  .hero { padding: 6rem 1rem 3rem; }
  .hero-title { font-size: 2rem; }
}

@media (max-width: 500px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
