/* FB Veículos — Phase 4: hero and proprietary visual assets */
/* production publish marker: 2026-10-06 */
.hero{
  min-height:clamp(880px,98vh,1020px);
  background-color:#030608;
  background-image:
    linear-gradient(180deg,rgba(3,6,8,.03) 0%,rgba(3,6,8,.05) 42%,rgba(3,6,8,.24) 68%,rgba(3,6,8,.88) 100%),
    linear-gradient(90deg,rgba(3,6,8,.06),rgba(3,6,8,.01) 48%,rgba(3,6,8,.06)),
    url('/api/site-content/hero-active/desktop');
  background-size:cover,cover,114% auto;
  background-position:center,center,center 96%;
  background-repeat:no-repeat;
  overflow:hidden;
}
.hero-shell{
  min-height:clamp(880px,98vh,1020px);
  display:flex;
  align-items:flex-end;
  padding-top:36px;
  padding-bottom:36px;
}
.hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:5px;
  background:linear-gradient(90deg,#ffc400 0 34%,#18c866 34% 66%,transparent 66%);
  opacity:.9
}
.hero:before{
  background:linear-gradient(180deg,rgba(0,0,0,.01) 0%,rgba(0,0,0,.02) 52%,rgba(0,0,0,.18) 74%,rgba(0,0,0,.68) 100%)
}
.hero-background-media{
  position:absolute!important;
  top:0!important;
  left:50%!important;
  right:auto!important;
  width:100vw!important;
  max-width:none!important;
  height:100%!important;
  transform:translateX(-50%) scale(1.14)!important;
  transform-origin:center center!important;
  object-fit:cover!important;
  object-position:center 96%!important;
  background:#030608
}
.hero-copy{
  width:100%;
  max-width:none;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(520px,.92fr);
  grid-template-rows:auto auto auto;
  column-gap:48px;
  row-gap:0;
  align-items:end;
  filter:drop-shadow(0 8px 28px rgba(0,0,0,.45));
  padding:26px 30px 24px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(3,6,8,.72),rgba(3,6,8,.59) 48%,rgba(3,6,8,.76));
  backdrop-filter:blur(5px);
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  transform:translateY(0)
}
.hero-copy>.eyebrow{
  grid-column:1;
  grid-row:1;
  margin-bottom:12px;
  color:#18c866
}
.hero-copy>h1{
  grid-column:1;
  grid-row:2 / span 2;
  align-self:end
}
.hero-line-white{
  font-size:clamp(44px,4.1vw,66px)!important;
  white-space:normal!important
}
.hero-line-gold{
  font-size:clamp(45px,4.35vw,70px)!important;
  white-space:normal!important;
  text-shadow:0 0 26px rgba(255,196,0,.16)
}
.hero-copy>.hero-sub{
  grid-column:2;
  grid-row:1;
  align-self:end;
  margin:0 0 16px;
  font-size:17px
}
.hero-copy>.trust-row{
  grid-column:2;
  grid-row:2;
  max-width:none;
  margin:0;
  gap:14px
}
.hero-copy>.hero-actions{
  grid-column:2;
  grid-row:3;
  margin-top:18px;
  gap:9px
}
.hero-copy>.hero-actions .btn{
  min-height:46px;
  padding:0 16px
}
.hero-copy>.hero-mobile-logo{display:none}
.about-photo img[src$=".svg"]{transform:none;object-fit:cover}
.about-photo-store,.about-photo-handshake{background:#070b0e}

/* BUTTON COLOR SWAP — yellow CTAs become green/white; green CTAs become yellow/black */
.btn-primary,
.hero-actions .btn-primary,
.btn-header.btn-primary,
.vehicle-search .btn-primary,
.vehicle-search button[type="submit"]{
  background:#18c866!important;
  background-image:none!important;
  color:#fff!important;
  border-color:#18c866!important;
  box-shadow:0 9px 24px rgba(24,200,102,.18)!important;
}
.btn-primary *,
.hero-actions .btn-primary *,
.btn-header.btn-primary *,
.vehicle-search .btn-primary *,
.vehicle-search button[type="submit"] *{
  color:#fff!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}
.btn-primary:hover,
.hero-actions .btn-primary:hover,
.btn-header.btn-primary:hover,
.vehicle-search .btn-primary:hover,
.vehicle-search button[type="submit"]:hover{
  background:#16b95f!important;
  border-color:#16b95f!important;
  color:#fff!important;
}
.btn-whatsapp,
.vehicle-actions .btn-whatsapp,
.contact .btn-whatsapp{
  background:#ffc400!important;
  background-image:none!important;
  color:#151000!important;
  border-color:#ffc400!important;
  box-shadow:0 9px 24px rgba(255,196,0,.16)!important;
}
.btn-whatsapp *,
.vehicle-actions .btn-whatsapp *,
.contact .btn-whatsapp *{
  color:#151000!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}
.btn-whatsapp:hover,
.vehicle-actions .btn-whatsapp:hover,
.contact .btn-whatsapp:hover{
  background:#ffda3b!important;
  border-color:#ffda3b!important;
  color:#151000!important;
}

@media(max-width:1180px) and (min-width:901px){
  .hero{min-height:840px;background-size:cover,cover,110% auto;background-position:center,center,center 94%}
  .hero-shell{min-height:840px;padding-bottom:28px}
  .hero-background-media{width:100vw!important;left:50%!important;transform:translateX(-50%) scale(1.10)!important;transform-origin:center center!important;object-fit:cover!important;object-position:center 94%!important}
  .hero-copy{grid-template-columns:minmax(0,1fr) minmax(450px,.95fr);column-gap:28px;padding:24px;transform:translateY(0)}
  .hero-copy>.trust-row{grid-template-columns:1fr;gap:9px}
  .hero-copy>.trust-row span{grid-template-columns:26px 1fr}
}

@media(max-width:900px){
  .hero{
    min-height:760px;
    background-position:center,center,center 38%
  }
  .hero-shell{
    min-height:760px;
    align-items:flex-end;
    padding-top:46px;
    padding-bottom:34px
  }
  .hero-background-media{position:absolute!important;top:0!important;left:0!important;right:auto!important;width:100%!important;max-width:none!important;height:100%!important;transform:none!important;object-fit:cover!important;object-position:center 38%!important}
  .hero-copy{
    grid-template-columns:1fr;
    grid-template-rows:auto;
    gap:0;
    padding:22px;
    transform:none;
    background:linear-gradient(180deg,rgba(3,6,8,.58),rgba(3,6,8,.88))
  }
  .hero-copy>.eyebrow,
  .hero-copy>h1,
  .hero-copy>.hero-sub,
  .hero-copy>.trust-row,
  .hero-copy>.hero-actions{
    grid-column:1;
    grid-row:auto
  }
  .hero-copy>.hero-sub{margin:18px 0 14px}
  .hero-copy>.trust-row{grid-template-columns:repeat(3,1fr);gap:10px}
  .hero-copy>.hero-actions{margin-top:18px}
}

@media(max-width:700px){
  .hero{
    min-height:760px;
    background-image:
      linear-gradient(180deg,rgba(3,6,8,.10) 0%,rgba(3,6,8,.12) 46%,rgba(3,6,8,.50) 72%,rgba(3,6,8,.88) 100%),
      url('/api/site-content/hero-active/mobile');
    background-size:cover,cover;
    background-position:center,center 38%
  }
  .hero-shell{min-height:760px;padding-top:36px;padding-bottom:30px}
  .hero-background-media{object-fit:cover!important;width:100%!important;left:0!important;transform:none!important;object-position:center 36%!important}
  .hero-copy{width:100%;padding:18px;border-radius:12px}
  .hero-line-white{font-size:clamp(36px,10vw,50px)!important}
  .hero-line-gold{font-size:clamp(38px,10.5vw,52px)!important}
  .hero-copy>.hero-sub{font-size:14px;line-height:1.35}
  .hero-copy>.trust-row{grid-template-columns:1fr;gap:9px}
  .hero-copy>.hero-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .hero-copy>.hero-actions .btn{width:100%}
}

@media(max-width:480px){
  .hero{min-height:790px;background-position:center,center 38%}
  .hero-shell{min-height:790px}
  .hero-background-media{object-position:center 35%!important}
  .hero-copy{padding:16px}
}

/* FOOTER RESTORE — same structure as M.I, forced visible for FB */
footer .footer-grid{
  display:grid!important;
  grid-template-columns:260px 1fr auto!important;
  align-items:center!important;
  gap:34px!important;
  min-height:92px;
  visibility:visible!important;
  opacity:1!important;
  position:relative;
  z-index:2;
}
footer .footer-grid>*{visibility:visible!important;opacity:1!important}
footer .footer-logo{display:flex!important;align-items:center!important;visibility:visible!important;opacity:1!important}
footer .footer-logo img{display:block!important;width:220px!important;max-width:100%!important;height:auto!important;visibility:visible!important;opacity:1!important}
footer .footer-links{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;visibility:visible!important;opacity:1!important;color:#d0d6da!important}
footer .footer-social{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;visibility:visible!important;opacity:1!important;white-space:nowrap}
footer .footer-social-link{display:flex!important;align-items:center!important;gap:8px!important;visibility:visible!important;opacity:1!important;color:#fff!important}
@media(max-width:900px){
  footer .footer-grid{grid-template-columns:1fr!important;text-align:center!important;gap:18px!important}
  footer .footer-logo,footer .footer-links,footer .footer-social{justify-content:center!important}
}
@media(max-width:580px){
  footer .footer-logo img{width:185px!important}
  footer .footer-social{flex-wrap:wrap!important;gap:12px!important}
}
