/* ==========================================================================
   Borges Advogados — Design System
   Paleta: verde profundo, verde secundário, dourado, off-white, grafite
   ========================================================================== */

:root {
  --green-900: #0b211f;
  --green-800: #102D2A;   /* verde profundo */
  --green-700: #173D38;   /* verde secundário */
  --green-600: #22504a;
  --gold: #B18A53;        /* dourado */
  --gold-light: #cdb084;
  --gold-soft: rgba(177, 138, 83, .14);
  --cream: #F7F5F0;       /* off-white */
  --cream-2: #EFEBE2;
  --ink: #292B29;         /* grafite */
  --ink-soft: #5b5e5a;
  --line: rgba(41, 43, 41, .12);
  --line-light: rgba(247, 245, 240, .14);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(11, 33, 31, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--gold); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--green-800);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9c7643; }
.btn-ghost { border-color: rgba(247,245,240,.4); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-dark { background: var(--green-800); color: var(--cream); }
.btn-dark:hover { background: var(--green-700); }
.btn-line { border-color: var(--green-800); color: var(--green-800); }
.btn-line:hover { background: var(--green-800); color: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.site-header.is-solid, .site-header.is-light-page {
  background: rgba(16, 45, 42, .96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line-light);
  padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--cream); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .26em; font-weight: 500; }
.brand-sub {
  font-size: .56rem; letter-spacing: .52em; text-transform: uppercase; color: var(--gold-light);
  margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(177,138,83,.5);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; color: rgba(247,245,240,.82);
  font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 0; transition: color .3s; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 12px 22px; }

.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px;
  color: var(--cream); position: relative; z-index: 120;
}
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .35s var(--ease), opacity .35s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110; background: var(--green-900);
    flex-direction: column; justify-content: center; gap: 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: center; gap: 22px; }
  .nav-links a { font-family: var(--serif); font-size: 1.9rem; letter-spacing: .02em; text-transform: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px);
  display: flex; align-items: center;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(177,138,83,.14), transparent 60%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--cream); overflow: hidden;
  padding: 140px 0 90px;
}
.hero::before { /* textura de linhas finas */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(247,245,240,.035) 0 1px, transparent 1px 160px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { color: var(--cream); margin-bottom: 28px; }
.hero .lead { color: rgba(247,245,240,.72); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 56px; padding-top: 30px;
  border-top: 1px solid var(--line-light);
  font-size: .8rem; color: rgba(247,245,240,.6); letter-spacing: .04em;
}
.hero-meta strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: 0; }

.hero-figure { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-figure .frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 240px 240px 2px 2px; box-shadow: var(--shadow);
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 30%; transform: scale(1.04); }
.hero-figure .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,33,31,.55));
}
.hero-figure::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid rgba(177,138,83,.55); border-radius: 240px 240px 2px 2px; pointer-events: none;
}
.hero-card {
  position: absolute; left: -44px; bottom: 40px; z-index: 2;
  background: var(--cream); color: var(--ink); padding: 20px 24px; max-width: 250px;
  box-shadow: var(--shadow); border-left: 2px solid var(--gold);
}
.hero-card small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.hero-card strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--green-800); line-height: 1.2; display: block; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateX(-50%) scaleY(0); transform-origin: top; } 50% { transform: translateX(-50%) scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .hero { padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: center; width: min(86%, 380px); margin-top: 20px; }
  .hero-card { left: -20px; bottom: 24px; }
  .scroll-cue { display: none; }
}

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative; color: var(--cream); overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(177,138,83,.16), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  padding: 190px 0 100px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(247,245,240,.035) 0 1px, transparent 1px 160px);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--cream); max-width: 18ch; font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.page-hero .lead { color: rgba(247,245,240,.72); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,245,240,.55); margin-bottom: 30px; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Secções ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }
.section-dark { background: var(--green-800); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .lead, .section-dark p { color: rgba(247,245,240,.72); }
.section-alt { background: var(--cream-2); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Faixa de credenciais ---------- */
.credentials { background: var(--green-900); color: var(--cream); border-top: 1px solid var(--line-light); }
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credential { padding: 34px 28px; border-left: 1px solid var(--line-light); display: flex; gap: 18px; align-items: flex-start; }
.credential:first-child { border-left: 0; padding-left: 0; }
.credential svg { width: 28px; height: 28px; color: var(--gold); flex: none; margin-top: 4px; }
.credential strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.credential span { font-size: .82rem; color: rgba(247,245,240,.6); }
@media (max-width: 960px) {
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .credential:nth-child(3) { border-left: 0; padding-left: 0; }
  .credential { border-top: 1px solid var(--line-light); }
  .credential:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 560px) {
  .credentials-grid { grid-template-columns: 1fr; }
  .credential { border-left: 0; padding-left: 0; }
  .credential:nth-child(2) { border-top: 1px solid var(--line-light); }
}

/* ---------- Editorial (sobre) ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.editorial-media { position: relative; }
.editorial-media .img-main { aspect-ratio: 4 / 5; overflow: hidden; }
.editorial-media .img-main img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.editorial-media .img-accent {
  position: absolute; right: -40px; bottom: -50px; width: 46%; aspect-ratio: 1;
  border: 10px solid var(--cream); overflow: hidden; box-shadow: var(--shadow);
}
.section-alt .editorial-media .img-accent { border-color: var(--cream-2); }
.editorial-media .img-accent img { width: 100%; height: 100%; object-fit: cover; }
.editorial-media .badge {
  position: absolute; left: -26px; top: 40px; background: var(--green-800); color: var(--cream);
  padding: 22px 24px; text-align: center; box-shadow: var(--shadow);
}
.editorial-media .badge strong { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-light); font-weight: 500; }
.editorial-media .badge span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; }
.editorial-body .quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.4;
  color: var(--green-700); border-left: 2px solid var(--gold); padding-left: 24px; margin: 30px 0;
}
.check-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px;
  background: var(--gold); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='10.5'/%3E%3Cpath d='m7.5 12.2 3 3 6-6.4'/%3E%3C/svg%3E");
}
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial-media { max-width: 520px; margin-right: 30px; }
  .editorial-media .img-accent { right: -30px; }
  .editorial-media .badge { left: -10px; }
}

/* ---------- Cards de áreas ---------- */
.featured-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-light); }
.feature-card {
  position: relative; background: var(--green-800); padding: 48px 40px 44px; min-height: 420px;
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: background .5s var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  opacity: 0; transition: opacity .5s var(--ease);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .num { font-family: var(--serif); font-size: .95rem; color: var(--gold); letter-spacing: .14em; }
.feature-card svg.icon { width: 46px; height: 46px; color: var(--gold); margin: 36px 0 28px; stroke-width: 1.1; }
.feature-card h3 { color: var(--cream); font-size: 1.9rem; }
.feature-card p { color: rgba(247,245,240,.66); font-size: .95rem; flex: 1; }
.feature-card .link-arrow { margin-top: 18px; }
.feature-card .tag {
  position: absolute; top: 44px; right: 40px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid rgba(177,138,83,.45); padding: 5px 10px;
}
@media (max-width: 980px) { .featured-areas { grid-template-columns: 1fr; } .feature-card { min-height: 0; } }

.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area-card {
  position: relative; padding: 34px 30px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; min-height: 210px; background: transparent;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.area-card svg { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.2; margin-bottom: 12px; }
.area-card h3 { font-size: 1.4rem; margin: 0; transition: color .4s; }
.area-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; flex: 1; transition: color .4s; }
.area-card .arrow { position: absolute; top: 30px; right: 26px; width: 18px; height: 18px; color: var(--gold); opacity: 0; transform: translate(-6px, 6px); transition: all .4s var(--ease); }
.area-card:hover { background: var(--green-800); }
.area-card:hover h3 { color: var(--cream); }
.area-card:hover p { color: rgba(247,245,240,.66); }
.area-card:hover .arrow { opacity: 1; transform: none; }
@media (max-width: 1080px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .areas-grid { grid-template-columns: 1fr; } .area-card { min-height: 0; } }

/* ---------- Perfil ---------- */
.profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.profile-photo { position: relative; }
.profile-photo .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.profile-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.profile-photo::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold); z-index: -1;
}
.profile-photo { z-index: 0; }
.profile-name { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--cream); line-height: 1.05; margin: 0 0 8px; }
.profile-role { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 30px; display: block; }
.timeline { list-style: none; padding: 0; margin: 36px 0 40px; border-left: 1px solid rgba(177,138,83,.4); }
.timeline li { position: relative; padding: 0 0 24px 30px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--green-800); }
.timeline strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--gold-light); display: block; line-height: 1.2; }
.timeline span { color: rgba(247,245,240,.72); font-size: .95rem; }
.section:not(.section-dark) .timeline span { color: var(--ink-soft); }
.section:not(.section-dark) .timeline strong { color: var(--gold); }
.section:not(.section-dark) .timeline li::before { box-shadow: 0 0 0 5px var(--cream); }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 440px; margin-right: 24px; } }

/* ---------- Diferenciais ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px); }
.value { padding-top: 30px; border-top: 1px solid var(--line); position: relative; }
.value::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--gold); transition: width .6s var(--ease); }
.value:hover::before { width: 100%; }
.value svg { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.2; margin-bottom: 22px; }
.value h3 { font-size: 1.45rem; }
.value p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; counter-reset: step; }
.step { background: var(--green-700); padding: 40px 32px; counter-increment: step; position: relative; }
.step::before { content: "0" counter(step); font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); display: block; margin-bottom: 26px; }
.step h3 { font-size: 1.4rem; color: var(--cream); }
.step p { font-size: .9rem; margin: 0; color: rgba(247,245,240,.66); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Artigos ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post-card { display: flex; flex-direction: column; background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-800); position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .thumb.placeholder { display: grid; place-items: center; background: linear-gradient(150deg, var(--green-700), var(--green-900)); }
.post-card .thumb.placeholder svg { width: 64px; height: 64px; color: var(--gold); opacity: .8; stroke-width: 1; }
.post-card .body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 14px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.post-meta span + span::before { content: "·"; margin-right: 14px; color: var(--ink-soft); }
.post-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.post-card p { font-size: .92rem; color: var(--ink-soft); flex: 1; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Artigo individual ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-cover { margin: -60px auto 60px; max-width: 980px; aspect-ratio: 16 / 9; overflow: hidden; box-shadow: var(--shadow); position: relative; z-index: 2; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article p { font-size: 1.08rem; }
.article h2 { font-size: 2rem; margin-top: 1.4em; }
.article .source { margin-top: 40px; padding: 22px 26px; background: var(--cream-2); border-left: 2px solid var(--gold); font-size: .9rem; color: var(--ink-soft); }

/* ---------- Prose (páginas de conteúdo) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--green-700); border-bottom: 1px solid var(--gold); }

.split { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.aside-card { position: sticky; top: 110px; background: var(--green-800); color: var(--cream); padding: 40px 36px; }
.aside-card h3 { color: var(--cream); }
.aside-card p { color: rgba(247,245,240,.7); font-size: .94rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line-light); }
.aside-list a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: .9rem; color: rgba(247,245,240,.78); transition: color .3s, padding .3s; }
.aside-list a:hover { color: var(--gold-light); padding-left: 6px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .aside-card { position: static; } }

.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; list-style: none; padding: 0; margin: 24px 0; }
.service-list li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: .96rem; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 14px; height: 1px; background: var(--gold); }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; color: var(--green-800); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-right: 50px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--cream); text-align: center;
  background: linear-gradient(rgba(11,33,31,.86), rgba(11,33,31,.92)), url("../img/justica.webp") center / cover;
  padding: clamp(90px, 11vw, 140px) 0;
}
.cta-band h2 { color: var(--cream); max-width: 20ch; margin: 0 auto 22px; }
.cta-band .lead { color: rgba(247,245,240,.72); margin: 0 auto 40px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-item svg { width: 24px; height: 24px; color: var(--gold); flex: none; margin-top: 3px; stroke-width: 1.3; }
.contact-item small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.contact-item a:hover { color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; color: var(--ink-soft); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Formulários ---------- */
.form-card { background: #fff; padding: clamp(32px, 4vw, 52px); box-shadow: 0 30px 60px -40px rgba(11,33,31,.3); }
.form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); font-size: .94rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 30px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; }
.field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-800); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--cream); border: 1px solid transparent; border-bottom-color: var(--line);
  padding: 14px 16px; border-radius: var(--radius); transition: border-color .3s, background .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--gold); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #b4483c; }
.field .error { display: none; font-size: .78rem; color: #b4483c; margin-top: 6px; }
.field.invalid .error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-800); flex: none; }
.consent a { color: var(--green-700); border-bottom: 1px solid var(--gold); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { display: none; margin-top: 20px; padding: 16px 20px; font-size: .92rem; border-left: 2px solid var(--gold); background: var(--gold-soft); }
.form-status.show { display: block; }
.form-status.error { border-color: #b4483c; background: rgba(180,72,60,.08); }

.dropzone {
  position: relative; border: 1px dashed rgba(177,138,83,.7); background: var(--cream);
  padding: 40px 24px; text-align: center; transition: background .3s, border-color .3s;
}
.dropzone.drag { background: var(--gold-soft); border-color: var(--gold); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 14px; stroke-width: 1.2; }
.dropzone strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--green-800); font-weight: 500; }
.dropzone span { font-size: .84rem; color: var(--ink-soft); }
.file-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--cream); font-size: .86rem; }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { background: none; border: 0; color: #b4483c; font-size: 1.2rem; line-height: 1; padding: 0 4px; }

.secure-note { display: flex; gap: 16px; padding: 22px 24px; background: var(--green-800); color: rgba(247,245,240,.8); font-size: .88rem; margin-top: 28px; }
.secure-note svg { width: 26px; height: 26px; color: var(--gold); flex: none; stroke-width: 1.3; }

/* ---------- Mapa ---------- */
.map { position: relative; aspect-ratio: 21 / 8; background: var(--green-800); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--cream); padding: 24px;
  background: radial-gradient(600px 300px at 50% 50%, rgba(177,138,83,.15), transparent), repeating-linear-gradient(45deg, rgba(247,245,240,.03) 0 1px, transparent 1px 22px), var(--green-800); }
.map-consent svg { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 14px; stroke-width: 1.2; }
.map-consent p { color: rgba(247,245,240,.7); font-size: .9rem; max-width: 46ch; margin: 0 auto 22px; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 5; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(247,245,240,.68); padding: 100px 0 0; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 70px; }
.footer-top h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 24px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-top a { transition: color .3s; }
.footer-top a:hover { color: var(--gold-light); }
.footer-brand p { margin: 26px 0 0; max-width: 36ch; }
.footer-motto { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--cream); margin-top: 26px !important; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 26px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .78rem; color: rgba(247,245,240,.45); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #fff; box-shadow: 0 14px 30px -10px rgba(11,33,31,.6);
  transition: transform .35s var(--ease), background .35s;
}
.wa-float:hover { transform: translateY(-4px); background: #9c7643; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: 22px; bottom: 22px; z-index: 95; max-width: 420px;
  background: var(--cream); color: var(--ink); padding: 26px 28px; box-shadow: 0 30px 60px -20px rgba(11,33,31,.5);
  border-top: 2px solid var(--gold); font-size: .88rem;
  transform: translateY(130%); transition: transform .6s var(--ease);
}
.cookie-banner.show { transform: none; }
.cookie-banner h4 { font-size: 1.3rem; margin-bottom: 8px; }
.cookie-banner p { color: var(--ink-soft); margin-bottom: 18px; }
.cookie-banner a { color: var(--green-700); border-bottom: 1px solid var(--gold); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 18px; font-size: .68rem; }
@media (max-width: 560px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* utilitários */
.mt-0 { margin-top: 0; } .center { text-align: center; }
.divider-ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold); margin: 0 auto 26px; }
.divider-ornament::before, .divider-ornament::after { content: ""; width: 60px; height: 1px; background: currentColor; }
.divider-ornament svg { width: 14px; height: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ajustes ---------- */
.hero-grid > *, .editorial > *, .profile > *, .split > *, .contact-grid > *, .section-head > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.field label.consent { display: flex; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .86rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-name { font-size: 1.3rem; }
  .hero-card { left: -12px; }
}
