/*
=====================================================================
Melhores Ônibus — Hotfix 2.4.1
Home Header + Hero Premium
Escopo: apenas topo, menu e hero da Home.
=====================================================================
*/

:root{
  --mo-premium-red:#d91512;
  --mo-premium-red-dark:#b90f0d;
  --mo-premium-ink:#07111f;
  --mo-premium-ink-2:#111827;
  --mo-premium-muted:#667085;
  --mo-premium-border:#e6ebf2;
  --mo-premium-container:1480px;
}

body{
  background:#f5f8fc;
}

/* Topbar premium */
.mo-topbar.mo-topbar-premium-v2{
  height:42px;
  background:#050b16;
  color:#fff;
  border:0;
  font-size:13px;
  letter-spacing:.01em;
}

.mo-topbar-premium-v2 .mo-topbar-inner{
  width:min(var(--mo-premium-container), calc(100% - 64px)) !important;
  max-width:var(--mo-premium-container) !important;
  min-height:42px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
}

.mo-topbar-highlight{
  color:#d7deea;
  font-weight:700;
}

.mo-topbar-dot{
  color:#ef2b24;
  font-weight:950;
  margin-right:4px;
}

.mo-topbar-contact{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  color:#f8fafc;
  font-weight:700;
}

.mo-topbar-service{
  justify-content:flex-end;
  color:#d7deea;
  font-weight:600;
}

/* Header premium */
.mo-header.mo-header-premium{
  background:#fff;
  border-bottom:1px solid rgba(226,232,240,.9);
  box-shadow:0 8px 28px rgba(15,23,42,.045);
  position:relative;
  z-index:60;
}

.mo-header-premium .mo-header-inner{
  width:min(var(--mo-premium-container), calc(100% - 64px)) !important;
  max-width:var(--mo-premium-container) !important;
  min-height:106px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:42px;
}

.mo-brand-main{
  min-width:285px;
  display:flex;
  align-items:center;
}

.mo-brand-principal{
  max-height:74px !important;
  width:auto;
  object-fit:contain;
}

.mo-menu{
  justify-content:center;
  gap:0 !important;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:999px;
  padding:0 12px;
  min-height:58px;
  box-shadow:0 14px 40px rgba(15,23,42,.055);
}

.mo-menu > li{
  position:relative;
}

.mo-menu > li > a{
  min-height:58px;
  padding:0 21px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:#101828;
  border-radius:999px;
  transition:color .2s ease, background .2s ease;
}

.mo-menu > li > a:hover,
.mo-menu > li > a.is-active,
.mo-menu > li > a[aria-current="page"]{
  color:var(--mo-premium-red);
  background:#fff5f5;
}

.mo-menu > li > a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:-1px;
  height:3px;
  border-radius:99px;
  background:var(--mo-premium-red);
}

.mo-menu-chevron{
  margin-left:8px;
  font-size:14px;
  line-height:1;
}

.mo-whatsapp{
  min-height:58px;
  padding:0 30px !important;
  border-radius:14px !important;
  background:linear-gradient(135deg, var(--mo-premium-red), var(--mo-premium-red-dark)) !important;
  color:#fff !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.055em;
  box-shadow:0 18px 42px rgba(217,21,18,.24);
  transition:transform .2s ease, box-shadow .2s ease;
}

.mo-whatsapp:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 54px rgba(217,21,18,.32);
}

.mo-whatsapp-icon{
  display:inline-flex;
  width:19px;
  height:19px;
  border:1.5px solid rgba(255,255,255,.85);
  border-radius:50%;
  align-items:center;
  justify-content:center;
  font-size:11px;
}

/* Dropdown do menu */
.mo-menu-dropdown-categories{
  top:calc(100% + 12px) !important;
  left:50% !important;
  transform:translateX(-50%) translateY(6px);
  width:560px !important;
  padding:22px !important;
  border-radius:24px !important;
  border:1px solid #e5eaf2 !important;
  background:#fff !important;
  box-shadow:0 28px 80px rgba(15,23,42,.16) !important;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 18px;
}

.mo-menu-item-has-children:hover .mo-menu-dropdown-categories{
  transform:translateX(-50%) translateY(0);
}

.mo-category-nav-item{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:9px 10px;
  border-radius:14px;
  color:#101828;
  font-size:13px;
  font-weight:900;
  text-transform:none;
  letter-spacing:.01em;
  transition:background .18s ease, transform .18s ease;
}

.mo-category-nav-item:hover{
  background:#fff5f5;
  transform:translateX(2px);
}

.mo-category-nav-item img{
  width:22px;
  height:22px;
}

/* Hero premium inspirado no mockup aprovado */
.mo-hero.mo-hero-premium{
  min-height:680px !important;
  position:relative;
  overflow:hidden;
  background:#050b16;
  margin-bottom:0;
}

.mo-hero-premium .mo-hero-bg{
  position:absolute;
  inset:0;
  background-image:var(--hero-image);
  background-size:cover;
  background-position:center right !important;
  transform:scale(1.01);
  filter:saturate(1.05) contrast(1.08);
}

.mo-hero-premium .mo-hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 42%, rgba(255,255,255,.04), transparent 30%),
    linear-gradient(90deg, rgba(3,7,16,.94) 0%, rgba(6,12,24,.82) 26%, rgba(8,14,28,.45) 54%, rgba(8,14,28,.14) 100%),
    linear-gradient(180deg, rgba(5,11,22,.08) 0%, rgba(5,11,22,.18) 58%, rgba(5,11,22,.84) 100%);
}

.mo-hero-premium::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:86px;
  background:linear-gradient(180deg, rgba(245,248,252,0) 0%, #f5f8fc 100%);
  pointer-events:none;
}

.mo-hero-premium .mo-hero-content{
  position:relative;
  z-index:2;
  min-height:680px;
  width:min(var(--mo-premium-container), calc(100% - 64px)) !important;
  max-width:var(--mo-premium-container) !important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding-top:28px;
  padding-bottom:130px;
}

.mo-hero-premium .mo-hero-label{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 18px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--mo-premium-red), var(--mo-premium-red-dark));
  color:#fff;
  box-shadow:0 16px 38px rgba(217,21,18,.32);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.09em;
  margin-bottom:24px;
}

.mo-hero-premium h1{
  max-width:710px !important;
  color:#fff;
  font-size:clamp(48px, 5.2vw, 82px) !important;
  line-height:.98 !important;
  letter-spacing:-.06em;
  margin:0 0 26px;
  font-weight:950;
  text-wrap:balance;
}

.mo-hero-premium h1 span{
  color:var(--mo-premium-red);
  display:inline;
}

.mo-hero-premium p{
  max-width:650px !important;
  color:rgba(255,255,255,.9);
  font-size:clamp(17px,1.25vw,21px) !important;
  line-height:1.68 !important;
  margin:0 0 34px;
}

.mo-hero-line{
  display:none !important;
}

.mo-hero-actions--premium{
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
}

.mo-hero-premium .mo-hero-consultor-btn{
  min-height:58px;
  padding:0 32px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--mo-premium-red),var(--mo-premium-red-dark));
  color:#fff;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.055em;
  box-shadow:0 20px 46px rgba(217,21,18,.28);
  text-decoration:none;
}

.mo-hero-play-link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.055em;
  transition:opacity .18s ease, transform .18s ease;
}

.mo-hero-play-link:hover{
  opacity:.88;
  transform:translateY(-1px);
}

.mo-hero-play-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.34);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
  color:#fff;
  font-size:14px;
  padding-left:2px;
}

/* O módulo seguinte entra como card flutuante no Package 2.4.2; aqui deixamos a sangria preparada */
.mo-search-categories{
  margin-top:-92px !important;
  position:relative;
  z-index:10;
}

@media(max-width:1180px){
  .mo-header-premium .mo-header-inner{
    grid-template-columns:auto auto;
  }
  .mo-menu{
    grid-column:1 / -1;
    width:100%;
    justify-content:center;
    order:3;
  }
  .mo-brand-main{min-width:0;}
}

@media(max-width:900px){
  .mo-topbar.mo-topbar-premium-v2{height:auto;}
  .mo-topbar-premium-v2 .mo-topbar-inner{
    grid-template-columns:1fr;
    gap:8px;
    padding:10px 0;
    text-align:center;
  }
  .mo-topbar-contact,
  .mo-topbar-service{justify-content:center;}
  .mo-header-premium .mo-header-inner{
    min-height:82px;
    grid-template-columns:1fr auto;
    width:min(100% - 32px, var(--mo-premium-container)) !important;
  }
  .mo-brand-principal{max-height:58px !important;}
  .mo-menu{
    border-radius:22px;
    padding:14px;
    box-shadow:0 24px 70px rgba(15,23,42,.18);
  }
  .mo-menu > li > a{justify-content:flex-start;}
  .mo-whatsapp{display:none;}
  .mo-hero.mo-hero-premium{min-height:620px !important;}
  .mo-hero-premium .mo-hero-bg{background-position:center center !important;}
  .mo-hero-premium .mo-hero-content{
    min-height:620px;
    width:min(100% - 32px, var(--mo-premium-container)) !important;
    padding-bottom:110px;
  }
  .mo-hero-premium h1{font-size:clamp(38px, 10vw, 58px) !important;}
  .mo-hero-premium p{font-size:16px !important;}
  .mo-hero-actions--premium{gap:16px;}
  .mo-search-categories{margin-top:-70px !important;}
}

@media(max-width:560px){
  .mo-topbar-contact{flex-direction:column;gap:4px;}
  .mo-hero-premium .mo-hero-label{font-size:10px;padding:0 14px;}
  .mo-hero-premium .mo-hero-consultor-btn{width:100%;}
  .mo-hero-play-link{width:100%;justify-content:center;}
}
