/* =====================================
   VARIÁVEIS, TEMA ESCURO E RESETS
===================================== */
:root {
  --primary: #0088FF;
  --primary-hover: #0066CC;
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
  --background: #070B12;
  --surface: #0E1525;
  --surface-hover: #151F33;
  --text: #FFFFFF;
  --text-muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

/* =====================================
   BOTÕES E COMPONENTES
===================================== */
.btn-primary, .btn-secondary, .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 136, 255, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 136, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* =====================================
   HEADER (CABEÇALHO)
===================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

/* =====================================
   HERO SECTION & CARD FLUTUANTE
===================================== */
#hero {
  padding-top: 160px;
  padding-bottom: 90px;
  background: radial-gradient(circle at 10% 20%, rgba(0, 136, 255, 0.15), transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.08), transparent 45%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--surface);
  color: #00D4FF;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.hero-left h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-left h1 span {
  color: #00D4FF;
}

.hero-left p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.feature span {
  color: #0088FF;
  font-weight: bold;
}

/* Imagem Hero com Card Flutuante */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-img {
  width: 100%;
  display: block;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-card-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(14, 21, 37, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  max-width: 250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-card-float h3 {
  color: #00D4FF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-card-float p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

/* =====================================
   SERVIÇOS
===================================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  color: #00D4FF;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 6px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 24px;
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  background: var(--surface-hover);
}

.icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* =====================================
   FAQ (PERGUNTAS FREQUENTES)
===================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: background var(--transition);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: #00D4FF;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* =====================================
   CTA & RODAPÉ
===================================== */
#cta {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#cta h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

#cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 16px;
}

footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.social-link {
  color: #00D4FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color var(--transition), transform var(--transition);
}

.social-link:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* =====================================
   BOTÃO FLUTUANTE DO WHATSAPP
===================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =====================================
   RESPONSIVIDADE (DISPOSITIVOS MÓVEIS)
===================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    max-width: 400px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 0;
  }

  #hero {
    padding-top: 120px;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .section-title h2, #cta h2 {
    font-size: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary, .btn-whatsapp {
    width: 100%;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-card-float {
    position: relative;
    bottom: 0;
    left: 0;
    margin: -20px auto 0;
    width: 90%;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 16px;
    right: 16px;
  }
}