/* Brogin & Hial Sociedade de Advogados — estilos do site */
:root {
  --ink: #231F20;
  --ink-2: #3a3536;
  --muted: #6b6461;
  --gold: #A2742E;
  --gold-dark: #85601f;
  --gold-soft: #f1e7d6;
  --cream: #faf7f2;
  --paper: #ffffff;
  --line: #e7dfd3;
  --dark: #1b1819;
  --wa: #1f9d55;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(35, 31, 32, .18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: #efe8dd; }
.section--dark .eyebrow { color: #d2a560; }
.section--dark .lead { color: #cfc6b9; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 .98rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #188546; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn--ghost, .cta-band .btn--ghost { border-color: #efe8dd; color: #efe8dd; }
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover { background: #efe8dd; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.link-arrow { font-weight: 700; color: var(--gold-dark); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* Topo */
.topbar { background: var(--dark); color: #cfc6b9; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: #d2a560; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--gold-dark); }
.nav .btn--wa { color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before { content: ""; position: absolute; right: -180px; top: -140px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--gold-soft) 0%, rgba(241,231,214,0) 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { margin-bottom: 30px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 10px 26px; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero__visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero__photo { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--gold-soft); aspect-ratio: 3 / 4; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo:nth-child(2) { margin-top: 48px; }
.hero__badge { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: 100%; bottom: -26px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .9rem; font-weight: 600; }
.hero__badge img { width: 34px; height: 34px; }

/* Faixa de confiança */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 26px 22px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__item strong { display: block; font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--ink); margin-bottom: 4px; }
.trust__item span { font-size: .9rem; color: var(--muted); }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.area:hover { border-color: #d8c6a6; box-shadow: var(--shadow); transform: translateY(-2px); }
.area__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 20px; }
.area__icon svg { width: 26px; height: 26px; }
.area h3 { margin-bottom: 10px; }
.area > p { color: var(--ink-2); font-size: .98rem; }
.area ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.area ul li { font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.area details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.area summary { cursor: pointer; font-weight: 700; color: var(--gold-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: .95rem; }
.area summary::-webkit-details-marker { display: none; }
.area summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.area details[open] summary::after { transform: rotate(45deg); }
.area details p { font-size: .95rem; color: var(--ink-2); margin: 12px 0 0; }
.area__cta { margin-top: 16px; }
.area-cta { grid-column: span 2; background: var(--dark); color: #efe8dd; border-radius: var(--radius); padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; overflow: hidden; border-top: 3px solid var(--gold); }
.area-cta h3 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.area-cta p { color: #cfc6b9; max-width: 46ch; margin: 0 0 24px; }

/* Por que nós */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(239,232,221,.14); border: 1px solid rgba(239,232,221,.14); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--dark); padding: 34px 30px; }
.why__num { font-family: var(--serif); font-size: 2.6rem; color: #d2a560; line-height: 1; margin-bottom: 14px; display: block; }
.why__item h3 { color: #fff; font-size: 1.45rem; }
.why__item p { color: #cfc6b9; font-size: .97rem; margin: 0; }

/* Escritório */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__text p { color: var(--ink-2); }
.about__quote { font-family: var(--serif); font-size: 1.7rem; line-height: 1.3; font-style: italic; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 22px; margin: 28px 0; }
.mvv { display: grid; gap: 16px; }
.mvv__item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.mvv__item h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.mvv__item h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.mvv__item p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Sócios */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.partner { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 220px 1fr; }
.partner__photo { background: var(--gold-soft); }
.partner__photo img { width: 100%; height: 100%; object-fit: cover; }
.partner__body { padding: 28px 28px 26px; }
.partner__role { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.partner h3 { margin: 6px 0 12px; }
.partner p { font-size: .95rem; color: var(--ink-2); }
.partner__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.partner__tags span { font-size: .76rem; font-weight: 700; background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; color: var(--ink-2); }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Faixa de CTA */
.cta-band { background: linear-gradient(120deg, #2a2526 0%, #1b1819 100%); color: #efe8dd; border-radius: 22px; padding: 54px 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; background: url("../img/favicon.png") center / contain no-repeat; opacity: .07; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-band p { color: #cfc6b9; margin: 0; }
.cta-band__btns { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-cover { aspect-ratio: 16 / 9; display: grid; place-items: center; color: rgba(255,255,255,.92); position: relative; overflow: hidden; }
.post-cover svg { width: 64px; height: 64px; position: relative; }
.post-cover::before { content: "B&H"; position: absolute; right: 16px; bottom: 6px; font-family: var(--serif); font-size: 4.5rem; color: rgba(255,255,255,.08); font-weight: 600; }
.post-cover--consumidor { background: linear-gradient(135deg, #3a3132, #6e5232); }
.post-cover--dados { background: linear-gradient(135deg, #231F20, #4b4243); }
.post-cover--trabalho { background: linear-gradient(135deg, #85601f, #3a3132); }
.post-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.post-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.post-card p { font-size: .95rem; color: var(--ink-2); }
.post-card .link-arrow { margin-top: auto; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--gold); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: -6px 0 22px; }

/* Contato */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: rgba(210,165,96,.14); color: #d2a560; display: grid; place-items: center; }
.contact__list .ic svg { width: 21px; height: 21px; }
.contact__list small { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #a89f92; font-weight: 700; }
.contact__list a { text-decoration: none; color: #fff; font-weight: 600; }
.contact__list a:hover { color: #d2a560; }
.contact__list span { color: #fff; font-weight: 600; }
.form { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 36px 34px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form h3 { font-size: 1.8rem; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .95rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__full { grid-column: 1 / -1; }
.form label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.form input, .form select, .form textarea { width: 100%; font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; margin-top: 18px; }
.form__note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form__ok { display: none; background: #eaf6ee; color: #155c33; border-radius: 10px; padding: 14px 16px; font-weight: 600; font-size: .95rem; margin-top: 14px; }
.form.is-sent .form__ok { display: block; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(239,232,221,.14); aspect-ratio: 16 / 9; background: #2a2526; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* Rodapé */
.footer { background: #141213; color: #a89f92; padding: 64px 0 28px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer img.footer__logo { width: 220px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; }
.social a:hover { border-color: #d2a560; color: #d2a560; }
.social svg { width: 18px; height: 18px; }

/* WhatsApp flutuante + barra móvel */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31,157,85,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float__tip { position: absolute; right: 72px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap; padding: 8px 14px; border-radius: 8px; opacity: 0; transform: translateX(6px); transition: .2s; pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
.mobile-bar { display: none; }

/* Páginas internas (blog) */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; color: var(--gold-dark); font-weight: 600; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 56px 0 96px; }
.article__cover { border-radius: var(--radius); aspect-ratio: 21 / 9; margin-bottom: 36px; }
.article__cover svg { width: 84px; height: 84px; }
.prose { font-size: 1.08rem; color: var(--ink-2); max-width: 70ch; }
.prose p:first-child { font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; color: var(--ink); font-style: italic; }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-style: italic; }
.disclaimer { margin-top: 36px; font-size: .88rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.aside { position: sticky; top: 104px; align-self: start; display: grid; gap: 20px; }
.aside__card { background: var(--dark); color: #efe8dd; border-radius: var(--radius); padding: 28px 26px; }
.aside__card h3 { color: #fff; font-size: 1.5rem; }
.aside__card p { color: #cfc6b9; font-size: .95rem; }
.aside__card .btn { width: 100%; }
.aside__list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.aside__list h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.aside__list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.aside__list a { text-decoration: none; font-weight: 600; }
.aside__list a:hover { color: var(--gold-dark); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .areas, .posts { grid-template-columns: repeat(2, 1fr); }
  .area-cta { grid-column: span 1; padding: 32px 28px; }
  .area-cta h3 { font-size: 1.6rem; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 18px; }
  .topbar__hide-sm { display: none !important; }
  .hero { padding: 48px 0 72px; }
  .hero .wrap, .about, .contact, .article { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 30px; }
  .aside { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .section { padding: 68px 0; }
  .wrap { padding: 0 16px; }
  .brand img { width: 172px; }
  .topbar { display: none; }
  .header .wrap { min-height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .hero__ctas .btn { width: 100%; }
  .hero__proof { grid-template-columns: 1fr; }
  .hero__badge { font-size: .8rem; padding: 10px 16px; }
  .areas, .posts, .why, .form__grid { grid-template-columns: 1fr; }
  .trust__item { padding: 20px 14px; }
  .trust__item strong { font-size: 1.2rem; }
  .partner { grid-template-columns: 1fr; }
  .partner__photo { aspect-ratio: 4 / 3; }
  .form { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(250,247,242,.97); border-top: 1px solid var(--line); }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: .92rem; }
}

/* Blog: capas por assunto, filtros e artigos importados */
.post-cover--familia { background: linear-gradient(135deg, #6e5232, #a2742e); }
.post-cover--previdencia { background: linear-gradient(135deg, #2f3a36, #5d6b55); }
.post-cover--saude { background: linear-gradient(135deg, #2e3d45, #4f6b72); }
.post-cover--tributario { background: linear-gradient(135deg, #3a3132, #8a7350); }
.post-cover--empresarial { background: linear-gradient(135deg, #231F20, #6e5232); }
.post-cover--digital { background: linear-gradient(135deg, #2b2a3a, #55506e); }
.post-cover--civil { background: linear-gradient(135deg, #4b4243, #85601f); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.chip:hover { border-color: #d8c6a6; }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { color: #cfc6b9; }
.post-card[hidden] { display: none; }
.posts-more { display: flex; justify-content: center; margin-top: 40px; }
.disclaimer--old { margin: 0 0 30px; }
.prose h3 { font-size: 1.6rem; margin: 34px 0 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 18px 0; }
.prose figure { margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 22px 0; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.prose a { color: var(--gold-dark); overflow-wrap: anywhere; }
.aside__list .link-arrow { margin-top: 16px; display: inline-flex; }
