/* RESET & VARIÁVEIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --bg-color: #030712;
  --card-bg: #0b0f19;
  --card-border: #1e293b;
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --gradient-purple: linear-gradient(135deg, #6366f1, #a855f7);
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

span {
  color: var(--primary-color);
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background-color: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--card-border);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.logo i {
  color: var(--primary-color);
}

.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.navbar nav a:hover, .navbar nav a.active {
  color: var(--text-main);
}

.nav-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* BOTÕES GERAIS */
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--card-border);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: var(--card-border);
}

.btn-outline-full {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--card-border);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.btn-primary-full {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem;
  gap: 2rem;
}

.hero-content {
  max-width: 50%;
}

.badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
}

.stat-item h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.stat-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.hero-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* PARCEIROS */
.partners {
  text-align: center;
  padding: 2rem 4rem;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.partners p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.partners-logos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--text-muted);
  font-weight: bold;
}

/* LAYOUT SEÇÕES */
section {
  padding: 5rem 4rem;
}

.subtitle {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
}

.btn-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

/* SERVIÇOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
  transition: 0.3s;
}

.service-card:hover {
  border-color: var(--primary-color);
}

.service-card .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.service-card .arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* PORTFÓLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.portfolio-info {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* PLANOS */
.section-header-center {
  text-align: center;
  margin-bottom: 3rem;
}

.plans-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.plan-card.featured {
  border: 2px solid var(--primary-color);
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 12px;
}

.plan-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--text-main);
}

.features {
  list-style: none;
  margin-bottom: 2rem;
}

.features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.features li i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* FOOTER */
footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--card-border);
  padding: 4rem 4rem 1rem 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
}

.mt-10 {
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* RESPONSIVIDADE (MOBILE) */
@media (max-width: 768px) {
  .navbar nav, .nav-btns .btn-outline {
    display: none;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  section, footer {
    padding: 3rem 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}