/* ============================================================
   BARSAN CONSULTORIA CONTÁBIL — Folha de estilo compartilhada
   Paleta (derivada da logo): grafite #1a1b1e · cinza #f4f5f6
   · branco · dourado #c9a227 / #e8c877
   Fontes: Playfair Display (serif) · DM Sans (sans)

   Nota de contraste: o dourado #c9a227 não atinge AA como texto
   sobre branco. Em fundo claro, texto/links usam --gold-text
   (#8a6d14); o dourado puro fica em bordas, ícones e fundos.
============================================================ */

:root {
  --ink: #1a1b1e;          /* grafite — fundo escuro e títulos */
  --ink-2: #2b2d31;        /* grafite claro — gradientes */
  --graphite: #3a3d42;
  --gray-700: #4a4d52;     /* texto corrido */
  --gray-500: #6f7378;     /* texto secundário */
  --gray-300: #d4d6d9;
  --line: #e5e7e9;
  --bg: #f4f5f6;           /* cinza de fundo */
  --white: #fff;

  --gold: #c9a227;         /* dourado principal */
  --gold-light: #e8c877;   /* dourado claro — sobre fundo escuro */
  --gold-dark: #a8851b;
  --gold-text: #8a6d14;    /* dourado legível como texto sobre branco */
  --gold-soft: #f7efd8;    /* fundo dourado suave */

  --wa: #25d366;
  --shadow-sm: 0 2px 10px rgba(26,27,30,0.06);
  --shadow-md: 0 12px 34px rgba(26,27,30,0.10);
  --shadow-lg: 0 22px 54px rgba(26,27,30,0.16);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* TOPBAR */
.topbar { background: var(--ink); color: #fff; font-size: 12.5px; padding: 9px 0; position: relative; z-index: 1000; }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.82); transition: color .2s; }
.topbar-item:hover { color: var(--gold-light); }
.topbar-item svg { flex-shrink: 0; color: var(--gold); }

/* NAVBAR */
.navbar { background: #fff; position: sticky; top: 0; z-index: 999; transition: box-shadow .3s ease; border-bottom: 1px solid var(--line); }
.navbar.scrolled { box-shadow: 0 2px 18px rgba(26,27,30,0.10); }
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.navbar-logo-img { height: 46px; width: auto; }
.navbar-wordmark { display: flex; flex-direction: column; line-height: 1; }
.navbar-wordmark b { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: 1.5px; }
.navbar-wordmark span { font-size: 9.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-text); margin-top: 3px; font-weight: 600; }
.navbar-nav { display: flex; align-items: center; gap: 25px; flex: 1; justify-content: center; }
.navbar-nav > a, .nav-dropdown > a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding-bottom: 3px; transition: color .2s; cursor: pointer; white-space: nowrap; }
.navbar-nav > a::after, .nav-dropdown > a::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.navbar-nav > a:hover, .nav-dropdown:hover > a { color: var(--gold-text); }
.navbar-nav > a:hover::after, .nav-dropdown:hover > a::after { width: 100%; }

.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: var(--shadow-md); border-top: 3px solid var(--gold); padding: 10px 0; min-width: 300px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .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: 9px 22px; font-size: 14px; color: var(--gray-700); transition: background .15s, color .15s; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--gold-text); }
.nav-dropdown-menu a::after { display: none; }

.btn-client { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; padding: 11px 20px; border-radius: 4px; white-space: nowrap; transition: background .2s, transform .2s; flex-shrink: 0; }
.btn-client:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }

.navbar-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: 5px; }
.navbar-hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.navbar-mobile-menu { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line); padding: 16px 28px 26px; gap: 2px; max-height: 78vh; overflow-y: auto; }
.navbar-mobile-menu a { padding: 11px 0; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.navbar-mobile-menu .mobile-submenu { padding-left: 14px; display: none; flex-direction: column; }
.navbar-mobile-menu .mobile-submenu.open { display: flex; }
.navbar-mobile-menu .mobile-submenu a { font-size: 14px; color: var(--gray-500); border-bottom: none; padding: 7px 0; }
.navbar-mobile-menu .mobile-toggle { display: flex; justify-content: space-between; align-items: center; }
.navbar-mobile-menu .mobile-toggle::after { content: '+'; font-size: 19px; font-weight: 300; color: var(--gold-text); }
.navbar-mobile-menu .mobile-toggle.active::after { content: '−'; }
.navbar-mobile-menu .btn-client { margin-top: 14px; justify-content: center; border-bottom: none; }

/* HERO */
.hero-inner {
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(26,27,30,0.91) 32%, rgba(26,27,30,0.55) 62%, rgba(26,27,30,0.20) 100%),
    var(--hero-img, none) center right / cover no-repeat,
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  position: relative; overflow: hidden; padding: 88px 32px 80px; color: #fff;
}
.hero-inner::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 8% 60%, rgba(0,0,0,0.34) 0%, transparent 60%);
}
.hero-inner::after {
  content: ''; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(201,162,39,0.20) 0%, transparent 66%);
}
.hero-inner-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.hero-inner.home { padding: 112px 32px 104px; }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.62); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.breadcrumb a { color: rgba(255,255,255,0.86); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span.sep { color: rgba(255,255,255,0.38); }

.hero-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(232,200,119,0.55); padding: 7px 15px; border-radius: 2px; margin-bottom: 22px; }
.hero-inner h1 { font-family: 'Playfair Display', serif; font-size: 45px; font-weight: 700; color: #fff; line-height: 1.16; margin-bottom: 20px; max-width: 900px; }
.hero-inner h1 em { font-style: italic; color: var(--gold-light); }
.hero-inner p.lead { font-size: 17.5px; color: #e3e5e7; line-height: 1.72; max-width: 800px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* BOTÕES */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--ink); font-size: 15px; font-weight: 700; padding: 15px 30px; border-radius: 4px; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 6px 20px rgba(201,162,39,0.28); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,162,39,0.36); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 4px; border: 2px solid rgba(255,255,255,0.6); transition: background .2s, color .2s, border-color .2s; }
.btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; padding: 15px 30px; border-radius: 4px; transition: background .2s, transform .2s; }
.btn-dark:hover { background: var(--graphite); transform: translateY(-2px); }
.btn-wa { display: inline-flex; align-items: center; gap: 9px; background: var(--wa); color: #fff; font-size: 15px; font-weight: 700; padding: 15px 30px; border-radius: 4px; transition: background .2s, transform .2s; }
.btn-wa:hover { background: #1eb355; transform: translateY(-2px); }

/* SEÇÕES */
.section { padding: 86px 32px; }
.section.alt { background: #fff; }
.section.dark { background: var(--ink); color: rgba(255,255,255,0.82); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-inner.wide { max-width: 1280px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 35px; font-weight: 700; color: var(--ink); line-height: 1.22; }
.section-title.centered { text-align: center; }
.section-subtitle { font-size: 17px; color: var(--gray-500); margin-top: 12px; line-height: 1.7; }
.section-subtitle.centered { text-align: center; max-width: 730px; margin-left: auto; margin-right: auto; }
.accent-divider { display: block; width: 62px; height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); border-radius: 2px; margin: 18px 0 28px; }
.accent-divider.centered { margin: 18px auto 30px; }
.cards-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.cards-intro p { font-size: 16.5px; color: var(--gray-700); line-height: 1.8; margin-bottom: 12px; }

/* TLDR — "Em resumo" */
.section-tldr { padding: 62px 32px 66px; margin: 0 auto; max-width: 840px; }
.s-tldr { background: #fff; border: 1px solid rgba(201,162,39,0.45); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 36px 38px 36px; }
.s-tldr-label { font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.s-tldr-title { font-family: 'Playfair Display', serif; font-size: 25px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 20px; }
.s-tldr-list { display: grid; gap: 13px; }
.s-tldr-list li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--gray-700); line-height: 1.7; }
.s-tldr-list li::before { content: ''; position: absolute; left: 1px; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.s-tldr-list strong { color: var(--ink); font-weight: 700; }

/* TWO-COL (texto + imagem) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.two-col.img-right .tc-img { order: 2; }
/* Imagem recortada no contorno do "B" do logotipo.
   O ::before é a mesma forma 9px maior, servindo de contorno dourado;
   a sombra vai no filter (box-shadow seria cortado pelo clip-path). */
.two-col .tc-img {
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 380px; margin: 0 auto;
  filter: drop-shadow(0 20px 32px rgba(26,27,30,0.22));
}
.two-col .tc-img::before {
  content: ''; position: absolute; inset: -9px; z-index: 0;
  background: linear-gradient(140deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  clip-path: url(#barsan-b);
}
.two-col .tc-img img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  clip-path: url(#barsan-b);
}
.two-col .tc-text h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--ink); line-height: 1.24; margin-bottom: 18px; font-weight: 700; }
.two-col .tc-text p { font-size: 16.5px; color: var(--gray-700); line-height: 1.82; margin-bottom: 18px; }
.two-col .tc-text p:last-child { margin-bottom: 0; }
.two-col .tc-text a { color: var(--gold-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.two-col .tc-text a:hover { color: var(--ink); }

/* LISTA DE FEATURES */
.feature-list { display: grid; gap: 14px; margin: 24px 0; }
.feature-list li { position: relative; padding-left: 30px; font-size: 16px; color: var(--gray-700); line-height: 1.72; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 15px; height: 8px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.feature-list strong { color: var(--ink); font-weight: 700; }
.link-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.link-chips li { list-style: none; }
.link-chips a { display: inline-block; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 9px 16px; border-radius: 4px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.link-chips a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* BLOCO — faixa escura */
.bloco-band { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); padding: 82px 32px; position: relative; overflow: hidden; }
.bloco-band::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 18% 8%, rgba(201,162,39,0.13) 0%, transparent 55%), radial-gradient(ellipse at 84% 96%, rgba(201,162,39,0.10) 0%, transparent 52%); }
.bloco-band-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; text-align: center; }
.bloco-band-h { font-family: 'Playfair Display', serif; font-size: 33px; font-weight: 700; color: #fff; line-height: 1.26; margin-bottom: 26px; }
.bloco-band-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(232,200,119,0.24); border-radius: 10px; padding: 34px 38px; text-align: left; backdrop-filter: blur(4px); }
.bloco-band-text p { font-size: 16.5px; color: rgba(255,255,255,0.86); line-height: 1.82; margin-bottom: 16px; }
.bloco-band-text p:last-child { margin-bottom: 0; }
.bloco-band-text strong { color: var(--gold-light); }
.bloco-band-text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.bloco-band-text .feature-list li { color: rgba(255,255,255,0.86); }
.bloco-band-text .feature-list strong { color: var(--gold-light); }
.bloco-band-text .link-chips a { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(232,200,119,0.3); }

/* BLOCO — card com ícone */
.bloco-callout { padding: 74px 32px; }
.bloco-callout-card { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 12px; border-left: 5px solid var(--gold); box-shadow: var(--shadow-md); padding: 40px 44px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.bloco-callout-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bloco-callout-body h2 { font-family: 'Playfair Display', serif; font-size: 29px; color: var(--ink); line-height: 1.26; margin-bottom: 16px; font-weight: 700; }
.bloco-callout-body p { font-size: 16.5px; color: var(--gray-700); line-height: 1.82; margin-bottom: 16px; }
.bloco-callout-body p:last-child { margin-bottom: 0; }
.bloco-callout-body a { color: var(--gold-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* BLOCO — comparativo */
.bloco-compare { background: #fff; padding: 84px 32px; }
.bloco-compare-inner { max-width: 1080px; margin: 0 auto; }
.bloco-compare-inner > h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--ink); text-align: center; line-height: 1.24; font-weight: 700; }
.bloco-compare-lead { text-align: center; font-size: 17px; color: var(--gray-500); max-width: 760px; margin: 16px auto 40px; line-height: 1.72; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-card { border-radius: 10px; padding: 32px 30px; }
.compare-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.compare-card ul { display: grid; gap: 12px; }
.compare-card li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.65; }
.compare-neg { background: var(--bg); border: 1px solid var(--line); }
.compare-neg h3 { color: var(--gray-500); }
.compare-neg li { color: var(--gray-500); }
.compare-neg li::before { content: '×'; position: absolute; left: 2px; top: 0; font-size: 19px; line-height: 1.35; color: #8c9196; }
.compare-pos { background: var(--ink); border: 1px solid var(--gold); }
.compare-pos h3 { color: var(--gold-light); }
.compare-pos li { color: rgba(255,255,255,0.9); }
.compare-pos li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--gold-light); border-bottom: 2.5px solid var(--gold-light); transform: rotate(-45deg); }
.bloco-compare-quote { text-align: center; font-size: 17px; color: var(--gray-700); max-width: 800px; margin: 38px auto 0; line-height: 1.75; }
.bloco-compare-quote strong { color: var(--ink); }

/* BLOCO — mapa geo */
.bloco-map { background: var(--bg); padding: 80px 32px; }
.bloco-map-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.bloco-map-text h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--ink); line-height: 1.24; margin-bottom: 18px; font-weight: 700; }
.bloco-map-text p { font-size: 16.5px; color: var(--gray-700); line-height: 1.82; margin-bottom: 16px; }
.bloco-map-text a { color: var(--gold-text); font-weight: 600; text-decoration: underline; }
.bloco-map-img { background: #fff; border-radius: 12px; padding: 16px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.bloco-map-img img { width: 100%; height: auto; border-radius: 6px; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card h3 { font-size: 18.5px; font-weight: 700; color: var(--ink); margin-bottom: 11px; line-height: 1.35; }
.card p { font-size: 15.3px; color: var(--gray-500); line-height: 1.7; }
.card-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--gold-text); }
a.card:hover .card-link { color: var(--ink); }

/* SERVIÇOS EM DETALHE (hub) */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.services-list h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.services-list > p { grid-column: 1/-1; font-size: 16.5px; line-height: 1.8; }
.services-list ul { display: contents; }
.services-list ul li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 24px 26px; font-size: 15.5px; line-height: 1.7; color: var(--gray-700); }
.services-list ul li strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.services-list ul li a { color: var(--gold-text); font-weight: 600; text-decoration: underline; }

/* FAQ */
.s-faq { max-width: 900px; margin: 0 auto; padding: 84px 32px; }
.s-faq > h2 { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 34px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 21px 56px 21px 26px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 23px; font-weight: 300; color: var(--gold-text); line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-q-title { font-size: 16.5px; font-weight: 600; color: var(--ink); display: inline; line-height: 1.5; margin: 0; }
.faq-item p { padding: 0 26px 24px; font-size: 15.8px; color: var(--gray-700); line-height: 1.8; }
.faq-item a { color: var(--gold-text); font-weight: 600; text-decoration: underline; }

/* FECHAMENTO — "Para aprofundar" + byline E-E-A-T, discretos, antes do CTA */
.s-closing { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 32px 60px; }
.s-closing-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: start; }
.s-closing-inner.single { grid-template-columns: 1fr; max-width: 780px; }

/* rótulo comum às duas colunas */
.s-closing .post-related > h2,
.s-author-role {
  font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray-500);
  margin-bottom: 22px; line-height: 1.5;
}

/* coluna esquerda — Para aprofundar */
.post-related { max-width: 940px; margin: 0 auto; }
.s-closing .post-related { background: none; border: none; border-radius: 0; padding: 0; margin: 0; max-width: none; }
.s-closing .post-related ul { display: grid; gap: 15px; }
.s-closing .post-related li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--gray-500); line-height: 1.65; }
.s-closing .post-related li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.s-closing .post-related a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--gray-300); transition: text-decoration-color .2s, color .2s; }
.s-closing .post-related a:hover { color: var(--gold-text); text-decoration-color: var(--gold); }

/* coluna direita — assinatura */
.s-author { background: none; border: none; padding: 0; }
.s-author-inner { max-width: none; margin: 0; }
.s-author-text { border-left: none; padding-left: 0; }
.s-author-name { font-family: 'DM Sans', sans-serif; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.7; margin-bottom: 11px; }
.s-author-bio { font-size: 14.5px; color: var(--gray-500); line-height: 1.78; margin-bottom: 0; }
.s-author-bio strong { color: var(--gray-700); font-weight: 600; }
.s-author-bio a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gray-300); }
.s-author-bio a:hover { color: var(--gold-text); text-decoration-color: var(--gold); }
.s-author-meta { font-size: 13px; color: #8b8f94; margin-top: 18px; }

/* CTA FINAL */
.cta-band { position: relative; padding: 86px 32px; background: var(--ink); overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: var(--cta-img, none) center / cover no-repeat; opacity: 0.20; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,27,30,0.95) 0%, rgba(26,27,30,0.72) 100%); }
.cta-band-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.cta-band-inner h2 { font-family: 'Playfair Display', serif; font-size: 36px; color: #fff; margin-bottom: 18px; font-weight: 700; }
.cta-final { font-size: 17px; color: rgba(255,255,255,0.86); line-height: 1.78; margin-bottom: 30px; }
.cta-final a { color: var(--gold-light); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* CONTATO */
.contact-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.contact-info-item > div { min-width: 0; }
.contact-info-item p, .contact-info-item a { overflow-wrap: anywhere; }
.contact-info-item .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item h4 { font-size: 15px; color: var(--ink); margin-bottom: 5px; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--gray-700); line-height: 1.6; }
.contact-info-item a { color: var(--gold-text); font-weight: 600; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 10px; padding: 36px 38px; box-shadow: var(--shadow-sm); }
.contact-form-card h3 { font-family: 'Playfair Display', serif; font-size: 25px; color: var(--ink); margin-bottom: 24px; font-weight: 700; }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 5px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { min-height: 108px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.16); }
.contact-form button[type="submit"] { width: 100%; background: var(--gold); color: var(--ink); font-size: 15.5px; font-weight: 700; padding: 15px; border-radius: 5px; transition: background .2s; }
.contact-form button[type="submit"]:hover { background: var(--gold-light); }
/* ONDE ATENDEMOS (contato) — mapa + carrossel de bairros */
.geo-map { max-width: 620px; margin: 6px auto 48px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
.geo-map img { width: 100%; height: auto; border-radius: 6px; }

.geo-carousel { position: relative; }
.geo-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
.geo-track::-webkit-scrollbar { height: 7px; }
.geo-track::-webkit-scrollbar-track { background: var(--line); border-radius: 4px; }
.geo-track::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
.geo-track::-webkit-scrollbar-thumb:hover { background: var(--gold); }
.geo-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 8px; }

.geo-card {
  flex: 0 0 286px; scroll-snap-align: start; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.geo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.geo-card-img { position: relative; height: 166px; overflow: hidden; background: var(--ink); }
.geo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.geo-card:hover .geo-card-img img { transform: scale(1.06); }
.geo-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,27,30,0.90) 6%, rgba(26,27,30,0.55) 42%, rgba(26,27,30,0.12) 100%); }
.geo-card-img h3 {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 15px;
  font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700;
  color: #fff; line-height: 1.24; text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.geo-card-img h3::before { content: ''; display: block; width: 30px; height: 2px; background: var(--gold); margin-bottom: 9px; }
.geo-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.geo-card-links { display: grid; gap: 8px; margin-top: auto; }
.geo-card-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 6px; padding: 10px 12px; transition: background .2s, color .2s, border-color .2s;
}
.geo-card-links a svg { color: var(--gold-text); flex-shrink: 0; transition: transform .2s; }
.geo-card-links a:hover { background: var(--ink); color: #fff; border-color: var(--ink); border-left-color: var(--gold); }
.geo-card-links a:hover svg { color: var(--gold-light); transform: translateX(3px); }

.geo-nav {
  position: absolute; top: 83px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, opacity .2s, visibility .2s;
}
.geo-nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.geo-nav.prev { left: -14px; }
.geo-nav.next { right: -14px; }
.geo-nav[disabled] { opacity: 0; visibility: hidden; pointer-events: none; }

.map-wrap { max-width: 1160px; margin: 0 auto; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,27,30,0.72); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 24px; }
.modal-overlay.active { display: flex; }
.modal-card { background: #fff; border-radius: 10px; border-top: 4px solid var(--gold); padding: 38px 40px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 14px; right: 18px; font-size: 30px; line-height: 1; color: var(--gray-500); }
.modal-close:hover { color: var(--ink); }
.modal-title { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--ink); margin-bottom: 22px; font-weight: 700; }

/* BLOG */
.blog-layout { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.blog-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 18px; margin-bottom: 28px; color: var(--gray-500); }
.blog-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 15px; color: var(--ink); background: none; }
.article-list { display: grid; gap: 22px; }
.article-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.article-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.article-row-img { overflow: hidden; }
.article-row-img img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.article-row-body { padding: 24px 26px 24px 0; }
.article-card-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-text); background: var(--gold-soft); padding: 5px 11px; border-radius: 3px; margin-bottom: 12px; }
.article-row-body h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--ink); line-height: 1.32; margin-bottom: 10px; font-weight: 700; }
.article-row-body p { font-size: 15.3px; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; }
.article-row-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--gray-500); }
.article-row-meta span { display: flex; align-items: center; gap: 6px; }
.article-row-meta svg { color: var(--gold); }
.blog-noresults { text-align: center; color: var(--gray-500); padding: 40px 0; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: block; }
.article-card-img img { width: 100%; height: 190px; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-card-body h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--ink); margin-bottom: 10px; line-height: 1.32; }
.article-card-body p { font-size: 15px; color: var(--gray-500); line-height: 1.68; }
.article-card-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--gold-text); }

.blog-sidebar { display: grid; gap: 22px; position: sticky; top: 100px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; }
.side-cta { background: var(--ink); border-color: var(--ink); text-align: center; }
.side-cta-ic { display: inline-flex; width: 50px; height: 50px; border-radius: 50%; background: rgba(201,162,39,0.18); color: var(--gold-light); align-items: center; justify-content: center; margin-bottom: 14px; }
.side-cta h3 { font-family: 'Playfair Display', serif; font-size: 21px; color: #fff; margin-bottom: 10px; }
.side-cta p { font-size: 14.5px; color: rgba(255,255,255,0.76); line-height: 1.68; margin-bottom: 18px; }
.side-cta-btn { width: 100%; justify-content: center; padding: 13px; }
.side-title { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); font-weight: 700; }
.side-facts { display: grid; gap: 11px; }
.side-facts li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--gray-700); line-height: 1.6; }
.side-facts li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2.2px solid var(--gold); border-bottom: 2.2px solid var(--gold); transform: rotate(-45deg); }
.side-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--gold-text); }
.side-posts { display: grid; gap: 16px; }
.side-posts a { display: flex; gap: 13px; align-items: center; }
.side-post-thumb { width: 66px; height: 58px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.side-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-post-info { display: flex; flex-direction: column; gap: 4px; }
.side-post-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-text); }
.side-post-t { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.42; }
.side-posts a:hover .side-post-t { color: var(--gold-text); }

.article-hero { padding-bottom: 66px; }
.article-meta { font-size: 14px; color: rgba(255,255,255,0.74); }
.article-featured { border-radius: 10px; overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow-md); }
.article-featured img { width: 100%; height: auto; }
.prose { max-width: 100%; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--ink); margin: 42px 0 16px; line-height: 1.26; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 30px 0 12px; font-weight: 700; }
.prose p { font-size: 16.5px; color: var(--gray-700); line-height: 1.85; margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose li { font-size: 16px; color: var(--gray-700); line-height: 1.78; margin-bottom: 8px; list-style: disc; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--gold-text); font-weight: 600; text-decoration: underline; }

.section-related-blog { background: #fff; padding: 70px 32px; border-top: 1px solid var(--line); }
.related-blog-title { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--ink); margin-bottom: 26px; font-weight: 700; }
.related-compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-row { display: flex; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px; transition: border-color .2s, transform .2s; }
.related-row:hover { border-color: var(--gold); transform: translateY(-2px); }
.related-row-img { width: 78px; height: 66px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.related-row-img img { width: 100%; height: 100%; object-fit: cover; }
.related-row-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-text); }
.related-row-body h4 { font-size: 14.5px; color: var(--ink); line-height: 1.42; margin-top: 4px; font-weight: 600; }

/* BLOG NA HOME */
.home-blog { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 42px; align-items: stretch; }
.home-blog-promo { position: relative; border-radius: 12px; overflow: hidden; min-height: 380px; display: flex; }
.home-blog-promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-blog-promo-inner { position: relative; z-index: 2; padding: 44px 36px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(26,27,30,0.94) 22%, rgba(26,27,30,0.42) 100%); width: 100%; }
.home-blog-promo-inner h2 { font-family: 'Playfair Display', serif; font-size: 27px; color: #fff; margin-bottom: 10px; font-weight: 700; }
.home-blog-promo-inner p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 22px; }
.btn-promo { display: inline-flex; align-self: flex-start; background: var(--gold); color: var(--ink); font-size: 14.5px; font-weight: 700; padding: 13px 26px; border-radius: 4px; transition: background .2s; }
.btn-promo:hover { background: var(--gold-light); }
.home-blog-kicker { position: relative; display: inline-block; padding-left: 15px; font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-text); }
.home-blog-kicker::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 15px; background: var(--ink); border-radius: 2px; }
.home-blog-title { font-family: 'Playfair Display', serif; font-size: 31px; color: var(--ink); margin: 12px 0 30px; font-weight: 700; }

/* Grade 2x2 de itens horizontais: miniatura à esquerda, texto à direita,
   sem moldura de card — o item é só a imagem mais o bloco de texto. */
.home-blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 36px; }
.home-blog-item { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: stretch; background: none; border: none; border-radius: 0; overflow: visible; transition: none; }
.home-blog-item:hover { transform: none; box-shadow: none; border: none; }
.home-blog-thumb { aspect-ratio: 1 / 1.08; border-radius: 8px; overflow: hidden; background: var(--ink); }
.home-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-blog-item:hover .home-blog-thumb img { transform: scale(1.06); }
.home-blog-item-body { padding: 2px 0 0; display: flex; flex-direction: column; }
.home-blog-item-body h3 { font-size: 16.5px; color: var(--gold-text); line-height: 1.38; margin-bottom: 9px; font-weight: 700; transition: color .2s; }
.home-blog-item:hover .home-blog-item-body h3 { color: var(--ink); }
.home-blog-date { display: block; font-size: 13.5px; color: var(--gray-500); margin: 0 0 16px; }
.home-blog-more { font-size: 14.5px; font-weight: 700; color: var(--ink); transition: color .2s; margin-top: auto; }
.home-blog-item:hover .home-blog-more { color: var(--gold-text); }

/* FOOTER */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 66px 32px 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 50px; }
.footer-logo-chip { display: inline-block; background: rgba(255,255,255,0.96); border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; }
.footer-logo-img { height: 74px; width: auto; }
.footer-tagline { font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.footer-cnpj { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); color: var(--gold-light); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.footer-social:hover { background: var(--gold); color: var(--ink); }
.footer-col-title { font-family: 'Playfair Display', serif; font-size: 18px; color: #fff; margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer-col-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--gold); }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,0.72); transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 11px; align-items: flex-start; font-size: 14.3px; line-height: 1.6; margin-bottom: 15px; }
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-contact-item span, .topbar-item span { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { max-width: 1280px; margin: 0 auto; padding: 22px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; }

/* WHATSAPP FLUTUANTE */
.whatsapp-float { position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(37,211,102,0.42); z-index: 1500; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* FADE-UP */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html, .geo-track { scroll-behavior: auto; }
  .geo-card, .geo-card-img img { transition: none; }
}

/* ============================================================
   JUSTIFICAÇÃO DO TEXTO CORRIDO
   text-align: justify sozinho abre "rios" de espaço em português,
   que tem palavras longas. Por isso vem sempre acompanhado de
   hyphens: auto — a hifenização usa o dicionário indicado pelo
   lang="pt-BR" do <html>.
   Ficam de fora:
   · rótulos, títulos e botões;
   · linhas curtas centralizadas por design (subtítulo de seção, lead
     e citação do comparativo, CTA final) — centralizar e justificar
     se anulam;
   · componentes estreitos (cards, barra lateral do blog, itens de
     contato, rodapé). Justificar bem pede ~45 caracteres por linha;
     abaixo disso a linha abre buracos em vez de alinhar.
============================================================ */
.hero-inner p.lead,
.s-tldr-list li,
.two-col .tc-text p,
.bloco-band-text p,
.bloco-callout-body p,
.bloco-map-text p,
.cards-intro p,
.services-list ul li,
.feature-list li,
.faq-item p,
.s-author-name,
.s-author-bio,
.post-related li,
.prose p,
.prose li,
.article-row-body p,
.split-text p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  /* Hifenização contida: só palavras longas quebram, com pelo menos 5 letras
     antes e 4 depois do hífen, e no máximo 2 linhas hifenizadas seguidas.
     Sem esses limites o português recorta palavra demais ao justificar. */
  hyphenate-limit-chars: 10 5 4;
  -webkit-hyphenate-limit-chars: 10 5 4;
  hyphenate-limit-lines: 2;
  -webkit-hyphenate-limit-lines: 2;
}

/* Última linha de um bloco justificado nunca deve ser esticada */
.prose p, .two-col .tc-text p, .bloco-band-text p, .bloco-callout-body p, .bloco-map-text p {
  text-align-last: auto;
}


/* ============================================================
   LINHA DO TEMPO HORIZONTAL — jornada do cliente (página Sobre)
   Sem malha quadriculada: o fundo é grafite com halos de luz
   dourada e um fio fino ligando as etapas.
============================================================ */
/* Fundo em camadas: luz difusa; a padronagem do logotipo vem no ::after. */
.timeline-band {
  position: relative; overflow: hidden; padding: 96px 32px 100px;
  background:
    radial-gradient(ellipse 60% 80% at 15% 0%, rgba(201,162,39,0.16) 0%, transparent 58%),
    radial-gradient(ellipse 55% 75% at 88% 100%, rgba(201,162,39,0.12) 0%, transparent 55%),
    linear-gradient(160deg, #232529 0%, var(--ink) 55%, #17181b 100%);
}
/* halo difuso atrás dos números, dando profundidade sem forma definida */
.timeline-band::before {
  content: ''; position: absolute; left: 50%; top: 46%; width: 120%; height: 300px;
  transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(201,162,39,0.10) 0%, transparent 68%);
}
/* Padronagem: o monograma da marca ladrilhado em duas camadas deslocadas,
   para o ritmo sair na diagonal em vez de virar grade reta. */
.timeline-band::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.05;
  background-image: url('img/pattern-b.png'), url('img/pattern-b.png');
  background-size: 240px 240px, 240px 240px;
  background-position: 0 0, 120px 120px;
  background-repeat: repeat, repeat;
}
.timeline-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; }
.timeline-kicker {
  display: block; text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px;
}
.timeline-h {
  font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700;
  color: #fff; text-align: center; line-height: 1.22; margin-bottom: 18px;
}
.timeline-lead {
  max-width: 720px; margin: 0 auto 62px; text-align: center;
  font-size: 16.5px; line-height: 1.8; color: rgba(255,255,255,0.72);
}

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; padding: 0; margin: 0; }
/* fio ligando as etapas: começa e termina no centro do primeiro e do último número */
.timeline::before {
  content: ''; position: absolute; top: 29px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, rgba(232,200,119,0) 0%, rgba(232,200,119,0.8) 12%,
              rgba(232,200,119,0.8) 88%, rgba(232,200,119,0) 100%);
}
.timeline-step { position: relative; text-align: center; }
.timeline-num {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: 0 auto 24px; border-radius: 50%;
  background: linear-gradient(150deg, #26282c, #17181b);
  border: 1px solid rgba(232,200,119,0.55);
  box-shadow: 0 0 0 7px rgba(26,27,30,0.9), 0 0 26px rgba(201,162,39,0.22);
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--gold-light);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.timeline-step:hover .timeline-num {
  border-color: var(--gold-light); transform: translateY(-3px);
  box-shadow: 0 0 0 7px rgba(26,27,30,0.9), 0 0 34px rgba(201,162,39,0.45);
}
.timeline-step h3 {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
  color: #fff; line-height: 1.32; margin-bottom: 12px;
}
.timeline-step h3::after {
  content: ''; display: block; width: 26px; height: 2px; margin: 12px auto 0;
  background: var(--gold); border-radius: 2px; opacity: .85;
}
.timeline-step p { font-size: 15px; line-height: 1.78; color: rgba(255,255,255,0.7); text-align: center; }
.timeline-step a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.timeline-step a:hover { color: #fff; }


/* ============================================================
   BLOCO EM DUAS COLUNAS — páginas de serviço
   Prosa à esquerda, cards empilhados à direita. Substitui o
   card único que virava parede de texto.
============================================================ */
.split-band {
  position: relative; overflow: hidden; padding: 92px 32px;
  background:
    radial-gradient(ellipse 55% 75% at 12% 4%, rgba(201,162,39,0.15) 0%, transparent 56%),
    radial-gradient(ellipse 50% 70% at 92% 96%, rgba(201,162,39,0.11) 0%, transparent 54%),
    linear-gradient(160deg, #232529 0%, var(--ink) 58%, #17181b 100%);
}
.split-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 62px; align-items: start;
}
.split-text h2 {
  font-family: 'Playfair Display', serif; font-size: 33px; font-weight: 700;
  color: #fff; line-height: 1.24; margin-bottom: 22px;
}
.split-text h2::after {
  content: ''; display: block; width: 54px; height: 2px; margin-top: 18px;
  background: linear-gradient(90deg, var(--gold), rgba(201,162,39,0.25)); border-radius: 2px;
}
.split-text p { font-size: 16px; line-height: 1.84; color: rgba(255,255,255,0.74); margin-bottom: 17px; }
.split-text p:last-child { margin-bottom: 0; }
.split-lead { font-size: 17.5px !important; color: rgba(255,255,255,0.92) !important; }
.split-text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.split-text a:hover { color: #fff; }

.split-cards { display: grid; gap: 16px; }
.split-card {
  position: relative; background: rgba(255,255,255,0.045);
  border: 1px solid rgba(232,200,119,0.20); border-left: 2px solid var(--gold);
  border-radius: 10px; padding: 24px 26px 24px 28px;
  transition: background .25s, border-color .25s, transform .25s;
}
.split-card:hover { background: rgba(255,255,255,0.075); border-color: rgba(232,200,119,0.45); border-left-color: var(--gold-light); transform: translateX(4px); }
.split-card-n {
  display: block; font-family: 'Playfair Display', serif; font-size: 13px;
  font-weight: 700; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px;
}
.split-card h3 { font-size: 17.5px; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 8px; }
.split-card p { font-size: 15px; line-height: 1.72; color: rgba(255,255,255,0.7); }


/* Variante empilhada: prosa em cima, cards numa faixa abaixo (especialidades) */
.split-band.stacked .split-inner { grid-template-columns: 1fr; gap: 46px; max-width: 1160px; }
.split-band.stacked .split-text { max-width: 900px; margin: 0 auto; }
.split-band.stacked .split-text h2 { text-align: center; }
.split-band.stacked .split-text h2::after { margin-left: auto; margin-right: auto; }
.split-band.stacked .split-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }


/* ============================================================
   MEDALHÕES DE PERFIL — "Para quem é a Barsan?" (home)
   Círculos dourados sobre fundo branco. Formato deliberadamente
   distinto dos cards retangulares da seção seguinte.
   O efeito de destaque é um arco de luz que percorre o anel no
   hover — chama atenção sem quebrar a sobriedade.
============================================================ */
.perfis-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px 30px; margin-top: 22px; }
.perfil-item { text-align: center; }

.perfil-medal {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 116px; height: 116px; margin: 0 auto 26px; border-radius: 50%;
  background: linear-gradient(145deg, #f0d089 0%, var(--gold) 48%, var(--gold-dark) 100%);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(201,162,39,0.45), 0 0 0 9px rgba(201,162,39,0.07),
              0 14px 30px rgba(201,162,39,0.30);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}
.perfil-medal svg { width: 34px; height: 34px; position: relative; z-index: 2; }

/* brilho diagonal sutil, sempre presente */
.perfil-medal::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: linear-gradient(150deg, rgba(255,255,255,0.45) 0%, transparent 46%);
}
/* anel com arco de luz girando — só aparece no hover */
.perfil-medal::before {
  content: ''; position: absolute; inset: -9px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0deg, var(--gold-light) 40deg,
              #fff 62deg, var(--gold) 84deg, transparent 130deg, transparent 360deg);
  opacity: 0; transition: opacity .35s;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: perfil-giro 4.5s linear infinite;
}
.perfil-item:hover .perfil-medal { transform: translateY(-8px); box-shadow: 0 0 0 1px rgba(201,162,39,0.6), 0 0 0 12px rgba(201,162,39,0.10), 0 20px 40px rgba(201,162,39,0.42); }
.perfil-item:hover .perfil-medal::before { opacity: 1; }
@keyframes perfil-giro { to { transform: rotate(360deg); } }

.perfil-item h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 10px; /* 2 linhas de texto + o traço do ::after, para as colunas alinharem */ min-height: calc(2.6em + 13px); }
.perfil-item h3::after { content: ''; display: block; width: 24px; height: 2px; margin: 11px auto 0; background: var(--gold); border-radius: 2px; opacity: .8; }
.perfil-item p { font-size: 15px; line-height: 1.72; color: var(--gray-500); max-width: 260px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .perfil-medal::before { animation: none; }
  .perfil-medal, .perfil-item:hover .perfil-medal { transition: none; transform: none; }
}

/* ====================== RESPONSIVO ====================== */
@media (max-width: 1100px) {
  .navbar-nav { gap: 18px; }
  .navbar-nav > a, .nav-dropdown > a { font-size: 13.5px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .home-blog { grid-template-columns: 1fr; align-items: start; }
  .home-blog-promo { min-height: 260px; }
}
@media (max-width: 980px) {
  .topbar-inner { justify-content: center; font-size: 12px; }
  .topbar-right { display: none; }
  .navbar-nav, .btn-client.desktop-only { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-mobile-menu { display: none; }
  .navbar-mobile-menu.open { display: flex; }
  .hero-inner { padding: 62px 24px 58px; }
  .hero-inner.home { padding: 76px 24px 72px; }
  .hero-inner h1 { font-size: 33px; }
  .hero-inner p.lead { font-size: 16.5px; }
  .section, .bloco-compare, .s-faq, .s-closing, .cta-band, .bloco-map, .section-related-blog { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 58px; padding-bottom: 58px; }
  .two-col { grid-template-columns: 1fr; gap: 38px; }
  .two-col.img-right .tc-img { order: 0; }
  .two-col .tc-img { max-width: 300px; }
  .cards-grid, .cards-grid.cols-4, .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .perfis-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; margin-top: 18px; }
  .compare-grid { grid-template-columns: 1fr; }
  .bloco-map-inner { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .s-closing-inner { grid-template-columns: 1fr; gap: 42px; }
  .s-closing { padding: 44px 24px 48px; }
  .geo-map { margin-bottom: 34px; }
  .geo-nav { display: none; }
  .geo-track { gap: 16px; padding-bottom: 16px; }
  .geo-card { flex-basis: 258px; }
  .services-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .related-compact { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; }
  .article-row-img img { min-height: 200px; }
  .article-row-body { padding: 22px 24px; }
  .section-tldr { padding: 44px 24px 48px; }
  .s-tldr { padding: 30px 26px 28px; }
  .bloco-callout-card { grid-template-columns: 1fr; padding: 32px 26px; gap: 18px; }
  .bloco-band-card { padding: 26px 24px; }
  .split-band { padding: 62px 24px 66px; }
  .split-inner { grid-template-columns: 1fr; gap: 40px; }
  .split-band.stacked .split-cards { grid-template-columns: 1fr; }
  .split-text h2 { font-size: 27px; }
  .split-text p { text-align: left; }
  .timeline-band { padding: 66px 24px 70px; }
  .timeline-h { font-size: 28px; }
  .timeline-lead { font-size: 16px; margin-bottom: 44px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 44px 26px; }
  .timeline::before { display: none; }
}
@media (max-width: 600px) {
  /* Coluna estreita demais para justificar sem buracos: volta ao alinhamento
     à esquerda, que lê melhor no celular. */
  .hero-inner p.lead, .s-tldr-list li, .two-col .tc-text p, .bloco-band-text p,
  .bloco-callout-body p, .bloco-map-text p, .cards-intro p,
  .services-list ul li, .feature-list li, .faq-item p, .s-author-name,
  .s-author-bio, .post-related li, .prose p, .prose li,
  .article-row-body p { text-align: left; }

  .topbar-left { gap: 12px; }
  .navbar-inner { height: 68px; padding: 0 20px; }
  .navbar-logo-img { height: 38px; }
  .navbar-wordmark b { font-size: 18px; }
  .navbar-wordmark span { font-size: 8.5px; letter-spacing: 1.6px; }
  .hero-inner h1 { font-size: 27px; }
  .hero-badge { font-size: 10px; }
  .section-title, .bloco-band-h, .bloco-compare-inner > h2, .s-faq > h2, .cta-band-inner h2 { font-size: 26px; }
  .two-col .tc-text h2, .bloco-callout-body h2, .bloco-map-text h2 { font-size: 24px; }
  .cards-grid, .cards-grid.cols-4, .cards-grid.cols-2 { grid-template-columns: 1fr; }
  .perfis-grid { grid-template-columns: 1fr; gap: 34px; }
  .perfil-item h3 { min-height: 0; }
  .perfil-medal { width: 96px; height: 96px; margin-bottom: 20px; }
  .perfil-medal svg { width: 29px; height: 29px; }
  .footer-inner { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .home-blog-list { grid-template-columns: 1fr; gap: 24px; }
  .home-blog-item { grid-template-columns: 110px 1fr; gap: 16px; }
  .s-tldr-title { font-size: 22px; }
  .timeline { grid-template-columns: 1fr; gap: 38px; }
  .timeline-h { font-size: 25px; }
  .contact-form-card, .modal-card { padding: 28px 22px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .hero-inner p.lead { font-size: 15.5px; }
}

/* IMPRESSÃO */
@media print {
  .topbar, .navbar, .footer, .whatsapp-float, .cta-band, .modal-overlay { display: none !important; }
  body { background: #fff; }
  .hero-inner { background: #fff; color: #000; padding: 20px 0; }
  .hero-inner h1 { color: #000; }
}
