/* ========== CSS Variables ========== */
:root {
  --color-bg: #050505;
  --color-bg-alt: #0a0a0a;
  --color-primary: #FFA200;
  --color-primary-glow: rgba(255, 162, 0, 0.4);
  --color-white: #FFFFFF;
  --color-text-gray: #a0a0a0;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);

  --font-title: 'Montserrat', sans-serif;
  --font-text: 'Open Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255, 162, 0, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 162, 0, 0.05), transparent 25%);
}

img { max-width: 100%; height: auto; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
}

.text-gradient {
  background: linear-gradient(135deg, #FFF 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== Components: Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #000;
}

.btn--glow:hover {
  box-shadow: 0 0 20px var(--color-primary-glow);
  transform: translateY(-2px);
}

.btn--secondary {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  backdrop-filter: blur(5px);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #000;
}

.btn--small { padding: 8px 16px; font-size: 0.85rem; }

/* ========== Layout ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }

.section__header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section__subtitle {
  color: var(--color-text-gray);
  font-size: 1.125rem;
}

/* ========== Navbar (CORRIGIDA) ========== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
  padding: 16px 0;
  height: 80px;
}

.navbar__container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.navbar__logo i { color: var(--color-primary); }
.navbar__logo span { color: var(--color-primary); }

.navbar__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar__nav { 
  display: flex; 
  gap: 32px; 
}

.navbar__nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #ccc;
  transition: var(--transition);
  position: relative;
}

.navbar__nav a:hover, 
.navbar__nav a.active { 
  color: var(--color-white); 
}

.navbar__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

.navbar__burger { 
  display: none; 
  background: none; 
  border: none; 
  color: #fff; 
  font-size: 1.5rem; 
  cursor: pointer;
  z-index: 1001;
}

.btn-text {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.btn-text:hover { color: var(--color-primary); }

/* ========== Mobile Drawer (CORRIGIDO) ========== */
.navbar__drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #0a0a0a;
  border-left: 1px solid #222;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1002;
  overflow-y: auto;
}

.navbar__drawer.active {
  right: 0;
}

/* Overlay para fechar o menu ao clicar fora */
.navbar__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.navbar__overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #222;
  margin-bottom: 30px;
}

.drawer__logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.navbar__drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
}

.navbar__drawer-close:hover {
  color: var(--color-primary);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.drawer__link {
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  padding: 10px 0;
}

.drawer__link:hover {
  color: var(--color-primary);
}

.drawer__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Mobile Logic */
@media (max-width: 768px) {
  .navbar__nav, 
  .navbar__right .btn-text,
  .navbar__right .btn { 
    display: none; 
  }

  .navbar__burger { 
    display: block; 
  }
}

/* ========== Hero Section ========== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url('https://images.unsplash.com/photo-1581094288338-2314dddb7ece?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  margin-top: 80px;
  padding: 60px 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,5,0.3), var(--color-bg));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  background: rgba(255, 162, 0, 0.15);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #ddd;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #bbb;
}

.avatars { display: flex; margin-right: 10px; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  border: 2px solid var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }

/* ========== Cards (Glassmorphism) ========== */
.carreiras__carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 4px;
  padding-bottom: 40px;
}

.career-card, .feature-card, .plano-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.career-card { min-width: 300px; }

.career-card:hover, .feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.career-card__title { color: var(--color-primary); font-size: 1.5rem; margin-bottom: 16px; }
.career-card__list li {
  margin-bottom: 8px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 8px;
}
.career-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ========== Features Grid ========== */
.como__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card__title { color: var(--color-white); margin-bottom: 12px; }
.feature-card__text { color: var(--color-text-gray); font-size: 0.95rem; }

/* ========== Depoimentos (CORRIGIDO) ========== */
.depoimentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.testimonial-card__photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.testimonial-card__info {
  display: flex;
  flex-direction: column;
}

.testimonial-card__author {
  color: var(--color-white);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.2;
}

.testimonial-card__role {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.stars {
  color: var(--color-primary);
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  color: #ccc;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Botão "Ver Mais Depoimentos" */
.depoimentos__cta {
  text-align: center;
  margin-top: 40px;
}

/* ========== Modal (CORRIGIDO) ========== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.modal__close:hover {
  color: var(--color-primary);
}

.modal__title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-white);
}

/* ========== Parceiros (Marquee Animation) ========== */
.parceiras { 
  background: #000; 
  overflow: hidden; 
  padding: 60px 0; 
  border-top: 1px solid #222; 
  border-bottom: 1px solid #222;
}

.parceiras__wrapper { 
  width: 100%; 
  overflow: hidden; 
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}

.parceiras__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.parceiras__item {
  font-size: 1.5rem;
  color: #555;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ========== Pricing (Destaque) ========== */
.precos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.plano-card {
  position: relative;
  border: 1px solid #333;
}

.plano-card--destaque {
  background: rgba(255, 162, 0, 0.05);
  border: 1px solid var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 162, 0, 0.1);
  z-index: 2;
}

.plano-card__title { font-size: 1.75rem; margin-bottom: 24px; }
.plano-card__list { margin-bottom: 32px; }
.plano-card__list li {
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  color: #ddd;
}
.plano-card__list li i { color: var(--color-primary); }

/* ========== Indicadores ========== */
.indicadores__grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.kpi__number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  display: block;
  line-height: 1;
}
.kpi__label { 
  color: var(--color-primary); 
  text-transform: uppercase; 
  font-size: 0.9rem; 
  letter-spacing: 1px; 
  margin-top: 10px;
}

/* ========== Footer ========== */
.footer {
  background: #020202;
  border-top: 1px solid #111;
  padding: 80px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}
.footer h4 { margin-bottom: 24px; color: var(--color-white); }
.footer__link { 
  color: #666; 
  transition: 0.2s; 
  display: block; 
  margin-bottom: 12px;
}
.footer__link:hover { color: var(--color-primary); }

.newsletter-form { display: flex; gap: 10px; }
.newsletter-form__input {
  background: #111;
  border: 1px solid #333;
  padding: 12px;
  color: white;
  border-radius: 4px;
  flex: 1;
}

.footer__copy {
  text-align: center;
  color: #666;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #111;
}

/* Responsividade Básica Ajustes */
@media (max-width: 768px) {
  .plano-card--destaque { transform: scale(1); }
  .hero { background-position: center; }

  .depoimentos__grid {
    grid-template-columns: 1fr;
  }
}