/*
Theme Name: AVN Blog Child
Template: astra
Version: 1.0.0
Description: Tema filho Astra para AVN Marketing Digital
Author: AVN Marketing Digital
Text Domain: avn-blog-child
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Inter:wght@300;400;500&display=swap');

/* ── Reset e Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif !important; font-size: 18px !important; line-height: 1.8 !important; color: #222 !important; background: #fff !important; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; letter-spacing: -0.5px !important; color: #0F172A !important; }
p { margin-bottom: 24px; }
.container { max-width: 1200px; margin: auto; padding: 20px; }
a { text-decoration: none; }

:root {
  --blue: #1A73E8; --blue-dark: #0D5DBF; --blue-light: #E8F0FD;
  --green: #1E8C4A; --ink: #111111; --ink-2: #3a3a3a; --ink-3: #717171;
  --white: #ffffff; --cream-2: #F1F5F9;
  --radius: 12px;
  --shadow: 0 2px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.13);
}

/* ── Ocultar elementos padrão Astra ── */
.ast-masthead-custom-menu-items, .ast-search-menu-icon,
#ast-fixed-footer, .footer-widget-area,
.ast-footer-copyright { display: none !important; }
#masthead, .ast-main-header-wrap { display: none !important; }
#ast-mobile-header { display: none !important; }
.entry-meta, .entry-footer, .comments-area { display: none !important; }
.ast-container { max-width: 100% !important; padding: 0 !important; }
#primary { width: 100% !important; padding: 0 !important; }
#content { padding: 0 !important; }
.ast-separate-container { background: #fff !important; box-shadow: none !important; }
.site-content { padding: 0 !important; }
.ast-page-builder-template { padding: 0 !important; }

/* ── Header customizado ── */
.avn-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #F1F5F9;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.avn-nav {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.avn-logo-link { display: flex; align-items: center; }
.avn-logo-img {
  height: 40px; width: auto;
  border-radius: 50%; background: #fff;
  padding: 4px; box-shadow: 0 1px 8px rgba(0,0,0,0.10);
  object-fit: contain;
}
.avn-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.avn-menu a { font-size: 0.875rem; font-weight: 500; color: #3a3a3a; transition: color .2s; }
.avn-menu a:hover { color: var(--blue); }
.avn-cta {
  background: var(--blue) !important; color: white !important;
  padding: 8px 20px !important; border-radius: 999px !important;
  font-size: 0.85rem !important; transition: background .2s !important;
}
.avn-cta:hover { background: var(--blue-dark) !important; }
.avn-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.avn-hamburger span { display: block; width: 22px; height: 2px; background: #111; border-radius: 2px; }
.avn-mobile-menu { display: none; background: #fff; border-bottom: 1px solid #F1F5F9; padding: 16px 24px; flex-direction: column; gap: 14px; }
.avn-mobile-menu.open { display: flex; }
.avn-mobile-menu a { font-size: 0.95rem; font-weight: 500; color: #3a3a3a; }

/* ── Hero ── */
.blog-hero { max-width: 1140px; margin: 0 auto; padding: 80px 24px 56px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 500; color: var(--blue); letter-spacing: .08em; text-transform: uppercase; background: var(--blue-light); padding: 4px 14px; border-radius: 999px; margin-bottom: 20px; }
.blog-hero h1 { font-size: clamp(2.2rem,5vw,3.8rem) !important; line-height: 1.1 !important; letter-spacing: -0.03em !important; color: #111 !important; max-width: 720px; margin-bottom: 20px; }
.blog-hero h1 em { font-style: normal; color: var(--blue); }
.hero-desc { font-size: 1.05rem; color: #717171; max-width: 540px; margin-bottom: 36px; font-weight: 300; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: #111; display: block; letter-spacing: -0.03em; }
.stat-label { font-size: 0.78rem; color: #717171; }

/* ── Featured ── */
.featured-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px 56px; }
.featured-post { background: #fff; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow); transition: box-shadow .3s; cursor: pointer; }
.featured-post:hover { box-shadow: var(--shadow-hover); }
.featured-img { min-height: 340px; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.post-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; margin-bottom: 16px; }
.tag-gmn { background: #E8F0FD; color: #1A73E8; }
.tag-seo { background: #E6F4EA; color: #1E8C4A; }
.tag-ads { background: #FFF3E0; color: #E65100; }
.tag-cons { background: #F3E5F5; color: #7B1FA2; }
.tag-white { background: rgba(255,255,255,0.2); color: white; }
.featured-body h2 { font-size: 1.65rem !important; line-height: 1.2 !important; margin-bottom: 14px !important; }
.featured-body > p { font-size: 0.95rem; color: #717171; font-weight: 300; margin-bottom: 28px; line-height: 1.75; }
.read-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--blue); transition: gap .2s; }
.read-btn:hover { gap: 14px; }
.post-meta-bar { display: flex; align-items: center; gap: 16px; font-size: 0.78rem; color: #717171; margin-bottom: 16px; flex-wrap: wrap; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ── Grid ── */
.posts-section { max-width: 1140px; margin: 0 auto; padding: 0 24px 80px; }
.grid-title { font-size: 1.4rem !important; margin-bottom: 28px !important; }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; display: flex; flex-direction: column; cursor: pointer; }
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card-thumb { height: 180px; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .card-thumb img { transform: scale(1.05); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1rem !important; line-height: 1.3 !important; margin: 12px 0 10px !important; }
.card-body > p { font-size: 0.85rem; color: #717171; font-weight: 300; line-height: 1.7; flex: 1; margin-bottom: 16px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid #F1F5F9; }
.card-date { font-size: 0.75rem; color: #717171; }
.card-link { font-size: 0.78rem; font-weight: 600; color: var(--blue); }

/* ── Post single ── */
.post-hero { padding: 80px 24px 60px; text-align: center; color: white; }
.post-hero h1 { font-size: clamp(1.8rem,4vw,3rem) !important; line-height: 1.15 !important; max-width: 800px; margin: 0 auto 20px !important; color: white !important; }
.post-meta { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 0.78rem; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.post-content { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.post-content p { font-size: 1.05rem; color: #3a3a3a; margin-bottom: 24px; line-height: 1.8; font-weight: 300; }
.post-content h2 { font-size: 1.5rem !important; margin: 44px 0 16px !important; padding-bottom: 10px; border-bottom: 2px solid #F1F5F9; }
.post-content ul { padding-left: 0; list-style: none; margin-bottom: 24px; }
.post-content ul li { font-size: 1rem; color: #3a3a3a; font-weight: 300; padding: 6px 0 6px 24px; position: relative; border-bottom: 1px solid #F1F5F9; }
.post-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.post-callout { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 32px 0; font-size: 0.95rem; color: #3a3a3a; line-height: 1.7; }
.post-cta { background: #111; border-radius: var(--radius); padding: 32px; text-align: center; margin-top: 48px; }
.post-cta h3 { font-size: 1.3rem !important; color: white !important; margin-bottom: 8px !important; }
.post-cta p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 20px; }
.post-cta a { display: inline-block; background: var(--blue); color: white; font-weight: 600; font-size: 0.9rem; padding: 12px 28px; border-radius: 999px; }
.adsense-slot { margin: 32px 0; text-align: center; min-height: 90px; background: #F1F5F9; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.adsense-slot-label { font-size: 0.75rem; color: #717171; letter-spacing: .04em; }

/* ── Inner pages ── */
.inner-hero { background: #111; padding: 72px 24px 56px; text-align: center; color: white; }
.inner-hero h1 { font-size: clamp(2rem,4vw,3rem) !important; color: white !important; margin-bottom: 16px !important; }
.inner-hero p { color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; font-weight: 300; }
.inner-content { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.inner-content h2 { font-size: 1.4rem !important; margin: 40px 0 14px !important; padding-bottom: 10px; border-bottom: 2px solid #F1F5F9; }
.inner-content p { font-size: 1rem; color: #3a3a3a; font-weight: 300; line-height: 1.85; margin-bottom: 20px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; margin: 24px 0; }
.value-card { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.value-icon { font-size: 1.8rem; margin-bottom: 10px; }
.value-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem; color: #111; margin-bottom: 6px; }
.value-desc { font-size: 0.82rem; color: #717171; line-height: 1.6; }
.contact-box { background: var(--blue); border-radius: var(--radius); padding: 32px; color: white; margin-top: 48px; }
.contact-box h3 { font-size: 1.3rem !important; color: white !important; margin-bottom: 16px !important; }
.contact-item { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 0.95rem; }
.contact-item a { color: white; }
.priv-section { background: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow); }
.priv-section h3 { font-size: 1.05rem !important; margin-bottom: 12px !important; }
.priv-section p { font-size: 0.93rem; color: #3a3a3a; line-height: 1.8; margin: 0; }

/* ── Newsletter ── */
.newsletter { background: #111; padding: 64px 24px; }
.newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-size: 1.8rem !important; color: white !important; margin-bottom: 12px !important; }
.newsletter p { color: rgba(255,255,255,0.55); margin-bottom: 32px; font-weight: 300; }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.nl-form input { flex: 1; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: white; font-family: 'Inter',sans-serif; font-size: 0.9rem; outline: none; }
.nl-form input::placeholder { color: rgba(255,255,255,0.35); }
.nl-form button { padding: 12px 24px; background: var(--blue); color: white; border: none; border-radius: 999px; font-size: 0.88rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.nl-form button:hover { background: var(--blue-dark); }

/* ── CTA Strip ── */
.cta-strip { background: var(--blue); padding: 48px 24px; }
.cta-strip-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h3 { font-size: 1.4rem !important; color: white !important; }
.cta-strip p { color: rgba(255,255,255,0.7); margin-top: 4px; font-size: 0.9rem; }
.btn-white { display: inline-block; background: white; color: var(--blue); font-weight: 700; font-size: 0.9rem; padding: 12px 28px; border-radius: 999px; white-space: nowrap; transition: transform .15s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── Footer ── */
.avn-footer { background: #0D0D0D; color: rgba(255,255,255,0.5); padding: 48px 24px 32px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size: 0.83rem; line-height: 1.7; max-width: 240px; margin-top: 12px; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-family: 'Poppins',sans-serif; font-size: 0.85rem; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1140px; margin: 28px auto 0; display: flex; justify-content: space-between; font-size: 0.78rem; flex-wrap: wrap; gap: 8px; }
.footer-lgpd { background: rgba(255,255,255,0.06); padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; }

/* ── Responsive ── */
@media(max-width:960px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-img { min-height: 240px; }
  .posts-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .avn-menu .hide-mobile { display: none; }
  .avn-hamburger { display: flex; }
  .hero-stats { gap: 24px; }
  .nl-form { flex-direction: column; }
  .cta-strip-inner { text-align: center; }
  .featured-body { padding: 28px 24px; }
}
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.anim { animation: fadeUp .55s ease both; }
