/* Variáveis de Cor e Fonte */
:root {
  --ibm-blue: #0f62fe;
  --ibm-blue-hover: #0043ce;
  --ibm-blue-light: #edf5ff;
  --gray-100: #161616;
  --gray-70: #525252;
  --gray-20: #e0e0e0;
  --gray-10: #f4f4f4;
  --white: #ffffff;
  --font-family: 'IBM Plex Sans', sans-serif;
}

/* Reset de CSS padrão */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  font-family: var(--font-family); 
  color: var(--gray-100); 
  background: var(--white); 
  line-height: 1.6; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

.container { 
  width: 90%; 
  max-width: 1200px; 
  margin: 0 auto; 
}

/* Loader / Tela de Carregamento */
#loader {
  position: fixed; 
  top: 0; left: 0; 
  width: 100%; height: 100%;
  background: var(--white); 
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner {
  border: 4px solid var(--gray-20); 
  border-top: 4px solid var(--ibm-blue);
  border-radius: 50%; 
  width: 40px; height: 40px; 
  animation: spin 1s linear infinite;
}

.loader-text {
  margin-top: 16px; 
  font-weight: 600; 
  color: var(--gray-70);
}

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

/* Header */
header { 
  position: sticky; 
  top: 0; 
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(8px); 
  border-bottom: 1px solid var(--gray-20); 
  z-index: 1000; 
}

/* ==================================================
   Logo em Imagem
   ================================================== */
.logo-link { 
  display: flex; 
  align-items: center; 
}

/* ==================================================
   Logo em Texto
   ================================================== */
.logo { 
  font-size: 1.75rem; 
  font-weight: 700; 
  letter-spacing: -0.5px; 
  display: flex;
  align-items: baseline; 
}

/* O !important garante que o texto será preto, anulando o código antigo */
.logo .logo-text { 
  color: var(--gray-100) !important; 
}

/* O quadrado perfeito em azul */
.logo .logo-dot { 
  display: inline-block;
  width: 4px;  
  height: 4px; 
  background-color: var(--ibm-blue) !important; 
  margin-left: 4px; 
  position: relative;
  top: -1px;
}
.nav-bar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  height: 72px; 
}

.logo { 
  font-size: 1.5rem; 
  font-weight: 700; 
  color: var(--gray-100); 
}

.logo span { 
  color: var(--ibm-blue); 
}

/* Botões */
.btn { 
  display: inline-block; 
  padding: 12px 24px; 
  font-size: 0.95rem; 
  font-weight: 600; 
  cursor: pointer; 
  transition: 0.2s; 
  border: none; 
}

.btn-primary { 
  background-color: var(--ibm-blue); 
  color: var(--white); 
}

.btn-primary:hover { 
  background-color: var(--ibm-blue-hover); 
}

/* Hero Section */
.hero { 
  padding: 96px 0 72px; 
  background: linear-gradient(180deg, var(--ibm-blue-light) 0%, var(--white) 100%); 
  border-bottom: 1px solid var(--gray-20); 
}

.hero-content { 
  max-width: 760px; 
}

.tagline { 
  display: inline-block; 
  font-size: 0.85rem; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: var(--ibm-blue); 
  margin-bottom: 16px; 
}

.hero h1 { 
  font-size: 3.25rem; 
  line-height: 1.15; 
  font-weight: 700; 
  letter-spacing: -1px; 
  margin-bottom: 24px; 
}

.hero p { 
  font-size: 1.2rem; 
  color: var(--gray-70); 
  margin-bottom: 32px; 
  font-weight: 300; 
}

/* Metricas */
.metrics { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 24px; 
  margin-top: 64px; 
  padding-top: 32px; 
  border-top: 1px solid var(--gray-20); 
}

.metric-card h3 { 
  font-size: 2.2rem; 
  font-weight: 700; 
  color: var(--ibm-blue); 
}

.metric-card p { 
  font-size: 0.9rem; 
  color: var(--gray-70); 
}

/* Servicos / Seções */
.section { 
  padding: 96px 0; 
}

.section-header { 
  margin-bottom: 56px; 
}

.section-header h2 { 
  font-size: 2.25rem; 
  font-weight: 700; 
  margin-bottom: 12px; 
}

.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 24px; 
}

.card { 
  padding: 36px; 
  border: 1px solid var(--gray-20); 
  background: var(--white); 
  transition: transform 0.2s ease, border-color 0.2s ease; 
}

.card:hover { 
  border-color: var(--ibm-blue); 
  transform: translateY(-4px); 
}

.card-number { 
  font-size: 1rem; 
  font-weight: 700; 
  color: var(--ibm-blue); 
  margin-bottom: 16px; 
}

.card h3 { 
  font-size: 1.35rem; 
  margin-bottom: 12px; 
}

.card p { 
  color: var(--gray-70); 
  font-size: 0.95rem; 
}



/* ==================================================
   Formulário de Contato
   ================================================== */
.contact-section { 
  background-color: var(--gray-10); 
  border-top: 1px solid var(--gray-20); 
}

.contact-container { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 64px; 
  align-items: start;
}

.contact-info p { 
  color: var(--gray-70); 
  margin-top: 16px; 
}

form { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
  background: var(--white); 
  padding: 32px; 
  border: 1px solid var(--gray-20); 
}

label { 
  font-size: 0.85rem; 
  font-weight: 600; 
  color: var(--gray-100); 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}

input, select, textarea { 
  font-family: inherit; 
  padding: 12px; 
  border: 1px solid var(--gray-20); 
  background-color: var(--gray-10); 
  font-size: 0.95rem; 
  outline: none; 
  border-radius: 0; /* Estilo IBM, bordas retas */
}

input:focus, select:focus, textarea:focus { 
  border-color: var(--ibm-blue); 
  background-color: var(--white); 
}

/* ==================================================
   Rodapé
   ================================================== */
footer { 
  background-color: var(--gray-100); 
  color: var(--white); 
  padding: 48px 0; 
  font-size: 0.85rem; 
}

.footer-content { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 20px; 
}

/* ==================================================
   Adaptação para Celulares (Responsivo)
   ================================================== */
html {
  scroll-behavior: smooth; /* Faz a rolagem até o formulário ser suave */
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .contact-container { grid-template-columns: 1fr; gap: 32px; }
  .nav-bar .btn { display: none; } /* Esconde o botão do topo no celular para não espremer o logo */
}


/* ==================================================
   Novos Estilos: Metodologia e Rodapé
   ================================================== */
.bg-light {
  background-color: var(--gray-10);
  border-top: 1px solid var(--gray-20);
  border-bottom: 1px solid var(--gray-20);
}

.card-method {
  background-color: transparent;
  border: none;
  border-left: 3px solid var(--ibm-blue);
  padding: 16px 24px;
}

.card-method:hover {
  transform: translateX(8px);
  border-color: var(--ibm-blue-hover);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links strong {
  color: var(--gray-20);
  margin-right: 4px;
}

/* ==================================================
   Botão Flutuante do WhatsApp
   ================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: white;
  width: 50px;  /* Reduzido (antes era 60px) */
  height: 50px; /* Reduzido (antes era 60px) */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* Sombra mais suave */
  z-index: 1000;
  transition: transform 0.2s ease;
}

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

.whatsapp-float svg {
  width: 26px;  
  height: 26px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ==================================================
   Aviso ATS para Candidatos
   ================================================== */
.ats-note {
  font-size: 0.85rem;
  background-color: var(--ibm-blue-light);
  color: var(--ibm-blue-hover);
  padding: 12px 16px;
  border-left: 3px solid var(--ibm-blue);
  margin-top: 24px !important;
  font-weight: 500;
}