/* ============================================================
   GONÇALVES CONTABILIDADE — Shared Stylesheet
   Paleta: #16163f navy · #2B6CB0 azul · #C6962A dourado · #F7FAFC bg
   Fontes: Playfair Display (serif) · DM Sans (sans)
============================================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #F7FAFC;
  color: #1A202C;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* TOPBAR */
.topbar { background: #16163f; color: #fff; font-size: 12.5px; padding: 8px 0; z-index: 1000; position: relative; }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.topbar-left { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.topbar-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.88); transition: color 0.2s; }
.topbar-item:hover { color: #fff; }
.topbar-item svg { flex-shrink: 0; }
.topbar-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.topbar-social { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 4px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); transition: background 0.2s, color 0.2s; }
.topbar-social:hover { background: #2B6CB0; color: #fff; }

/* NAVBAR */
.navbar { background: #fff; position: sticky; top: 0; z-index: 999; transition: box-shadow 0.3s ease; }
.navbar.scrolled { box-shadow: 0 2px 16px rgba(22,22,63,0.10); }
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar-logo-img { display: block; height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.navbar-logo-main { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 21px; color: #16163f; letter-spacing: -0.3px; }
.navbar-logo-sub { font-weight: 300; font-size: 12px; color: #16163f; letter-spacing: 1.5px; text-transform: uppercase; }
.navbar-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.navbar-nav > a, .nav-dropdown > a { font-size: 14.5px; font-weight: 500; color: #1A202C; position: relative; padding-bottom: 2px; transition: color 0.2s; cursor: pointer; }
.navbar-nav > a::after, .nav-dropdown > a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: #2B6CB0; transition: width 0.25s ease; }
.navbar-nav > a:hover, .nav-dropdown:hover > a { color: #2B6CB0; }
.navbar-nav > a:hover::after, .nav-dropdown:hover > a::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border-radius: 8px; box-shadow: 0 12px 40px rgba(22,22,63,0.15); padding: 12px 0; min-width: 280px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 1000; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 22px; font-size: 14px; color: #1A202C; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: #F7FAFC; color: #2B6CB0; }
.nav-dropdown-menu a::after { display: none; }

.btn-client { display: inline-flex; align-items: center; gap: 6px; background: #2B6CB0; color: #fff; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 4px; white-space: nowrap; transition: background 0.2s, transform 0.2s; flex-shrink: 0; }
.btn-client:hover { background: #215387; transform: scale(1.02); }

.navbar-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 4px; }
.navbar-hamburger span { display: block; height: 2px; background: #16163f; border-radius: 2px; transition: 0.3s; }
.navbar-mobile-menu { display: none; flex-direction: column; background: #fff; border-top: 1px solid #EDF2F7; padding: 16px 32px 24px; gap: 4px; }
.navbar-mobile-menu a { padding: 10px 0; font-size: 15px; font-weight: 500; color: #1A202C; border-bottom: 1px solid #EDF2F7; }
.navbar-mobile-menu a:last-of-type { border-bottom: none; }
.navbar-mobile-menu .btn-client { margin-top: 12px; justify-content: center; }
.navbar-mobile-menu .mobile-submenu { padding-left: 16px; display: none; flex-direction: column; }
.navbar-mobile-menu .mobile-submenu.open { display: flex; }
.navbar-mobile-menu .mobile-submenu a { font-size: 14px; color: #4A5568; border-bottom: none; padding: 6px 0; }
.navbar-mobile-menu .mobile-toggle { display: flex; justify-content: space-between; align-items: center; }
.navbar-mobile-menu .mobile-toggle::after { content: '+'; font-size: 18px; font-weight: 300; color: #4A5568; transition: transform 0.2s; }
.navbar-mobile-menu .mobile-toggle.active::after { content: '−'; }

/* HERO INTERNO (páginas internas) */
.hero-inner {
  background:
    linear-gradient(90deg, #16163f 0%, rgba(22,22,63,0.94) 30%, rgba(22,22,63,0.65) 60%, rgba(22,22,63,0.35) 100%),
    url('https://goncalvescontabil.com.br/wp-content/uploads/2024/11/contabilidade-blog-848x290-1.jpg') right center / cover no-repeat,
    linear-gradient(135deg, #16163f 0%, #1a2a4a 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 32px 72px;
  color: #fff;
}
.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
.hero-inner-content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.breadcrumb a:hover { color: #C6962A; }
.breadcrumb span.sep { color: rgba(255,255,255,0.4); }
.hero-inner .hero-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: #C6962A; border: 1px solid #C6962A; padding: 6px 14px; border-radius: 2px; margin-bottom: 22px;
}
.hero-inner h1 {
  font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700;
  color: #fff; line-height: 1.15; margin-bottom: 20px; max-width: 880px;
}
.hero-inner h1 em { font-style: italic; color: #C6962A; }
.hero-inner p.lead {
  font-size: 17px; color: #EDF2F7; line-height: 1.7; max-width: 780px; margin-bottom: 32px;
}
.hero-inner .hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: #C6962A; color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 4px; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #a97c22; transform: scale(1.02); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: #fff; font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: 4px; border: 2px solid #fff;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: #fff; color: #16163f; transform: scale(1.02); }
.btn-outline-blue {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: #fff; font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: 4px; border: 2px solid #fff;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline-blue:hover { background: #fff; color: #16163f; }
.btn-blue {
  display: inline-flex; align-items: center; gap: 6px;
  background: #2B6CB0; color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 4px; transition: background 0.2s, transform 0.2s;
}
.btn-blue:hover { background: #215387; transform: scale(1.02); }

/* SEÇÕES GENÉRICAS */
.section { padding: 88px 32px; }
.section.alt { background: #fff; }
.section.navy { background: #16163f; color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: rgba(255,255,255,0.8); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-inner.wide { max-width: 1280px; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700; color: #16163f; line-height: 1.2;
}
.section-title.centered { text-align: center; }
.section.navy .section-title { color: #fff; }
.section-subtitle { font-size: 17px; color: #4A5568; margin-top: 12px; }
.section-subtitle.centered { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section.navy .section-subtitle { color: rgba(255,255,255,0.75); }
.gold-divider { display: block; width: 60px; height: 3px; background: #C6962A; border-radius: 2px; margin: 18px 0 28px; }
.gold-divider.centered { margin: 18px auto 28px; }

/* Alinhamento consistente: H2 fora da prose alinha com a prose abaixo */
.section-inner:not(.wide) > h2,
.section-inner:not(.wide) > .section-title:not(.centered),
.section-inner:not(.wide) > .gold-divider:not(.centered) {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* PROSE — blocos de texto padrão */
.prose { max-width: 820px; margin: 0 auto; }
.prose.wide { max-width: 1080px; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: #16163f; margin: 48px 0 16px; line-height: 1.25; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: 'DM Sans', sans-serif; font-size: 20px; color: #16163f; margin: 32px 0 12px; font-weight: 700; }
.prose p { font-size: 16.5px; color: #2D3748; line-height: 1.8; margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 20px; }
.prose ul li, .prose ol li { font-size: 16px; color: #2D3748; line-height: 1.75; margin-bottom: 8px; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: #16163f; font-weight: 700; }
.prose a { color: #2B6CB0; font-weight: 500; text-decoration: underline; }
.prose a:hover { color: #215387; }
.prose blockquote { border-left: 4px solid #C6962A; padding: 4px 0 4px 20px; margin: 24px 0; font-style: italic; color: #4A5568; }

/* CARDS GRID (serviços, features, etc.) */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Balanceado para 5 cards: 3 em cima, 2 centralizados embaixo */
.cards-grid.cards-5-balanced { grid-template-columns: repeat(6, 1fr); max-width: 1200px; }
.cards-grid.cards-5-balanced > *:nth-child(1) { grid-column: 1 / span 2; }
.cards-grid.cards-5-balanced > *:nth-child(2) { grid-column: 3 / span 2; }
.cards-grid.cards-5-balanced > *:nth-child(3) { grid-column: 5 / span 2; }
.cards-grid.cards-5-balanced > *:nth-child(4) { grid-column: 2 / span 2; }
.cards-grid.cards-5-balanced > *:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 1024px) {
  .cards-grid.cards-5-balanced { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cards-5-balanced > * { grid-column: auto !important; }
}
.card {
  background: #fff; border: 1px solid #EDF2F7; border-radius: 8px; padding: 32px 24px;
  display: flex; flex-direction: column; transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { border-color: #2B6CB0; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(43,108,176,0.12); }
.card-icon {
  width: 52px; height: 52px; background: #EDF2F7; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #2B6CB0; flex-shrink: 0;
}
.card h3 { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; color: #16163f; margin-bottom: 10px; line-height: 1.3; }
.card p { font-size: 14.5px; color: #4A5568; line-height: 1.65; flex: 1; margin-bottom: 20px; }
.card-link { font-size: 14px; font-weight: 600; color: #2B6CB0; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.card-link:hover { text-decoration: underline; }
.card.featured { border-color: #C6962A; background: linear-gradient(180deg, #fffdf7 0%, #fff 100%); }
.card.featured .card-icon { background: #C6962A; color: #fff; }

/* FEATURE SECTION (imagem esquerda + lista direita) */
.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.feature-section-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(22,22,63,0.12);
}
.feature-section-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.feature-section-content .section-title { margin-bottom: 0; }
.feature-section-content .gold-divider { margin-bottom: 20px; }

/* FEATURE LIST (checklist) */
.feature-list { display: grid; grid-template-columns: repeat(1, 1fr); gap: 14px; margin: 24px 0; }
.feature-list.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 14px 36px; }
.feature-list li {
  list-style: none !important; padding-left: 32px; position: relative;
  font-size: 15.5px; color: #2D3748; line-height: 1.6;
  margin-left: 0 !important;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: #C6962A;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

/* STATS — layout 2-col: texto esquerda + cards verticais direita */
.stats-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.stats-section-text .section-title { margin-bottom: 0; }
.stats-section-text .gold-divider { margin-bottom: 20px; }
.stats-section-text .prose { margin: 0; max-width: 100%; }
.stats-section-text .prose p { margin-bottom: 16px; }
.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: #fff;
  border: 1px solid #EDF2F7;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: #2B6CB0;
  box-shadow: 0 10px 28px rgba(22,22,63,0.08);
}
.stat-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #C6962A;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card span, .stat-card p {
  display: block;
  font-size: 13.5px;
  color: #4A5568;
  line-height: 1.45;
}
/* Fallback: stats-row antigo (onde não convertido ou navy sections) */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; }
.stat { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: #C6962A; line-height: 1; display: block; }
.stat-label { font-size: 14px; color: #4A5568; margin-top: 8px; display: block; }
.section.navy .stat-label { color: rgba(255,255,255,0.75); }
@media (max-width: 1024px) {
  .stats-section { grid-template-columns: 1fr; gap: 36px; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stats-cards { grid-template-columns: 1fr; }
}

/* TIMELINE — passos horizontais com gradiente navy */
.timeline-section { padding: 88px 32px; background: #F7FAFC; }
.timeline-section.alt { background: #fff; }
.timeline-section .section-inner { max-width: 1200px; margin: 0 auto; }
.timeline-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.timeline-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px;
  color: #C6962A;
  margin-bottom: 16px;
}
.timeline-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  color: #16163f; line-height: 1.2;
}
.timeline {
  display: flex;
  gap: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}
.timeline-item {
  flex: 1;
  position: relative;
  padding: 32px 24px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
/* Gradiente navy: mais claro → mais escuro */
.timeline-item:nth-child(1) { background-color: #1e1e52; }
.timeline-item:nth-child(2) { background-color: #1a1a48; }
.timeline-item:nth-child(3) { background-color: #16163f; }
.timeline-item:nth-child(4) { background-color: #121236; }
.timeline-item:nth-child(5) { background-color: #0e0e2d; }
.timeline-item:nth-child(6) { background-color: #0b0b26; }
.timeline-item:nth-child(7) { background-color: #080820; }
/* Separador diagonal */
.timeline-item::after {
  content: '';
  position: absolute; top: 0; right: -1px;
  width: 2px; height: 100%;
  background: rgba(255,255,255,0.08);
  transform: skewX(-6deg);
  z-index: 1;
}
.timeline-item:last-child::after { display: none; }
.timeline-step {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: rgba(198,150,42,0.45);
  margin-bottom: 14px; line-height: 1;
}
.timeline-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #fff;
  margin-bottom: 8px; line-height: 1.35;
}
.timeline-item p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.65; margin: 0; flex-grow: 1;
}
@media (max-width: 1024px) {
  .timeline { flex-wrap: wrap; }
  .timeline-item { flex: 1 1 calc(33.33%); min-height: 200px; }
}
@media (max-width: 768px) {
  .timeline-section { padding: 64px 20px; }
  .timeline-header h2 { font-size: 28px; }
  .timeline {
    flex-direction: column;
    border-radius: 10px;
  }
  .timeline-item {
    min-height: auto;
    padding: 20px 22px;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .timeline-item::after { display: none; }
  .timeline-item h3 { margin-bottom: 4px; }
  .timeline-step { font-size: 22px; min-width: 36px; margin-bottom: 0; }
}

/* STEPS (legado — fallback) */
/* STEPS — 3 por linha como padrão (evita órfão em 5 cards = 3+2, 6 = 3+3) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.steps.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
.steps.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; }
.step {
  background: #fff;
  border: 1px solid #EDF2F7;
  border-radius: 14px;
  padding: 36px 30px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 220px;
}
.step:hover {
  transform: translateY(-4px);
  border-color: #2B6CB0;
  box-shadow: 0 14px 40px rgba(22,22,63,0.10);
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 30px;
  width: 44px; height: 4px;
  background: #C6962A;
  border-radius: 0 0 4px 4px;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 700;
  color: #C6962A;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #16163f;
  margin-bottom: 10px;
  line-height: 1.35;
}
.step p {
  font-size: 15px;
  color: #4A5568;
  line-height: 1.7;
  flex: 1;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid #EDF2F7; border-radius: 8px; padding: 22px 26px;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: #2B6CB0; }
.faq-item summary {
  list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; color: #16163f;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; font-weight: 300; color: #2B6CB0; transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; font-size: 15.5px; color: #2D3748; line-height: 1.75; }

/* COVERAGE NAVY — seção de bairros/regiões atendidas */
.coverage-navy {
  background: linear-gradient(135deg, #16163f 0%, #1a2a4a 100%);
  padding: 88px 32px;
  position: relative;
  overflow: hidden;
}
.coverage-navy::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.coverage-layout {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: flex-start;
}
.coverage-text h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 34px; color: #fff; line-height: 1.2; margin-bottom: 8px;
}
.coverage-text p {
  font-size: 16px; color: rgba(255,255,255,0.78);
  line-height: 1.7; margin-bottom: 20px;
}
.coverage-text .btn-primary { margin-top: 8px; }
.coverage-cards { display: flex; flex-direction: column; gap: 18px; }
.coverage-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 22px 26px;
}
.coverage-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 700; color: #C6962A;
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.coverage-card ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.coverage-card li {
  font-size: 14px; color: rgba(255,255,255,0.72);
  padding-left: 14px; position: relative; list-style: none;
}
.coverage-card li::before {
  content: '·'; position: absolute; left: 0; color: #C6962A; font-weight: 700;
}
@media (max-width: 1024px) {
  .coverage-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .coverage-navy { padding: 64px 20px; }
  .coverage-text h2 { font-size: 28px; }
}

/* CTA BAND */
.cta-band {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(43,108,176,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(198,150,42,0.10) 0%, transparent 45%),
    linear-gradient(135deg, rgba(22,22,63,0.97) 0%, rgba(22,22,63,0.92) 35%, rgba(22,22,63,0.85) 65%, rgba(22,22,63,0.78) 100%),
    url('https://goncalvescontabil.com.br/wp-content/uploads/2024/11/DALL·E-2024-08-20-19.33.55-A-realistic-horizontal-banner-image-representing-Business-Process-Outsourcing-BPO-financial-services.-The-image-shows-a-professional-office-environm.webp') center / cover no-repeat,
    #16163f;
  padding: 88px 32px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-band h2, .cta-band p, .cta-band .btns { position: relative; z-index: 1; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: #fff; margin-bottom: 14px; line-height: 1.25; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto 28px; line-height: 1.7; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* TWO-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; }
.two-col.img-right .img { order: 2; }
.two-col .img { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 56px rgba(22,22,63,0.14); }
.two-col .img img { width: 100%; height: 420px; object-fit: cover; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; max-width: 1180px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon {
  width: 44px; height: 44px; background: #EDF2F7; color: #2B6CB0;
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 14px; font-weight: 700; color: #16163f; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 15.5px; color: #2D3748; line-height: 1.55; }
.contact-info-item a:hover { color: #2B6CB0; }

.contact-form-card {
  background: #fff; border-radius: 12px; padding: 40px 36px;
  box-shadow: 0 12px 48px rgba(22,22,63,0.08); border: 1px solid #EDF2F7;
}
.contact-form-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: #16163f; margin-bottom: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: 13.5px; font-weight: 600; color: #4A5568; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit; font-size: 15px; color: #1A202C;
  border: 1.5px solid #EDF2F7; border-radius: 6px; padding: 11px 14px;
  background: #F7FAFC; outline: none; transition: border-color 0.2s, background 0.2s; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #2B6CB0; background: #fff; }
.contact-form button[type="submit"] {
  margin-top: 8px; background: #2B6CB0; color: #fff; font-size: 16px; font-weight: 700;
  padding: 14px; border-radius: 6px; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.contact-form button[type="submit"]:hover { background: #215387; transform: scale(1.01); }

/* MAP */
.map-wrap { max-width: 1280px; margin: 0 auto; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 40px rgba(22,22,63,0.1); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* CONTACT MODAL (global) */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-card { background: #fff; border-radius: 12px; max-width: 560px; width: 100%; padding: 44px 40px 36px; position: relative; transform: translateY(20px); transition: transform 0.25s ease; }
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 20px; font-size: 26px; color: #4A5568; line-height: 1; }
.modal-close:hover { color: #16163f; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #16163f; margin-bottom: 24px; }

/* FADE-UP */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* FOOTER */
.footer { background: #16163f; padding: 72px 32px 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1.2fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer-logo-main { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; color: #fff; display: block; }
.footer-logo-img { display: block; height: 56px; width: auto; max-width: 220px; margin-bottom: 16px; filter: brightness(0) invert(1); object-fit: contain; }
.footer-logo-sub { font-weight: 300; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: #9BAEC8; line-height: 1.65; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); transition: background 0.2s, color 0.2s; }
.footer-social:hover { background: #2B6CB0; color: #fff; }
.footer-col-title { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #9BAEC8; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #9BAEC8; margin-bottom: 12px; line-height: 1.5; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: #C6962A; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-bottom p { font-size: 13px; color: #9BAEC8; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 32px; right: 32px; z-index: 9998; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.40); transition: transform 0.2s, box-shadow 0.2s; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(37,211,102,0.55); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .feature-section { grid-template-columns: 1fr; gap: 36px; }
  .feature-section-img img { min-height: 240px; }
  .two-col.img-right .img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .navbar-nav { gap: 18px; }
  .hero-inner h1 { font-size: 38px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .navbar-nav { display: none; }
  .btn-client.desktop-only { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-mobile-menu.open { display: flex; }
  .section { padding: 64px 20px; }
  .cta-band { padding: 56px 20px; }
  .hero-inner { padding: 56px 20px; }
  .hero-inner h1 { font-size: 30px; }
  .hero-inner p.lead { font-size: 15px; }
  .section-title { font-size: 28px; }
  .cards-grid, .cards-grid.cols-4, .cards-grid.cols-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps, .steps.cols-4 { grid-template-columns: 1fr; gap: 16px; max-width: 420px; }
  .steps.cols-2 { grid-template-columns: 1fr; max-width: 420px; }
  .step { padding: 28px 22px 24px; min-height: 0; }
  .step-number { font-size: 40px; margin-bottom: 12px; }
  .stat-number { font-size: 34px; }
  .two-col .img img { height: 280px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 56px 20px 0; }
  .contact-form-card { padding: 28px 22px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .modal-card { padding: 32px 22px 28px; }
}

/* ============================================================
   TLDR "Em resumo" — bloco AEO (citabilidade IA)
============================================================ */

.s-tldr {
  background: linear-gradient(180deg, #FAFCFE 0%, #F1F5F9 100%);
  border-left: 4px solid #C6962A;
  padding: 40px 56px;
  margin: 0 auto;
  max-width: 920px;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(22, 22, 63, 0.06);
}

.s-tldr-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #C6962A;
  margin: 0 0 12px;
}

.s-tldr-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  line-height: 1.25;
  color: #16163f;
  margin: 0 0 24px;
  font-weight: 700;
}

.s-tldr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s-tldr-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1A202C;
  padding-left: 22px;
  position: relative;
}

.s-tldr-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #C6962A;
  border-radius: 50%;
}

.s-tldr-list li strong {
  color: #16163f;
  font-weight: 600;
}

@media (max-width: 768px) {
  .s-tldr { padding: 28px 24px; border-radius: 0; max-width: 100%; }
  .s-tldr-title { font-size: 21px; }
  .s-tldr-list li { font-size: 15px; }
}

/* ============================================================
   BYLINE E-E-A-T — Igor Gonçalves
============================================================ */

.s-author {
  background: #16163f;
  color: #F7FAFC;
  padding: 56px 5vw;
}

.s-author-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: start;
}

.s-author-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: #2B3060;
  border: 3px solid #C6962A;
  flex-shrink: 0;
}

.s-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-author-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-author-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #C6962A;
  margin: 0;
}

.s-author-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #F7FAFC;
  margin: 0;
}

.s-author-name em {
  font-style: italic;
  color: #C6962A;
}

.s-author-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #CBD5E0;
  margin: 0;
}

.s-author-bio a {
  color: #C6962A;
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 150, 42, 0.3);
  transition: border-color 0.2s;
}

.s-author-bio a:hover {
  border-bottom-color: #C6962A;
}

@media (max-width: 768px) {
  .s-author { padding: 40px 24px; }
  .s-author-inner { grid-template-columns: 1fr; gap: 20px; }
  .s-author-photo { width: 120px; height: 120px; margin: 0 auto; }
  .s-author-name { font-size: 21px; text-align: center; }
  .s-author-role { text-align: center; }
  .s-author-bio { font-size: 15px; }
}
