:root {
  /* Cores principais */
  --primary: #0a1e3a;
  --secondary: #00cfff;
  --dark: #181c2f;
  --light: #f4f8fb;
  --error: #e74c3c;
  --glass: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.25);
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  --shadow-hover: 0 12px 32px 0 rgba(0, 207, 255, 0.18);
  --gradient: linear-gradient(135deg, #0a1e3a 0%, #1e3c72 50%, #00cfff 100%);
  --smt-blue: #0a1e3a;
  --smt-dark-blue: #181c2f;
  --smt-accent: #00cfff;
  --smt-white: #ffffff;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--gradient);
  min-height: 100vh;
  letter-spacing: 0.01em;
}

#app {
  min-height: 100vh;
  backdrop-filter: blur(2px);
}

/* ========== ESTILOS GERAIS ========== */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 85, 165, 0.2);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-container {
  text-align: center;
  padding: 50px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.error-container h2 {
  color: var(--error);
  margin-bottom: 20px;
}

.error-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.error-button:hover {
  background: var(--secondary);
}

/* ========== HOME SECTION ========== */
.home-section {
  color: var(--smt-white);
}

.hero {
  background: var(--smt-blue);
  padding: 160px 20px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass);
  z-index: 1000;
  padding: 25px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 60px;
}

.logo {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--smt-accent);
  text-shadow: 0 2px 16px #00cfff44, 0 1px 0 #fff;
  letter-spacing: 0.04em;
  position: relative;
  padding: 0 12px;
  background: linear-gradient(90deg, #00cfff 20%, #fff 80%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--smt-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
  padding: 7px 0;
  transition: color 0.3s, text-shadow 0.3s;
  opacity: 0.92;
  text-shadow: 0 1px 8px #00cfff33;
  border-radius: 8px;
}

.nav-links a:hover,
  .nav-links a.active {
    color: var(--smt-accent);
    opacity: 1;
    background: var(--glass);
    text-shadow: 0 2px 12px #00cfff99, 0 1px 0 #fff;
    box-shadow: 0 2px 12px #00cfff22;
    transition: all 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #00cfff 0%, #fff 100%);
  bottom: 0;
  left: 0;
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
}

.menu-button {
  padding: 14px 32px !important;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--smt-accent);
  color: var(--smt-white);
  border-radius: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  border: none;
  transition: all 0.3s;
  font-size: 1.08rem;
}

.menu-button:hover {
  background: linear-gradient(90deg, #00cfff 0%, #1e3c72 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-hover);
  filter: brightness(1.08);
}

.menu-button::after {
  display: none;
}

/* Container do conteúdo principal */
.hero-content.centered {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* Container do slider */
.slider-container {
  position: relative;
  min-height: 280px;
  margin: 0 auto 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  position: relative;
}

/* Estilos do texto */
.hero h1 {
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 900;
  color: var(--smt-white);
  text-shadow: 0 4px 24px #00cfff55, 0 2px 8px #0002, 0 0 12px #00cfff99, 0 0 32px #00cfff33;
  letter-spacing: 0.03em;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
  transition: text-shadow 0.3s;
}
.hero h1:hover {
  text-shadow: 0 0 32px #00cfff, 0 0 64px #00cfff99, 0 0 12px #00cfff99, 0 0 32px #00cfff33;
  color: #fff;
}

.highlight {
  color: var(--smt-accent);
}

.subtitle {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

/* Controles do slider */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 2rem 0;
  position: relative;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.slider-dot:hover {
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--smt-accent);
  transform: scale(1.3);
}

/* Botão CTA */
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #00cfff 0%, #1e3c72 100%);
  color: var(--smt-white);
  padding: 18px 45px;
  border-radius: 32px;
  font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow), 0 0 12px #00cfff99, 0 0 32px #00cfff33;
  margin: 2rem auto 0;
  position: relative;
  z-index: 5;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}

.cta-button:hover {
  background: linear-gradient(90deg, #1e3c72 0%, #00cfff 100%);
  color: #fff;
  transform: translateY(-4px) scale(1.07) rotate(-1deg);
  box-shadow: 0 0 32px #00cfff, var(--shadow-hover), 0 0 12px #00cfff99, 0 0 32px #00cfff33;
  filter: brightness(1.08);
  text-shadow: 0 0 32px #00cfff, 0 0 12px #00cfff99, 0 0 32px #00cfff33;
}

/* ========== SEÇÃO SOLUÇÕES ========== */
.solucoes-section {
  background: #f5f9ff;
  color: #031d49;
  padding: 80px 20px;
}


/* ========== SEÇÃO QUEM SOMOS ========== */
.quemsomos-section {
  background: #031d49;
  color: white;
  padding: 80px 20px;
}

/* Estilos comuns para itens das seções */
.case-item,
.equipe-item,
.solucao-item {
  max-width: 800px;
  margin: 20px auto;
  padding: 25px;
  border-radius: 8px;
}

.case-item,
.equipe-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #00a0e1;
}

.solucao-item {
  background: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Container principal para todas as seções */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

/* SEÇÃO SOLUÇÕES */
.solucoes-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.solucao-item {
    background: var(--glass);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--glass-border);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    backdrop-filter: blur(8px);
    color: var(--dark);
    overflow: hidden;
}
 
.solucao-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: var(--smt-accent);
}

.saiba-mais-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 28px;
    background: linear-gradient(90deg, #00cfff 0%, #1e3c72 100%);
    color: #fff;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    border: none;
    transition: all 0.3s;
}
.saiba-mais-btn:hover {
    background: linear-gradient(90deg, #1e3c72 0%, #00cfff 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.08);
}

/* ROLAGEM SUAVE */
html {
    scroll-behavior: smooth;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 1200px) {

  .main-nav {
    padding: 20px 0;
  }
  
  .nav-container {
    gap: 40px; 
    padding: 0 15px; 
  }
  
  .logo {
    font-size: 2rem; 
    -webkit-text-stroke: 1.8px var(--smt-white); 
  }
  
  .nav-links {
    gap: 25px; 
  }
  
  .nav-links a {
    font-size: 1rem; 
  }
  
  .menu-button {
    padding: 12px 28px !important; 
  }
  
  
  .hero {
    padding: 160px 30px 90px; 
  }
  
  .hero h1 {
    font-size: 3.5rem; 
  }
  
  .subtitle {
    font-size: 1.3rem; 
  }
}

@media (max-width: 992px) {

  .main-nav {
    padding: 18px 0; 
    border-bottom-width: 0.5px; 
  }
  
  .nav-container {
    gap: 30px; 
  }
  
  .logo {
    font-size: 1.9rem;
    padding: 0 10px; 
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .menu-button {
    padding: 11px 24px !important;
    min-height: 44px;
  }
  

  .hero {
    padding: 140px 20px 80px; 
    min-height: 90vh; 
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem; 
  }
  
  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }
  
  .cta-button {
    padding: 16px 38px; 
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-content.centered, .slider-container {
    margin-top: 48px !important;
  }
  
  .main-nav {
    padding: 20px 0;
    margin-bottom: 64px;
  }

  
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 10px;
  }

  .logo {
    font-size: 1.8rem; 
    -webkit-text-stroke: 1.5px var(--smt-white); 
  }

  
  .nav-links {
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 4px;
  }

  
  .nav-links a {
    font-size: 0.97rem;
    padding: 7px 6px !important;
    min-width: 60px;
    text-align: center;
    border-radius: 6px;
    background: none;
    display: inline-block;
    white-space: nowrap;
  }

  .menu-button {
    padding: 10px 20px !important; 
    min-height: 40px; 
  }
}

@media (max-width: 576px) {
  .hero-content.centered, .slider-container {
    margin-top: 38px !important;
  }
  
  .main-nav {
    padding: 4px 0; /* Reduz ainda mais o padding para liberar espaço */
    min-height: 44px;
    margin-bottom: 56px;
  }

  
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 4px;
    width: 100vw;
  }


  .logo {
    font-size: 1.5rem;
    -webkit-text-stroke: 1px var(--smt-white);
    padding: 0 8px;
  }

 
  .nav-links {
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 4px;
  }

  .nav-links a {
    font-size: 0.93rem;
    white-space: nowrap;
    padding: 6px 4px !important;
    min-width: 54px;
    text-align: center;
    border-radius: 6px;
    background: none;
    display: inline-block;
  }

  .menu-button {
    padding: 8px 10px !important;
    font-size: 0.85rem;
    min-width: 70px;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-content.centered, .slider-container {
    margin-top: 28px !important;
  }
  .main-nav {
    padding: 2px 0 !important;
    min-height: 40px;
    border-bottom-width: 0.5px;
    margin-bottom: 48px;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0 !important;
    padding: 0 2px !important;
    width: 100vw;
  }

  .logo {
    font-size: 1.4rem !important; 
    -webkit-text-stroke: 1px var(--smt-white) !important;
    padding: 0 6px !important;
    white-space: nowrap; 
  }

  .nav-links {
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 4px !important;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 4px;
  }

  .nav-links a {
    font-size: 0.89rem !important;
    padding: 5px 2px !important;
    min-width: 44px;
    text-align: center;
    border-radius: 6px;
    background: none;
    display: inline-block;
    white-space: nowrap;
  }

  .menu-button {
    padding: 6px 6px !important;
    min-height: 36px !important;
    font-size: 0.75rem !important;
    min-width: 60px;
    margin-left: 0;
  }

  .hero {
    padding: 70px 10px 30px !important; 
    min-height: auto !important; 
  }

  .hero h1 {
    font-size: 1.8rem !important; 
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  .subtitle {
    font-size: 0.9rem !important; 
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
    padding: 0 5px !important;
  }

  .slider-container {
    min-height: 200px !important; 
    margin-bottom: 20px !important;
  }

  .cta-button {
    padding: 10px 20px !important; 
    font-size: 0.9rem !important;
    margin-top: 1rem !important;
  }

  .slider-dot {
    width: 10px !important; 
    height: 10px !important;
  }
}