/* ───────── Fonte: Inter (a mesma do site de base), hospedada localmente ───────── */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/static/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/static/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ───────── Paleta extraída da logo ───────── */
:root {
  --verde-950: #072b14;
  --verde-900: #0c3a1b;
  --verde-800: #14532d;
  --verde-700: #1b6b38;
  --verde-600: #2e8a3e;
  --lima: #8cc63f;
  --lima-claro: #e9f4d9;
  --ouro: #f2b630;
  --ouro-escuro: #c78f0a;
  --azul: #1f5fa6;
  --azul-escuro: #0f3f78;
  --azul-claro: #dcebfa;
  --fundo: #f3f7f0;
  --cartao: #ffffff;
  --texto: #1b2a20;
  --suave: #5b6b60;
  --borda: #dde6d8;
  --erro: #b3261e;
  --erro-bg: #fde8e6;
  --aviso-bg: #fff4d6;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(12, 58, 27, .06), 0 6px 18px rgba(12, 58, 27, .07);
  --sw: 268px;               /* largura do menu lateral */
  --alvo: 44px;              /* alvo mínimo de toque */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  background: var(--fundo); color: var(--texto); font-size: 15px; line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .4em; color: var(--verde-800); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem); font-weight: 800; }
h2 { font-size: 1.15rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; }
code { background: #eef3ea; padding: 2px 6px; border-radius: 6px; }
.muted { color: var(--suave); } .small { font-size: .85rem; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Ícones (sprite próprio) ───────── */
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.ic.g { width: 2.4em; height: 2.4em; stroke-width: 1.4; }
.ic.gg { width: 3.4em; height: 3.4em; stroke-width: 1.3; }

/* ───────── Estrutura do painel ───────── */
.app { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sw); z-index: 40; display: flex; flex-direction: column; overflow-y: auto;
  background: linear-gradient(180deg, var(--verde-950), var(--verde-800) 62%, #0e4a55); color: #e8f3e2;
  transition: transform .22s ease, width .22s ease;
}
.marca { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.marca:hover { text-decoration: none; }
.marca img { width: 54px; height: 54px; border-radius: 50%; background: #fff; object-fit: cover; border: 2px solid var(--ouro); flex-shrink: 0; }
.marca .t { font-size: .68rem; line-height: 1.25; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.marca .t small { display: block; margin-top: 3px; font-weight: 600; color: var(--lima); letter-spacing: .08em; font-size: .58rem; }
.menu { padding: 6px 10px 24px; flex: 1; }
.menu h4 { margin: 18px 12px 6px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lima); font-weight: 700; }
.menu a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 12px; border-radius: 10px; color: #e8f3e2; font-weight: 500; font-size: .92rem; margin: 2px 0; }
.menu a:hover { background: rgba(255, 255, 255, .09); text-decoration: none; }
.menu a.ativo { background: var(--lima); color: var(--verde-950); font-weight: 700; }
.menu a .ic { width: 1.35em; height: 1.35em; }
.fundo-menu { display: none; }

.principal { margin-left: var(--sw); min-height: 100vh; display: flex; flex-direction: column; min-width: 0; transition: margin .22s ease; }
.topo {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 24px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda);
  box-shadow: 0 2px 0 var(--ouro);
}
.topo .esq { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topo .nome-ent { font-weight: 700; color: var(--verde-800); font-size: .9rem; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.topo .dir { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icone-btn { display: none; align-items: center; justify-content: center; width: var(--alvo); height: var(--alvo); border: 1px solid var(--borda); background: #fff; border-radius: 12px; color: var(--verde-800); cursor: pointer; }
.chip-user { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.chip-user .ini { width: 34px; height: 34px; border-radius: 50%; background: var(--verde-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.papel { background: var(--lima-claro); color: var(--verde-800); border-radius: 99px; padding: 2px 10px; font-size: .72rem; font-weight: 700; }
.conteudo { padding: 24px; max-width: 1320px; width: 100%; margin: 0 auto; flex: 1; }
.rodape-app { padding: 18px 24px; color: var(--suave); font-size: .78rem; text-align: center; }
.bnav { display: none; }

/* ───────── Componentes ───────── */
.cabeca-pagina { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cabeca-pagina > div:first-child { min-width: 0; flex: 1 1 260px; }
.cabeca-pagina p { margin: 0; color: var(--suave); }
.acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cartao { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: var(--sombra); padding: 18px; margin-bottom: 18px; }
.cartao > h2:first-child, .cartao > h3:first-child { margin-bottom: 12px; }
.grade { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.col2, .col3, .col-todas { grid-column: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 10px;
  border: 1px solid transparent; background: var(--verde-700); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background .15s, transform .05s;
}
.btn:hover { background: var(--verde-800); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.azul { background: var(--azul); } .btn.azul:hover { background: var(--azul-escuro); }
.btn.ouro { background: var(--ouro); color: #3b2a00; } .btn.ouro:hover { background: #e0a51c; }
.btn.claro { background: #fff; color: var(--verde-800); border-color: var(--borda); } .btn.claro:hover { background: var(--lima-claro); }
.btn.perigo { background: var(--erro); } .btn.perigo:hover { background: #8e1d17; }
.btn.mini { min-height: 32px; padding: 4px 10px; font-size: .8rem; border-radius: 8px; gap: 6px; }
.btn.grande { min-height: 50px; padding: 12px 26px; font-size: 1rem; border-radius: 12px; }

label { display: block; font-size: .8rem; font-weight: 600; color: var(--verde-800); margin-bottom: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #c8d4c2; border-radius: 10px; background: #fff; font: inherit; color: var(--texto);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(140, 198, 63, .45); border-color: var(--verde-600); }
input[readonly] { background: #f1f5ee; }
textarea { min-height: 84px; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9rem; color: var(--texto); min-height: 32px; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--verde-700); flex-shrink: 0; }
.ajuda { font-size: .78rem; color: var(--suave); margin-top: 4px; }

.alerta { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; border: 1px solid transparent; }
.alerta > div, .alerta > span:last-child { min-width: 0; }
.alerta.ok { background: var(--lima-claro); border-color: #bcdc8c; color: var(--verde-900); }
.alerta.erro { background: var(--erro-bg); border-color: #f2b8b3; color: var(--erro); }
.alerta.aviso { background: var(--aviso-bg); border-color: #ecd081; color: #6a4e00; }
.alerta ul { margin: 0; padding-left: 18px; }

.tabela-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: #fff; background: var(--verde-800); padding: 11px 12px; font-weight: 700; white-space: nowrap; }
th:first-child { border-top-left-radius: 10px; } th:last-child { border-top-right-radius: 10px; }
td { padding: 10px 12px; border-bottom: 1px solid var(--borda); vertical-align: middle; }
tbody tr:hover { background: #f7fbf3; }
td form { display: inline; }
.vazio { text-align: center; color: var(--suave); padding: 28px 12px; }

.selo { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.selo.Ativo, .selo.Pago, .selo.ok { background: #d9f0c2; color: #20590f; }
.selo.Atrasado, .selo.erro { background: #fbd9d5; color: #8e1d17; }
.selo.Pendente, .selo.Em { background: #fdeebb; color: #6a4e00; }
.selo.Suspenso { background: #ffe0c2; color: #7a3a00; }
.selo.Cancelado { background: #e1e5e0; color: #444; }
.selo.Alta { background: #fbd9d5; color: #8e1d17; } .selo.Média { background: #fdeebb; color: #6a4e00; } .selo.Baixa { background: var(--azul-claro); color: var(--azul-escuro); }

.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--lima-claro); display: inline-flex; align-items: center; justify-content: center; color: var(--verde-800); font-weight: 700; vertical-align: middle; margin-right: 8px; flex-shrink: 0; }
.avatar.grande { width: 104px; height: 104px; font-size: 2.2rem; margin: 0; border: 3px solid var(--lima); }

.kpi { border-radius: var(--raio); padding: 16px; color: #fff; box-shadow: var(--sombra); min-width: 0; position: relative; overflow: hidden; }
.kpi::after { content: ''; position: absolute; right: -22px; top: -22px; width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.kpi .n { font-size: clamp(1.25rem, 1rem + 1.4vw, 1.9rem); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.kpi .t { font-size: .8rem; opacity: .95; margin-top: 4px; }
.kpi.v1 { background: linear-gradient(135deg, var(--verde-800), var(--verde-600)); }
.kpi.v2 { background: linear-gradient(135deg, var(--azul-escuro), var(--azul)); }
.kpi.v3 { background: linear-gradient(135deg, var(--ouro-escuro), var(--ouro)); color: #2e2100; }
.kpi.v4 { background: linear-gradient(135deg, #8e1d17, #c9372c); }
.kpi.v5 { background: linear-gradient(135deg, #3b6b12, var(--lima)); color: #11300a; }

.barra { margin: 9px 0; }
.barra .rot { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; }
.barra .trilho { height: 10px; background: var(--lima-claro); border-radius: 99px; overflow: hidden; }
.barra .preenche { height: 100%; background: linear-gradient(90deg, var(--verde-600), var(--lima)); border-radius: 99px; }
.barra.azul .preenche { background: linear-gradient(90deg, var(--azul), #5aa0e6); }
.barra.ouro .preenche { background: linear-gradient(90deg, var(--ouro-escuro), var(--ouro)); }
.paginacao { display: flex; gap: 8px; justify-content: center; margin-top: 14px; align-items: center; flex-wrap: wrap; }

.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px 20px; margin: 0; }
.dl dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--suave); font-weight: 600; }
.dl dd { margin: 2px 0 0; font-weight: 500; word-break: break-word; }
fieldset { border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px 16px 18px; margin: 0 0 18px; background: #fff; min-width: 0; }
legend { padding: 0 8px; font-weight: 700; color: var(--verde-800); display: inline-flex; align-items: center; gap: 8px; }
.sensivel { border-color: var(--ouro); background: #fffaf0; }
.busca-select { margin-bottom: 6px; }
.foto-linha { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.dot-status { font-weight: 600; }

/* ───────── Carteirinha ───────── */
.carteira {
  width: 100%; max-width: 560px; aspect-ratio: 1.586; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; color: #fff;
  background: linear-gradient(135deg, var(--verde-950), var(--verde-700) 55%, var(--azul-escuro)); border: 3px solid var(--ouro); box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  container-type: inline-size;
}
.carteira .topo-c { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 3.2cqw; background: rgba(0, 0, 0, .28); }
.carteira .topo-c img { width: 9cqw; height: 9cqw; border-radius: 50%; background: #fff; flex-shrink: 0; }
.carteira .topo-c .cnpj-c { display: block; font-size: 2.1cqw; font-weight: 700; color: var(--ouro); letter-spacing: .03em; margin-top: .4cqw; }
.carteira .topo-c b { font-size: 2.4cqw; line-height: 1.2; display: block; text-transform: uppercase; letter-spacing: .02em; }
.carteira .corpo-c { display: flex; gap: 3cqw; padding: 2.6cqw 3.2cqw; flex: 1; align-items: center; min-height: 0; }
.carteira .foto-c { width: 20cqw; height: 25cqw; border-radius: 2cqw; background: #fff; object-fit: cover; border: .5cqw solid var(--lima); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--verde-800); font-size: 7cqw; font-weight: 800; }
.carteira .dados-c { flex: 1; font-size: 2.7cqw; min-width: 0; line-height: 1.5; }
.carteira .dados-c .nome-c { font-size: 3.6cqw; font-weight: 800; color: var(--ouro); margin-bottom: .6cqw; text-transform: uppercase; line-height: 1.15; }
.carteira .dados-c span { color: var(--lima); font-weight: 600; }
.carteira .qr-c { width: 17cqw; height: 17cqw; background: #fff; padding: .6cqw; border-radius: 1.6cqw; flex-shrink: 0; }
.carteira .faixa { background: var(--ouro); color: #3b2a00; text-align: center; font-size: 2cqw; font-weight: 800; padding: .8cqw; letter-spacing: .1em; }

/* ───────── Login / verificação ───────── */
.entrada { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--fundo); }
.entrada .lado-marca {
  display: none; position: relative; overflow: hidden; color: #fff; padding: 48px; flex-direction: column; justify-content: center; gap: 22px;
  background: radial-gradient(circle at 15% 15%, rgba(31, 95, 166, .75), transparent 45%), linear-gradient(150deg, var(--verde-950), var(--verde-700));
}
.entrada .lado-marca img { width: min(260px, 60%); border-radius: 50%; border: 4px solid var(--ouro); background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.entrada .lado-marca h1 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 2rem); text-transform: uppercase; letter-spacing: .01em; }
.entrada .lado-marca p { margin: 0; color: #d6ebc4; max-width: 440px; }
.entrada .lado-marca .lema { color: var(--ouro); font-weight: 800; letter-spacing: .12em; font-size: .78rem; text-transform: uppercase; }
.entrada .lado-form { display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login-caixa { background: #fff; border-radius: 20px; padding: 28px 24px; width: 100%; max-width: 420px; box-shadow: 0 18px 50px rgba(12, 58, 27, .18); border-top: 6px solid var(--ouro); }
.login-caixa .logo-mob { display: block; width: 112px; height: 112px; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; }
.login-caixa h1 { text-align: center; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.login-caixa .sub { text-align: center; color: var(--suave); font-size: .88rem; margin: 0 0 18px; }
.login-caixa .campo { margin-bottom: 14px; }
.login-caixa .btn { width: 100%; min-height: 48px; }
.login-caixa .voltar { display: block; text-align: center; margin-top: 14px; font-size: .88rem; }
.verif { text-align: center; }
.verif .selo-grande { width: 74px; height: 74px; margin: 6px auto 8px; display: block; }

/* ═════════ Tela inicial (landing) ═════════ */
.lp { background: #fff; }
.lp-topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lp-barra { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; }
.lp-marca { display: flex; align-items: center; gap: 10px; color: var(--verde-800); min-width: 0; }
.lp-marca:hover { text-decoration: none; }
.lp-marca img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ouro); flex-shrink: 0; }
.lp-marca span { font-size: .62rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; max-width: 280px; }
.lp-nav { display: none; align-items: center; gap: 26px; }
.lp-nav a { color: var(--texto); font-weight: 600; font-size: .92rem; }
.lp-nav a:hover { color: var(--verde-700); text-decoration: none; }
.lp-menu-mob { display: none; flex-direction: column; gap: 4px; padding: 0 20px 16px; }
.lp-menu-mob.aberto { display: flex; }
.lp-menu-mob a { padding: 12px 4px; font-weight: 600; color: var(--texto); border-bottom: 1px solid var(--borda); }
.lp-hero {
  position: relative; overflow: hidden; color: #fff; padding: 48px 0 64px;
  background: radial-gradient(circle at 85% 20%, rgba(31, 95, 166, .7), transparent 42%), radial-gradient(circle at 10% 90%, rgba(140, 198, 63, .25), transparent 40%), linear-gradient(150deg, var(--verde-950), var(--verde-800) 60%, var(--verde-700));
}
.lp-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; background: #fff; clip-path: ellipse(75% 100% at 50% 100%); }
.lp-hero-grade { display: grid; gap: 36px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.lp-selo { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 14px; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ouro); }
.lp-hero h1 { color: #fff; font-size: clamp(1.55rem, 1.1rem + 2.6vw, 2.7rem); font-weight: 800; text-transform: uppercase; line-height: 1.12; margin: 16px 0 14px; }
.lp-hero h1 em { font-style: normal; color: var(--lima); }
.lp-hero p { color: #d8ecc8; font-size: 1.05rem; max-width: 560px; margin: 0 0 24px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-cta .btn.claro { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.lp-cta .btn.claro:hover { background: rgba(255, 255, 255, .12); }
.lp-lema { margin-top: 26px; color: var(--ouro); font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.lp-visual { position: relative; display: flex; justify-content: center; padding: 8px 0 20px; }
.lp-visual .logo-g { width: min(340px, 78%); border-radius: 50%; border: 5px solid var(--ouro); background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.lp-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--verde-900); border-radius: 14px; padding: 10px 14px; font-size: .8rem; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.lp-chip .ic { color: var(--verde-700); width: 1.6em; height: 1.6em; }
.lp-chip small { display: block; font-weight: 500; color: var(--suave); font-size: .7rem; }
.lp-chip.c1 { left: 0; top: 10%; } .lp-chip.c2 { right: 0; top: 42%; } .lp-chip.c3 { left: 6%; bottom: 0; }
.lp-sec { padding: 64px 0; }
.lp-sec.alt { background: var(--fundo); }
.lp-tit { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.lp-tit h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; }
.lp-tit p { color: var(--suave); margin: 0; }
.lp-normas { display: flex; gap: 14px 32px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 6px 0 0; color: var(--verde-800); font-weight: 800; }
.lp-normas span { display: inline-flex; align-items: center; gap: 8px; }
.lp-normas small { width: 100%; text-align: center; color: var(--suave); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.lp-grade { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.lp-card { background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 24px; box-shadow: var(--sombra); transition: transform .15s, box-shadow .15s; }
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(12, 58, 27, .14); }
.lp-icone { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--verde-800), var(--verde-600)); color: #fff; margin-bottom: 14px; }
.lp-icone .ic { width: 1.7em; height: 1.7em; }
.lp-card:nth-child(3n+2) .lp-icone { background: linear-gradient(135deg, var(--azul-escuro), var(--azul)); }
.lp-card:nth-child(3n) .lp-icone { background: linear-gradient(135deg, var(--ouro-escuro), var(--ouro)); color: #2e2100; }
.lp-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lp-card p { margin: 0; color: var(--suave); font-size: .92rem; }
.lp-passo { position: relative; text-align: center; padding: 8px 12px; }
.lp-passo .num { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--ouro); color: #3b2a00; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 6px rgba(242, 182, 48, .25); }
.lp-passo h3 { margin-bottom: 4px; } .lp-passo p { margin: 0; color: var(--suave); font-size: .92rem; }
.lp-faixa { background: linear-gradient(120deg, var(--verde-900), var(--azul-escuro)); color: #fff; text-align: center; padding: 44px 0; }
.lp-faixa .lema { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.8rem, .6rem + 1vw, 1.15rem); color: var(--ouro); }
.lp-faixa .lema span:not(:last-child)::after { content: '•'; margin-left: 22px; color: var(--lima); }
.lp-faixa p { margin: 12px auto 0; max-width: 640px; color: #d2e7c4; }
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq details { background: #fff; border: 1px solid var(--borda); border-radius: 14px; padding: 4px 18px; }
.lp-faq summary { cursor: pointer; font-weight: 700; color: var(--verde-800); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 1.4rem; color: var(--verde-600); line-height: 1; }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq details p { margin: 0 0 14px; color: var(--suave); }
.lp-contato { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); max-width: 900px; margin: 0 auto; }
.lp-contato .lp-card { display: flex; gap: 14px; align-items: center; padding: 18px; }
.lp-contato .lp-icone { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.lp-final { background: radial-gradient(circle at 80% 10%, rgba(31, 95, 166, .6), transparent 45%), linear-gradient(150deg, var(--verde-950), var(--verde-700)); color: #fff; text-align: center; padding: 56px 0; }
.lp-final h2 { color: #fff; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 800; }
.lp-final p { color: #d6ebc4; margin: 0 auto 22px; max-width: 560px; }
.lp-rodape { background: var(--verde-950); color: #b9d3a6; padding: 26px 0; font-size: .82rem; text-align: center; }
.lp-rodape strong { color: #fff; text-transform: uppercase; letter-spacing: .03em; font-size: .78rem; }

/* ═════════ Responsividade ═════════ */
@media (min-width: 520px) { .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) {
  .g2, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col2 { grid-column: span 2; } .col3 { grid-column: span 2; } .col-todas { grid-column: 1 / -1; }
  .lp-grade.c2, .lp-grade.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-contato { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-caixa { padding: 34px; }
}
@media (min-width: 800px) { .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .col3 { grid-column: span 3; }
  .lp-grade.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-grade.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-nav { display: flex; } .lp-menu-btn { display: none !important; }
  .lp-hero { padding: 76px 0 96px; }
  .lp-hero-grade { grid-template-columns: 1.15fr .85fr; }
  .entrada { grid-template-columns: 1.05fr .95fr; } .entrada .lado-marca { display: flex; } .login-caixa .logo-mob { display: none; }
}
@media (min-width: 1100px) { .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Tablet: menu vira trilho de ícones; ao tocar no botão, abre por cima do conteúdo */
@media (max-width: 1099px) and (min-width: 700px) {
  :root { --sw: 76px; }
  .icone-btn { display: inline-flex; }
  .sidebar .marca .t, .sidebar .menu h4, .sidebar .menu a .txt { display: none; }
  .sidebar .marca { justify-content: center; padding: 14px 0; }
  .sidebar .menu a { justify-content: center; padding: 8px 0; }
  .sidebar .menu { padding: 6px 8px 24px; }
  body.menu-aberto .sidebar { width: 268px; box-shadow: 10px 0 40px rgba(0, 0, 0, .35); }
  body.menu-aberto .sidebar .marca .t, body.menu-aberto .sidebar .menu h4, body.menu-aberto .sidebar .menu a .txt { display: block; }
  body.menu-aberto .sidebar .menu a { justify-content: flex-start; padding: 8px 12px; }
  body.menu-aberto .sidebar .marca { justify-content: flex-start; padding: 16px; }
  body.menu-aberto .fundo-menu { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0, 0, 0, .4); }
  .topo { padding: 10px 18px; } .conteudo { padding: 20px 18px; }
}

/* Celular: menu em gaveta + barra de navegação inferior + tabelas viram cartões */
@media (max-width: 699px) {
  :root { --sw: 0px; }
  body { font-size: 15px; padding-bottom: 72px; }
  .sidebar { transform: translateX(-105%); width: 292px; }
  body.menu-aberto .sidebar { transform: none; box-shadow: 12px 0 40px rgba(0, 0, 0, .4); }
  body.menu-aberto .fundo-menu { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0, 0, 0, .5); }
  .icone-btn { display: inline-flex; }
  .topo { padding: 8px 12px; gap: 8px; }
  .topo .nome-ent { font-size: .72rem; }
  .chip-user .nm, .chip-user .papel, .topo .link-senha { display: none; }
  .conteudo { padding: 14px 12px 18px; }
  .cartao { padding: 14px; border-radius: 12px; }
  .cabeca-pagina { margin-bottom: 14px; }
  .cabeca-pagina .acoes { width: 100%; }
  .cabeca-pagina .acoes .btn { flex: 1 1 auto; }
  input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], select, textarea { font-size: 16px; min-height: 46px; }
  .btn { min-height: var(--alvo); } .btn.mini { min-height: 38px; padding: 6px 12px; }
  .avatar.grande { width: 84px; height: 84px; font-size: 1.8rem; }

  .bnav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff;
    border-top: 3px solid var(--ouro); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 18px rgba(0, 0, 0, .1);
  }
  .bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; font: inherit; font-size: .66rem; font-weight: 600; color: var(--suave); background: none; border: 0; cursor: pointer; text-decoration: none; }
  .bnav .ic { width: 1.55em; height: 1.55em; }
  .bnav a.ativo { color: var(--verde-700); } .bnav a.ativo .ic { stroke-width: 2.1; }
  .bnav .destaque span.bola { width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: linear-gradient(135deg, var(--verde-800), var(--verde-600)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(20, 83, 45, .4); border: 3px solid #fff; }

  /* tabelas em cartões (os rótulos vêm do JavaScript: data-label) */
  .tabela-wrap { overflow: visible; }
  .tabela-wrap table, .tabela-wrap tbody, .tabela-wrap tr, .tabela-wrap td { display: block; width: 100%; }
  .tabela-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabela-wrap tr { border: 1px solid var(--borda); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; background: #fff; box-shadow: 0 1px 2px rgba(12, 58, 27, .05); }
  .tabela-wrap td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--borda); text-align: right; min-width: 0; }
  .tabela-wrap td:last-child { border-bottom: 0; }
  .tabela-wrap td::before { content: attr(data-label); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--suave); font-weight: 700; text-align: left; flex-shrink: 0; }
  .tabela-wrap td[data-label=""]::before, .tabela-wrap td:not([data-label])::before { display: none; }
  .tabela-wrap td.right { flex-wrap: wrap; justify-content: flex-end; }
  .tabela-wrap td.vazio { display: block; text-align: center; }
  .tabela-wrap td.vazio::before { display: none; }
  .tabela-wrap tbody tr:hover { background: #fff; }
  .tabela-wrap td.nowrap { white-space: normal; }
  .tabela-wrap td select { width: auto; max-width: 150px; }

  .lp-wrap { padding: 0 16px; } .lp-marca span { font-size: .56rem; max-width: 200px; }
  .lp-sec { padding: 44px 0; } .lp-chip { display: none; }
  .lp-cta .btn { flex: 1 1 100%; }
  .entrada .lado-form { padding: 16px 12px; }
}

@media print {
  body { background: #fff; padding: 0; }
  .sidebar, .topo, .rodape-app, .nao-imprimir, .bnav, .fundo-menu, .cabeca-pagina .acoes { display: none !important; }
  .principal { margin: 0; } .conteudo { padding: 0; max-width: none; }
  .cartao { box-shadow: none; border: 0; }
  .carteira { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* evita um cartão órfão na última linha quando a grade tem 2 colunas */
@media (min-width: 520px) and (max-width: 799px) { .g5 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 640px) and (max-width: 1023px) { .g3 > .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ═════════ Acabamento visual ═════════ */
body { background: radial-gradient(1100px 500px at 100% -10%, rgba(140, 198, 63, .16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(31, 95, 166, .10), transparent 60%), var(--fundo); background-attachment: fixed; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.conteudo > * { animation: entra .35s ease both; }
.conteudo > *:nth-child(2) { animation-delay: .04s; } .conteudo > *:nth-child(3) { animation-delay: .08s; } .conteudo > *:nth-child(n+4) { animation-delay: .12s; }

/* títulos de página com detalhe dourado */
.cabeca-pagina h1 { position: relative; padding-bottom: 10px; }
.cabeca-pagina h1::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ouro), var(--lima)); }

/* cartões */
.cartao { border-radius: 18px; border-color: #d3dfcd; transition: box-shadow .2s, transform .2s; }
.cartao > h2:first-child { display: flex; align-items: center; gap: 10px; }
.cartao > h2:first-child::before { content: ''; width: 5px; height: 1.1em; border-radius: 4px; background: linear-gradient(180deg, var(--lima), var(--verde-600)); flex-shrink: 0; }
.cartao:hover { box-shadow: 0 2px 4px rgba(12, 58, 27, .06), 0 12px 28px rgba(12, 58, 27, .10); }
.sensivel > h2:first-child::before, fieldset.sensivel legend::before { background: var(--ouro); }

/* botões com profundidade */
.btn { box-shadow: 0 1px 2px rgba(12, 58, 27, .18), inset 0 1px 0 rgba(255, 255, 255, .12); background-image: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent); }
.btn.claro { box-shadow: 0 1px 2px rgba(12, 58, 27, .08); background-image: none; }
.btn:hover { box-shadow: 0 4px 12px rgba(12, 58, 27, .22); }

/* tabelas */
tbody tr:nth-child(even) { background: #fafcf8; }
tbody tr:hover { background: #f1f8e8; }
th { background: linear-gradient(180deg, var(--verde-700), var(--verde-800)); }

/* indicadores */
.kpi { padding: 18px; border-radius: 18px; }
.kpi .kpi-ic { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; z-index: 1; }
.kpi .kpi-ic .ic { width: 1.5em; height: 1.5em; }
.kpi .n, .kpi .t { position: relative; z-index: 1; }
.kpi .t { font-weight: 500; }

/* menu lateral */

.menu a { position: relative; transition: background .15s, transform .15s; }
.menu a:hover { transform: translateX(2px); }
.menu a.ativo::before { content: ''; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ouro); }
.marca img { box-shadow: 0 0 0 4px rgba(242, 182, 48, .25); }

/* notificações do administrador */
.contador { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #e53935; color: #fff; font-size: .7rem; font-weight: 800; line-height: 1; margin-left: auto; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.contador[hidden] { display: none; }
.sino { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--borda); background: #fff; color: var(--verde-800); }
.sino:hover { background: var(--lima-claro); text-decoration: none; }
.sino .contador { position: absolute; top: -6px; right: -6px; margin: 0; }
.sino:has(.contador:not([hidden])) .ic { animation: balanca 1.6s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes balanca { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 90% { transform: rotate(8deg); } }
@media (max-width: 1099px) and (min-width: 700px) { .sidebar:not(:hover) .menu a .contador { position: absolute; top: 2px; right: 6px; margin: 0; } body.menu-aberto .sidebar .menu a .contador { position: static; } }

/* login: links auxiliares */
.login-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .86rem; }
.login-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 36px; }
.login-caixa { position: relative; overflow: hidden; }
.login-caixa::after { content: ''; position: absolute; right: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 198, 63, .25), transparent 70%); pointer-events: none; }

/* página Sobre */
.sobre-cartao { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, #fff, var(--lima-claro)); }
.sobre-logo { width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--ouro); box-shadow: 0 10px 28px rgba(12, 58, 27, .2); object-fit: cover; }
.sobre-cartao > div { flex: 1 1 280px; min-width: 0; }

/* tela inicial */
.lp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at 18% 28%, rgba(255, 255, 255, .10) 0 2px, transparent 3px) 0 0 / 46px 46px, radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .08) 0 3px, transparent 4px) 0 0 / 70px 70px; }
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero::after { height: 70px; clip-path: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40c100-40 200-40 300 0s200 40 300 0 200-40 300 0 200 40 300 0V70H0z' fill='%23ffffff'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.lp-visual .logo-g { animation: flutua 6s ease-in-out infinite; }
.lp-chip { animation: flutua 5s ease-in-out infinite; }
.lp-chip.c2 { animation-delay: -1.5s; } .lp-chip.c3 { animation-delay: -3s; }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.lp-tit h2 { position: relative; padding-bottom: 14px; }
.lp-tit h2::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 64px; height: 4px; margin-left: -32px; border-radius: 4px; background: linear-gradient(90deg, var(--ouro), var(--lima)); }
.lp-card { position: relative; overflow: hidden; }
.lp-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--verde-600), var(--lima)); opacity: 0; transition: opacity .2s; }
.lp-card:hover::before { opacity: 1; }
a.lp-card { color: inherit; } a.lp-card:hover { text-decoration: none; }
.lp-icone { box-shadow: 0 8px 18px rgba(12, 58, 27, .22); }
.lp-contato .lp-card h3 { margin: 0 0 2px; }
.lp-contato .lp-card p { word-break: break-word; }
.lp-topo { box-shadow: 0 1px 0 var(--borda), 0 6px 20px rgba(12, 58, 27, .05); }
.lp-rodape { line-height: 1.8; }
@media (prefers-reduced-motion: reduce) { .lp-visual .logo-g, .lp-chip, .sino .ic, .conteudo > * { animation: none !important; } }

/* ═════════ Barras de rolagem no padrão do site ═════════ */
html { scrollbar-width: thin; scrollbar-color: var(--verde-600) #e6efe0; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #e6efe0; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--verde-600), var(--verde-800)); border-radius: 99px; border: 2px solid #e6efe0; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--lima), var(--verde-600)); }

/* menu lateral: trilho fino e discreto, com brilho lima/dourado */
.sidebar {
  scrollbar-width: thin; scrollbar-color: rgba(140, 198, 63, .65) transparent; overscroll-behavior: contain;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40c25-20 50-20 75 0s50 20 75 0 50-20 75 0 50 20 75 0V80H0z' fill='%238cc63f' fill-opacity='.16'/%3E%3C/svg%3E") bottom / 100% 110px no-repeat,
    linear-gradient(180deg, var(--verde-950), var(--verde-800) 62%, #0e4a55);
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.sidebar::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(140, 198, 63, .75), rgba(242, 182, 48, .75)); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
.sidebar::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--lima), var(--ouro)); background-clip: padding-box; }
/* esconde o trilho enquanto o mouse está fora do menu (aparece ao passar o mouse) */
@media (hover: hover) {
  .sidebar { scrollbar-color: transparent transparent; }
  .sidebar:hover { scrollbar-color: rgba(140, 198, 63, .65) transparent; }
  .sidebar::-webkit-scrollbar-thumb { visibility: hidden; }
  .sidebar:hover::-webkit-scrollbar-thumb { visibility: visible; }
}
.tabela-wrap::-webkit-scrollbar { height: 9px; }

/* ═════════ Ícones em títulos, seções e campos ═════════ */
/* título da página: ícone num selo com degradê */
.cabeca-pagina h1 { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.cabeca-pagina h1 > .ic:first-child {
  width: 2.1em; height: 2.1em; padding: .5em; flex-shrink: 0; border-radius: 14px; color: #fff; stroke-width: 1.8; vertical-align: 0;
  background: linear-gradient(135deg, var(--verde-800), var(--verde-600)); box-shadow: 0 6px 14px rgba(20, 83, 45, .28);
}
.cabeca-pagina h1::after { left: 0; }
.cabeca-pagina > div:first-child p { padding-left: 0; }
@media (max-width: 699px) { .cabeca-pagina h1 > .ic:first-child { width: 1.9em; height: 1.9em; padding: .42em; border-radius: 12px; } }

/* título das seções: ícone no lugar da barrinha */
.cartao > h2:first-child:has(.ic)::before, fieldset > legend:has(.ic)::before { display: none; }
.cartao > h2 .ic, legend .ic { color: var(--verde-600); width: 1.35em; height: 1.35em; }
.sensivel > h2 .ic, fieldset.sensivel legend .ic { color: var(--ouro-escuro); }
legend { font-size: 1rem; }

/* campos com ícone (busca, e-mail, senha…) */
.input-ic { position: relative; }
.input-ic > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 1.15em; height: 1.15em; color: var(--suave); pointer-events: none; z-index: 1; }
.input-ic > input { padding-left: 40px; }
.input-ic:focus-within > .ic { color: var(--verde-700); }

/* estados vazios e rótulos */
.vazio .ic { color: #b3c2ab; margin-bottom: 6px; }
.dl dt { display: flex; align-items: center; gap: 6px; }
.dl dt .ic { width: 1.1em; height: 1.1em; color: var(--verde-600); }
.paginacao .btn .ic { width: 1.1em; height: 1.1em; }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn.mini .ic { width: 1.05em; height: 1.05em; }

/* tela inicial: selo de ícone acima de cada título de seção */
.lp-tit-ic { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 12px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--verde-800), var(--verde-600)); box-shadow: 0 10px 22px rgba(20, 83, 45, .3); }
.lp-tit-ic .ic { width: 1.8em; height: 1.8em; stroke-width: 1.6; }
.lp-tit-ic.claro { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px rgba(242, 182, 48, .6); color: var(--ouro); }
.lp-final .lp-wrap { display: flex; flex-direction: column; align-items: center; }
.lp-faq summary > span { display: inline-flex; align-items: center; gap: 12px; }
.lp-faq summary .ic { color: var(--verde-600); width: 1.4em; height: 1.4em; }
.lp-contato .lp-card .lp-icone .ic { width: 1.6em; height: 1.6em; }

/* login e telas de pedido: botões e links com ícone alinhados */
.login-caixa .btn .ic { width: 1.2em; height: 1.2em; }
.login-caixa .voltar .ic, .login-links .ic { width: 1.1em; height: 1.1em; }

/* ═════════ Novidades: boas-vindas, estatísticas, atalhos, vídeo ═════════ */
.boas-vindas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: linear-gradient(120deg, #fff, var(--lima-claro)); border-left: 6px solid var(--ouro); }
.boas-vindas > h2::before, .boas-vindas .bv-txt h2::before { display: none; }
.bv-ic { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, var(--azul-escuro), var(--azul)); box-shadow: 0 10px 22px rgba(15, 63, 120, .3); }
.bv-ic .ic { width: 2.2em; height: 2.2em; }
.bv-txt { flex: 1 1 280px; min-width: 0; }
.bv-txt h2 { margin-bottom: 4px; }
.bv-txt p { margin: 0 0 6px; color: var(--suave); }
.bv-txt .dica { color: var(--verde-800); background: rgba(255, 255, 255, .7); border: 1px dashed #bcdc8c; border-radius: 10px; padding: 8px 12px; }
.boas-vindas .acoes { flex: 0 0 auto; }
@media (max-width: 699px) { .boas-vindas .acoes { width: 100%; } .boas-vindas .acoes .btn { flex: 1 1 100%; } .bv-ic { width: 56px; height: 56px; } }

.colunas { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 18px; }
.col-g { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.col-g .b { width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--lima), var(--verde-600)); min-height: 2px; transition: filter .15s; }
.col-g:hover .b { filter: brightness(1.12); }
.col-g .v { font-size: .62rem; color: var(--verde-800); font-weight: 700; white-space: nowrap; min-height: 1em; }
.col-g .m { font-size: .62rem; color: var(--suave); white-space: nowrap; }
.grade.g2 > .cartao:nth-child(2) .col-g .b { background: linear-gradient(180deg, var(--ouro), var(--ouro-escuro)); }
@media (max-width: 520px) { .col-g .v { display: none; } .col-g .m { font-size: .56rem; } }

.atalho { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--borda); border-radius: 16px; padding: 16px; color: inherit; box-shadow: var(--sombra); transition: transform .15s, box-shadow .15s; }
.atalho:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(12, 58, 27, .14); text-decoration: none; }
.atalho .lp-icone { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.atalho h3 { margin: 0 0 2px; font-size: .98rem; } .atalho p { margin: 0; color: var(--suave); font-size: .84rem; }
.video-tutorial { width: 100%; border-radius: 12px; background: #000; margin: 6px 0 10px; max-height: 260px; }
.carteira.verso { margin-top: 0; background: linear-gradient(135deg, var(--azul-escuro), var(--verde-800) 60%, var(--verde-950)); }

/* ═════════ QR Code do sócio ═════════ */
.qr-cartao { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, #fff, var(--lima-claro)); }
.qr-cartao > img { width: 180px; height: 180px; border-radius: 16px; border: 3px solid var(--ouro); background: #fff; padding: 6px; box-shadow: 0 10px 24px rgba(12, 58, 27, .18); flex-shrink: 0; }
.qr-cartao > div { flex: 1 1 280px; min-width: 0; }
.qr-cartao h2 { margin-bottom: 6px; }
@media (max-width: 699px) { .qr-cartao { justify-content: center; text-align: center; } .qr-cartao .acoes { justify-content: center; } }

/* página pública aberta pelo QR (somente se o administrador liberou) */
.qr-topo { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: linear-gradient(120deg, var(--verde-950), var(--verde-800)); color: #fff; border-bottom: 3px solid var(--ouro); }
.qr-topo img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ouro); background: #fff; }
.qr-topo strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.25; }
.qr-corpo { max-width: 940px; margin: 0 auto; padding: 18px 14px 30px; }
.qr-id { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border-left: 6px solid var(--ouro); }
.qr-id h1 { margin-bottom: 4px; }
@media (max-width: 699px) { .qr-id { justify-content: center; text-align: center; } .qr-id .acoes { justify-content: center; } }


/* grupos de caixas de seleção (formulário) */
.checks { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 4px 0; }
.checks .check { min-height: 34px; }


/* ═════ Seleção com busca (uma única caixa) ═════ */
.combo { position: relative; }
.combo > input { padding-right: 38px; cursor: text;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 9L12 15.5 18.5 9'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.combo-select { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.combo-lista { position: absolute; z-index: 70; left: 0; right: 0; top: 100%; margin-top: 4px; max-height: 270px; overflow-y: auto; padding: 4px;
  background: #fff; border: 1px solid var(--borda); border-radius: 12px; box-shadow: 0 12px 30px rgba(12, 58, 27, .18); }
.combo-lista[hidden] { display: none; }
.combo-item { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .92rem; line-height: 1.3; }
.combo-item.ativo, .combo-item:hover { background: var(--lima-claro); }
.combo-item.atual { font-weight: 700; color: var(--verde-800); }
.combo-vazio { padding: 12px; color: var(--suave); font-size: .9rem; text-align: center; }


/* ═════ Avisos (popup minimalista: quem entrou no sistema) ═════ */
.notif-pilha { position: fixed; z-index: 200; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; max-width: calc(100vw - 32px); }
.notif { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; background: #fff; color: var(--texto);
  border: 1px solid var(--borda); border-left: 3px solid var(--lima); border-radius: 10px; box-shadow: 0 8px 24px rgba(12, 58, 27, .16);
  font-size: .88rem; line-height: 1.3; animation: notif-entra .25s ease-out; }
.notif.saindo { opacity: 0; transform: translateX(12px); transition: opacity .25s, transform .25s; }
.notif-ponto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--verde-600); }
.notif-x { flex: none; border: 0; background: none; color: var(--suave); font-size: 1.15rem; line-height: 1; padding: 2px 6px; cursor: pointer; border-radius: 6px; }
.notif-x:hover { background: var(--lima-claro); }
@keyframes notif-entra { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .notif { animation: none; } .notif.saindo { transition: none; } }


/* ═════ Documentos anexados ao sócio ═════ */
.anexo-lista-chk { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.anexo-lista-chk .selo { display: inline-flex; align-items: center; gap: 5px; }
.anexo-lista-chk .selo .ic { width: 14px; height: 14px; }
.anexo-form { padding: 14px; border: 1px dashed var(--borda); border-radius: 12px; background: var(--fundo); }

/* botões coloridos de anexo no topo do sócio */
.btn.roxo { background: #6a3fa0; } .btn.roxo:hover { background: #55307f; }
.anexo-rapido-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.anexo-rapido-titulo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--verde-800); margin-right: 6px; }
.anexo-rapido { margin: 0; display: contents; }
.anexo-rapido-barra .btn { height: 40px; min-height: 40px; padding: 0 16px; box-sizing: border-box; white-space: nowrap; }
.anexo-rapido .btn { cursor: pointer; }
.anexo-rapido .btn.enviando { opacity: .6; pointer-events: none; }


/* dependentes no formulário do sócio */
.dep-lista { display: flex; flex-direction: column; gap: 8px; }
.dep-linha { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
@media (max-width: 699px) { .dep-linha { grid-template-columns: 1fr; padding-bottom: 8px; border-bottom: 1px dashed var(--borda); } }
