/* RVA: uniformização de navegação, 28-10-2026 */
@media(min-width:901px){
 header.header .nav-submenu-toggle{display:none!important}
 header.header .nav-dropdown{gap:0!important}
 header.header .nav-parent::after,header.header .nav-parent:after{content:none!important;display:none!important}
}
header.header .rva-testimonial-nav{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;color:#e31937!important;font-weight:800!important;transform:none!important}
header.header .rva-testimonial-nav::before,header.header .rva-testimonial-nav::after{display:none!important;content:none!important}
/* Página de depoimentos: cabeçalho idêntico ao restante do site */
body.rva-depoimentos .topbar{background:#081d46;color:white}
body.rva-depoimentos header.header{background:white!important;color:#071d45!important;position:relative!important;padding:0!important;box-shadow:0 6px 20px #091c3a12!important}
body.rva-depoimentos header.header .container{max-width:1400px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px}
body.rva-depoimentos header.header .brand{display:block;flex:0 0 auto}
body.rva-depoimentos header.header .brand img{display:block;width:158px;height:auto}
body.rva-depoimentos header.header .nav{display:flex;align-items:center;flex-wrap:nowrap;gap:12px;max-width:none;margin:0}
body.rva-depoimentos header.header .nav a{font-size:13px;color:#071d45;text-decoration:none;font-weight:700;white-space:nowrap}
body.rva-depoimentos header.header .btn-red{background:#e31937;color:#fff!important;border-radius:11px;padding:15px 17px;white-space:nowrap;font-size:13px;font-weight:800;text-decoration:none}
body.rva-depoimentos .hero{background:linear-gradient(120deg,#102d53,#174575);color:white}
@media(max-width:1100px){body.rva-depoimentos header.header .container{padding:12px 20px}body.rva-depoimentos header.header .nav{gap:8px}body.rva-depoimentos header.header .nav a{font-size:12px}}
@media(max-width:900px){body.rva-depoimentos header.header .container{flex-wrap:wrap}body.rva-depoimentos header.header .nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch}body.rva-depoimentos header.header .nav.open,body.rva-depoimentos header.header .nav.active{display:flex}body.rva-depoimentos header.header .mobile-menu{display:block}body.rva-depoimentos header.header .nav a{font-size:15px}body.rva-depoimentos header.header .nav-submenu{position:static}}

/* Correção definitiva: impedir colisão entre marca e navegação. */
@media (min-width:1101px) {
  body header.header > .container {
    display:grid!important;
    grid-template-columns:150px minmax(0,1fr) 175px!important;
    align-items:center!important;
    column-gap:12px!important;
    max-width:100%!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:14px 24px!important;
  }
  body header.header > .container > a.brand {
    grid-column:1!important;
    width:150px!important;
    min-width:0!important;
    max-width:150px!important;
    margin:0!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  body header.header > .container > a.brand img {display:block!important;width:150px!important;max-width:100%!important;height:auto!important}
  body header.header > .container > nav.nav {
    grid-column:2!important;
    display:flex!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    float:none!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:0!important;
    flex-wrap:nowrap!important;
  }
  body header.header nav.nav > a,
  body header.header nav.nav > .nav-dropdown > .nav-parent {
    position:static!important;
    font-size:11px!important;
    padding:7px 3px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    min-width:0!important;
    margin:0!important;
    transform:none!important;
  }
  body header.header > .container > a.btn.btn-red {
    grid-column:3!important;
    justify-self:end!important;
    position:static!important;
    margin:0!important;
    transform:none!important;
    font-size:12px!important;
    padding:13px 12px!important;
    white-space:nowrap!important;
  }
  body header.header nav.nav .nav-submenu-toggle {display:none!important}
  body header.header nav.nav .nav-parent::after {content:none!important;display:none!important}
}
@media (min-width:1101px) and (max-width:1250px) {
  body header.header > .container {grid-template-columns:125px minmax(0,1fr) 155px!important;column-gap:7px!important;padding-left:12px!important;padding-right:12px!important}
  body header.header > .container > a.brand {width:125px!important;max-width:125px!important}
  body header.header > .container > nav.nav > a,
  body header.header > .container > nav.nav > .nav-dropdown > .nav-parent {font-size:10px!important;padding-left:2px!important;padding-right:2px!important}
}
