@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Cores Principais */
  --bg-main: #ffffff;
  --bg-light: #F8FAFC;
  --bg-dark: #0D1B2A;
  --bg-darker: #08111A;
  
  /* Cores de Destaque */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #D4AF37; /* Dourado premium */
  --secondary-hover: #B8962B;
  
  /* Textos */
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --text-light: #F3F4F6;
  --text-light-muted: #9CA3AF;
  
  /* Estrutura */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  
  /* Transições */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Header fixo */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* Tipografia comum */
.section {
  padding: 100px 0;
  animation: fadeUp 0.6s ease backwards;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark .section-title,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: var(--text-light-muted);
}

.section-light, .bg-gray {
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

.section-header.text-center {
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

section:not(.section-dark) .btn-secondary {
  color: var(--text-main);
  border-color: var(--text-main);
}
section:not(.section-dark) .btn-secondary:hover {
  background-color: var(--bg-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* Links especiais */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 16px;
}

.link-arrow:hover {
  gap: 12px;
  color: var(--primary-hover);
}

.link-arrow i {
  transition: var(--transition);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 2.25rem;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--primary);
  line-height: 1;
}

.logo-owner {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.9375rem;
  position: relative;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-cta {
  white-space: nowrap;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.btn {
  color: #fff;
}
.nav-link.btn::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Compensar header */
  background-color: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente moderno e corporativo imitando tecnologia fundo escurecido */
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
              linear-gradient(135deg, var(--bg-dark) 0%, #060d14 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 950px;
  animation: fadeUp 0.8s ease backwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light-muted);
  margin-bottom: 56px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.trust i {
  color: #10b981;
  font-size: 1.125rem;
}

/* Sobre */
.sobre-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo-img {
  max-width: 250px;
  height: auto;
  margin-bottom: 24px;
}

.sobre-text {
  max-width: 500px;
}

.sobre-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.125rem;
}

.sobre-logo-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Dores do Cliente */
.dores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dor-card {
  background-color: var(--bg-main);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.dor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #d1d5db;
}

.dor-icon {
  font-size: 2.5rem;
  color: #ef4444; /* Vermelho alerta suave */
}

.dor-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Serviços */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.servico-card {
  background-color: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.servico-card:hover {
  background-color: #132438;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-4px);
}

.servico-icon-box {
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.servico-icon {
  font-size: 2rem;
  color: var(--primary);
}

.servico-card:hover .servico-icon {
  color: var(--secondary); /* Dourado no hover para dar aspecto premium */
}

.servico-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Diferenciais */
.difs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.dif-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-main);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
}

.dif-icon {
  font-size: 2rem;
  color: var(--secondary); /* Destaque no dourado para autoridade */
}

.dif-text {
  font-weight: 600;
  font-size: 1.125rem;
}

/* Projetos */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.projeto-card {
  background: var(--bg-main);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.projeto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  opacity: 0;
  transition: all 0.4s ease;
}

.projeto-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.2);
}

.projeto-card:hover::before {
  opacity: 1;
}

.projeto-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.projeto-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 700;
}

.projeto-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.projeto-resultado {
  font-size: 1rem;
  color: var(--bg-dark);
  margin-top: 24px;
  padding: 16px;
  background-color: #f0fdf4;
  border-radius: var(--radius-md);
  border-left: 3px solid #10b981;
}

.projeto-resultado strong {
  color: #047857; /* Verde mais escuro para o bold */
  display: inline-block;
  margin-bottom: 4px;
}

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

.blog-card {
  background: var(--bg-main);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

/* Contato */
.contato-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  background-color: var(--bg-main);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-premium);
  padding: 64px;
  margin-top: -80px; /* Sobrepor a seção anterior */
  z-index: 10;
  position: relative;
  border: 1px solid #e5e7eb;
}

.contato-info {
  display: flex;
  flex-direction: column;
}

.contato .section-title {
  margin-bottom: 16px;
}

.contato-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.contato-buttons {
  margin-bottom: 48px;
}

.contato-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
}

.contato-form-wrapper {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.form-title {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group.half {
  flex: 1;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
}

input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  background-color: var(--bg-main);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}

.logo-footer .logo-name {
  color: #fff;
}

.logo-footer .logo-owner {
  color: #9CA3AF;
}

.footer-desc {
  color: var(--text-light-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-light-muted);
}

.footer-links a:hover {
  color: var(--secondary); /* Dourado */
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  color: var(--text-light-muted);
  font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .sobre-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contato-container {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-main);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .nav-link {
    font-size: 1.125rem;
  }
  
  .nav-cta {
    font-size: 1rem;
    padding: 12px 24px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-br {
    display: none;
  }
  
  .section {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Novas Classes: Refinamento Premium (Cyber & Compliance) --- */

.hero-badge {
  display: inline-block;
  background-color: rgba(37, 99, 235, 0.4);
  color: #f8fafc;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.highlight-text {
  font-size: 1.25rem;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 16px;
  margin-top: 24px;
  background-color: rgba(37, 99, 235, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 14px;
  border-radius: 50%;
  font-size: 26px;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Cyber e Compliance Grid */
.cyber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.cyber-card {
  background: var(--bg-main);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cyber-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary);
}
.cyber-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.75rem;
  color: var(--primary);
}
.cyber-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text-main);
}
.cyber-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cyber-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.cyber-card li i {
  color: #10b981;
  font-size: 1.25rem;
  margin-top: 2px;
}

/* Banner Estratégico */
.banner-estrategico {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.banner-container {
  max-width: 800px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}
.banner-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 24px;
}
.banner-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.pb-auth {
  padding-bottom: 160px;
}
