/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 20px;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* Ajouté */
  margin-left: auto; /* Ajouté */
  margin-right: auto; /* Ajouté */
  padding: 0 40px; /* Ajouté */
  box-sizing: border-box; /* Ajouté */
}

.hero-left {
  flex: 1;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0; /* Évite le double padding */
}

.hero-left h2 {
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

.hero-top .img-profil {
  display: none;
}

/* Text wrapper */
.text-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Bio text */
.bio-text {
  width: 100%;
}

.bio-text p {
  margin: 0 0 1em 0;
  text-align: justify;
  line-height: 1.8;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.bio-text p:last-child {
  margin-bottom: 0;
}

.bio-accroche {
  font-size: 1.05rem !important;
  color: rgba(238, 168, 255, 0.95) !important;
  line-height: 1.7 !important;
}

.bio-final {
  font-style: italic;
  color: #fff !important;
}


.img-profil {
  width: 150px;
  height: 150px;
  -webkit-mask: url("../../images/MaskProfile3.svg") no-repeat center / contain;
  mask: url("../../images/MaskProfile3.svg") no-repeat center / contain;
  overflow: hidden;
  margin: 0;
}

.img-profil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-images {
  display: none;
}

/* Panels (cachés par défaut sur mobile) */
.hero-right,
.hero-tiktok {
  position: fixed;
  top: 80px;
  width: 380px;
  height: calc(100vh - 100px);
  background: rgba(20, 20, 40, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(238, 168, 255, 0.3);
  padding: 20px;
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 900; /* Important : doit être élevé */
}

.hero-right {
  right: -400px;
  border-left: 2px solid rgba(238, 168, 255, 0.3);
}

.hero-right.open {
  right: 0;
}

.hero-tiktok {
  right: -400px;
  border-left: 2px solid rgba(238, 168, 255, 0.3);
}

.hero-tiktok.open {
  right: 0;
}

/* Mise en garde */
.mise-en-garde {
  margin: 40px auto 0 auto;
  max-width: 800px;
  width: 100%;
  padding: 30px 40px;
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid rgba(238, 168, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}

.mise-en-garde h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}

.mise-en-garde p {
  text-align: justify;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #fff;
}
/* Boutons réseaux sociaux dans Hero */
.hero-social {
  display: flex !important;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 30px;
  margin-bottom: 20px;
}

.hero-social .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(238, 168, 255, 0.3);
  border: 2px solid rgba(238, 168, 255, 0.7);
  transition: all 0.3s ease;
  color: rgb(238, 168, 255);
  text-decoration: none;
  backdrop-filter: blur(5px);
  position: relative;
  box-shadow: 0 0 15px rgba(238, 168, 255, 0.2);
}

.hero-social .social-btn:hover {
  background: rgba(238, 168, 255, 0.4);
  border-color: rgb(238, 168, 255);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(238, 168, 255, 0.4);
}

.hero-social .social-btn svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.hero-social .social-btn svg path {
  fill: #eea8ff !important;
}

/* Responsive Tablette */
@media (max-width: 768px) {
  .hero-social {
    justify-content: center;
    margin-top: 25px;
  }

  .hero-social .social-btn {
    width: 45px;
    height: 45px;
  }

  .hero-social .social-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* Responsive Smartphone */
@media (max-width: 480px) {
  .hero-social {
    gap: 15px;
    margin-top: 20px;
  }

  .hero-social .social-btn {
    width: 40px;
    height: 40px;
  }

  .hero-social .social-btn svg {
    width: 20px;
    height: 20px;
  }
}
/* Taille des SVG sociaux */
.hero-social svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  display: block;
}

.hero-social .social-btn {
  overflow: visible;
}

/* ==========================================
   FIX PANELS CLIQUABLES
   ========================================== */

/* Les panels sont toujours cliquables */
.hero-right,
.hero-tiktok {
  pointer-events: auto !important;
}

/* Tout le contenu est cliquable */
.hero-right *,
.hero-tiktok *,
.hero-right iframe,
.hero-tiktok iframe,
.instagram-media,
.tiktok-embed {
  pointer-events: auto !important;
}

/* Scrollbar cliquable */
.hero-right::-webkit-scrollbar,
.hero-tiktok::-webkit-scrollbar {
  pointer-events: auto !important;
}
