
/* V254 - Corrige topo com ondinhas sem criar barra preta */
.page-hero{
  position:relative!important;
  overflow:hidden!important;
  margin-bottom:28px!important;
  border-bottom:0!important;
}

/* Desliga a onda escura anterior que virava barra preta */
.page-hero::before,
.page-hero::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  pointer-events:none!important;
}

/* Agora a onda é branca/da cor do fundo, recortando o rodapé do topo */
.page-hero::after{
  bottom:-1px!important;
  height:54px!important;
  z-index:2!important;
  background:var(--site-bg,#ffffff)!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg width='1440' height='80' viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 35 C130 20 245 52 378 36 C528 18 640 16 770 32 C920 50 1040 60 1190 38 C1290 24 1370 27 1440 22 L1440 80 L0 80 Z' fill='%23000'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg width='1440' height='80' viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 35 C130 20 245 52 378 36 C528 18 640 16 770 32 C920 50 1040 60 1190 38 C1290 24 1370 27 1440 22 L1440 80 L0 80 Z' fill='%23000'/%3E%3C/svg%3E")!important;
  -webkit-mask-size:100% 100%!important;
  mask-size:100% 100%!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
}

/* Linhas suaves, sem barra escura */
.page-hero::before{
  bottom:10px!important;
  height:42px!important;
  z-index:3!important;
  opacity:.20!important;
  background-repeat:no-repeat!important;
  background-position:center bottom!important;
  background-size:100% 100%!important;
  background-image:url("data:image/svg+xml,%3Csvg width='1440' height='60' viewBox='0 0 1440 60' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 35 C130 20 245 52 378 36 C528 18 640 16 770 32 C920 50 1040 60 1190 38 C1290 24 1370 27 1440 22' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M80 32 C160 24 250 31 335 39' fill='none' stroke='%23ffffff' stroke-width='1.4' opacity='.65' stroke-linecap='round'/%3E%3Cpath d='M430 38 C520 46 605 36 690 29' fill='none' stroke='%23ffffff' stroke-width='1.4' opacity='.58' stroke-linecap='round'/%3E%3Cpath d='M960 42 C1050 50 1135 45 1215 35' fill='none' stroke='%23ffffff' stroke-width='1.4' opacity='.58' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}

.page-hero > .container{
  position:relative!important;
  z-index:4!important;
}

/* Evita espaço exagerado depois do topo */
.page-hero + .section,
.page-hero + main,
.page-hero + .content-page{
  margin-top:0!important;
}

@media(max-width:760px){
  .page-hero{
    margin-bottom:22px!important;
  }

  .page-hero::after{
    height:40px!important;
  }

  .page-hero::before{
    bottom:7px!important;
    height:34px!important;
    opacity:.16!important;
  }
}
