/* Página pública da Ouvidoria (ouvidoria.sollucao.net/<grupo>).
   A capa usa as cores do grupo (--cor, --fundo); o formulário é o padrão do People. */
:root{ --cor:#0B1E3F; --fundo:#F2F5FA; --texto:#1d2733; --suave:#5d6875; --linha:#e3e7ed; --erro:#b42318; --ok:#1e7e34; }
*{ box-sizing:border-box; }
html, body{ margin:0; min-height:100%; }
body{ font-family:'Poppins', system-ui, sans-serif; color:var(--texto); background:var(--fundo);
  background-image:radial-gradient(circle at 15% 10%, rgba(255,255,255,.85), transparent 45%), radial-gradient(circle at 85% 90%, color-mix(in srgb, var(--cor) 8%, transparent), transparent 50%);
  -webkit-font-smoothing:antialiased; }
button, input, select, textarea{ font:inherit; color:inherit; }
.ov{ min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:24px 16px 88px; }
.ov-cartao{ width:100%; max-width:520px; background:#fff; border-radius:18px; box-shadow:0 10px 40px rgba(16,24,40,.10), 0 1px 3px rgba(16,24,40,.06); padding:36px 32px 30px; }
.ov-cartao.largo{ max-width:620px; }
@media (max-width:520px){ .ov-cartao{ padding:28px 20px 24px; border-radius:14px; } }

/* capa */
.ov-capa{ text-align:center; }
.ov-logo{ width:84px; height:84px; object-fit:contain; display:block; margin:0 auto; }
.ov-logo-txt{ width:84px; height:84px; margin:0 auto; border-radius:50%; background:var(--cor); color:#fff; display:flex; align-items:center; justify-content:center; font-size:28px; font-weight:700; }
.ov-traco{ width:40px; height:3px; border-radius:2px; background:var(--cor); margin:16px auto 18px; }
.ov-capa h1{ margin:0 0 10px; font-size:26px; line-height:1.25; color:var(--cor); font-weight:700; }
.ov-capa .ov-texto{ margin:0 auto 22px; max-width:400px; color:var(--suave); font-size:15px; line-height:1.55; }
.ov-capa .ov-texto b{ color:var(--texto); }
.ov-destaques{ list-style:none; margin:0 auto 26px; padding:0; display:inline-flex; flex-direction:column; gap:10px; text-align:left; }
.ov-destaques li{ display:flex; align-items:center; gap:10px; font-size:14px; color:#39424e; }
.ov-destaques li::before{ content:""; flex:0 0 8px; height:8px; border-radius:50%; background:var(--cor); opacity:.85; }
.ov-acoes-capa{ display:flex; flex-direction:column; align-items:center; gap:12px; }
.ov-link{ background:none; border:0; padding:4px; color:var(--cor); font-size:13.5px; font-weight:500; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }

/* botões */
.ov-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 26px; border-radius:10px; border:2px solid var(--cor); background:var(--cor); color:#fff; font-weight:600; font-size:14.5px; letter-spacing:.02em; cursor:pointer; transition:filter .15s, transform .05s; }
.ov-btn:hover{ filter:brightness(1.08); }
.ov-btn:active{ transform:translateY(1px); }
.ov-btn:disabled{ opacity:.45; cursor:not-allowed; filter:none; }
.ov-btn.sec{ background:#fff; color:var(--cor); border-color:var(--linha); }
.ov-btn.sec:hover{ border-color:var(--cor); }
.ov-btn.cheio{ width:100%; }
.ov-btn-capa{ text-transform:uppercase; min-width:200px; }
:focus-visible{ outline:3px solid color-mix(in srgb, var(--cor) 45%, white); outline-offset:2px; }

/* formulário */
.ov-topo{ display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.ov-topo img{ width:40px; height:40px; object-fit:contain; }
.ov-topo .ov-logo-txt{ width:40px; height:40px; font-size:15px; margin:0; }
.ov-topo h1{ margin:0; font-size:20px; color:var(--cor); line-height:1.2; }
.ov-topo small{ display:block; color:var(--suave); font-size:12.5px; font-weight:400; }
.ov-abertura{ margin:-8px 0 18px; font-size:14px; color:var(--suave); line-height:1.5; }
.ov-campo{ margin-bottom:20px; }
.ov-rotulo{ display:block; font-size:13.5px; font-weight:600; color:var(--texto); margin-bottom:8px; }
.ov-rotulo em{ font-style:normal; font-weight:400; color:var(--suave); }
.ov-tipos{ display:grid; grid-template-columns:repeat(auto-fit, minmax(110px, 1fr)); gap:8px; }
.ov-tipo{ position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 8px 12px; border:1.5px solid var(--linha); border-radius:12px; background:#fff; cursor:pointer; text-align:center; transition:border-color .15s, background .15s; }
.ov-tipo i{ font-size:20px; color:var(--suave); }
.ov-tipo span{ font-size:13px; font-weight:500; }
.ov-tipo:hover{ border-color:color-mix(in srgb, var(--cor) 50%, white); }
.ov-tipo[aria-checked="true"]{ border-color:var(--cor); background:color-mix(in srgb, var(--cor) 7%, white); }
.ov-tipo[aria-checked="true"] i{ color:var(--cor); }
.ov-tipo.den[aria-checked="true"]{ border-color:#b42318; background:#fef3f2; }
.ov-tipo.den[aria-checked="true"] i{ color:#b42318; }
.ov-dica{ font-size:12.5px; color:var(--suave); margin:8px 2px 0; line-height:1.45; }
.ov-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.ov-chip{ padding:7px 12px; border:1.5px solid var(--linha); border-radius:999px; background:#fff; font-size:12.5px; cursor:pointer; }
.ov-chip[aria-checked="true"]{ border-color:#b42318; background:#fef3f2; color:#912018; font-weight:500; }
.ov-entrada, .ov-select, .ov-area{ width:100%; border:1.5px solid var(--linha); border-radius:10px; background:#fbfcfd; padding:11px 13px; font-size:14.5px; transition:border-color .15s, background .15s; }
.ov-area{ min-height:130px; resize:vertical; line-height:1.5; }
.ov-entrada:focus, .ov-select:focus, .ov-area:focus{ outline:none; border-color:var(--cor); background:#fff; }
.ov-contador{ text-align:right; font-size:11.5px; color:var(--suave); margin-top:4px; }
.ov-anexos{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.ov-anexo-btn{ display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border:1.5px solid var(--linha); border-radius:10px; background:#fbfcfd; cursor:pointer; font-size:13.5px; font-weight:500; }
.ov-anexo-btn:hover{ border-color:var(--cor); }
.ov-anexo-btn input{ display:none; }
.ov-lista-anexos{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
.ov-lista-anexos li{ display:flex; align-items:center; gap:10px; padding:6px 8px; border:1px solid var(--linha); border-radius:9px; font-size:12.5px; }
.ov-lista-anexos img{ width:38px; height:38px; object-fit:cover; border-radius:6px; }
.ov-lista-anexos .nome{ flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ov-lista-anexos .limpo{ color:var(--ok); font-size:11.5px; white-space:nowrap; }
.ov-lista-anexos button{ border:0; background:none; color:var(--suave); cursor:pointer; padding:4px 6px; }
.ov-ident{ border:1.5px solid var(--linha); border-radius:12px; padding:12px 14px; }
.ov-chave{ display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; }
.ov-chave b{ font-size:13.5px; font-weight:600; display:block; }
.ov-chave small{ font-size:12px; color:var(--suave); }
.ov-switch{ position:relative; flex:0 0 44px; width:44px; height:26px; border-radius:13px; background:#cfd5dd; border:0; cursor:pointer; transition:background .15s; }
.ov-switch::after{ content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.2); transition:left .15s; }
.ov-switch[aria-checked="true"]{ background:var(--cor); }
.ov-switch[aria-checked="true"]::after{ left:21px; }
.ov-ident-campos{ display:grid; gap:8px; margin-top:12px; }
.ov-privacidade{ display:flex; gap:10px; padding:12px 14px; border-radius:12px; background:color-mix(in srgb, var(--cor) 6%, white); font-size:12.5px; line-height:1.5; color:#39424e; margin:4px 0 22px; }
.ov-privacidade i{ color:var(--cor); margin-top:2px; }
.ov-rodape-form{ display:grid; grid-template-columns:1fr 1.4fr; gap:10px; }
.ov-erro{ color:var(--erro); font-size:12.5px; margin-top:6px; }

/* protocolo */
.ov-ok{ text-align:center; }
.ov-ok .ic{ width:64px; height:64px; margin:0 auto 14px; border-radius:50%; background:#e8f5eb; color:var(--ok); display:flex; align-items:center; justify-content:center; font-size:28px; }
.ov-ok h1{ margin:0 0 6px; font-size:22px; color:var(--cor); }
.ov-ok p{ margin:0 0 18px; color:var(--suave); font-size:14px; line-height:1.5; }
.ov-credenciais{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 14px; }
.ov-cred{ border:1.5px dashed color-mix(in srgb, var(--cor) 40%, white); border-radius:12px; padding:12px 10px; }
.ov-cred small{ display:block; font-size:11.5px; color:var(--suave); text-transform:uppercase; letter-spacing:.06em; }
.ov-cred b{ font-size:20px; letter-spacing:.06em; color:var(--cor); font-variant-numeric:tabular-nums; }
.ov-alerta{ display:flex; gap:10px; text-align:left; padding:12px 14px; border-radius:12px; background:#fffaeb; border:1px solid #fedf89; color:#7a4b05; font-size:12.5px; line-height:1.5; margin-bottom:18px; }
.ov-pilha{ display:flex; flex-direction:column; gap:8px; }

/* acompanhar */
.ov-status{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:12px 14px; border-radius:12px; background:#f6f8fa; margin-bottom:16px; font-size:13px; }
.ov-selo{ display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#eef2f6; color:#475467; }
.ov-selo.info{ background:#e8f1fb; color:#1f5f99; } .ov-selo.warning{ background:#fdf4df; color:#8a6414; } .ov-selo.success{ background:#e8f5eb; color:#1e7e34; }
.ov-conversa{ display:flex; flex-direction:column; gap:10px; margin:0 0 16px; }
.ov-msg{ max-width:88%; padding:10px 13px; border-radius:14px; font-size:13.5px; line-height:1.5; }
.ov-msg small{ display:block; font-size:11px; color:var(--suave); margin-bottom:3px; }
.ov-msg.eu{ align-self:flex-end; background:color-mix(in srgb, var(--cor) 10%, white); border-bottom-right-radius:4px; }
.ov-msg.comite{ align-self:flex-start; background:#f2f4f7; border-bottom-left-radius:4px; }
.ov-vazio{ text-align:center; color:var(--suave); font-size:13px; padding:12px 0; }

/* indisponível */
.ov-indisp{ text-align:center; }
.ov-indisp .ic{ width:64px; height:64px; margin:0 auto 14px; border-radius:50%; background:#f2f4f7; color:#667085; display:flex; align-items:center; justify-content:center; font-size:26px; }
.ov-indisp h1{ margin:0 0 8px; font-size:20px; color:#1d2733; }
.ov-indisp p{ margin:0; color:var(--suave); font-size:14px; line-height:1.55; }

.ov-selo-people{ margin-top:22px; display:flex; align-items:center; justify-content:center; gap:7px; font-size:11.5px; color:#8a94a3; }
.ov-selo-people img{ width:16px; height:16px; }
.ov-previa{ position:fixed; top:0; left:0; right:0; z-index:20; background:#b6852b; color:#fff; text-align:center; font-size:12.5px; font-weight:500; padding:7px 12px; }

/* barra do protótipo (não existe na página real) */
.demo{ position:fixed; left:12px; right:12px; bottom:12px; z-index:30; display:flex; justify-content:center; pointer-events:none; }
.demo-barra{ pointer-events:auto; display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; max-width:100%; padding:7px 8px 7px 14px; border-radius:12px; background:#0c1f33; color:#cdd6e2; font-size:12px; box-shadow:0 6px 20px rgba(0,0,0,.25); }
.demo-barra b{ color:#fff; font-weight:600; }
.demo-barra select{ background:#16304d; color:#fff; border:1px solid #2c4a6c; border-radius:7px; padding:4px 6px; font-size:12px; }
.demo-barra button{ background:#B6852B; color:#fff; border:0; border-radius:7px; padding:5px 10px; font-size:12px; font-weight:600; cursor:pointer; }
.demo-barra .motivo{ color:#f8d58a; }
.ov-area.curta{ min-height:90px; }
.fa-spin{ animation: ov-gira 1s linear infinite; }
@keyframes ov-gira{ to{ transform: rotate(360deg); } }
