/* José Lobo Advogados – folha de estilos principal */

:root {
  --ink: #16181d;
  --ink-soft: #4a4f59;
  --paper: #ffffff;
  --paper-soft: #f5f5f5;
  --line: #e6e6e6;
  --dark: #0e0f12;
  --dark-2: #17191e;
  --dark-line: #2a2d34;
  --on-dark: #f2efe8;
  --on-dark-soft: #b3b0a8;
  --gold: #c9a24a;
  --gold-strong: #b08a2e;
  --gold-soft: #e9d49a;
  --whatsapp: #1fa855;
  --whatsapp-hover: #178c46;
  --danger: #b3261e;
  --success: #1f7a45;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --header-h: 72px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow { max-width: 780px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

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

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .98rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(242, 239, 232, .45); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn[disabled] { opacity: .6; cursor: progress; }

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--gold); }

/* Cabeçalho */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 15, 18, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s;
}
.site-header.is-scrolled { background: rgba(14, 15, 18, .96); border-color: var(--dark-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { width: auto; height: 46px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.site-nav ul a:hover { color: var(--gold-soft); border-color: var(--gold); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 20px 24px;
    background: var(--dark);
    border-bottom: 1px solid var(--dark-line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
  .site-nav .btn { align-self: flex-start; }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 760px);
  padding: calc(var(--header-h) + 48px) 0 64px;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 15, 18, .2) 0%, rgba(14, 15, 18, .55) 45%, rgba(14, 15, 18, .9) 75%);
}
.hero-inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.hero-text { max-width: 560px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  letter-spacing: -.01em;
  margin-bottom: .4em;
}
.hero .lead { font-size: 1.12rem; color: var(--on-dark-soft); max-width: 50ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 88vh; }
  .hero-bg { object-position: 22% center; }
  .hero::after { background: linear-gradient(180deg, rgba(14, 15, 18, .35) 0%, rgba(14, 15, 18, .8) 50%, rgba(14, 15, 18, .97) 100%); }
  .hero-inner { justify-content: flex-start; }
  .hero-actions .btn { width: 100%; }
}

/* Destaques */
.highlights { background: var(--dark-2); color: var(--on-dark); border-top: 1px solid var(--dark-line); }
.highlights-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 auto;
  list-style: none;
}
.highlights-list li { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px; }
.highlights-list li + li { border-left: 1px solid var(--dark-line); }
.highlights-list .icon { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.highlights-list strong { display: block; font-weight: 600; }
.highlights-list span { font-size: .88rem; color: var(--on-dark-soft); line-height: 1.45; }

@media (max-width: 900px) {
  .highlights-list { grid-template-columns: 1fr 1fr; }
  .highlights-list li:nth-child(3) { border-left: 0; }
  .highlights-list li:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 520px) {
  .highlights-list { grid-template-columns: 1fr; }
  .highlights-list li + li { border-left: 0; border-top: 1px solid var(--dark-line); }
  .highlights-list li { padding: 18px 20px; }
}

/* Seções */
.section { padding: 96px 0; }
.section-soft { background: var(--paper); }
/* Duas seções brancas seguidas: linha fina para separar */
.section:not(.section-dark) + .section:not(.section-dark) { border-top: 1px solid var(--line); }
.section-dark { background: var(--dark); color: var(--on-dark); }
@media (max-width: 760px) { .section { padding: 64px 0; } }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2, .about h2, .contact h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.section-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; }
.section-dark .section-head p:last-child { color: var(--on-dark-soft); }

/* Cartões de atuação com imagem */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 980px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .areas { grid-template-columns: minmax(0, 1fr); } }

.area-card {
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(14, 15, 18, .45);
  transition: transform .25s, box-shadow .25s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 26px 50px -26px rgba(14, 15, 18, .55); }
.area-img {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 2;
  padding: 20px 22px;
  background: var(--dark);
  overflow: hidden;
}
.area-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.area-card:hover .area-img img { transform: scale(1.04); }
.area-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 15, 18, 0) 35%, rgba(14, 15, 18, .88) 100%); }
.area-img.is-empty { background: radial-gradient(110% 90% at 85% 0%, rgba(201, 162, 74, .22), transparent 55%), linear-gradient(160deg, #1d1f25, var(--dark)); }
.area-img.is-empty::after { display: none; }
.area-icon { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; color: var(--gold); opacity: .9; stroke-width: 1.4; }
.area-img h3 { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--on-dark); }
.area-img h3::before { content: ""; display: block; width: 36px; height: 2px; margin-bottom: 12px; background: var(--gold); }
.area-body { padding: 18px 22px 20px; }
.area-resumo { margin: 0 0 10px; font-size: .92rem; color: var(--ink-soft); }
.area-mais summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--gold-strong);
  cursor: pointer;
  list-style: none;
}
.area-mais summary::-webkit-details-marker { display: none; }
.area-mais summary .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.area-mais[open] summary .icon { transform: rotate(90deg); }
.area-mais ul { margin: 14px 0 16px; padding: 0; list-style: none; }
.area-mais li { position: relative; padding: 5px 0 5px 18px; font-size: .93rem; color: var(--ink-soft); }
.area-mais li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--gold-strong); }
.area-whatsapp { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--whatsapp-hover); text-decoration: none; }
.area-whatsapp:hover { text-decoration: underline; }
.area-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  padding: 32px 28px;
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1px var(--dark-line);
}
.area-card-cta:hover { transform: none; box-shadow: inset 0 0 0 1px var(--gold-strong); }
.area-card-cta h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.area-card-cta h3::before { content: ""; display: block; width: 36px; height: 2px; margin-bottom: 14px; background: var(--gold); }
.area-card-cta p { color: var(--on-dark-soft); }

/* Situações */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 980px) { .situations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .situations { grid-template-columns: 1fr; } }
.situation { padding: 30px 28px; background: var(--dark); }
.situation h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-soft); }
.situation p { color: var(--on-dark-soft); font-size: .95rem; margin: 0; }
.situations-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid var(--gold-strong);
  border-radius: var(--radius);
}
.situations-cta p { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }

/* Etapas */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 28px 0 0; border-top: 2px solid var(--line); counter-increment: step; }
.section-dark .steps li { border-top-color: var(--dark-line); }
.section-dark .steps p { color: var(--on-dark-soft); }
.section-dark .steps li::before { color: var(--gold); }
.section-dark .link-arrow { color: var(--gold); }
.post-card { color: var(--ink); }
.section-dark .post-card { border-color: var(--dark-line); }
.section-dark .post-card .link-arrow { color: var(--gold-strong); }
.steps li::before {
  content: "0" counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  padding-top: 8px;
  border-top: 2px solid var(--gold);
  width: 56px;
  font: 600 .85rem var(--sans);
  letter-spacing: .1em;
  color: var(--gold-strong);
}
.steps h3 { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; margin-top: 12px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Escritório */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } }
.about-text p { color: var(--ink-soft); }
.checks { margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-weight: 500; }
.checks .icon { color: var(--gold-strong); }

/* Perguntas */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--gold-strong); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.contact-info > p { color: var(--on-dark-soft); }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list a { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--dark-line); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-list .icon { width: 22px; height: 22px; color: var(--gold); }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }

.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
@media (max-width: 520px) { .contact-form { padding: 22px 18px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-strong); box-shadow: 0 0 0 3px rgba(201, 162, 74, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; font-size: .82rem; color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold-strong); flex: none; }
.consent.is-invalid { color: var(--danger); }
.recaptcha { margin-bottom: 18px; min-height: 78px; }
.form-status { margin: 14px 0 0; font-size: .95rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* Rodapé */
.site-footer { background: #08090b; color: var(--on-dark-soft); padding: 48px 0 28px; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--dark-line); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 10px; }
.footer-brand p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a, .link-button { color: var(--on-dark-soft); text-decoration: none; }
.footer-links a:hover, .link-button:hover { color: var(--gold-soft); }
.link-button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  color: var(--on-dark);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-legal { margin: 20px auto 0; font-size: .8rem; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
  transition: transform .2s, background-color .2s;
}
.whatsapp-float:hover { background: var(--whatsapp-hover); transform: scale(1.05); }
.whatsapp-float .icon { width: 30px; height: 30px; }

/* Aviso de cookies */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--dark-2);
  color: var(--on-dark);
  font-size: .9rem;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; flex: 1 1 380px; color: var(--on-dark-soft); }
.consent-banner a { color: var(--gold-soft); }
.consent-actions { display: flex; gap: 10px; }
body.has-consent-banner .whatsapp-float { bottom: 150px; }
@media (max-width: 640px) {
  body.has-consent-banner .whatsapp-float { display: none; }
}

/* Plantão no topo */
.hero-plantao { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: .95rem; color: var(--on-dark-soft); }
.hero-plantao .icon { color: var(--gold); }
.hero-plantao a { color: var(--on-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-strong); }

.site-nav .nav-cliente { display: inline-flex; align-items: center; gap: 6px; }
.site-nav .nav-cliente .icon { width: 1.05em; height: 1.05em; color: var(--gold); }

/* Espaços reservados para fotos */
.photo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(201, 162, 74, .18), transparent 60%),
    linear-gradient(160deg, #1b1d23, var(--dark));
}
.photo-slot img { width: 96px; height: auto; opacity: .85; }
.photo-slot .photo-slot-logo { width: min(60%, 320px); opacity: .9; }

/* O advogado */
.lawyer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .lawyer { grid-template-columns: 1fr; gap: 36px; } }
.lawyer-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark); box-shadow: 0 30px 60px -30px rgba(14, 15, 18, .55); }
.lawyer-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.lawyer-photo.is-landscape > img { object-position: center; }
.lawyer { align-items: center; }
.lawyer-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(14, 15, 18, .92));
  color: var(--on-dark-soft);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lawyer-photo figcaption strong { display: block; font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0; text-transform: none; color: var(--on-dark); font-weight: 600; }
.lawyer-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.lawyer-text p { color: var(--ink-soft); }

.video-box { margin-top: 28px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--dark); }
.video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }
.video-lite { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--dark); cursor: pointer; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s; }
.video-lite:hover img { opacity: .9; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.video-play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video-label { position: absolute; left: 18px; bottom: 14px; color: #fff; font-weight: 600; font-size: .9rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

/* Foto e galeria do escritório */
.office-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark); box-shadow: 0 30px 60px -30px rgba(14, 15, 18, .5); }
.office-photo > img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: var(--paper-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }

/* Artigos */
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold-strong); text-decoration: none; }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.post-card:hover { border-color: var(--gold); box-shadow: 0 10px 30px -18px rgba(22, 24, 29, .35); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card-img { aspect-ratio: 16 / 9; background: var(--dark); overflow: hidden; }
.post-card-img > img { width: 100%; height: 100%; object-fit: cover; }
.post-card-img.is-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #1b1d23, var(--dark)); }
.post-card-img.is-empty img { width: 72px; height: auto; opacity: .8; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.post-card-body h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.post-card-body p { color: var(--ink-soft); font-size: .95rem; }
.post-card-body .link-arrow { margin-top: auto; }
.post-meta { margin: 0 0 8px; font-size: .78rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-strong) !important; font-weight: 600; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tabs a { padding: 8px 16px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--on-dark-soft); text-decoration: none; font-size: .9rem; }
.tabs a:hover { border-color: var(--gold); color: var(--on-dark); }
.tabs a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 600; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.pagination a[aria-current="page"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.empty-state { padding: 48px 0; text-align: center; color: var(--ink-soft); font-size: 1.1rem; }

/* Páginas internas */
.page-hero { padding: calc(var(--header-h) + 56px) 0 48px; background: var(--dark); color: var(--on-dark); }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin: 0; }
.page-hero p { color: var(--on-dark-soft); margin: 10px 0 0; }
.page-hero .eyebrow { margin-bottom: .75rem; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.article-hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.article-meta { font-size: .92rem; }
.article-body { padding-top: 48px; padding-bottom: 80px; }
.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 36px; }
.article-body .video-box { margin: 0 0 36px; }
.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
}
.article-cta p { margin: 0; flex: 1 1 280px; }
.article-disclaimer { margin-top: 20px; font-size: .85rem; color: var(--ink-soft); }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.prose { font-size: 1.06rem; line-height: 1.75; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; margin: 1.8em 0 .5em; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 1.5em 0 .4em; }
.prose p, .prose li { color: #33373f; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--gold-strong); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.prose img { border-radius: 8px; margin: 1.5em 0; }
.prose-page { padding-top: 56px; padding-bottom: 80px; }
.prose-page h2 { font-size: 1.5rem; }

/* Assistente de atendimento (antes do WhatsApp) */
.assistente {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 36px));
  height: min(620px, calc(100vh - 36px));
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(14, 15, 18, .08);
  overflow: hidden;
  animation: ast-entrar .25s ease-out;
}
.assistente[hidden] { display: none; }
@keyframes ast-entrar { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body.assistente-aberto .whatsapp-float, body.assistente-aberto .consent-banner { display: none; }
@media (max-width: 520px) {
  .assistente { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
}
.ast-topo { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--dark); color: var(--on-dark); }
.ast-avatar { width: 42px; height: 42px; padding: 6px; border-radius: 50%; background: #1d1f25; box-shadow: 0 0 0 1px var(--gold-strong); }
.ast-titulos { flex: 1; min-width: 0; line-height: 1.3; }
.ast-titulos strong { display: block; font-size: .98rem; }
.ast-titulos span { font-size: .78rem; color: var(--on-dark-soft); }
.ast-titulos span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #3ccf6e; vertical-align: 1px; }
.ast-fechar { display: inline-flex; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--on-dark); cursor: pointer; }
.ast-fechar:hover { background: #23252c; }
.ast-direto { padding: 9px 16px; border: 0; border-bottom: 1px solid #e4e0d6; background: #f6f4ef; color: var(--whatsapp-hover); font: 600 .84rem var(--sans); text-align: left; cursor: pointer; }
.ast-direto:hover { background: #ece8de; }
.ast-corpo { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; overflow-y: auto; background: #f4f1ea; }
.ast-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-line; }
.ast-bot { align-self: flex-start; background: var(--paper); color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(14, 15, 18, .08); }
.ast-eu { align-self: flex-end; background: var(--dark); color: var(--on-dark); border-bottom-right-radius: 4px; }
.ast-digitando { display: inline-flex; gap: 4px; padding: 14px 16px; }
.ast-digitando span { width: 7px; height: 7px; border-radius: 50%; background: #b9b4a8; animation: ast-pulo 1s infinite; }
.ast-digitando span:nth-child(2) { animation-delay: .15s; }
.ast-digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes ast-pulo { 0%, 60%, 100% { transform: none; opacity: .6; } 30% { transform: translateY(-4px); opacity: 1; } }
.ast-rodape { padding: 12px 14px 14px; border-top: 1px solid #e4e0d6; background: var(--paper); }
.ast-rodape:empty { display: none; }
.ast-opcoes { display: flex; flex-direction: column; gap: 8px; }
.ast-opcao {
  padding: 11px 14px;
  border: 1px solid var(--gold-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: 500 .92rem var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.ast-opcao:hover, .ast-opcao:focus-visible { background: var(--gold); color: var(--dark); }
.ast-entrada { display: flex; gap: 8px; }
.ast-entrada input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #cfcabd; border-radius: 10px; font: inherit; }
.ast-entrada input:focus { outline: none; border-color: var(--gold-strong); box-shadow: 0 0 0 3px rgba(201, 162, 74, .25); }
.ast-enviar { display: inline-flex; align-items: center; justify-content: center; width: 46px; border: 0; border-radius: 10px; background: var(--dark); color: var(--gold); cursor: pointer; }
.ast-enviar .icon { width: 20px; height: 20px; }
.ast-erro { margin: 6px 0 0; font-size: .82rem; color: var(--danger); }
.ast-erro:empty { display: none; }
.ast-aviso { margin: 8px 0 0; font-size: .76rem; color: var(--ink-soft); }
.ast-aviso a { color: var(--gold-strong); }
.ast-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.ast-whatsapp:hover { background: var(--whatsapp-hover); }

/* Vídeo de apresentação (acima de Áreas de atuação) */
.video-section { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .video-section { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.video-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.video-text p { color: var(--on-dark-soft); font-size: 1.05rem; margin-bottom: 1.6rem; }
.section-video .video-box { margin: 0; border: 1px solid var(--dark-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.video-vazio {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(90% 90% at 50% 0%, rgba(201, 162, 74, .18), transparent 60%), linear-gradient(160deg, #1d1f25, #0b0c0f);
}
.video-vazio > img { width: min(46%, 300px); opacity: .35; }
.video-vazio .video-play { opacity: .9; }