/* ==========================================================================
   BRAZ & LOC — HERO CENTRÉ AVEC ZOOM & ANIMATIONS
   Remplace entièrement l'ancien CSS du Hero
   ========================================================================== */

/* ==========================================================================
   1. Structure générale
   ========================================================================== */

.hero-showcase {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 100svh;
  overflow: hidden;

  color: #ffffff;
  background: #05080c;
}

/* ==========================================================================
   2. Image de fond avec zoom lent
   ========================================================================== */

.hero-showcase-background {
  position: absolute;
  inset: 0;
  z-index: 0;

  overflow: hidden;
}

.hero-showcase-background img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);
  will-change: transform;

  animation: hero-showcase-zoom 16s ease-in-out infinite alternate;
}

.hero-showcase-overlay,
.hero-showcase-vignette,
.hero-showcase-firelight {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.hero-showcase-overlay {
  background: linear-gradient(
    180deg,
    rgba(3, 6, 9, 0.38) 0%,
    rgba(3, 6, 9, 0.42) 38%,
    rgba(3, 6, 9, 0.64) 100%
  );
}

.hero-showcase-vignette {
  box-shadow:
    inset 0 0 180px rgba(0, 0, 0, 0.5),
    inset 0 -120px 160px rgba(0, 0, 0, 0.58);
}

.hero-showcase-firelight {
  background: radial-gradient(
    circle at 50% 62%,
    rgba(255, 100, 22, 0.16),
    transparent 34%
  );

  mix-blend-mode: screen;

  animation: hero-showcase-firelight 5s ease-in-out infinite alternate;
}

/* ==========================================================================
   3. Conteneur central
   ========================================================================== */

.hero-showcase-container {
  position: relative;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: min(1180px, calc(100% - 40px));
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(120px, 14vh, 170px) 0 clamp(90px, 11vh, 130px);
}

.hero-showcase-content {
  width: min(920px, 100%);
  margin-inline: auto;

  text-align: center;
}

/* ==========================================================================
   4. Badge
   ========================================================================== */

.hero-showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin: 0 0 22px;
  padding: 10px 15px;

  border: 1px solid rgba(255, 139, 69, 0.28);
  border-radius: 999px;

  color: #ff9a59;
  background: linear-gradient(
    90deg,
    rgba(231, 111, 29, 0.15),
    rgba(255, 255, 255, 0.04)
  );

  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: clamp(0.66rem, 0.85vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-showcase-eyebrow-icon {
  display: grid;
  place-items: center;

  width: 22px;
  height: 22px;

  color: #ff7b28;
}

.hero-showcase-eyebrow-icon svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   5. Titre
   ========================================================================== */

.hero-showcase-title {
  max-width: 980px;
  margin: 0 auto;

  color: #ffffff;

  font-size: clamp(3.2rem, 7vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.97;

  text-align: center;
  text-wrap: balance;

  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.52);
}

.hero-showcase-title > span {
  display: block;
}

.hero-showcase-title strong {
  position: relative;

  color: #ff7326;
  font-weight: inherit;

  text-shadow: 0 0 36px rgba(255, 103, 28, 0.38);
}

.hero-showcase-title strong::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0;

  height: 0.1em;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 112, 35, 0.85),
    transparent
  );

  filter: blur(5px);
  opacity: 0.68;
}

/* ==========================================================================
   6. Séparation
   ========================================================================== */

.hero-showcase-divider {
  display: flex;
  justify-content: center;

  margin-block: 28px 25px;
}

.hero-showcase-divider span {
  width: 96px;
  height: 3px;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    #ff8d42,
    #e75f16,
    transparent
  );

  box-shadow: 0 0 24px rgba(231, 111, 29, 0.45);
}

/* ==========================================================================
   7. Description
   ========================================================================== */

.hero-showcase-description {
  max-width: 780px;
  margin: 0 auto;

  color: rgba(255, 255, 255, 0.8);

  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.72;
  text-align: center;

  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

/* ==========================================================================
   8. Boutons
   ========================================================================== */

.hero-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;

  margin-top: 32px;
}

.hero-showcase-button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  min-height: 60px;
  padding: 15px 22px;

  overflow: hidden;

  border-radius: 17px;

  color: #ffffff;

  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;

  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background-color 250ms ease,
    box-shadow 250ms ease;
}

.hero-showcase-button svg {
  width: 23px;
  height: 23px;

  flex: 0 0 auto;
}

.hero-showcase-button-arrow {
  width: 18px !important;
  height: 18px !important;

  transition: transform 250ms ease;
}

.hero-showcase-button--primary {
  border: 1px solid rgba(255, 169, 110, 0.4);

  background: linear-gradient(135deg, #ff8a3d 0%, #ed691c 52%, #c74717 100%);

  box-shadow:
    0 18px 46px rgba(231, 94, 18, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.hero-showcase-button--primary::before {
  content: "";

  position: absolute;
  top: -160%;
  left: -46%;

  width: 30%;
  height: 430%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );

  transform: rotate(22deg);

  transition: left 780ms ease;
}

.hero-showcase-button--primary:hover::before {
  left: 130%;
}

.hero-showcase-button--primary:hover {
  transform: translateY(-4px);

  box-shadow:
    0 26px 64px rgba(231, 94, 18, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-showcase-button--primary:hover .hero-showcase-button-arrow {
  transform: translateX(4px);
}

.hero-showcase-button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.11),
    rgba(255, 255, 255, 0.045)
  );

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-showcase-button--secondary:hover {
  border-color: rgba(255, 139, 69, 0.5);
  background: rgba(231, 111, 29, 0.14);

  transform: translateY(-4px);
}

/* ==========================================================================
   9. Informations sous les boutons
   ========================================================================== */

.hero-showcase-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;

  width: fit-content;
  max-width: 100%;
  margin: 26px auto 0;
  padding: 12px 18px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;

  background: rgba(8, 12, 17, 0.43);

  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.hero-showcase-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.73rem;
  font-weight: 700;
}

.hero-showcase-detail svg {
  width: 18px;
  height: 18px;

  color: #ff8b45;
}

.hero-showcase-detail-separator {
  width: 1px;
  height: 18px;

  background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   10. Braises
   ========================================================================== */

.hero-showcase-embers {
  position: absolute;
  inset: 0;
  z-index: 4;

  overflow: hidden;
  pointer-events: none;
}

.hero-showcase-embers span {
  position: absolute;
  bottom: -30px;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #ff7b24;

  box-shadow:
    0 0 8px #ff7b24,
    0 0 16px rgba(255, 95, 20, 0.72);

  opacity: 0;

  animation: hero-showcase-ember-rise 8s linear infinite;
}

.hero-showcase-embers span:nth-child(1) {
  left: 38%;
  animation-delay: -1s;
}

.hero-showcase-embers span:nth-child(2) {
  left: 47%;
  animation-delay: -3s;
  animation-duration: 9s;
}

.hero-showcase-embers span:nth-child(3) {
  left: 56%;
  animation-delay: -5s;
}

.hero-showcase-embers span:nth-child(4) {
  left: 63%;
  animation-delay: -2s;
  animation-duration: 10s;
}

.hero-showcase-embers span:nth-child(5) {
  left: 72%;
  animation-delay: -6s;
}

.hero-showcase-embers span:nth-child(6) {
  left: 79%;
  animation-delay: -4s;
  animation-duration: 9.5s;
}

/* ==========================================================================
   11. Indicateur de scroll
   ========================================================================== */

.hero-showcase-scroll {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 7;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  width: fit-content;
  margin-inline: auto;

  color: rgba(255, 255, 255, 0.5);

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition: color 250ms ease;
}

.hero-showcase-scroll:hover {
  color: #ff914e;
}

.hero-showcase-scroll-mouse {
  position: relative;

  width: 28px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;

  background: rgba(8, 12, 17, 0.42);
}

.hero-showcase-scroll-mouse > span {
  position: absolute;
  top: 8px;
  left: 50%;

  width: 4px;
  height: 8px;

  border-radius: 999px;

  background: #ff8b45;

  transform: translateX(-50%);

  animation: hero-showcase-wheel 1.8s ease-in-out infinite;
}

/* ==========================================================================
   12. Transition basse
   ========================================================================== */

.hero-showcase-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;

  height: 120px;

  pointer-events: none;

  background: linear-gradient(180deg, transparent, rgba(5, 8, 12, 0.96));
}

/* ==========================================================================
   13. États initiaux des animations d'entrée
   ========================================================================== */

.hero-showcase [data-hero-animate] {
  visibility: hidden;
  opacity: 0;

  will-change: opacity, transform, filter;
}

.hero-showcase [data-hero-animate="eyebrow"] {
  transform: translate3d(0, -34px, 0) scale(0.94);
}

.hero-showcase [data-hero-animate="title"] {
  transform: translate3d(0, 72px, 0) scale(0.9);

  filter: blur(12px);
}

.hero-showcase [data-hero-animate="divider"] {
  transform: scaleX(0);
  transform-origin: center;
}

.hero-showcase [data-hero-animate="description"] {
  transform: translate3d(0, 46px, 0);

  filter: blur(6px);
}

.hero-showcase [data-hero-animate="actions"] {
  transform: translate3d(0, 52px, 0) scale(0.94);
}

.hero-showcase [data-hero-animate="details"] {
  transform: translate3d(0, 42px, 0);
}

/* ==========================================================================
   14. Déclenchement des animations
   ========================================================================== */

.hero-showcase.is-loaded [data-hero-animate] {
  visibility: visible;
}

.hero-showcase.is-loaded [data-hero-animate="eyebrow"] {
  animation: braz-hero-enter 850ms 120ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-showcase.is-loaded [data-hero-animate="title"] {
  animation: braz-hero-title-enter 1150ms 300ms cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

.hero-showcase.is-loaded [data-hero-animate="divider"] {
  animation: braz-hero-divider-enter 850ms 610ms cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

.hero-showcase.is-loaded [data-hero-animate="description"] {
  animation: braz-hero-text-enter 950ms 720ms cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

.hero-showcase.is-loaded [data-hero-animate="actions"] {
  animation: braz-hero-enter 950ms 930ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-showcase.is-loaded [data-hero-animate="details"] {
  animation: braz-hero-enter 900ms 1160ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   15. Keyframes
   ========================================================================== */

@keyframes braz-hero-enter {
  0% {
    visibility: visible;
    opacity: 0;

    transform: translate3d(0, 48px, 0) scale(0.94);
  }

  100% {
    visibility: visible;
    opacity: 1;

    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes braz-hero-title-enter {
  0% {
    visibility: visible;
    opacity: 0;

    transform: translate3d(0, 72px, 0) scale(0.9);

    filter: blur(12px);
  }

  55% {
    opacity: 1;

    filter: blur(1px);
  }

  100% {
    visibility: visible;
    opacity: 1;

    transform: translate3d(0, 0, 0) scale(1);

    filter: blur(0);
  }
}

@keyframes braz-hero-text-enter {
  0% {
    visibility: visible;
    opacity: 0;

    transform: translate3d(0, 46px, 0);

    filter: blur(6px);
  }

  100% {
    visibility: visible;
    opacity: 1;

    transform: translate3d(0, 0, 0);

    filter: blur(0);
  }
}

@keyframes braz-hero-divider-enter {
  0% {
    visibility: visible;
    opacity: 0;

    transform: scaleX(0);
  }

  100% {
    visibility: visible;
    opacity: 1;

    transform: scaleX(1);
  }
}

@keyframes hero-showcase-zoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.14);
  }
}

@keyframes hero-showcase-firelight {
  from {
    opacity: 0.62;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes hero-showcase-ember-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.6);
  }

  12% {
    opacity: 0.78;
  }

  58% {
    opacity: 0.48;
  }

  100% {
    opacity: 0;
    transform: translate3d(34px, -68vh, 0) scale(0.1);
  }
}

@keyframes hero-showcase-wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* ==========================================================================
   16. Tablette
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-showcase-container {
    width: min(920px, calc(100% - 34px));
  }

  .hero-showcase-title {
    font-size: clamp(3rem, 8.5vw, 5.8rem);
  }

  .hero-showcase-description {
    max-width: 720px;
  }
}

/* ==========================================================================
   17. Mobile
   ========================================================================== */

@media (max-width: 767px) {
  .hero-showcase {
    min-height: 100svh;
  }

  .hero-showcase-background img {
    object-position: 58% center;
  }

  .hero-showcase-container {
    width: calc(100% - 28px);

    padding: 116px 0 88px;
  }

  .hero-showcase-content {
    width: 100%;
  }

  .hero-showcase-eyebrow {
    margin-bottom: 18px;
    padding: 8px 11px;

    font-size: 0.6rem;
    letter-spacing: 0.11em;
  }

  .hero-showcase-title {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
    line-height: 0.98;
  }

  .hero-showcase-divider {
    margin-block: 22px 20px;
  }

  .hero-showcase-description {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .hero-showcase-actions {
    display: grid;
    grid-template-columns: 1fr;

    gap: 11px;
    margin-top: 26px;
  }

  .hero-showcase-button {
    width: 100%;
  }

  .hero-showcase-details {
    display: grid;
    grid-template-columns: 1fr;

    width: 100%;
    gap: 10px;
    padding: 14px 16px;

    border-radius: 18px;
  }

  .hero-showcase-detail {
    justify-content: center;
  }

  .hero-showcase-detail-separator {
    display: none;
  }

  .hero-showcase-scroll {
    display: none;
  }

  .hero-showcase-bottom {
    height: 90px;
  }
}

/* ==========================================================================
   18. Petit mobile
   ========================================================================== */

@media (max-width: 420px) {
  .hero-showcase-container {
    width: calc(100% - 22px);
  }

  .hero-showcase-title {
    font-size: clamp(2.45rem, 12.5vw, 3.7rem);
  }

  .hero-showcase-description {
    font-size: 0.9rem;
  }
}
