/* Fonte dos títulos: Gotham Black é licenciada e não está no Google Fonts.
   Com o arquivo licenciado, salve-o em assets/fonts/Gotham-Black.woff2 e remova o comentário abaixo.
@font-face { font-family: "GR Display"; src: url("../fonts/Gotham-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
   Sem o arquivo, os títulos usam Montserrat Black, a alternativa livre mais próxima. */
/* GR Advocacia. Layout: faixas alternadas azul-marinho e papel prateado, conteúdo alinhado à esquerda, coluna de texto estreita e uma "planilha de passivo" como peça central. */
:root {
  --navy: #0c1c34;
  --navy-2: #142a4b;
  --navy-3: #1d3660;
  --silver: #b8babe;
  --slate: #72777f;
  --steel: #84949a;
  --paper: #eef0f3;
  --paper-2: #e3e7ec;
  --white: #ffffff;
  --ink: #0c1c34;
  --ink-soft: #4a5260;
  --line: rgba(12, 28, 52, .16);
  --line-dark: rgba(184, 186, 190, .22);
  --wa: #1f8f55;

  --f-display: "GR Display", "Gotham Black", "Montserrat", "Arial Black", sans-serif;
  --f-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;

  --s-xs: .8125rem;
  --s-sm: .9375rem;
  --s-md: 1.0625rem;
  --s-lg: clamp(1.125rem, 1rem + .6vw, 1.375rem);
  --s-xl: clamp(1.6rem, 1.15rem + 1.7vw, 2.25rem);
  --s-2xl: clamp(2.1rem, 1.3rem + 3vw, 3.4rem);

  --radius: 3px;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--navy); z-index: 60;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 900; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
h2 { font-size: var(--s-xl); }
h3 { font-size: var(--s-lg); }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(64px, 9vw, 120px); }
.band--navy { background: var(--navy); color: var(--paper); }
.band--white { background: var(--white); }
.band--tint { background: var(--paper-2); }


.lead { font-size: var(--s-lg); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.band--navy .lead, .hero .lead, .page-hero .lead { color: #c9ccd3; }
.prose p + p { margin-top: 1.05em; }
.prose { max-width: 64ch; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 var(--s-sm)/1 var(--f-body);
  text-decoration: none; border-radius: var(--radius);
  padding: 16px 22px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--silver); color: var(--navy); }
.btn--primary:hover { background: var(--white); }
.btn--ghost { border-color: var(--line-dark); color: var(--paper); }
.btn--ghost:hover { border-color: var(--silver); }
.btn--dark { background: var(--navy); color: var(--paper); }
.btn--dark:hover { background: var(--navy-3); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Cabeçalho */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy); color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: var(--s-sm); color: var(--silver); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { padding: 12px 16px; color: var(--navy); }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--paper);
  border-radius: var(--radius); padding: 10px 12px; font: 500 var(--s-sm) var(--f-body); cursor: pointer;
}
@media (max-width: 920px) {
  .menu-toggle { display: inline-block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--line-dark);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
  }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: var(--s-md); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}

/* Hero: foto ocupa a metade direita e se funde ao azul por degradê */
.hero { position: relative; background: var(--navy); color: var(--paper); overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; z-index: 2; }
.hero-text { max-width: 590px; padding-block: clamp(72px, 9vw, 128px); min-width: 0; }
.hero h1 { font-size: var(--s-2xl); margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: var(--s-sm); color: var(--steel); max-width: 52ch; }
.hero-figure { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(52%, 760px); margin: 0; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.85) contrast(1.03); }
.hero-figure::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(12,28,52,.88) 14%, rgba(12,28,52,.35) 42%, rgba(12,28,52,0) 70%),
    linear-gradient(0deg, var(--navy) 0%, rgba(12,28,52,0) 32%),
    linear-gradient(180deg, rgba(12,28,52,.55) 0%, rgba(12,28,52,0) 22%);
}
.hero-figure figcaption {
  position: absolute; z-index: 2; right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); bottom: 28px;
  font-size: var(--s-xs); color: var(--silver); line-height: 1.4; text-align: right;
  padding-right: 14px; border-right: 2px solid var(--silver);
}
.hero-figure figcaption strong { display: block; font-weight: 800; font-size: 1.0625rem; color: var(--white); }
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-figure { position: relative; width: 100%; height: 440px; }
  .hero-figure::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(12,28,52,0) 40%), linear-gradient(180deg, var(--navy) 0%, rgba(12,28,52,0) 30%); }
  .hero-figure figcaption { right: 20px; bottom: 18px; }
  .hero-text { padding-top: 48px; padding-bottom: 40px; }
}

/* Duas colunas com título à esquerda */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.signs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.signs li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.signs li::before { content: ""; width: 9px; height: 9px; margin-top: .55em; border: 1.5px solid var(--slate); transform: rotate(45deg); }
.signs strong { font-weight: 600; }

/* Planilha do passivo */
.ledger-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; margin-bottom: 36px; }
@media (max-width: 860px) { .ledger-head { grid-template-columns: 1fr; } }
.ledger-head p { max-width: 52ch; color: var(--ink-soft); }
.ledger-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.ledger { width: 100%; border-collapse: collapse; min-width: 760px; font-size: var(--s-sm); }
.ledger caption { text-align: left; padding: 14px 20px; font-size: var(--s-xs); color: var(--slate); border-bottom: 1px solid var(--line); caption-side: top; background: var(--paper); }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ledger thead th { font-weight: 600; font-size: var(--s-xs); color: var(--slate); background: var(--white); letter-spacing: .02em; }
.ledger tbody th { font-family: var(--f-body); font-weight: 800; font-size: 1.0625rem; width: 26%; line-height: 1.3; }
.ledger tbody tr:last-child > * { border-bottom: 0; }
.ledger tbody tr:nth-child(even) { background: #f7f8fa; }
.ledger td:first-of-type { color: var(--ink-soft); width: 32%; }
.ledger .ref { display: block; margin-top: 6px; font-size: var(--s-xs); color: var(--slate); }
@media (max-width: 720px) {
  .ledger-scroll { overflow: visible; }
  .ledger { min-width: 0; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger tbody tr, .ledger tbody th, .ledger tbody td { display: block; width: auto !important; }
  .ledger tbody tr { padding: 18px 18px 6px; border-bottom: 1px solid var(--line); }
  .ledger tbody th, .ledger tbody td { padding: 0 0 12px; border: 0; }
  .ledger tbody td::before { content: attr(data-label); display: block; font-size: var(--s-xs); font-weight: 600; color: var(--slate); margin-bottom: 2px; }
}
.ledger-foot { margin-top: 18px; font-size: var(--s-xs); color: var(--slate); max-width: 80ch; }

/* Método */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); counter-reset: step; }
.steps li { padding: 28px 28px 8px 0; counter-increment: step; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.steps li::before {
  content: counter(step); display: block; font-family: var(--f-display); font-size: 2.75rem; line-height: 1;
  color: var(--steel); margin-bottom: 18px; font-variant-numeric: lining-nums;
}
.steps h3 { font-size: 1.125rem; margin-bottom: 12px; color: var(--white); }
.steps p { color: var(--silver); font-size: var(--s-sm); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line-dark); }
}

/* Outras frentes */
.fronts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 44px; }
.front { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.front h3 { font-size: 1.375rem; }
.front p { color: var(--ink-soft); }
.front .front-links { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 18px; font-size: var(--s-sm); font-weight: 600; }
.front .front-links a { text-underline-offset: 4px; }
@media (max-width: 760px) { .fronts { grid-template-columns: 1fr; } }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.framed { position: relative; margin: 0 28px 28px 0; }
.framed::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--steel); z-index: 0; }
.framed::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(12,28,52,.82) 0%, rgba(12,28,52,0) 38%); }
.framed img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: var(--navy); }
.framed figcaption { position: absolute; z-index: 3; left: 22px; bottom: 20px; right: 22px; font-size: var(--s-xs); color: var(--silver); }
.about-photo { background: transparent; }
.about-text h2 { margin-bottom: 26px; }
.credentials { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.credentials div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.credentials div:nth-child(odd) { padding-right: 20px; }
.credentials dt { font-size: var(--s-xs); color: var(--slate); }
.credentials dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 440px; } }
@media (max-width: 480px) { .framed { margin: 0 16px 16px 0; } .framed::before { inset: 16px -16px -16px 16px; } }

/* Avaliações (formato do widget do Google) */
.reviews { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 40px; }
.reviews-summary { text-align: center; padding: 8px 0; }
.reviews-summary .grade { font-weight: 700; font-size: 1.375rem; letter-spacing: .04em; }
.reviews-summary .count { font-size: var(--s-sm); color: var(--ink-soft); margin: 4px 0 10px; }
.reviews-summary .source { font-size: var(--s-sm); font-weight: 600; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; color: #f6bb06; }
.stars svg { width: 18px; height: 18px; }
.reviews-summary .stars svg { width: 28px; height: 28px; }
.reviews-track-wrap { position: relative; min-width: 0; }
.reviews-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start;
  background: var(--white); border-radius: 8px; padding: 20px;
  box-shadow: 0 1px 2px rgba(12,28,52,.08), 0 0 0 1px rgba(12,28,52,.06);
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.review-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1rem; }
.review-name { font-weight: 600; font-size: var(--s-sm); line-height: 1.25; overflow-wrap: anywhere; }
.review-meta { font-size: var(--s-xs); color: var(--slate); }
.verified { width: 18px; height: 18px; color: #1a73e8; }
.review-text { font-size: var(--s-sm); color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review-text { -webkit-line-clamp: unset; display: block; }
.review-more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--slate); font: 500 var(--s-xs) var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review-more[hidden] { display: none; }
.reviews-nav { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; }
.reviews-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.reviews-nav button:hover { border-color: var(--ink); }
.reviews-nav svg { width: 16px; height: 16px; }
.reviews-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 22px; font-size: var(--s-sm); font-weight: 600; }
.reviews-links a { text-underline-offset: 4px; }
@media (max-width: 980px) { .review { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } .review { flex-basis: 86%; } }

/* Artigos */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.post { padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.post + .post { padding-left: 28px; border-left: 1px solid var(--line); }
.post-meta { font-size: var(--s-xs); color: var(--slate); font-variant-numeric: tabular-nums; }
.post h3 { font-size: 1.1875rem; line-height: 1.25; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.post p { font-size: var(--s-sm); color: var(--ink-soft); }
.post .read { margin-top: auto; font-size: var(--s-sm); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .posts { grid-template-columns: 1fr; }
  .post, .post + .post { padding: 24px 0; border-left: 0; }
  .post + .post { border-top: 1px solid var(--line); }
}
.section-foot { margin-top: 36px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--f-body); font-weight: 700; font-size: 1.125rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 10px; height: 10px; border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details > div { padding: 0 0 24px; color: var(--ink-soft); max-width: 70ch; }
.faq details > div p + p { margin-top: .8em; }

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 88px); }
.contact > * { min-width: 0; }
.form { display: grid; gap: 16px; margin-top: 32px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--s-xs); color: var(--silver); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 var(--s-md) var(--f-body); color: var(--white);
  background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 14px 14px; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--silver); }
.form-note { font-size: var(--s-xs); color: var(--steel); }
.form-status { font-size: var(--s-sm); color: var(--silver); }
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--line-dark); margin-top: 32px; }
.contact-info div { padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact-info dt { font-size: var(--s-xs); color: var(--steel); }
.contact-info dd { margin: 4px 0 0; color: var(--paper); overflow-wrap: anywhere; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.office-pics { margin-top: 32px; }
.pic { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-dark); }
.pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.pic::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(12,28,52,.75) 0%, rgba(12,28,52,0) 45%), linear-gradient(180deg, rgba(12,28,52,.35) 0%, rgba(12,28,52,0) 25%); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Rodapé */
.site-footer { background: #091528; color: var(--silver); font-size: var(--s-sm); padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-grid img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-grid h2 { font-family: var(--f-body); font-size: var(--s-sm); font-weight: 600; color: var(--white); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; overflow-wrap: anywhere; }
.footer-grid p { overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--s-xs); color: var(--slate); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px 13px 14px;
  background: var(--wa); color: #fff; text-decoration: none; border-radius: 999px;
  font: 600 var(--s-sm)/1 var(--f-body); box-shadow: 0 6px 20px rgba(9, 21, 40, .28);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: #18784a; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* Página de artigos e artigo */
.page-hero { background: var(--navy); color: var(--paper); padding-block: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); max-width: 24ch; }
.page-hero .lead { margin-top: 18px; }
.crumbs { font-size: var(--s-xs); color: var(--steel); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--silver); }
.crumbs a:hover { text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); }
.article-layout > * { min-width: 0; }
@media (max-width: 920px) { .article-layout { grid-template-columns: 1fr; } }
.article-meta { margin-top: 22px; font-size: var(--s-sm); color: var(--silver); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article { font-size: 1.125rem; line-height: 1.75; max-width: 68ch; }
.article h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.625rem); margin: 2em 0 .7em; }
.article h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.article p { margin: 0 0 1.05em; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article li { margin-bottom: .45em; }
.article blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--steel); color: var(--ink-soft); font-style: italic; }
.article .note { background: var(--white); border: 1px solid var(--line); padding: 20px 22px; font-size: var(--s-md); margin: 1.8em 0; }
.aside-box { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); background: var(--white); border: 1px solid var(--line); padding: 24px; display: grid; gap: 14px; }
.aside-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--steel); }
.aside-box h2 { font-size: 1.25rem; }
.aside-box p { font-size: var(--s-sm); color: var(--ink-soft); }
.article-cta { margin-top: 48px; padding: clamp(24px, 4vw, 40px); background: var(--navy); color: var(--paper); display: grid; gap: 16px; }
.article-cta p { color: var(--silver); max-width: 56ch; }
.article-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.article-list .post { padding: 30px 0; border-bottom: 1px solid var(--line); border-left: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 32px; }
.article-list .post > * { grid-column: 2; }
.article-list .post .post-meta { grid-column: 1; grid-row: 1 / span 3; padding-top: 6px; }
@media (max-width: 680px) { .article-list .post { grid-template-columns: 1fr; } .article-list .post > *, .article-list .post .post-meta { grid-column: 1; grid-row: auto; } }
.sources { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: var(--s-sm); color: var(--ink-soft); }
.sources ul { padding-left: 1.1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--navy); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Ajustes para celular */
.wa-float { transition: opacity .25s, transform .25s; }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .band { padding-block: 56px; }
  .site-header .wrap { height: 64px; }
  .brand img { height: 44px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { margin-bottom: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .form .btn--primary, .article-cta .btn { width: 100%; justify-content: center; }
  .hero-note { margin-top: 28px; }
  .hero-figure { height: 380px; }
  .signs li { grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 16px 0; }
  .split > div > .lead, .about-text h2 { margin-top: 0; }
  .front { padding: 22px 20px; }
  .front .front-links { flex-direction: column; gap: 12px; }
  .reviews { margin-top: 28px; gap: 18px; }
  .reviews-nav { justify-content: center; }
  .reviews-links { justify-content: center; }
  .faq summary { font-size: 1.0625rem; padding: 18px 36px 18px 0; }
  .faq summary::after { top: 26px; }
  .faq details[open] summary::after { top: 30px; }
  .contact-info { margin-top: 8px; }
  .page-hero h1 { font-size: 1.75rem; }
  .article { font-size: 1.0625rem; }
  .aside-box { position: static; }
  .site-footer { padding-block: 44px 96px; }
}

/* Foto do escritório ocupa toda a altura restante da coluna de contato */
@media (min-width: 861px) {
  .contact { align-items: stretch; }
  .contact > div:last-child { display: flex; flex-direction: column; }
  .office-pics { flex: 1 1 auto; display: flex; min-height: 320px; }
  .office-pics .pic { flex: 1 1 auto; display: flex; }
  .office-pics .pic img { aspect-ratio: auto; height: 100%; min-height: 100%; object-position: 50% 40%; }
}
