:root {
  --fundo: #fbfaf7;
  --superficie: #ffffff;
  --texto: #1d1f21;
  --suave: #5b6168;
  --borda: #e3e0d8;
  --destaque: #b4461c;
  --destaque-texto: #ffffff;
  --aviso: #fff4d6;
  --aviso-borda: #e7c768;
  --largura: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #15171a;
    --superficie: #1e2125;
    --texto: #ecebe7;
    --suave: #a7adb4;
    --borda: #33373d;
    --destaque: #f08a5d;
    --destaque-texto: #15171a;
    --aviso: #3a321b;
    --aviso-borda: #8a7330;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--destaque); text-underline-offset: 2px; }
.pular { position: absolute; left: -999px; }
.pular:focus { left: 1rem; top: 1rem; background: var(--superficie); padding: .5rem; z-index: 10; }

.topo {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between;
  padding: .9rem max(1rem, calc((100% - 64rem) / 2)); border-bottom: 1px solid var(--borda); background: var(--superficie);
}
.marca { font-weight: 800; font-size: 1.15rem; color: var(--texto); text-decoration: none; letter-spacing: -.01em; }
.topo nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .95rem; }
.topo nav a { color: var(--suave); text-decoration: none; }
.topo nav a[aria-current="page"], .topo nav a:hover { color: var(--texto); text-decoration: underline; }

main { max-width: var(--largura); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; margin: 1rem 0 .75rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; line-height: 1.3; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.lead { font-size: 1.1rem; color: var(--suave); }

.aviso-publicidade {
  background: var(--aviso); border: 1px solid var(--aviso-borda); border-radius: 8px;
  padding: .7rem 1rem; font-size: .95rem;
}
.indice { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .95rem; margin: 1rem 0; }

.cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.cartao {
  display: block; padding: 1rem; border: 1px solid var(--borda); border-radius: 10px;
  background: var(--superficie); color: var(--texto); text-decoration: none;
}
.cartao:hover { border-color: var(--destaque); }
.cartao p { color: var(--suave); margin: 0; font-size: .95rem; }

.produtos { display: grid; gap: 1rem; }
.produto { border: 1px solid var(--borda); border-radius: 10px; padding: 1.1rem; background: var(--superficie); }
.produto ul { margin-top: .2rem; }
.produtor, .fonte { color: var(--suave); font-size: .9rem; margin: .2rem 0 .6rem; }
.nota { font-weight: 600; }
.alerta { display: block; font-weight: 400; color: var(--suave); font-size: .9rem; }
.em-breve { color: var(--suave); font-style: italic; }
.pendente { background: var(--aviso); padding: 0 .25rem; border-radius: 4px; }

.botao, .consentimento button.principal {
  display: inline-block; background: var(--destaque); color: var(--destaque-texto); border: 0; border-radius: 8px;
  padding: .6rem 1rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
button.link { background: none; border: 0; padding: 0; color: var(--destaque); font: inherit; text-decoration: underline; cursor: pointer; }

table { width: 100%; border-collapse: collapse; margin: .8rem 0; font-size: .95rem; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--borda); }
th { background: var(--superficie); }
details { border-bottom: 1px solid var(--borda); padding: .6rem 0; }
summary { cursor: pointer; font-weight: 600; }

.rodape {
  border-top: 1px solid var(--borda); padding: 1.5rem 1rem 2rem; text-align: center; color: var(--suave); font-size: .9rem;
}
.rodape nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .8rem; margin-bottom: .6rem; }

.consentimento {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-left: auto;
  background: var(--superficie); border: 1px solid var(--borda); border-radius: 12px; padding: 1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); font-size: .95rem; z-index: 20;
}
.consentimento p { margin: 0 0 .5rem; }
.consentimento .detalhes { display: grid; gap: .3rem; margin: .4rem 0 .6rem; }
.consentimento .acoes { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.consentimento button {
  border: 1px solid var(--borda); background: var(--fundo); color: var(--texto); border-radius: 8px;
  padding: .5rem .9rem; font: inherit; cursor: pointer;
}
:focus-visible { outline: 3px solid var(--destaque); outline-offset: 2px; }
