/* BIOPEP: pagina de validacao. Cores do dono (04/11): branco, preto e o azul degrade
   #41B8FB -> #0E75C6 (medido da imagem que ele mandou). */
:root {
    --azul-claro: #41B8FB;
    --azul: #1A86D3;
    --azul-escuro: #0E75C6;
    --azul-fundo: #EAF6FF;
    --grad: linear-gradient(180deg, #41B8FB 0%, #0E75C6 100%);
    --grad-diag: linear-gradient(135deg, #41B8FB 0%, #0E75C6 100%);
    --preto: #0A0D12;
    --preto-2: #161B22;
    --texto: #0A0D12;
    --texto-2: #4B5563;
    --texto-3: #6B7280;
    --borda: #E5E9EF;
    --fundo: #FFFFFF;
    --fundo-2: #F6F8FB;
    --ok: #15803D;      --ok-fundo: #ECFDF3;      --ok-borda: #A7E3BD;
    --atencao: #B45309; --atencao-fundo: #FFF8EB; --atencao-borda: #F6D08A;
    --erro: #B91C1C;    --erro-fundo: #FEF2F2;    --erro-borda: #F5B5B5;
    --raio: 16px;
    --sombra: 0 1px 2px rgb(10 13 18 / .04), 0 8px 24px rgb(10 13 18 / .06);
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--fundo); color: var(--texto);
    font: 16px/1.6 "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--azul-escuro); }
svg { flex: none; }
.caixa { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.cartao { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: var(--sombra); }

/* Faixa de aviso (ideia da Cooper Pharma) */
.aviso { background: var(--preto); color: #fff; font-size: 14px; }
.aviso-dentro { display: flex; align-items: center; gap: 10px 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; justify-content: center; text-align: center; }
.aviso-ico { width: 18px; height: 18px; color: var(--azul-claro); }
.aviso-link { color: var(--azul-claro); font-weight: 700; text-decoration: none; white-space: nowrap; }
.aviso-link:hover { text-decoration: underline; }

/* Topo */
.topo { background: #fff; border-bottom: 1px solid var(--borda); }
.topo-dentro { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; }
.logo img { display: block; height: 60px; width: auto; }
.selo-oficial {
    display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--texto);
    border: 1px solid var(--borda); border-radius: 999px; padding: 6px 12px 6px 10px;
}
.selo-oficial svg { width: 17px; height: 17px; color: var(--azul); }

/* Faixa azul do titulo */
.heroi {
    background: var(--grad); color: #fff; text-align: center;
    padding: 56px 0 120px; position: relative; overflow: hidden;
}
.heroi::before {
    /* pontinhos discretos, so para dar textura */
    content: ""; position: absolute; inset: 0; opacity: .14;
    background-image: radial-gradient(#fff 1px, transparent 1.4px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.heroi-dentro { position: relative; }
.heroi h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.heroi p { margin-top: 12px; font-size: clamp(16px, 2.2vw, 19px); opacity: .95; }

/* Formulario */
.cartao-form-lugar { margin-top: -84px; position: relative; }
.cartao-form { max-width: 620px; margin: 0 auto; padding: 28px; }
.rotulo { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2); margin-bottom: 8px; }
.linha-campo { display: flex; gap: 10px; }
#codigo {
    flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 1.5px solid #CBD3DD; border-radius: 12px;
    font: 600 22px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--texto); background: var(--fundo-2);
    outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
#codigo::placeholder { color: #A9B2BE; letter-spacing: .14em; }
#codigo:focus { border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgb(65 184 251 / .22); }
.dica { margin-top: 10px; font-size: 13.5px; color: var(--texto-3); }
.privacidade { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--texto-3); }
.privacidade svg { width: 15px; height: 15px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 56px; padding: 0 26px;
    border: 0; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
    transition: transform .1s, box-shadow .15s, opacity .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn svg { width: 20px; height: 20px; }
.btn-azul { background: var(--grad-diag); color: #fff; box-shadow: 0 6px 16px rgb(14 117 198 / .32); }
.btn-azul:hover { box-shadow: 0 8px 22px rgb(14 117 198 / .42); }
.btn-preto { background: var(--preto); color: #fff; }
.btn-preto:hover { background: var(--preto-2); }
.btn-branco { background: #fff; color: var(--preto); }
.btn-branco:hover { background: var(--azul-fundo); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 2px; }

/* Resultado */
.resultado { margin-top: 20px; }
.res { border: 1.5px solid; border-radius: 14px; padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; animation: surgir .25s ease-out; }
@keyframes surgir { from { opacity: 0; transform: translateY(6px); } }
.res-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.res-ico svg { width: 24px; height: 24px; }
.res-titulo { font-size: 19px; font-weight: 800; align-self: center; }
.res-texto { font-size: 15px; color: var(--texto-2); }
.res-texto strong { color: var(--texto); }
.res-codigo { font-family: var(--mono); font-weight: 700; letter-spacing: .06em; color: var(--texto); }
.res-acoes { grid-column: 1 / -1; margin-top: 12px; }
.res-acoes .btn { height: 46px; font-size: 15px; padding: 0 18px; }
.res.ok { background: var(--ok-fundo); border-color: var(--ok-borda); }       .res.ok .res-ico { background: var(--ok); }      .res.ok .res-titulo { color: var(--ok); }
.res.atencao { background: var(--atencao-fundo); border-color: var(--atencao-borda); } .res.atencao .res-ico { background: var(--atencao); } .res.atencao .res-titulo { color: var(--atencao); }
.res.erro { background: var(--erro-fundo); border-color: var(--erro-borda); }   .res.erro .res-ico { background: var(--erro); }   .res.erro .res-titulo { color: var(--erro); }
.res.neutro { background: var(--fundo-2); border-color: var(--borda); }        .res.neutro .res-ico { background: var(--texto-3); }

/* Secoes */
.secao { margin-top: 72px; }
.secao h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.passos { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.passo { padding: 24px; }
.passo-num {
    display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--preto); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.passo h3 { font-size: 17px; margin-bottom: 6px; }
.passo p { color: var(--texto-2); font-size: 15px; }

.selo-secao { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.selo-figura {
    background: var(--azul-fundo); border-radius: var(--raio); padding: 28px; display: flex; justify-content: center;
}
.selo-figura img { display: block; width: 230px; height: auto; filter: drop-shadow(0 10px 18px rgb(14 117 198 / .22)); }
.lista-check { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.lista-check li { position: relative; padding-left: 32px; color: var(--texto-2); }
.lista-check li strong { color: var(--texto); }
.lista-check li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--grad-diag) center / 100% no-repeat;
}
.lista-check li::after {
    content: ""; position: absolute; left: 7.5px; top: 7px; width: 5px; height: 9px;
    border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}
.nota { margin-top: 18px; font-size: 14.5px; color: var(--texto-2); border-left: 3px solid var(--azul-claro); padding: 4px 0 4px 14px; }

.legendas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.legenda { padding: 22px; }
.legenda h3 { font-size: 17px; margin: 12px 0 6px; }
.legenda p { color: var(--texto-2); font-size: 15px; }
.legenda-ico { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; }
.legenda-ico svg { width: 20px; height: 20px; }
.legenda-ico.ok { background: var(--ok); } .legenda-ico.atencao { background: var(--atencao); } .legenda-ico.erro { background: var(--erro); }

.faixa-zap {
    background: var(--preto); color: #fff; border-radius: 20px; padding: 32px 36px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; position: relative; overflow: hidden;
}
.faixa-zap::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--grad-diag); opacity: .35; filter: blur(30px); }
.faixa-zap > * { position: relative; z-index: 1; }
.faixa-zap h2 { color: #fff; }
.faixa-zap p { margin-top: 8px; color: #C9D1DB; max-width: 520px; }

/* Rodape (dono, 04/11): parte CLARA com o logo colorido original + faixa ESCURA fina embaixo,
   separadas por uma linha no degrade da marca. (No preto o "VERIFY" azul sumia.) */
.rodape { margin-top: 88px; font-size: 14.5px; }
.rodape-claro { background: var(--fundo-2); border-top: 1px solid var(--borda); }
.rodape-grade { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 32px 48px; padding-top: 48px; padding-bottom: 44px; align-items: start; }
.rodape-marca img { display: block; height: 64px; width: auto; margin-bottom: 14px; }
.rodape-marca p { color: var(--texto-2); max-width: 340px; }
.rodape-links { display: grid; gap: 10px; }
.rodape-links h3, .rodape-selo strong { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--texto); }
.rodape-links h3 { margin-bottom: 4px; }
.rodape-links a { color: var(--texto-2); text-decoration: none; font-weight: 600; width: fit-content; }
.rodape-links a:hover { color: var(--azul-escuro); }
.rodape-selo { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio);
    padding: 18px; box-shadow: var(--sombra); }
.rodape-selo-ico { flex: none; display: flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--grad-diag); color: #fff; }
.rodape-selo-ico svg { width: 22px; height: 22px; }
.rodape-selo strong { display: block; margin-bottom: 4px; }
.rodape-selo p { color: var(--texto-2); font-size: 14px; }
.rodape-escuro { background: var(--preto); color: #9AA4B2; font-size: 13px; position: relative; }
.rodape-escuro::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-diag); }
.rodape-base-dentro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 19px; padding-bottom: 16px; }

/* Denuncia (janelinha) */
.denuncia { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px;
    box-shadow: 0 24px 60px rgb(10 13 18 / .3); color: var(--texto); overflow: auto; }
.denuncia::backdrop { background: rgb(10 13 18 / .55); }
.denuncia-form { margin: 0; }
.denuncia-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px;
    background: var(--grad); color: #fff; position: sticky; top: 0; z-index: 1; }
.denuncia-cab h2 { font-size: 20px; }
.denuncia-fechar { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 0; border-radius: 50%;
    background: rgb(255 255 255 / .18); color: #fff; cursor: pointer; }
.denuncia-fechar svg { width: 20px; height: 20px; }
.denuncia-campos { padding: 20px 24px 24px; }
.denuncia-intro { color: var(--texto-2); font-size: 14.5px; margin-bottom: 16px; }
.denuncia .rotulo { margin-top: 14px; }
.denuncia .rotulo:first-of-type { margin-top: 0; }
.opcional { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--texto-3); }
.campo { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #CBD3DD; border-radius: 12px; background: var(--fundo-2);
    font: inherit; font-size: 16px; color: var(--texto); outline: none; }
textarea.campo { resize: vertical; min-height: 104px; }
.campo:focus { border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgb(65 184 251 / .22); }
.campo-mono { font-family: var(--mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
/* Botao da foto proprio, em ingles (o do navegador vinha em portugues: "Escolher arquivo") */
.arquivo { display: flex; align-items: center; gap: 12px; cursor: pointer; min-width: 0; position: relative; }
.arquivo input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.arquivo-botao { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px;
    border: 1.5px solid #CBD3DD; background: #fff; font-weight: 700; font-size: 15px; color: var(--texto); }
.arquivo-botao svg { width: 19px; height: 19px; color: var(--azul-escuro); }
.arquivo:hover .arquivo-botao, .arquivo input:focus-visible + .arquivo-botao { border-color: var(--azul); }
.arquivo input:focus-visible + .arquivo-botao { box-shadow: 0 0 0 4px rgb(65 184 251 / .22); }
.arquivo-nome { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--texto-3); }
.armadilha { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.concordo { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 4px; font-size: 14px; color: var(--texto-2); cursor: pointer; }
.concordo input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--azul-escuro); }
.denuncia-erro { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--erro-fundo); color: var(--erro); font-size: 14px; font-weight: 600; }
.btn-largo { width: 100%; margin-top: 16px; }
.denuncia-zap { margin-top: 12px; text-align: center; font-size: 14px; color: var(--texto-3); }
.denuncia-enviada { padding: 36px 24px 30px; text-align: center; }
.enviada-ico { margin: 0 auto 14px; width: 56px; height: 56px; background: var(--ok); }
.enviada-ico svg { width: 30px; height: 30px; }
.denuncia-enviada h3 { font-size: 22px; }
.denuncia-enviada p { color: var(--texto-2); margin: 8px 0 22px; }
[hidden] { display: none !important; }

/* Celular */
@media (max-width: 760px) {
    .caixa { padding: 0 16px; }
    /* Faixa de aviso compacta: icone ao lado do texto, link embaixo do texto (dono, 04/11: "feio la em cima") */
    .aviso { font-size: 12.5px; line-height: 1.45; }
    .aviso-dentro { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; text-align: left; padding-top: 9px; padding-bottom: 9px; }
    .aviso-ico { width: 16px; height: 16px; margin-top: 1px; }
    .aviso-link { grid-column: 2; }
    /* Topo: so o logo, centralizado */
    .topo-dentro { height: 64px; justify-content: center; }
    .selo-oficial { display: none; }
    .logo img { height: 48px; }
    .heroi { padding: 40px 0 104px; }
    .cartao-form { padding: 20px; }
    .linha-campo { flex-direction: column; }
    #codigo { flex: none; width: 100%; font-size: 20px; text-align: center; }
    .btn-azul { width: 100%; }
    .secao { margin-top: 56px; }
    .passos, .legendas { grid-template-columns: 1fr; gap: 12px; }
    .selo-secao { grid-template-columns: 1fr; gap: 24px; }
    .faixa-zap { flex-direction: column; align-items: stretch; padding: 26px 22px; }
    .faixa-zap .btn { width: 100%; }
    /* Resultado: icone ao lado do titulo, texto na largura toda (antes espremia numa coluna fina) */
    .res { padding: 16px; gap: 10px 12px; align-items: center; }
    .res-ico { grid-row: auto; width: 38px; height: 38px; }
    .res-ico svg { width: 21px; height: 21px; }
    .res-titulo { font-size: 17px; }
    .res-texto, .res-acoes { grid-column: 1 / -1; }
    .res-acoes { margin-top: 2px; }
    .res-acoes .btn { width: 100%; }
    /* Passos e legenda compactos: numero/icone ao lado do titulo */
    .passo, .legenda { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 18px; }
    .passo-num, .legenda-ico { margin: 0; grid-row: span 2; align-self: start; }
    .passo h3, .legenda h3 { margin: 0; }
    .passo p, .legenda p { grid-column: 2; }
    .selo-figura { padding: 20px; }
    .selo-figura img { width: 210px; }
    /* Rodape no celular: tudo em coluna, centralizado */
    .rodape { margin-top: 64px; }
    .rodape-grade { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 32px; text-align: center; }
    .rodape-marca img { margin: 0 auto 12px; height: 56px; }
    .rodape-marca p { margin: 0 auto; }
    .rodape-links { justify-items: center; }
    .rodape-selo { text-align: left; }
    .rodape-base-dentro { flex-direction: column; justify-content: center; text-align: center; gap: 4px; padding-top: 24px; padding-bottom: 20px; }
    .denuncia { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; }
    .denuncia-cab { padding: 16px 18px; }
    .denuncia-campos { padding: 16px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
