/* Datalink Pro - Folha de Estilo (Versão Definitiva) */

:root {
  --azul-principal: #00AEFF;
  --azul-secundario: #0077cc;
  --tom-escuro: #1E293B;
  --tom-medio: #64748B;
  --fundo-claro: #F8FAFC;
  --branco: #FFFFFF;
  --sombra-card: 0 8px 30px rgba(0, 0, 0, 0.07);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--fundo-claro);
  color: var(--tom-medio);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* CORREÇÃO PRINCIPAL: Adiciona espaço no topo para não ser cortado pelo menu fixo */
main {
  padding-top: 85px; /* Altura aproximada do menu inicial. Ajuste se necessário. */
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  color: var(--tom-escuro);
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
}

p {
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header e Navegação --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1rem 0;
}

.header.scrolled {
  background-color: var(--tom-escuro); 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 0.2rem 0; /* AJUSTE FINO: Menu ainda mais fino */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 180px;
  height: auto;
  transition: width 0.3s ease;
}

.header.scrolled .logo img {
  width: 140px; /* AJUSTE FINO: Logo ainda menor */
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--azul-principal);
}

.btn {
  background-color: var(--azul-principal);
  color: var(--branco);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 255, 0.4);
}

/* --- Seção Hero com Vídeo --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--branco);
  overflow: hidden;
  margin-top: -85px; /* CORREÇÃO: Anula o padding-top da 'main' apenas na homepage */
}

#video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translateX(-50%) translateY(-50%);
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--branco);
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* --- Seções Padrão --- */
.section {
  padding: 4.5rem 0;
}

.section-light {
  background-color: var(--branco);
}


/* --- Seção de Serviços --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--branco);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border-top: 4px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-card);
  border-top-color: var(--azul-principal);
}

.card-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 1.5rem;
  color: var(--azul-principal);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

/* --- Seção Sobre e Contato (Layout 2 colunas) --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section .text-content {
  padding-right: 2rem;
}

.split-section .image-content img {
  width: 100%;
  border-radius: 12px;
}

.form-contato {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-contato input,
.form-contato textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

/* --- Rodapé --- */
footer {
  background-color: var(--tom-escuro);
  color: #a0aec0;
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-grid h4 {
  color: var(--branco);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-grid p, .footer-grid a {
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-grid a:hover {
  color: var(--azul-principal);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.copyright {
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid #334155;
  padding-top: 2rem;
  font-size: 0.9rem;
}


/* --- Template de Página de Serviço --- */
/* CORREÇÃO: O padding-top do banner foi reduzido, pois a tag <main> agora faz o espaçamento principal */
.service-banner {
  background-color: var(--tom-escuro);
  color: var(--branco);
  padding: 4rem 0;
  text-align: center;
}

.service-banner h1 {
  font-size: 2.5rem;
  color: var(--branco);
  margin: 0;
}

.service-banner p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto 0 auto;
  color: #a0aec0;
}

.benefits-list ul {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.benefits-list .icon {
  color: var(--azul-principal);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cta-section {
  background-color: var(--tom-escuro);
  color: var(--branco);
  text-align: center;
}

.cta-section h2 {
  color: var(--branco);
}


/* --- Página de Obrigado --- */
.obrigado-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 2rem;
}

.obrigado-page h1 {
  color: var(--tom-escuro);
}

.obrigado-page .highlight {
  color: var(--azul-principal);
  font-weight: bold;
}


/* --- Responsividade --- */
@media (max-width: 768px) {
  main {
    padding-top: 70px; /* Altura menor para o menu em telas pequenas */
  }
  .hero {
    margin-top: -70px; 
  }
  h2 { font-size: 1.8rem; }
  
  .header { padding: 0.5rem 0; }
  .nav-links { display: none; /* Implementar menu hamburguer aqui */}
  .hero-content h1 { font-size: 2.2rem; }
  
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section .text-content { padding-right: 0; }
}