/* ================================
   AERYS INSTITUT — Hero
   ================================ */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fond dégradé radial — adapté aux tons dorés de l'image */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 80% at 25% 50%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.5) 40%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 70% at 60% 30%,
      rgba(240, 230, 208, 0.4) 0%,
      transparent 60%
    ),
    linear-gradient(
      135deg,
      var(--blush-light) 0%,
      var(--gold-pale) 50%,
      var(--blush) 100%
    );
}

/* Formes organiques décoratives */
.hero-petal-1 {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50% 30% 50% 30%;
  background: rgba(255, 255, 255, 0.55);
  top: -120px;
  right: 80px;
  transform: rotate(18deg);
}

.hero-petal-2 {
  position: absolute;
  width: 380px;
  height: 460px;
  border-radius: 40% 60% 30% 60%;
  background: rgba(196, 162, 97, 0.06);
  bottom: -60px;
  right: 220px;
  transform: rotate(-12deg);
}

.hero-petal-3 {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(196, 162, 97, 0.2);
  top: 18%;
  right: 20%;
}

.hero-petal-4 {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(196, 162, 97, 0.12);
  top: 24%;
  right: 24.5%;
}

/* Contenu texte */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  margin-top: 50px;
  max-width: 660px;
  animation: heroReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose-accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 34px;
  height: 1px;
  background: var(--rose-accent);
}

.hero-eyebrow img {
  padding: 5px;
  max-width: 150px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 66px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--rose-accent);
}
.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 15px;
  line-height: 2;
  color: var(--text-mid);
  max-width: 800px;
  margin-bottom: 50px;
  letter-spacing: 0.03em;
  text-align: justify;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-btns {
    display: none;
  }
  .hero-bg-img {
    display: none;
  }
}

/* Indicateur de scroll */
.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-light);
  animation: heroReveal 2s 0.6s both;
}

.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2.2s ease-in-out infinite;
}

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

.hero-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 500px;
  max-width: 1500px;
  position: absolute;
  right: 0;
}

/* Image hero droite */
.hero-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Badge flottant par-dessus l'image */
.panel-badge {
  position: absolute;
  bottom: 60px;
  left: 20px;
  background: var(--white);
  padding: 18px 24px;
  box-shadow: 0 20px 56px rgba(196, 121, 106, 0.15);
  z-index: 2;
}

.panel-badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  display: block;
}

.panel-badge .lbl {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    padding: 0 24px;
  }

  .hero-scroll {
    display: none !important;
  }
}
