/* ====== Blog — Viktor Web Studio ====== */
:root{
  --cream:#F2E7D8; --ink:#0A0A0A; --off:#F2F1EE;
  --red:#D92828; --red-btn:#E63E3E; --line:rgba(10,10,10,.1);
  --muted:#6b6b66; --dark:#0A0A0A;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter','Segoe UI',system-ui,Arial,sans-serif;
  background:var(--off); color:var(--ink);
  -webkit-font-smoothing:antialiased; line-height:1.6;
}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* header */
.bhead{position:sticky;top:0;z-index:50;background:rgba(242,241,238,.9);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.bhead .row{display:flex;align-items:center;justify-content:space-between;height:68px}
.bhead .brand img{height:30px;display:block}
.bhead .back{font-size:.9rem;font-weight:700;color:var(--ink);text-decoration:none;
  display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border:1.5px solid var(--line);
  border-radius:100px;transition:border-color .2s ease}
.bhead .back:hover{border-color:var(--ink)}

/* hero do índice */
.b-hero{padding:64px 0 36px}
.b-hero .eyebrow{font-size:.8rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:var(--red)}
.b-hero h1{font-size:clamp(2rem,5vw,3rem);font-weight:800;letter-spacing:-.02em;margin-top:16px}
.b-hero p{color:var(--muted);font-size:1.08rem;margin-top:14px;max-width:60ch}

/* grade de artigos */
.posts{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;padding:20px 0 90px}
@media(max-width:760px){.posts{grid-template-columns:1fr}}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:18px;padding:28px 26px;text-decoration:none;color:var(--ink);
  transition:transform .2s ease,box-shadow .2s ease}
.post-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(10,10,10,.08)}
.post-card .tag{align-self:flex-start;font-size:.7rem;font-weight:800;letter-spacing:.12em;
  text-transform:uppercase;color:var(--red);background:rgba(217,40,40,.08);
  padding:5px 12px;border-radius:100px;margin-bottom:16px}
.post-card h2{font-size:1.4rem;font-weight:800;letter-spacing:-.01em;line-height:1.25}
.post-card p{color:var(--muted);font-size:.96rem;margin-top:10px;flex:1}
.post-card .more{margin-top:18px;font-weight:800;color:var(--red);font-size:.92rem}

/* artigo */
.article{padding:48px 0 80px}
.article .col{max-width:720px;margin:0 auto}
.article .tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.12em;
  text-transform:uppercase;color:var(--red);margin-bottom:18px}
.article h1{font-size:clamp(1.9rem,4.5vw,2.7rem);font-weight:800;letter-spacing:-.02em;line-height:1.15}
.article .meta{color:var(--muted);font-size:.9rem;margin-top:16px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.article .body{font-size:1.07rem;color:#26261f}
.article .body h2{font-size:1.5rem;font-weight:800;letter-spacing:-.01em;margin:38px 0 14px;
  display:flex;align-items:center;gap:11px}
.article .body h2::before{content:"";flex:none;width:10px;height:10px;background:var(--red);
  border-radius:2px;transform:rotate(45deg)}
.article .body p{margin:14px 0}
.article .body ul{margin:14px 0 14px 4px;list-style:none}
.article .body li{position:relative;padding:6px 0 6px 26px}
.article .body li::before{content:"✚";position:absolute;left:0;top:6px;color:var(--red);font-weight:700;font-size:.85rem}
.article .body strong{font-weight:800}
.article .body b{font-weight:800}

/* caixa de CTA no fim do artigo */
.cta-box{margin:46px 0 0;background:var(--cream);border:1px solid var(--line);border-radius:18px;
  padding:32px 30px;text-align:center}
.cta-box h3{font-size:1.4rem;font-weight:800;letter-spacing:-.01em}
.cta-box p{color:var(--muted);margin:10px auto 20px;max-width:48ch}
.cta-box .btn{display:inline-flex;align-items:center;justify-content:center;background:var(--red-btn);
  color:#fff;font-weight:800;font-size:.98rem;padding:14px 28px;border-radius:100px;text-decoration:none;
  transition:transform .15s ease,filter .2s ease}
.cta-box .btn:hover{transform:translateY(-2px);filter:brightness(1.05)}

/* footer */
.bfoot{background:var(--dark);color:#fff;padding:54px 0}
.bfoot .row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.bfoot img{height:30px}
.bfoot .links{display:flex;gap:24px}
.bfoot .links a{color:rgba(255,255,255,.8);text-decoration:none;font-weight:600;font-size:.95rem}
.bfoot .links a:hover{color:#fff}
.bfoot .copy{color:rgba(255,255,255,.5);font-size:.85rem;width:100%;margin-top:8px}

@media(max-width:600px){
  .b-hero{padding:44px 0 24px}
  .post-card{padding:22px 20px}
  .article{padding:32px 0 60px}
  .bfoot .row{flex-direction:column;align-items:flex-start}
}
