/* =============================================================
   LVN ADVOCACIA — Folha de estilos principal
   Dois temas no mesmo CSS:
     [data-theme="classico"]  -> Clássico sóbrio (navy + dourado, serifada)
     [data-theme="moderno"]   -> Moderno minimalista (grafite + azul, sem serifa)
   O tema é definido no atributo data-theme da tag <html>.
   ============================================================= */

/* ---------- 1. Tokens de tema ---------- */
:root,
[data-theme="classico"] {
  --brand-900: #08182B;
  --brand-800: #0F2A47;
  --brand-700: #17395E;
  --brand-600: #21507F;
  --accent:    #B08D57;
  --accent-2:  #D9C29A;
  --accent-ink:#3D2F17;

  --bg:        #FFFFFF;
  --bg-alt:    #F7F5F1;
  --bg-deep:   var(--brand-900);
  --text:      #15202B;
  --muted:     #59677A;
  --border:    #E5E0D6;
  --on-dark:   #EFEAE1;
  --on-dark-muted: #B9C3CF;

  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius:    4px;
  --radius-lg: 6px;
  --shadow:    0 1px 2px rgba(8, 24, 43, .06), 0 8px 24px rgba(8, 24, 43, .07);
  --shadow-lg: 0 2px 4px rgba(8, 24, 43, .06), 0 18px 48px rgba(8, 24, 43, .12);
  --head-weight: 600;
  --head-spacing: -0.005em;
  --kicker-spacing: .18em;
  --btn-weight: 600;
}

[data-theme="moderno"] {
  --brand-900: #0C0D0F;
  --brand-800: #17191D;
  --brand-700: #23262B;
  --brand-600: #32363D;
  --accent:    #2F6BED;
  --accent-2:  #8FB2FA;
  --accent-ink:#FFFFFF;

  --bg:        #FFFFFF;
  --bg-alt:    #F4F5F7;
  --bg-deep:   var(--brand-900);
  --text:      #12141A;
  --muted:     #626B78;
  --border:    #E4E7EC;
  --on-dark:   #F2F4F7;
  --on-dark-muted: #A6AEBB;

  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 1px 2px rgba(12, 13, 15, .05), 0 8px 24px rgba(12, 13, 15, .06);
  --shadow-lg: 0 2px 4px rgba(12, 13, 15, .05), 0 20px 50px rgba(12, 13, 15, .10);
  --head-weight: 700;
  --head-spacing: -0.022em;
  --kicker-spacing: .12em;
  --btn-weight: 600;
}

/* ---------- 2. Reset e base ---------- */
*, *::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(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing);
  line-height: 1.2;
  color: var(--brand-900);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout ---------- */
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }

section { padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); color: var(--on-dark); }
.section-deep h1, .section-deep h2, .section-deep h3 { color: #fff; }
.section-deep p { color: var(--on-dark-muted); }
.section-tight { padding-block: clamp(2.25rem, 4vw, 3.25rem); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin-bottom: 0; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: var(--kicker-spacing);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.section-deep .kicker { color: var(--accent-2); }

.lead { font-size: 1.15rem; color: var(--muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: var(--btn-weight);
  line-height: 1.2;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  text-decoration: none !important;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-primary { background: var(--brand-800); color: #fff; border-color: var(--brand-800); }
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); }

.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-accent:hover { filter: brightness(1.07); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--brand-800); border-color: var(--border); }
.btn-outline:hover { border-color: var(--brand-800); background: var(--bg-alt); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-wa { background: #1FA855; color: #fff; border-color: #1FA855; }
.btn-wa:hover { background: #17914A; border-color: #17914A; }

.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

/* ---------- 5. Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 78px;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none !important; }
.brand-mark { height: 44px; width: auto; flex: none; color: var(--brand-800); }
.brand-risco {
  width: 1px; height: 38px; flex: none;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
/* A sigla é a marca (desenho ao lado); o texto traz a razão social por extenso. */
.brand-text .bt-main {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: 1.14rem; color: var(--brand-900); letter-spacing: .012em; line-height: 1.15;
}
.brand-text .bt-sub {
  font-size: .5rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); margin-top: .44rem;
}
/* No celular sobra só a marca — o rodapé segue exibindo nome, CNPJ e OAB
   em todas as páginas, que é o que a identificação da OAB exige. */
/* No celular o nome PRECISA continuar visível — "LVN" sozinho não
   identifica o escritório, e a identificação é exigência da OAB.
   Espaço se ganha encolhendo a marca e o texto, não escondendo. */
@media (max-width: 620px) {
  .site-header .header-inner { min-height: 70px; gap: .75rem; }
  .site-header .brand { gap: .6rem; }
  .site-header .brand-risco { display: none; }
  .site-header .brand-mark { height: 36px; }
  .site-header .brand-text .bt-main {
    font-size: .8rem; line-height: 1.25; letter-spacing: 0;
  }
  .site-header .brand-text .bt-sub {
    font-size: .42rem; letter-spacing: .16em; margin-top: .3rem;
  }
  .nav-toggle { width: 42px; height: 42px; flex: none; }
  .site-nav { inset-block-start: 70px; }
}
@media (max-width: 370px) {
  .site-header .brand-mark { height: 32px; }
  .site-header .brand-text .bt-main { font-size: .72rem; }
  .site-header .brand-text .bt-sub  { font-size: .38rem; letter-spacing: .12em; }
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; position: relative; }
.nav-list > li > a {
  display: inline-block; padding: .55rem 0;
  font-size: .95rem; font-weight: 600; color: var(--text);
  text-decoration: none !important; position: relative;
}
.nav-list > li > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: .25rem;
  height: 2px; background: var(--accent); transition: right .25s;
}
.nav-list > li > a:hover::after,
.nav-list > li > a[aria-current="page"]::after { right: 0; }

.has-sub > a::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: .38rem; height: .38rem; margin: -.2rem .45rem 0 0;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); float: right; margin-left: .45rem; margin-right: 0;
}
.subnav {
  position: absolute; top: 100%; left: -1rem; min-width: 290px;
  list-style: none; margin: 0; padding: .6rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li { margin: 0; }
.subnav a {
  display: block; padding: .6rem .8rem; border-radius: var(--radius);
  font-size: .93rem; font-weight: 500; color: var(--text); text-decoration: none !important;
}
.subnav a:hover { background: var(--bg-alt); color: var(--brand-700); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text);
  margin-inline: auto; transition: transform .25s, opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ''; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ''; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.75rem;
    max-height: calc(100dvh - 78px); overflow-y: auto;
    transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: .85rem .25rem; border-bottom: 1px solid var(--border); }
  .nav-list > li > a::after { display: none; }
  .has-sub > a::before { display: none; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--border);
    border-radius: 0; padding: .3rem 0 .8rem .9rem; min-width: 0;
  }
  .subnav a { padding: .5rem .25rem; color: var(--muted); }
  .site-nav .btn { margin-top: 1.1rem; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-deep);
  color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(90ch 60ch at 82% -10%, rgba(255,255,255,.10), transparent 62%),
    linear-gradient(160deg, var(--brand-800) 0%, var(--brand-900) 68%);
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; right: -12%; bottom: -35%;
  width: 46rem; height: 46rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07); z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .hero-lead {
  font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem);
  color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 2rem;
}
.hero .kicker { color: var(--accent-2); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem;
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
/* Reserva espaço à direita para o botão flutuante do WhatsApp não
   cobrir o texto quando ele calha de parar sobre esta faixa. */
@media (max-width: 600px) {
  .hero-trust { gap: 1.25rem 1.75rem; padding-right: 72px; }
  .hero-trust div { min-width: 118px; }
}
.hero-trust div { min-width: 130px; }
.hero-trust .ht-num {
  font-family: var(--font-head); font-size: 1.65rem; font-weight: 700; color: #fff; line-height: 1.1;
}
.hero-trust .ht-label { font-size: .82rem; color: var(--on-dark-muted); }

.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  backdrop-filter: blur(6px);
}
.hero-card h2 { font-size: 1.28rem; color: #fff; margin-bottom: .5rem; }
.hero-card p { font-size: .95rem; color: var(--on-dark-muted); }

/* ---------- 7. Cabeçalho de página interna ---------- */
.page-head {
  background: var(--bg-deep); color: var(--on-dark);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--brand-800), var(--brand-900) 75%);
}
.page-head > * { position: relative; }
.page-head h1 { color: #fff; margin-bottom: .5rem; }
.page-head p { color: var(--on-dark-muted); max-width: 62ch; margin-bottom: 0; }

.breadcrumb { font-size: .84rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }
.breadcrumb a { color: var(--accent-2); }

/* ---------- 8. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.85rem; height: 100%;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card .card-link {
  margin-top: auto; padding-top: .9rem;
  font-weight: 700; font-size: .92rem; color: var(--brand-700);
  text-decoration: none !important; display: inline-flex; align-items: center; gap: .4rem;
}
.card .card-link::after { content: '→'; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

.card-icon {
  width: 50px; height: 50px; margin-bottom: 1.15rem;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
[data-theme="moderno"] .card-icon { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.card-icon svg { width: 26px; height: 26px; }

.card-num {
  font-family: var(--font-head); font-size: 2.1rem; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: .75rem;
}

/* ---------- 9. Conteúdo editorial ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.9rem; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.15rem; }
.prose ul li::marker { color: var(--accent); }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative; padding-left: 1.9rem; margin-bottom: .7rem;
}
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: .5rem; height: .85rem;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-.25rem);
}

.callout {
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  padding: 1.35rem 1.5rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--brand-800); }

/* ---------- 9b. Tabelas ---------- */
.table-wrap {
  overflow-x: auto; margin: 2rem 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.table-wrap thead th {
  background: var(--bg-alt); font-family: var(--font-body); font-size: .78rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-900);
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 600; color: var(--brand-900); }

/* ---------- 9c. Artigo ---------- */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  font-size: .85rem; color: var(--on-dark-muted); margin-top: 1.25rem;
}
.author-box {
  display: flex; gap: 1.25rem; align-items: flex-start;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; background: var(--bg-alt); margin-top: 3rem;
}
.author-box .ab-mark {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--brand-800); color: var(--accent);
}
.author-box p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }
.author-box strong { display: block; color: var(--brand-900); font-size: 1rem; margin-bottom: .3rem; }

/* ---------- 10. FAQ (accordion) ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.25rem 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: var(--head-weight);
  color: var(--brand-900); text-align: left; line-height: 1.4;
}
.faq-q::after {
  content: '+'; flex: none; font-family: var(--font-body); font-weight: 400;
  font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform .25s;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 1.35rem; color: var(--muted); }
.faq-a.is-open { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- 10b. Vídeos (carregamento sob clique) ---------- */
.video-card { padding: 0; overflow: hidden; }
.video-facade {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border: 0; padding: 0; cursor: pointer; display: block;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  overflow: hidden;
}
.video-facade img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s, opacity .3s; opacity: .85;
}
.video-facade:hover img { transform: scale(1.04); opacity: 1; }
.video-facade .vf-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0, 0, 0, .62); border: 2px solid rgba(255, 255, 255, .9);
  display: grid; place-items: center; transition: background-color .2s, transform .2s;
}
.video-facade:hover .vf-play { background: #CC0000; transform: translate(-50%, -50%) scale(1.06); }
.video-facade .vf-play svg { width: 24px; height: 24px; margin-left: 3px; fill: #fff; }
.video-facade .vf-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .6rem .85rem; font-size: .72rem; line-height: 1.4;
  color: rgba(255, 255, 255, .82); background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  text-align: left;
}
.video-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-card .video-body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.video-card h3 { font-size: 1.08rem; }

.channel-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem; background: var(--bg-alt); margin-top: 2.5rem;
}
.channel-cta .cc-icon {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: var(--radius); background: #CC0000; color: #fff;
}
.channel-cta .cc-icon svg { width: 28px; height: 28px; }
.channel-cta div { flex: 1 1 260px; }
.channel-cta p { margin: 0; color: var(--muted); font-size: .95rem; }
.channel-cta strong { display: block; color: var(--brand-900); font-size: 1.08rem; margin-bottom: .25rem; }

/* ---------- 11. Newsletter ---------- */
.newsletter {
  background: var(--bg-deep); color: var(--on-dark);
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--brand-800), var(--brand-900));
}
.newsletter > * { position: relative; }
.newsletter h2 { color: #fff; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .newsletter-grid { grid-template-columns: 1fr; } }
.newsletter .kicker { color: var(--accent-2); }
.newsletter p { color: var(--on-dark-muted); }
.newsletter-benefits { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.newsletter-benefits li {
  position: relative; padding-left: 1.75rem; color: var(--on-dark-muted); font-size: .96rem;
}
.newsletter-benefits li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: .45rem; height: .8rem;
  border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg) translateY(-.2rem);
}

.form-panel {
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.form-panel h3 { margin-bottom: .35rem; }
.form-panel .form-sub { font-size: .93rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- 12. Formulários ---------- */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: .86rem; font-weight: 700;
  color: var(--brand-900); margin-bottom: .4rem;
}
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C0392B; }
.field-error { display: none; font-size: .82rem; color: #C0392B; margin-top: .35rem; }
.field-error.is-visible { display: block; }
.field-hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }

.field-consent { display: flex; align-items: flex-start; gap: .7rem; margin: 1.25rem 0; }
.field-consent input { width: 1.15rem; height: 1.15rem; margin-top: .22rem; flex: none; accent-color: var(--accent); }
.field-consent label { font-size: .84rem; font-weight: 400; color: var(--muted); line-height: 1.55; margin: 0; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  display: none; margin-top: 1rem; padding: .9rem 1.1rem;
  border-radius: var(--radius); font-size: .93rem;
}
.form-status.is-visible { display: block; }
.form-status.is-ok  { background: #E8F6EE; color: #14683C; border: 1px solid #B6E0C8; }
.form-status.is-err { background: #FDECEA; color: #96271B; border: 1px solid #F5C6C0; }

.form-legal { font-size: .78rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.55; }

/* ---------- 13. Artigos ---------- */
.post-card { overflow: hidden; padding: 0; }
.post-card .post-body { padding: 1.6rem 1.7rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.post-thumb {
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  display: grid; place-items: center; color: rgba(255,255,255,.28);
}
.post-thumb svg { width: 54px; height: 54px; }
.post-meta {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem;
}
.post-card h3 { font-size: 1.12rem; }

/* ---------- 14. Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list .ci {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--radius); color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .cl-label {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.contact-list .cl-value { font-size: 1.02rem; font-weight: 600; color: var(--brand-900); }
.contact-list .cl-value a { color: inherit; }

.map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-alt);
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 1.5rem;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed.is-loaded { padding: 0; display: block; }

.map-facade { max-width: 34ch; }
.map-facade .mf-pin {
  width: 46px; height: 46px; margin: 0 auto .9rem; display: grid; place-items: center;
  border-radius: var(--radius); color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.map-facade .mf-pin svg { width: 22px; height: 22px; }
.map-facade .mf-addr {
  font-size: .95rem; font-weight: 600; color: var(--brand-900);
  line-height: 1.5; margin: 0 0 1.1rem;
}
.map-facade .btn-row { justify-content: center; }
.map-facade .mf-note { font-size: .76rem; color: var(--muted); margin: .9rem 0 0; line-height: 1.5; }

/* ---------- 15. CTA final ---------- */
.cta-band { background: var(--bg-alt); border-top: 1px solid var(--border); }
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.75rem;
}
.cta-inner h2 { margin-bottom: .35rem; }
.cta-inner p { color: var(--muted); margin: 0; }

/* ---------- 16. Rodapé ---------- */
.site-footer {
  background: var(--brand-900); color: var(--on-dark-muted);
  padding: clamp(3rem, 5vw, 4rem) 0 0; font-size: .93rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 2.75rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.footer-brand p { max-width: 34ch; font-size: .9rem; line-height: 1.65; }
.footer-brand .brand { margin-bottom: 1.15rem; }
.footer-brand .brand-mark { color: var(--accent); }
.footer-brand .brand-text .bt-main { color: #fff; }
.footer-brand .brand-text .bt-sub { color: var(--on-dark-muted); }

.social-row { display: flex; gap: .65rem; margin-top: 1.25rem; }
.social-row a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  color: var(--on-dark-muted); transition: background-color .2s, color .2s, border-color .2s;
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.5rem 0 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.oab-note {
  font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.35rem 0 0; margin: 0;
}

/* ---------- 17. Flutuantes ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.25rem; border-radius: 999px;
  background: #1FA855; color: #fff; font-weight: 600; font-size: .95rem;
  box-shadow: 0 8px 26px rgba(31,168,85,.38);
  text-decoration: none !important; transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31,168,85,.45); }
.wa-float svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 600px) {
  .wa-float { padding: .8rem; border-radius: 50%; right: 14px; bottom: 14px; }
  .wa-float .wa-label { display: none; }
  .wa-float svg { width: 20px; height: 20px; }
}

.to-top {
  position: fixed; right: 20px; bottom: 86px; z-index: 89;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: #fff; color: var(--brand-800);
  border: 1px solid var(--border); border-radius: 50%;
  box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 600px) { .to-top { bottom: 92px; right: 24px; } }

/* ---------- 18. Aviso LGPD ---------- */
.lgpd-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 95;
  width: min(420px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.35rem 1.5rem;
  display: none;
}
.lgpd-bar.is-visible { display: block; }
.lgpd-bar p { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }
.lgpd-bar .btn-row { gap: .6rem; }

/* ---------- 19. Seletor de tema (remover ao publicar) ---------- */
.theme-switch {
  position: fixed; left: 20px; top: 50%; transform: translateY(-50%); z-index: 96;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: .85rem; width: 190px;
}
.theme-switch .ts-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .6rem; display: flex; justify-content: space-between; align-items: center;
}
.theme-switch .ts-close {
  background: none; border: 0; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--muted); padding: 0 .15rem;
}
.theme-switch button.ts-opt {
  display: flex; align-items: center; gap: .55rem; width: 100%;
  padding: .5rem .55rem; margin-bottom: .3rem;
  background: none; border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--text);
  cursor: pointer; text-align: left;
}
.theme-switch button.ts-opt:hover { background: var(--bg-alt); }
.theme-switch button.ts-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--bg-alt); }
.theme-switch .sw {
  width: 26px; height: 16px; border-radius: 3px; flex: none;
  border: 1px solid rgba(0,0,0,.12);
}
.theme-switch .sw-classico { background: linear-gradient(90deg, #0F2A47 60%, #B08D57 60%); }
.theme-switch .sw-moderno  { background: linear-gradient(90deg, #17191D 60%, #2F6BED 60%); }
@media (max-width: 1100px) { .theme-switch { display: none; } }

/* ---------- 20. Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 21. Utilidades ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media print {
  .site-header, .wa-float, .to-top, .lgpd-bar, .theme-switch, .cta-band { display: none !important; }
  body { font-size: 11pt; }
}
