/* Brenner Brandão Advogados — estilo do site */
:root {
  --azul: #003060;
  --azul-escuro: #001b38;
  --azul-medio: #0b4a85;
  --azul-claro: #e7eef6;
  --azul-nevoa: #f3f6fa;
  --tinta: #102030;
  --texto: #2a3846;
  --suave: #5a6777;
  --linha: #d8e0e9;
  --branco: #ffffff;
  --verde: #168a4a;
  --alerta-fundo: #fff7e6;
  --alerta-borda: #e9c46a;
  --alerta-texto: #5c4100;
  --raio: 14px;
  --raio-pequeno: 10px;
  --sombra: 0 1px 2px rgba(0, 32, 64, .06), 0 10px 30px rgba(0, 32, 64, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --marca: Futura, "Century Gothic", "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  --largura: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--azul-medio); text-underline-offset: 3px; }
a:hover { color: var(--azul); }
:focus-visible { outline: 3px solid #4d8fd6; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--tinta); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
section[id] { scroll-margin-top: 80px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pular { position: absolute; left: -9999px; top: 0; background: var(--azul); color: #fff; padding: 10px 16px; z-index: 100; }
.pular:focus { left: 16px; top: 16px; color: #fff; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 20px; }

/* Marca */
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--azul); }
.marca svg { width: 44px; height: auto; flex: none; fill: currentColor; }
.marca-texto { display: flex; flex-direction: column; line-height: 1; font-family: var(--marca); }
.marca-nome { font-weight: 700; font-size: 1.02rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta); white-space: nowrap; }
.marca-sub { font-size: .62rem; letter-spacing: .5em; text-transform: uppercase; color: var(--suave); margin-top: 6px; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linha); }
.topo .container { position: relative; display: flex; align-items: center; gap: 28px; min-height: 76px; }
.menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.menu a { color: var(--texto); text-decoration: none; font-size: .96rem; font-weight: 500; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--azul); }
.menu a[aria-current="page"] { font-weight: 700; }
.topo-acoes { display: flex; align-items: center; gap: 12px; }
.menu-botao { display: none; }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; cursor: pointer; line-height: 1.2; }
.botao svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.botao-azul { background: var(--azul); color: #fff; }
.botao-azul:hover { background: var(--azul-escuro); color: #fff; }
.botao-branco { background: #fff; color: var(--azul); }
.botao-branco:hover { background: var(--azul-claro); color: var(--azul); }
.botao-contorno { border-color: rgba(255, 255, 255, .55); color: #fff; }
.botao-contorno:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.botao-pequeno { padding: 10px 18px; font-size: .94rem; }

/* Abertura */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #0d4d8a 0%, rgba(13, 77, 138, 0) 60%), var(--azul); color: #dbe6f2; }
.hero .container { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero-marca-dagua { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(560px, 58vw); fill: #fff; opacity: .06; pointer-events: none; }
.sobretitulo { display: inline-block; font-family: var(--marca); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: #a9c3de; margin-bottom: 18px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { font-size: clamp(1.08rem, 2vw, 1.25rem); max-width: 60ch; color: #d3e0ee; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-rodape { margin: 34px 0 0; font-size: .92rem; color: #a9c3de; }

/* Seções */
.secao { padding: 88px 0; }
.secao-nevoa { background: var(--azul-nevoa); }
.secao-cabeca { max-width: 720px; margin-bottom: 44px; }
.secao-cabeca p { color: var(--suave); font-size: 1.08rem; margin: 0; }
.rotulo { display: block; font-family: var(--marca); font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--azul-medio); margin-bottom: 12px; font-weight: 600; }

/* Áreas de atuação */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 28px; box-shadow: var(--sombra); }
.area-destaque { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 36px; background: linear-gradient(180deg, #fff, #f7f9fc); border-color: #c9d6e4; }
.area-icone { width: 48px; height: 48px; border-radius: 12px; background: var(--azul-claro); color: var(--azul); display: grid; place-items: center; margin-bottom: 18px; }
.area-icone svg { width: 26px; height: 26px; }
.area p { color: var(--suave); }
.lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lista li { position: relative; padding-left: 28px; }
.lista li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--azul-medio); border-bottom: 2px solid var(--azul-medio); transform: rotate(-45deg); }
.area-destaque .lista { grid-template-columns: 1fr 1fr; gap: 12px 28px; align-content: start; }
.nota { margin: 28px 0 0; color: var(--suave); }

/* Como funciona */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: passo; }
.passo { counter-increment: passo; background: #fff; border-radius: var(--raio); padding: 26px; border: 1px solid var(--linha); }
.passo::before { content: counter(passo, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2rem; color: var(--azul-medio); margin-bottom: 10px; line-height: 1; }
.passo h3 { font-size: 1.15rem; }
.passo p { margin: 0; color: var(--suave); font-size: .99rem; }

/* Sobre */
.sobre { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.responsavel { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--linha); font-size: .98rem; color: var(--suave); }
.responsavel strong { color: var(--tinta); }
.valores { background: var(--azul); color: #d3e0ee; border-radius: var(--raio); padding: 32px; }
.valores h3 { color: #fff; margin-bottom: 18px; }
.valores dl { margin: 0; display: grid; gap: 16px; }
.valores dt { color: #fff; font-weight: 600; }
.valores dd { margin: 2px 0 0; font-size: .97rem; color: #b9cde2; }

/* WhatsApp */
.wpp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.wpp-numero { font-family: var(--serif); font-size: 1.6rem; color: var(--tinta); white-space: nowrap; }
.wpp .lista { margin-bottom: 1.2em; }
.pequeno { font-size: .95rem; color: var(--suave); }
.alerta { background: var(--alerta-fundo); border: 1px solid var(--alerta-borda); border-radius: var(--raio); padding: 26px; color: var(--alerta-texto); }
.alerta h3 { display: flex; align-items: center; gap: 10px; color: #4a3400; font-family: var(--sans); font-size: 1.08rem; font-weight: 700; }
.alerta h3 svg { width: 22px; height: 22px; flex: none; }
.alerta p { margin: 0; font-size: .98rem; }

/* Contato */
.contatos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.contato { border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px; background: #fff; }
.contato-icone { color: var(--azul); width: 26px; height: 26px; margin-bottom: 12px; }
.contato h3 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--suave); margin-bottom: 6px; font-weight: 600; }
.contato p { margin: 0; color: var(--tinta); overflow-wrap: break-word; }
.contato a { font-weight: 600; }

/* Rodapé */
.rodape { background: var(--azul-escuro); color: #a8bcd2; padding: 64px 0 28px; font-size: .95rem; }
.rodape a { color: #dbe6f2; }
.rodape a:hover { color: #fff; }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.rodape .marca { color: #fff; margin-bottom: 18px; }
.rodape .marca-nome { color: #fff; }
.rodape .marca-sub { color: #a8bcd2; }
.rodape h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 600; }
.rodape p { margin: 0 0 6px; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rodape-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: #8ea6c0; }
.rodape-base p { margin: 0; }

/* Botão flutuante do WhatsApp */
.flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .15s; }
.flutuante:hover { transform: scale(1.06); color: #fff; }
.flutuante svg { width: 30px; height: 30px; fill: currentColor; }

/* Páginas de documento (privacidade, termos, exclusão) */
.documento { padding: 56px 0 88px; }
.documento .container { max-width: 800px; }
.documento h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.atualizacao { color: var(--suave); font-size: .95rem; margin-bottom: 28px; }
.documento h2 { font-size: 1.45rem; margin-top: 2.2em; scroll-margin-top: 96px; }
.documento h3 { font-size: 1.12rem; margin-top: 1.6em; }
.documento ul, .documento ol { padding-left: 1.3em; margin: 0 0 1em; }
.documento li { margin-bottom: .45em; }
.sumario { background: var(--azul-nevoa); border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px 26px; margin: 28px 0 8px; }
.documento .sumario h2 { margin: 0 0 10px; font-size: 1.05rem; font-family: var(--sans); font-weight: 700; }
.sumario ol { columns: 2; column-gap: 32px; margin: 0; }
.tabela { width: 100%; overflow-x: auto; margin: 0 0 1.2em; }
.tabela table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
.tabela th, .tabela td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--linha); }
.tabela th { background: var(--azul-nevoa); color: var(--tinta); font-weight: 600; }
.caixa { background: var(--azul-nevoa); border-left: 4px solid var(--azul); border-radius: 0 var(--raio-pequeno) var(--raio-pequeno) 0; padding: 18px 22px; margin: 0 0 1.2em; }
.caixa p:last-child, .caixa ul:last-child { margin-bottom: 0; }
.passos-doc { counter-reset: item; list-style: none; padding: 0 !important; }
.passos-doc > li { counter-increment: item; position: relative; padding-left: 52px; margin-bottom: 1.2em; }
.passos-doc > li::before { content: counter(item); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* Responsivo */
@media (max-width: 980px) {
  .areas { grid-template-columns: 1fr 1fr; }
  .area-destaque { grid-template-columns: 1fr; gap: 8px; }
  .passos { grid-template-columns: 1fr 1fr; }
  .sobre, .wpp { grid-template-columns: 1fr; gap: 36px; }
  .contatos { grid-template-columns: 1fr 1fr; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-grade > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .topo .container { min-height: 66px; }
  .topo-wpp { display: none; }
  .topo-acoes { margin-left: auto; }
  .menu-botao { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linha); border-radius: 10px; background: #fff; color: var(--tinta); cursor: pointer; }
  .menu-botao svg { width: 22px; height: 22px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--linha); padding: 6px 20px 14px; box-shadow: 0 12px 24px rgba(0, 32, 64, .08); }
  .menu.aberto { display: flex; }
  .menu a { padding: 13px 0; border-bottom: 1px solid var(--azul-claro); }
  .menu a:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .marca svg { width: 38px; }
  .marca-nome { font-size: .9rem; letter-spacing: .1em; }
  .marca-sub { font-size: .56rem; letter-spacing: .42em; }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .hero-acoes .botao { width: 100%; }
  .secao { padding: 64px 0; }
  .areas, .passos, .contatos, .rodape-grade { grid-template-columns: 1fr; }
  .area-destaque .lista { grid-template-columns: 1fr; }
  .area { padding: 24px; }
  .sumario ol { columns: 1; }
  .wpp-numero { font-size: 1.4rem; }
  .rodape { padding-bottom: 92px; }
  .flutuante { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
