@import url("Navbar.css");
@import url("Numeros.css");
@import url("Servicos.css");
@import url("Footer.css");
@import url("Processos.css");
@import url("Projetos.css");
@import url("CTA.css");
@import url("Contato.css");

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700&display=swap");

:root {
  --fundo: #000000;
  --fundo-card: #0a0a0a;
  --borda: #222222;
  --borda-hover: #333333;
  --texto-principal: #ffffff;
  --texto-secundario: #888888;
  --accent: #3b82f6;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-margin-top: 50px;
}

body {
  background-color: var(--fundo);
  color: var(--texto-principal);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--texto-principal);
}

p {
  font-family: "Inter", sans-serif;
  color: var(--texto-secundario);
  line-height: 1.6;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--fundo);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease 2.5s,
    visibility 0.5s ease 2.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.atomo {
  width: 100px;
  height: 100px;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.7s;
}

.atomo.moved {
  position: fixed;
  top: 12px;
  left: 40px;
  width: 40px;
  height: 40px;
  z-index: 1001;
}

.orbita-bg {
  fill: none;
  stroke: rgba(59, 130, 246, 0.2);
  stroke-width: 2;
}

.luz {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: 150 400;
  animation: orbit 2s linear infinite;
}

.luz.o1 {
  animation-delay: 0s;
}
.luz.o2 {
  animation-delay: -0.66s;
}
.luz.o3 {
  animation-delay: -1.33s;
}

@keyframes orbit {
  0% {
    stroke-dashoffset: 550;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.nucleo {
  fill: var(--accent);
  animation: pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--borda);
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(180deg, #fff 0%, #8a8a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 36px;
}

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

.botoes a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.botoes a:first-child {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.botoes a:first-child:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}

.botoes a:last-child {
  background-color: transparent;
  color: var(--texto-principal);
  border: 1px solid var(--borda);
}

.botoes a:last-child:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--borda-hover);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}
.animate-delay-2 {
  animation-delay: 0.2s;
}
.animate-delay-3 {
  animation-delay: 0.3s;
}
.animate-delay-4 {
  animation-delay: 0.4s;
}
.animate-delay-5 {
  animation-delay: 0.5s;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero h1,
  .hero p {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .botoes {
    justify-content: center;
  }
}
