/* ==========================================================================
   TRÍADE ENGENHARIA — style.css (Organizado, Consolidado e Corrigido)
   Paleta: Azul-marinho #03162C / #062544 / #0b192c | Dourado #D99A20 | Cinza #F5F6F8
   ========================================================================== */

/* ---------- 1. VARIÁVEIS ---------- */
:root {
  --navy-dark: #03162C;
  --navy: #062544;
  --navy-custom: #0b192c;
  --gold: #D99A20;
  --gold-light: #f0b94a;
  --gold-accent: #e5a93b;
  --white: #FFFFFF;
  --gray-light: #F5F6F8;
  --text: #111827;
  --text-muted: #5b6472;
  --border: #e3e6eb;

  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  --container-width: 1200px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(3, 22, 44, 0.08);
  --shadow-strong: 0 15px 40px rgba(3, 22, 44, 0.18);
  --transition: 0.25s ease;
}

/* ---------- 2. RESET BÁSICO ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gold { color: var(--gold); }
section { padding: 80px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

/* Foco visível para acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- 3. BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-dark);
  border-color: var(--navy-dark);
}
.btn-outline-navy:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-block { width: 100%; }

/* ---------- 4. HEADER E NAVEGAÇÃO ---------- */
header, .site-header, nav {
  background-color: var(--navy-custom) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: 15px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-text-sub {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a,
header nav a, 
.site-header a, 
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: #ffffff !important;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:visited {
  color: #ffffff !important;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold) !important;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions .btn {
  padding: 12px 22px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #ffffff !important;
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. HERO (HOME E SERVIÇOS) ---------- */
.hero, .service-hero {
  background: linear-gradient(120deg, var(--navy-dark) 45%, var(--navy) 100%);
  background-color: var(--navy-custom) !important;
  color: var(--white);
  padding: 70px 0 60px;
  overflow: hidden;
  position: relative;
}

.hero-inner, .service-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-title, .service-hero h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  color: var(--white);
  letter-spacing: 0.5px;
}

.hero-text, .service-hero p {
  margin-top: 20px;
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.service-hero .btn { margin-top: 26px; }

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  max-width: 520px;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
}

.hero-feature .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(217, 154, 32, 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.hero-media, .about-media, .service-hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-strong);
}

.service-hero-media .img-placeholder { min-height: 320px; }

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #0d3357, #16456f);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
  padding: 24px;
  border: 1px dashed rgba(255,255,255,0.25);
}

.service-hero-media img, .hero-media img, .img-placeholder img {
  width: 100% !important;
  height: auto !important;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-top: 22px;
}

.service-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
}

.service-includes li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 800;
}

/* ---------- 6. FAIXA DE NÚMEROS (STATS BAND) ---------- */
section.stats-band, .stats-band {
  background: var(--navy-custom) !important;
  background-color: var(--navy-custom) !important;
  padding: 50px 20px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.stats-band .stats-grid {
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  gap: 20px !important;
  text-align: center !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px !important;
  font-weight: 700 !important;
  color: var(--gold-accent) !important;
  margin-bottom: 8px !important;
}

.stats-band .stat-label, 
.stats-band div {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-top: 4px;
}

/* ---------- 7. SERVIÇOS E CARDS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.service-card-media { height: 170px; }

.service-card-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(217, 154, 32, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.service-card ul {
  margin-bottom: 22px;
  flex: 1;
}

.service-card li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
}

.service-link {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.service-link:hover {
  color: var(--gold);
  gap: 10px;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Define exatamente 2 colunas lado a lado */
  gap: 20px; /* Espaçamento entre os cards */
}

.other-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow);
}

.other-card .img-placeholder {
  min-height: 200px;
  position: absolute;
  inset: 0;
}

.other-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,22,44,0.92) 10%, rgba(3,22,44,0.15) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.other-card-overlay h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 4px;
}

.other-card-overlay a {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 8. POR QUE ESCOLHER (WHY BAND) ---------- */
section.why-band {
  background-color: var(--navy-custom) !important;
  width: 100% !important;
  padding: 60px 0 !important;
  margin: 0 !important;
}

section.why-band .container {
  max-width: var(--container-width) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  background: transparent !important;
}

section.why-band h2, 
section.why-band h4, 
section.why-band p, 
section.why-band span {
  color: #ffffff !important;
}

section.why-band .why-icon {
  color: var(--gold-accent) !important;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.why-item { text-align: center; }

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(217, 154, 32, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}

.why-item h4 {
  color: var(--white);
  font-size: 15.5px;
  margin-bottom: 6px;
}

.why-item p {
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
}

/* ---------- 9. CASES ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.case-card .img-placeholder { min-height: 150px; }
.case-card-body { padding: 18px 20px 22px; }
.case-card h4 { font-size: 15px; margin-bottom: 4px; }
.case-card p { color: var(--text-muted); font-size: 13px; }
.cases-cta { text-align: center; margin-top: 40px; }

/* ---------- 10. CTA FINAL E BADGES ---------- */
.final-cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 14px;
}

.final-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  font-size: 16px;
}

[class*="cta"], 
.final-cta, 
.cases-cta, 
section.dark-bg {
  color: #ffffff !important;
}

[class*="cta"] h1, [class*="cta"] h2, [class*="cta"] h3, [class*="cta"] h4,
.final-cta h1, .final-cta h2, .final-cta h3, .final-cta h4,
.cases-cta h1, .cases-cta h2, .cases-cta h3, .cases-cta h4 {
  color: #ffffff !important;
}

[class*="cta"] p, 
.final-cta p, 
.cases-cta p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
}

.trust-badge .icon {
  color: var(--gold);
  font-size: 18px;
}

/* ---------- 11. FOOTER E WHATSAPP FLUTUANTE ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 10px;
}

.footer-slogan {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  padding: 22px 0;
  color: rgba(255,255,255,0.5);
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- 12. PÁGINAS INTERNAS ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-dark) 45%, var(--navy) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 14px auto 0;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--gold); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-media .img-placeholder { min-height: 420px; border-radius: var(--radius); }
.about-content h2 { font-size: 28px; margin-bottom: 18px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 15.5px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.value-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 26px;
}

.value-card h4 { font-size: 16px; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-info-list .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(217,154,32,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-info-list h4 { font-size: 15px; margin-bottom: 3px; }
.contact-info-list p { font-size: 14px; color: var(--text-muted); }

.contact-form {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.situations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.situation-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.situation-item .icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(217,154,32,0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.situation-item p { font-size: 14.5px; color: var(--text); }

.steps-band { background: var(--gray-light); }

.steps-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed #d4af37;
  z-index: 1;
}

.steps-grid .step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.steps-grid .step-item h4 {
  margin-top: 15px;
  margin-bottom: 5px;
}

.steps-grid .step-item p {
  font-size: 14px;
  color: #555;
}

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

.differential-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.differential-card .icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(217,154,32,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
}

.differential-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.differential-card p { font-size: 13.5px; color: var(--text-muted); }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-dark);
}

.faq-question .faq-icon {
  color: var(--gold);
  font-size: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-answer p { padding: 0 4px 20px; font-size: 14.5px; color: var(--text-muted); }

.legal-note {
  background: var(--gray-light);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 30px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.blog-card .img-placeholder { min-height: 170px; }
.blog-card-body { padding: 20px; }
.blog-card h4 { font-size: 16px; margin-bottom: 8px; }
.blog-card p { font-size: 13.5px; color: var(--text-muted); }

.coming-soon-banner {
  text-align: center;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 50px 24px;
  margin-top: 40px;
}
.coming-soon-banner h3 { font-size: 20px; margin-bottom: 10px; }
.coming-soon-banner p { color: var(--text-muted); }

/* ---------- 13. CORREÇÃO DE LEGIBILIDADE GERAL (FUNDO BRANCO) ---------- */
section:not(.hero):not(.service-hero):not(header):not(.why-band):not(.stats-band) {
  background-color: #ffffff !important;
  color: #333333 !important;
}

section:not(.hero):not(.service-hero):not(.why-band):not(.stats-band):not(.final-cta) h2,
section:not(.hero):not(.service-hero):not(.why-band):not(.stats-band):not(.final-cta) h3,
section:not(.hero):not(.service-hero):not(.why-band):not(.stats-band):not(.final-cta) h4,
section:not(.hero):not(.service-hero):not(.why-band):not(.stats-band):not(.final-cta) .section-title {
  color: #0b192c !important;
}

section:not(.hero):not(.service-hero):not(.why-band):not(.stats-band) p,
section:not(.hero):not(.service-hero):not(.why-band):not(.stats-band) span:not(.eyebrow) {
  color: #555555 !important;
}

/* ---------- 14. RESPONSIVIDADE E MENU MOBILE (CORRIGIDO) ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .other-services-grid,
  .cases-grid,
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid, .service-hero-inner, .hero-inner { gap: 36px; }
}

@media (max-width: 860px) {
  header.site-header, 
  .site-header {
    position: relative !important;
    z-index: 1000 !important;
  }

  /* Garante que o botão hamburger fique sempre acessível no topo de tudo */
  .hamburger { 
    display: flex !important; 
    z-index: 2147483647 !important; 
    position: relative !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* Menu lateral fixo */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 80px 30px 30px 30px !important;
    transition: right 0.3s ease-in-out !important;
    z-index: 2147483646 !important;
  }

  .main-nav.is-open { 
    right: 0 !important; 
  }

  .main-nav a {
    color: #111111 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    pointer-events: auto !important;
    display: block !important;
  }

  .header-actions .btn { display: none !important; }
  
  /* O overlay só recebe eventos e aparece quando ativado */
  .nav-overlay {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(3,22,44,0.6) !important;
    z-index: 2147483645 !important;
    pointer-events: none !important;
  }
  
  .nav-overlay.is-open { 
    display: block !important; 
    pointer-events: auto !important;
  }

  .hero-inner,
  .about-grid,
  .contact-grid,
  .service-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .about-media,
  .service-hero-media { order: -1; }

  section { padding: 56px 0; }

  .services-grid,
  .other-services-grid,
  .cases-grid,
  .stats-grid,
  .why-grid,
  .differentials-grid,
  .blog-grid { grid-template-columns: 1fr 1fr; }

  .steps-grid { grid-template-columns: 1fr 1fr; }
  .situations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }

  .stats-grid,
  .services-grid,
  .other-services-grid,
  .cases-grid,
  .why-grid,
  .differentials-grid,
  .steps-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .hero-features { grid-template-columns: 1fr; }
  .hero-actions, .service-hero .btn { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .service-hero .btn { width: 100%; }
  .trust-badges { flex-direction: column; align-items: center; gap: 14px; }
  .service-includes { grid-template-columns: 1fr; }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ---------- 15. ANIMAÇÕES GLOBAIS E CURSOR ---------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: var(--gold, #D99A20);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  z-index: 10000;
}

.custom-cursor.hovered {
  transform: translate(-50%, -50%) scale(2.2);
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 15px rgba(217, 154, 32, 0.5);
}

a, button, .btn, .service-card, .other-card, .why-item, .footer-col a, .footer-social a, .whatsapp-float {
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.service-card:hover, .other-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.footer-col a:hover {
  transform: translateX(5px);
  color: var(--gold, #D99A20) !important;
}

.footer-social a:hover {
  transform: translateY(-4px) scale(1.1);
}

.why-item:hover {
  transform: translateY(-4px);
}

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

/* ---------- 16. RODAPÉ E ÍCONES SOCIAIS ---------- */
.footer-social {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  margin-top: 15px !important;
}

.footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
}

.footer-social a:hover {
  background: var(--gold, #D99A20) !important;
  border-color: var(--gold, #D99A20) !important;
  transform: translateY(-4px) scale(1.1) !important;
  color: #0b192c !important;
}

.footer-social svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}

/* ---------- 17. ÍCONES EM CÍRCULO E TAMANHO DE TEXTO ---------- */
.icon-circle {
  width: 44px !important;
  height: 44px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 0 !important;
  margin-right: 15px !important;
  position: relative !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}

.icon-circle > * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.icon-circle::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  background-color: #111827 !important;
  border-radius: 50% !important;
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.icon-circle::after {
  display: none !important;
}

.icon-circle ~ p, 
.icon-circle ~ div,
.icon-circle + div,
.icon-circle ~ span,
.situation-item p,
.contact-info-list p,
.differential-card p,
.why-item p {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.icon-circle ~ * strong, 
.icon-circle ~ * b,
.situation-item h4,
.differential-card h4,
.why-item h4 {
  font-size: 17px !important;
}
@media (max-width: 860px) {
  /* Garante que o menu lateral tenha fundo totalmente branco e fique acima do fundo escuro */
  .main-nav {
    background-color: #ffffff !important;
    color: #111111 !important;
    z-index: 2147483647 !important;
  }

  /* Deixa todos os links do menu visíveis e com cor escura */
  .main-nav a {
    color: #111111 !important;
    font-size: 18px !important;
    display: block !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ajusta o overlay para ficar atrás do menu, mas na frente do site */
  .nav-overlay.is-open {
    background: rgba(3, 22, 44, 0.5) !important;
    z-index: 2147483646 !important;
    display: block !important;
  }
}
@media (max-width: 860px) {
  .site-header {
    position: relative !important;
    z-index: 1000 !important;
  }

  .nav-overlay {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(3, 22, 44, 0.7) !important;
    z-index: 998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    pointer-events: none !important;
  }
  
  .nav-overlay.is-open { 
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    background-color: #0b192c !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 90px 30px 30px 30px !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 999 !important;
  }

  .main-nav.is-open { 
    right: 0 !important; 
  }
}
/* Correção definitiva para a camada escura não bloquear os cliques */
.nav-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(3, 22, 44, 0.7) !important;
  z-index: 998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.nav-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
@media (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
  }
  
  .about-media, .about-content {
    width: 100%;
    max-width: 100%;
  }

  .about-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}