/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* Páginas premium — full width real no Astra/WordPress */
body.page-id-92,body.page-id-93,body.page-id-94,body.page-id-95,body.page-id-162,
body.page-id-92 #page,body.page-id-93 #page,body.page-id-94 #page,body.page-id-95 #page,body.page-id-162 #page,
body.page-id-92 #content,body.page-id-93 #content,body.page-id-94 #content,body.page-id-95 #content,body.page-id-162 #content,
body.page-id-92 .site-content,body.page-id-93 .site-content,body.page-id-94 .site-content,body.page-id-95 .site-content,body.page-id-162 .site-content,
body.page-id-92 .content-area,body.page-id-93 .content-area,body.page-id-94 .content-area,body.page-id-95 .content-area,body.page-id-162 .content-area,
body.page-id-92 .site-main,body.page-id-93 .site-main,body.page-id-94 .site-main,body.page-id-95 .site-main,body.page-id-162 .site-main,
body.page-id-92 article,body.page-id-93 article,body.page-id-94 article,body.page-id-95 article,body.page-id-162 article,
body.page-id-92 .entry-content,body.page-id-93 .entry-content,body.page-id-94 .entry-content,body.page-id-95 .entry-content,body.page-id-162 .entry-content,
body.page-id-92 .wp-block-html,body.page-id-93 .wp-block-html,body.page-id-94 .wp-block-html,body.page-id-95 .wp-block-html,body.page-id-162 .wp-block-html,
body.page-id-92 .ast-container,body.page-id-93 .ast-container,body.page-id-94 .ast-container,body.page-id-95 .ast-container,body.page-id-162 .ast-container,
body.page-id-92 .site-content .ast-container,body.page-id-93 .site-content .ast-container,body.page-id-94 .site-content .ast-container,body.page-id-95 .site-content .ast-container,body.page-id-162 .site-content .ast-container,
body.page-id-92 .ast-article-single,body.page-id-93 .ast-article-single,body.page-id-94 .ast-article-single,body.page-id-95 .ast-article-single,body.page-id-162 .ast-article-single{
  margin:0!important;padding:0!important;max-width:none!important;width:100%!important;background:transparent!important;
}

body.page-id-92 .entry-header,body.page-id-93 .entry-header,body.page-id-94 .entry-header,body.page-id-95 .entry-header,body.page-id-162 .entry-header,
body.page-id-92 .entry-title,body.page-id-93 .entry-title,body.page-id-94 .entry-title,body.page-id-95 .entry-title,body.page-id-162 .entry-title,
body.page-id-92 .post-thumb-img-content,body.page-id-93 .post-thumb-img-content,body.page-id-94 .post-thumb-img-content,body.page-id-95 .post-thumb-img-content,body.page-id-162 .post-thumb-img-content{
  display:none!important;
}

body.page-id-92 .entry-content>*:first-child,body.page-id-93 .entry-content>*:first-child,body.page-id-94 .entry-content>*:first-child,body.page-id-95 .entry-content>*:first-child,body.page-id-162 .entry-content>*:first-child{margin-top:0!important;}

body.page-id-92 .vb-premium,body.page-id-93 .vb-premium,body.page-id-94 .vb-premium,body.page-id-95 .vb-premium,body.page-id-162 .vb-sobre-page{
  width:100vw!important;max-width:100vw!important;margin:0!important;padding:0!important;overflow:hidden!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;
}

body.page-id-92 .vb-fw,body.page-id-93 .vb-fw,body.page-id-94 .vb-fw,body.page-id-95 .vb-fw,
body.page-id-162 .vb-sobre-hero,body.page-id-162 .vb-sobre-section,body.page-id-162 .vb-sobre-final{
  width:100vw!important;max-width:100vw!important;margin-left:0!important;margin-right:0!important;
}

body.page-id-92 .vb-hero h1,body.page-id-93 .vb-hero h1,body.page-id-94 .vb-hero h1,body.page-id-95 .vb-hero h1,body.page-id-162 .vb-sobre-hero h1{color:#fff!important;}

/* Blog — acabamento premium do template home.php */
body.blog,body.blog #page,body.blog #content,body.blog .site-content{background:#253D35!important;margin-top:0!important;padding-top:0!important;}
body.blog .site-header,body.home.blog .site-header,body.blog #masthead{position:absolute!important;top:0!important;left:0!important;right:0!important;width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:50!important;}
body.blog .main-header-bar,body.blog .ast-primary-header-bar,body.blog .ast-above-header-bar,body.blog .ast-below-header-bar{background:transparent!important;border:0!important;box-shadow:none!important;}
body.blog .site-content .ast-container,body.blog .content-area,body.blog .site-main,body.blog #primary,body.blog .vb-blog-template{margin-top:0!important;padding-top:0!important;}
body.blog .vb-blog-hero{margin-top:0!important;padding-top:clamp(9.5rem,13vw,12rem)!important;}
body.blog .vb-road-card{padding:2.55rem 2.65rem 2.7rem!important;min-height:305px!important;overflow:hidden!important;}
body.blog .vb-road-card h3{font-size:clamp(1.45rem,1.7vw,1.85rem)!important;line-height:1.16!important;margin:.9rem 0 1rem!important;max-width:100%!important;}
body.blog .vb-road-card p{font-size:.96rem!important;line-height:1.9!important;max-width:100%!important;padding-right:.35rem!important;overflow-wrap:break-word!important;}
body.blog .vb-post-grid:has(.vb-road-card){gap:1.8rem!important;}
@media(max-width:1180px){body.blog .vb-post-grid:has(.vb-road-card){grid-template-columns:1fr 1fr!important;}}
@media(max-width:760px){body.blog .vb-blog-hero{padding-top:8.5rem!important;}body.blog .vb-post-grid:has(.vb-road-card){grid-template-columns:1fr!important;}body.blog .vb-road-card{padding:2rem 1.8rem 2.2rem!important;min-height:auto!important;}}

/* Home — hero mobile/tablet corrigido */
@media(max-width:1024px){
  body.home .hero,body.page-id-6 .hero{display:flex!important;flex-direction:column!important;min-height:auto!important;overflow:hidden!important;}
  body.home .hero-left,body.page-id-6 .hero-left{padding:7.4rem 2rem 1.5rem!important;min-height:auto!important;justify-content:flex-start!important;}
  body.home .hero h1,body.page-id-6 .hero h1{font-size:clamp(3.1rem,8.4vw,5rem)!important;line-height:1!important;}
  body.home .hero-desc,body.page-id-6 .hero-desc{max-width:620px!important;margin-bottom:1.4rem!important;}
  body.home .hero-pills,body.page-id-6 .hero-pills{margin-bottom:1.55rem!important;}
  body.home .hero-scroll,body.page-id-6 .hero-scroll{display:none!important;}
  body.home .hero-right,body.page-id-6 .hero-right{position:relative!important;display:block!important;min-height:auto!important;height:auto!important;padding:0 2rem!important;margin:0!important;overflow:visible!important;z-index:3!important;}
  body.home .hero-photo-frame,body.page-id-6 .hero-photo-frame{display:none!important;}
  body.home .hero-photo,body.page-id-6 .hero-photo{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-width:620px!important;min-width:0!important;height:clamp(420px,62vw,620px)!important;min-height:0!important;margin:1.2rem auto 0!important;border-radius:26px 26px 0 0!important;border:1px solid rgba(236,201,138,.42)!important;border-bottom:none!important;box-shadow:0 26px 70px rgba(0,0,0,.22)!important;background-image:url('https://vithoriaberte.com.br/wp-content/uploads/2026/04/DSC00972-scaled-e1779921688136.jpg')!important;background-size:cover!important;background-position:center top!important;}
  body.home .hero-photo img,body.page-id-6 .hero-photo img{display:block!important;opacity:1!important;visibility:visible!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;}
}

@media(max-width:640px){
  body.home .hero-left,body.page-id-6 .hero-left{padding:4.85rem 1.25rem .35rem!important;}
  body.home .hero-eyebrow,body.page-id-6 .hero-eyebrow{font-size:.58rem!important;letter-spacing:.18em!important;margin-bottom:.75rem!important;}
  body.home .hero h1,body.page-id-6 .hero h1{font-size:clamp(2.55rem,12.2vw,3.75rem)!important;line-height:1.02!important;margin-bottom:.35rem!important;}
  body.home .hero-divider,body.page-id-6 .hero-divider{margin:.85rem 0!important;}
  body.home .hero-desc,body.page-id-6 .hero-desc{font-size:.9rem!important;line-height:1.68!important;margin-bottom:.75rem!important;}
  body.home .hero-pills,body.page-id-6 .hero-pills{gap:.45rem!important;margin-bottom:.8rem!important;}
  body.home .hero-pill,body.page-id-6 .hero-pill{padding:.42rem .68rem!important;font-size:.55rem!important;letter-spacing:.12em!important;}
  body.home .hero-cta,body.page-id-6 .hero-cta{gap:.75rem!important;}
  body.home .hero-cta .btn,body.page-id-6 .hero-cta .btn{width:100%!important;max-width:100%!important;padding:.9rem 1rem!important;font-size:.62rem!important;letter-spacing:.08em!important;white-space:normal!important;text-align:center!important;}
  body.home .hero-right,body.page-id-6 .hero-right{padding:0 1.25rem!important;margin-top:0!important;}
  body.home .hero-photo,body.page-id-6 .hero-photo{max-width:100%!important;height:clamp(370px,104vw,480px)!important;margin-top:.35rem!important;border-radius:20px 20px 0 0!important;}
  body.home .hero-photo img,body.page-id-6 .hero-photo img{object-position:center 8%!important;}
}

@media(max-width:390px){
  body.home .hero-left,body.page-id-6 .hero-left{padding-top:4.55rem!important;}
  body.home .hero-desc,body.page-id-6 .hero-desc{font-size:.86rem!important;line-height:1.58!important;}
  body.home .hero-photo,body.page-id-6 .hero-photo{height:clamp(350px,102vw,450px)!important;}
}

/* Ajustes finais da Home */
body.home .dep-foot,body.page-id-6 .dep-foot{display:none!important;}
body.home .hero-card,body.page-id-6 .hero-card,body.front-page .hero-card{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;}

/* Correção do botão voltar ao topo — seta para cima */
.vb-scroll-top::before,
body.home .vb-scroll-top::before,
body.page-id-6 .vb-scroll-top::before{
  content:"\2191"!important;
  color:#fff!important;
  font-size:30px!important;
  font-weight:700!important;
  line-height:1!important;
  font-family:Arial,Helvetica,sans-serif!important;
  display:block!important;
  transform:translateY(-2px)!important;
}

/* Ocultar faixa de inscrição no blog apenas na Home e na página Sobre */
body.home #vb-footer .vbf-nl,
body.page-id-6 #vb-footer .vbf-nl,
body.page-id-162 #vb-footer .vbf-nl{
  display:none!important;
}
