/* ========================================
   HERO 8 — VIDÉO PLEIN ÉCRAN
   ======================================== */
.hero-6 {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* ---- MEDIA (vidéo / image) ---- */
.hero-6__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-6__video,
.hero-6__img-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay très subtil : gradient bas + léger assombrissement global */
.hero-6__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* ---- CONTENT layout ---- */
.hero-6__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--header-height) + 1.5rem) 5% 2rem;
  gap: 0;
  align-items: start;
}

/* Coin haut gauche */
.hero-6__corner-info {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(255 255 255);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  animation: fadeInDown 0.7s ease;
  width: 60%;
}
.hero-6__dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5dd316;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Coin haut droit */
.hero-6__corner-phone {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.3s;
  animation: fadeInDown 0.7s ease;
}
.hero-6__corner-phone:hover {
  color: var(--secondary);
}
.hero-6__corner-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Centre : titre + actions */
.hero-6__center {
  grid-column: 1 / span 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: 60px;
  animation: fadeInUp 0.9s ease 0.1s backwards;
}
.hero-6__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
}
.hero-6__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 36px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Actions */
.hero-6__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-6__btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}
.hero-6__btn-cta:hover {
  background: var(--white);
  transform: translateY(-2px);
}
.hero-6__btn-cta svg {
  width: 16px;
  height: 16px;
}

.hero-6__btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.hero-6__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Barre du bas */
.hero-6__bottom-bar {
  grid-column: 1 / span 2;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.9s ease 0.3s backwards;
}
.hero-6__stat-inline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}
.hero-6__stat-inline strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}
.hero-6__stat-inline span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-6__stat-sep {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.hero-6__stat-sep--grow {
  width: auto;
  height: 0;
  background: none;
  flex: 1;
}

/* Garantie décennale côté droit */
.hero-6__guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  flex-shrink: 0;
}
.hero-6__guarantee svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* Scroll hint */
.hero-6__scroll-hint {
  position: absolute;
  bottom: 100px;
  right: 5%;
  z-index: 3;
}
.hero-6__scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-6__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }
  .hero-6__corner-info {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-6__corner-phone {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    font-size: 1rem;
  }
  .hero-6__center {
    grid-column: 1;
    grid-row: 2;
  }
  .hero-6__bottom-bar {
    grid-column: 1;
    grid-row: 3;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-6__stat-sep--grow {
    display: none;
  }
  .hero-6__guarantee {
    width: 100%;
  }
  .hero-6__scroll-hint {
    display: none;
  }
  .hero-6__title {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }
}

@media (max-width: 480px) {
  .hero-6__corner-phone span {
    display: none;
  }
  .hero-6__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-6__btn-cta,
  .hero-6__btn-ghost {
    justify-content: center;
  }
}
