/* ============================================================
   LIMA RANGEL ADVOGADOS — limarangel.com.br
   Design system: azul-marinho profundo + dourado champanhe + off-white
   Tipografia: Cormorant Garamond (display) + Manrope (texto)
   ============================================================ */

:root {
  --navy-950: #060D18;
  --navy-900: #0A1424;
  --navy-850: #0D1A2E;
  --navy-800: #112138;
  --navy-700: #18304E;
  --gold: #C6A14F;
  --gold-light: #E2C783;
  --gold-faint: rgba(198, 161, 79, 0.28);
  --cream: #F7F3EB;
  --paper: #FDFBF7;
  --ink: #161D29;
  --muted: #5D6675;
  --muted-light: #9AA6B8;
  --line: rgba(22, 29, 41, 0.12);
  --line-dark: rgba(247, 243, 235, 0.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 48px rgba(6, 13, 24, 0.10);
  --shadow-deep: 0 24px 64px rgba(6, 13, 24, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--gold); color: var(--navy-950); }

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 880px; }
.section { padding: clamp(76px, 10vw, 132px) 0; }
.section--dark { background: var(--navy-900); color: var(--cream); }
.section--cream { background: var(--cream); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.display-xl { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.display-lg { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.display-md { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.display-sm { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

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

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }
.section--dark .lead { color: var(--muted-light); }
.gold { color: var(--gold); }
.italic { font-style: italic; }

/* ---------- Botões (sóbrios, sem apelo comercial) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-2px); }
.btn--solid { background: var(--gold); color: var(--navy-950); }
.btn--solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--dark { border-color: var(--navy-900); color: var(--navy-900); }
.btn--dark:hover { background: var(--navy-900); color: var(--cream); }
.btn svg { width: 15px; height: 15px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 6px;
  position: relative;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-line:hover::after { transform: scaleX(0.35); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 26px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* Nota: sem backdrop-filter aqui — ele criaria um containing block
   e prenderia o menu mobile (position: fixed) dentro do header. */
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(6, 13, 24, 0.97);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* Logotipo tipográfico */
.logo { display: flex; align-items: center; gap: 14px; color: var(--cream); }
.logo-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.logo:hover .logo-mark { background: var(--gold); color: var(--navy-950); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.logo-text small {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav > li { position: relative; }
.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.82);
  transition: color 0.3s;
  padding: 8px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
/* Sublinhado fino que desliza — hover minimalista */
.main-nav > li > a { position: relative; }
.main-nav > li > a:not(.nav-lang)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.main-nav > li > a:not(.nav-lang):hover::after,
.main-nav > li > a.active:not(.nav-lang)::after { transform: scaleX(1); transform-origin: left; }
.nav-lang {
  border: 1px solid var(--line-dark);
  padding: 7px 14px !important;
  color: var(--gold) !important;
}

/* Dropdown áreas */
.has-drop > a::after { content: " ▾"; font-size: 0.6rem; opacity: 0.7; }
.drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 12px);
  min-width: 280px;
  background: var(--navy-850);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--gold);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  box-shadow: var(--shadow-deep);
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.drop a {
  display: block;
  padding: 11px 26px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.drop a:hover { background: rgba(198, 161, 79, 0.08); }

/* Mobile nav */
.nav-toggle { display: none; z-index: 110; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19.5px; }
.nav-toggle::after { top: 26px; }
body.nav-open .nav-toggle::before { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span { opacity: 0; }
body.nav-open .nav-toggle::after { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--navy-950);
    transform: translateY(-100%);
    transition: transform 0.55s var(--ease);
    z-index: 105;
  }
  body.nav-open .main-nav { transform: translateY(0); }
  .main-nav a { font-size: 1rem; }
  .drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 6px 0 0;
    text-align: center;
    display: none;
  }
  .has-drop:hover .drop { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  color: var(--cream);
  overflow: hidden;
  padding: 160px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 920px; height: 920px;
  top: -340px; right: -260px;
  background: radial-gradient(circle, rgba(198, 161, 79, 0.09) 0%, transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(247,243,235,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,243,235,0.015) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(ellipse 75% 65% at 60% 35%, black, transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { margin: 30px 0 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}
.hero-meta div small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 6px;
}
.hero-meta div strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-light);
}

/* Hero entrance */
.hero [data-hero] { opacity: 0; transform: translateY(34px); animation: heroIn 1.1s var(--ease) forwards; }
.hero [data-hero="1"] { animation-delay: 0.1s; }
.hero [data-hero="2"] { animation-delay: 0.25s; }
.hero [data-hero="3"] { animation-delay: 0.4s; }
.hero [data-hero="4"] { animation-delay: 0.55s; }
.hero [data-hero="5"] { animation-delay: 0.75s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Page hero (páginas internas) */
.page-hero {
  background: var(--navy-950);
  color: var(--cream);
  padding: 190px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(198, 161, 79, 0.12) 0%, transparent 62%);
}
/* Marca-d'água jurídica nos heros internos */
.page-hero::after {
  content: "§";
  position: absolute;
  right: 3%;
  bottom: -14%;
  font-family: var(--serif);
  font-size: clamp(220px, 28vw, 420px);
  line-height: 1;
  color: var(--gold);
  opacity: 0.045;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-900);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted-light);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee span::after { content: "§"; font-style: normal; font-family: var(--serif); font-size: 0.85rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split (sobre) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- Placeholder de foto ---------- */
.ph {
  position: relative;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border: 1px dashed var(--gold-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
  color: var(--muted-light);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(198, 161, 79, 0.14);
  pointer-events: none;
}
.ph svg { width: 38px; height: 38px; stroke: var(--gold); opacity: 0.65; }
.ph small {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.8;
  max-width: 34ch;
}
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 8; }
.ph--frame { box-shadow: var(--shadow-deep); }
.ph--frame::after {
  content: "";
  position: absolute;
  top: 26px; left: 26px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold-faint);
  z-index: -1;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.stat {
  background: var(--navy-900);
  padding: clamp(30px, 4vw, 52px) clamp(22px, 3vw, 40px);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 12px;
}
.stat span { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Cards de áreas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (max-width: 980px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .areas-grid { grid-template-columns: 1fr; } }

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(30px, 3.4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.area-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: transparent; }
.area-card:hover::before { transform: scaleX(1); }
.area-card .num {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
}
.area-card h3 { font-size: 1.45rem; }
.area-card p { font-size: 0.94rem; color: var(--muted); flex-grow: 1; }
.area-card .link-line { font-size: 0.7rem; }
.area-card--featured { background: var(--navy-900); color: var(--cream); border-color: var(--navy-900); }
.area-card--featured p { color: var(--muted-light); }

/* ---------- Faixa de nicho (galpão lonado) ---------- */
.niche-band {
  background: linear-gradient(120deg, var(--navy-950) 30%, var(--navy-800));
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.niche-band::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -200px;
  width: 560px; height: 560px;
  border: 1px solid var(--gold-faint);
  border-radius: 50%;
}
.niche-band .container { position: relative; z-index: 2; }

/* ---------- Diferenciais ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 52px);
  margin-top: clamp(44px, 5vw, 72px);
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { padding-top: 26px; border-top: 1px solid var(--line-dark); }
.section--cream .feat, .section--light .feat { border-top-color: var(--line); }
.feat i {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.feat h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feat p { font-size: 0.92rem; color: var(--muted-light); }
.section--cream .feat p { color: var(--muted); }

/* ---------- Listas com marcador dourado ---------- */
.gold-list { display: grid; gap: 14px; margin: 26px 0; }
.gold-list li {
  position: relative;
  padding-left: 34px;
  font-size: 0.98rem;
}
.gold-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.gold-list li strong { font-weight: 700; }

/* ---------- Depoimentos ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--navy-850);
  border: 1px solid var(--line-dark);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream);
}
.testimonial blockquote::before { content: "“"; color: var(--gold); font-size: 1.6em; line-height: 0; margin-right: 4px; }
.testimonial cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); margin-top: clamp(36px, 4vw, 56px); }
.section--dark .accordion { border-top-color: var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line); }
.section--dark .acc-item { border-bottom-color: var(--line-dark); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  transition: color 0.3s;
}
.acc-trigger:hover { color: var(--gold); }
.acc-trigger .acc-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--gold-faint);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.4s, transform 0.5s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}
.acc-icon::before { width: 12px; height: 1.5px; }
.acc-icon::after { width: 1.5px; height: 12px; }
.acc-item.open .acc-icon { transform: rotate(180deg); background: rgba(198,161,79,0.08); }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.acc-panel p {
  padding: 0 4px 30px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 0.97rem;
}
.section--dark .acc-panel p { color: var(--muted-light); }

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.post-card .ph { aspect-ratio: 16/9; border-left: none; border-right: none; border-top: none; }
.post-card-body { padding: 30px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.post-card .tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.post-card h3 { font-size: 1.35rem; line-height: 1.25; }
.post-card p { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }

/* ---------- Artigo (prose) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p { color: #2A3342; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.prose blockquote {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 28px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy-700);
}
.prose .note {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  padding: 22px 26px;
  font-size: 0.92rem;
}
.post-meta {
  display: flex;
  gap: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-top: 18px;
}

/* ---------- Formulário ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 30px; align-content: start; }
.contact-info .item small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}
.contact-info .item a, .contact-info .item span {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  transition: color 0.3s;
}
.contact-info .item a:hover { color: var(--gold-light); }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(247, 243, 235, 0.04);
  border: 1px solid var(--line-dark);
  padding: 15px 18px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--cream);
  transition: border-color 0.3s, background 0.3s;
}
.field select option { background: var(--navy-900); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(247, 243, 235, 0.07);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--muted-light); }
.form-note a { color: var(--gold); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-deep);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); background: var(--navy-800); }
.wa-float svg { width: 26px; height: 26px; fill: var(--gold); }
.wa-float::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- CTA institucional final ---------- */
.closing {
  text-align: center;
  background: var(--navy-950);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 760px; height: 760px;
  border: 1px solid rgba(198, 161, 79, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.closing::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px;
  border: 1px solid rgba(198, 161, 79, 0.2);
  border-radius: 50%;
  pointer-events: none;
}
.closing .container { position: relative; z-index: 2; }
.closing h2 { max-width: 22ch; margin: 0 auto 20px; }
.closing .lead { margin: 0 auto 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--muted-light);
  border-top: 1px solid var(--line-dark);
  padding: clamp(56px, 7vw, 88px) 0 0;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 56px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.site-footer ul { display: grid; gap: 11px; }
.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand p { margin-top: 18px; max-width: 36ch; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 26px 0;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Efeitos avançados (js/effects.js) ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 200;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lr-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.55;
  z-index: 300;
  pointer-events: none;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s, background 0.3s;
}
.lr-cursor-ring.is-active {
  width: 52px; height: 52px;
  margin: -8px 0 0 -8px;
  opacity: 0.9;
  background: rgba(198, 161, 79, 0.08);
}
@media (hover: none), (pointer: coarse) { .lr-cursor-ring { display: none; } }

/* ---------- Divisor ornamental (balança da justiça) ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  color: var(--gold);
}
.ornament span {
  width: clamp(48px, 8vw, 90px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.6;
}
.ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 28px; height: 28px; stroke: var(--gold); opacity: 0.9; }

/* Ícone pequeno dentro do eyebrow (ex.: balança no hero) */
.eyebrow svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }

/* ---------- Utilidades ---------- */
.mt-1 { margin-top: 14px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 48px; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
