/* Achei e Cliquei! - site público */
:root {
  --azul: #0a3bb0; --azul-escuro: #06246e; --amarelo: #ffc80a; --vermelho: #e3192b;
  --bg: #eef2fb; --surface: #ffffff; --fg: #12193a; --muted: #5a6385; --line: #d6ddef; --preco: #0a3bb0;
  --font-display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #070f2a; --surface: #101b42; --fg: #eef2ff; --muted: #9eabd6; --line: #22306a; --preco: #ffc80a; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 2px; }

.topo { position: sticky; top: 0; z-index: 5; background: var(--azul-escuro); color: #fff; border-bottom: 4px solid var(--amarelo); }
.topo .wrap { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { width: 48px; height: 48px; border-radius: 50%; }
.marca strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; }
.marca strong span { color: var(--amarelo); }
.topo nav { margin-left: auto; display: flex; gap: 18px; font-weight: 700; align-items: center; }
.topo nav a { text-decoration: none; }
.topo nav a:hover { color: var(--amarelo); }
.btn-grupo { background: var(--amarelo); color: var(--azul-escuro) !important; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 640px) { .topo nav a:not(.btn-grupo) { display: none; } .marca strong { font-size: 1.2rem; } }

.banner { background: linear-gradient(180deg, var(--azul-escuro), var(--azul)); }
.banner .wrap { padding-block: 18px 26px; }
.banner img { display: block; width: 100%; border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }

.filtros { padding-block: 26px 8px; display: grid; gap: 14px; }
.busca { display: flex; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; overflow: hidden; }
.busca:focus-within { border-color: var(--azul); }
.busca input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); padding: 13px 16px; font: inherit; font-size: 1.05rem; }
.busca input:focus { outline: none; }
.busca button { border: 0; background: var(--azul); color: #fff; font: inherit; font-weight: 800; padding: 0 20px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rotulo { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; align-self: center; }
.chip { font-weight: 800; font-size: .95rem; border: 2px solid var(--line); background: var(--surface); color: var(--fg); padding: 7px 15px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { border-color: var(--azul); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--azul)); }
.chip.ativo { color: #fff; border-color: transparent; background: var(--c, var(--azul)); }
.chip.ativo .dot { background: #fff; }

.secao-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 14px; }
.secao-titulo h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.secao-titulo h2 mark { background: var(--amarelo); color: var(--azul-escuro); padding: 0 .25em; border-radius: 8px; }
.contagem { color: var(--muted); font-weight: 700; }

.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 18px; padding-bottom: 30px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(10,30,90,.14); }
.foto { position: relative; aspect-ratio: 1; max-width: 100%; background: #fff; display: grid; place-items: center; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto.sem { background: linear-gradient(140deg, var(--c), #06246e); color: #fff; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.desconto { position: absolute; top: 10px; left: 10px; background: var(--vermelho); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; padding: 2px 10px; border-radius: 10px; transform: rotate(-4deg); }
.loja { position: absolute; top: 10px; right: 10px; color: #fff; font-weight: 800; font-size: .75rem; padding: 4px 9px; border-radius: 999px; background: var(--lc); }
.selo-destaque { position: absolute; bottom: 10px; left: 10px; background: var(--amarelo); color: var(--azul-escuro); font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.info h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.info p { margin: 0; color: var(--muted); font-size: .92rem; }
.precos { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; font-variant-numeric: tabular-nums; }
.de { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.por { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--preco); }
.quero { display: block; text-align: center; text-decoration: none; background: var(--amarelo); color: var(--azul-escuro); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; padding: 9px; border-radius: 12px; box-shadow: 0 4px 0 #c99700; }
.quero:hover { transform: translateY(1px); box-shadow: 0 3px 0 #c99700; }
.vazio { grid-column: 1 / -1; text-align: center; padding: 50px 16px; color: var(--muted); font-weight: 700; }

.paginacao { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding-bottom: 40px; }
.paginacao a, .paginacao span { min-width: 42px; text-align: center; padding: 8px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); font-weight: 800; text-decoration: none; }
.paginacao span { background: var(--azul); color: #fff; border-color: transparent; }

.dicas { background: var(--azul); color: #fff; }
.dicas .wrap { padding-block: 40px 48px; }
.dicas h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 18px; }
.dicas h2 span { color: var(--amarelo); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.post { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.post:hover { background: rgba(255,255,255,.14); }
.post time { font-size: .8rem; font-weight: 700; color: var(--amarelo); text-transform: uppercase; letter-spacing: .06em; }
.post h3 { font-size: 1.35rem; }
.post p { margin: 0; opacity: .88; }
.post .ler { margin-top: auto; font-weight: 800; color: var(--amarelo); }
.ver-todas { display: inline-block; margin-top: 20px; color: var(--amarelo); font-weight: 800; }

.artigo { padding-block: 34px 50px; }
.artigo article { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px max(20px, 4vw); }
.artigo time { color: var(--vermelho); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.artigo h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 8px 0 18px; }
.artigo .capa { width: 100%; border-radius: 14px; margin-bottom: 18px; }
.artigo .texto p { max-width: 65ch; }
.voltar { display: inline-block; margin-bottom: 16px; font-weight: 800; color: var(--azul); }

footer { background: var(--azul-escuro); color: #c9d4f7; font-size: .9rem; }
footer .wrap { padding-block: 30px; display: grid; gap: 12px; }
footer strong { color: #fff; }
footer p { margin: 0; max-width: 75ch; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Redes sociais */
.topo nav a.rede-topo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); }
.topo nav a.rede-topo:hover { background: var(--amarelo); color: var(--azul-escuro); }
@media (max-width: 640px) { .topo nav a.rede-topo { display: inline-grid; width: 32px; height: 32px; } .topo nav { gap: 10px; } }
.redes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.redes .rede { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; text-decoration: none; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.redes .rede.fb:hover { background: #1877f2; }
.redes .rede.ig:hover { background: #d62976; }
.ico { flex: none; display: block; }

/* Facebook: botão no card e faixa de destaque */
.ver-fb { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: #1877f2; background: #fff; border: 2px solid #1877f2; font-weight: 800; font-size: .92rem; padding: 6px; border-radius: 12px; }
.ver-fb:hover { background: #1877f2; color: #fff; }
.faixa-fb { display: flex; align-items: center; gap: 14px; margin: 18px 0 6px; padding: 14px 18px; border-radius: 16px; background: #1877f2; color: #fff; text-decoration: none; box-shadow: 0 4px 0 #0f5bc4; }
.faixa-fb:hover { filter: brightness(1.06); }
.faixa-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #1877f2; display: grid; place-items: center; }
.faixa-ico .ico { width: 28px; height: 28px; }
.faixa-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.faixa-txt strong { font-family: var(--font-display); font-size: 1.15rem; }
.faixa-txt small { opacity: .9; font-weight: 600; }
.faixa-btn { flex: none; background: #fff; color: #1877f2; font-weight: 800; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 560px) { .faixa-fb { flex-wrap: wrap; } .faixa-btn { width: 100%; text-align: center; } }
