/* Identidade visual do site novo da Evolt: base branca e preta, amarelo da logo como único destaque.
   Fontes servidas daqui mesmo (sem chamadas externas). */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fontes/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(fontes/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(fontes/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(fontes/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(fontes/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(fontes/poppins-latin-700-normal.woff2) format("woff2"); }

:root {
  --ink: #1D1D1B;
  --sun: #F9B233;
  --white: #FFFFFF;
  --soft: #F6F6F4;
  --graphite: #272725;
  --muted: #62625D;
  --line: #E7E7E3;
  --on-dark: #F1F1EE;
  --on-dark-muted: #B5B5AF;
  --line-dark: #3B3B38;
  /* Cores funcionais do painel, fora da paleta do site */
  --sun-soft: #FEF3D7;
  --perigo: #B3261E;
  --perigo-soft: #FBE9E7;
  --display: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0 0 8px; text-wrap: balance; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
p { margin: 0 0 10px; }
a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.suave { color: var(--muted); font-size: 14px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sun); flex: none; }
.escuro .eyebrow { color: var(--on-dark-muted); }

/* cabeçalho */
.topo { background: var(--white); border-bottom: 1px solid var(--line); }
.topo .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; padding-block: 12px; }
.wrap { max-width: 1040px; margin-inline: auto; padding-inline: 20px; }
.marca { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: none; }
.logo { display: block; height: 40px; width: 65px; color: var(--ink); }
.marca span {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.topo nav { display: flex; gap: 4px 20px; flex: 1; font-size: 14px; font-weight: 500; }
.topo nav a { padding: 10px 0; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.topo nav a:hover { color: var(--ink); }
.topo nav a[aria-current] { color: var(--ink); border-bottom-color: var(--sun); }
.topo form { margin-left: auto; }

.faixa-sim { margin: 0; background: var(--sun-soft); border-bottom: 1px solid #F1DDA4; font-size: 14px; }
.faixa-sim .wrap { padding-block: 10px; }

main { padding-block: 24px 48px; }

/* cartões */
.cartao {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.cartao.estreito { max-width: 420px; margin: 40px auto; }
.cartao.estreito .logo { height: 56px; width: 91px; margin-bottom: 20px; }
.cartao.escuro { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.escuro h1, .escuro h2 { color: var(--white); }
.escuro .suave { color: var(--on-dark-muted); }

/* números da semana, como a faixa de dados do site */
.numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0; border-top: 1px solid var(--line-dark); }
.numeros > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-dark); min-width: 0; }
.numeros dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.numeros dd { margin: 2px 0 0; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.25; color: var(--white); font-variant-numeric: tabular-nums; }
.numeros dd.negativo { color: #FF8A80; }
.numeros p { margin: 2px 0 0; font-size: 13px; color: var(--on-dark-muted); }

.barra { display: block; width: 100%; height: 10px; border-radius: 999px; overflow: hidden; }
.b-fundo { fill: var(--line-dark); }
.b-conf { fill: var(--sun); }
.b-comp { fill: #8A8A84; }
.legenda { margin: 8px 0 20px; font-size: 13px; color: var(--on-dark-muted); }
.legenda span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 6px 0 14px; }
.legenda span:first-child { margin-left: 0; }
.p-conf { background: var(--sun); }
.p-comp { background: #8A8A84; }

/* formulários */
label { display: block; margin-bottom: 14px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 14px;
  font: 400 15px var(--body);
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
input::placeholder { color: #9A9A94; }

/* botões em pílula, como no site */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
}
.botao.primario { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.botao.perigo { background: var(--perigo); border-color: var(--perigo); color: var(--white); white-space: normal; padding-block: 10px; }
.botao:disabled { opacity: 0.45; cursor: not-allowed; }
.cartao.estreito .botao { width: 100%; }
button.link { background: none; border: 0; padding: 8px 0; font: 500 14px var(--body); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.acoes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.em-linha { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 240px; }
.em-linha input { flex: 1; min-width: 140px; margin-top: 0; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.aviso { padding: 12px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sun); }
.aviso.erro { background: var(--perigo-soft); border-color: #F3CFCB; border-left-color: var(--perigo); color: #7A1A14; }

.selo {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.selo.ok { background: var(--ink); border-color: var(--ink); color: var(--sun); }
.selo.aviso { background: var(--sun-soft); border: 1px solid #F1DDA4; color: var(--ink); padding: 3px 10px; }
.selo.erro { background: var(--perigo-soft); border-color: #F3CFCB; color: #7A1A14; }

.lista { list-style: none; margin: 0 0 10px; padding: 0; }
.lista li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lista li:last-child { border-bottom: 0; }
.lista time { color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lista.simples li { display: list-item; margin-left: 18px; list-style: disc; border: 0; padding: 3px 0; color: var(--muted); }
.alerta.critico span { color: #7A1A14; font-weight: 600; }
.alerta.atencao span { font-weight: 600; }
.alerta.atencao span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; }

.rolagem { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }

.conjunto { padding: 18px 0; border-top: 1px solid var(--line); }
.conjunto header { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.conjunto h2 { margin: 0; }
.conjunto .suave { margin: 4px 0 14px; }

@media (min-width: 760px) {
  .numeros { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .numeros > div { border-bottom: 0; padding: 18px 20px; border-left: 1px solid var(--line-dark); }
  .numeros > div:first-child { border-left: 0; padding-left: 0; }
  .cartao { padding: 28px; }
}
