/* =========================
   HERO (Ruggieri) VIDEO YT EN FULLSCREEN
========================= */



.hero{
  position: relative;
  height: 100vh;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
}

.video-container{
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* IMPORTANT: 100% au lieu de 100vw pour éviter l’overflow horizontal */
.video-container iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 56.25vw;
  min-width: 177.77vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

.hero-emblem{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-emblem::before{
  content: "";
  width: 100vh;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;

  -webkit-mask: url("img/embleme_ruggieri.svg") center / contain no-repeat;
          mask: url("img/embleme_ruggieri.svg") center / contain no-repeat;

  background-color: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);

  filter: drop-shadow(0 25px 70px rgba(0,0,0,0.35));
  transform: translateY(-2%);
}

.hero-content{
  position: relative;
  z-index: 3;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding-top: 40px;
  padding-bottom: 140px;
}

.hero-logo-main{
  display: block;
  margin: 0 auto 35px;
  width: min(520px, 78vw);
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.55));
}

.hero-baseline{
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 600;

  font-size: clamp(20px, 2.4vw, 36px);
  line-height: 1.25;

  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.96);
  text-align: center;

  text-shadow: 0 10px 28px rgba(0,0,0,0.6);
}
.hero-baseline span{
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

/* HERO ENTER ARC */
.hero-enterArc{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 4;
  pointer-events: none;
}

/* on masque complètement la forme d’arc */
.hero-enterArc::before{ content: none; }

.hero-enterBtn{
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 20px;
  border-radius: 999px;

  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.96);

  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;

  box-shadow: 0 18px 45px rgba(0,0,0,0.48);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  transform: translateY(-30px);

  transition:
    transform 0.35s cubic-bezier(.22,1,.36,1),
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}
.hero-enterBtn:hover{
  transform: translateY(-40px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.62);
  background: rgba(0,0,0,0.70);
  border-color: rgba(255,255,255,0.32);
}

.hero-enterArrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  animation: enterArrowFloat 1.8s ease-in-out infinite;
  opacity: 0.9;
}
@keyframes enterArrowFloat{
  0%   { transform: translateY(-1px); }
  50%  { transform: translateY(3px); }
  100% { transform: translateY(-1px); }
}


/* Les calques visuels du hero ne doivent JAMAIS capter les clics */
.video-container,
.hero-overlay,
.hero-emblem{
  pointer-events: none;
}

/* Et on force le bouton au-dessus de tout dans le hero */
.hero-enterArc{ z-index: 10; }
.hero-enterBtn{ position: relative; z-index: 11; }
