:root {
  --red: #ff3c3c;
  --text-white: #ffffff;
  --bg-black: #0a0a0a;
  --nav-bg: rgba(10, 10, 10, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.preloader-logo {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 10px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.95);
  }
}

/* NAVEGAÇÃO */
.nav-glass {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 2px;
}

.logo .tag {
  color: var(--red);
  font-size: 12px;
  vertical-align: top;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  margin: 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--red);
}

.btn-nav {
  background: transparent;
  border: 1px solid var(--text-white);
  color: var(--text-white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-nav:hover {
  background: var(--text-white);
  color: var(--bg-black);
}

/* HERO SECTION */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  z-index: 10;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(60px, 15vw, 180px);
  font-weight: 900;
  line-height: 0.8;
  margin-bottom: 10px;
  letter-spacing: -5px;
}

.subtitle-red {
  color: var(--red);
  font-weight: 600;
  letter-spacing: 8px;
  margin-bottom: 40px;
  font-size: clamp(12px, 2vw, 18px);
}

.btn-main-pill {
  background: var(--text-white);
  color: var(--bg-black);
  border: none;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.btn-main-pill:hover {
  transform: scale(1.05);
  background: var(--red);
  color: var(--text-white);
}

/* TEAM SECTION & CAROUSEL */
.onelife-team {
  padding: 120px 0;
  background: var(--bg-black);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header .sub {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 900;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.team-grid {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  width: max-content;
}

.team-card {
  width: 280px; /* Tamanho reduzido */
  height: 380px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.team-card:hover img {
  transform: scale(1.1);
}

.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  z-index: 5;
}

.badge.red {
  background: var(--red);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay span {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
}

/* QUEM SOMOS SECTION */
.quem-somos {
  padding: 180px 0; /* Aumentado o padding para mais respiro */
  background: var(--bg-black);
  text-align: center;
}

.quem-somos-content {
  max-width: 800px;
  margin: 0 auto;
}

.quem-somos-content p {
  font-size: 18px;
  line-height: 1.8; /* Aumentado o line-height para melhor legibilidade */
  margin-bottom: 30px; /* Aumentado o espaçamento entre parágrafos */
  opacity: 0.9;
}

.quem-somos-content p:last-child {
  margin-bottom: 0;
}

/* CTA FINAL */
.cta-final {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-bg-fix-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg-fix-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-content h2 {
  font-size: clamp(40px, 10vw, 100px);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-container {
    padding: 20px;
  }
  .container {
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 80px;
  }
}
