/* ============================================================
   Avrile — Hero Homepage
   Aurora animée + cursor displacement.
   ============================================================ */

.avr-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--avr-color-red);
  width: 100%;
}

/* ----------------------------------------------------------
   Aurora — override depuis global-classes
---------------------------------------------------------- */
.avr-hero .avr-aurora {
  inset: -6%;
  max-width: none;
  max-height: none;
}

/* ----------------------------------------------------------
   Grain
---------------------------------------------------------- */
.avr-hero .avr-grain {
  z-index: 1;
}

/* ----------------------------------------------------------
   Stage — contenu centré sur 100vh
---------------------------------------------------------- */
.avr-hero__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--avr-page-top) clamp(28px, 4.5vw, 76px) clamp(40px, 7vh, 80px);
}

/* ----------------------------------------------------------
   Headline — bloc Migra 200
---------------------------------------------------------- */
.avr-hero__headline {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  width: 100%;
  margin: 0 0 auto;
  font-family: var(--avr-font-logo);
  font-weight: var(--avr-weight-light);
  font-style: normal;
  color: var(--avr-fg);
  line-height: 0.84;
  letter-spacing: -0.018em;
  font-size: clamp(65px, 11.9vw, 202px);
}

/* ----------------------------------------------------------
   Logo — wordmark SVG au-dessus du titre (sibling du h1)
---------------------------------------------------------- */
.avr-hero__logo {
  display: block;
  align-self: flex-start;
  margin-bottom: clamp(8px, 1.4vh, 20px);
  margin-left: clamp(24px, 4vw, 72px);
}

.avr-hero__logo svg {
  display: block;
  height: clamp(60px, 11vw, 190px);
  width: auto;
  color: var(--avr-color-white);
}

/* ----------------------------------------------------------
   Lignes L1 (rotor) et L2 (for good)
---------------------------------------------------------- */
.avr-hero__l1,
.avr-hero__l2 {
  font-family: var(--avr-font-logo);
  font-style: normal;
  font-weight: var(--avr-weight-light);
}

.avr-hero__l1 {
  display: block;
  text-align: left;
  align-self: flex-start;
  margin-left: clamp(60px, 10vw, 180px);
}

.avr-hero__l2 {
  display: block;
  text-align: left;
  align-self: flex-start;
  padding-left: 0;
  margin-top: 0.05em;
}

.avr-hero__l2 em {
  font-family: var(--avr-font-logo);
  font-style: italic;
  font-weight: var(--avr-weight-light);
}

/* ----------------------------------------------------------
   Foot — mention + tagline
---------------------------------------------------------- */
.avr-hero__foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  width: 100%;
}

.avr-hero__mention {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--avr-font-body);
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: var(--avr-weight-regular);
  letter-spacing: var(--avr-tracking-none);
  line-height: 1.45;
  color: var(--avr-color-white);
  white-space: nowrap;
}

.avr-hero__foot-tag {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(14px, 1.8vh, 22px);
}

.avr-hero__tag {
  margin: 0;
  text-align: right;
  align-self: flex-end;
  max-width: 460px;
  font-family: var(--avr-font-body);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.55;
  font-weight: var(--avr-weight-regular);
  color: var(--avr-fg);
  text-wrap: pretty;
}

.avr-hero__rule {
  display: none;
}

/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */
@media (max-width: 760px) {
  .avr-hero__stage {
    padding: var(--avr-page-top) 22px 44px;
    justify-content: flex-start;
  }

  .avr-hero__headline {
    flex: 0 0 auto;
    font-size: clamp(50px, 15.3vw, 87px);
  }

  .avr-hero__logo svg {
    height: clamp(44px, 14vw, 80px);
  }

  .avr-hero__l1 {
    margin-left: clamp(28px, 10vw, 80px);
  }

  .avr-hero__l2 {
    padding-left: 0;
  }

  .avr-hero__foot {
    margin-top: auto;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 28px;
  }

  .avr-hero__foot-tag {
    align-items: flex-start;
  }

  .avr-hero__mention {
    white-space: normal;
  }

  .avr-hero__tag {
    max-width: 100%;
    text-align: left;
  }
}

