/* Conecta Rede Geral - folha de estilo editorial */
:root{
  --brand:#1b3a5b;
  --cta:#2ba9a0;
  --night:#0f2133;
  --surface:#f4f7f9;
  --copy:#22303a;
  --muted:#5f7180;
  --stroke:#d7e0e6;
  --radius:12px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  color:var(--copy);
  line-height:1.65;
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--cta)}
.wrap{max-width:1160px;margin:0 auto;padding:0 22px}

/* Disclaimer topo */
.topbar{background:var(--night);color:#dfe8ee;font-size:.82rem;padding:9px 0}
.topbar .wrap{display:flex;gap:10px;align-items:flex-start}
.topbar .ic{flex-shrink:0;font-weight:700;color:var(--cta)}

/* Header */
header.site{
  position:sticky;top:0;z-index:40;background:#fff;
  border-bottom:1px solid var(--stroke);
}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.18rem;color:var(--brand)}
.logo img{width:30px;height:30px;border-radius:7px}
nav.main ul{list-style:none;display:flex;gap:28px;align-items:center}
nav.main a{color:var(--copy);font-size:.95rem;font-weight:500}
nav.main a:hover{color:var(--cta)}
.burger{display:none;background:none;border:0;font-size:1.5rem;cursor:pointer;color:var(--brand)}

/* Hero */
.hero{background:linear-gradient(180deg,var(--surface),#fff)}
.hero .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:44px;align-items:center;padding:60px 22px}
.hero h1{font-size:2.3rem;line-height:1.2;color:var(--brand);margin-bottom:16px}
.hero p.sub{font-size:1.08rem;color:var(--muted);margin-bottom:22px}
.hero img{border-radius:var(--radius);box-shadow:0 14px 34px rgba(15,33,51,.16);width:100%;height:auto}
.btn{
  display:inline-block;background:var(--cta);color:#fff;font-weight:600;
  padding:13px 30px;border-radius:10px;border:0;cursor:pointer;font-size:.98rem;
}
.btn:hover{background:#23938c;color:#fff}
.btn.ghost{background:transparent;color:var(--brand);border:1.5px solid var(--brand);margin-left:10px}
.btn.ghost:hover{background:var(--brand);color:#fff}

/* bloco de fatos (value-before-scroll) */
.facts{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:26px}
.facts li{list-style:none;background:#fff;border:1px solid var(--stroke);border-radius:10px;padding:12px 14px}
.facts b{display:block;color:var(--cta);font-size:1.15rem}
.facts span{font-size:.84rem;color:var(--muted)}

/* Secoes */
section.block{padding:72px 0}
section.block.alt{background:var(--surface)}
h2.title{font-size:1.9rem;color:var(--brand);margin-bottom:40px;line-height:1.25}
h2.title small{display:block;font-size:.95rem;font-weight:400;color:var(--muted);margin-top:8px}

/* Sobre */
.sobre-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;align-items:center}
.sobre-grid img{border-radius:var(--radius);width:100%;height:auto}
.sobre-grid p{margin-bottom:14px;color:var(--copy)}

/* Cards temas */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px}
.card{background:#fff;border:1px solid var(--stroke);border-radius:var(--radius);padding:24px 22px;transition:.2s}
.card:hover{box-shadow:0 10px 26px rgba(15,33,51,.09);transform:translateY(-3px)}
.card .ico{width:44px;height:44px;border-radius:10px;background:rgba(43,169,160,.13);display:flex;align-items:center;justify-content:center;color:var(--cta);font-size:1.3rem;font-weight:700;margin-bottom:14px}
.card h3{color:var(--brand);font-size:1.1rem;margin-bottom:8px}
.card p{font-size:.92rem;color:var(--muted)}

/* Como funciona */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:26px;counter-reset:s}
.step{position:relative;padding-left:4px}
.step .n{width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:12px}
.step h3{color:var(--brand);font-size:1.02rem;margin-bottom:6px}
.step p{font-size:.9rem;color:var(--muted)}

/* FAQ */
.faq details{background:#fff;border:1px solid var(--stroke);border-radius:10px;padding:0;margin-bottom:12px}
.faq summary{cursor:pointer;padding:16px 20px;font-weight:600;color:var(--brand);list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--cta);font-weight:700}
.faq details[open] summary::after{content:"\2212"}
.faq details p{padding:0 20px 18px;color:var(--muted);font-size:.94rem}

/* Blog preview */
.posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.post{background:#fff;border:1px solid var(--stroke);border-radius:var(--radius);overflow:hidden}
.post img{width:100%;height:170px;object-fit:cover}
.post .body{padding:18px 20px}
.post .tag{font-size:.75rem;color:var(--cta);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.post h3{font-size:1.05rem;color:var(--brand);margin:8px 0}
.post p{font-size:.9rem;color:var(--muted)}

/* Contato */
.contato-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:44px}
.contato-grid form{display:flex;flex-direction:column;gap:14px}
.contato-grid input,.contato-grid textarea{
  padding:12px 16px;border:1px solid var(--stroke);border-radius:8px;font-size:.95rem;font-family:inherit;width:100%;
}
.contato-grid textarea{min-height:130px;resize:vertical}
.info-list{list-style:none}
.info-list li{margin-bottom:16px;font-size:.95rem}
.info-list b{display:block;color:var(--brand)}

/* Footer */
footer.site{background:var(--night);color:#c3d0da;padding-top:54px;font-size:.9rem}
footer.site .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:30px}
footer.site h4{color:#fff;font-size:1rem;margin-bottom:14px}
footer.site a{color:#c3d0da;display:block;margin-bottom:8px}
footer.site a:hover{color:var(--cta)}
footer.site .legal{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;font-size:.8rem;color:#92a4b1;line-height:1.6}

/* Artigos */
article.post-full{max-width:800px;margin:0 auto;padding:40px 22px 60px}
article.post-full .crumb{font-size:.84rem;color:var(--muted);margin-bottom:18px}
article.post-full h1{font-size:2rem;color:var(--brand);line-height:1.25;margin-bottom:10px}
article.post-full .byline{font-size:.85rem;color:#8795a0;margin-bottom:22px}
article.post-full img.lead{width:100%;border-radius:var(--radius);margin:14px 0 26px;height:auto}
article.post-full h2{color:var(--brand);font-size:1.4rem;margin:30px 0 12px}
article.post-full h3{color:var(--brand);font-size:1.12rem;margin:22px 0 8px}
article.post-full p{margin-bottom:16px}
article.post-full ul,article.post-full ol{margin:0 0 16px 22px}
article.post-full li{margin-bottom:7px}
.authorbox{background:var(--surface);padding:18px 20px;border-radius:10px;margin-top:34px;display:flex;gap:14px;align-items:center}
.authorbox .av{width:48px;height:48px;border-radius:50%;background:#cdd9e1;flex-shrink:0}
.backlink{display:inline-block;margin-top:26px;color:var(--brand);font-weight:600}

/* Legal pages */
.legal-page{max-width:820px;margin:0 auto;padding:44px 22px 60px}
.legal-page h1{color:var(--brand);font-size:1.9rem;margin-bottom:20px}
.legal-page h2{color:var(--brand);font-size:1.25rem;margin:26px 0 10px}
.legal-page p,.legal-page li{margin-bottom:12px;color:var(--copy)}
.legal-page ul{margin-left:22px}

/* Cookie banner CSS-only */
#ck{display:none}
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--night);color:#e4edf2;padding:14px 0}
.cookie .wrap{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cookie p{font-size:.86rem;margin:0}
.cookie label{background:var(--cta);color:#fff;padding:9px 22px;border-radius:8px;cursor:pointer;font-weight:600;font-size:.86rem;white-space:nowrap}
#ck:checked ~ .cookie{display:none}

/* Responsivo */
@media(max-width:860px){
  nav.main{position:fixed;inset:68px 0 auto 0;background:#fff;border-bottom:1px solid var(--stroke);transform:translateY(-130%);transition:.25s;padding:10px 0}
  nav.main.open{transform:translateY(0)}
  nav.main ul{flex-direction:column;gap:0}
  nav.main li{padding:10px 22px;border-top:1px solid var(--surface)}
  .burger{display:block}
  .hero .wrap,.sobre-grid,.contato-grid,footer.site .cols{grid-template-columns:1fr}
  .hero h1{font-size:1.8rem}
  .facts{grid-template-columns:1fr 1fr}
}
