/* ===== Fabiani Borges & Advogados Associados ===== */

/* Tokens da marca */
:root {
  --preto: #000000;
  --branco: #ffffff;
  --ciano: #64dcdd;
  --salvia: #91b695;
  --laranja: #e9680c;
  --magenta: #fd2ca4;
  --vermelho: #fe2224;
  --espectro: linear-gradient(90deg, var(--ciano) 0%, var(--salvia) 20%, var(--laranja) 44%, var(--magenta) 72%, var(--vermelho) 100%);

  /* Tema claro (padrão quando o sistema está no claro) */
  --fundo: #ffffff;
  --fundo-alt: #f3f2f4;
  --texto: #141414;
  --texto-suave: #4a4a4f;
  --linha: #d6d4d9;
  --link: #a1106a;       /* 6.9:1 sobre branco */
  --destaque: #b3127a;   /* magenta escurecido: 5.9:1 sobre branco */
  --foco: #0a58ca;
  --cartao: #ffffff;

  --fs-escala: 1;
  --entrelinha: 1.6;
  --entreletras: 0;
  --fonte: "Lexend", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --largura: 74rem;
  --coluna: 40rem;
  --raio-p: 6px;
  --raio-g: 20px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light dark;
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5.5rem); }
*, *::before, *::after { box-sizing: inherit; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fundo: #000000; --fundo-alt: #141416; --texto: #f4f4f5; --texto-suave: #c4c4ca;
    --linha: #34343a; --link: #ff7ccb; --foco: #7cc4ff; --cartao: #1b1b1e; --destaque: #ff5cbc;
  }
}
:root[data-theme="dark"] {
  --fundo: #000000; --fundo-alt: #141416; --texto: #f4f4f5; --texto-suave: #c4c4ca;
  --linha: #34343a; --link: #ff7ccb; --foco: #7cc4ff; --cartao: #1b1b1e; --destaque: #ff5cbc;
}

/* Alto contraste: preto e branco puros, links amarelos */
:root.contraste {
  --fundo: #000000; --fundo-alt: #000000; --texto: #ffffff; --texto-suave: #ffffff;
  --linha: #ffffff; --link: #ffe600; --foco: #ffe600; --cartao: #000000; --destaque: #ffe600;
}
:root.contraste .hero__luz, :root.contraste .contato .hero__luz { display: none; }
:root.contraste .btn--claro { background: #fff; color: #000; }
:root.contraste .cartao, :root.contraste .area, :root.contraste details, :root.contraste .material,
:root.contraste .noticia, :root.contraste .membro { border: 2px solid #fff; }

:root.legivel { --fonte: "Atkinson Hyperlegible", Verdana, Tahoma, Arial, sans-serif; }
:root.espaco { --entrelinha: 1.95; --entreletras: 0.04em; }
:root.espaco p, :root.espaco li { word-spacing: 0.12em; }
:root.links a:not(.btn):not(.wa-flutuante):not(.topo__marca) { text-decoration: underline 3px !important; text-underline-offset: 4px; background: color-mix(in srgb, var(--link) 16%, transparent); }
:root.foco .hero__luz, :root.foco .hero__digital, :root.foco .pilar__marca, :root.foco .topo__faixa, :root.foco .rodape__faixa { display: none !important; }
:root.foco .hero { grid-template-columns: 1fr; min-height: auto; }

html { font-size: calc(100% * var(--fs-escala)); }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-weight: 300;
  line-height: var(--entrelinha);
  letter-spacing: var(--entreletras);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
strong, b { font-weight: 600; }

:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--branco); color: var(--preto); padding: .75rem 1rem; border-radius: var(--raio-p);
  font-weight: 600;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.3rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn--wa { background: #157a3c; color: #fff; }          /* 4.6:1 com branco */
.btn--wa:hover { background: #0f6330; }
.btn--claro { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--claro:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--linha { background: transparent; color: var(--texto); border-color: var(--linha); }
.btn--linha:hover { border-color: var(--texto); }

/* ===== Topo ===== */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: var(--preto); color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
}
.topo__faixa, .rodape__faixa { height: 4px; background: var(--espectro); }
.topo__barra {
  max-width: var(--largura); margin: 0 auto; padding: .5rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.topo__marca img { width: 170px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a {
  color: #fff; text-decoration: none; padding: .6rem .75rem; border-radius: var(--raio-p);
  font-weight: 400; display: block;
}
.nav a:hover { background: rgba(255,255,255,.1); }
.topo__ferramentas { display: flex; align-items: center; gap: .5rem; }
.idiomas { display: flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 2px; }
.idiomas button {
  font: inherit; font-size: .85rem; font-weight: 500; color: #fff; background: none; border: 0;
  min-width: 40px; min-height: 40px; border-radius: 999px; cursor: pointer;
}
.idiomas button[aria-pressed="true"] { background: #fff; color: #000; }
.btn-a11y {
  display: inline-flex; align-items: center; gap: .4rem;
  font: inherit; font-size: .9rem; font-weight: 500;
  color: #000; background: #fff; border: 0; border-radius: 999px;
  min-height: 44px; padding: 0 .9rem; cursor: pointer;
}
.topo__menu { display: none; }

@media (max-width: 1440px) {
  .topo__barra { flex-wrap: wrap; }
  .topo__menu {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
    font: inherit; color: #fff; background: none; border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px; min-height: 44px; padding: 0 1rem; cursor: pointer;
  }
  .hamb, .hamb::before, .hamb::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .hamb::before, .hamb::after { content: ""; position: absolute; left: 0; }
  .hamb::before { top: -6px; } .hamb::after { top: 6px; }
  .nav { order: 5; width: 100%; display: none; }
  .nav.aberto { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 0 1rem; }
  .nav a { padding: .85rem .5rem; font-size: 1.1rem; }
  .topo__ferramentas { order: 4; width: 100%; justify-content: space-between; padding-bottom: .4rem; }
}
/* Texto ampliado usa o menu compacto */
:root.texto-grande .topo__barra { flex-wrap: wrap; }
:root.texto-grande .topo__menu {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
    font: inherit; color: #fff; background: none; border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px; min-height: 44px; padding: 0 1rem; cursor: pointer;
  }
:root.texto-grande .hamb, :root.texto-grande .hamb::before, :root.texto-grande .hamb::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
:root.texto-grande .hamb::before, :root.texto-grande .hamb::after { content: ""; position: absolute; left: 0; }
:root.texto-grande .hamb::before { top: -6px; }
:root.texto-grande .hamb::after { top: 6px; }
:root.texto-grande .nav { order: 5; width: 100%; display: none; }
:root.texto-grande .nav.aberto { display: block; }
:root.texto-grande .nav ul { flex-direction: column; padding: .5rem 0 1rem; }
:root.texto-grande .nav a { padding: .85rem .5rem; font-size: 1.1rem; }
:root.texto-grande .topo__ferramentas { order: 4; width: 100%; justify-content: space-between; padding-bottom: .4rem; }
@media (max-width: 420px) {
  .btn-a11y span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .topo__marca img { width: 140px; }
}

/* ===== Hero ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--preto); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 2rem;
  min-height: min(88vh, 760px);
  padding: clamp(3rem, 8vw, 6rem) max(1.25rem, calc((100vw - var(--largura)) / 2 + 1.25rem));
}
.hero__luz {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(225deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.08) 22%, transparent 34%),
    linear-gradient(45deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.05) 20%, transparent 32%);
}
.hero__texto { max-width: 36rem; }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04;
}
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #e6e6ea; margin: 1.5rem 0 2rem; max-width: 32rem; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__digital { justify-self: center; width: min(100%, 420px); }
.hero__digital img {
  width: 100%;
  clip-path: circle(150% at 72% 38%);
  animation: revela 1.8s cubic-bezier(.2,.7,.2,1) .2s both;
}
@keyframes revela { from { clip-path: circle(0% at 72% 38%); } to { clip-path: circle(150% at 72% 38%); } }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__digital { order: -1; width: 46%; justify-self: end; margin-bottom: -1rem; }
}

/* ===== Seções ===== */
.secao {
  padding: clamp(3.5rem, 7vw, 6rem) max(1.25rem, calc((100vw - var(--largura)) / 2 + 1.25rem));
}
.secao--alt { background: var(--fundo-alt); }
.secao__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.secao h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.subtitulo { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 3.5rem 0 1rem; }
.prosa { max-width: var(--coluna); font-size: 1.1rem; }
.prosa p { margin: 0 0 1.1rem; }
p.prosa { margin: 0 0 1.5rem; }

.ouvir {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-size: .95rem; color: var(--texto); background: transparent;
  border: 1px solid var(--linha); border-radius: 999px; min-height: 44px; padding: 0 1rem; cursor: pointer;
}
.ouvir::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ouvir[aria-pressed="true"]::before { width: 10px; height: 10px; border: 0; background: currentColor; }
.ouvir:hover { border-color: var(--texto); }

/* Em poucas palavras */
.resumo {
  max-width: var(--coluna); margin: 0 0 2rem; padding: 1.1rem 1.3rem;
  border-radius: var(--raio-p); background: var(--cartao); border: 1px solid var(--linha);
  border-left: 6px solid var(--texto);
  font-size: 1.1rem;
}
.resumo p { margin: 0; }
.resumo .resumo__rotulo { font-weight: 600; margin-bottom: .25rem; }

/* Pilares */
.pilares { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.pilares h4 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.pilares p { margin: 0; color: var(--texto-suave); }
.pilar__marca {
  display: block; width: 56px; height: 56px; border-radius: 50%;
  background: repeating-radial-gradient(circle at 60% 45%, var(--c) 0 3px, transparent 3px 7px);
}
@media (max-width: 760px) { .pilares { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.area {
  background: var(--cartao); border-radius: var(--raio-p); padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border: 1px solid var(--linha); position: relative; overflow: hidden;
}
.area::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c); }
.area h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.area p { margin: 0; color: var(--texto-suave); }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* Serviços */
.servicos { display: grid; gap: .75rem; max-width: 52rem; }
.servicos details { background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio-p); }
.servicos summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 500; font-size: 1.15rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px;
}
.servicos summary::-webkit-details-marker { display: none; }
.servicos summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; }
.servicos details[open] summary::after { content: "–"; }
.servicos .qtd { color: var(--texto-suave); font-weight: 300; font-size: .95rem; margin-left: auto; }
.servicos ul { margin: 0; padding: 0 1.3rem 1.3rem 2.6rem; }
.servicos li { margin: .5rem 0; max-width: 42rem; }

/* Equipe */
.equipe { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.membro__foto {
  width: 184px; height: 184px; border-radius: 50%; padding: 8px; margin-bottom: 1.25rem;
  background: conic-gradient(from 200deg, var(--c), transparent 70%, var(--c));
}
.membro__foto > * {
  width: 168px; height: 168px; border-radius: 50%; object-fit: cover; filter: grayscale(1);
  outline: 4px solid var(--fundo);
}
.membro__iniciais {
  display: grid; place-items: center; font-size: 3rem; font-weight: 600; color: #fff; filter: none !important;
  background: repeating-radial-gradient(circle at 65% 40%, #2a2a2e 0 5px, #000 5px 10px);
}
.membro h3 { font-size: 1.35rem; }
.membro__cargo { color: var(--texto-suave); margin: .2rem 0 .9rem; font-weight: 400; }
.membro p.bio { margin: 0 0 1rem; }
.membro a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) { .equipe { grid-template-columns: 1fr; max-width: var(--coluna); } }

/* Filtros e chips */
.filtros { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.5rem; margin-bottom: 1rem; }
.campo { display: grid; gap: .35rem; font-weight: 500; }
.campo input {
  font: inherit; font-weight: 300; min-height: 48px; min-width: min(22rem, 80vw);
  padding: .5rem .9rem; border-radius: var(--raio-p); border: 2px solid var(--linha);
  background: var(--fundo); color: var(--texto);
}
.campo input:focus { border-color: var(--foco); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.chip {
  font: inherit; font-size: .95rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; cursor: pointer;
  background: var(--fundo); color: var(--texto); border: 1px solid var(--linha);
}
.chip[aria-pressed="true"] { background: var(--texto); color: var(--fundo); border-color: var(--texto); }
.contagem { color: var(--texto-suave); margin: 0 0 1rem; font-size: .95rem; }

/* Materiais */
.materiais { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem; }
.material {
  background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio-p);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem;
}
.material__tipo { font-size: .9rem; font-weight: 500; color: var(--texto-suave); display: flex; align-items: center; gap: .5rem; }
.material__tipo::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.material h3 { font-size: 1.15rem; line-height: 1.3; }
.material p { margin: 0; color: var(--texto-suave); }
.selos { display: flex; flex-wrap: wrap; gap: .4rem; }
.selo { font-size: .8rem; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--linha); }
.selo--exemplo { border-style: dashed; }
.material .btn { margin-top: auto; align-self: flex-start; }
.material__meta { font-size: .9rem; }

/* Notícias */
.noticias { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 56rem; }
.noticia { border-top: 1px solid var(--linha); padding: 1.1rem 0; display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.noticia:last-child { border-bottom: 1px solid var(--linha); }
.noticia__fonte { font-weight: 600; font-size: .95rem; margin: 0; }
#mais-noticias { margin-top: 1.5rem; }
.noticia__data { display: block; font-weight: 300; color: var(--texto-suave); font-size: .85rem; }
.noticia a { color: var(--texto); text-decoration: none; font-size: 1.1rem; font-weight: 400; }
.noticia a:hover { text-decoration: underline; }
.noticia__exemplo { font-size: .85rem; color: var(--texto-suave); }
@media (max-width: 560px) { .noticia { grid-template-columns: 1fr; gap: .25rem; } }

/* Instagram */
.insta { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.insta a { display: block; color: var(--texto); text-decoration: none; }
.insta__img { aspect-ratio: 1; border-radius: var(--raio-p); overflow: hidden; background: #000; }
.insta__img img { width: 100%; height: 100%; object-fit: cover; }
.insta__ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: #fff; text-align: center; padding: 1rem;
  background: repeating-radial-gradient(circle at 70% 35%, rgba(0,0,0,.0) 0 6px, rgba(0,0,0,.55) 6px 12px), var(--espectro);
  font-weight: 500;
}
.insta__pill { background: #000; color: #fff; padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; }
.insta__legenda { margin: .6rem 0 0; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Tour */
.tour { max-width: 60rem; }
.tour__palco { position: relative; aspect-ratio: 16 / 10; border-radius: var(--raio-g); overflow: hidden; background: var(--fundo-alt); border: 1px solid var(--linha); }
.tour__palco img { width: 100%; height: 100%; object-fit: cover; }
.tour__palco:has(.tour__vazio) { aspect-ratio: 16 / 6; }
.tour__vazio { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--texto-suave); }
.tour__controles { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.tour__controles .btn[disabled] { opacity: .4; cursor: not-allowed; }
.tour__legenda { margin: .75rem 0 0; font-size: 1.05rem; }
.tour__miniaturas { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: .5rem; overflow-x: auto; }
.tour__miniaturas button { border: 3px solid transparent; padding: 0; border-radius: var(--raio-p); overflow: hidden; cursor: pointer; background: none; width: 88px; height: 60px; flex: none; }
.tour__miniaturas button[aria-current="true"] { border-color: var(--texto); }
.tour__miniaturas img { width: 100%; height: 100%; object-fit: cover; }

/* Contato */
.contato::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--espectro); }
.contato { position: relative; isolation: isolate; overflow: hidden; background: var(--preto); color: #fff; --link: #ff9bd6; --texto-suave: #cfcfd4; }
.contato h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 16ch; margin-bottom: 1rem; }
.hero__luz--baixo { background: linear-gradient(45deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.06) 24%, transparent 36%); }
.contato__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 3rem; max-width: 52rem; margin: 2.5rem 0 0; }
.contato__lista dt { font-weight: 600; margin-bottom: .3rem; }
.contato__lista dd { margin: 0; font-size: 1.1rem; }
.contato__lista a { color: #fff; }
.contato__lista a:hover { color: var(--link); }
.sep { color: #888; padding: 0 .25rem; }
@media (max-width: 640px) { .contato__lista { grid-template-columns: 1fr; } }

/* Rodapé */
.rodape { background: var(--preto); color: #d4d4d8; }
.rodape__conteudo { max-width: var(--largura); margin: 0 auto; padding: 2.5rem 1.25rem calc(6rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: .5rem; }
.rodape img { width: 220px; margin-bottom: 1rem; }
.rodape p { margin: 0; }
.rodape a { color: #fff; }
.rodape__nota { font-size: .9rem; color: #a8a8b0; }

/* WhatsApp flutuante */
.wa-flutuante {
  position: fixed; z-index: 60;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem;
  background: #157a3c; color: #fff; text-decoration: none; font-weight: 500;
  min-height: 56px; padding: 0 1.2rem 0 1rem; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.wa-flutuante:hover { background: #0f6330; }
/* VLibras fica do lado esquerdo para não cobrir o WhatsApp */
[vw].enabled { left: 0 !important; right: auto !important; }
[vw] [vw-access-button] { left: 0 !important; right: auto !important; }

/* Painel de acessibilidade */
.painel {
  border: 0; padding: 1.5rem; border-radius: var(--raio-g);
  width: min(30rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem);
  background: var(--fundo); color: var(--texto);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.painel::backdrop { background: rgba(0,0,0,.6); }
.painel__cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.painel h2 { font-size: 1.35rem; }
.painel__fechar { font: inherit; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--linha); background: none; color: var(--texto); cursor: pointer; }
.painel__nota { font-size: .92rem; color: var(--texto-suave); margin: .75rem 0 1rem; }
.painel__grupo { border: 0; padding: 0; margin: 0 0 1rem; }
.painel__grupo legend { font-weight: 500; margin-bottom: .4rem; }
.segmentado { display: flex; border: 1px solid var(--linha); border-radius: 999px; padding: 3px; }
.segmentado button { flex: 1; font: inherit; min-height: 42px; border: 0; background: none; color: var(--texto); border-radius: 999px; cursor: pointer; }
.segmentado button[aria-checked="true"] { background: var(--texto); color: var(--fundo); }
.segmentado .t1 { font-size: 1.05em; } .segmentado .t2 { font-size: 1.15em; } .segmentado .t3 { font-size: 1.25em; }
.painel__chaves { display: grid; gap: .25rem; }
.chave { display: flex; align-items: center; gap: .75rem; min-height: 44px; cursor: pointer; }
.chave input { width: 22px; height: 22px; accent-color: var(--texto); flex: none; }

/* Guia de leitura */
.guia-leitura { display: none; position: fixed; left: 0; right: 0; height: 2.6em; z-index: 70; pointer-events: none;
  box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); border-top: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta); }
:root.guia .guia-leitura { display: block; }

/* Texto sendo lido em voz alta */
.lendo { outline: 3px dashed var(--magenta); outline-offset: 6px; }

/* Menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:root.parado *, :root.parado *::before, :root.parado *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html { scroll-behavior: smooth; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .topo, .wa-flutuante, .ouvir, [vw], .hero__digital, .filtros, .chips { display: none !important; }
  .hero, .contato, .rodape { background: #fff !important; color: #000 !important; }
}


/* ===== Versão 3: B.O., pilares, Bahia, casa ===== */
.destaque { color: var(--destaque); }
.hero .destaque, .contato .destaque { color: #ff5cbc; }
:root.contraste .hero .destaque, :root.contraste .contato .destaque { color: #ffe600; }
.hero__kicker { font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: #cfcfd4; margin: 0 0 1.25rem; font-weight: 400; }

.btn-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500;
}
.btn-cta:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Qual é o seu B.O.? */
.bos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.bo {
  background: var(--cartao); border: 1px solid var(--linha); border-top: 6px solid var(--c, var(--texto));
  border-radius: var(--raio-p); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem;
}
.bo__area { margin: 0; font-size: .85rem; font-weight: 500; color: var(--texto-suave); }
.bo h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.35; }
.bo__acoes { margin-top: auto; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding-top: .5rem; }
.bo__acoes a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.bo--outro { border-top: 6px solid transparent; border-image: var(--espectro) 1; border-image-width: 6px 0 0 0; grid-column: 1 / -1; }
.bo--outro p { margin: 0 0 .75rem; max-width: 46rem; }
.bo--outro .btn { align-self: flex-start; }

/* Pilares */
.area ul { margin: .9rem 0 0; padding-left: 1.2rem; }
.area li { margin: .3rem 0; }
.area:target, .area:focus { outline: 3px solid var(--c); outline-offset: 3px; }

/* Bahia: fitas nas cores da marca */
.bahia { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 24rem); gap: 2.5rem; align-items: start; margin-top: 3.5rem; }
.bahia .subtitulo { margin-top: 0; }
.fitas { display: flex; gap: 7px; height: 220px; padding-top: .4rem; }
.fitas span { width: 12px; border-radius: 2px 2px 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%); }
.fitas span:nth-child(1) { background: var(--ciano); height: 86%; }
.fitas span:nth-child(2) { background: var(--salvia); height: 100%; }
.fitas span:nth-child(3) { background: var(--laranja); height: 78%; }
.fitas span:nth-child(4) { background: #f05a3a; height: 94%; }
.fitas span:nth-child(5) { background: var(--magenta); height: 82%; }
.fitas span:nth-child(6) { background: #fe2a6a; height: 100%; }
.fitas span:nth-child(7) { background: var(--vermelho); height: 88%; }
.bahia__foto { width: 100%; border-radius: var(--raio-g); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 960px) { .bahia { grid-template-columns: auto minmax(0, 1fr); } .bahia__foto { grid-column: 1 / -1; max-width: 32rem; } }
@media (max-width: 640px) { .bahia { grid-template-columns: 1fr; gap: 1rem; } .fitas { height: 90px; } }
:root.foco .fitas { display: none; }

/* Equipe */
.equipe__topo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.equipe__frase { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; margin: 0; max-width: 34rem; }
.equipe__grupo { margin: 0; }
.equipe__grupo { max-width: 24rem; justify-self: center; }
.equipe__grupo img { width: 100%; border-radius: var(--raio-g); aspect-ratio: 4 / 5; object-fit: cover; }
.membro__foco { margin: 0 0 .9rem; font-weight: 400; }
.membro p.bio { color: var(--texto-suave); }
@media (max-width: 860px) { .equipe__topo { grid-template-columns: 1fr; } }

/* Nossa casa */
.casa { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
.casa__video { margin: 0; }
.casa__video video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--raio-g); background: #000; display: block; }
.casa__video figcaption { display: grid; gap: .25rem; margin-top: .9rem; }
.casa__video figcaption span { color: var(--texto-suave); font-size: .95rem; }
.casa__fotos h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.transcricao { margin-top: 1rem; border: 1px solid var(--linha); border-radius: var(--raio-p); background: var(--cartao); }
.transcricao summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 500; min-height: 48px; }
.transcricao > div { padding: 0 1.1rem 1rem; max-height: 28rem; overflow-y: auto; }
.transcricao p { margin: 0 0 .9rem; }
.transcricao__cena { color: var(--texto-suave); font-style: italic; }
.tour__palco { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .casa { grid-template-columns: 1fr; } .casa__video { max-width: 21rem; } }
.eventos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.eventos figure { margin: 0; }
.eventos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--raio-p); }
.eventos figcaption { font-size: .95rem; margin-top: .4rem; color: var(--texto-suave); }
.nav a, .btn-cta, .btn-a11y { white-space: nowrap; }
/* O logo nunca encolhe; a barra do topo usa mais largura em telas grandes */
.topo__marca { flex: 0 0 auto; }
.topo__marca img { max-width: none; }
.topo__barra { max-width: 92rem; }

/* RiskFlow e participações em eventos */
.riskflow { margin-top: 2rem; max-width: 52rem; padding: 1.4rem 1.5rem; border-radius: var(--raio-p); background: var(--cartao); border: 1px solid var(--linha); border-left: 8px solid var(--laranja); }
.riskflow h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.riskflow p { margin: 0 0 .6rem; }
.riskflow a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.participacoes__titulo { font-size: 1.15rem; margin: 2.5rem 0 1rem; }
.participacoes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .75rem 2rem; max-width: 64rem; }
.participacoes li { display: grid; gap: .2rem; padding: .8rem 0; border-top: 1px solid var(--linha); }
.participacoes span { color: var(--texto-suave); }
