/* Reset e Variáveis Essenciais */
:root {
  --bg-dark: #090a0f;
  --bg-panel: rgba(22, 24, 33, 0.6);
  --primary: #4e5deb;
  --secondary: #904eeb;
  --text-light: #e0e5ff;
  --text-muted: #8d98c2;
  --border-light: rgba(99, 117, 241, 0.2);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --glass-bg: rgba(14, 16, 26, 0.5);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografia */
h1, h2, h3, h4, .badge {
  font-family: var(--font-display);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.text-center { text-align: center; }
.mt-5 { margin-top: 5rem; }

/* Estrutura e Utilitários */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Botoes */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-display);
  transition: var(--transition);
  cursor: pointer;
  border: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(78, 93, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(78, 93, 235, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-light);
}

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

/* Header */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 10, 15, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: var(--transition);
}

.glass-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(9, 10, 15, 0.9);
}

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

.logo img {
  height: 48px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-family: var(--font-display);
  transition: var(--transition);
}

.main-nav a:not(.btn):hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(0px) brightness(0.6);
  z-index: -2;
  transform: scale(1.05); /* Soft animation intro base */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 10, 15, 0.2) 0%, rgba(9, 10, 15, 1) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 250px;
  height: auto;
  margin-bottom: 2rem;
  display: block;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(78, 93, 235, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: transparent;
}

.section-heading {
  margin-bottom: 4rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 117, 241, 0.4);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(99, 117, 241, 0.1);
}

.glass-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Solutions */
.solutions {
  padding: 6rem 0;
}

.solutions-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.solutions-layout.reverse {
  flex-direction: row-reverse;
}

.solutions-content {
  flex: 1;
}

.solutions-visual {
  flex: 1;
  position: relative;
}

.floating-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
  border: 1px solid var(--glass-border);
}

.shield-glow {
  box-shadow: 0 0 40px rgba(78, 93, 235, 0.4);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.solution-item {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-light);
}

/* Partners */
.partners {
  padding: 4rem 0;
  background: linear-gradient(0deg, rgba(22,24,33,1) 0%, rgba(9,10,15,1) 100%);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.partner-logo {
  background: #ffffff; /* Fundo branco e limpo para combinar com os logos coloridos originais */
  border-radius: 12px;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  min-height: 220px;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.partner-logo img {
  max-width: 85%;
  max-height: 120px;
  width: auto;
  opacity: 1;
  filter: none;
  transition: var(--transition);
}

.partner-logo img:hover, 
.partner-logo img:active {
  transform: scale(1.05);
}

/* Team */
.team {
  padding: 6rem 0;
}

.team-card {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  padding: 1.5rem;
}

.team-photo {
  flex-shrink: 0;
  width: 150px;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-info .role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.linkedin-btn svg {
  width: 20px;
  fill: #0a66c2;
}

.linkedin-btn:hover {
  color: #fff;
}

/* Footer */
.footer {
  background: var(--bg-panel);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  margin-top: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.9rem;
}

/* Reponsivo */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  .grid-3, .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-layout, .solutions-layout.reverse {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-container { position: relative; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 1rem;
    display: none;
    border-bottom: 1px solid var(--glass-border);
  }
  .main-nav.active { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .mobile-menu-btn { display: flex; }
  
  .grid-3, .grid-2, .partners-grid { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; }
  
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .team-photo { width: 100px; height: 100px; border-radius: 50%; }
}
