.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-slider {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  background-color: #002349;
  position: relative;
  isolation: isolate;
  user-select: none;
  padding: 5rem 0;
}

.hero-slide::before {
  content: "";
  position: relative;
  width: 100%;
  height: 50%;
}

.slide-bg-1::before {
  background: url(../images/hero/valvula-esfera-tripartida-roscada.webp)
    center/cover no-repeat;
}

.slide-bg-2::before {
  background: url(../images/hero/valvula-de-retencao.webp) center/cover
    no-repeat;
}

.slide-bg-3::before {
  background: url(../images/hero/valvula-esfera-monobloco.webp) center/cover
    no-repeat;
}

.content {
  width: 100%;
  padding: 32px 0;
}

.hero-slide h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-slide h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 150%;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-slide p,
.hero-slide li {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 150%;
}

.hero-slide ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style-type: none;
  padding: 0;
}

.hero-slide .primary-btn {
  margin-top: 24px;
}

.hero-controls {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.dots {
  display: flex;
  gap: 24px;
}

.dot {
  width: 32px;
  height: 8px;
  background-color: #d9d9d9;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  position: relative;
  z-index: 1;
}

.dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 24px;
  height: 1px;
  background-color: #bfb8b3;
  cursor: pointer;
  pointer-events: none;
}

.dot:last-of-type::after {
  display: none;
}

.dot.active {
  background-color: #f20000;
}

.scroll-icon {
  cursor: pointer;
  text-decoration: none;
}

.scroll-icon svg {
  width: 32px;
  height: auto;
}

@media screen and (min-width: 425px) {
  .hero-slide h2 {
    font-size: 2.25rem;
  }
}

@media screen and (min-width: 768px) {
  .hero-slide h2 {
    font-size: 2.5rem;
  }
  .hero-slide h3 {
    font-size: 1.125rem;
  }
  .content {
    width: 55%;
    padding: 0;
  }
  .hero-slide {
    flex-direction: row;
  }
  .hero-slide::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: -1;
  }
  .hero-controls {
    bottom: 96px;
  }
}

@media screen and (min-width: 1024px) {
  .hero-slide h2 {
    font-size: 3rem;
  }
}

/* HERO BOTTOM */
.hero-bottom {
  background-color: #f7f7f7;
  padding: 48px 0;
}

.hero-bottom__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hero-bottom__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-bottom__item h3 {
  color: #000;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 150%;
}

.hero-bottom__item p {
  color: #5a5a5a;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 150%;
}

@media screen and (min-width: 768px) {
  .hero-bottom__items {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-bottom__item h3 {
    font-size: 1.25rem;
  }
  .hero-bottom__item p {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1024px) {
  .hero-bottom {
    background: none;
    padding: 0;
    margin-top: -64px;
    position: relative;
  }
  .hero-bottom .container {
    background-color: #f7f7f7;
    padding: 64px;
    border-radius: 16px;
  }
}

@media screen and (min-width: 1280px) {
  .hero-bottom .container {
    padding: 80px;
  }
}

/* PRODUTOS */
.produtos {
  padding: 5rem 0;
}

.produtos-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 80px;
}

.produtos-cards__card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.produtos-cards__card a {
  text-decoration: none;
}

.produtos-cards__card img {
  width: 100%;
  object-fit: cover;
  padding: 32px;
  background-color: #f7f7f7;
}

.produtos-cards__card-content {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.produtos-cards__card-content span {
  color: #767676;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.produtos-cards__card-content h3 {
  color: #1e1e1e;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  margin-bottom: 32px;
}

.produtos-cards__card-content .primary-btn {
  margin-bottom: 16px;
}

.produtos-cards__card-content .primary-btn,
.produtos-cards__card-content .secondary-btn {
  width: 100%;
}

@media screen and (min-width: 650px) {
  .produtos-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
  .produtos-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .produtos-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* SOBRE */
.sobre {
  padding: 5rem 0 0;
  background-color: #f7f7f7;
}

.sobre .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  width: 100%;
  align-items: center;
}

.sobre .container > img {
  width: 100%;
  object-fit: cover;
}

.sobre-content {
  padding: 0 5%;
}

.sobre-content img {
  margin-bottom: 32px;
}

.sobre-content p {
  color: #303030;
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 24px;
}

@media screen and (min-width: 1024px) {
  .sobre {
    padding: 5rem 0;
  }
  .sobre .container {
    width: 90%;
    grid-template-columns: repeat(2, 1fr);
  }
  .sobre .container > img {
    clip-path: polygon(
      0 5%,
      5% 0,
      75% 0,
      100% 25%,
      100% 95%,
      95% 100%,
      25% 100%,
      0 75%
    );
  }
  .sobre-content {
    padding: 0;
  }
}

/* INFORMACOES */
.informacoes {
  padding: 5rem 0;
}

.informacoes-slider__container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  width: 90%;
  margin: 64px auto 0;
  max-width: 1520px;
}

.informacoes-slider__container::-webkit-scrollbar {
  display: none;
}

.informacoes-slider__container.active {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.informacoes-slider__card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 90%;
  background: #fff;
  border-bottom: 8px solid #002649;
  user-select: none;
  scroll-snap-align: center;
}

.informacoes-slider__card-img {
  width: 100%;
}

.informacoes-slider__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 300px;
  pointer-events: none;
}

.informacoes-slider__card-content {
  background-color: #f7f7f7;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.informacoes-slider__card-content span {
  color: #767676;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}

.informacoes-slider__card-content h3 {
  color: #002649;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  margin-bottom: 24px;
}

.informacoes-slider__card-content p {
  color: #5a5a5a;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 24px;
}

.controls-container {
  display: flex;
  align-items: center;
  margin-top: 64px;
  gap: 64px;
}

.arrows {
  display: flex;
  gap: 12px;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ebebeb;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.arrow-btn:hover {
  background: #f6f6f6;
  border-color: #e5e5e5;
}

.progress-track {
  width: 100%;
  height: 3px;
  background-color: #ddd;
  position: relative;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #e3000f;
  width: 15%;
  transition: width 0.5s ease;
}

@media screen and (min-width: 1024px) {
  .informacoes-slider__container {
    width: 100%;
    max-width: 100%;
  }
  .informacoes-slider__card {
    flex-direction: row;
    width: 75%;
  }
  .informacoes-slider__card-content,
  .informacoes-slider__card-img {
    width: 100%;
  }
  .informacoes-slider__card-content {
    padding: 32px;
    width: 40%;
  }
  .informacoes-slider__card-img {
    width: 60%;
  }
  .informacoes-slider__card-img img {
    max-height: 100%;
  }
}

@media screen and (min-width: 1280px) {
  .informacoes-slider__card {
    width: 60%;
  }
}
