/* Dashboards financeiros */
.dash-topo { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .dash-topo { grid-template-columns: 1fr; } }
.dash-topo .hero-texto { gap: 20px; }

/* moldura de navegador */
.moldura { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(173,246,177,.25); }
.moldura-barra { display: flex; gap: 6px; padding: 9px 12px; background: #E8EEEA; }
.moldura-barra i { width: 10px; height: 10px; border-radius: 50%; background: #C9D6CE; }
.moldura-barra i:first-child { background: #E87225; } .moldura-barra i:nth-child(2) { background: #FFB55A; } .moldura-barra i:nth-child(3) { background: #ADF6B1; }
.moldura img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }

.dash-hero-img, .dash-fig > button { all: unset; display: block; cursor: zoom-in; position: relative; border-radius: 16px; }
.dash-hero-img:focus-visible, .dash-fig > button:focus-visible { outline: 3px solid var(--pl-menta); outline-offset: 4px; }
.dash-hero-img .moldura { transition: transform .35s ease; }
.dash-hero-img:hover .moldura { transform: translateY(-4px); }
@media (min-width: 961px) { .hero .dash-hero-img .moldura { transform: perspective(1400px) rotateY(-6deg); } .hero .dash-hero-img:hover .moldura { transform: perspective(1400px) rotateY(-2deg) translateY(-4px); } }

/* galeria */
.dash-galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
@media (max-width: 760px) { .dash-galeria { grid-template-columns: 1fr; } }
.dash-fig { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.dash-fig .moldura { box-shadow: var(--shadow), 0 0 0 1px var(--border); transition: transform .3s ease, box-shadow .3s ease; }
.dash-fig > button:hover .moldura { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(4,42,43,.18), 0 0 0 1px var(--border); }
.dash-lupa { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pl-petroleo); color: var(--pl-menta); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; }
.dash-fig > button:hover .dash-lupa, .dash-fig > button:focus-visible .dash-lupa { opacity: 1; transform: none; }
.dash-fig figcaption { display: flex; flex-direction: column; gap: 4px; }
.dash-fig figcaption .publico { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.dash-fig figcaption strong { font-size: 19px; }
.dash-fig figcaption span:last-child { color: var(--text-muted); font-size: 15px; }
.dash-nota { margin-top: 28px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* faixa escura */
.faixa-dash .lista-clara { margin: 0; }
.faixa-dash .lista-clara li, .faixa-dash .lista-clara li span { color: #E6F7E8; }
.faixa-dash .lista-clara svg { color: var(--pl-menta); }

/* janela ampliada */
.dash-zoom { width: min(1240px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; overscroll-behavior: contain; }
.dash-zoom[open] { display: flex; flex-direction: column; animation: dz-entra .22s ease; }
.dash-zoom::backdrop { background: rgba(2,22,23,.78); backdrop-filter: blur(3px); }
@keyframes dz-entra { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dz-topo { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px 22px; }
.dz-legenda { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dz-legenda .publico { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.dz-legenda strong { font-size: 17px; }
.dz-img { padding: 0 16px; min-height: 0; overflow: auto; }
.dz-img img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.dz-nav { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px 14px; }
.dz-cont { font-size: 13px; color: var(--text-muted); min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .dash-zoom[open] { animation: none; } .moldura, .dash-lupa { transition: none !important; } }
.dash-zoom .icone { color: var(--text); opacity: 1; }
.dash-zoom .icone svg { width: 22px; height: 22px; stroke: currentColor; }
.dz-img { display: flex; justify-content: center; }
.dz-img img { width: auto; max-width: 100%; max-height: calc(94vh - 150px); }
