:root {
  --bg: #0F2F3A;
  --bg-alt: #0C2731;
  --card: rgba(255,255,255,0.06);
  --card-strong: #143B49;
  --text: #ffffff;
  --muted: #dbe4ea;
  --muted-2: #a8bcc6;
  --accent: #F2B705;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 24px 60px rgba(0,0,0,.22);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(15,47,58,.90);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; color: rgba(255,255,255,.82); font-size: 15px; }
.nav a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 18px; padding: 14px 22px; font-weight: 700; font-size: 14px;
  transition: .2s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(242,183,5,.4); background: rgba(242,183,5,.1); color: var(--accent); }
.btn-ghost { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: #fff; }
.btn.full { width: 100%; }
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(242,183,5,.18), transparent 30%), radial-gradient(circle at left, rgba(255,255,255,.08), transparent 25%);
}
.hero-lineart { position: absolute; left: 0; right: 0; bottom: 0; opacity: .25; }
.hero-lineart svg { width: 100%; height: 240px; }
.hero-grid {
  position: relative; display: grid; gap: 64px; align-items: center;
  grid-template-columns: 1.15fr .85fr; padding: 92px 0 120px;
}
.eyebrow, .section-tag, .pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid rgba(242,183,5,.30); background: rgba(242,183,5,.10);
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 14px;
}
.hero h1, h2 { line-height: 1.08; letter-spacing: -.03em; margin: 22px 0 0; }
.hero h1 { font-size: clamp(40px, 5.3vw, 68px); max-width: 900px; }
h2 { font-size: clamp(32px, 4vw, 46px); max-width: 900px; }
.hero p, .section p, .section-intro { color: var(--muted); font-size: 18px; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.stat-card, .mini-card, .info-box, .card, .panel, .contact-item {
  border: 1px solid var(--border); background: var(--card); backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.stat-card { border-radius: 20px; padding: 18px; }
.stat-card span { display: block; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; }
.stat-card strong { display: block; margin-top: 8px; font-size: 18px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -20px; border-radius: 34px; background: rgba(242,183,5,.1); filter: blur(42px);
}
.hero-visual img {
  position: relative; border-radius: 34px; border: 1px solid var(--border);
  object-fit: cover; width: 100%; max-height: 760px; box-shadow: var(--shadow);
}
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gallery-3, .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-3 { margin-bottom: 56px; }
.gallery-3 img { height: 320px; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow); }
.about-grid, .brasilia-grid, .tribunal-grid, .publication-grid, .contact-grid {
  display: grid; gap: 40px; align-items: start;
}
.about-grid { grid-template-columns: 1.05fr .95fr; }
.panel { border-radius: 32px; padding: 30px; }
.stack { display: grid; gap: 16px; margin-top: 20px; }
.info-box, .contact-item { border-radius: 20px; padding: 18px; }
.info-box h3, .card h3 { margin: 0 0 10px; font-size: 20px; }
.info-box p, .card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.info-box.accent, .contact-item.accent { background: var(--card-strong); }
.cards-3 { margin-top: 36px; }
.card {
  border-radius: 28px; padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
}
.card.small { background: var(--card); }
.card .bar { width: 56px; height: 6px; border-radius: 999px; background: var(--accent); margin-bottom: 20px; }
.section-intro { max-width: 900px; }
.brasilia-grid, .tribunal-grid, .publication-grid, .contact-grid { grid-template-columns: .95fr 1.05fr; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips span, .panel-head .pill {
  border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: 10px 16px; color: #fff; font-size: 14px;
}
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
.brasilia-svg { width: 100%; }
.tribunal-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.cards-2.compact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.mini-card { border-radius: 20px; padding: 18px; color: #fff; font-size: 15px; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: block; transition: .2s ease; }
.contact-item:hover { background: rgba(255,255,255,.10); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.contact-form input, .contact-form textarea {
  width: 100%; border-radius: 18px; border: 1px solid var(--border); background: var(--bg-alt);
  color: #fff; padding: 14px 16px; font: inherit; outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #90a8b2; }
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 120;
  border-radius: 999px; background: var(--accent); color: var(--bg);
  border: 1px solid rgba(242,183,5,.4); box-shadow: var(--shadow);
  padding: 14px 20px; font-weight: 800; font-size: 14px;
}
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-alt);
  text-align: center; color: var(--muted-2); padding: 24px;
}
@media (max-width: 1080px) {
  .hero-grid, .about-grid, .brasilia-grid, .tribunal-grid, .publication-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-3, .cards-3, .stats { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .container { width: min(1200px, calc(100% - 32px)); }
  .section { padding: 72px 0; }
  .hero-grid { padding: 72px 0 96px; gap: 42px; }
  .cards-2.compact { grid-template-columns: 1fr; }
  .panel-head { flex-direction: column; align-items: flex-start; }
}
