/* Shared type, sizing and shape system across desktop and mobile. */
:root {
  --font-body: 'Barlow', Arial, sans-serif;
  --font-heading: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --text-small: .875rem;
  --text-body: 1rem;
  --radius-control: 14px;
  --radius-card: 22px;
  --radius-panel: 26px;
  --control-height: 48px;
}
body { font-family: var(--font-body); font-size: var(--text-body); line-height: 1.5; }
button, input, select { font-family: var(--font-body); }
h1, h2, h3, .card-title { font-family: var(--font-heading); }
h2, .review h2, .detail-body h2 { font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
h3, .social-strip h3, .location-overlay h3, .empty h3 { font-size: 2rem; line-height: 1.15; font-weight: 600; }
.eyebrow, .tag, .maker { font-size: .75rem; line-height: 1.5; font-weight: 600; letter-spacing: .12em; }
.section-top > p, .hero-content > p, .visit-copy > p, .universe p, .social-strip p, .review p, .detail-intro, .settings-inner > p { font-size: var(--text-body); line-height: 1.65; }
.section-top { align-items: flex-end; gap: 32px; }
.section-top > p { max-width: 360px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.button, .header-contact, .card .button, .universe .button, .social-strip .button, .review .button {
  min-height: var(--control-height); padding: 12px 22px; border-radius: var(--radius-control);
  font-size: var(--text-small); line-height: 1.4; font-weight: 600; gap: 10px;
}
.text-button, .inline-link, .view, nav, footer > div { font-size: var(--text-small); line-height: 1.5; }
.text-button { min-height: var(--control-height); border-radius: 0; }
.inline-link, .view { min-height: 40px; }
.ui-icon { display: inline-block; flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.contact-symbol { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; }
.contact-info { gap: 24px; }
.contact-info > div { gap: 16px; align-items: flex-start; }
.contact-info h3 { font-size: var(--text-body); line-height: 1.4; font-weight: 600; }
.contact-info p { font-size: var(--text-small); line-height: 1.6; }
.tabs { gap: 8px; }
.tabs button { min-height: var(--control-height); padding: 12px 18px; border-radius: var(--radius-control); font-size: var(--text-small); line-height: 1.4; font-weight: 600; }
.tabs small, .tabs span { font-size: .75rem; }
.tabs span { border-radius: 8px; }
.search { min-height: var(--control-height); border-radius: var(--radius-control); padding: 0 16px; }
.search input { font-size: var(--text-small); min-height: 44px; }
.stock-meta { font-size: var(--text-small); gap: 16px; }
.stock-meta select { min-height: 44px; font-size: var(--text-small); border: 1px solid var(--line); border-radius: 12px; padding: 8px 32px 8px 14px; margin-left: 8px; background-position: right 12px center; }
.cards { align-items: stretch; gap: 24px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius-card); }
.card-top { flex: 0 0 auto; }
.card-top img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.card-title { font-size: 1.75rem; line-height: 1.15; font-weight: 600; min-height: 2.3em; }
.maker { margin-bottom: 8px; }
.specs { font-size: var(--text-small); line-height: 1.5; margin: 20px 0; gap: 0; flex-wrap: wrap; row-gap: 8px; }
.specs span { padding: 0 10px; }
.specs span:first-child { padding-left: 0; }
.specs span:last-child { width: auto; padding-left: 10px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: auto; margin-bottom: 16px; padding-top: 16px; }
.price { font-size: 1.75rem; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.view { font-size: .875rem; display: inline-flex; align-items: center; padding: 0; }
.card .button { margin-top: 0; padding-left: 10px; padding-right: 10px; }
.badge { border-radius: 999px; padding: 7px 12px; font-size: .75rem; line-height: 1.4; left: 16px; top: 16px; }
.photo-label, .stock-note, .map-note, .detail-note, footer small { font-size: .75rem; line-height: 1.6; }
.universe-grid { gap: 24px; }
.universe { border-radius: var(--radius-panel); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.universe h3 { font-size: 2.75rem; line-height: 1.05; margin-top: 32px; }
.universe p { margin: 20px 0 24px; max-width: 280px; }
.universe .button { margin-top: auto; }
.location-card { border-radius: var(--radius-panel); }
.location-overlay { bottom: 32px; left: 32px; right: 32px; }
.location-overlay .eyebrow { font-size: .75rem; }
.map-pin { font-family: var(--font-body); border-radius: 50% 50% 50% 14px; }
.google { height: 24px; width: 24px; flex: 0 0 24px; border-radius: 50%; }
.floating-wa { height: 56px; width: 56px; border-radius: 50%; background: #25D366; }
dialog { border-radius: var(--radius-panel); }
.close { width: 40px; height: 40px; display: grid; place-content: center; border-radius: 50%; }
.detail-body, .settings-inner { padding: 32px; }
.detail-grid { gap: 24px; }
.detail-grid dt { font-size: .875rem; line-height: 1.5; }
.detail-grid dd { font-size: 1rem; line-height: 1.5; }
.settings-inner h2 { font-size: 2.5rem; }
.settings-inner form { gap: 24px; }
.settings-inner label { font-size: .875rem; }
.settings-inner input { min-height: var(--control-height); padding: 12px 16px; border-radius: var(--radius-control); font-size: 1rem; }
#toast { border-radius: 16px; padding: 20px; font-size: .875rem; }
footer > p { font-size: .875rem; }
@media(max-width:1100px) {
  .stock-controls { flex-wrap: wrap; }
  .search { max-width: none; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-title { min-height: 1.15em; }
  nav { gap: 20px; }
}
@media(max-width:760px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-top { display: block; }
  .section-top > p { max-width: none; margin-top: 20px; }
  .header-contact { min-height: 42px; padding: 10px 14px; font-size: .875rem; }
  .header-contact .ui-icon { display: none; }
  .menu { border-radius: 12px; min-width: 40px; min-height: 40px; }
  .hero-actions { gap: 16px; }
  .hero-content > p { font-size: 1rem; }
  .hero-actions .text-button { font-size: .875rem; }
  .tabs button { padding: 10px 12px; }
  .stock-meta { flex-wrap: wrap; font-size: .875rem; }
  .stock-meta select { font-size: .875rem; }
  .universe { padding: 28px; }
  .universe h3 { font-size: 2.5rem; }
  .location-overlay { left: 28px; right: 28px; bottom: 28px; }
  .visit { gap: 32px; }
  .social-strip h3 { font-size: 2rem; }
  .review h2 { font-size: 2.25rem; }
  .detail-body, .settings-inner { padding: 24px; }
  .detail-grid { gap: 20px; }
  .detail-grid dd { font-size: 1rem; }
  .detail-bottom { align-items: stretch; }
  footer > div { font-size: .875rem; flex-wrap: wrap; gap: 16px; }
}
@media(max-width:560px) {
  .cards { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .card-body { padding: 24px; }
  .card-title { font-size: 1.75rem; }
  .card-top img { aspect-ratio: 3 / 2; height: auto; }
  .specs { font-size: .875rem; }
  .specs span:last-child { width: auto; padding-left: 10px; }
  .specs span:nth-child(2) { border-right: 1px solid #414147; }
  .price-row { display: flex; }
  .card .button { font-size: .875rem; }
  .tabs { gap: 6px; }
  .tabs button { padding: 10px 8px; font-size: .875rem; }
  .tabs small { display: none; }
  .header-contact { font-size: .75rem; padding: 10px 12px; margin-right: 8px; }
  .detail-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .detail-bottom .button { padding-left: 12px; padding-right: 12px; }
  footer > div { width: 100%; margin-left: 0; }
}
/* Social channels share the same shape and icon sizing in every placement. */
.header-socials { display: flex; align-items: center; gap: 10px; }
.social-icon { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #4c4c52; border-radius: 50%; background: transparent; transition: background .2s, border-color .2s; }
.social-icon:hover { background: #f523321a; border-color: var(--red); color: var(--red); }
.facebook-icon { fill: currentColor; stroke: none; }
.social-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: flex-end; }
.social-actions .button { white-space: nowrap; }
footer > div { align-items: center; }
footer > div button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
footer .ui-icon { width: 20px; height: 20px; flex-basis: 20px; }
@media(max-width:1100px) {
  .social-strip { align-items: flex-start; }
  .social-actions { flex-direction: column; align-items: stretch; flex-shrink: 0; }
}
@media(max-width:760px) {
  .header-socials { margin-left: auto; margin-right: 12px; gap: 8px; }
  .social-icon { width: 40px; height: 40px; }
  .social-actions { align-items: flex-start; margin-top: 24px; }
  .social-actions .button { margin-top: 0; }
}
@media(max-width:390px) {
  header { padding-left: 4%; padding-right: 4%; }
  .header-socials { gap: 6px; margin-right: 6px; }
  .social-icon { width: 36px; height: 36px; }
  .header-socials .ui-icon { width: 20px; height: 20px; flex-basis: 20px; }
  header .brand { font-size: 27px; }
  header .logo-sub { font-size: 7px; }
  header .logo { gap: 6px; }
}

/* Use one unmodified WhatsApp brand asset at every size. */
.whatsapp-icon { display: block; object-fit: contain; aspect-ratio: 1; transform: none; }
.floating-wa .whatsapp-icon { width: 30px; height: 30px; flex-basis: 30px; }
/* Acquisition offer stays prominent between the opening and the inventory. */
.buy-bike { padding-top: 48px; padding-bottom: 0; }
.buy-bike-panel { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 48px; align-items: center; padding: 40px; border: 1px solid #f5233266; border-radius: var(--radius-panel); background: linear-gradient(115deg,#251519,#19191d 75%); }
.buy-bike-copy .eyebrow { color: #f69098; }
.buy-bike-copy h2 { margin: 16px 0 20px; }
.buy-bike-copy > p { max-width: 540px; font-size: 1rem; line-height: 1.65; color: #c7c7ce; }
.buy-bike-copy strong { color: #fff; font-weight: 600; }
.buy-bike-action { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
.buy-bike-benefits { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-bike-benefits span { border: 1px solid #ffffff26; border-radius: 999px; padding: 7px 12px; color: #dedee5; font-size: .875rem; }
.buy-bike-action > p { color: #a9a9b3; font-size: .875rem; line-height: 1.6; }
@media(max-width:1000px) { .buy-bike-panel { gap: 32px; padding: 32px; } }
@media(max-width:760px) { .buy-bike { padding-top: 32px; padding-bottom: 0; } .buy-bike-panel { grid-template-columns: minmax(0,1fr); padding: 28px; gap: 28px; } .buy-bike-copy h2 { font-size: 2.25rem; } }
@media(max-width:390px) { .buy-bike-panel { padding: 24px; } .buy-bike-action .button { padding-left: 10px; padding-right: 10px; } }
/* Fábio Motos RP brand: preserve the complete transparent logo at every size. */
header { min-height: 104px; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 24px; }
.logo { flex-shrink: 0; line-height: 0; }
.brand-image { display: block; width: 222px; height: 74px; object-fit: contain; }
footer .logo { transform: none; }
footer .brand-image { width: 222px; height: 74px; }
.map-pin { width: 120px; height: 58px; border-radius: 16px; transform: translateX(-50%); background: #111115; border: 1px solid #f5233270; padding: 8px; }
.map-pin img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media(max-width:1000px) { header { gap: 18px; } header .brand-image { width: 195px; height: 65px; } nav { gap: 18px; } }
@media(max-width:760px) { header { min-height: 84px; padding-top: 10px; padding-bottom: 10px; gap: 0; } header .brand-image { width: 165px; height: 55px; } nav { top: 84px; } .header-socials { margin-right: 8px; } footer .brand-image { width: 210px; height: 70px; } }
@media(max-width:560px) { header .brand-image { width: 145px; height: 49px; } }
@media(max-width:390px) { header .brand-image { width: 132px; height: 44px; } }
@media(max-width:340px) { header .brand-image { width: 115px; height: 39px; } .header-socials { gap: 4px; margin-right: 4px; } .social-icon { width: 32px; height: 32px; } }
/* Store contact details are fixed and shared by all visitors. */
#hours { white-space: pre-line; }
.landline { display: inline-block; color: #f7606b; font-size: 1rem; font-weight: 600; line-height: 1.5; padding: 2px 0 6px; }
.landline:hover { text-decoration: underline; }
/* Every WhatsApp action starts with a choice of attendant. */
#contact-picker { width: min(520px,92vw); }
.contact-picker-inner { padding: 40px 32px 32px; }
.contact-picker-inner .eyebrow { padding-right: 36px; }
.contact-picker-inner h2 { font-size: 2.75rem; margin: 20px 0 16px; }
#contact-context { font-size: 1rem; color: #bcbcc5; line-height: 1.6; }
.advisor-list { display: grid; gap: 14px; margin-top: 28px; }
.advisor-option { display: flex; align-items: center; gap: 16px; padding: 20px; min-height: 92px; border: 1px solid #494951; border-radius: 18px; background: #222227; transition: border-color .2s,background .2s; }
.advisor-option:hover { border-color: var(--red); background: #f5233210; }
.advisor-avatar { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: #f52332; font-size: 1.25rem; font-weight: 700; }
.advisor-info { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.advisor-info strong { font-size: 1.125rem; font-weight: 600; }
.advisor-info > span { color: #bcbcc5; font-size: .875rem; }
.advisor-option .whatsapp-icon { width: 24px; height: 24px; flex-basis: 24px; }
.contact-picker-note { font-size: .875rem; line-height: 1.6; margin-top: 20px; color: #a2a2ac; }
#phone-label { white-space: pre-line; }
@media(max-width:560px) { .contact-picker-inner { padding: 36px 24px 24px; } .contact-picker-inner h2 { font-size: 2.5rem; } .advisor-option { padding: 16px; gap: 12px; } }
.google-logo { display: block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; border-radius: 0; background: transparent; }
.google-review-button,
.google-review-button:hover,
.google-review-button:active {
  background: transparent;
  border-color: var(--red);
  color: #f7f7f8;
}
[hidden] { display: none !important; }
.moto-gallery { background: #111115; }
.moto-gallery .detail-image { display: block; height: min(420px,50vh); object-fit: contain; }
.gallery-thumbnails { display: flex; gap: 10px; padding: 16px; overflow-x: auto; }
.gallery-thumbnails button { flex: 0 0 100px; width: 100px; height: 72px; padding: 0; border: 2px solid transparent; background: #25252b; border-radius: 12px; overflow: hidden; }
.gallery-thumbnails button[aria-pressed=true] { border-color: var(--red); }
.gallery-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-intro { white-space: pre-line; overflow-wrap: anywhere; }
.detail-grid dd { overflow-wrap: anywhere; }
.admin-link { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:560px) { .gallery-thumbnails button { flex-basis: 80px; width: 80px; height: 60px; } }
/* Two dealership categories share one opening image. */
.hero-photo { background-image: url('/assets/fabio-motos-hero-titan-agt1-v2.webp'); background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #0b0b0e; }
.hero:before { background: linear-gradient(90deg,#0b0b0e66 0%,#0b0b0e22 32%,transparent 62%),linear-gradient(0deg,#101012 0%,#10101244 12%,transparent 38%); }
@media(max-width:760px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 42px; padding-bottom: 0; }
  .hero-content { order: 1; }
  .hero-photo { order: 2; position: relative; inset: auto; z-index: 0; flex: none; width: 113.636%; margin-left: -6.818%; margin-top: 24px; aspect-ratio: 1.5; background-size: 148% auto; background-position: right center; background-repeat: no-repeat; }
  .hero-bottom { order: 3; position: relative; left: auto; right: auto; bottom: auto; width: 100%; }
}
