/* Blog da Safira — estilo compartilhado entre o índice e os artigos */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Poppins',sans-serif;color:#1F2937;line-height:1.75;background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
.wrap{max-width:820px;margin:0 auto;padding:0 1.25rem}
.wide{max-width:1100px}

.navbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid #EEF2F7;padding:.8rem 0}
.navbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.navbar img{height:42px;width:auto}
.nav-cta{background:#0C1F5C;color:#fff;padding:.6rem 1.3rem;border-radius:50px;text-decoration:none;font-weight:600;font-size:.88rem;white-space:nowrap}
.nav-cta:hover{background:#1A3585}

.hero{background:linear-gradient(135deg,#0C1F5C 0%,#16306F 55%,#1E4293 100%);color:#fff;padding:2.8rem 0 3rem;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-40%;right:-15%;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.26),transparent 70%)}
.hero .wrap{position:relative;z-index:2}
.crumb{font-size:.8rem;color:rgba(255,255,255,.6);margin-bottom:1rem}
.crumb a{color:rgba(255,255,255,.75);text-decoration:none}
.crumb a:hover{color:#38BDF8}
.hero h1{font-size:1.8rem;font-weight:800;line-height:1.22;margin-bottom:1rem}
.hero h1 span{color:#38BDF8}
.hero .lead{font-size:1.02rem;color:rgba(255,255,255,.9)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.9rem 1.6rem;border-radius:50px;font-weight:700;text-decoration:none;font-size:.95rem;border:none;cursor:pointer;font-family:inherit;transition:transform .2s,box-shadow .2s}
.btn-primary{background:linear-gradient(135deg,#38BDF8,#0EA5E9);color:#062B45;box-shadow:0 10px 26px rgba(56,189,248,.4)}
.btn-primary:hover{transform:translateY(-2px)}
.btn-wa{background:#25D366;color:#053}
.btn-wa:hover{transform:translateY(-2px)}

main{padding:2.8rem 0 1rem}

/* ---------- índice ---------- */
.posts{display:grid;gap:1.5rem}
.post-card{background:#fff;border:1px solid #E9EFF6;border-radius:18px;padding:1.8rem;box-shadow:0 4px 18px rgba(12,31,92,.05);transition:transform .25s,box-shadow .25s}
.post-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(12,31,92,.12)}
.post-meta{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:.9rem;font-size:.82rem}
.tag{background:#EFF6FF;color:#0EA5E9;padding:.28rem .8rem;border-radius:50px;font-weight:600}
.data{color:#9CA3AF}
.post-card h2{font-size:1.3rem;color:#0C1F5C;font-weight:700;line-height:1.35;margin-bottom:.6rem}
.post-card h2 a{color:inherit;text-decoration:none}
.post-card h2 a:hover{color:#0EA5E9}
.post-card p{color:#6B7280;font-size:.97rem;margin-bottom:1.1rem}
.ler{color:#0EA5E9;font-weight:700;text-decoration:none;font-size:.93rem;display:inline-flex;gap:.4rem;transition:gap .2s}
.ler:hover{gap:.8rem}
.vazio{text-align:center;padding:3rem 1.5rem;color:#9CA3AF;background:#F7FAFD;border-radius:16px}

/* ---------- artigo ---------- */
article h2{font-size:1.45rem;color:#0C1F5C;font-weight:700;line-height:1.3;margin:2.4rem 0 .9rem;scroll-margin-top:80px}
article h3{font-size:1.1rem;color:#0C1F5C;font-weight:700;margin:1.7rem 0 .6rem}
article p{margin-bottom:1.15rem;color:#374151;text-align:justify}
article ul,article ol{margin:0 0 1.2rem 1.3rem;color:#374151}
article li{margin-bottom:.5rem}
article strong{color:#0C1F5C}
article a{color:#0EA5E9;font-weight:600}
.assinatura{border-top:1px solid #E9EFF6;margin-top:2.5rem;padding-top:1.5rem;display:flex;gap:1rem;align-items:center}
.assinatura .ini{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#0C1F5C,#38BDF8);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.assinatura b{color:#0C1F5C;display:block;font-size:.97rem}
.assinatura span{color:#9CA3AF;font-size:.86rem}

.compartilhar{background:#F7FAFD;border:1px solid #E7EEF6;border-radius:16px;padding:1.4rem;margin:2.2rem 0;text-align:center}
.compartilhar p{margin:0 0 1rem;font-weight:600;color:#0C1F5C;font-size:.95rem;text-align:center}
.share-btns{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}
.share{display:inline-flex;align-items:center;gap:.45rem;padding:.6rem 1.1rem;border-radius:50px;border:none;cursor:pointer;font-family:inherit;font-size:.87rem;font-weight:600;text-decoration:none;transition:transform .2s}
.share:hover{transform:translateY(-2px)}
.share svg{width:16px;height:16px}
.s-wa{background:#25D366;color:#fff}
.s-in{background:#0A66C2;color:#fff}
.s-link{background:#E2E8F0;color:#0C1F5C}

.cta-final{background:linear-gradient(135deg,#0C1F5C,#1A3585);color:#fff;border-radius:22px;padding:2.2rem 1.6rem;text-align:center;margin:3rem 0 1rem;position:relative;overflow:hidden}
.cta-final::before{content:'';position:absolute;top:-70px;right:-70px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.3),transparent 70%)}
.cta-final>*{position:relative;z-index:2}
.cta-final h2{color:#fff;font-size:1.4rem;margin:0 0 .7rem}
.cta-final p{color:rgba(255,255,255,.88);margin-bottom:1.5rem}

footer{background:#0C1F5C;color:#fff;padding:2.5rem 0 2rem;margin-top:2rem}
footer .wrap{text-align:center}
footer img{height:52px;width:auto;margin:0 auto 1rem;background:#fff;padding:8px 14px;border-radius:12px}
footer p{opacity:.85;font-size:.9rem;margin-bottom:.4rem}
footer .links{display:flex;flex-wrap:wrap;gap:.4rem 1.5rem;justify-content:center;margin:1.2rem 0;font-size:.9rem}
footer a{color:#38BDF8;text-decoration:none;font-weight:600}
footer a:hover{color:#fff}
footer .small{font-size:.77rem;color:rgba(255,255,255,.55);margin-top:1rem;line-height:1.6}

.wa-float{position:fixed;bottom:18px;right:18px;z-index:99;background:#25D366;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(37,211,102,.45)}
.wa-float svg{width:29px;height:29px;color:#fff}

@media (min-width:768px){
  .hero{padding:3.5rem 0 4rem}
  .hero h1{font-size:2.4rem}
  article h2{font-size:1.7rem}
  .cta-final{padding:3rem 2.5rem}
  .cta-final h2{font-size:1.75rem}
  .post-card{padding:2.1rem}
  .post-card h2{font-size:1.45rem}
}
