/* =========================================================================
   PECS — article-static.css
   Estilos para as páginas de artigo ESTÁTICAS (sem React).
   Reproduz fielmente o visual dos componentes React (chrome.jsx,
   primitives.jsx, article_page.jsx). Importa colors_and_type.css antes.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: #fff; }
body { overflow-x: hidden; }
a { color: inherit; }

h1, h2, h3, blockquote {
  font-feature-settings: "ss01", "liga", "calt";
}

/* Lucide icon wrapper -------------------------------------------------- */
.lc { display: inline-flex; line-height: 0; color: currentColor; }
.lc svg { width: 18px; height: 18px; stroke-width: 1.75; }
.lc-12 svg { width: 12px; height: 12px; }
.lc-14 svg { width: 14px; height: 14px; }
.lc-16 svg { width: 16px; height: 16px; }
.lc-17 svg { width: 17px; height: 17px; }
.lc-18 svg { width: 18px; height: 18px; }
.lc-20 svg { width: 20px; height: 20px; }
.lc-26 svg { width: 26px; height: 26px; }

/* Container ------------------------------------------------------------ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .container { padding: 0 20px; } }

/* Reading-progress bar ------------------------------------------------- */
.reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #C9A84C var(--progress, 0%), transparent 0);
  z-index: 100; pointer-events: none;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.pnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 84px; background: transparent;
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease-out);
}
.pnav.is-scrolled {
  height: 68px;
  background: rgba(17,17,17,.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pnav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.pnav__logo { display: flex; align-items: center; text-decoration: none; }
.pnav__logo img { height: 48px; transition: height .3s var(--ease-out); display: block; }
.pnav.is-scrolled .pnav__logo img { height: 38px; }

.pnav__links { display: flex; align-items: center; gap: 36px; }
.pnav__item { position: relative; }
.pnav__link {
  color: #fff; text-decoration: none;
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  letter-spacing: .02em; display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease-out);
}
.pnav__link:hover { border-bottom-color: #C9A84C; }

/* Services mega-menu */
.pnav__mega-wrap {
  position: absolute; top: 100%; left: -24px; padding-top: 12px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
}
.pnav__item:hover .pnav__mega-wrap { opacity: 1; visibility: visible; transform: translateY(0); }
.pnav__mega {
  width: 520px; background: #111111; border: 1px solid #1E1E1E;
  border-radius: 6px; padding: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.pnav__mega-item {
  display: flex; gap: 12px; padding: 12px; border-radius: 4px;
  text-decoration: none; color: #fff; transition: background .15s var(--ease-out);
}
.pnav__mega-item:hover { background: #181818; }
.pnav__mega-ic {
  width: 32px; height: 32px; border-radius: 4px; flex-shrink: 0;
  background: rgba(201,168,76,.12);
  display: flex; align-items: center; justify-content: center; color: #C9A84C;
}
.pnav__mega-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; font-family: var(--font-sans); }
.pnav__mega-desc { font-size: 11px; color: #9a9a9a; line-height: 1.4; font-family: var(--font-sans); }

.pnav__burger {
  background: none; border: none; cursor: pointer; color: #fff;
  padding: 8px; display: none; align-items: center; justify-content: center;
}

/* Mobile drawer */
.pdrawer {
  position: fixed; inset: 0; background: #0a0a0a; z-index: 49;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; display: flex; flex-direction: column;
}
.pdrawer.is-open { transform: translateX(0); }
.pdrawer__spacer { height: 84px; flex-shrink: 0; }
.pdrawer__links { flex: 1; padding: 8px 24px; }
.pdrawer__link {
  display: flex; align-items: center; color: #fff; text-decoration: none;
  font-family: var(--font-sans); font-weight: 500; font-size: 22px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); letter-spacing: .01em;
}
.pdrawer__svc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; cursor: pointer; color: #fff; padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-sans); font-weight: 500; font-size: 22px; letter-spacing: .01em;
}
.pdrawer__svc-btn.is-open { border-bottom: none; }
.pdrawer__svc-panel { display: none; border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 8px; }
.pdrawer__svc-panel.is-open { display: block; }
.pdrawer__svc-item {
  display: flex; align-items: center; gap: 14px; padding: 13px 8px;
  border-top: 1px solid rgba(255,255,255,.04); text-decoration: none; color: #c4c4c4;
}
.pdrawer__svc-ic {
  width: 36px; height: 36px; border-radius: 4px; flex-shrink: 0;
  background: rgba(201,168,76,.12); display: flex; align-items: center; justify-content: center; color: #C9A84C;
}
.pdrawer__svc-name { font-family: var(--font-sans); font-size: 15px; font-weight: 600; }
.pdrawer__cta-wrap { padding: 20px 24px 48px; }
.pdrawer__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #C9A84C; color: #111111; font-family: var(--font-sans); font-weight: 700; font-size: 16px;
  padding: 16px 24px; border-radius: 4px; text-decoration: none; letter-spacing: .04em;
}

@media (max-width: 767px) {
  .pnav__links, .pnav > .container > .pnav__inner .pnav__cta { display: none; }
  .pnav__cta { display: none; }
  .pnav__burger { display: flex; }
  .pnav__logo img { height: 44px; }
  .pnav.is-scrolled .pnav__logo img { height: 36px; }
}
@media (min-width: 768px) { .pdrawer { display: none; } }

/* =========================================================================
   BUTTON (primary gold)
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; letter-spacing: .02em;
  border-radius: 4px; cursor: pointer; border: 1.5px solid transparent;
  transition: all .2s var(--ease-out); white-space: nowrap; text-decoration: none;
}
.btn:active { transform: scale(.98); }
.btn--md { height: 44px; padding: 0 22px; font-size: 13px; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 12px; }
.btn--primary { background: #C9A84C; color: #111111; border-color: #C9A84C; }
.btn--primary:hover {
  background: transparent; color: #C9A84C; border-color: #C9A84C;
  box-shadow: 0 10px 24px rgba(201,168,76,.25);
}
.btn--block { width: 100%; }

/* =========================================================================
   BADGE / EYEBROW
   ========================================================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-weight: 600; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.badge--gold { background: #FAE8A0; color: #A07830; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: #C9A84C;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: #C9A84C; display: inline-block; }

/* =========================================================================
   ARTICLE HERO
   ========================================================================= */
.art-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 60%, #1a1a1a 100%);
  padding-top: 160px; padding-bottom: 0; overflow: hidden; color: #fff;
}
.art-breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9a9a9a;
  margin-bottom: 36px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; font-family: var(--font-sans); flex-wrap: wrap;
}
.art-breadcrumb a { color: #9a9a9a; text-decoration: none; }
.art-breadcrumb a:hover { color: #C9A84C; }
.art-breadcrumb .cur { color: #C9A84C; }
.art-breadcrumb .lc { color: #C9A84C; }

.art-hero__grid {
  display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: end; padding-bottom: 0;
}
.art-hero h1 {
  font-family: var(--font-serif); font-weight: 700; font-size: 48px; line-height: 1.1;
  letter-spacing: -.02em; color: #fff; margin: 0 0 24px;
}
.art-hero__badge { margin-bottom: 18px; }
.art-meta {
  display: flex; align-items: center; gap: 20px; font-size: 12px; color: #9a9a9a;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  font-family: var(--font-sans); flex-wrap: wrap;
}
.art-meta span { display: flex; align-items: center; gap: 6px; }
.art-meta .lc { color: #C9A84C; }
.art-hero__illus {
  height: 260px; overflow: hidden; background: rgba(255,255,255,.03);
  border-radius: 8px 8px 0 0; border: 1px solid rgba(201,168,76,.2); border-bottom: none;
}
.art-hero__illus svg { width: 100%; height: 100%; display: block; }

@media (max-width: 900px) {
  .art-hero { padding-top: 120px; }
  .art-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .art-hero__illus { display: none; }
  .art-hero h1 { font-size: 30px; }
}

/* =========================================================================
   QUICK ANSWER
   ========================================================================= */
.quick { background: #F5F3EE; border-bottom: 1px solid #E8E2D8; }
.quick__inner { padding: 20px 0; display: flex; gap: 16px; align-items: flex-start; }
.quick__ic {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #C9A84C;
  display: flex; align-items: center; justify-content: center; color: #111;
}
.quick__label {
  font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: #C9A84C; margin: 0 0 6px;
}
.quick__text { font-family: var(--font-sans); font-size: 15px; line-height: 1.65; color: #2a2a2a; margin: 0; }
@media (max-width: 767px) { .quick__text { font-size: 14px; } }

/* =========================================================================
   ARTICLE BODY
   ========================================================================= */
.art-body { background: #fff; padding: 64px 0 80px; }
.art-body__grid { display: grid; grid-template-columns: 1fr 220px; gap: 64px; align-items: start; }
.art-article { min-width: 0; }
@media (max-width: 900px) {
  .art-body { padding: 48px 0 64px; }
  .art-body__grid { grid-template-columns: 1fr; gap: 0; }
  .art-toc-aside { display: none; }
}

/* Content blocks */
.cb-h2 {
  font-family: var(--font-serif); font-weight: 700; font-size: 30px; line-height: 1.2;
  letter-spacing: -.01em; color: #111111; margin: 48px 0 16px; padding-top: 8px;
  border-top: 1px solid #E8E2D8; scroll-margin-top: 96px;
}
.cb-h3 { font-family: var(--font-serif); font-weight: 700; font-size: 24px; line-height: 1.25; color: #111111; margin: 32px 0 12px; }
.cb-p { font-size: 16.5px; line-height: 1.75; color: #2a2a2a; margin: 0 0 18px; font-family: var(--font-sans); }
.cb-ul { margin: 4px 0 22px; padding-left: 0; list-style: none; }
.cb-li {
  display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.7;
  color: #2a2a2a; font-family: var(--font-sans); margin-bottom: 10px;
}
.cb-li::before {
  content: ""; flex-shrink: 0; margin-top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: #C9A84C;
}
@media (max-width: 767px) { .cb-h2 { font-size: 24px; } .cb-h3 { font-size: 20px; } .cb-p, .cb-li { font-size: 15px; } }

/* Table */
.cb-table-wrap { margin: 8px 0 28px; overflow-x: auto; }
.cb-table-cap {
  font-size: 12px; color: #7a7a7a; font-family: var(--font-sans); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px;
}
.cb-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 14px; }
.cb-table thead tr { background: #111111; }
.cb-table th {
  padding: 10px 14px; text-align: left; color: #C9A84C; font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.cb-table tbody tr:nth-child(odd) { background: #F5F3EE; }
.cb-table tbody tr:nth-child(even) { background: #FAFAF8; }
.cb-table td { padding: 10px 14px; color: #111111; border-bottom: 1px solid #E8E2D8; }
.cb-table td:first-child { font-weight: 600; }
.cb-table-note { font-size: 13px; color: #7a7a7a; font-family: var(--font-sans); margin-top: 8px; font-style: italic; }
@media (max-width: 767px) { .cb-table { font-size: 13px; } }

/* Callout */
.cb-callout {
  margin: 8px 0 28px; padding: 20px 24px; background: #F5F3EE;
  border-left: 4px solid #C9A84C; border-radius: 0 4px 4px 0;
}
.cb-callout p { margin: 0; font-size: 16px; line-height: 1.7; color: #2a2a2a; font-family: var(--font-sans); font-style: italic; }
@media (max-width: 767px) { .cb-callout p { font-size: 15px; } }

/* In-content CTA */
.cb-cta { margin: 40px 0 24px; padding: 36px 40px; background: #111111; border-radius: 6px; color: #fff; }
.cb-cta p { font-size: 17px; line-height: 1.65; margin: 0 0 20px; color: #c4c4c4; font-family: var(--font-sans); }
@media (max-width: 767px) { .cb-cta { padding: 28px 24px; } .cb-cta p { font-size: 15px; } }

/* FAQ */
.cb-faq { margin: 8px 0 0; }
.cb-faq__item { border-bottom: 1px solid #E8E2D8; }
.cb-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  background: transparent; border: none; cursor: pointer; padding: 18px 0; text-align: left;
}
.cb-faq__q span { font-family: var(--font-sans); font-weight: 700; font-size: 15px; color: #111111; line-height: 1.4; }
.cb-faq__q .lc { color: #C9A84C; flex-shrink: 0; margin-top: 2px; }
.cb-faq__a { padding-bottom: 18px; display: none; }
.cb-faq__item.is-open .cb-faq__a { display: block; }
.cb-faq__a p { margin: 0; font-size: 15px; line-height: 1.7; color: #3D3D3D; font-family: var(--font-sans); }
.cb-faq__item .ic-plus { display: inline-flex; }
.cb-faq__item .ic-minus { display: none; }
.cb-faq__item.is-open .ic-plus { display: none; }
.cb-faq__item.is-open .ic-minus { display: inline-flex; }
@media (max-width: 767px) { .cb-faq__q span, .cb-faq__a p { font-size: 14px; } }

/* ToC sidebar */
.art-toc { position: sticky; top: 100px; }
.art-toc__label {
  font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: #9a9a9a; margin-bottom: 14px;
}
.art-toc__nav { display: flex; flex-direction: column; gap: 2px; }
.art-toc__link {
  display: block; padding: 7px 12px; border-left: 2px solid #E8E2D8; color: #7a7a7a;
  font-family: var(--font-sans); font-weight: 500; font-size: 13px; text-decoration: none;
  line-height: 1.4; transition: all .15s ease;
}
.art-toc__link.is-active { border-left-color: #C9A84C; color: #C9A84C; font-weight: 700; }
.art-toc__cta { margin-top: 32px; padding-top: 24px; border-top: 1px solid #E8E2D8; }

/* =========================================================================
   RELATED
   ========================================================================= */
.related { background: #F5F3EE; padding: 80px 0; }
.related__head { margin-bottom: 32px; }
.related__title { font-family: var(--font-serif); font-size: 32px; font-weight: 700; line-height: 1.2; margin: 12px 0 0; color: #111111; }
.related__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.related__card {
  display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid #DDD9D2; border-radius: 6px; overflow: hidden; transition: box-shadow .2s ease;
}
.related__card:hover { box-shadow: 0 6px 14px rgba(17,17,17,.08), 0 2px 4px rgba(17,17,17,.05); }
.related__thumb { height: 160px; overflow: hidden; background: linear-gradient(140deg, #1E1E1E 0%, #111111 100%); }
.related__thumb svg { width: 100%; height: 100%; display: block; }
.related__body { padding: 18px 20px; }
.related__card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; line-height: 1.3; margin: 12px 0 8px; color: #111111; }
.related__more { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #C9A84C; }
@media (max-width: 1023px) { .related__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .related { padding: 56px 0; } .related__grid { grid-template-columns: 1fr; } .related__title { font-size: 26px; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.pfoot { background: #0a0a0a; color: #fff; padding-top: 80px; }
.pfoot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.pfoot__logo { height: 48px; margin-bottom: 20px; display: block; }
.pfoot__brandtext { font-size: 14px; line-height: 1.6; color: #9a9a9a; margin: 0 0 24px; max-width: 320px; }
.pfoot__social { display: flex; gap: 8px; }
.pfoot__social a {
  width: 36px; height: 36px; border-radius: 4px; border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center; color: #c4c4c4;
  text-decoration: none; transition: all .15s ease;
}
.pfoot__social a:hover { border-color: #C9A84C; color: #C9A84C; }
.pfoot__coltitle { font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #C9A84C; margin-bottom: 18px; }
.pfoot__link { display: block; color: #c4c4c4; text-decoration: none; font-family: var(--font-sans); font-size: 14px; padding: 6px 0; }
.pfoot__link:hover { color: #fff; }
.pfoot__contact { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: #c4c4c4; }
.pfoot__contact > div { display: flex; align-items: center; gap: 10px; }
.pfoot__contact > div.addr { align-items: flex-start; }
.pfoot__contact .lc { color: #C9A84C; flex-shrink: 0; }
.pfoot__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #7a7a7a; font-family: var(--font-sans);
}
.pfoot__bottom a { color: #7a7a7a; text-decoration: none; }
.pfoot__bottom a:hover { color: #c4c4c4; }
.pfoot__bottom-links { display: flex; gap: 24px; }
@media (max-width: 1023px) { .pfoot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .pfoot { padding-top: 56px; }
  .pfoot__top { grid-template-columns: 1fr; gap: 40px; }
  .pfoot__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* =========================================================================
   WHATSAPP FLOAT
   ========================================================================= */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45); text-decoration: none;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, box-shadow .2s ease;
}
.wa-btn.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
