@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --fundo: #0b0b0c;
    --cartao: #151516;
    --cartao-2: #1b1b1d;
    --borda: #303033;
    --texto: #f5f5f6;
    --suave: #a3a3aa;
    --vermelho: #e32636;
    --vermelho-claro: #ff4a56;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--fundo); }
body {
    margin: 0;
    background: var(--fundo);
    color: var(--texto);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
.topo {
    width: 100%; max-width: 960px; margin: 0 auto; padding: 22px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    border-bottom: 1px solid #242426;
}
.marca { display: flex; align-items: center; gap: 12px; min-width: 0; }
.marca-link { text-decoration: none; }
.marca-icone {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    flex: 0 0 auto; background: var(--vermelho); color: #fff;
    font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -1px; font-size: 17px;
    box-shadow: 0 8px 24px #e3263622;
}
.marca-nome { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: 1.2px; line-height: 1.15; }
.marca-sub { margin-top: 4px; color: var(--suave); font-size: 9px; font-weight: 700; letter-spacing: 1.6px; }
.sair-link { color: #c9c9ce; font-size: 13px; white-space: nowrap; }
.sair-link span { color: var(--vermelho-claro); margin-left: 5px; }
.conteudo { width: 100%; max-width: 720px; margin: 0 auto; padding: 36px 24px 48px; flex: 1; }
.etiqueta { color: var(--vermelho-claro); font-size: 10px; font-weight: 800; letter-spacing: 2px; margin-bottom: 11px; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: 'Manrope', sans-serif; }
.titulo-pagina { font-size: clamp(27px, 6vw, 36px); line-height: 1.2; letter-spacing: -1.2px; margin-bottom: 10px; overflow-wrap: anywhere; }
.texto-suave { color: var(--suave); font-size: 14px; line-height: 1.7; margin-bottom: 25px; }
.cartao { background: var(--cartao); border: 1px solid var(--borda); border-radius: 19px; padding: 22px; margin-bottom: 25px; }
.destaque { background: linear-gradient(145deg, #19191b, #121213); }
.cartao-cabecalho { display: flex; align-items: center; gap: 13px; }
.icone-quadrado { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #351518; color: var(--vermelho-claro); font-size: 29px; }
.cartao-cabecalho-texto { min-width: 0; }
.texto-mini { color: var(--suave); font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }
.cartao h2, .item-historico h2 { font-size: 17px; line-height: 1.35; margin: 4px 0 0; overflow-wrap: anywhere; }
.linha-dados { display: flex; gap: 18px; border-top: 1px solid var(--borda); margin-top: 20px; padding-top: 17px; }
.linha-dados > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.linha-dados strong { font-size: 14px; }
.valor-destaque { color: var(--vermelho-claro); white-space: nowrap; }
.botao-principal {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
    border: 0; border-radius: 12px; padding: 15px 18px; margin-top: 21px;
    background: var(--vermelho); color: #fff; font-size: 14px; font-weight: 700;
    cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.botao-principal:hover { background: #c91f2d; }
.botao-principal span { font-size: 19px; line-height: 1; }
.subtitulo { font-size: 17px; letter-spacing: -.3px; margin: 30px 0 14px; }
.atalhos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.atalho { position: relative; min-width: 0; padding: 17px; display: flex; flex-direction: column; gap: 6px; background: var(--cartao); border: 1px solid var(--borda); border-radius: 15px; transition: border-color .15s ease; }
.atalho:hover { border-color: #6c292e; }
.atalho-icone { color: var(--vermelho-claro); font-size: 23px; line-height: 1.2; margin-bottom: 5px; }
.atalho strong { font-size: 13px; }
.atalho small { color: var(--suave); font-size: 11px; line-height: 1.5; }
.atalho .seta { position: absolute; top: 17px; right: 15px; color: #777; }
.nota-info { border: 1px solid #333033; background: #151416; border-radius: 13px; padding: 15px 17px; margin: 22px 0; color: #d8d5d8; font-size: 12px; }
.nota-info strong { color: #fff; font-size: 12px; }
.nota-info p { margin: 5px 0 0; color: var(--suave); line-height: 1.65; }
.rodape { text-align: center; border-top: 1px solid #242426; color: #68686e; font-size: 9px; letter-spacing: 1.4px; padding: 20px 14px; }
.rodape-login { color: #68686e; font-size: 9px; letter-spacing: 1.4px; text-align: center; padding: 25px 0 0; }
.voltar { display: inline-block; color: #d0d0d5; font-size: 12px; margin-bottom: 28px; }
.voltar:hover { color: var(--vermelho-claro); }
.abas { display: flex; gap: 7px; padding: 5px; border-radius: 12px; background: #141415; border: 1px solid var(--borda); margin: 23px 0 18px; }
.aba { flex: 1; text-align: center; padding: 10px 8px; border-radius: 8px; color: var(--suave); font-size: 12px; font-weight: 700; }
.aba.ativa { color: #fff; background: #342023; box-shadow: inset 0 0 0 1px #5a292e; }
.item-historico { background: var(--cartao); border: 1px solid var(--borda); border-radius: 15px; padding: 18px; margin-bottom: 12px; }
.item-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.item-topo > div { min-width: 0; }
.item-topo > .valor-destaque { font-size: 14px; font-weight: 800; padding-top: 4px; }
.item-data { color: var(--suave); font-size: 11px; margin-top: 11px; }
.link-detalhes { display: flex; justify-content: space-between; gap: 10px; color: #f0b0b4; border-top: 1px solid var(--borda); padding-top: 13px; margin-top: 14px; font-size: 12px; font-weight: 700; }
.link-detalhes span { color: var(--vermelho-claro); }
.item-detalhes { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--suave); font-size: 11px; margin-top: 12px; }
.estado-vazio { text-align: center; padding: 38px 22px; border: 1px dashed #3a3a3d; border-radius: 16px; color: var(--suave); }
.estado-vazio > span { display: block; color: var(--vermelho-claro); font-size: 27px; margin-bottom: 9px; }
.estado-vazio strong { display: block; color: var(--texto); font-size: 14px; }
.estado-vazio p { margin: 7px 0 0; font-size: 12px; }
.produtos-texto { white-space: pre-wrap; overflow-wrap: anywhere; color: #e2e2e5; font-size: 13px; line-height: 1.8; margin-top: 12px; }
.separador { height: 1px; background: var(--borda); margin: 20px 0; }
.total-final { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.total-final span { color: var(--suave); }
.total-final strong { color: var(--vermelho-claro); font-family: 'Manrope', sans-serif; font-size: 22px; }
.pagina-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px 18px; background: radial-gradient(ellipse at 50% 0%, #281012 0%, #0b0b0c 55%); }
.login-wrap { width: 100%; max-width: 420px; }
.login-wrap .marca { justify-content: center; margin-bottom: 30px; }
.login-card { background: #141415; border: 1px solid #303033; border-radius: 22px; padding: 28px; box-shadow: 0 25px 80px #0005; }
.login-card h1 { font-size: clamp(30px, 8vw, 38px); line-height: 1.15; letter-spacing: -1.4px; margin: 0 0 13px; }
.login-card h1 span { color: var(--vermelho-claro); }
.login-card .texto-suave { font-size: 13px; margin-bottom: 24px; }
.login-card label { display: block; color: #dedee2; font-size: 12px; font-weight: 700; margin: 17px 0 7px; }
.login-card input { width: 100%; background: #0d0d0e; color: #fff; border: 1px solid #39393d; border-radius: 11px; padding: 14px 13px; outline: none; min-height: 49px; }
.login-card input:focus { border-color: var(--vermelho); box-shadow: 0 0 0 3px #e3263618; }
.login-card input::placeholder { color: #77777f; }
.mensagem-erro { background: #351619; border: 1px solid #743039; color: #ffc4c8; border-radius: 10px; padding: 11px 12px; font-size: 12px; margin-bottom: 15px; }
.aviso-privacidade { color: #888890; font-size: 10px; text-align: center; margin-top: 18px; }
.cadeado { color: #64b98a; margin-right: 5px; }
@media (min-width: 700px) {
    .conteudo { padding-top: 48px; }
    .destaque { padding: 25px; }
}
@media (max-width: 420px) {
    .topo { padding: 17px 16px; }
    .conteudo { padding: 28px 16px 36px; }
    .marca-icone { width: 42px; height: 42px; }
    .marca-nome { font-size: 15px; }
    .marca-sub { font-size: 8px; letter-spacing: 1.2px; }
    .login-card { padding: 23px 20px; }
    .atalhos { gap: 9px; }
    .atalho { padding: 14px; }
    .item-historico { padding: 15px; }
    .item-topo { flex-direction: column; gap: 8px; }
    .item-topo > .valor-destaque { padding-top: 0; }
}
