/* Leonello Projetos — folha de estilo
   Conceito: a página como prancha técnica. Moldura fina, cotas, malha isométrica
   e um carimbo no rodapé. Cores e tipos da identidade visual (Barlow + paleta aço/concreto). */

:root {
  --navy: #1B2D3E;
  --steel: #2E4D66;
  --mid: #5D7D98;
  --concreto: #8D9BA8;
  --concreto-claro: #D9DFE5;
  --grafite: #3A4048;

  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --surface-2: #EBEFF3;
  --ink: #1B2D3E;
  --text: #3A4048;
  --muted: #5F6E7C;
  --line: #D3DAE1;
  --line-strong: #AEB9C4;
  --accent: #2E4D66;
  --accent-ink: #FFFFFF;
  --grid: rgba(93, 125, 152, .12);
  --band: #1B2D3E;
  --band-text: #D9DFE5;
  --band-line: rgba(217, 223, 229, .16);
  --focus: #2F7FC1;

  --f-display: "Barlow Semi Condensed", "Barlow", "Arial Narrow", Arial, sans-serif;
  --f-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1822;
    --surface: #14212D;
    --surface-2: #1A2a38;
    --ink: #E6ECF1;
    --text: #C3CDD6;
    --muted: #8FA2B3;
    --line: #253646;
    --line-strong: #3A4F62;
    --accent: #8FB0CC;
    --accent-ink: #0E1822;
    --grid: rgba(143, 169, 192, .08);
    --band: #0A121A;
    --band-text: #C3CDD6;
    --band-line: rgba(143, 169, 192, .16);
    --focus: #7DB8EA;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1822;
  --surface: #14212D;
  --surface-2: #1A2a38;
  --ink: #E6ECF1;
  --text: #C3CDD6;
  --muted: #8FA2B3;
  --line: #253646;
  --line-strong: #3A4F62;
  --accent: #8FB0CC;
  --accent-ink: #0E1822;
  --grid: rgba(143, 169, 192, .08);
  --band: #0A121A;
  --band-text: #C3CDD6;
  --band-line: rgba(143, 169, 192, .16);
  --focus: #7DB8EA;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.1; margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.lead { font-size: 1.15rem; max-width: 60ch; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 48px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-light { display: none; } :root:not([data-theme="light"]) .brand .logo-dark { display: block; } }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 .95rem var(--f-display); letter-spacing: .06em; text-transform: uppercase;
    background: none; border: 1px solid var(--line-strong); color: var(--ink);
    padding: 8px 12px; border-radius: var(--radius); cursor: pointer;
  }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
  }
  .nav:not(.open) { display: none; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav .btn { margin: 14px 0 0; text-align: center; }
  .brand img { height: 40px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .03em;
  padding: 12px 22px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink) !important; text-decoration: none;
  border: 1px solid var(--accent); cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--ink); border-color: var(--ink); color: var(--bg) !important; }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink) !important; border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Malha / prancha ---------- */
.iso-grid {
  background-image:
    repeating-linear-gradient(30deg, var(--grid) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(150deg, var(--grid) 0 1px, transparent 1px 34px);
}
.sheet { border: 1px solid var(--line-strong); background: var(--surface); position: relative; }

/* Cota: linha com marcas nas pontas e valor no centro */
.cota { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; }
.cota::before, .cota::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.cota span { white-space: nowrap; }
.cota.tick::before { box-shadow: -1px 0 0 0 currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-text h1 em { font-style: normal; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-figure { position: relative; min-width: 0; }
.hero-figure img { width: 100%; max-width: 440px; margin-inline: auto; }
.hero-figure .sim-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-figure .sim-light { display: none; } :root:not([data-theme="light"]) .hero-figure .sim-dark { display: block; } }
:root[data-theme="dark"] .hero-figure .sim-light { display: none; }
:root[data-theme="dark"] .hero-figure .sim-dark { display: block; }
.hero-figure .cota { margin-top: 8px; max-width: 440px; margin-inline: auto; }
.hero-figure figcaption { text-align: center; margin-top: 4px; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { max-width: 240px; }
}

/* Carimbo (title block) com números do escritório */
.carimbo-band { border-top: 1px solid var(--line-strong); background: var(--surface); }
.carimbo, .hero .wrap.carimbo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-block: 0; align-items: stretch; }
.carimbo > div { padding: 18px 20px; border-right: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.carimbo > div:last-child { border-right: 0; }
.carimbo > div:first-child { padding-left: 0; }
.carimbo strong { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.carimbo small { font-size: .92rem; color: var(--text); }
@media (max-width: 720px) {
  .carimbo, .hero .wrap.carimbo { grid-template-columns: 1fr 1fr; }
  .carimbo > div:nth-child(2) { border-right: 0; }
  .carimbo > div:nth-child(odd) { padding-left: 0; }
  .carimbo > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head p { color: var(--text); }
.section-alt { background: var(--surface); }

.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(40px, 6vw, 72px); display: grid; gap: 14px; }
.page-head p { max-width: 64ch; font-size: 1.1rem; }

/* ---------- Serviços (cartões) ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0; border: 1px solid var(--line-strong); background: var(--surface); }
.service { padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; }
.service:hover { background: var(--surface-2); }
.service .ill { width: 92px; height: 72px; color: var(--accent); }
.service h3 { display: flex; align-items: baseline; gap: 10px; }
.service .count { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); letter-spacing: .06em; font-weight: 400; }
.service p { font-size: .98rem; }

/* ---------- Detalhe de serviço ---------- */
.svc-detail { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 4vw, 56px); padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail .side { display: grid; gap: 14px; align-content: start; }
.svc-detail .ill { width: 150px; height: 118px; color: var(--accent); }
.svc-detail .body { display: grid; gap: 16px; min-width: 0; max-width: 72ch; }
.svc-detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.svc-detail li { padding-left: 22px; position: relative; }
.svc-detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--accent); }
.svc-detail .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-detail h4 { font-size: 1.02rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 760px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail .cols { grid-template-columns: 1fr; } }

/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: etapa; border-top: 2px solid var(--ink); }
.process li { list-style: none; padding: 18px 18px 0 0; display: grid; gap: 8px; align-content: start; counter-increment: etapa; position: relative; min-width: 0; }
.process li::before { content: "ETAPA " counter(etapa, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.process li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--bg); border: 2px solid var(--ink); border-radius: 50%; }
.process h3 { font-size: 1.15rem; }
.process p { font-size: .95rem; }
.process ol, ol.process { margin: 0; padding: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Portfólio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  font: 500 .98rem var(--f-display); letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-strong);
}
.chip .n { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: inherit; opacity: .75; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius); padding: 0 12px; min-width: 0; flex: 0 1 300px; }
.search input { border: 0; background: transparent; color: var(--ink); font: 400 1rem var(--f-body); padding: 10px 0; width: 100%; min-width: 0; }
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.result-count { margin-bottom: 14px; }

.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.project { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.project:hover { border-color: var(--line-strong); }
.project .thumb { aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-items: center; border-bottom: 1px solid var(--line); color: var(--accent); position: relative; }
.project .thumb svg { width: 46%; height: auto; }
.project .thumb .sheet-no { position: absolute; right: 10px; bottom: 8px; }
.project .thumb .cat-tag { position: absolute; left: 10px; top: 10px; }
.project .info { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.project h3 { font-size: 1.12rem; }
.project p { font-size: .95rem; }
.project .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
.tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.empty { padding: 40px; text-align: center; border: 1px dashed var(--line-strong); color: var(--muted); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.about > * { min-width: 0; }
.about .text { display: grid; gap: 16px; max-width: 62ch; }
.facts { display: grid; gap: 0; border: 1px solid var(--line-strong); background: var(--surface); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { margin: 0; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .facts div { grid-template-columns: 1fr; gap: 2px; } }

.placeholder { background: color-mix(in srgb, #E8B04B 22%, transparent); border-bottom: 1px dashed #B7832A; padding: 0 3px; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact > * { min-width: 0; }
.channels { display: grid; gap: 0; border: 1px solid var(--line-strong); background: var(--surface); }
.channels > div { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.channels > div:last-child { border-bottom: 0; }
.channels strong { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-display); font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  font: 400 1rem var(--f-body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { font-size: .95rem; color: var(--ink); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--band); color: var(--band-text); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { color: #FFFFFF; max-width: 22ch; }
.cta-band p { max-width: 54ch; margin-top: 10px; }
.cta-band .btn { background: #FFFFFF; color: #1B2D3E !important; border-color: #FFFFFF; }
.cta-band .btn:hover { background: var(--concreto-claro); border-color: var(--concreto-claro); color: #1B2D3E !important; }

/* ---------- Rodapé (carimbo) ---------- */
.site-footer { background: var(--band); color: var(--band-text); border-top: 1px solid var(--band-line); font-size: .95rem; }
.site-footer .wrap { padding-block: 40px 28px; display: grid; gap: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; border: 1px solid var(--band-line); }
.foot-grid > div { padding: 18px 20px; border-right: 1px solid var(--band-line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.foot-grid > div:last-child { border-right: 0; }
.foot-grid img { width: 220px; max-width: 100%; }
.foot-grid .label { color: #8FA2B3; }
.foot-grid a { color: var(--band-text); text-decoration: none; }
.foot-grid a:hover { color: #FFFFFF; text-decoration: underline; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #8FA2B3; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:nth-child(2) { border-right: 0; }
  .foot-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--band-line); }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > div { border-right: 0; border-bottom: 1px solid var(--band-line); }
  .foot-grid > div:last-child { border-bottom: 0; }
}

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #1F8F5A; color: #FFFFFF; box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.wa-float:hover { color: #FFFFFF; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }

.theme-toggle { background: none; border: 1px solid var(--line); color: var(--muted); width: 38px; height: 38px; border-radius: var(--radius); display: inline-grid; place-items: center; cursor: pointer; }
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.header-tools { display: flex; align-items: center; gap: 10px; order: 3; }
.site-header .nav { order: 2; margin-left: auto; }
.site-header .brand { order: 1; }

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

/* ---------- Imagens das pranchas ---------- */
.project .thumb.has-img { padding: 0; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: zoom-in; overflow: hidden; width: 100%; font: inherit; }
.project .thumb.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .35s ease; }
.project .thumb.has-img:hover img, .project .thumb.has-img:focus-visible img { transform: scale(1.04); }
.project .thumb.has-img .sheet-no { background: rgba(27,45,62,.88); color: #fff; padding: 3px 8px; border-radius: 4px; }
.project .thumb.has-img .cat-tag { box-shadow: 0 1px 3px rgba(0,0,0,.15); }
html[data-theme="dark"] .project .thumb.has-img img { filter: brightness(.92); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .project .thumb.has-img img { filter: brightness(.92); } }
body.lb-aberto { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,20,28,.94); display: grid; grid-template-rows: auto 1fr auto; padding: 12px 16px 14px; gap: 10px; color: #E8EDF2; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lb-titulo { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-cont { color: #AFC0CF; }
.lb-fechar { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 6px 12px; font: inherit; cursor: pointer; }
.lb-palco { position: relative; display: grid; place-items: center; min-height: 0; }
.lb-palco img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 4px; box-shadow: 0 8px 40px rgba(0,0,0,.5); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 6px; background: rgba(27,45,62,.85); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-nav[hidden] { display: none; }
.lb-ant { left: 4px; } .lb-prox { right: 4px; }
.lb-fechar:focus-visible, .lb-nav:focus-visible { outline: 2px solid #8FB3D1; outline-offset: 2px; }
.lb-nota { font-size: .82rem; color: #AFC0CF; text-align: center; margin: 0; }
