body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
}

/* ===== CABEÇALHO ===== */
.header {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header .container-xl {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.header .logo img {
  height: 40px;
  width: auto;
  margin-left: -30px;
}

/* ===== MENU ===== */
.navmenu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navmenu a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  transition: color 0.5s, transform 0.3s;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}





.navmenu a {
  padding-left: 12px !important;
  position: relative;
}

.navmenu a:hover {
  color: #0066FF;
}

.navmenu a.active {
  color: #fff;
  text-decoration: none;
}



.navmenu a::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #0066FF;
  transition: width 0.3s ease;
}

.navmenu a:hover::after {
  width: calc(100% - 12px);
}

.navmenu a.active::after {
  width: 0;
}

.navmenu a::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 8px;
  height: 8px;
  background: #0066FF;
  border-radius: 0;
  box-shadow: 0 0 10px #0066FF, 0 0 20px rgba(0, 102, 255, 0.4);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.navmenu a.active::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

/* ====== CARROSSEL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

.carousel {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  perspective: 1000px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 3s ease-in-out, transform 3s ease-in-out;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Camada de parallax para a imagem de fundo */
.slide::after {
  content: '';
  position: absolute;
  top: -1%;
  left: -1%;
  width: 102%;
  height: 102%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform: translateZ(-0.2px) scale(1) translate(var(--parallax-x, 0px), var(--parallax-y, 0px));
  z-index: 0;
  transition: transform 0.1s ease-out;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.slide-leaving {
  opacity: 0;
  transform: scale(0.95);
}

.content {
  top: 45%;
  max-width: 1000px;
  position: absolute;
  bottom: 15%;
  left: 1%;
  color: #fff;
  width: 80%;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: translateY(-50%) translateY(20px);
  text-align: left;
  opacity: 0;
  z-index: 2;
  padding: 20px;
  box-sizing: border-box;
}

.slide.active .content {
  transform: translateY(-50%);
  opacity: 1;
}

.btn-saiba-mais {
  text-decoration: none;
}

.vitrine-btn {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-decoration: none;
  padding: 14px 32px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  background-color: transparent;
  cursor: pointer;
  overflow: hidden;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Botão começar invisível */
  opacity: 0;
  transform: translateY(20px);
}

.vitrine-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0066FF, #0066FF);
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vitrine-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 51, 204, 0.5);
  border-color: transparent;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vitrine-btn:hover::before {
  width: 100%;
}

.vitrine-btn span {
  position: absolute;
  background-color: #00f;
}

.slide .vitrine-btn-top,
.slide .vitrine-btn-right,
.slide .vitrine-btn-bottom,
.slide .vitrine-btn-left {
  animation: none;
}

/* Botão aparece depois do h6 */
.slide.active .vitrine-btn {
  animation: slideInBtn 1s ease forwards;
  animation-delay: 5.5s;
}

/* Bordas só animam após o botão aparecer */
.slide.active .vitrine-btn-top {
  animation: fillTop 0.5s forwards;
  animation-delay: 5.7s;
}

.slide.active .vitrine-btn-right {
  animation: fillRight 0.5s forwards;
  animation-delay: 6.2s;
}

.slide.active .vitrine-btn-bottom {
  animation: fillBottom 0.5s forwards;
  animation-delay: 6.7s;
}

.slide.active .vitrine-btn-left {
  animation: fillLeft 0.5s forwards;
  animation-delay: 7.2s;
}

/* Top */
.vitrine-btn-top {
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  animation: fillTop 1s forwards;
}

/* Right */
.vitrine-btn-right {
  top: 0;
  right: 0;
  width: 2px;
  height: 0;
  animation: fillRight 1s forwards;
  animation-delay: 1s;
}

/* Bottom */
.vitrine-btn-bottom {
  bottom: 0;
  right: 0;
  height: 2px;
  width: 0;
  animation: fillBottom 1s forwards;
  animation-delay: 2s;
}

/* Left */
.vitrine-btn-left {
  bottom: 0;
  left: 0;
  width: 2px;
  height: 0;
  animation: fillLeft 1s forwards;
  animation-delay: 3s;
}

/* Keyframes para entrada do conteúdo */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInBtn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animações */
@keyframes fillTop {
  to {
    width: 100%;
  }
}

@keyframes fillRight {
  to {
    height: 100%;
  }
}

@keyframes fillBottom {
  to {
    width: 100%;
  }
}

@keyframes fillLeft {
  to {
    height: 100%;
  }
}


.slide .digitando-h1 {
  white-space: normal;
  line-height: 1.1;
  font-size: 3em;
  font-weight: 800;
  background: linear-gradient(90deg, #0066FF, #002299);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  padding-bottom: 15px;
}

.slide h6 {
  font-size: 1em;
  white-space: nowrap;
}

.content h1 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
  font-size: 2.5em;
  color: blue;
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 2.5s ease, opacity 2.5s ease;
}

.content p {
  text-align: center;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 1.6;
  opacity: 0;
  transform: translateX(100px);
  transition: transform 2.5s ease, opacity 2.5s ease;
}

.content h6 {
  text-align: center;
  font-size: 1em;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 2.5s ease, opacity 2.5s ease;
  margin-top: -10px;
}

.slide.active .content h1 {
  animation: slideInLeft 2.5s ease forwards;
  animation-delay: 1.5s;
}

.slide.active .content p {
  animation: slideInRight 2.5s ease forwards;
  animation-delay: 2.8s;
}

.slide.active .content h6 {
  animation: slideInUp 2.5s ease forwards;
  animation-delay: 3.8s;
}

/* controles dos slides */
.controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 80px;
  z-index: 3;
}

button.prev,
button.next {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1em;
  cursor: pointer;
  transition: color 0.3s;
}

button.prev:hover,
button.next:hover {
  color: blue;
}

.indicators {
  display: flex;
  gap: 40px;
}

.dot {
  position: relative;
  height: 6px;
  width: 6px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
  background-color: white;
}

.loader {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(blue 0%, transparent 0%);
  mask-image: radial-gradient(circle at center, transparent 48%, black 49%);
  z-index: -1;
  opacity: 1;
  transition: background 0.3s;
}

/* mobile */
@media screen and (max-width: 768px) {
  .content {
    bottom: 10%;
    left: 5%;
    max-width: 90%;
  }

  .content h1 {
    font-size: 2em;
    opacity: 0;
    transform: translateX(-100px);
    transition: transform 2.5s ease, opacity 2.5s ease;
  }
}

.mobile-nav-toggle {
  display: none;
}

/* ===== BOTÃO FLUTUANTE CONECTRON ===== */
.conectron-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  animation: float 3s ease-in-out infinite;
  text-decoration: none;
}

.conectron-float-btn:hover {
  transform: translateY(-8px) scale(1.1);
}

.conectron-float-btn:active {
  transform: translateY(-4px) scale(1.05);
}

.conectron-float-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative;
  z-index: 1;
}

.conectron-float-btn:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 12px rgba(0, 51, 204, 0.5));
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .conectron-float-btn {
    width: 70px;
    height: 70px;
    bottom: 50px;
    right: 20px;
  }

  .conectron-float-btn img {
    width: 100%;
    height: 100%;
  }
}
