/* ==========================================================================
   PROMOTOPS — Ranking de promoções
   ========================================================================== */


:root{
  --bg: #F5EEE0;
  --panel: #FFFFFF;
  --ink: #211A14;
  --ink-soft: #6E6255;
  --red: #D8432C;
  --red-ink: #7A2415;
  --gold: #C99A2E;
  --gold-soft: #F1DFAE;
  --teal: #1F6F5C;
  --silver: #9AA1A6;
  --bronze: #B0703D;
  --line: #211A14;
  --maxw: 1120px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background: var(--bg); color: var(--ink);
  font-family:'Inter', system-ui, sans-serif; font-size:16px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }

.display{ font-family:'Anton', sans-serif; font-weight:400; text-transform:uppercase; letter-spacing:.01em; line-height:0.95; }
h1,h2,h3{ font-family:'Anton', sans-serif; font-weight:400; text-transform:uppercase; line-height:1; margin:0 0 .5em; letter-spacing:.01em; }

.wrap{ max-width: var(--maxw); margin:0 auto; padding:0 24px; }

a:focus-visible, button:focus-visible, input:focus-visible{ outline:3px solid var(--teal); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; } }

.top-disclosure{ background: var(--ink); color: var(--bg); font-size:12.5px; font-weight:600; text-align:center; padding:8px 16px; letter-spacing:.01em; }
.top-disclosure strong{ color: var(--gold); }

header.site{ background: var(--panel); border-bottom:4px solid var(--line); position: sticky; top:0; z-index:20; }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); }
.brand .logo-img{ width:42px; height:42px; border-radius:50%; object-fit:cover; border:3px solid var(--ink); }
.brand .logo-mark{ width:42px; height:42px; border-radius:50%; background: var(--red); color:#fff; border:3px solid var(--ink); display:flex; align-items:center; justify-content:center; font-family:'Anton',sans-serif; font-size:16px; }
.brand .name{ font-family:'Anton',sans-serif; font-size:24px; letter-spacing:.01em; }
.brand .name .hl{ color: var(--red); }
nav.links{ display:flex; gap:30px; font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:.02em; }
nav.links a{ text-decoration:none; color:var(--ink); border-bottom:3px solid transparent; padding-bottom:3px; }
nav.links a:hover{ border-color: var(--red); }
.nav-toggle{ display:none; }

@media (max-width:760px){
  nav.links{ position:absolute; left:0; right:0; top:100%; background: var(--panel); border-top:2px solid var(--line); flex-direction:column; gap:0; max-height:0; overflow:hidden; }
  nav.links.open{ max-height:400px; }
  nav.links a{ padding:14px 24px; border-bottom:1px solid #e6ddc9; }
  .nav-toggle{ display:block; background:none; border:2px solid var(--ink); border-radius:20px; font-weight:700; text-transform:uppercase; font-size:12px; padding:6px 14px; cursor:pointer; }
  header.site{ position:sticky; }
}

.hero{ padding:54px 0 40px; border-bottom:4px solid var(--line); }
.hero-grid{ display:grid; grid-template-columns:1.15fr 1fr; gap:44px; align-items:start; }
@media (max-width:820px){ .hero-grid{ grid-template-columns:1fr; } }

.hero .eyebrow{ display:inline-flex; align-items:center; gap:6px; font-weight:800; font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; background: var(--gold-soft); color: var(--red-ink); padding:5px 12px; border-radius:20px; margin-bottom:18px; }
.hero h1{ font-size:clamp(38px,6.4vw,64px); max-width:13ch; }
.hero h1 .hl{ color: var(--red); }
.hero p.lede{ font-family:'Inter',sans-serif; font-size:17px; color:var(--ink-soft); max-width:56ch; margin:16px 0 26px; text-transform:none; font-weight:400; letter-spacing:normal; }

.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{ font-weight:800; text-transform:uppercase; letter-spacing:.02em; font-size:14px; text-decoration:none; padding:13px 24px; border-radius:30px; border:3px solid var(--ink); display:inline-block; cursor:pointer; }
.btn.primary{ background: var(--red); border-color: var(--red); color:#fff; }
.btn.primary:hover{ background: var(--red-ink); border-color: var(--red-ink); }
.btn.ghost{ background:transparent; color:var(--ink); }
.btn.ghost:hover{ background: var(--ink); color: var(--bg); }

.cert-panel{ background: var(--panel); border:3px solid var(--line); border-radius:10px; padding:26px 26px 20px; position:relative; max-width:460px; }
.cert-panel::before, .cert-panel::after{ content:""; position:absolute; width:22px; height:22px; border:3px solid var(--gold); }
.cert-panel::before{ top:-3px; left:-3px; border-right:none; border-bottom:none; }
.cert-panel::after{ bottom:-3px; right:-3px; border-left:none; border-top:none; }
.cert-panel .seal{ width:52px; height:52px; border-radius:50%; background: var(--gold); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Anton',sans-serif; font-size:13px; text-align:center; line-height:1.05; border:3px solid var(--ink); float:right; margin:-6px -6px 10px 10px; }
.cert-panel .title{ font-size:22px; margin-bottom:4px; }
.cert-panel .sub{ font-size:12.5px; color:var(--ink-soft); margin-bottom:16px; font-weight:600; }
.cert-panel .row{ display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-top:1px dashed #d9cfb8; font-size:13.5px; }
.cert-panel .row .k{ color: var(--ink-soft); font-weight:600; }
.cert-panel .row .v{ text-align:right; font-weight:700; max-width:56%; }
.cert-panel .foot{ font-size:11.5px; color:var(--ink-soft); margin-top:14px; border-top:1px dashed #d9cfb8; padding-top:12px; }

section{ padding:50px 0; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:24px; flex-wrap:wrap; }
.section-head h2{ font-size:30px; }
.section-head .count{ font-weight:700; font-size:13px; color:var(--ink-soft); text-transform:uppercase; }

/* ---- caixa de busca (fixa no topo ao rolar) ---- */
.search-sticky{
  position:sticky; top:78px; z-index:15;
  background:var(--bg); padding:14px 0 12px; margin-bottom:10px;
  border-bottom:2px solid var(--line);
}
.search-wrap{ position:relative; }
.search-wrap input{
  width:100%; font-family:'Inter',sans-serif; font-size:16px;
  padding:14px 44px 14px 46px; border:3px solid var(--line); border-radius:30px;
  background:var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23211A14' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 16px center;
  color:var(--ink);
}
.search-wrap input::placeholder{ color:var(--ink-soft); }
.search-wrap .clear-search{
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  background:var(--ink); color:#fff; border:none; border-radius:50%;
  width:24px; height:24px; cursor:pointer; font-size:14px; line-height:1; display:none;
}
.search-wrap .clear-search.show{ display:block; }

.chip-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:32px; }
.chip{ font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.02em; border:2px solid var(--ink); border-radius:20px; padding:7px 16px; color:var(--ink); cursor:pointer; background:var(--panel); }
.chip.active{ background: var(--ink); color: var(--bg); }

.top-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:26px; }

.top-card{ background: var(--panel); border:3px solid var(--line); border-radius:12px; overflow:visible; display:flex; flex-direction:column; position:relative; transition: box-shadow .15s ease, transform .15s ease; }
.top-card:hover{ box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px,-2px); }

.rank-ribbon{ position:absolute; top:-14px; left:18px; z-index:3; font-family:'Anton',sans-serif; font-size:14px; color:#fff; padding:8px 14px 9px; border-radius:6px 6px 6px 0; box-shadow:0 2px 0 rgba(0,0,0,.25); }
.rank-ribbon.r1{ background: var(--gold); }
.rank-ribbon.r2{ background: var(--silver); }
.rank-ribbon.r3{ background: var(--bronze); }
.rank-ribbon.rn{ background: var(--red); }

.top-card .status{ font-weight:800; font-size:10.5px; text-transform:uppercase; letter-spacing:.03em; padding:4px 10px; border-radius:20px; background:var(--panel); border:2px solid var(--ink); white-space:nowrap; }
.top-card .status.hot{ background: var(--red); color:#fff; border-color: var(--red); }

.top-card .thumb{ position:relative; margin-top:14px; aspect-ratio: 1 / 1; background:#fff; display:flex; align-items:center; justify-content:center; border-top:3px solid var(--line); border-bottom:3px solid var(--line); }
.top-card .thumb img{ width:100%; height:100%; object-fit:contain; padding:24px; box-sizing:border-box; background:#fff; }
.top-card .thumb .ph{ font-size:12px; color:var(--ink-soft); text-align:center; padding:20px; font-weight:600; }

.thumb-discount{ position:absolute; top:10px; right:10px; z-index:2; background: var(--red); color:#fff; font-weight:800; font-size:13px; padding:4px 11px; border-radius:6px; }

/* selo de loja: SÓ TEXTO, sem ícone que remeta a marca */
.thumb-store-caption{ position:absolute; left:10px; bottom:10px; z-index:2; display:flex; align-items:center; background:var(--ink); border-radius:8px; padding:6px 12px; }
.thumb-store-caption .text{ line-height:1.15; }
.thumb-store-caption .text .label{ font-size:9px; color:#cfc6b6; display:block; font-weight:600; text-transform:uppercase; letter-spacing:.03em; }
.thumb-store-caption .text .name{ font-size:12.5px; font-weight:800; color:#fff; display:block; }

.top-card .content{ padding:16px 18px 18px; flex:1; display:flex; flex-direction:column; }
.top-card h3{ font-family:'Inter',sans-serif; text-transform:none; font-weight:700; font-size:17px; letter-spacing:normal; margin:0 0 8px; line-height:1.3; }
.top-card .note{ font-size:13.5px; color:var(--ink-soft); margin:0 0 14px; }

.price-row{ display:flex; align-items:baseline; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
.price-row .old{ font-size:13px; color:var(--ink-soft); text-decoration:line-through; }
.price-row .new{ font-family:'Anton',sans-serif; font-size:26px; color: var(--teal); }

.disclosure-inline{ font-size:10.5px; font-weight:700; text-transform:uppercase; color: var(--red-ink); margin-bottom:12px; letter-spacing:.02em; }

.top-card .cta-row{ margin-top:auto; }
.top-card .btn.primary{ display:block; text-align:center; }
.top-card .expiry{ font-size:11px; color:var(--ink-soft); margin-top:9px; font-weight:600; }

.card-topbar{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:18px 14px 0; }
.copy-link-btn{ font-size:10.5px; font-weight:700; text-transform:uppercase; background:transparent; color:var(--ink-soft); border:2px solid #d9cfb8; border-radius:20px; padding:4px 10px; cursor:pointer; }
.copy-link-btn:hover{ color:var(--teal); border-color:var(--teal); }

.top-card.highlight{ animation: highlight-pulse 1.4s ease-in-out 2; }
@keyframes highlight-pulse{ 0%, 100% { box-shadow: 6px 6px 0 var(--ink); } 50% { box-shadow: 0 0 0 6px var(--gold); } }
@media (prefers-reduced-motion: reduce){ .top-card.highlight{ animation:none; outline:3px solid var(--gold); } }

/* ---- modo "oferta única" (quando abre via link direto) ---- */
.solo-banner{
  display:none;
  background:var(--gold-soft); border:2px solid var(--gold); border-radius:12px;
  padding:14px 18px; margin-bottom:22px;
  align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.solo-banner .txt{ font-weight:700; font-size:14px; color:var(--red-ink); }
.solo-banner a{ font-weight:800; font-size:13px; text-transform:uppercase; color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
body.solo-mode .solo-banner{ display:flex; }
body.solo-mode .top-grid > .top-card{ display:none; }
body.solo-mode .top-grid > .top-card.solo-target{ display:flex; }
/* no modo solo, esconde os filtros de categoria para focar no produto */
body.solo-mode .chip-row{ display:none; }
@media (max-width:600px){
  body.solo-mode .top-grid{ grid-template-columns:1fr; }
}

footer.site{ border-top:4px solid var(--line); background: var(--ink); color: var(--bg); padding:44px 0 28px; margin-top:64px; }
footer.site a{ color: var(--bg); text-decoration:underline; text-underline-offset:3px; }
footer.site .cols{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:24px; margin-bottom:26px; }
footer.site h4{ font-family:'Anton',sans-serif; font-size:15px; letter-spacing:.02em; color: var(--gold); margin:0 0 10px; }
footer.site ul{ list-style:none; padding:0; margin:0; font-size:14px; }
footer.site li{ margin-bottom:7px; }
footer.site .bottom{ border-top:1px solid #4a4136; padding-top:18px; font-size:11.5px; color:#c9c0b0; }

.article-head{ padding:44px 0 26px; border-bottom:3px solid var(--line); }
.breadcrumb{ font-size:12.5px; font-weight:700; color:var(--ink-soft); margin-bottom:16px; text-transform:uppercase; }
.breadcrumb a{ text-decoration:underline; }
.article-head h1{ font-size:clamp(30px,5vw,48px); max-width:22ch; }
.article-body{ max-width:720px; }
.article-body h2{ font-size:22px; margin-top:38px; }
.article-body p{ margin:0 0 16px; }
.article-body ul{ margin:0 0 16px; padding-left:22px; }
.article-body li{ margin-bottom:6px; }
.article-body strong{ color: var(--red-ink); }


/* ===== 05/10/2026: achados recentes x produtos acompanhados ===== */
.aviso-grid{ color:var(--ink-soft); grid-column:1/-1; font-weight:600; line-height:1.6; margin:0; }
.grupo-head{ grid-column:1/-1; margin-top:10px; }
.grupo-head h3{ font-size:22px; margin:0 0 6px; }
.grupo-head p{ font-size:14px; color:var(--ink-soft); margin:0; font-weight:600; }
.top-card .status.watch{ background:transparent; color:var(--ink-soft); border-color:var(--ink-soft); }
.top-card .thumb .ph.ph-cat{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; padding:0; }
.top-card .thumb .ph.ph-cat span{ font-family:'Anton',sans-serif; font-size:24px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); opacity:.45; }
.price-live{ font-size:13px; color:var(--ink-soft); margin:0 0 14px; line-height:1.4; font-weight:600; }
.dicas{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; }
.dicas h3{ font-family:'Inter',sans-serif; text-transform:none; letter-spacing:normal; font-size:16px; font-weight:800; margin:0 0 8px; }
.dicas p{ font-size:14px; color:var(--ink-soft); line-height:1.6; margin:0; }
