:root {
  /* Marca Contexto */
  --brand-blue: #1D4ED8;           /* Azul da logo */
  --brand-blue-dark: #0F172A;      /* Azul bem escuro */
  --brand-blue-black-dark: #020617;
  --brand-blue-light: #5B8DEF;

  --brand-orange: #E16A1C;         /* Laranja da logo */
  --brand-orange-dark: #B45313;
  --brand-orange-light: #F29B52;

  /* Neutros */
  --bg-50: #F9FAFB;
  --bg-100: #F3F4F6;
  --border-300: #D1D5DB;
  --text-900: #111827;
  --text-700: #374151;
  --text-500: #6B7280;
}

/* Tipografia e base */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-900);
  background-color: var(--bg-50);
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

header .bg-dark {
  background-color: var(--brand-blue-dark) !important;
}

/* Navbar corporativa */
.navbar-logo {
  height: 56px; /* um pouco menor que 70 para caber melhor no header */
  width: auto;
  display: block;
}

.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
  background-color: #ffffff;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-blue-dark);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-700);
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link.active {
  color: var(--brand-blue) !important;
}

/* Botão do header */
.navbar-cta {
  font-weight: 600;
  font-size: 0.9rem;
  padding-inline: 1.25rem;
  padding-block: 0.55rem;
  border-radius: 999px;
}

/* Hero com imagem de fundo e overlay escuro */
.hero {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.90), rgba(15, 23, 42, 0.65)),
    url('/assets/img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f9fafb;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(225, 106, 28, 0.12); /* laranja bem suave */
  color: var(--brand-orange-light);
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 1.1rem;
  margin-bottom: 0.75rem;
  color: #f9fafb;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #e5e7eb;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

/* Botões principais */
.btn-primary {
  border-radius: 999px;
  padding-inline: 1.5rem;
  padding-block: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  background-color: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #8f3f0f;
  border-color: #8f3f0f;
  color: #ffffff;
}

/* Botão secundário com azul */
.btn-outline-primary {
  border-radius: 999px;
  padding-inline: 1.3rem;
  padding-block: 0.7rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #ffffff;
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* “Mockup” de sistema no hero */
.hero-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--brand-blue-dark), #1e293b);
  color: #e5e7eb;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.hero-card-pill {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
}

.hero-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.hero-metric {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 0.9rem;
  padding: 0.6rem 0.8rem;
}

.hero-metric-label {
  font-size: 0.7rem;
  color: #9ca3af;
}

.hero-metric-value {
  font-size: 1rem;
  font-weight: 700;
}

/* Seções padrões */
.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--brand-blue-dark);
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-500);
  max-width: 32rem;
}

/* Cards de serviço */
.service-card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.service-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-500); 
  margin-bottom: 0.25rem;
}

.service-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-text {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Seção de diferenciais (“Por que a Contexto”) */
.benefit-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.benefit-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-text {
  font-size: 0.95rem;
  color: #4b5563;
}

/* CTA final */
.section-cta {
  background: var(--brand-blue-dark);
  color: #e5e7eb;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
}

.section-cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-cta p {
  color: #9ca3af;
}

/* Footer */
.site-footer {
  background: var(--brand-blue-dark);
  color: #e5e7eb;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f9fafb;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.92rem;
  color: #9ca3af;
}

.footer-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.93rem;
  color: #e5e7eb;
}

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

.footer-contact {
  font-size: 0.9rem;
}

.footer-contact li + li {
  margin-top: 0.4rem;
}

.footer-contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

/* Links de contato no rodapé */
.footer-contact a {
  color: #e5e7eb; /* texto claro com ótimo contraste no fundo azul escuro */
}

.footer-contact a:hover,
.footer-contact a:focus {
  color: #f9fafb;          /* ainda mais claro, contraste excelente */
  text-decoration: underline;
}

.footer-contact a:visited {
  color: #e5e7eb;
}

/* CTA button no footer */
.site-footer .btn-light {
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Redes sociais (se quiser usar depois) */
.footer-social {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-social:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.8);
  background: var(--brand-blue-black-dark);
  padding: 0.9rem 0;
}

/* Página interna: Empresa */
.page-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.page-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-blue-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-blue-dark);
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 0.98rem;
  color: var(--text-500);
  max-width: 40rem;
}

/* Blocos de estatísticas da empresa */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.2rem 1.3rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 4px solid var(--brand-orange);
  border-radius: 1rem;
  opacity: 0.9;
}

.stat-card-light::before {
  border-left-color: var(--brand-blue-light);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.1rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-500);
}

/* Cards de "Como trabalhamos" */
.process-card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 1.4rem 1.5rem;
  height: 100%;
}

.process-step {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-blue-light);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.process-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.process-title.large,
.stat-value.large {
    font-size: 1.5rem;
}

.stat-value.huge {
    font-size: 1.2rem;
}
.process-text {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Cabeçalho de seção em Serviços */
.service-section-header {
  gap: 1rem;
}

/* Tags de tecnologias / tipos de serviço */
.service-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.service-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-500);
  white-space: nowrap;
}

/* Clientes - cards de segmentos */
.client-card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.client-segment-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 0.7rem;
}

.client-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.client-text {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.client-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.client-list li {
  font-size: 0.9rem;
  color: #4b5563;
  position: relative;
  padding-left: 1rem;
}

.client-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-orange);
}

/* Seção de logos de clientes */
.section-client-logos {
  background: #ffffff;
}

.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: flex-start;
}

.client-logo-item {
  flex: 0 1 200px;          /* cada logo ocupa ~140px de largura */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.02);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 200px;         /* controla a altura máxima da logo */
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

/* Contato */
.contact-info-card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  color: var(--text-700); /* cor base do texto dentro do card */
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-900);
}

.contact-info-list li + li {
  margin-top: 0.5rem;
}

.contact-info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-500);
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-700); /* telefone e e-mail bem legíveis */
}

.contact-info-card a.contact-info-value {
  color: var(--brand-blue);        /* link do e-mail em azul da marca */
}

.contact-info-card a.contact-info-value:hover {
  text-decoration: underline;
}

.contact-info-text {
  font-size: 0.92rem;
  color: var(--text-700);          /* texto normal, não “fantasminha” */
}

.contact-info-text strong {
  color: var(--brand-blue);        /* “Horário de atendimento” destacado */
}

.contact-card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.8rem 1.8rem 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.contact-form .form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-700);
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 0.75rem;
  border-color: rgba(148, 163, 184, 0.7);
  font-size: 0.94rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.contact-side-panel {
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  border-radius: 1.1rem;
  padding: 1.8rem 1.8rem;
}

.contact-side-panel .section-title {
  color: #e5e7eb;
}

.contact-side-panel .section-subtitle {
  color: #9ca3af;
}

.contact-help-list li + li {
  margin-top: 0.5rem;
}

.contact-help-list li {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.contact-tip {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact-tip-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-orange-light);
  margin-bottom: 0.25rem;
}

.post-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
}

.blog-thumb-wrapper {
  overflow: hidden;
  border-radius: 1.25rem;
}

.blog-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 160px;
}

.home-blog-thumb-wrapper {
  overflow: hidden;
  border-radius: 1.25rem;
}

.home-blog-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.navbar.navbar-scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Ajustes responsivos */
@media (max-width: 991px) {
  .contact-side-panel {
    margin-top: 0.5rem;
  }

  .client-segment-grid {
    row-gap: 1.5rem;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }
}


/* Responsivo */
@media (max-width: 767px) {
  .client-logo-grid {
    justify-content: center;
  }

  .client-logo-item {
    flex: 0 1 45%;
  }

  .post-cover img {
    max-height: 260px;
    object-fit: cover;
  }

  .blog-thumb {
    min-height: 180px;
  }

  .blog-item {
    margin-bottom: 1.75rem;
  }

  .home-blog-thumb {
    height: 200px;
  }
}
