: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;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  background: rgb(213, 213, 213);
}

h1 {
  display: flex;
  justify-content: space-evenly;
  font-family: 'Playfair Display', serif;
  font-size: 55px;
  line-height: 1.02;
  padding: 30px;
  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;
  width: 100%;
}

.hero_top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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;
  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;
  left: 50%;
  width: 100%;
  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-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: white;
  margin: 0;
}
.logo_top span {
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  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;
}
.social_top i {
  cursor: pointer;
  transition: color 0.2s;
}
.icon {
  display: flex;
  gap: 12px;
}
.social_top i:hover {
  color: white;
}

.nav-bar_top {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 30px 0px 0px 20px;
  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: 45vw;
  margin-top: 0px;
  overflow: hidden;
  position: relative;
}
.carousel .list .item {
  position: absolute;
  background-size: cover;
  z-index: 0;
  transition: 5%;
}
.carousel .list .item:nth-child(1) {
  top: 0;
  left: 0;
  background-position: center;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
}
.carousel .list .item:nth-child(2) {
  left: 75%;
}
.carousel .list .item:nth-child(4) {
  left: calc(75% + 200px);
}
.carousel .list .item:nth-child(3) {
  left: calc(75% + 100px);
}
.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-family: 'Playfair Display', serif;
  font-weight: bold;
  transition: 0.5s;
  cursor: pointer;
  color: #eee;
}
.arrows button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.wrap_middle {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

.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;
  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:nth-child(1) .hero-content_middle {
  display: block;
}
.images {
  width: 60%;
}
.eyebrow_middle {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.hero_middle h2 {
  font-family: 'Playfair Display', serif;
  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;
  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);
}
.reveal_middle p {
  text-align: center;
  max-width: 250px;
}
.text_middle {
  font-family: 'Playfair Display', serif;
  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;
  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: 40%;
  height: 400px;
  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;
  }
}
