/**
 * @file
 * Hero styles
 */

.hero {
  display: grid;
  /* gap: 10.5rem; */
}
.hero:not(.hero--homepage) .hero__text h1,
.hero__text .subtitle {
  font-size: var(--heading-size-s);
  font-weight: 500;
  font-family: "source-sans-3", sans-serif;
}
.hero__text p:not(.subtitle) {
  padding-top: 1.5rem;
}
@media all and (min-width: 1000px) {
  .hero:not(.hero--homepage) .hero__text h1 {
    font-size: var(--heading-size-l);
  }
  .hero__text .subtitle {
    font-size: var(--heading-size-m);
  }
}


/**
 * Hero homepage
 */

.hero--homepage {
  justify-content: center;
}
.hero--homepage .hero__text,
.hero__subtitle,
.hero__town{
  text-align: center;
}
.hero__text p{
  font-weight: 400;
  /* line-height: 36px; */
}
.hero--homepage .hero__link {
  margin: 0 auto;
}
.hero__title{
  text-align: center;
}
.hero__subtitle {
  color: var(--neutral-75, #433D3D);
  font-family: "source-sans-3", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.hero__town {
  color: var(--brand-impact, #DE3410);
  font-family: "interpol-sans", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 850;
  line-height: normal;
}
.hero--homepage .hero__text p{
  font-size: 1rem;
}
.hero__link .cta{
  margin-top: 1.5rem;
  padding: 12px 32px;
  font-size: 1rem;
}


@media all and (min-width: 1000px) {
  .hero__subtitle,
  .hero__town {
    font-size: 2rem;
  }
  .hero--homepage .hero__text p{
    font-size: 20px;
  }
  .hero__link .cta{
    font-size: 1.25rem;
  }
}


/**
 * Hero paragraph
 */

.hero--paragraph {
  position: relative;
}

.hero--paragraph::after {
  position: absolute;
  z-index: 100;
  content: '';
  background: url(../../images/hero/blue-flame.svg);
  background-repeat: no-repeat;
  width: 100%;
  height: 70%;
  bottom: 0;
}

.hero--paragraph .cta{
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
}

.hero__wrapper{
  display: flex;
  flex-direction: column;
}
.hero__content {
  z-index: 150;
  margin-top: 1.5rem;
}

.hero__text p {
  font-size: 1.25rem;
  font-weight: 400;
}

.hero__picto {
  margin: 0 auto;
  z-index: 105;
}

@media all and (min-width: 1000px) {
  .hero--paragraph::before {
    position: absolute;
    z-index: 100;
    content: '';
    background: url(../../images/hero/blue-flame.svg);
    background-repeat: no-repeat;
    width: 680px;
    height: 500px;
    bottom: 0;
  }
  .hero__wrapper{
    flex-direction: row;
    margin-top: 3rem;
    margin-bottom: 5rem;
  }
  .hero__content{
    max-width: 695px;
    margin-top: inherit;
  }
}


