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

/* Regallo — full width global: remove margens/bordas padrão do Astra/WordPress */
html,
body,
#page,
#content,
.site,
.site-content,
.ast-container,
.site-content .ast-container,
#primary,
.content-area,
.site-main,
.ast-article-single,
article.page,
.entry-content,
.wp-block-html{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
  box-sizing:border-box !important;
}

body{
  overflow-x:hidden !important;
}

.entry-header,
.entry-title,
.post-thumb-img-content{
  display:none !important;
}

.entry-content > *:first-child{
  margin-top:0 !important;
}

.entry-content > *:last-child{
  margin-bottom:0 !important;
}

/* Evita faixa lateral causada por body/admin-bar/container em páginas feitas com HTML próprio */
body.page,
body.home,
body.blog{
  background:#FBF8F2 !important;
}

/* 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{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
  background:transparent !important;
}

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{
    display:flex !important;
    flex-direction:column !important;
    min-height:auto !important;
    overflow:hidden !important;
  }

  body.home .hero-left{
    padding:7.4rem 2rem 1.5rem !important;
    min-height:auto !important;
    justify-content:flex-start !important;
  }

  body.home .hero h1{
    font-size:clamp(3.1rem, 8.4vw, 5rem) !important;
    line-height:1 !important;
  }

  body.home .hero-desc{
    max-width:620px !important;
    margin-bottom:1.4rem !important;
  }

  body.home .hero-pills{
    margin-bottom:1.55rem !important;
  }

  body.home .hero-scroll{
    display:none !important;
  }

  body.home .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{
    display:none !important;
  }

  body.home .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{
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center top !important;
  }

  body.home .hero-card{
    display:none !important;
  }
}

@media (max-width: 640px){
  body.home .hero-left{
    padding:6.35rem 1.25rem 1rem !important;
  }

  body.home .hero-eyebrow{
    font-size:.58rem !important;
    letter-spacing:.18em !important;
    margin-bottom:1.15rem !important;
  }

  body.home .hero h1{
    font-size:clamp(2.55rem, 12.2vw, 3.75rem) !important;
    line-height:1.02 !important;
    margin-bottom:.55rem !important;
  }

  body.home .hero-divider{
    margin:1.15rem 0 !important;
  }

  body.home .hero-desc{
    font-size:.9rem !important;
    line-height:1.68 !important;
    margin-bottom:1rem !important;
  }

  body.home .hero-pills{
    gap:.45rem !important;
    margin-bottom:1.15rem !important;
  }

  body.home .hero-pill{
    padding:.42rem .68rem !important;
    font-size:.55rem !important;
    letter-spacing:.12em !important;
  }

  body.home .hero-cta{
    gap:.75rem !important;
  }

  body.home .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{
    padding:0 1.25rem !important;
  }

  body.home .hero-photo{
    max-width:100% !important;
    height:clamp(360px, 112vw, 500px) !important;
    margin-top:1rem !important;
    border-radius:20px 20px 0 0 !important;
  }
}

/* Home — refinamento solicitado: mobile com primeira dobra mais preenchida e sem nota dos depoimentos */
body.home .dep-foot{
  display:none !important;
}

@media (max-width: 640px){
  body.home .hero-left{
    padding:4.85rem 1.25rem .35rem !important;
  }

  body.home .hero-eyebrow{
    margin-bottom:.75rem !important;
  }

  body.home .hero h1{
    margin-bottom:.35rem !important;
  }

  body.home .hero-divider{
    margin:.85rem 0 !important;
  }

  body.home .hero-desc{
    margin-bottom:.75rem !important;
  }

  body.home .hero-pills{
    margin-bottom:.8rem !important;
  }

  body.home .hero-right{
    margin-top:0 !important;
  }

  body.home .hero-photo{
    margin-top:.35rem !important;
    height:clamp(370px, 104vw, 480px) !important;
  }

  body.home .hero-photo img{
    object-position:center 8% !important;
  }
}

@media (max-width: 390px){
  body.home .hero-left{
    padding-top:4.55rem !important;
  }

  body.home .hero-desc{
    font-size:.86rem !important;
    line-height:1.58 !important;
  }

  body.home .hero-photo{
    height:clamp(350px, 102vw, 450px) !important;
  }
}