/*
Theme Name: Modelo Advocacia KSG
Theme URI: https://ksgweb.com.br/
Author: KSG Web
Description: Template neutro e reutilizável para escritórios de advocacia.
Version: 1.0.0
Text Domain: modelo-advocacia-ksg
*/

:root {
  --ink: #10212b;
  --paper: #f7f4ee;
  --white: #fff;
  --gold: #b89452;
  --muted: #66747b;
  --line: #d9d3c7;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(16, 33, 43, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(16,33,43,.08); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; }
.brand-mark { width: 42px; height: 42px; border: 1px solid var(--gold); display: grid; place-items: center; border-radius: 50%; color: var(--gold); }
.nav { display: flex; gap: 24px; font-size: 14px; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; background: var(--gold); color: var(--white); font-weight: 750; border: 1px solid var(--gold); }
.button.secondary { background: transparent; color: var(--ink); border-color: rgba(16,33,43,.25); }
.hero { padding: 80px 0; background: linear-gradient(130deg, #f7f4ee 0%, #fff 52%, #e9edf0 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.1; margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 74px); margin-bottom: 24px; }
h2 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 18px; }
h3 { font-size: 24px; }
.lead { color: var(--muted); font-size: 19px; max-width: 650px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.placeholder { min-height: 360px; border: 2px dashed #a9afb1; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #edf0f1, #edf0f1 18px, #f7f8f8 18px, #f7f8f8 36px); display: grid; place-items: center; text-align: center; padding: 24px; color: #526068; }
.placeholder strong { display: block; font-size: 22px; color: var(--ink); }
.placeholder small { display: block; margin-top: 8px; }
.placeholder.portrait { min-height: 480px; }
.placeholder.card-image { min-height: 220px; border-radius: 14px; }
.placeholder.logo-placeholder { min-height: 100px; }
.placeholder.map { min-height: 300px; }
.section { padding: 92px 0; }
.section.alt { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); max-width: 560px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-number { color: var(--gold); font-weight: 900; letter-spacing: .1em; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 10px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.team-copy { padding: 22px; }
.team-copy p { color: var(--muted); margin-bottom: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.article-copy { padding: 24px; }
.article-copy span { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.cta { padding: 70px 0; background: var(--ink); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta p { color: #c9d0d4; max-width: 600px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-list { display: grid; gap: 18px; }
.contact-item { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-item small { color: var(--muted); display: block; }
.site-footer { padding: 44px 0; background: #09151c; color: #d7dde0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.notice { margin-top: 32px; padding: 18px; border: 1px solid #e4c985; border-radius: 12px; background: #fff9e9; color: #604c1d; font-size: 14px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards, .team, .article-grid { grid-template-columns: 1fr 1fr; }
  .section-heading, .cta-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .cards, .team, .article-grid { grid-template-columns: 1fr; }
  .hero, .section { padding: 64px 0; }
  .header-inner .button { display: none; }
}
