#estoque .moto-slide figcaption{
  display:none!important;
}
#estoque .moto-thumb img{
  object-fit:cover!important;
  object-position:center 62%!important;
}
/* Álbum ampliado preserva a foto inteira, sem recorte */
.moto-modal-media img{
  object-fit:contain!important;
  object-position:center center!important;
  padding:14px!important;
}
@media (max-width:680px){
  #estoque .moto-slides{aspect-ratio:5/4!important}
  #estoque .moto-slide img{object-position:center 62%!important}
}


/* v19: normalize first gallery card layout + use official logo in round hero badge */
.hero-media .photo-badge.logo-badge{
  width:84px !important;
  min-width:84px !important;
  height:84px !important;
  padding:0 !important;
  border-radius:50% !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#000 !important;
  border:1px solid rgba(214,176,101,.65) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.4), 0 0 0 4px rgba(214,176,101,.06) !important;
}
.hero-media .photo-badge.logo-badge img{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.moto-gallery-card .moto-gallery-content.bike-content,
.moto-gallery-card:nth-child(1) .moto-gallery-content.bike-content,
.moto-gallery-card:nth-child(1) .bike-content{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:auto auto auto minmax(84px,auto) 1fr auto !important;
  align-items:start !important;
  justify-items:stretch !important;
  gap:14px !important;
  padding:24px 26px 26px !important;
  text-align:left !important;
}
.moto-gallery-card .moto-topline,
.moto-gallery-card h3,
.moto-gallery-card .bike-specs,
.moto-gallery-card .moto-note,
.moto-gallery-card .bike-bottom,
.moto-gallery-card:nth-child(1) .moto-topline,
.moto-gallery-card:nth-child(1) h3,
.moto-gallery-card:nth-child(1) .bike-specs,
.moto-gallery-card:nth-child(1) .moto-note,
.moto-gallery-card:nth-child(1) .bike-bottom{
  grid-column:1 !important;
  width:100% !important;
  justify-self:stretch !important;
  align-self:start !important;
  text-align:left !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.moto-gallery-card h3,
.moto-gallery-card:nth-child(1) .bike-content h3{
  margin:0 !important;
  font-size:22px !important;
  line-height:1.02 !important;
  letter-spacing:-.03em !important;
  text-align:left !important;
}
.moto-gallery-card .bike-specs{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-start !important;
  gap:8px !important;
}
.moto-gallery-card .moto-note{
  min-height:84px !important;
  font-size:13px !important;
  line-height:1.55 !important;
  color:var(--muted) !important;
  margin:0 !important;
  padding:0 !important;
}
.moto-gallery-card .bike-bottom,
.moto-gallery-card:nth-child(1) .bike-bottom{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:18px !important;
  flex-wrap:nowrap !important;
  border-top:1px solid var(--line) !important;
  padding-top:18px !important;
  margin-top:0 !important;
}
.moto-gallery-card .bike-bottom > div{
  display:grid !important;
  gap:4px !important;
  min-width:0 !important;
  flex:1 1 auto !important;
}
.moto-gallery-card .bike-bottom a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  white-space:nowrap !important;
  text-align:right !important;
  flex:0 0 auto !important;
  margin-left:auto !important;
}
@media (max-width:900px){
  .moto-gallery-card .moto-gallery-content.bike-content,
  .moto-gallery-card:nth-child(1) .moto-gallery-content.bike-content,
  .moto-gallery-card:nth-child(1) .bike-content{
    grid-template-rows:auto auto auto auto 1fr auto !important;
  }
  .moto-gallery-card .moto-note{min-height:auto !important;}
  .moto-gallery-card .bike-bottom,
  .moto-gallery-card:nth-child(1) .bike-bottom{flex-wrap:wrap !important;}
  .moto-gallery-card .bike-bottom a{width:100% !important;justify-content:flex-start !important;text-align:left !important;margin-left:0 !important;}
}


/* v22: footer official logo */
footer .footer-brand img{width:92px !important;height:92px !important;object-fit:cover !important;border-radius:50% !important;border:1px solid rgba(214,176,101,.42) !important;box-shadow:0 0 0 6px rgba(214,176,101,.05),0 12px 30px rgba(0,0,0,.28) !important;background:#000 !important;padding:0 !important}
footer .footer-brand{align-items:center !important}


/* v23: fixed brand theme — theme switch removed */
#themeToggle,.theme-grid,.theme-choice{display:none !important;}
.intro-card p{margin-bottom:22px !important;}


/* Security build: backdrop is an <img>, avoiding runtime inline style injection. */
.moto-slide-backdrop{
  position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
  object-fit:cover !important; object-position:center center !important;
  filter:blur(24px) brightness(.34) !important; transform:scale(1.16) !important; z-index:0 !important;
  pointer-events:none !important;
}
.moto-slide > img:not(.moto-slide-backdrop){position:relative !important;z-index:2 !important}

/* V25 — mobile-first width and layout correction */
@media (max-width: 760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  body{min-width:0!important}
  .container{width:calc(100% - 24px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
  .topbar{width:100%!important;left:0!important;right:0!important;padding-top:6px!important}
  .topbar .container{width:calc(100% - 16px)!important}
  .topbar-inner{width:100%!important;min-width:0!important;padding:0 8px!important}
  .nav-actions{margin-left:auto!important}
  .mobile-menu{left:8px!important;right:8px!important;width:auto!important;max-width:none!important}
  .hero{width:100%!important;min-height:auto!important;padding:116px 0 64px!important;overflow:hidden!important}
  .hero-bg{inset:0!important;background:radial-gradient(circle at 82% 22%,rgba(214,176,101,.16),transparent 35%),radial-gradient(circle at 12% 58%,rgba(214,176,101,.07),transparent 32%),linear-gradient(180deg,#070708 0%,#0a0a0b 58%,#080809 100%)!important}
  .hero-bg:after{background:repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px,transparent 1px 68px),repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0 1px,transparent 1px 68px)!important;mask-image:linear-gradient(to bottom,#000,transparent 88%)!important}
  .hero-grid{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:42px!important;align-items:stretch!important}
  .hero-copy{width:100%!important;max-width:none!important;min-width:0!important}
  .hero-copy:before{font-size:94px!important;left:-4px!important;top:-52px!important}
  .hero-kicker{font-size:9px!important;letter-spacing:.24em!important;line-height:1.5!important;margin-top:22px!important}
  .hero-copy h1{width:100%!important;max-width:none!important;font-size:clamp(43px,12.2vw,54px)!important;line-height:.98!important;letter-spacing:-.055em!important;margin:20px 0 20px!important}
  .hero-copy h1 span{font-size:.64em!important;line-height:1.12!important}
  .hero-copy h1 em:after{height:6px!important;bottom:2px!important}
  .hero-copy p{width:100%!important;max-width:none!important;font-size:15px!important;line-height:1.65!important;margin:0!important}
  .pill{max-width:100%!important;font-size:10px!important;letter-spacing:.13em!important;overflow-wrap:anywhere!important}
  .hero-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:30px!important}
  .hero-actions .btn{width:100%!important;min-height:54px!important;padding:15px 18px!important}
  .mini-stats{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:40px!important;padding-top:20px!important}
  .mini-stats div{min-width:0!important;width:100%!important}
  .mini-stats strong{font-size:22px!important}
  .mini-stats span{font-size:9px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
  .hero-media{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;display:block!important}
  .hero-photo-wrap{width:100%!important;max-width:none!important;min-width:0!important;grid-row:auto!important;aspect-ratio:4/5!important;transform:none!important;border-radius:28px 8px 28px 8px!important;box-shadow:12px 18px 0 rgba(214,176,101,.045),0 28px 68px rgba(0,0,0,.5)!important}
  .hero-photo{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
  .hero-photo-wrap:before{inset:10px!important;border-radius:21px 4px 21px 4px!important}
  .hero-caption{left:20px!important;right:20px!important;bottom:22px!important}
  .hero-caption strong{font-size:20px!important;max-width:100%!important}
  .hero-media .photo-badge.logo-badge{width:68px!important;min-width:68px!important;height:68px!important;right:14px!important;top:14px!important}
  .floating-card{display:none!important}.scroll-hint{display:none!important}
  .signature-strip{width:calc(100% + 12px)!important;margin:-4px -6px 18px!important;transform:rotate(-.35deg)!important}
  .section,.dark-section{width:100%!important;padding:72px 0!important}.instagram-section{width:100%!important;padding:16px 0 72px!important}
  .section-heading,#estoque .section-heading,.dark-section .centered{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:18px!important;align-items:start!important;justify-items:stretch!important;margin-bottom:30px!important}
  .section-heading h2,.finance-copy h2,.contact-copy h2{font-size:clamp(34px,10vw,44px)!important;line-height:1.02!important}
  #estoque .section-heading p,.dark-section .centered p{margin:0!important;padding-left:16px!important;max-width:none!important}
  .filter-row{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:14px!important;align-items:stretch!important}
  .filter-chips{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .chip{width:100%!important;padding:10px 7px!important;font-size:9px!important}.filter-row select{width:100%!important;min-height:44px!important}
  .bike-grid,.moto-gallery-grid{width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
  .moto-gallery-card,.bike-card{width:100%!important;max-width:none!important;min-width:0!important;grid-column:1!important}
  .moto-stage{width:100%!important;padding:12px!important}.moto-slides{width:100%!important;min-height:0!important;aspect-ratio:3/4!important}.moto-gallery-content.bike-content{width:100%!important;padding:22px 20px 24px!important}.moto-thumb-row{width:100%!important}.stage-actions{width:100%!important}.stage-open{min-width:0!important}
  .features{width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.feature,.feature-main,.feature-wide,.feature:nth-child(3),.feature:nth-child(4){width:100%!important;grid-column:1!important;grid-row:auto!important;min-height:auto!important;padding:26px!important}.feature-main h3{font-size:28px!important}
  .finance-grid,.contact-grid{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:34px!important}.finance-copy,.calculator,.contact-copy,.contact-form{width:100%!important;max-width:none!important;min-width:0!important}.calculator{padding:22px 18px!important;border-radius:8px 24px 8px 24px!important;box-shadow:10px 10px 0 color-mix(in srgb,var(--accent) 7%,transparent),var(--shadow)!important}.term-buttons{grid-template-columns:repeat(3,minmax(0,1fr))!important}.term-buttons button{min-width:0!important}.calc-result strong{font-size:32px!important}.calc-breakdown span{gap:12px!important}
  .instagram-card{width:100%!important;padding:26px 20px!important;border-radius:8px 24px 8px 24px!important;display:grid!important;grid-template-columns:1fr!important;gap:22px!important}.instagram-card h2{font-size:clamp(30px,9vw,40px)!important;overflow-wrap:anywhere!important}.instagram-card .btn{width:100%!important}
  .contact-form{padding:20px!important}.two-cols{grid-template-columns:1fr!important}.contact-form input,.contact-form select,.contact-form textarea{font-size:16px!important}
  footer{width:100%!important;padding:42px 0 22px!important}.footer-grid{width:100%!important;grid-template-columns:1fr!important;gap:28px!important}.footer-brand{grid-column:1!important;align-items:flex-start!important}.footer-bottom{gap:10px!important;flex-direction:column!important}.floating-instagram{right:14px!important;bottom:14px!important;width:52px!important;height:52px!important}
  .intro{padding:12px!important}.intro-card{width:100%!important;max-width:420px!important;padding:26px 20px!important;border-radius:22px!important}
}
@media (max-width: 390px){.container{width:calc(100% - 18px)!important}.hero{padding-top:108px!important}.hero-copy h1{font-size:clamp(40px,12vw,48px)!important}.mini-stats{gap:6px!important}.mini-stats strong{font-size:19px!important}.mini-stats span{font-size:8px!important}.hero-photo-wrap{border-radius:22px 6px 22px 6px!important}.filter-chips{grid-template-columns:1fr!important}.chip{font-size:10px!important}}

/* v30 FINAL MOBILE GALLERY — full card + full image, without cropping */
.moto-slides{position:relative !important;width:100% !important;overflow:hidden !important;background:#0c0e12 !important}
.moto-slide{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;margin:0 !important;overflow:hidden !important;display:block !important}
.moto-slide > img.moto-slide-backdrop{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover !important;object-position:center !important;filter:blur(22px) brightness(.31) saturate(.9) !important;transform:scale(1.13) !important;opacity:1 !important;padding:0 !important;margin:0 !important;z-index:0 !important}
.moto-slide > img:not(.moto-slide-backdrop){position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important;object-position:center center !important;padding:10px !important;margin:0 !important;z-index:2 !important;display:block !important;background:transparent !important}
.moto-slide figcaption{display:none !important}
@media (max-width:680px){html,body{width:100% !important;max-width:100% !important;overflow-x:hidden !important}.container{width:calc(100% - 24px) !important;max-width:none !important;margin-inline:auto !important}#estoque .container{width:calc(100% - 20px) !important}.moto-gallery-grid{grid-template-columns:1fr !important;width:100% !important}.moto-gallery-card{width:100% !important;max-width:none !important}.moto-stage{width:100% !important;padding:12px !important}.moto-slides{width:100% !important;aspect-ratio:3 / 4 !important;min-height:0 !important;height:auto !important;border-radius:22px !important}.moto-slide > img:not(.moto-slide-backdrop){padding:8px !important}.moto-thumb-row{grid-auto-columns:64px !important;width:100% !important;overflow-x:auto !important}.moto-gallery-content.bike-content{padding:24px 22px 26px !important}}

/* v36 preview: integrate the newest inventory cards into the stock grid. */
@media (min-width:1101px){.moto-gallery-grid > .moto-gallery-card:last-child:nth-child(3n + 1){grid-column:2 !important;}}
@media (max-width:1100px){.moto-gallery-grid > .moto-gallery-card{grid-column:auto !important;}}

/* TESTE 900x1200 (3:4): somente a primeira moto. Simula foto já preparada no formato final, sem alterar o arquivo original. */
.moto-gallery-grid > .moto-gallery-card:first-child .moto-slides{aspect-ratio:3 / 4 !important;min-height:0 !important;height:auto !important;}
.moto-gallery-grid > .moto-gallery-card:first-child .moto-slide > img:not(.moto-slide-backdrop){width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover !important;object-position:center 55% !important;padding:0 !important;}
