/* ===== Intro (header + hero) ===== */
.intro {
  position: relative;
  background: var(--color-bg-dark);
  overflow-x: hidden;
  --bg-pattern-height: 870px;
}

.intro__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.intro__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--bg-pattern-height);
  background-image: url('../images/galeria/bg-octogono-top.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
}

.intro__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 12%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 45%, var(--color-bg-dark) 70%);
}

/* ===== Outro (notícias + fundo inferior) ===== */
.outro {
  position: relative;
  background: var(--color-bg-dark);
  overflow-x: hidden;
  --bg-pattern-height: 870px;
}

.outro__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.outro__bg-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bg-pattern-height);
  background-image: url('../images/galeria/bg-octogono-bottom.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
}

.outro__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, transparent 12%),
    linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.25) 45%, var(--color-bg-dark) 70%);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 870px;
  color: var(--color-text);
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 92px 24px 80px 24px;
}

.hero__label {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 16.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 28px;
}

.hero__content {
  display: flex;
  align-items: flex-start;
  gap: 37px;
}

.hero__bull {
  flex-shrink: 0;
  width: 196px;
  padding-top: 28px;
}

.hero__bull img {
  width: 100%;
  height: 211px;

}

.hero__body {
  flex: 1;
  min-width: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.875rem);
  font-style: normal;
  font-weight: 400;
  line-height: 54px;
  letter-spacing: -2.6px;
  text-transform: uppercase;
  max-width: 1023px;
  padding-top: 28px;
}

.hero__description {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  max-width: 975px;
}

.hero__info {
  display: flex;
  align-items: flex-end;
  gap: 70px;
  margin-top: 52px;
  flex-wrap: wrap;
  max-width: 789px;
  justify-content: center;
}

.hero__date {
  flex-shrink: 0;
  line-height: 0;
}

.hero__date-image {
  display: block;
  width: 272px;
  height: 95px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.hero__event-logo {
  flex-shrink: 0;
  width: 213px;
}

.hero__event-logo img {
  width: 212px;
  height: 95px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.btn-lancamento {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.35px;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  gap: 8px;
  height: 40px;
  border: 1px solid var(--color-border-light);
  color: var(--color-text);
  padding-inline: 25px;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn__ar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border: 1px solid var(--color-text);
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-scroll);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.7px;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
  .hero__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__label { 
    margin-bottom: 23px;
  }

  .hero__bull {
    width: 131px;
    padding-top: 0;
    height: 141px;
  }

  .hero__bull img {
    height: 141px;
  }

  .hero__title,
  .hero__description {
    padding-top: 0;
  }

  .hero__info {
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-lancamento {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .intro,
  .outro {
    --bg-pattern-height: 240px;
  }

  .hero {
    min-height: auto;
  }

  .hero__container {
    padding-bottom: 100px;
  }
}

@media (max-width: 569px) {
  .hero__info {
    gap: 32px;
  }

  .hero__actions {
    margin-top: 58px;
  }
}

@media (max-width: 375px) {

  .hero__container {
    padding-top: 32px;
    padding-bottom: 58px;
  }

  .hero__title {
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.2px;
  }

  .hero__description {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: -0.2px;
  }

  .btn-lancamento {
    max-width: 298px;
    font-size: 14px;
  }

  .btn--ghost {
    max-width: 298px;
    font-size: 14px;
  }

  .hero__scroll {
   display: none;
  }
}

@media (max-width: 2251px) {
  .intro__bg-pattern   {
    background-size: auto;
  }
  .outro__bg-pattern {
    background-size: auto;
    height: stretch;
  }
}

@media (max-width: 2251px) {
  .intro__bg-pattern   {
    background-size: auto;
  }
  .outro__bg-pattern {
    background-size: auto;
    height: stretch;
  }
}
