/* ===== TEMA REFBYSMM — COPIA FIEL do tema-original.html (blog.zip) ===== */
/* --- BLOCO 1: :root + cards (do index.php original) --- */
  
    :root{
      --max-w:1150px;
      --pad:18px;
      --bg:#fff;
      --muted:#6b7280;
      --text:#0f172a;
      --card:#ffffff;
      --border:rgba(15,15,15,0.06);
      --shadow:0 6px 18px rgba(12,14,20,0.04);
      --radius:14px;
      font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    }*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;border-radius:12px;display:block}
a{text-decoration:none;color:inherit}

main{
  max-width:var(--max-w);
  margin:0 auto;
  padding:24px var(--pad) 40px;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.post-card{
  display:flex;
  flex-direction:column;
  background:var(--card);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform 0.15s ease;
}

.post-card:hover{transform:translateY(-3px)}

.post-thumb img{width:100%;height:auto;object-fit:cover}

.post-body{
  padding:18px 20px 22px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.meta{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:var(--muted);
}

.kicker{
  font-weight:700;
  font-size:13px;
  background:rgba(0,0,0,0.03);
  padding:6px 10px;
  border-radius:999px;
}

.kicker.popular{
  background:#d1fae5;
  color:#065f46;
}

h3{
  font-size:18px;
  line-height:1.25;
  margin:6px 0;
  font-weight:800;
}

p{
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

.footer{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  color:var(--muted);
  margin-top:10px;
  flex-wrap:wrap;
}

.footer .read-more{
  margin-left:auto;
  font-weight:700;
}
.read-btn {
  color: #2563eb; /* Azul */
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: 0.15s ease;
}

.read-btn:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.18);
}











@media (min-width:720px){
  .post-card{
    flex-direction:row;
    gap:22px;
    align-items:stretch;
  }

  .post-thumb{
    width:320px;
    flex-shrink:0;
    height:100%;
    overflow:hidden;
  }

  .post-thumb img{
    height:100%;
    object-fit:cover;
  }

  .post-body{
    padding:22px;
  }
}
  

/* --- BLOCO 2: header (do header.html original) --- */

header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 28px;
  width: auto;
}

/* MENU DESKTOP */
nav {
  display: flex;
  gap: 28px;
}
nav a {
  color: #333;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

/*** MOBILE BUTTON ***/
.menu-toggle {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #333;
  display: none;
}

/*** MOBILE SIDE MENU LEFT ***/
.menu-sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  padding: 32px 24px; /* mais espaço premium */
  transition: left .3s ease;
  z-index: 1001;
}
.menu-sidebar.show {
  left: 0;
}

.menu-sidebar a {
  margin: 18px 0;        /* espaçamento maior */
  font-size: 19px;       /* maior e clean */
  font-weight: 600;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.menu-sidebar a:first-of-type {
  margin-top: 28px; /* espaço após botão fechar */
}

/*** CLOSE BUTTON ***/
.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  margin-left: auto;
  cursor: pointer;
}

/*** BACKDROP ***/
.menu-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 1000;
}
.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/*** RESPONSIVE ***/
@media (max-width: 768px) {
  nav { display: none; }

  .menu-toggle {
    display: block;
    margin-right: 6px; /* espaço pequeno entre botão e logo */
  }

  .container {
    justify-content: flex-start;
    gap: 10px;
  }

  .logo img {
    height: 24px;
    width: auto;
  }
}


/* --- BLOCO 3: hero animado (do index.php original) --- */
    .hero {
  text-align: center;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
}

.hero p {
  max-width: 540px;
  margin: 15px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Gradiente animado */
.gradient-text {
  background: linear-gradient(90deg,#7F00FF,#E100FF,#FF4D4D,#FFD200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  background-size: 300% 300%;
  animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === COR-TEMA POR PLATAFORMA (escalavel) ===
   .gradient-text base = Instagram (roxo/magenta, ja definido acima).
   Cada plataforma adiciona uma classe que SO troca as cores do gradiente;
   a animacao gradientMove e herdada. Pra adicionar Kwai/outra: nova regra abaixo. */
.gradient-text.tiktok {
  /* TikTok: preto com acentos ciano (#25F4EE) e rosa/vermelho (#FE2C55) - efeito glitch */
  background-image: linear-gradient(90deg,#25F4EE,#FE2C55,#25F4EE,#FE2C55);
}
.gradient-text.kwai {
  /* Kwai: laranja/coral (placeholder pra quando ativar a secao) */
  background-image: linear-gradient(90deg,#FF6A00,#FF3B30,#FF9500,#FF6A00);
}

/* 📱 MOBILE AJUSTE */
@media (max-width: 600px) {
  .hero {
    text-align: left;
    padding: 0px 0px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero p {
    font-size: 14px;
    margin-top: 10px;
  }
}
   


/* --- BLOCO 4: footer (do footer.html original) --- */

  footer {
    background: #fafafa;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 60px;
    font-family: Inter, sans-serif;
  }

  .footer-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 40px 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
  }

  footer h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  footer p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links a {
    color: #374151;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-links a:hover {
    color: #000;
  }

.footer-disclaimer {
  background: transparent;
  text-align: center;
  padding: 8px 18px;
}

.footer-disclaimer p {
  font-size: 12px !important;
  color: #777;
  line-height: 1.4;
}

  .footer-bottom {
    background: #000;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 10px 18px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 12.5px;
    color: #6b7280;
  }

  @media (min-width: 1024px) {
    footer p, .footer-links a {
      font-size: 13.5px;
    }
  }


/* --- sino de notificacao (CTA Apex) + article-cta + back + pagination + logo-text — componentes do refbysmm nao presentes no tema estatico --- */
.logo .logo-text{font-size:24px;font-weight:800;letter-spacing:-.5px;color:#0f172a;}
.notif-btn{position:absolute;right:14px;top:50%;transform:translateY(-50%);cursor:pointer;font-size:32px;z-index:1050;opacity:0;pointer-events:none;transition:opacity .3s ease;}
.notif-btn.show{opacity:1;pointer-events:auto;}
.notif-badge{position:absolute;top:-1px;right:-1px;background:#22c55e;color:#fff;font-size:14px;font-weight:700;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.notif-popup{position:fixed;right:16px;top:70px;width:260px;background:#fff;border:1px solid rgba(0,0,0,.1);box-shadow:0 4px 16px rgba(0,0,0,.12);padding:16px;border-radius:10px;display:none;z-index:2000;}
.notif-popup h4{margin-bottom:8px;font-size:19px;font-weight:700;}
.notif-popup p{font-size:14px;line-height:1.55;margin-bottom:12px;color:#6b7280;}
.notif-popup a{color:#2563eb;font-weight:600;}
.notif-close{background:none;border:none;font-size:16px;cursor:pointer;float:right;margin-top:-4px;}
.notif-backdrop{position:fixed;top:0;left:0;width:100%;height:100vh;background:rgba(0,0,0,.4);backdrop-filter:blur(3px);display:none;z-index:1999;}
.back{display:inline-block;margin-bottom:20px;color:#6b7280;font-size:14px;}
.back:hover{color:#0f172a;}
.empty{color:#6b7280;text-align:center;padding:3rem 1rem;}
.pagination{display:flex;gap:8px;margin-top:22px;flex-wrap:wrap;justify-content:center;}
.pagination a,.pagination span{padding:6px 12px;border:1px solid rgba(15,15,15,0.06);border-radius:8px;font-size:14px;color:#0f172a;}
article.single{background:#fff;border:1px solid rgba(15,15,15,0.06);box-shadow:0 6px 18px rgba(12,14,20,0.04);border-radius:14px;padding:32px 26px;display:flex;flex-direction:column;gap:18px;}
article.single h1{font-size:30px;font-weight:800;line-height:1.25;margin-bottom:16px;}
article.single h2{font-size:20px;font-weight:700;margin-top:30px;margin-bottom:10px;}
article.single p{color:#6b7280;font-size:16px;line-height:1.65;margin-bottom:12px;}
article.single ul,article.single ol{color:#6b7280;font-size:16px;line-height:1.65;padding-left:22px;margin-bottom:12px;}
.article-cta{background:#f8fafc;border:1px solid rgba(15,15,15,0.06);padding:22px;border-radius:12px;text-align:center;margin:28px 0;}
.article-cta h3{font-size:18px;font-weight:700;margin-bottom:10px;color:#111;}
.article-cta p{font-size:15px;margin-bottom:14px;color:#6b7280;}
.article-cta a{display:inline-block;padding:10px 18px;border-radius:8px;background:#2563eb;color:#fff;font-weight:600;}
/* seletor de idioma (i18n) */
/* seletor de idioma (desktop) - alinhado ao menu, discreto */
.lang-switch{display:inline-flex;align-items:center;gap:2px;margin-left:18px;padding-left:16px;border-left:1px solid rgba(0,0,0,.10);height:20px;}
nav .lang-switch a{font-size:12px;font-weight:600;color:#9ca3af;padding:3px 7px;border-radius:5px;letter-spacing:.4px;line-height:1;text-decoration:none;transition:color .15s,background .15s;}
nav .lang-switch a.active{color:#2563eb;background:rgba(37,99,235,0.08);}
nav .lang-switch a:hover{color:#2563eb;background:rgba(37,99,235,0.05);}
/* seletor de idioma (mobile) */
.lang-switch-mobile{display:flex;gap:8px;margin-top:24px;padding-top:20px;border-top:1px solid rgba(0,0,0,.08);}
.lang-switch-mobile a{font-size:15px;font-weight:700;color:#9ca3af;padding:4px 10px;border-radius:6px;text-decoration:none;}
.lang-switch-mobile a.active{color:#2563eb;background:rgba(37,99,235,0.08);}
