/* ==========================================================================
   Blog — Ronalt Almeida Advogados
   Design system estático. Sem dependências externas além das fontes.
   ========================================================================== */

:root {
  /* Marca (extraída do site principal) */
  --navy-900: #0e0f1f;
  --navy-800: #181a32;
  --navy-700: #23264a;
  --navy-600: #333763;
  --gold-500: #ebc853;
  --gold-600: #d4ac2c;
  --gold-100: #fbf3d8;

  --ink: #1c1d28;
  --ink-soft: #4a4d5e;
  --ink-mute: #767a8c;
  --line: #e6e7ee;
  --line-soft: #f0f1f6;
  --paper: #ffffff;
  --paper-alt: #f8f8fb;
  --paper-warm: #fbfaf7;

  --wa: #25d366;

  --shadow-sm: 0 1px 2px rgba(24, 26, 50, .05), 0 2px 8px rgba(24, 26, 50, .04);
  --shadow-md: 0 4px 12px rgba(24, 26, 50, .07), 0 12px 32px rgba(24, 26, 50, .06);
  --shadow-lg: 0 12px 28px rgba(24, 26, 50, .10), 0 32px 64px rgba(24, 26, 50, .08);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --read: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --measure: 720px;
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Cabeçalho ------------------------------------------------------------ */
.top {
  background: var(--navy-800);
  color: #fff;
  font-size: 13px;
  letter-spacing: .02em;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.top a { color: rgba(255,255,255,.86); text-decoration: none; }
.top a:hover { color: var(--gold-500); }
.top-contact { display: flex; gap: 20px; align-items: center; }
.top-hours { color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .top-hours { display: none; } }
@media (max-width: 520px) { .top { display: none; } }

.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy-900); overflow: hidden;
  display: grid; place-items: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy-800); }
.brand-sub { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 13px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--navy-800); background: var(--paper-alt); }
.nav a[aria-current] { color: var(--navy-800); background: var(--gold-100); }
.nav-cta {
  background: var(--navy-800) !important; color: #fff !important;
  padding: 11px 20px !important; border-radius: 999px !important; font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--navy-700) !important; }

/* Menu de áreas (dropdown) */
.has-drop { position: relative; }
.drop-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 9px 13px; border-radius: 8px;
}
.drop-btn:hover, .drop-btn[aria-expanded="true"] { color: var(--navy-800); background: var(--paper-alt); }
.drop-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(620px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; display: none; grid-template-columns: 1fr 1fr; gap: 2px;
}
.drop[data-open] { display: grid; }
.drop a {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 12px; border-radius: 9px;
  text-decoration: none;
}
.drop a:hover { background: var(--paper-alt); }
.drop .di { width: 30px; height: 30px; border-radius: 8px; background: var(--area-tint, var(--gold-100)); display: grid; place-items: center; flex-shrink: 0; }
.drop .di svg { width: 16px; height: 16px; color: var(--area, var(--navy-800)); }
.drop b { display: block; font-size: 14px; font-weight: 600; color: var(--navy-800); font-family: var(--sans); }
.drop span { display: block; font-size: 12.5px; color: var(--ink-mute); line-height: 1.4; margin-top: 1px; }

.burger { display: none; background: none; border: 0; padding: 8px; border-radius: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; }
.burger span + span { margin-top: 5px; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: block; }
  .head .wrap { min-height: 64px; }
}
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 0 20px; }
.mnav[data-open] { display: block; }
.mnav a { display: block; padding: 12px 4px; text-decoration: none; font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.mnav a:last-child { border: 0; }
.mnav .mtitle { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); padding: 16px 4px 6px; font-weight: 600; }

/* Botões ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; transition: all .18s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 4px 14px rgba(235,200,83,.4); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-line { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-line:hover { border-color: var(--navy-800); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.94); transform: translateY(-1px); }

/* Hero ------------------------------------------------------------------ */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 72px 0 78px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 88% 12%, rgba(235,200,83,.13), transparent 62%),
    radial-gradient(48% 60% at 4% 96%, rgba(235,200,83,.07), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500);
  border: 1px solid rgba(235,200,83,.32); border-radius: 999px; padding: 7px 16px; margin-bottom: 24px;
  white-space: nowrap;
}
.hero-eyebrow svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero-lead { margin-top: 20px; font-size: clamp(1rem, 1.6vw, 1.16rem); color: rgba(255,255,255,.76); max-width: 58ch; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-meta div { font-size: 13px; color: rgba(255,255,255,.6); }
.hero-meta b { display: block; font-family: var(--serif); font-size: 24px; color: #fff; font-weight: 700; }

/* Barra de áreas -------------------------------------------------------- */
.areabar { background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.areabar-in { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.areabar-in::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: all .16s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--area, var(--navy-800)); color: var(--area, var(--navy-800)); background: var(--area-tint, #fff); }
.chip[aria-current] { background: var(--area, var(--navy-800)); border-color: var(--area, var(--navy-800)); color: #fff; }
.chip[aria-current] svg { opacity: 1; }
.chip svg { width: 15px; height: 15px; opacity: .75; }

/* Seções ---------------------------------------------------------------- */
.sec { padding: 68px 0; }
.sec-alt { background: var(--paper-alt); }
.sec-head { max-width: 660px; margin-bottom: 38px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); color: var(--navy-800); }
.sec-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }

/* Cards de artigo ------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--area-soft, #d9dbe6); }
.card-img { aspect-ratio: 16 / 9; background: var(--navy-800); position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--area, var(--navy-800)); background: var(--area-tint, var(--gold-100));
  padding: 5px 11px; border-radius: 999px; text-decoration: none;
  transition: background .16s, color .16s;
}
.tag:hover { background: var(--area, var(--gold-500)); color: #fff; }
.card h3 { margin-top: 14px; font-size: 20px; line-height: 1.32; }
.card h3 a { text-decoration: none; color: var(--navy-800); background-image: linear-gradient(var(--area, var(--gold-500)), var(--area, var(--gold-500))); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
.card:hover h3 a { background-size: 100% 2px; }
.card p { margin-top: 11px; font-size: 14.6px; color: var(--ink-soft); line-height: 1.6; }
.card-foot {
  margin-top: auto; padding-top: 17px; display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--ink-mute);
}
.card-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* Capa composta (quando o artigo não tem imagem própria) --------------- */
.cover-gen {
  position: relative; width: 100%; height: 100%; aspect-ratio: 16 / 9;
  background:
    radial-gradient(78% 120% at 88% -12%, rgba(235,200,83,.16), transparent 58%),
    linear-gradient(152deg, #0e0f1f 0%, var(--area-deep, #181a32) 62%, var(--area, #23264a) 190%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 8% 9%; color: #fff; overflow: hidden; isolation: isolate;
}
.cover-gen::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 46px);
}
.cover-gen::after {
  content: ""; position: absolute; z-index: -1;
  right: -4%; top: 50%; transform: translateY(-50%);
  width: 40%; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ebc853' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6v16.8'/%3E%3Cpath d='M7 20.4h10'/%3E%3Cpath d='M4.2 8.4 12 6l7.8 2.4'/%3E%3Cpath d='M4.2 8.4 2 14.2a3 3 0 0 0 4.4 0Z'/%3E%3Cpath d='M19.8 8.4 22 14.2a3 3 0 0 1-4.4 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .2;
}
.cover-gen .cg-top { position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--area, var(--gold-500)); z-index: 1; }
.cover-gen .cg-label {
  font-size: .30em; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: .9em;
}
.cover-gen .cg-name {
  font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  max-width: 11ch;
}
.cover-gen .cg-brand {
  margin-top: auto; font-size: .26em; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
}
.cg-sm { font-size: 30px; }
.cg-md { font-size: 42px; }
.cg-lg { font-size: 54px; }
.cg-sm .cg-name, .cg-md .cg-name, .cg-lg .cg-name { font-size: 1em; }
@media (max-width: 620px) { .cg-md, .cg-lg { font-size: 34px; } }
.post-cover { margin: 0 0 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.f-img .cover-gen { position: absolute; inset: 0; aspect-ratio: auto; }

/* Destaque */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.feature .f-img { background: var(--navy-800); min-height: 340px; position: relative; }
.feature .f-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature .f-body { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.feature h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--navy-800); margin-top: 16px; line-height: 1.24; }
.feature h2 a { text-decoration: none; }
.feature h2 a:hover { color: var(--navy-600); }
.feature p { margin-top: 15px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.feature .card-foot { padding-top: 22px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature .f-img { min-height: 220px; }
  .feature .f-body { padding: 30px 26px 34px; }
}

/* Grade de áreas --------------------------------------------------------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }
.area-card {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; transition: all .2s ease; position: relative;
}
.area-card:hover { border-color: var(--area, var(--navy-800)); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.area-card { border-top: 3px solid var(--area, transparent); }
.area-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--area-tint, var(--navy-800));
  display: grid; place-items: center; margin-bottom: 18px; transition: background .2s;
}
.area-card:hover .area-ico { background: var(--area, var(--gold-500)); }
.area-ico svg { width: 23px; height: 23px; color: var(--area, var(--gold-500)); transition: color .2s; }
.area-card:hover .area-ico svg { color: #fff; }
.area-card h3 { font-size: 18.5px; color: var(--navy-800); }
.area-card p { margin-top: 9px; font-size: 14.2px; color: var(--ink-soft); line-height: 1.6; }
.area-card .count { margin-top: 16px; font-size: 12.5px; color: var(--ink-mute); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.area-card .count svg { width: 13px; height: 13px; }

/* Artigo ----------------------------------------------------------------- */
.crumbs { font-size: 13px; color: var(--ink-mute); padding: 22px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs a { text-decoration: none; color: var(--ink-mute); }
.crumbs a:hover { color: var(--navy-800); text-decoration: underline; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--line); }
.crumbs [aria-current] { color: var(--ink-soft); }

.post-head { padding: 26px 0 34px; border-bottom: 1px solid var(--line); }
.post-head .inner { max-width: var(--measure); }
.post-head h1 { font-size: clamp(1.95rem, 4.4vw, 3rem); color: var(--navy-800); margin-top: 16px; line-height: 1.14; }
.post-sub { margin-top: 18px; font-size: 18px; color: var(--ink-soft); line-height: 1.62; font-family: var(--read); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; font-size: 13.5px; color: var(--ink-mute); }
.author { display: flex; align-items: center; gap: 10px; }
.author-av {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 15px;
  overflow: hidden; flex-shrink: 0;
}
.author-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-av.has-photo { box-shadow: 0 0 0 2px var(--gold-500); }
.author b { display: block; color: var(--navy-800); font-size: 14px; font-family: var(--sans); font-weight: 600; }
.author span { font-size: 12.5px; }

.post-layout { display: grid; grid-template-columns: minmax(0, var(--measure)) 300px; gap: 60px; padding: 44px 0 70px; align-items: start; }
@media (max-width: 1060px) { .post-layout { grid-template-columns: 1fr; gap: 40px; } }

.prose { font-family: var(--read); font-size: 18.2px; line-height: 1.78; color: #2a2c38; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 {
  font-family: var(--serif); font-size: 1.62em; color: var(--navy-800); line-height: 1.24;
  margin-top: 2em; padding-top: .1em; scroll-margin-top: 96px;
}
.prose h3 { font-family: var(--serif); font-size: 1.28em; color: var(--navy-800); margin-top: 1.7em; scroll-margin-top: 96px; }
.prose h4 { font-family: var(--sans); font-size: 1.02em; font-weight: 600; color: var(--navy-700); margin-top: 1.5em; }
.prose a { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-600); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .5em; }
.prose ul li::marker { color: var(--gold-600); }
.prose ol li::marker { color: var(--gold-600); font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--gold-500); padding: 4px 0 4px 24px; margin-left: 0;
  font-style: italic; color: var(--ink-soft);
}
.prose img { border-radius: var(--radius); margin: 2em 0; box-shadow: var(--shadow-sm); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--sans); font-size: 13.5px; color: var(--ink-mute); text-align: center; margin-top: 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose strong { color: var(--navy-800); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.prose th { background: var(--paper-alt); font-weight: 600; color: var(--navy-800); }
.prose .lead { font-size: 1.08em; color: var(--ink-soft); }

/* Caixas de destaque dentro do artigo */
.callout {
  font-family: var(--sans); font-size: 15.5px; line-height: 1.66;
  background: var(--paper-warm); border: 1px solid #eee5cf; border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm); padding: 20px 24px; color: var(--ink-soft);
}
.callout b, .callout strong { color: var(--navy-800); }
.callout-title { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.callout-title svg { width: 17px; height: 17px; color: var(--gold-600); }

/* Índice do artigo */
.toc { background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-family: var(--sans); }
.toc-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: t; }
.toc li { counter-increment: t; }
.toc li + li { margin-top: 8px; }
.toc a { display: flex; gap: 10px; text-decoration: none; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.toc a::before { content: counter(t); color: var(--gold-600); font-weight: 700; font-size: 12.5px; padding-top: 2px; }
.toc a:hover { color: var(--navy-800); }
.toc .lvl3 { padding-left: 22px; }
.toc .lvl3 a::before { content: "–"; }

/* Barra lateral */
.side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1060px) { .side { position: static; } }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.side-box h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 16px; }
.side-cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #fff; border: 0; }
.side-cta h4 { color: var(--gold-500); }
.side-cta p { font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.6; margin-bottom: 18px; }
.side-cta .btn { width: 100%; }
.side-list { list-style: none; }
.side-list li + li { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.side-list a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--navy-800); line-height: 1.42; display: block; }
.side-list a:hover { color: var(--gold-600); }
.side-list span { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 5px; }

/* Compartilhar */
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--sans); }
.share span { font-size: 13px; color: var(--ink-mute); margin-right: 4px; }
.share a, .share button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--ink-soft); text-decoration: none; transition: all .16s;
}
.share a:hover, .share button:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.share svg { width: 16px; height: 16px; }

/* Autor / aviso */
.bio { display: flex; gap: 20px; align-items: flex-start; background: var(--paper-alt); border-radius: var(--radius); padding: 26px; margin-top: 34px; }
.bio .author-av { width: 66px; height: 66px; font-size: 22px; flex-shrink: 0; }
.bio h4 { font-family: var(--serif); font-size: 18px; color: var(--navy-800); }
.bio p { font-size: 14.6px; color: var(--ink-soft); line-height: 1.65; margin-top: 7px; }
.bio .oab { font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; }

.disclaimer {
  margin-top: 26px; font-size: 13.2px; line-height: 1.62; color: var(--ink-mute);
  border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 16px 20px; font-family: var(--sans);
}

/* CTA final */
.cta-band { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 100% at 80% 0%, rgba(235,200,83,.14), transparent 60%); }
.cta-band .wrap { position: relative; z-index: 1; padding: 62px 24px; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { margin: 16px auto 0; color: rgba(255,255,255,.74); max-width: 56ch; font-size: 16.5px; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* Paginação e busca ------------------------------------------------------ */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 46px; }
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  display: grid; place-items: center; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
}
.pager a:hover { border-color: var(--navy-800); color: var(--navy-800); }
.pager [aria-current] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.search-box { position: relative; max-width: 520px; }
.search-box input {
  width: 100%; font: inherit; font-size: 15px; padding: 14px 18px 14px 46px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.search-box input:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(24,26,50,.06); }
.search-box svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-mute); }
.search-empty { text-align: center; padding: 50px 0; color: var(--ink-mute); }

/* Rodapé ----------------------------------------------------------------- */
.foot { background: var(--navy-900); color: rgba(255,255,255,.62); font-size: 14.5px; padding: 58px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h5 { font-family: var(--sans); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; margin-bottom: 16px; }
.foot ul { list-style: none; }
.foot li + li { margin-top: 10px; }
.foot a { text-decoration: none; color: rgba(255,255,255,.62); transition: color .15s; }
.foot a:hover { color: var(--gold-500); }
.foot-brand .brand-name { color: #fff; font-size: 20px; }
.foot-logo { width: 132px; height: auto; border-radius: 8px; opacity: .95; }
.foot-brand p { margin-top: 14px; line-height: 1.7; font-size: 14.2px; max-width: 34ch; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.42);
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.42); text-decoration: none;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 29px; height: 29px; }

/* Barra de progresso de leitura */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gold-500); width: 0; z-index: 100; transition: width .1s linear; }

/* Utilidades */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Foto da página Sobre */
.sobre-foto { margin: 0 0 2em; }
.sobre-foto img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.sobre-foto figcaption { font-family: var(--sans); font-size: 13.5px; color: var(--ink-mute); margin-top: 10px; text-align: center; }

/* Página de área: identidade de cor ------------------------------------ */
.sec-area { border-top: 4px solid var(--area); }
.sec-area .eyebrow { color: var(--area); }
.sec-area h1 { color: var(--navy-800); }

/* Artigo: detalhes na cor da área */
main[style*="--area"] .prose a { text-decoration-color: var(--area, var(--gold-500)); }
main[style*="--area"] .prose ul li::marker,
main[style*="--area"] .prose ol li::marker { color: var(--area, var(--gold-600)); }
main[style*="--area"] .prose blockquote { border-left-color: var(--area, var(--gold-500)); }
main[style*="--area"] .callout { border-left-color: var(--area, var(--gold-500)); background: var(--area-tint, var(--paper-warm)); border-color: var(--area-soft, #eee5cf); }
main[style*="--area"] .callout-title svg { color: var(--area, var(--gold-600)); }
main[style*="--area"] .toc a::before { color: var(--area, var(--gold-600)); }
main[style*="--area"] .post-head { border-bottom: 1px solid var(--line); box-shadow: inset 0 3px 0 var(--area); }
main[style*="--area"] .author-av.has-photo { box-shadow: 0 0 0 2px var(--area); }
main[style*="--area"] .side-cta { background: linear-gradient(160deg, var(--navy-800), var(--area-deep, var(--navy-700))); }

/* Perfis de rede social ------------------------------------------------- */
.soc-list li a { display: flex; align-items: center; gap: 9px; }
.soc-ico { width: 17px; height: 17px; flex-shrink: 0; color: var(--gold-500); display: grid; place-items: center; }
.soc-ico svg { width: 100%; height: 100%; }
.area-socs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; }
.area-socs > span { color: var(--ink-mute); font-size: 13.5px; }
.area-soc {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
  color: var(--area, var(--navy-800)); font-weight: 500; transition: all .16s;
}
.area-soc:hover { background: var(--area-tint, var(--paper-alt)); border-color: var(--area, var(--navy-800)); }
.area-soc svg { width: 15px; height: 15px; }

/* Páginas de atendimento (LPs) ------------------------------------------ */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--area, var(--gold-500));
  border-radius: var(--radius-sm); padding: 17px 20px; text-decoration: none; transition: all .16s;
}
.lp-card:hover { border-color: var(--area, var(--navy-800)); border-left-color: var(--area, var(--gold-500)); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.lp-card b { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--navy-800); }
.lp-card span { color: var(--area, var(--navy-800)); display: grid; place-items: center; }
.lp-card svg { width: 17px; height: 17px; }

.lp-inline {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  font-family: var(--sans); margin: 2.4em 0 0;
  background: var(--area-tint, var(--gold-100)); border: 1px solid var(--area-soft, var(--gold-500));
  border-radius: var(--radius); padding: 20px 24px; transition: all .16s;
}
.lp-inline:hover { border-color: var(--area, var(--gold-600)); transform: translateY(-1px); }
.lp-inline span { font-size: 13.5px; color: var(--ink-soft); }
.lp-inline b { font-size: 17px; color: var(--area, var(--navy-800)); display: inline-flex; align-items: center; gap: 8px; }
.lp-inline svg { width: 17px; height: 17px; }

/* Aviso de cookies ------------------------------------------------------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  background: var(--navy-900); color: rgba(255,255,255,.82); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1);
  animation: sobe .3s ease;
}
@keyframes sobe { from { transform: translateY(16px); opacity: 0; } }
.cookie-bar[hidden] { display: none; }
.cookie-in {
  max-width: var(--wrap); margin: 0 auto; padding: 18px 22px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.cookie-in p { font-size: 14px; line-height: 1.6; flex: 1; min-width: 260px; }
.cookie-in a { color: var(--gold-500); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  border: 1px solid rgba(255,255,255,.25); background: none; color: #fff;
  border-radius: 999px; padding: 10px 22px; font-size: 14.5px; font-weight: 500; transition: all .16s;
}
.cookie-btns button:hover { background: rgba(255,255,255,.1); }
.cookie-btns .ok { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); font-weight: 600; }
.cookie-btns .ok:hover { background: var(--gold-600); }
@media (max-width: 620px) { .cookie-in { padding: 16px; } .cookie-btns { width: 100%; } .cookie-btns button { flex: 1; } }


/* ==========================================================
   Bloco de vídeo dentro dos artigos (.ra-video)
   ========================================================== */
.ra-video{margin:38px 0;max-width:var(--measure)}
.ra-video-frame{position:relative;width:100%;padding-bottom:56.25%;background:var(--navy-900);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-md)}
.ra-video-frame > iframe,
.ra-video-frame > video{position:absolute;top:0;left:0;width:100%;height:100%;border:0;
  object-fit:contain;background:var(--navy-900)}
figure.ra-video .ra-video-cap{margin:14px 2px 0;font-family:var(--read);font-size:.95rem;line-height:1.62;color:var(--ink-soft);text-align:left !important}
.ra-video-cap strong{color:var(--ink);font-weight:600}
.ra-video-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin:18px 0 0;
  padding:14px 24px;border-radius:999px;background:var(--wa);color:#fff;text-decoration:none;
  font-family:var(--sans);font-weight:600;font-size:.95rem;line-height:1;box-shadow:var(--shadow-sm);text-decoration:none !important;border-bottom:0 !important;
  transition:transform .18s ease,filter .18s ease}
.ra-video-cta:hover,.ra-video-cta:focus{transform:translateY(-1px);filter:brightness(1.05);color:#fff;text-decoration:none !important}
@media(max-width:560px){
  .ra-video{margin:30px 0}
  .ra-video-cta{display:flex;width:100%}
}
@media(prefers-reduced-motion:reduce){.ra-video-cta{transition:none}}

/* vídeo vertical 9:16 (formato de celular) */
.ra-video.ra-video-9x16 .ra-video-frame{padding-bottom:0;aspect-ratio:9/16;max-width:340px;margin-left:auto;margin-right:auto}
.ra-video.ra-video-9x16 .ra-video-cap,
.ra-video.ra-video-9x16 + p{max-width:100%}

/* botão de som (injetado pelo site.js quando o vídeo é próprio) */
.ra-video-sound{position:absolute;right:12px;bottom:12px;z-index:3;display:inline-flex;align-items:center;gap:8px;
  padding:11px 16px;border:0;border-radius:999px;cursor:pointer;background:var(--gold-500);color:var(--navy-900);
  font-family:var(--sans);font-weight:600;font-size:.8rem;line-height:1;box-shadow:0 6px 18px rgba(14,15,31,.32);
  transition:transform .18s ease,background .18s ease}
.ra-video-sound:hover{transform:translateY(-1px);background:var(--gold-600)}
.ra-video-sound.is-on{background:rgba(14,15,31,.72);color:#fff}
.ra-video-sound svg{width:15px;height:15px;flex:none}
@media(prefers-reduced-motion:reduce){.ra-video-sound{transition:none}}

/* Foto do autor: a regra .prose img (margem 2em) empurrava a foto para baixo dentro do circulo. */
.prose .author-av img, .author-av img { margin: 0; box-shadow: none; border-radius: 50%; display: block; width: 100%; height: 100%; object-fit: cover; }


/* LP CTA — link do artigo para a landing page correspondente */
.ra-lp-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin:20px 0;
  padding:14px 26px;border-radius:999px;background:#0F1B2D;color:#E4C15C;text-decoration:none;
  font-family:var(--sans);font-weight:600;font-size:.95rem;line-height:1.3;box-shadow:var(--shadow-sm);
  text-decoration:none !important;border-bottom:0 !important;border:1px solid #C9A227;
  transition:transform .18s ease,filter .18s ease}
.ra-lp-cta:hover,.ra-lp-cta:focus{transform:translateY(-1px);filter:brightness(1.2);color:#E4C15C;text-decoration:none !important}
@media(max-width:560px){.ra-lp-cta{display:flex;width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.ra-lp-cta{transition:none}}
