/* ==========================================================================
   SEÇÃO 2 - RESET GLOBAL, ANIMAÇÕES E INTERAÇÕES (CSS)
   ========================================================================== */
*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%; 
  max-width: 100%; 
  overflow-x: hidden;
  background-color: #0f172a; 
  color: #f8fafc; 
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Keyframes - Pulsação da Promoção */
@keyframes pulsePromo { 
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 
  50% { transform: scale(1.05); box-shadow: 0 0 12px 6px rgba(239, 68, 68, 0); } 
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } 
}

/* Keyframes - Loop Infinito Fluido */
@keyframes scrollInfinite { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-50%); } 
}

/* ==========================================================================
   SEÇÃO 3 - CABEÇALHO E MENU HAMBÚRGUER MOBILE (CSS)
   ========================================================================== */
header {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  background: #0f172a;
  z-index: 1000; 
  border-bottom: 1px solid #334155; 
  padding: 10px 24px;
}

.nav-container { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.logo img { 
  height: 90px; 
  width: auto; 
  display: block; 
}

.nav-links { 
  display: flex; 
  list-style: none; 
  gap: 24px; 
}

.nav-links a { 
  color: #94a3b8; 
  text-decoration: none; 
  font-size: 1rem; 
  font-weight: 600; 
  transition: color 0.3s; 
}

.nav-links a:hover { 
  color: #00e5ff; 
}

/* Botão Hambúrguer Mobile */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #00e5ff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
}

/* Ajuste Responsivo para Celulares */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0f172a;
    border-bottom: 2px solid #00e5ff;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
  }

  .nav-links.active {
    max-height: 380px;
    padding: 15px 0;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  }

  .logo img {
    height: 65px;
  }
}

/* ==========================================================================
   SEÇÃO 4 - BANNER HERO E INTERAÇÕES DE BOTÃO (CSS)
   ========================================================================== */
.hero-carousel { 
  position: relative; 
  margin-top: 100px; 
  width: 100%; 
  min-height: 80vh; 
  overflow: hidden; 
}

.carousel-slide {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  opacity: 0;
  transition: opacity 0.6s ease; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  text-align: center; 
  background-size: cover; 
  background-position: center; 
  padding: 20px 16px;
}

.carousel-slide.active { 
  opacity: 1; 
}

.slide-overlay { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(15, 23, 42, 0.88); 
  z-index: 1; 
}

.slide-content { 
  position: relative; 
  z-index: 2; 
  width: 100%; 
  max-width: 800px; 
}

.slide-content h1 { 
  font-size: 2rem; 
  font-weight: 800; 
  line-height: 1.2; 
  margin-bottom: 12px; 
  color: #ffffff; 
}

.slide-content h1 span { 
  color: #00e5ff; 
}

.slide-content p { 
  font-size: 1.05rem; 
  color: #cbd5e1; 
  margin-bottom: 24px; 
  line-height: 1.5; 
}

/* Badge Pulsante */
.price-badge {
  display: inline-block; 
  background: #ef4444; 
  color: #fff; 
  font-weight: 800;
  padding: 8px 18px; 
  border-radius: 25px; 
  font-size: 0.88rem; 
  margin-bottom: 18px;
  animation: pulsePromo 2s infinite ease-in-out;
}

/* Botão com Brilho (Glow) e Deslocamento */
.btn-primary {
  display: inline-block; 
  padding: 14px 34px; 
  background: #00e5ff; 
  color: #0f172a;
  font-weight: 800; 
  font-size: 1.1rem; 
  border-radius: 50px; 
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4); 
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover { 
  transform: translateY(-4px) scale(1.02); 
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.8); 
  background: #38bdf8;
}

/* ==========================================================================
   SEÇÃO 5 - BANNER DE OFERTA EXCLUSIVA (CSS)
   ========================================================================== */
.section-padding { 
  padding: 60px 16px; 
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.section-title { 
  text-align: center; 
  font-size: 1.8rem; 
  font-weight: 800; 
  margin-bottom: 8px; 
  color: #fff; 
}

.section-subtitle {
  color: #ffffff; /* Ou #cccccc se o fundo for escuro */
  display: block; /* Garante que ele ocupe a linha dele */
  text-align: center;
  margin-bottom: 20px; /* Dá espaço para os cards não ficarem colados */
}

.offer-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); 
  border: 2px solid #00e5ff;
  border-radius: 16px; 
  padding: 24px; 
  text-align: center; 
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.offer-banner h3 { 
  font-size: 1.4rem; 
  color: #00e5ff; 
  margin-bottom: 10px; 
}

.price-tag { 
  font-size: 1.6rem; 
  font-weight: 800; 
  color: #22c55e; 
  margin: 10px 0; 
}

.price-tag span.old-price { 
  text-decoration: line-through; 
  color: #ef4444; 
  font-size: 1.1rem; 
  margin-right: 8px; 
}

/* ==========================================================================
   SEÇÃO 6 - SEÇÃO DE SERVIÇOS (CSS)
   ========================================================================== */
.services-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 20px; 
}

.service-card { 
  background: #1e293b; 
  border: 1px solid #334155; 
  border-radius: 12px; 
  padding: 24px; 
  position: relative; 
}

.service-icon { 
  font-size: 2.2rem; 
  color: #00e5ff; 
  margin-bottom: 14px; 
}

.service-card h3 { 
  font-size: 1.25rem; 
  margin-bottom: 8px; 
  color: #fff; 
}

.service-card p { 
  color: #94a3b8; 
  font-size: 0.9rem; 
  line-height: 1.5; 
}

/* ==========================================================================
   SEÇÃO 7 B -  EDUCATIVA - ENTENDA COMO FUNCIONA SEU SITE (CSS)
   ========================================================================== */
.concepts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.concept-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.concept-card:hover {
  transform: translateY(-4px);
  border-color: #00e5ff;
}

.concept-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.concept-header i {
  font-size: 1.8rem;
  color: #00e5ff;
}

.concept-header h3 {
  font-size: 1.2rem;
  color: #ffffff;
}

.concept-body p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.concept-tech-note {
  background: #0f172a;
  border-left: 3px solid #00e5ff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.concept-tech-note strong {
  color: #00e5ff;
}

@media (min-width: 769px) {
  .concepts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   SEÇÃO 7 E 8 - CARROSSEIS INFINITOS (CSS)
   ========================================================================== */
.carousel-container { 
  width: 100%; 
  overflow: hidden; 
  padding: 20px 0; 
  position: relative; 
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.carousel-track { 
  display: flex; 
  gap: 20px; 
  width: max-content; 
  animation: scrollInfinite 55s linear infinite; 
  will-change: transform;
}

.carousel-container:hover .carousel-track { 
  animation-play-state: paused; 
}

/* Cards das Landing Pages */
.portfolio-card {
  width: 320px; 
  background: #1e293b; 
  border-radius: 12px; 
  overflow: hidden;
  border: 1px solid #334155; 
  box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
  flex-shrink: 0;
  display: flex; 
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: #00e5ff;
}

.portfolio-card img { 
  width: 100%; 
  height: 180px; 
  object-fit: cover; 
  display: block; 
}

.portfolio-card-content { 
  padding: 15px; 
  text-align: center; 
}

.portfolio-card-content h4 { 
  color: #fff; 
  font-size: 1.1rem; 
  margin-bottom: 10px; 
}

/* Cards dos Cartões Digitais */
.card-digital-item {
  width: 230px; 
  height: 480px; 
  flex-shrink: 0; 
  border-radius: 16px; 
  overflow: hidden;
  background: #1e293b; 
  border: 1px solid #334155; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative; 
  display: flex; 
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-digital-item:hover {
  transform: translateY(-6px);
  border-color: #00e5ff;
}

.card-digital-item a { 
  display: block; 
  width: 100%; 
  height: 100%; 
  text-decoration: none; 
}

.demo-badge {
  display: block; 
  width: 100%; 
  background: #00e5ff; 
  color: #0f172a; 
  font-size: 0.72rem;
  font-weight: 800; 
  text-align: center; 
  padding: 8px 4px; 
  text-transform: uppercase;
}

.card-digital-item img { 
  width: 100%; 
  height: calc(100% - 30px); 
  object-fit: cover; 
  object-position: top center;
  display: block; 
}

.cartao-explicacao-container {
  background: #1e293b; 
  border: 1px solid #334155; 
  border-radius: 12px; 
  padding: 24px;
  margin-bottom: 30px; 
  max-width: 900px; 
  margin-left: auto; 
  margin-right: auto;
}

.cartao-texto-destaque { 
  font-size: 1rem; 
  line-height: 1.6; 
  color: #f8fafc; 
  text-align: center; 
  margin-bottom: 20px; 
}

.cartao-texto-destaque strong { 
  color: #00e5ff; 
}

.cartao-beneficios-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 14px; 
}

.beneficio-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 12px; 
  background: #0f172a; 
  padding: 14px; 
  border-radius: 8px; 
  border-left: 3px solid #00e5ff; 
}

.beneficio-item i { 
  color: #00e5ff; 
  font-size: 1.2rem; 
  margin-top: 2px; 
}

.beneficio-item span { 
  font-size: 0.88rem; 
  color: #cbd5e1; 
  line-height: 1.4; 
}

/* ==========================================================================
   SEÇÃO 9 - FORMULÁRIO DE CONTATO (CSS)
   ========================================================================== */
.contact-form-container { 
  width: 100%; 
  max-width: 600px; 
  margin: 0 auto; 
  background: #1e293b; 
  border: 1px solid #334155; 
  border-radius: 12px; 
  padding: 24px; 
}

.form-group { 
  margin-bottom: 16px; 
}

.form-group label { 
  display: block; 
  font-size: 0.85rem; 
  margin-bottom: 6px; 
  color: #94a3b8; 
}

.form-control { 
  width: 100%; 
  padding: 12px; 
  background: #0f172a; 
  border: 1px solid #334155; 
  border-radius: 6px; 
  color: #f8fafc; 
  font-size: 0.95rem; 
}

.btn-submit { 
  width: 100%; 
  padding: 14px; 
  background: #22c55e; 
  color: #ffffff; 
  font-weight: 800; 
  font-size: 1.05rem; 
  border: none; 
  border-radius: 6px; 
  cursor: pointer; 
  transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

/* ==========================================================================
   SEÇÃO 10 E 11 - BOTÕES FLUTUANTES (WHATSAPP E SUBIR AO TOPO) (CSS)
   ========================================================================== */
.whatsapp-float {
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  background-color: #25d366; 
  color: #ffffff;
  width: 56px; 
  height: 56px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center;
  justify-content: center; 
  font-size: 28px; 
  z-index: 1000; 
  text-decoration: none; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 86px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: #00e5ff;
  color: #0f172a;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #38bdf8;
  transform: translateY(-4px);
}

/* ==========================================================================
   SEÇÃO 12 - RODAPÉ (CSS)
   ========================================================================== */
footer { 
  background-color: #0b1120; 
  border-top: 1px solid #334155; 
  padding: 40px 16px 20px 16px; 
  color: #94a3b8; 
  font-size: 0.9rem; 
}

.footer-container { 
  max-width: 1200px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 30px; 
  margin-bottom: 30px; 
}

.footer-brand img { 
  height: 80px; 
  width: auto; 
  margin-bottom: 12px; 
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #334155;
  color: #00e5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: #00e5ff;
  color: #0f172a;
  transform: translateY(-3px);
}

.footer-bottom { 
  text-align: center; 
  font-size: 0.8rem; 
  color: #64748b; 
  border-top: 1px solid rgba(255,255,255,0.05); 
  padding-top: 20px; 
}

/* Dispositivos Desktop */
@media (min-width: 769px) {
  .slide-content h1 { font-size: 2.8rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .cartao-beneficios-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}
