/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */

.hero {
  /* Il nav in homepage e' absolute e ci si sovrappone (vedi nav.css),
     quindi la hero occupa da sola tutta la prima schermata. */
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -30%; /* spazio extra in basso per il movimento */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.4) 0%,
    rgba(0,0,0,.2) 35%,
    rgba(0,0,0,.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px 40px;
}

h1.hero-title {
  font-size: var(--t-titolo);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 40px;
}

h1.hero-title strong {
  font-weight: 700;
  display: block;
}

.hero-discover {
  display: inline-flex;
  align-items: center;
  font-size: var(--t-pulsante);
  font-weight: var(--peso-pulsante);
  font-family: inherit;
  letter-spacing: var(--ls-pulsante);
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 0;
  padding: 13px 36px;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}

.hero-discover:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--accent);
}
