/* site-static.css — usado apenas nos artigos estáticos gerados pelo Actions */
:root{
  --bg:#f8fafc;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.10);
  --brand:#4f46e5; /* indigo-600 */
  --brand2:#1e293b; /* slate-800 */
  --shadow:0 20px 40px rgba(2,6,23,.08);
  --radius:22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

.container{
  max-width:1080px;
  margin:0 auto;
  padding:0 18px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.82);
  border-bottom:1px solid var(--border);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .name{
  font-weight:900;
  letter-spacing:-.02em;
  font-size:18px;
  color:#0b1220;
}
.brand .sub{
  margin-top:4px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--brand);
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  font-size:13px;
  font-weight:650;
  color: var(--muted);
  padding:8px 10px;
  border-radius:999px;
}
.nav a:hover{
  background: rgba(79,70,229,.08);
  color: var(--brand);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  font-weight:750;
  font-size:13px;
  white-space:nowrap;
}
.btn-primary{
  background:var(--brand);
  color:#fff;
  box-shadow: 0 14px 28px rgba(79,70,229,.18);
}
.btn-primary:hover{filter:brightness(.98)}
.btn-outline{
  border:1px solid var(--border);
  background:#fff;
  color:#0f172a;
}

.hero{
  padding:28px 0 10px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(79,70,229,.18);
  color:var(--brand);
  font-weight:800;
  font-size:11px;
  box-shadow: 0 12px 22px rgba(2,6,23,.06);
}
.h1{
  margin:14px 0 10px;
  font-size:36px;
  line-height:1.1;
  letter-spacing:-.03em;
  font-weight:950;
}
.lead{
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.6;
}

.shell{
  padding:14px 0 42px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-inner{
  padding:22px 22px;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-top:14px;
  color:var(--muted);
  font-size:13px;
}
.meta strong{color:#0f172a}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.prose{
  font-size:16px;
  line-height:1.8;
  color:#0f172a;
}
.prose h2{
  margin:26px 0 10px;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.01em;
  font-weight:900;
}
.prose h3{
  margin:18px 0 8px;
  font-size:18px;
  line-height:1.3;
  font-weight:850;
}
.prose p{margin:0 0 14px}
.prose ul{margin:0 0 14px; padding-left:18px}
.prose li{margin:6px 0; color:#0f172a}
.prose a{color:var(--brand); font-weight:750}
.prose blockquote{
  margin:18px 0;
  padding:14px 16px;
  border-left:4px solid rgba(79,70,229,.35);
  background: rgba(79,70,229,.05);
  border-radius: 14px;
  color: #0f172a;
}

.cta{
  margin-top:18px;
  padding:16px;
  border-radius: 18px;
  background: #0b1220;
  color: #e5e7eb;
}
.cta a{color:#fff; font-weight:850; text-decoration:underline}
.cta small{display:block; margin-top:6px; color:#94a3b8}

.footer{
  margin-top:34px;
  padding:26px 0 40px;
  border-top:1px solid var(--border);
  color:#64748b;
  font-size:12px;
}
.footer .grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr;
  gap:16px;
}
.footer .title{
  font-weight:900;
  color:#0f172a;
}
.footer a{color:#475569; font-weight:700}
.footer a:hover{color:var(--brand)}

.fab{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 18px 30px rgba(79,70,229,.25);
  z-index:80;
  font-weight:900;
}
.fab:hover{filter:brightness(.98)}

@media (max-width: 720px){
  .h1{font-size:30px}
  .lead{font-size:16px}
  .topbar-inner{padding:12px 0}
  .nav{gap:8px}
  .nav a{padding:8px 8px}
  .footer .grid{grid-template-columns:1fr}
}

/* BLOG_CARDS_V2 */
/* deixa a lista de artigos com “cards” bem separados e fáceis de escanear */

.post-card{
  background:#ffffff;
  border:1px solid rgba(148,163,184,.35);
  border-radius:18px;
  padding:18px 18px 16px;
  margin:16px 0;
  box-shadow: 0 10px 26px rgba(2,6,23,.08);
}

.post-title{
  margin:0 0 10px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.02em;
}

.post-title a{
  color:#4f46e5;
  text-decoration:none;
}

.post-title a:hover{
  text-decoration:underline;
}

.post-desc{
  margin:0 0 14px;
  color:#334155;
  line-height:1.55;
  font-size:15px;
}

.post-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(79,70,229,.10);
  color:#4f46e5;
  font-weight:800;
  text-decoration:none;
}

.post-link:hover{
  background: rgba(79,70,229,.16);
  text-decoration:none;
}

/* separador visual antes/apos a lista */
#ultimos-artigos{
  margin-bottom:10px;
}

@media (max-width: 640px){
  .post-card{
    padding:16px 14px 14px;
    border-radius:16px;
    margin:14px 0;
  }
  .post-desc{
    font-size:16px;
  }
  .post-link{
    width:100%;
    justify-content:center;
  }
}
/* /BLOG_CARDS_V2 */

/* PSI_LCP_PATCH_V1 */
/* Objetivo: reduzir LCP no mobile removendo peso visual acima da dobra.
   - Remove background-image da hero em telas pequenas (se existir)
   - Usa gradiente leve
   - Reduz padding/altura
   - Evita sombras/efeitos pesados no topo
*/
@media (max-width: 640px) {
  .hero {
    background-image: none !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    padding-top: 28px !important;
    padding-bottom: 22px !important;
  }
  .hero .h1 {
    font-size: 2.05rem !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
  }
  .hero .lead {
    font-size: 1.02rem !important;
    line-height: 1.45 !important;
  }
  /* Se houver cards/containers muito pesados no topo */
  .card, .shell .card {
    box-shadow: 0 8px 22px rgba(2,6,23,.06) !important;
  }
}
/* Fim PSI_LCP_PATCH_V1 */
