@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* ============================================================
   PERAZZO ADVOGADOS — SISTEMA DE DESIGN
   Estética: sóbria e premium (grafite + dourado)
   ============================================================ */
:root {
  /* Tipografia */
  --font-titulo: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-corpo: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Acento dourado/bronze */
  --acento: #a67c52;
  --acento-hover: #8c6743;
  --acento-light: rgba(166, 124, 82, 0.10);

  /* Fundos (tema claro — off-white quente) */
  --bg-primary: #ffffff;
  --bg-secondary: #f6f3ee;
  --bg-tertiary: #ece6dd;

  /* Texto */
  --txt-primary: #1c1b1a;
  --txt-secondary: #55504a;
  --txt-muted: #8d8780;

  /* Bordas e cartões */
  --border: #e6e1d9;
  --card-bg: #ffffff;
  --card-hover: 0 22px 48px rgba(28, 27, 26, 0.10);
  --sombra: 0 8px 30px rgba(28, 27, 26, 0.06);

  /* Botões */
  --btn-primary-bg: #1c1b1a;
  --btn-primary-txt: #ffffff;
  --btn-primary-hover: #a67c52;
  --btn-outline-txt: #1c1b1a;
  --btn-outline-border: #cdc6ba;
  --btn-outline-hover-bg: #1c1b1a;
  --btn-outline-hover-txt: #ffffff;

  /* Inputs */
  --input-bg: #ffffff;
  --input-border: #d8d2c8;
  --input-txt: #1c1b1a;
  --input-placeholder: #a39d94;
  --input-focus: rgba(166, 124, 82, 0.16);

  /* Footer (sempre escuro premium) */
  --footer-bg: #100e0c;
  --footer-txt: rgba(255, 255, 255, 0.62);
  --footer-title: #ffffff;

  /* Header (sempre escuro / sobre hero) */
  --header-solid: rgba(18, 16, 14, 0.92);

  /* Geometria e movimento */
  --raio: 8px;
  --raio-med: 14px;
  --raio-lg: 22px;
  --trans: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --container-pad: 0;
}

[data-tema="escuro"] {
  --acento: #c9a96e;
  --acento-hover: #dcbd84;
  --acento-light: rgba(201, 169, 110, 0.12);

  --bg-primary: #14110f;
  --bg-secondary: #1b1714;
  --bg-tertiary: #241f1a;

  --txt-primary: #f4efe8;
  --txt-secondary: #bcb4a9;
  --txt-muted: #8d857a;

  --border: rgba(255, 255, 255, 0.09);
  --card-bg: #1b1714;
  --card-hover: 0 22px 48px rgba(0, 0, 0, 0.45);
  --sombra: 0 8px 30px rgba(0, 0, 0, 0.30);

  --btn-primary-bg: #c9a96e;
  --btn-primary-txt: #14110f;
  --btn-primary-hover: #dcbd84;
  --btn-outline-txt: #f4efe8;
  --btn-outline-border: rgba(255, 255, 255, 0.22);
  --btn-outline-hover-bg: #c9a96e;
  --btn-outline-hover-txt: #14110f;

  --input-bg: #211c18;
  --input-border: rgba(255, 255, 255, 0.14);
  --input-txt: #f4efe8;
  --input-placeholder: #8d857a;
  --input-focus: rgba(201, 169, 110, 0.20);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-corpo);
  font-size: 16px;
  line-height: 1.75;
  color: var(--txt-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 { color: var(--txt-primary); margin-top: 0; }

p { margin: 0 0 1.1rem; }

a { color: var(--acento); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--acento-hover); }

img { max-width: 100%; height: auto; vertical-align: middle; }

address { font-style: normal; line-height: 1.8; }

::selection { background: var(--acento); color: #fff; }

main { display: block; }

/* Imagens de conteúdo arredondadas (exceto hero, logos e ícones) */
.sec img,
main section img:not(.captcha):not([class*="logo"]) { border-radius: var(--raio-med); }
#painel-home img { border-radius: 0 !important; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Oculta o header ao rolar a página para baixo (revela ao subir) */
#header.header-hidden { transform: translateY(-100%); }
/* Estado sólido: sempre nas internas; na home apenas ao rolar */
body.interna #header,
#header.nav-scrolled {
  background: var(--header-solid);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topo {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  letter-spacing: 0.2px;
}
.topo b { color: #fff; font-weight: 600; }
.topo img { width: 16px; height: 16px; opacity: 0.85; margin-right: 2px; }
#header.nav-scrolled .topo { display: none; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  transition: padding 0.3s ease;
}
#header.nav-scrolled .header-inner { padding: 12px 0; }

.logo { display: inline-flex; align-items: center; }
.logo img {
  height: 56px; width: auto;
  transition: height 0.3s ease;
}
#header.nav-scrolled .logo img { height: 44px; }

.header-right { display: flex; align-items: center; gap: 8px; }

#menu ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
#menu ul li a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 15px;
  position: relative;
}
#menu ul li a svg { display: block; }
#menu ul li a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 1.5px;
  background: var(--acento);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
#menu ul li a:hover,
#menu ul li a.active { color: #fff; }
#menu ul li a:hover::after,
#menu ul li a.active::after { transform: scaleX(1); }

#menu ul li a.link-painel {
  background: var(--acento);
  color: #fff;
  border-radius: var(--raio);
  padding: 10px 20px;
  margin-left: 10px;
  letter-spacing: 1px;
}
#menu ul li a.link-painel::after { display: none; }
#menu ul li a.link-painel:hover { background: var(--acento-hover); }

/* ============================================================
   ANIMAÇÕES DE SCROLL (revelar)
   ============================================================ */
[data-animate] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-animate="left"]   { transform: translateX(-44px); }
[data-animate="right"]  { transform: translateX(44px); }
[data-animate="bottom"] { transform: translateY(44px); }
[data-animate="top"]    { transform: translateY(-30px); }
[data-animate="zoom"]   { transform: scale(0.95); }
[data-animate="fade"]   { transform: none; }
[data-animate].animate  { opacity: 1; transform: none; }

[data-delay="2"] { transition-delay: 0.08s; }
[data-delay="3"] { transition-delay: 0.16s; }
[data-delay="4"] { transition-delay: 0.24s; }
[data-delay="5"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   BOTÃO GENÉRICO (.btn — usado em formulários e CTAs antigos)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--acento);
  color: #fff;
  border: 1.5px solid transparent;
  border-radius: var(--raio);
  font-family: var(--font-corpo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  transition: var(--trans);
}
.btn:hover { background: var(--acento-hover); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 38px; font-size: 13px; }

/* ============================================================
   FAIXA CTA INTERNA (.banner_int)
   ============================================================ */
.banner_int {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.banner_int::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(16,14,12,0.86), rgba(16,14,12,0.72));
}
.banner_int .container { position: relative; z-index: 1; }
.banner_int .btn-2 { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.banner_int .btn-2:hover { background: #fff; color: #1c1b1a; border-color: #fff; }

/* ============================================================
   OFFSET DO HEADER FIXO (páginas internas)
   ============================================================ */
body.interna main { padding-top: 134px; }
@media (max-width: 1200px) { body.interna main { padding-top: 78px; } }

/* =========================================
   TOGGLE TEMA - FLOATING (abaixo do WhatsApp)
   ========================================= */
.btn-tema {
  position: fixed;
  right: 24px;
  bottom: 152px;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--bg-primary);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18), 0 0 0 1px var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
  flex-shrink: 0;
  color: var(--txt-primary);
  z-index: 999;
}
.btn-tema:hover {
  background: var(--acento);
  color: #fff;
  box-shadow: 0 6px 24px rgba(154,128,96,0.45);
  transform: translateY(-2px);
}
.btn-tema svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-sol { display: none; }
.icon-lua { display: block; }
[data-tema="escuro"] .icon-sol { display: block; }
[data-tema="escuro"] .icon-lua { display: none; }
[data-tema="escuro"] .btn-tema { background: var(--bg-secondary); color: var(--acento); }
@media(max-width: 768px) {
  .btn-tema { bottom: 144px; right: 16px; width: 44px; height: 44px; }
}

/* Menu hamburguer mobile */
.pull {
  width: 38px; height: 38px;
  display: none;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--raio);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 9px 8px;
}
.pull span {
  display: block; width: 100%; height: 1.5px;
  background: currentColor; color: inherit;
  transition: var(--trans);
}
#header.nav-scrolled .pull { background: var(--bg-secondary); border-color: var(--border); color: var(--txt-primary); }

@media(max-width: 1200px) {
  .pull { display: flex; color: #fff; }

  #menu {
    position: fixed;
    top: 0; left: -100%;
    width: 85%; max-width: 340px;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 5px 0 40px rgba(0,0,0,0.2);
    padding: 80px 0 40px;
  }
  #menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  #menu ul li a {
    color: var(--txt-primary) !important;
    font-size: 14px;
    padding: 16px 28px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.5px;
  }
  #menu ul li a::after { display: none; }
  #menu ul li a.link-painel {
    margin: 20px 28px 0;
    border-radius: var(--raio);
    border-bottom: none;
    text-align: center;
    padding: 14px 20px;
  }
  #menu-toggle:checked ~ .header-right #menu,
  #menu.aberto { left: 0; }

  .menu-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    backdrop-filter: blur(2px);
  }
  .menu-overlay.ativo { display: block; }
  .menu-fechar {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    background: var(--bg-secondary);
    border: none; border-radius: 50%;
    cursor: pointer; color: var(--txt-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
  }
}

@media(min-width: 1201px) {
  .menu-overlay, .menu-fechar { display: none !important; }
}

/* =========================================
   BOTÕES
   ========================================= */
.btn-1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-txt);
  border: none;
  border-radius: var(--raio);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 13px 28px;
  text-transform: uppercase;
  font-family: var(--font-corpo);
  cursor: pointer;
  transition: var(--trans);
}
.btn-1:hover {
  background: var(--btn-primary-hover);
  color: var(--btn-primary-txt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Botao WhatsApp (mesmo formato do .btn-1, em verde WhatsApp) */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: var(--raio);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 13px 28px;
  text-transform: uppercase;
  font-family: var(--font-corpo);
  cursor: pointer;
  transition: var(--trans);
  text-decoration: none;
}
.btn-whatsapp svg { flex: 0 0 auto; }
.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--btn-outline-txt);
  border: 1.5px solid var(--btn-outline-border);
  border-radius: var(--raio);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 26px;
  text-transform: uppercase;
  font-family: var(--font-corpo);
  cursor: pointer;
  transition: var(--trans);
}
.btn-2:hover {
  background: var(--btn-outline-hover-bg);
  color: var(--btn-outline-hover-txt);
  transform: translateY(-1px);
}

.btn-acento {
  background: var(--acento);
  color: #fff;
  border: none;
  border-radius: var(--raio);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 13px 28px;
  text-transform: uppercase;
  font-family: var(--font-corpo);
  cursor: pointer;
  transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-acento:hover { background: var(--acento-hover); color: #fff; transform: translateY(-1px); }

/* =========================================
   HERO / SLIDER
   ========================================= */
#painel-home {
  position: relative;
  overflow: hidden;
}
#painel-home img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100vh;
  max-height: 800px;
}
@media(max-width: 768px) {
  #painel-home img { height: 70vh; max-height: 600px; }
}

/* Setas do slider — circulares, empilhadas em coluna na borda direita */
#painel-home .slick-prev,
#painel-home .slick-next {
  left: auto !important;
  right: 26px !important;
  width: 48px !important;
  height: 48px !important;
  background: rgba(16, 14, 12, 0.4) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 50% !important;
  z-index: 6;
  transition: var(--trans);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
#painel-home .slick-prev { top: calc(50% - 30px) !important; }
#painel-home .slick-next { top: calc(50% + 30px) !important; }
#painel-home .slick-prev:hover,
#painel-home .slick-next:hover {
  background: var(--acento) !important;
  border-color: var(--acento) !important;
  transform: scale(1.06);
}
#painel-home .slick-prev:before,
#painel-home .slick-next:before {
  display: block !important;
  opacity: 1 !important;
  color: #fff !important;
  font-size: 24px;
  line-height: 1;
  font-family: Arial, sans-serif;
}
#painel-home .slick-prev:before { content: '\2039' !important; }
#painel-home .slick-next:before { content: '\203A' !important; }
@media (max-width: 768px) {
  #painel-home .slick-prev, #painel-home .slick-next { width: 40px !important; height: 40px !important; right: 14px !important; }
}

/* Estatísticas sobrepostas no rodapé das imagens do hero */
.hero-stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 90px 0 56px;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.88) 10%, rgba(12, 10, 9, 0.45) 55%, transparent 100%);
  pointer-events: none;
}
.hero-stats .hero-stat { text-align: center; }
.hero-stats .stat-num {
  font-family: var(--font-titulo);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.hero-stats .stat-num em { color: var(--acento); font-style: normal; }
.hero-stats .stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
#painel-home .slick-dots { bottom: 14px !important; }
@media (max-width: 768px) {
  .hero-stats { padding: 70px 0 40px; }
  .hero-stats .stat-num { font-size: 30px; }
  .hero-stats .stat-label { font-size: 10px; letter-spacing: 1px; }
}

.slick-next { background-position: -21px 0 !important; right: 5% !important; }
.slick-prev { background-position: 0 0; left: 5% !important; }
.carousel .slick-next { background-position: -21px -32px !important; right: -20px !important; }
.carousel .slick-prev { background-position: 0 -32px !important; left: -20px !important; }

#painel-home .slick-dots { bottom: 30px !important; }
.slick-dots li button:before { display: none; }
.slick-dots li button {
  width: 32px !important; height: 3px !important;
  border-radius: 2px !important;
  background: rgba(255,255,255,0.4) !important;
  border: none !important;
  transition: var(--trans) !important;
}
.slick-dots li.slick-active button { background: #fff !important; width: 48px !important; }
.carousel .slick-slide { padding: 0 10px; margin: 15px 0; }
.slick-next, .slick-prev { height: 28px !important; width: 18px !important; background-image: url(../img/icones/arrow.png) !important; }
.slick-next:before, .slick-prev:before { display: none !important; }

/* =========================================
   SEÇÃO LABEL
   ========================================= */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 14px;
}
.sec-label::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--acento);
}

/* =========================================
   TIPOGRAFIA SEÇÕES
   ========================================= */
.tit {
  font-family: var(--font-titulo);
  font-size: 36px;
  font-weight: 700;
  color: var(--txt-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.tit em { font-style: italic; color: var(--acento); }
.tit strong { color: var(--acento); }

@media(max-width: 768px) { .tit { font-size: 26px; } }

.subtt {
  font-family: var(--font-titulo);
  font-size: 22px;
  font-weight: 600;
  color: var(--txt-primary);
  margin-bottom: 12px;
}

.tt {
  font-size: 18px;
  font-family: var(--font-titulo);
  color: var(--txt-primary);
  margin-bottom: 10px;
}

/* =========================================
   SEÇÕES HOMEPAGE
   ========================================= */
.sec { padding: 96px 0; }
.sec-sm { padding: 64px 0; }
.bg-sec { background: var(--bg-secondary); }
.bg-dark-sec { background: var(--bg-tertiary); }

.home1 { background: var(--bg-primary); padding-top: 200px; }
.home2 { background: var(--bg-secondary); }

/* =========================================
   DIVISOR DECORATIVO
   ========================================= */
.divisor {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.divisor::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* =========================================
   CARDS
   ========================================= */
.card-exec {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--raio-med);
  padding: 32px 28px 40px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card-exec::before {
  content: '';
  position: absolute;
  top: 0; left: 28px;
  width: 40px; height: 3px;
  background: var(--acento);
  border-radius: 0 0 3px 3px;
  transition: var(--trans);
}
.card-exec:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-4px);
  border-color: var(--acento);
}
.card-exec:hover::before { width: calc(100% - 56px); }

.card-exec .card-icon {
  width: 52px; height: 52px;
  background: var(--acento-light);
  border-radius: var(--raio-med);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-exec .card-icon svg { width: 24px; height: 24px; stroke: var(--acento); fill: none; stroke-width: 1.5; }
.card-exec .tt { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--txt-primary); }
.card-exec p { font-size: 14px; color: var(--txt-secondary); margin: 0; }
.card-exec .btn-link {
  position: absolute; bottom: 24px; left: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--acento); text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.card-exec .btn-link::after {
  content: '→';
  transition: transform 0.2s ease;
}
.card-exec:hover .btn-link::after { transform: translateX(4px); }
/* "Saiba mais" sempre na cor de acento (dourado), nunca branco */
.btn-link {
  color: var(--acento);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-corpo);
}
.btn-link:hover { color: var(--acento-hover); }

/* =========================================
   BOXE (compatibilidade)
   ========================================= */
.boxe {
  border: 1px solid var(--border);
  padding: 30px 24px 50px;
  width: 100%;
  transition: var(--trans);
  position: relative;
  border-radius: var(--raio-med);
  background: var(--card-bg);
  height: 100%;
}
.boxe::before {
  content: '';
  width: 50px; left: 24px; top: 0; height: 4px;
  position: absolute;
  background: var(--acento);
  border-radius: 0 0 4px 4px;
  transition: var(--trans);
}
.boxe p { min-height: 80px; font-size: 14px; color: var(--txt-secondary); }
.boxe:hover { border-color: var(--acento); box-shadow: var(--card-hover); transform: translateY(-4px); }
.boxe:hover::before { width: 80%; }
.boxe .tt { min-height: 50px; font-size: 17px; color: var(--txt-primary); }
.boxe .btn { position: absolute; bottom: 20px; left: 24px; }

/* =========================================
   NÚMERO ESTATÍSTICA
   ========================================= */
.stat-num {
  font-family: var(--font-titulo);
  font-size: 52px;
  font-weight: 700;
  color: var(--acento);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--txt-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* =========================================
   CONTATO HOME
   ========================================= */
.contato_home {
  background: #0c0a0b;
  background-image: url(../img/contato_home.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.contato_home::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(12, 10, 11, 0.82);
}
.contato_home .container { position: relative; z-index: 1; }
.contato_home .tit { color: #fff; }
.contato_home p { color: rgba(255,255,255,0.75); }
.contato_home .tit strong { color: var(--acento); }

.telefone {
  font-family: var(--font-titulo);
  font-size: 30px;
  font-weight: 700;
  color: var(--txt-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.contato_home .telefone { color: #fff; }

/* =========================================
   FORMULÁRIO
   ========================================= */
.form-exec .form-group { margin-bottom: 12px; }

.form-exec .form-control,
#form .form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--raio);
  color: var(--input-txt);
  font-size: 14px;
  font-family: var(--font-corpo);
  transition: var(--trans);
  outline: none;
  -webkit-appearance: none;
}
.form-exec .form-control:focus,
#form .form-control:focus {
  border-color: var(--acento);
  box-shadow: 0 0 0 3px var(--input-focus);
}
.form-exec .form-control::placeholder,
#form .form-control::placeholder { color: var(--input-placeholder); }

/* Form sobre fundo escuro (contato_home) */
.form-dark .form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.form-dark .form-control:focus { border-color: var(--acento); background: rgba(255,255,255,0.12); }
.form-dark .form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-dark select.form-control option { background: #1a1618; color: #fff; }

.captcha {
  float: left;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  margin-right: 10px;
  padding: 6px 8px;
  border-radius: var(--raio);
}
#captcha { width: 160px; float: left !important; }
input#termos-privacidade { margin: 0 8px 0 0; width: 16px; height: 16px; accent-color: var(--acento); }

/* Submit */
.btn-submit {
  background: var(--acento);
  color: #fff;
  border: none;
  border-radius: var(--raio);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 14px 32px;
  text-transform: uppercase;
  font-family: var(--font-corpo);
  cursor: pointer;
  transition: var(--trans);
  width: 100%;
}
.btn-submit:hover { background: var(--acento-hover); transform: translateY(-1px); }

/* =========================================
   BANNERS INTERNOS
   ========================================= */
.bnr {
  height: 260px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.bnr::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);
}
.bnr-content {
  position: relative; z-index: 1;
  width: 100%; padding: 0 0 32px;
}
.bnr-content h1 {
  color: #fff;
  font-size: 36px;
  margin: 0 0 6px;
}
.bnr-content .breadcrumb-exec {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.bnr-content .breadcrumb-exec a { color: rgba(255,255,255,0.7); }
.bnr-content .breadcrumb-exec a:hover { color: var(--acento); }
.bnr-content .breadcrumb-exec span { color: var(--acento); }

@media(max-width: 768px) { .bnr { height: 180px; } .bnr-content h1 { font-size: 24px; } }

.bnr-sobrenos       { background-image: url(../img/topo/sobre-nos.jpg); }
.bnr-atuacao        { background-image: url(../img/topo/areas-de-atuacao.jpg); }
.bnr-atuacaodetalhe { background-image: url(../img/topo/atuacao.jpg); }
.bnr-localizacao    { background-image: url(../img/topo/localizacao.jpg); }
.bnr-politica       { background-image: url(../img/topo/politica-de-privacidade.jpg); }
.bnr-contato        { background-image: url(../img/topo/contato.jpg); }

/* =========================================
   PAGE HEADER (páginas internas)
   ========================================= */
.page-header {
  padding: 38px 0 30px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.page-header h1 {
  color: var(--txt-primary);
  font-size: 34px;
  font-weight: 700;
  padding: 0; margin: 0 0 4px;
  position: relative;
}
.page-header h1::after {
  content: '';
  display: block;
  width: 48px; height: 3px;
  background: var(--acento);
  border-radius: 2px;
  margin-top: 14px;
}

/* =========================================
   ZOOM / GALERIA
   ========================================= */
.zoom {
  display: block; text-align: center; width: 100%;
  overflow: hidden; position: relative;
  border-radius: var(--raio-med);
}
.zoom img { transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); width: 100%; vertical-align: middle; }
.zoom:hover img { transform: scale(1.06); }
.lupa::before {
  position: absolute; height: 100%; content: ''; width: 100%;
  background: rgba(26,22,24,0.45) url(../img/icones/zoom.png) no-repeat center;
  opacity: 0; transition: var(--trans); z-index: 1; left: 0;
}
.lupa:hover::before { opacity: 1; }

/* =========================================
   LISTA
   ========================================= */
.list { padding: 0; list-style: none; }
.list li { padding-left: 22px; margin-bottom: 10px; position: relative; color: var(--txt-secondary); font-size: 15px; }
.list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; position: absolute; left: 0; top: 8px; background: var(--acento); }

/* =========================================
   NOTÍCIAS
   ========================================= */
.noticia { border-bottom: 1px solid var(--border); margin-bottom: 30px; padding-bottom: 20px; }
.noticia h3 { color: var(--acento); font-size: 20px; }
.noticia time { color: var(--txt-muted); font-size: 13px; }
.pagination .active a.page-link { background: var(--acento); border-color: var(--acento); color: #fff; }
.pagination a.page-link { color: var(--acento); }
.btn-volta { background: var(--acento); color: #fff; border: none; border-radius: var(--raio); }
.btn-volta:hover { background: var(--acento-hover); color: #fff; }

/* =========================================
   FOOTER
   ========================================= */
#footer {
  background: var(--footer-bg);
  color: var(--footer-txt);
  padding: 64px 0 0;
}
.tt-footer {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 16px;
}
#footer address,
#footer p { color: var(--footer-txt); font-size: 14px; line-height: 1.8; }
#footer h5 { color: var(--footer-title); font-size: 16px; margin-bottom: 16px; }
#footer a { color: var(--footer-txt); }
#footer a:hover { color: var(--acento); }

#footer .btn_s {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--raio);
  width: 42px; height: 42px;
  padding: 0;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
#footer .btn_s:hover { background: var(--acento); border-color: var(--acento); }
#footer .btn_s svg { fill: var(--footer-txt); }
#footer .btn_s:hover svg { fill: #fff; }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 40px 0 0;
}
.rodape {
  padding: 18px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.rodape a { color: rgba(255,255,255,0.35); }
.rodape a:hover { color: var(--acento); }
.pratica img { height: 24px; opacity: 0.4; transition: var(--trans); }
.pratica img:hover { opacity: 0.8; }

/* =========================================
   BOTÕES FLUTUANTES
   ========================================= */
.ligue {
  position: fixed; right: 24px; bottom: 88px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #143b88;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(20,59,136,0.45);
  transition: var(--trans); z-index: 999;
}
.ligue:hover { background: #1a4ea8; transform: translateY(-2px); }
.ligue svg { width: 20px; height: 20px; fill: #fff; }

.wa {
  position: fixed; right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #0ba360;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(11,163,96,0.45);
  transition: var(--trans); z-index: 1000;
}
.wa:hover { background: #0d9e5b; transform: translateY(-2px); }
.wa img { max-width: 24px; }

.chat-text {
  font-family: var(--font-corpo);
  position: absolute; left: -170px; z-index: 2;
  background: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
  font-size: 13px; color: var(--txt-primary);
  padding: 10px 14px; border-radius: 8px; display: none;
  border: 1px solid var(--border);
}
.ligue .chat-text { left: -130px; }
.ligue:hover .chat-text, .wa:hover .chat-text { display: inline-block; }
.chat-arrow {
  height: 0; width: 0; position: absolute; right: -9px; top: 13px;
  border: 6px solid transparent;
  border-left-color: var(--bg-primary);
}

@media(max-width: 768px) {
  .wa { bottom: 20px; right: 16px; }
  .ligue { bottom: 82px; right: 16px; }
}

/* =========================================
   COOKIE BANNER
   ========================================= */
#privacy-policy {
  width: 90%; max-width: 800px;
  background: var(--bg-primary) !important;
  border-radius: var(--raio-med);
  border-left: 4px solid var(--acento);
  box-shadow: 0 8px 50px rgba(0,0,0,0.15);
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 0);
  z-index: 9999999;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  animation: fadeUp 0.5s ease forwards;
  font-size: 13px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--acento);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
#privacy-policy h5 { font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; margin: 0 0 4px; color: var(--txt-primary); font-family: var(--font-corpo); }
#privacy-policy article { width: calc(100% - 130px); color: var(--txt-secondary); }
#privacy-policy button { width: 110px; height: 42px; border-radius: var(--raio); background: var(--btn-primary-bg); color: var(--btn-primary-txt); border: none; font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; cursor: pointer; transition: var(--trans); }
#privacy-policy button:hover { background: var(--acento); }
#privacy-policy a { color: var(--acento); text-decoration: underline; }
@media(max-width: 767px) {
  #privacy-policy { flex-wrap: wrap; gap: 12px; }
  #privacy-policy article { width: 100%; }
  #privacy-policy button { width: 100%; }
}

/* =========================================
   ALERTA FORMULÁRIO
   ========================================= */
.alertRetorno {
  position: fixed; top: 0; z-index: 9999999;
  background: rgba(0,0,0,0.6); width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.fundoRetorno {
  text-align: center; background: var(--bg-primary);
  max-width: 360px; padding: 48px 40px;
  border-radius: var(--raio-lg); position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
}
.fundoRetorno::before {
  content: '✓'; display: block;
  width: 52px; height: 52px; background: #0ba360; color: #fff;
  border-radius: 50%; line-height: 52px; font-size: 22px;
  margin: 0 auto 16px;
}
.fundoRetorno span { color: var(--txt-primary); font-size: 17px; font-weight: 500; }
.fechaalerta { position: absolute; top: 14px; right: 18px; cursor: pointer; font-size: 18px; color: var(--txt-muted); transition: var(--trans); }
.fechaalerta:hover { color: var(--txt-primary); }

/* =========================================
   MARCAS
   ========================================= */
.marcas {
  border-radius: var(--raio-med);
  border: 1px solid var(--border);
  height: 180px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-bg);
  transition: var(--trans);
}
.marcas:hover { border-color: var(--acento); }
.marcas img { max-width: 75%; filter: grayscale(1) opacity(0.5); transition: var(--trans); }
.marcas:hover img { filter: none; opacity: 1; }

/* =========================================
   IMG UTILITIES
   ========================================= */
.img3 { border-radius: var(--raio-med); }
@media(min-width: 992px) {
  .img3 { margin-top: -30px; margin-bottom: -80px; }
}

/* =========================================
   OUTROS
   ========================================= */
.barratopo { display: none; }
.cabecalho h2 { color: var(--acento); font-size: 22px; margin-bottom: 5px; }
.cabecalho time { color: var(--txt-muted); font-size: 13px; }

.codephix_embed-container {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  max-width: 100%; border-radius: var(--raio-med);
}
.codephix_embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media(max-height: 295px) { #menu { overflow-y: scroll; } }

/* =========================================
   MAIN OFFSET — gerido por body.interna main (topo do arquivo)
   ========================================= */

/* ============================================================
   REFINAMENTOS DE ELEGÂNCIA (UI/UX)
   ============================================================ */

/* Hero: scrim sutil para legibilidade dos dots e profundidade */
#painel-home::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(16,14,12,0.45), transparent);
  pointer-events: none;
  z-index: 1;
}
#painel-home .slick-dots { z-index: 2; }

/* Acessibilidade: foco visível elegante */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
}

/* Page-header das páginas internas — mais sofisticado */
.page-header {
  padding: 56px 0 34px;
}
.page-header h1 {
  font-family: var(--font-titulo);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) { .page-header h1 { font-size: 30px; } }

/* Subtítulo de seção com marca dourada */
.subtt {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.subtt::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  background: var(--acento);
  border-radius: 2px;
}

/* Parágrafos das páginas internas com leitura confortável */
.page-header ~ section p,
section .subtt + p { color: var(--txt-secondary); line-height: 1.85; }

/* Card de estatísticas: divisor vertical sutil entre números */
.stat-num { transition: var(--trans); }

/* Refino dos cartões de áreas (.boxe) */
.boxe .btn { position: absolute; bottom: 22px; left: 24px; right: 24px; }
.boxe .tt strong { color: var(--txt-primary); font-weight: 600; }

/* Selo de seção centralizado */
.sec-label[style*="center"]::before { display: none; }

/* Iframe do mapa adapta ao tema escuro */
[data-tema="escuro"] iframe[src*="google.com/maps"] {
  filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.9);
}

/* Transições suaves de tema em superfícies-chave */
.card-exec, .boxe, .marcas, #footer, .form-control, .btn-tema {
  transition: var(--trans), background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

/* Botão de tema flutuante — leve refino de profundidade */
.btn-tema { box-shadow: 0 4px 18px rgba(0,0,0,0.18), 0 0 0 1px var(--border); }

/* Garante leitura do menu mobile (drawer claro mesmo no header escuro) */
@media (max-width: 1200px) {
  #menu ul li a { color: var(--txt-primary) !important; text-transform: none; letter-spacing: 0.3px; font-size: 14px; }
  #menu ul li a::after { display: none; }
  #menu ul li a.link-painel { color: #fff !important; }
}

/* ============================================================
   HOME — TOPO DE TEXTO / SERVIÇOS / MÉTODO / FAQ / DOCUMENTOS
   ============================================================ */
/* Header sólido também na home (o topo agora é texto, não imagem) */
body.home #header {
  background: var(--header-solid);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-texto { padding: 0px 0 72px; background: var(--bg-primary); }
.hero-tit { font-family: var(--font-titulo); font-size: 46px; font-weight: 700; line-height: 1.14; color: var(--txt-primary); margin: 0 0 18px; letter-spacing: -0.5px; }
.hero-tit em { font-style: italic; color: var(--acento); }
.hero-sub { font-size: 18px; color: var(--txt-secondary); max-width: 780px; line-height: 1.7; margin: 0; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 768px) { .hero-texto { padding: 60px 0 48px; } .hero-tit { font-size: 30px; } .hero-sub { font-size: 16px; } }

.servicos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.servico-card { display: flex; align-items: flex-start; gap: 14px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--raio-med); padding: 20px 22px; transition: var(--trans); }
.servico-card:hover { border-color: var(--acento); box-shadow: var(--card-hover); transform: translateY(-3px); }
.servico-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--acento-light); display: flex; align-items: center; justify-content: center; }
.servico-ic svg { width: 18px; height: 18px; stroke: var(--acento); fill: none; stroke-width: 2.2; }
.servico-card h3 { font-family: var(--font-corpo); font-size: 15px; font-weight: 600; color: var(--txt-primary); margin: 0 0 3px; }
.servico-card p { font-size: 13px; color: var(--txt-secondary); margin: 0; line-height: 1.5; }

.metodo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.metodo-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--raio-med); padding: 28px 26px; transition: var(--trans); }
.metodo-item:hover { border-color: var(--acento); box-shadow: var(--card-hover); }
.metodo-num { width: 44px; height: 44px; border-radius: 50%; background: var(--acento); color: #14110f; font-family: var(--font-titulo); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.metodo-item h3 { font-size: 17px; font-weight: 600; color: var(--txt-primary); margin: 0 0 8px; }
.metodo-item p { font-size: 14px; color: var(--txt-secondary); margin: 0; }

.faq-item { border: 1px solid var(--border); border-radius: var(--raio-med); margin-bottom: 12px; overflow: hidden; background: var(--card-bg); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-titulo); font-size: 17px; font-weight: 600; color: var(--txt-primary); }
.faq-ic { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--acento-light); color: var(--acento); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: var(--trans); }
.faq-item.aberto .faq-ic { transform: rotate(45deg); background: var(--acento); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--txt-secondary); line-height: 1.7; }
.faq-item.aberto .faq-a { max-height: 320px; }

.documentos { columns: 1; }
.documentos li { font-size: 15px; }
@media (min-width: 600px) { .documentos { columns: 2; column-gap: 32px; } .documentos li { break-inside: avoid; } }

/* ============================================================
   DESTAQUES (seção Liderança)
   ============================================================ */
.destaques { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.destaques li { display: flex; align-items: flex-start; gap: 14px; }
.destaque-ic {
  flex-shrink: 0; width: 46px; height: 46px;
  border-radius: var(--raio-med);
  background: var(--acento-light);
  display: flex; align-items: center; justify-content: center;
}
.destaque-ic svg { width: 22px; height: 22px; stroke: var(--acento); fill: none; stroke-width: 1.6; }
.destaques strong { display: block; color: var(--txt-primary); font-size: 16px; font-weight: 600; line-height: 1.3; }
.destaques span { color: var(--txt-secondary); font-size: 14px; }

/* ============================================================
   DEPOIMENTOS / AVALIAÇÕES
   ============================================================ */
.depo-google { font-size: 15px; color: var(--txt-secondary); margin-top: 8px; }
.depo-google strong { color: var(--txt-primary); }
.depo-google .estrelas { color: var(--acento); letter-spacing: 2px; }
.depo-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--raio-med);
  padding: 28px 26px;
  height: 100%;
  transition: var(--trans);
  position: relative;
}
.depo-card:hover { border-color: var(--acento); box-shadow: var(--card-hover); transform: translateY(-4px); }
.depo-card .estrelas { color: var(--acento); letter-spacing: 2px; font-size: 14px; }
.depo-card p { color: var(--txt-secondary); font-size: 15px; line-height: 1.8; font-style: italic; margin: 14px 0 16px; flex: 1; }
.depo-card .depo-autor { font-weight: 600; color: var(--txt-primary); font-size: 15px; font-style: normal; }
.depo-card .depo-origem { font-size: 12px; color: var(--txt-muted); display: inline-flex; align-items: center; gap: 5px; }
.depo-card { display: flex; flex-direction: column; }
.depo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.depo-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: var(--acento-light); color: var(--acento);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titulo); font-weight: 700; font-size: 20px;
  border: 1px solid var(--border);
}
.depo-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   MODAL — ÁREAS DE ATUAÇÃO
   ============================================================ */
.modal-area { position: fixed; inset: 0; z-index: 100000; display: none; }
.modal-area.aberto { display: block; }
.modal-area-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 7, 6, 0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal-area-box {
  position: relative; z-index: 1;
  max-width: 720px; width: calc(100% - 40px);
  max-height: 86vh; overflow-y: auto;
  margin: 6vh auto;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--raio-lg);
  padding: 44px 44px 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: left;
  animation: fadeUp 0.4s ease;
}
.modal-area-box .sec-label { justify-content: flex-start; }
.modal-area-fechar {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: var(--bg-secondary); color: var(--txt-primary);
  cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.modal-area-fechar:hover { background: var(--acento); color: #fff; transform: rotate(90deg); }
.modal-area-conteudo { color: var(--txt-secondary); line-height: 1.85; font-size: 15px; }
.modal-area-conteudo p { margin-bottom: 1rem; }
.modal-area-conteudo img { max-width: 100%; height: auto; border-radius: var(--raio-med); margin: 12px 0; }
.modal-area-conteudo a { color: var(--acento); text-decoration: underline; }
@media (max-width: 768px) {
  .modal-area-box { padding: 52px 22px 28px; margin: 4vh auto; }
}

/* Tema escuro: caixas .card (ex.: citacoes de lei) dentro do modal tem fundo claro -> forca texto escuro */
[data-tema="escuro"] .modal-area-conteudo .card,
[data-tema="escuro"] .modal-area-conteudo .card * { color:#1f1b17 !important; }

/* =========================================
   AJUSTES MOBILE — espacamento do topo
   (sobem os topicos em relacao ao topo no celular)
   ========================================= */
@media (max-width: 768px) {
  .sec { padding: 48px 0; }        /* secoes mais juntas no mobile (era 96px) */
  .sec-sm { padding: 36px 0; }     /* idem para secoes pequenas (era 64px) */
  .home1 { padding-top: 100px; }   /* home: era 200px (espaco vazio no topo) */
  .bnr { height: 130px; }          /* internas: banner do topo menor (era 180px) */
  .page-header { padding: 24px 0 20px; } /* internas: titulo mais proximo (era 56px 0 34px) */
}


/* Fix menu mobile drawer/overlay: #header e position:fixed (cria stacking context); sem subir o z-index, o drawer (#menu z9999) fica preso e o overlay (9998) cobre o menu, fechando-o a cada clique. */
@media(max-width:1200px){ #header{ z-index:10000 !important; } }
