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;
}

/* ===== MENU ===== */
.navmenu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navmenu a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.navmenu a:hover,
.navmenu a.active {
  color: #0033CC;
}

.navmenu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #0033CC;
  transition: width 0.3s;
}

.navmenu a:hover::after,
.navmenu a.active::after {
  width: 100%;
}

/* ====== CARROSSEL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: "Segoe UI", sans-serif;
}

.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);
}

.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: 40%;
  max-width: 600px;
  position: absolute;
  bottom: 15%;
  left: 10%;
  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;
}

.vitrine-btn {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-decoration: none;
  padding: 12px 24px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  background-color: transparent;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* Botão começar invisível */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.vitrine-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 255, 0.3);
}

.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 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 5.5s; /*  tempo entre elementos */
}

/* 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;
}

/* Animações */
@keyframes fillTop {
  to { width: 100%; }
}

@keyframes fillRight {
  to { height: 100%; }
}

@keyframes fillBottom {
  to { width: 100%; }
}

@keyframes fillLeft {
  to { height: 100%; }
}


.slide:first-of-type .digitando-h1 {
  white-space: nowrap; /* impede quebra de linha */
}
.slide:nth-of-type(3) .digitando-h1 {
  white-space: nowrap; /* impede quebra de linha */
  font-size: 2.7em;
}

.content h1 {
  text-align: center;
  font-size: 3em;
  color: blue;
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 2.5s ease, opacity 2.5s ease;
}

.content p {
  text-align: center;
  font-size: 1.5em;
  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;
}

.slide.active .content h1 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.5s;
}

.slide.active .content p {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.8s; 
}

.slide.active .content h6 {
  opacity: 1;
  transform: translateX(0);
  transition-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%;
  }
}

