/* ============================================================
   Estilo compartilhado das páginas internas (áreas de atuação)
   Advogado Adriano Amauri Carvalho
   ============================================================ */

:root {
  --navy: #14120e;
  --navy-2: #1c1913;
  --graphite: #26211a;
  --gold: #cfa64e;
  --gold-soft: #e3c579;
  --bronze: #a87e3f;
  --ink: #0a0908;
  --paper: #f5f2ec;
  --text-light: #e8ebf0;
  --text-muted: #a9b3c2;
  --text-dark: #2c3440;
  --text-dark-muted: #5b6470;
  --border-light: rgba(201, 162, 75, 0.28);
  --shadow: 0 18px 45px rgba(6, 5, 4,0.28);
  --radius: 6px;
  --max: 1160px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  color: #16202f;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.24);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 162, 75, 0.34); }
.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-light);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(16, 14, 10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  padding: 12px 0;
  border-bottom-color: var(--border-light);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; flex-direction: row; align-items: center; gap: 13px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border-light); box-shadow: 0 2px 10px rgba(0,0,0,0.45); flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.34rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
}
.brand .tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 0.86rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--gold-soft); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: 10px 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--gold-soft); transition: all 0.3s var(--ease); }

/* ---------- Hero da página interna ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  background:
    linear-gradient(120deg, rgba(10, 9, 8,0.94), rgba(16, 14, 10,0.82) 60%, rgba(30, 26, 20,0.7)),
    radial-gradient(circle at 82% 20%, rgba(201, 162, 75, 0.12), transparent 45%),
    var(--ink);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,75,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,75,0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 75% 45%, black, transparent 72%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { color: var(--bronze); }
.breadcrumb .current { color: var(--gold-soft); }
.page-hero .hero-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,75,0.1);
  border: 1px solid var(--border-light);
  margin-bottom: 26px;
}
.page-hero .hero-icon svg { width: 32px; height: 32px; stroke: var(--gold-soft); fill: none; stroke-width: 1.4; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: #fff;
  max-width: 760px;
}
.page-hero .lead {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 20px;
}

/* ---------- Conteúdo ---------- */
.section-pad { padding: 84px 0; }

.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}

.prose h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: #fff;
  margin: 44px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); font-size: 1.03rem; margin-bottom: 18px; }
.prose strong { color: var(--text-light); font-weight: 500; }

.topic-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 8px 0 10px; }
.topic-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
  font-size: 1rem;
}
.topic-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,75,0.14);
}
.topic-list li strong { color: var(--text-light); font-weight: 600; }

/* Sub-cards de tópicos */
.subcards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0 8px; }
.subcard {
  background: linear-gradient(165deg, var(--navy-2), var(--graphite));
  border: 1px solid rgba(201,162,75,0.14);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.subcard h3 { font-size: 1.28rem; color: #fff; margin-bottom: 8px; }
.subcard p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* Aside / caixa de contato */
.aside-card {
  background: linear-gradient(165deg, var(--navy-2), var(--graphite));
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: sticky;
  top: 96px;
}
.aside-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.aside-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }
.aside-card .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.aside-contact { list-style: none; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 14px; }
.aside-contact li { font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 12px; align-items: flex-start; }
.aside-contact svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--gold-soft); fill: none; stroke-width: 1.5; margin-top: 2px; }
.aside-contact a:hover { color: var(--gold-soft); }

/* Bloco de ênfase — Tribunal do Júri */
.juri-block {
  position: relative;
  margin: 46px 0 10px;
  padding: 34px 32px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(207,166,78,0.09), rgba(10,9,8,0.3)), var(--navy-2);
  overflow: hidden;
}
.juri-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(var(--gold), transparent);
}
.juri-badge {
  display: inline-flex; align-items: center;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-soft);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 5px 13px;
  margin-bottom: 16px;
}
.juri-block h2 { margin-top: 0 !important; margin-bottom: 16px !important; }
.juri-block .topic-list { margin: 20px 0; }
.juri-link { font-size: 0.86rem; color: var(--gold-soft); font-weight: 500; }
.juri-link:hover { color: var(--gold); }
@media (max-width: 700px) { .juri-block { padding: 28px 22px; } }

/* Nota informativa (compliance / aviso sóbrio) */
.info-note {
  margin-top: 30px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(201,162,75,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Outras áreas */
.other-areas { background: var(--navy-2); border-top: 1px solid rgba(201,162,75,0.1); }
.other-areas .head { margin-bottom: 34px; }
.other-areas .head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: #fff; }
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border: 1px solid rgba(201,162,75,0.14);
  border-radius: var(--radius);
  background: var(--navy);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.other-link:hover { border-color: var(--border-light); transform: translateY(-3px); }
.other-link .oa-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #fff; }
.other-link .oa-sub { font-size: 0.86rem; color: var(--text-muted); margin-top: 3px; }
.other-link .arrow { color: var(--gold-soft); font-size: 1.3rem; transition: transform 0.3s var(--ease); }
.other-link:hover .arrow { transform: translateX(5px); }

/* CTA final */
.cta-band {
  background:
    linear-gradient(rgba(16,14,10,0.92), rgba(16,14,10,0.96)),
    radial-gradient(circle at 20% 30%, rgba(201,162,75,0.1), transparent 45%),
    var(--ink);
  border-top: 1px solid rgba(201,162,75,0.1);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 16px auto 30px; }
.cta-band .btn { margin: 0 8px 12px; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--text-muted);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(201,162,75,0.14);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-light); box-shadow: 0 3px 12px rgba(0,0,0,0.5); margin-bottom: 14px; display: block; }
.footer-brand .name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: #fff; }
.footer-brand .razao { font-size: 0.86rem; color: var(--text-muted); margin-top: 8px; }
.footer-brand .cnpj { font-size: 0.84rem; color: var(--text-muted); margin-top: 4px; }
.footer-col h5 {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.compliance { font-size: 0.78rem; color: var(--text-muted); line-height: 1.7; max-width: 860px; }
.copyright { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes waPulse {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,0.42), 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,0.42), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,0.42), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside-card { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(16, 14, 10,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 14px 24px; }
  .nav-links.open .btn { margin: 10px 24px; width: calc(100% - 48px); justify-content: center; }
  .section-pad { padding: 64px 0; }
  .page-hero { padding: 130px 0 56px; }
  .subcards, .other-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .container { padding: 0 18px; }
}
