/* ═══════════════════════════════════════════════════
   12º TABELIÃO DE NOTAS DA COMARCA DA CAPITAL
   FOLHA DE ESTILOS GLOBAL
   Paleta: dark mode · vermelho · ouro · azul
   Fonte principal: Poiret One + Inter
════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS (importar via HTML <link> para melhor performance) ── */

:root {
  --bg-dark:    #0d0d0d;
  --bg-card:    #141414;
  --bg-section: #111111;
  --border:     #2a2a2a;
  --red:        #c0392b;
  --red-light:  #e74c3c;
  --gold:       #d4a017;
  --blue:       #1a73e8;
  --blue-light: #4da3ff;
  --text-main:  #f0f0f0;
  --text-muted: #888888;
  --text-light: #cccccc;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --max-width:  1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
h1,h2,h3,h4,h5 { font-family: 'Poiret One', cursive; letter-spacing: 0.04em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── UTILS ── */
.section-title { font-size: clamp(1.6rem,3vw,2.4rem); color: var(--gold); margin-bottom: 8px; }
.section-subtitle { color: var(--text-muted); font-size: .95rem; margin-bottom: 40px; }
.divider { width: 60px; height: 3px; background: var(--red); margin: 12px 0 24px; border-radius: 2px; }

/* ── BOTÕES ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .15s; cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold); padding: 12px 26px;
  border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  transition: all .2s; cursor: pointer;
}
.btn-outline:hover { background: var(--gold); color: #000; transform: translateY(-2px); }

.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-blue:hover { background: #1557b0; transform: translateY(-2px); }

/* ── HEADER ── */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,13,13,.97); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--max-width); margin: 0 auto;
}
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-area img { height: 64px; width: auto; object-fit: contain; }
.logo-text-block { line-height: 1.25; }
.logo-text-block .cartorio-nome { font-family:'Poiret One',cursive; font-size:1.05rem; color:var(--gold); letter-spacing:.06em; }
.logo-text-block .cartorio-sub { font-size:.72rem; color:var(--text-muted); letter-spacing:.04em; }
.header-info { display:flex; gap:24px; font-size:.82rem; color:var(--text-muted); }
.header-info span { display:flex; align-items:center; gap:6px; }
.header-info strong { color:var(--text-light); }

/* ── NAV ── */
nav.main-nav { background:#0a0a0a; border-top:1px solid var(--border); }
.nav-inner {
  max-width:var(--max-width); margin:0 auto; padding:0 24px;
  display:flex; align-items:center;
}
.nav-inner a {
  padding:14px 18px; font-size:.85rem; font-weight:500;
  color:var(--text-muted); transition:color .2s, border-bottom .2s;
  border-bottom:3px solid transparent; white-space:nowrap;
}
.nav-inner a:hover, .nav-inner a.active { color:var(--gold); border-bottom-color:var(--gold); }
.nav-inner .nav-cta {
  margin-left:auto; background:var(--red); color:#fff;
  padding:8px 18px; border-radius:var(--radius); font-size:.82rem;
  font-weight:600; border-bottom:none;
}
.nav-inner .nav-cta:hover { background:var(--red-light); border-bottom:none; }

/* ── PAGE HERO (páginas internas) ── */
.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg,#0d0d0d 0%,#1a1212 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .breadcrumb {
  font-size:.78rem; color:var(--text-muted); margin-bottom:16px;
}
.page-hero .breadcrumb a { color:var(--text-muted); }
.page-hero .breadcrumb a:hover { color:var(--gold); }
.page-hero h1 { font-size:clamp(1.8rem,4vw,2.8rem); color:#fff; margin-bottom:10px; }
.page-hero h1 span { color:var(--gold); }
.page-hero p { font-size:.95rem; color:var(--text-muted); max-width:600px; margin:0 auto; }

/* ── FORMULÁRIO ── */
.form-wrap {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:12px; padding:36px;
}
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:.82rem; color:var(--text-muted); margin-bottom:6px; font-weight:500; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; background:#0d0d0d; border:1px solid var(--border);
  border-radius:var(--radius); padding:12px 16px; color:var(--text-main);
  font-size:.88rem; font-family:'Inter',sans-serif; transition:border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline:none; border-color:var(--gold); }
.form-group select option { background:#141414; }
.form-group textarea { resize:vertical; min-height:110px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note { font-size:.72rem; color:var(--text-muted); margin-top:10px; text-align:center; }

/* ── CARD DE SERVIÇO ── */
.servico-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:28px 24px;
  transition:border-color .2s, transform .15s, box-shadow .2s;
}
.servico-card:hover { border-color:var(--red); transform:translateY(-4px); box-shadow:var(--shadow); }
.servico-card .servico-icon { font-size:2rem; margin-bottom:14px; }
.servico-card h3 { font-family:'Poiret One',cursive; font-size:1.1rem; color:var(--gold); margin-bottom:8px; }
.servico-card p { font-size:.85rem; color:var(--text-muted); line-height:1.6; margin-bottom:16px; }
.servico-card a { font-size:.82rem; color:var(--red-light); font-weight:600; display:flex; align-items:center; gap:4px; }
.servico-card a:hover { color:var(--gold); }

/* ── WHATSAPP FLUTUANTE ── */
.whatsapp-float {
  position:fixed; bottom:28px; right:28px; z-index:9999;
  background:#25d366; color:#fff; border-radius:50px;
  padding:14px 22px; display:flex; align-items:center; gap:10px;
  font-weight:700; font-size:.9rem;
  box-shadow:0 6px 24px rgba(37,211,102,.35);
  transition:transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform:scale(1.05); box-shadow:0 8px 32px rgba(37,211,102,.5); }
.whatsapp-float svg { width:24px; height:24px; fill:#fff; }

/* ── FOOTER ── */
footer { background:#080808; border-top:1px solid var(--border); padding:60px 0 30px; }
.footer-grid {
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:40px; margin-bottom:40px;
}
.footer-col h4 { font-family:'Poiret One',cursive; font-size:.95rem; color:var(--gold); margin-bottom:16px; letter-spacing:.06em; }
.footer-col p, .footer-col li { font-size:.82rem; color:var(--text-muted); line-height:1.8; }
.footer-col ul { list-style:none; }
.footer-col ul li a { color:var(--text-muted); transition:color .2s; }
.footer-col ul li a:hover { color:var(--gold); }
.footer-logo img { height:56px; width:auto; margin-bottom:14px; }
.footer-bottom {
  border-top:1px solid var(--border); padding-top:20px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:.75rem; color:var(--text-muted); flex-wrap:wrap; gap:8px;
}
.footer-bottom a { color:var(--text-muted); }
.footer-bottom a:hover { color:var(--gold); }

/* ── RESPONSIVO ── */
@media (max-width:900px) {
  .footer-grid { grid-template-columns:1fr 1fr; }
  .form-row { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .header-info { display:none; }
  .footer-grid { grid-template-columns:1fr; }
  .nav-inner a { padding:12px 10px; font-size:.78rem; }
}
