/* =========================================================
   GABRIEL VALÉRIO ADVOCACIA E CONSULTORIA JURÍDICA
   Sistema de design — clássico-heráldico
   ========================================================= */

/* ---------- 1. CUSTOM PROPERTIES ---------- */
:root {
  /* Paleta */
  --black: #0B0B0D;
  --gold: #C8A24A;
  --gold-soft: #D9B871;
  --gold-dark: #A88838;
  --ivory: #F5F1E8;
  --paper: #FAFAF7;
  --graphite: #1F1F22;
  --muted-light: rgba(245, 241, 232, 0.72);
  --muted-dark: rgba(31, 31, 34, 0.72);
  --gold-line: rgba(200, 162, 74, 0.28);

  /* Tipografia */
  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Geometria */
  --container: 1200px;
  --container-narrow: 820px;

  /* Escala de espaço */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: 0; background: none; color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- 3. TIPOGRAFIA ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
p { font-size: 1.0625rem; line-height: 1.75; }
.lead { font-size: 1.25rem; line-height: 1.65; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
strong, b { font-weight: 600; }
em { font-style: italic; }

/* ---------- 4. LAYOUT ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-3); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-3); }
section { padding: var(--s-7) 0; }
.section-dark { background: var(--black); color: var(--ivory); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--ivory); }
.section-light { background: var(--ivory); color: var(--graphite); }
.section-paper { background: var(--paper); color: var(--graphite); }

/* ---------- 5. ORNAMENTO ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin: var(--s-4) auto;
  max-width: 320px;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.ornament span { color: var(--gold); font-size: 0.875rem; }

/* Divisor entre seções com fundo de mesma cor */
.section-divider {
  padding: 0 var(--s-3);
}
.section-divider--ivory { background: var(--ivory); padding-top: 0; padding-bottom: 0; }
.section-divider--dark { background: var(--black); padding-top: 0; padding-bottom: 0; }
.section-divider__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}
.section-divider__inner::before,
.section-divider__inner::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
}
.section-divider__inner span {
  color: var(--gold);
  font-size: 1.125rem;
  line-height: 1;
}
.section-divider__inner span.diamonds {
  letter-spacing: 0.4em;
  font-size: 0.875rem;
}

/* ---------- 6. BOTÕES ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-group { display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* ---------- 7. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--gold-line);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-2) var(--s-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: nowrap;
}
.site-logo { flex-shrink: 0; }
.site-logo img { height: 56px; width: auto; }
.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: nowrap;
  min-width: 0;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: nowrap;
}
.site-nav__list + .header-cta { margin-left: var(--s-2); }
.site-nav__list > li > a, .site-nav__list > li > button {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: var(--s-2) 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-nav__list > li > a:hover, .site-nav__list > li > button:hover { color: var(--gold); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > button::after {
  content: '▾';
  font-size: 0.75rem;
  color: var(--gold);
  margin-left: 2px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--black);
  border: 1px solid var(--gold-line);
  padding: var(--s-3);
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: var(--s-3) var(--s-4);
  min-width: 540px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.dropdown--single { grid-template-columns: 1fr; min-width: 240px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown__group h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-1);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold-line);
}
.dropdown__group ul { display: flex; flex-direction: column; gap: 6px; }
.dropdown__group a {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ivory);
  padding: 4px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.dropdown__group a:hover { color: var(--gold); padding-left: 4px; }
.dropdown__group a.external::after { content: ' ↗'; color: var(--gold); }

/* CTA do header */
.header-cta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-cta:hover { background: var(--gold); color: var(--black); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 24px; height: 1.5px;
  background: var(--gold);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- 8. HERO ---------- */
.hero {
  background: var(--black);
  color: var(--ivory);
  padding: var(--s-8) 0 var(--s-7);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero h1 { color: var(--ivory); margin: var(--s-2) auto var(--s-3); max-width: 920px; }
.hero p { color: var(--muted-light); max-width: 720px; margin: 0 auto var(--s-5); font-size: 1.1875rem; }

/* Selos de credenciais — em vez de linha de texto pequena, badges com borda dourada */
.hero__credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem 0.75rem;
  margin-top: var(--s-5);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.hero__credentials .badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--gold-line);
  background: rgba(200, 162, 74, 0.04);
  transition: border-color 0.25s, background 0.25s;
}
.hero__credentials .badge:hover { border-color: var(--gold); background: rgba(200, 162, 74, 0.1); }
.hero__credentials .badge strong { color: var(--gold); font-weight: 700; margin-right: 0.35em; }

/* Watermark logo no fundo do hero */
.hero--with-watermark .hero__watermark {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/logo-transparent.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(90vh, 780px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  filter: sepia(0.2) hue-rotate(-10deg) saturate(1.05);
}
.hero__content { position: relative; z-index: 1; width: 100%; }
.btn-group--center { justify-content: center; }

/* ---------- 9. SEÇÕES DE CONTEÚDO ---------- */
.prose { max-width: var(--container-narrow); margin: 0 auto; }
.prose h2 { margin-bottom: var(--s-3); }
.prose h3 { margin: var(--s-4) 0 var(--s-2); }
.prose p { margin-bottom: var(--s-2); text-align: justify; hyphens: auto; }
.prose.text-center p, .prose .text-center p, .prose p.text-center { text-align: center; }
/* Helper genérico de centralização — aplica em qualquer bloco com .text-center */
.text-center { text-align: center; }
.text-center h1, .text-center h2, .text-center h3, .text-center p, .text-center .eyebrow { text-align: center; }
.prose p + p { margin-top: 0; }
.prose blockquote {
  margin: var(--s-4) 0;
  padding: var(--s-2) var(--s-3);
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--muted-dark);
}
.section-dark .prose blockquote { color: var(--muted-light); }

/* Cards */
.cards-3, .cards-4 {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  border: 1px solid var(--gold-line);
  padding: var(--s-5) var(--s-3);
  background: rgba(200, 162, 74, 0.04);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.section-light .card { background: var(--paper); }
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
/* Diamante INLINE com o título — sem quebra de linha entre eles */
.card h3 {
  margin: 0 0 var(--s-2);
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}
.card h3::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.85em;
  flex-shrink: 0;
}
.card__symbol { display: none; } /* legado — substituído pelo ::before */
.card p { text-align: justify; hyphens: auto; }

/* Lista com losango */
.list-diamond { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); }
.list-diamond li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.list-diamond li::before {
  content: '◆';
  position: absolute;
  left: 0; top: 2px;
  color: var(--gold);
  font-size: 0.875rem;
}
.disclaimer {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--gold-line);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted-dark);
  max-width: 720px;
}
.section-dark .disclaimer { color: var(--muted-light); }

/* Áreas grid (home) */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.area-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-4);
  border: 1px solid rgba(200, 162, 74, 0.3);
  background: var(--paper);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.area-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11, 11, 13, 0.08);
  background: #FBF7EE;
}
.area-card:hover::before { transform: scaleX(1); }
.area-card__icon {
  width: 42px; height: 42px;
  color: var(--gold);
  margin-bottom: var(--s-2);
  display: block;
  flex-shrink: 0;
}
.area-card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { color: var(--graphite); margin-bottom: var(--s-1); font-size: 1.25rem; }
.area-card p { font-size: 1rem; color: var(--muted-dark); margin-bottom: var(--s-2); flex-grow: 1; }
.area-card .arrow {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  transition: letter-spacing 0.25s, color 0.25s;
}
.area-card:hover .arrow { letter-spacing: 0.22em; }

/* Bloco bio */
.bio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s-5);
  align-items: start;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.bio__photo {
  aspect-ratio: 1;
  background: var(--graphite);
  border: 1px solid var(--gold-line);
  filter: grayscale(100%) contrast(1.05);
}
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.bio h2 { margin-bottom: var(--s-3); }
.bio p { margin-bottom: var(--s-2); }

/* ---------- O ESCRITÓRIO (layout rico) ---------- */
.escritorio {
  max-width: 880px;
  margin: var(--s-5) auto 0;
}

.escritorio__lead {
  font-size: 1.1875rem;
  line-height: 1.75;
  margin-bottom: var(--s-5);
  text-align: justify;
  hyphens: auto;
}

/* Parágrafos do escritório: texto justificado e respiração entre eles */
.escritorio p { text-align: justify; margin-bottom: var(--s-3); hyphens: auto; }
.escritorio p:last-child { margin-bottom: 0; }
.escritorio p.escritorio__intro--small { text-align: center; margin-top: var(--s-5); margin-bottom: var(--s-3); }
.dropcap {
  font-family: var(--font-display);
  float: left;
  font-size: 4.5rem;
  line-height: 0.85;
  padding: 0.08em 0.18em 0 0;
  color: var(--gold);
  font-weight: 500;
}

.pullquote {
  margin: var(--s-5) auto;
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid #C8A24A;
  border-bottom: 1px solid #C8A24A;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  color: #000000 !important; /* PRETO — cores hex hardcoded + !important pra bypassar qualquer override/cache */
  font-style: normal;
  letter-spacing: 0.015em;
  line-height: 1.5;
  background: linear-gradient(180deg, transparent, rgba(200,162,74,0.05), transparent);
  max-width: 760px;
}
.pullquote strong { color: #A88838 !important; font-weight: 600; }
.section-dark .pullquote { color: #F5F1E8 !important; }
.section-dark .pullquote strong { color: #C8A24A !important; }

.escritorio__intro {
  font-size: 1.0625rem;
  margin: var(--s-4) 0 var(--s-3);
}
.escritorio__intro--small {
  text-align: center;
  margin-top: var(--s-5);
  margin-bottom: var(--s-3);
  color: var(--muted-light);
  font-style: italic;
}

.nucleos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-2);
  margin: var(--s-3) 0 var(--s-4);
  list-style: none;
  padding: 0;
}
.nucleos li {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
  border: 1px solid var(--gold-line);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(200,162,74,0.04);
  transition: border-color 0.2s, background 0.2s;
}
.nucleos li::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.75em;
  flex-shrink: 0;
}
.nucleos li:hover { border-color: var(--gold); background: rgba(200,162,74,0.08); }

.compromissos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.compromisso {
  padding: var(--s-3) var(--s-2);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  text-align: center;
}
.compromisso__icon {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.compromisso strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--ivory);
  display: block;
  margin-bottom: 4px;
}
.compromisso span {
  color: var(--muted-light);
  font-size: 0.8125rem;
  font-style: italic;
  display: block;
}

/* ---------- CONHEÇA O FUNDADOR ---------- */
.founder {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--s-6);
  align-items: center;
  margin-top: var(--s-5);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.founder__photo {
  margin: 0;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: var(--graphite);
}
.founder__photo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--gold);
  pointer-events: none;
  transform: translate(8px, 8px);
  z-index: -1;
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.4s;
}
.founder__photo:hover img { filter: grayscale(0%) contrast(1); }
.founder__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--graphite);
  margin: 0 0 var(--s-1);
}
.founder__credentials {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--gold-line);
}
.founder__bio p { margin-bottom: var(--s-2); }

@media (max-width: 800px) {
  .founder { grid-template-columns: 1fr; gap: var(--s-4); max-width: 480px; }
  .founder__photo { max-width: 320px; margin: 0 auto; }
  .founder__photo::before { display: none; }
}

/* Números destacados */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-5) var(--s-4);
  text-align: center;
  margin-top: var(--s-5);
}
.stats--6 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 900px) {
  .stats--6 { grid-template-columns: repeat(3, 1fr); }
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--gold);
  display: block;
  line-height: 1.1;
  margin-bottom: var(--s-2);
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* ---------- AVALIAÇÕES ---------- */
.reviews-wrapper {
  position: relative;
  margin-top: var(--s-5);
}
.reviews-wrapper::before,
.reviews-wrapper::after {
  content: '';
  position: absolute;
  top: var(--s-3); bottom: var(--s-4);
  width: 60px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s;
}
.reviews-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--ivory), transparent);
  opacity: 0;
}
.reviews-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--ivory), transparent);
  opacity: 1;
}
.reviews-wrapper.is-scrolled-end::after { opacity: 0; }
.reviews-wrapper.is-scrolled-start::before { opacity: 1; }
.reviews-nav {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.reviews-nav button {
  width: 44px; height: 44px;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reviews-nav button:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.reviews-nav button:disabled { opacity: 0.35; cursor: not-allowed; background: transparent; color: var(--gold); border-color: var(--gold-line); }
.reviews-scroller {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding: var(--s-3) 0 var(--s-4);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.reviews-scroller::-webkit-scrollbar { height: 6px; }
.reviews-scroller::-webkit-scrollbar-track { background: rgba(200,162,74,0.1); }
.reviews-scroller::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.review-card__stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 1.125rem;
}
.review-card__text {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--graphite);
  flex-grow: 1;
}
.review-card__author {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--graphite);
  padding-top: var(--s-2);
  border-top: 1px solid var(--gold-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-card__author span {
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* Artigos em fundo escuro */
.areas-grid--dark .area-card { background: rgba(200,162,74,0.04); border-color: var(--gold-line); }
.areas-grid--dark .area-card h3 { color: var(--ivory); }
.areas-grid--dark .area-card p { color: var(--muted-light); }

/* ---------- 10. FAQ ---------- */
.faq { max-width: var(--container-narrow); margin: var(--s-5) auto 0; }
.faq__item { border-top: 1px solid var(--gold-line); }
.faq__item:last-child { border-bottom: 1px solid var(--gold-line); }
.faq__question {
  width: 100%;
  text-align: left;
  padding: var(--s-3) 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  transition: color 0.2s;
}
.faq__question:hover { color: var(--gold); }
.faq__icon {
  color: var(--gold);
  font-size: 1.25rem;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq__item[aria-expanded='true'] .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__item[aria-expanded='true'] .faq__answer { max-height: 1200px; }
.faq__answer-inner { padding: 0 0 var(--s-3); font-size: 1.0625rem; line-height: 1.75; }

/* ---------- 11. CTA FINAL ---------- */
.cta-block {
  text-align: center;
  padding: var(--s-7) 0;
}
.cta-block h2 { margin-bottom: var(--s-3); max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-block p { color: var(--muted-light); max-width: 600px; margin: 0 auto var(--s-4); }
.cta-block .btn-group { justify-content: center; }

/* ---------- 12. FOOTER ---------- */
.site-footer { background: var(--black); color: var(--ivory); padding: var(--s-7) 0 var(--s-4); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-5) var(--s-4);
  margin-bottom: var(--s-5);
}
.footer-brand img { he
/* ============================================
   AJUSTES ESPECÍFICOS RENAJUD.COM.BR
   ============================================ */

/* Header: garantir alinhamento vertical entre logo e menu */
.site-header__inner {
  align-items: center !important;
  min-height: 76px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  height: 60px;
  flex-shrink: 0;
}
.site-logo img {
  height: 60px;
  width: auto;
  display: block;
}
.site-nav {
  align-items: center !important;
}
.site-nav__list {
  align-items: center !important;
}

/* Hero renajud variant: garantir contraste forte sobre watermark */
.hero--renajud .hero__content {
  position: relative;
  z-index: 2;
}

/* Footer reorganizado para renajud.com.br - brand centralizado em cima */
.site-footer .footer-brand {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--gold-line);
}
.site-footer .footer-brand img {
  display: block;
  margin: 0 auto var(--s-2);
}
.site-footer .footer-brand p {
  text-align: center;
}
.site-footer .footer-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer .footer-grid ul { align-items: center; }
}

/* ============================================
   FOOTER v2 — Override completo via flexbox
   Logo centralizada no topo, 3 colunas de links embaixo
   ============================================ */
.site-footer .footer-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  grid-template-columns: none !important;
}
.site-footer .footer-brand {
  width: 100% !important;
  max-width: 720px !important;
  text-align: center !important;
  padding-bottom: var(--s-4) !important;
  margin-bottom: var(--s-4) !important;
  border-bottom: 1px solid var(--gold-line) !important;
  grid-column: auto !important;
}
.site-footer .footer-brand img {
  display: block !important;
  margin: 0 auto var(--s-3) !important;
  height: 110px !important;
  width: auto !important;
}
.site-footer .footer-brand p {
  text-align: center !important;
  max-width: 640px;
  margin: 0 auto;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.site-footer__cols > div {
  text-align: center;
}
.site-footer__cols ul {
  align-items: center;
}
@media (max-width: 760px) {
  .site-footer__cols { grid-template-columns: 1fr; gap: var(--s-3); }
}
