/* public/css/site/layout.css */

section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-top-border {
  border-top: 1px solid var(--color-bright-transparency-1);
}

.repeat-bg {
  background-size: auto;
  background-repeat: repeat;
  background-position: 0 80px;
}

.section-wrap {
  width: 100%;
}

.section-wrap.bg-black-90 {
  background-color: rgba(0, 0, 0, 0.9);
}

.section-wrap.bg-black-80 {
  background-color: rgba(0, 0, 0, 0.8);
}

.section-wrap.bg-black-50 {
  background-color: rgba(0, 0, 0, 0.5);
}

.section-wrap.bg-gradient-black-transparent {
  background: linear-gradient(90deg, #000000 10vw, transparent 100%);
}

.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 0;
}

.section-title {
  position: relative;
  text-align: center;
  line-height: 1;
}

.section-title h1,
.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 80px;
  display: inline-block;
}

.section-title h1.top-border,
.section-title h2.top-border {
  border-top: 10px solid rgba(255, 255, 255, 0.05);
}

.section-title h1 span,
.section-title h2 span {
  font-weight: 300;
}

.section-title h1::after,
.section-title h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  background: var(--color-primary-gradient);
  margin: 20px auto 0;
  border-radius: 5px;
}

/* =================================== */
/* === RESPONSIVIDADE PARA LAYOUTS === */
/* =================================== */

@media (max-width: 992px) {
    .section-container {
        /* Reduz o padding lateral em telas de tablet */
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    .section-container {
        /* Reduz o padding geral em telas menores */
        padding-top: 60px;
        padding-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-title h1,
    .section-title h2 {
        /* Diminui o tamanho dos títulos de seção */
        font-size: 2.5rem;
        padding-bottom: 60px;
    }

    .section-title h1::after,
    .section-title h2::after {
        margin-top: 25px;
    }
}