:root {
  --bg: #0f1724; /* fundo escuro */
  --card: #ffffff;
  --muted: #94a3b8;
  --accent: #0ea5a4; /* teal-ish */
  --glass: rgba(255, 255, 255, 0.06);
  --max-width: 1200px;
  --transition: 450ms cubic-bezier(0.2, 0.9, 0.3, 1);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  background: rgb(213, 213, 213);
}

.only_acess {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.text_hauskraft {
  display: flex;
  justify-content: space-evenly;
  font-size: 3em;
  width: auto;
  text-align: center;
  line-height: 1.02;
  padding: 0px 15px 15px 15px;
  color: rgb(46, 46, 46);
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: rgb(196, 194, 194);
}

.hero_top {
  background: transparent;
  position: absolute;
  z-index: 10;
  height: auto;
  width: 100%;
}

.hero_top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.2);
}

.top-bar {
  background: transparent;
  color: #eee;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 20px;
  position: relative;
  height: auto;
  z-index: 2;
  transition: background 0.3s ease;
}

.top-bar a {
  color: #eee;
  margin-left: 12px;
  text-decoration: none;
  transition: color 0.5s;
}
.top-bar a:hover {
  color: white;
}
.headers_top {
  position: fixed;
  font-family: 'Inter', sans-serif;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translateX(-50%);
  background: rgba(255, 42, 42, 0.512);
}
.headers_top:hover {
  background: rgba(187, 50, 50, 0.9);
}
/* Logo */
.header_top {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1000;
  transition: background 0.3s ease;
}

.logo_top {
  font-size: 34px;
  font-weight: 700;
  color: white;
  margin: 0;
}
.logo_top span {
  font-size: 12px;
  font-weight: 400;
}

.social_top {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  background: transparent;
  position: relative;
  padding: 0;
  color: #eee;
}
.icon {
  text-align: center;
  gap: 12px;
}
.icon a {
  margin: 0px 5px;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-bar_top {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 30px 0px 0px 0px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: background 0.3s ease;
}
.nav-bar_top .logo {
  max-width: 200px;
  margin-bottom: 10px;
}
.nav-bar_top .menu_links {
  display: flex;
  gap: 30px;
}

.nav-bar_top .menu_links a {
  font-weight: 600;
  text-decoration: none;
  color: white;
}

.nav-bar_top a {
  color: white;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  padding: 6px 10px;
  border-radius: 4px;
}
.nav-bar_top a:hover {
  background: rgba(255, 255, 255, 0.15);
}
.carousel {
  border-radius: 0px 0px 15px 15px;
  margin: 15px;
  height: 35em;
  margin-top: 0px;
  overflow: hidden;
  position: relative;
}
.carousel .list .item {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}
.carousel .list .item.active {
  z-index: 1;
  opacity: 1;
}
.carousel .list .item picture,
.carousel .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.carousel .list .item picture:nth-child(1) {
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
}
.carousel .list .item picture:nth-child(2) {
  left: 75%;
}
.carousel .list .item picture:nth-child(3) {
  left: calc(75% + 100px);
}
.carousel .list .item picture:nth-child(4) {
  left: calc(75% + 200px);
}
.carousel .timeRunning {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 5px;
  background-color: rgba(187, 50, 50, 0.9);
  left: 0;
  top: 99%;
  animation: runningTime 15s linear 1 forwards;
}
@keyframes runningTime {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.arrows .prev {
  position: absolute;
  top: 50%;
  left: 1%;
  background: rgba(193, 193, 193, 0.714);
  border-radius: 10px;
  padding: 0px 10px;
  z-index: 100;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}
.arrows .next {
  position: absolute;
  top: 50%;
  right: 1%;
  background: rgba(193, 193, 193, 0.444);
  border-radius: 10px;
  padding: 0px 10px;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}
.arrows button {
  height: 50px;
  background: none;
  border: none;
  outline: none;
  font-size: 25px;
  font-weight: bold;
  transition: 0.5s;
  cursor: pointer;
  color: #eee;
}
.arrows button:hover {
  background: rgba(255, 255, 255, 0.15);
}
.hero_middle {
  min-height: 90vh;
  display: grid;
  place-items: center;
  position: absolute;
  overflow: hidden;
  margin: 0px 15px;
}
.hero-bg_middle {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform-origin: center;
  z-index: 0;
}
.hero-content_middle {
  display: none;
  height: auto;
  width: auto;
  position: absolute;
  top: 30%;
  left: 15%;
  background: rgba(193, 193, 193, 0.714);
  z-index: 5;
  text-align: left;
  border-radius: 10px;
  padding: 15px 35px;
  color: #fff;
}
.list .item.active .hero-content_middle {
  display: block;
}
.images {
  width: 60%;
}
.hero_middle h2 {
  font-size: 44px;
  margin-bottom: 14px;
  line-height: 1.02;
}

section_middle.content {
  padding: 84px 0 56px;
}
.section_middle-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}
.section_middle-title h3 {
  font-size: 22px;
}
.reveal_middle {
  text-align: center;
  font-weight: bold;
  height: auto;
  padding: 15px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 560ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.reveal_middle.visible {
  opacity: 1;
  transform: translateY(0);
  padding: 0px;
}
.reveal_middle p {
  font-size: 1.2em;
  font-weight: normal;
  text-align: center;
  max-width: 17em;
  max-height: 10em;
}
.text_middle {
  font-size: 45px;
  text-align: center;
}
.hero_end {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay_end {
  position: relative;
  background: rgba(149, 149, 149, 0.333);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.overlay_end.visible {
  background: rgba(196, 194, 194, 0.442);
  opacity: 1;
  width: 100%;
  transform: translateY(0);
}

.overlay_end h1 {
  font-size: 3rem;
  line-height: 1;
  margin: 0;
}

.overlay_end h1,
.overlay_end h2,
.overlay_end p {
  background: transparent;
  color: white;
  margin: 10px 0;
}
.section_end {
  position: relative;
  height: 100vh;
  margin: 0px 15px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  opacity: 0;
  transform: translateY(50px);
  transition: opacity 800ms cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 560ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.section_end.visible {
  opacity: 1;
  transform: translateY(0);
}
.section_end img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.section_end:nth-child(odd) {
  background: #111;
}

.section_end:nth-child(even) {
  background: #222;
}
.section_text {
  margin: 10px 0px;
  width: 45%;
  font-size: 20px;
}
.filter_image {
  filter: contrast(1.02) saturate(1.05) brightness(0.8);
}
#video {
  width: 100%;
  height: 100%;
}
#format_video {
  position: relative;
  display: flex;
  justify-content: center;
  width: 35em;
  height: 22em;
  margin: 15px;
}
#format_video #player iframe {
  position: relative;
  width: 100%;
  height: 100%;
}
#format_video #player {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#format_video #image_video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.player-toggle {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  transition: transform 0.12s ease;
}
.player-toggle:hover {
  transform: scale(1.04);
}
.player-toggle.is-playing .icon-play {
  opacity: 0;
  transform: scale(0.92);
}

img.logo_end {
  position: relative;
  width: 200px;
  display: flex;
}

@media (max-width: 750px) {
  .hero_middle h2 {
    font-size: 10px;
  }
  .search_middle input {
    width: 100%;
  }
  .hero_middle {
    min-height: 62vh;
    padding-top: 40px;
  }
}

@media screen and (max-width: 1024px) {
  /* NavBar */
  .nav-bar_top {
    font-size: 0.75em;
  }
  /* Conteudos do Corousel */
  .reveal_middle p {
    display: none;
  }
  .hero-content_middle {
    height: auto;
    padding: 0px;
    width: 100%;
    height: auto;
    left: 0;
    top: 87%;
    border-radius: 0px;
  }
  .reveal_middle {
    padding: 0px;
    font-size: 1em;
  }
  /* Texto central */
  .text_hauskraft {
    font-size: 2em;
    padding: 0px 15px 15px 15px;
  }
  .section_end {
    height: 75vh;
  }
  .section_text {
    font-size: 15px;
    width: 70%;
  }
  #format_video {
    width: 20em;
    height: 12em;
  }
  .player-toggle {
    width: 50px;
    height: 50px;
  }
  img.logo_end {
    width: 150px;
  }
}

@media screen and (max-width: 650px) {
  /* Limpando NavBar */
  .headers_top .nav-bar_top {
    display: none;
  }
  .headers_top {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 6em;
  }
  .top-bar {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }
  .social_top {
    padding: 5px;
  }
  .header_top {
    position: relative;
    align-items: center;
    text-align: center;
    top: 5px;
  }
  /* Conteudos do Corousel */
  .carousel {
    height: 25em;
  }
  .hero-content_middle {
    top: 83%;
  }
  /* Texto central */
  .text_hauskraft {
    font-size: 1em;
    padding: 0px 15px 15px 15px;
  }
  .section_end {
    height: 50vh;
  }
  .section_text {
    font-size: 10px;
    width: 70%;
  }
  .overlay_end h1 {
    font-size: 15px;
  }
  #format_video {
    height: 8em;
    width: 14em;
  }
  .player-toggle {
    width: 30px;
    height: 30px;
  }
  img.logo_end {
    width: 100px;
  }
}
