@font-face {
  font-family: MakoDisplay;
  src: url("assets/display.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --brand: #012768;
  --night: #04152f;
  --surface: #0e2a50;
  --surface-raised: #163761;
  --line: #43658e;
  --white: #f6f9ff;
  --muted: #c8d7eb;
  --accent: #9ac7ff;
  --action: #1957c6;
  --focus: #ffd277;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --section-space: clamp(3rem, 7vw, 6rem);
  --radius: .65rem;
  --pill: 100rem;
  --header: 4rem;
}

* { box-sizing: border-box; }
html { scroll-padding-bottom: 5rem; }
body { margin: 0; font: 1rem/1.55 Inter, Arial, sans-serif; background: var(--night); color: var(--white); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary, label:has(input) { cursor: pointer; }
img, video { display: block; max-width: 100%; }
svg { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header) + .8rem); }
.wrap { width: min(77rem, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: 1rem; z-index: 20; transform: translateY(-180%); background: white; color: #091b35; padding: .75rem; }
.skip:focus { transform: none; }
h1, h2, .menu-choice b { font: italic 800 1em/1.02 MakoDisplay, "Arial Black", sans-serif; letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 12vw, 6.7rem); margin: .7rem 0; }
h1 em { color: var(--accent); font-style: inherit; }
h2 { font-size: clamp(2.45rem, 6vw, 4.3rem); margin: .6rem 0 var(--space-3); }
h2 span { color: var(--accent); }
h3, h4, p, dl, dd, fieldset { margin: 0; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: #bdd6ff; font-size: .78rem; font-weight: 750; letter-spacing: .13em; }
.eyebrow i { display: block; width: 1.8rem; height: 3px; transform: skew(-25deg); background: var(--accent); }
.btn, .service-link, .plain, .insta, .floating-wa, .value {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px;
}
.btn, .service-link { padding: .65rem 1rem; border: 1px solid transparent; border-radius: var(--radius); font-weight: 700; }
.primary, .navcta { background: var(--action); color: white; }
.ghost, .light { border-color: #819cc1; background: #0c2344; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-1); }

header { position: sticky; top: 0; z-index: 8; background: #051937; box-shadow: 0 1px #37516e; }
.headrow { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: var(--header); position: relative; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { width: 4.5rem; height: auto; }
.brand span { border-left: 1px solid var(--line); padding-left: .65rem; font-size: .64rem; font-weight: 700; line-height: 1.45; letter-spacing: .09em; }
.menubtn { display: none; margin-left: auto; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--surface); color: white; border: 1px solid var(--line); border-radius: var(--radius); }
#nav { display: flex; flex-wrap: wrap; gap: .4rem; }
#nav a { display: flex; align-items: center; padding: .55rem .7rem; min-height: 44px; border-radius: .35rem; }
#nav a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: .36em; }
.navcta { display: none; }
@media (max-width: 47.99rem) {
  .js-nav .menubtn { display: inline-flex; }
  .js-nav #nav { display: none; position: absolute; top: 100%; right: 0; width: min(100%, 19rem); padding: .5rem; background: var(--night); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 .7rem 2rem #03112688; }
  .js-nav #nav.open { display: grid; }
}

.hero { position: relative; isolation: isolate; background: var(--brand); overflow: hidden; }
.hero-photos { position: absolute; z-index: -2; inset: 0; display: flex; overflow: hidden; }
.hero-photos img { height: 100%; object-fit: cover; }
.hero-shop { width: 67%; object-position: 50% 45%; }
.hero-moto { width: 44%; margin-left: -11%; clip-path: polygon(17% 0,100% 0,100% 100%,0 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#031735 3%,rgb(3 23 53 / .97) 35%,rgb(3 23 53 / .84) 59%,rgb(3 23 53 / .05) 100%); }
.hero-content { padding-block: clamp(9rem, 40vw, 15rem) 2rem; }
.hero p { max-width: 29rem; color: #e3ecf8; }
.hero .actions { display: grid; margin-top: 1.25rem; }
.stripe { display: block; width: 24%; height: 3px; background: var(--accent); transform: skew(-32deg); }
.rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; min-height: 44px; font-size: .88rem; }
.rating > span:last-child, .original, .value { text-decoration: underline; text-underline-offset: .21em; }
.stars { display: inline-flex; gap: 1px; color: #ffd277; }
.stars svg { width: .9rem; height: .9rem; }

.catalog, .gallery, #localizacao { padding-block: var(--section-space); }
.catalog { background: linear-gradient(150deg,#0b2852,#081d3c 65%); }
.menu-choices, .engine-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.menu-choice { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: 6rem; padding: .9rem; border: 1px solid var(--line); border-radius: var(--radius); }
.menu-choice img, .menu-choice::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.menu-choice::before { content: ""; z-index: -1; background: linear-gradient(75deg,#051b39 4%,#071c3ac4 56%,#071c3938); }
.menu-choice span, .engine-price > div { display: grid; }
.menu-choice b { font-size: clamp(1.65rem,3vw,2.5rem); text-transform: uppercase; }
.menu-choice small { color: #e4eeff; }
.menu-choice[aria-selected="true"] { border-color: var(--accent); box-shadow: inset 0 -3px var(--accent); }
.service-menu { margin-top: var(--space-3); }
.service-menu > h3, .media-title { margin-bottom: .8rem; font-size: 1.15rem; }
.offer-grid { display: grid; gap: .8rem; }
.offer { min-width: 0; display: flex; flex-direction: column; gap: .65rem; padding: clamp(1rem,2vw,1.45rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.offer h4 { font-size: 1.18rem; line-height: 1.28; }
.offer p, .offer ul, .consult-groups li, .location p, footer address { color: var(--muted); }
.offer-footer, .engine-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; }
.offer-footer, .engine-prices { border-top: 1px solid var(--line); padding-top: .75rem; margin-top: auto; }
.service-link { color: #09254a; background: #bad9ff; font-size: .94rem; }
.amount { font-size: 1.35rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.engine-selector { border: 0; padding: 0; margin-bottom: 1rem; min-inline-size: 0; }
.engine-selector legend { color: var(--muted); font-weight: 700; margin-bottom: .45rem; padding: 0; }
.engine-options { max-width: 23rem; }
.engine-options label { position: relative; }
.engine-options input { position: absolute; opacity: 0; }
.engine-options span { display: grid; place-items: center; text-align: center; min-height: 44px; padding: .45rem; border-radius: var(--pill); border: 1px solid var(--line); }
.engine-options input:checked + span { color: #09254a; background: #c5ddff; font-weight: 700; }
.engine-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.engine-price span { color: var(--muted); font-size: .88rem; }
.engine-price + .engine-price:not([hidden]) { margin-top: .5rem; }
.engine-price[hidden] + .engine-price { margin-top: 0; }
.bike details summary, .more summary { padding-block: .65rem; min-height: 44px; font-weight: 700; }
.bike details summary { color: var(--accent); }
.bike ul { margin: 0 0 .7rem; padding-left: 1.3rem; }
.more { margin-top: var(--space-3); border-block: 1px solid var(--line); }
.more > summary { padding: .85rem .2rem; }
.consult-groups { padding-inline: .45rem; }
.consult-groups summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.consult-groups details { border-top: 1px solid var(--line); }
.consult-groups details[open] summary svg { transform: rotate(45deg); }
.consult-groups ul { padding: 0; margin: 0; list-style: none; }
.consult-groups li { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding-block: .25rem; }
.value { flex: none; color: var(--accent); font-size: .9rem; }

.gallery { background: var(--night); }
.sectionhead { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-bottom: var(--space-2); }
.sectionhead h2 { margin-bottom: 0; }
.insta, .plain, .original { color: #cfdeef; }
.clips, .photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.6rem,1.3vw,1.1rem); }
.clip, .photos a { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4/3; background: var(--surface); }
.clip img, .photos img { width: 100%; height: 100%; object-fit: cover; }
.clip::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,#031125); }
.playmark { position: absolute; top: .5rem; left: .5rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid #b9cee8; background: #071b36df; font-size: .8rem; }
.clip-caption { position: absolute; z-index: 1; inset: auto .55rem .55rem; display: flex; align-items: end; flex-wrap: wrap; justify-content: space-between; gap: .2rem; font-size: .92rem; font-weight: 700; line-height: 1.2; }
.clip-caption small { font-variant-numeric: tabular-nums; }
.photos-title { margin-top: 1.5rem; }
.original { display: inline-flex; align-items: center; min-height: 44px; margin-top: .5rem; }
dialog { max-width: 94vw; max-height: 90dvh; width: fit-content; background: var(--night); color: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; }
dialog::backdrop { background: #020914e8; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
#viewer-close { width: 44px; height: 44px; border: 0; background: transparent; color: white; font-size: 1.9rem; }
#viewer-media > * { margin: auto; max-width: min(82vw,55rem); max-height: 68dvh; object-fit: contain; }

#localizacao { background: linear-gradient(125deg,var(--brand),#081d3c); }
.location { display: grid; align-items: center; gap: var(--space-3); }
.location > img { width: 100%; max-height: 22rem; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.location h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; }
.location h3 svg { color: var(--accent); }
.location p, .hours { margin: .35rem 0 1rem; }
.location #open-status { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .8rem; margin: 0 0 1rem; color: var(--white); background: #192f4c; border: 1px solid #6886a8; border-radius: var(--pill); font-size: .92rem; }
#open-status::before { content: ""; width: .55rem; height: .55rem; background: #bac8d8; border-radius: 50%; }
#open-status.is-open::before { background: #79e3ad; }
.hours { max-width: 25rem; }
.hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem; padding: .35rem .5rem; color: var(--muted); }
.hours .today { background: var(--surface-raised); color: white; border-inline-start: 3px solid var(--accent); font-weight: 700; }
.today-label { font-size: .82rem; font-weight: normal; }
.map { width: 100%; height: clamp(13rem,28vw,20rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
footer { background: #04142b; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.6rem; padding: 1.75rem 0 calc(5rem + env(safe-area-inset-bottom)); }
.foot address { flex-basis: 100%; font-size: .94rem; font-style: normal; }
.floating-wa { position: fixed; z-index: 6; right: max(.85rem,env(safe-area-inset-right)); bottom: calc(.75rem + env(safe-area-inset-bottom)); min-height: 48px; padding-inline: 1rem; border: 1px solid #aac6f1; border-radius: var(--pill); background: #0d439b; color: white; font-weight: 700; box-shadow: 0 4px 20px #020e2b80; }
.reading-line { display: none; }

@media (min-width: 36rem) {
  .wrap { width: min(77rem,90%); }
  .offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .photos { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 48rem) {
  :root { --header: 4.75rem; }
  html { scroll-padding-bottom: 1rem; }
  .headrow { flex-wrap: nowrap; }
  .brand img { width: 5.5rem; }
  #nav { margin-left: auto; }
  .navcta { display: inline-flex; }
  .floating-wa { display: none; }
  .hero .actions { display: flex; }
  .hero-photos { left: 44%; }
  .hero::before { background: linear-gradient(90deg,#012768 22%,#082859 43%,rgb(4 22 49 / .72) 53%,transparent 78%); }
  .hero-content { padding-block: clamp(3.5rem,6vw,6rem); }
  .hero h1 { font-size: clamp(3.8rem,6.4vw,6.7rem); }
  .hero p { max-width: min(43%,29rem); }
  .menu-choice { min-height: 7.25rem; }
  .clips { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .photos { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .location { grid-template-columns: 1fr 1.15fr; gap: 2rem; }
  .location > img { aspect-ratio: 4/3; max-height: 27rem; }
  .map { grid-column: 1/-1; }
  .foot { padding: 1.75rem 0; justify-content: space-between; }
  .foot address { flex-basis: auto; }
}
@media (min-width: 65rem) {
  .offer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bikes { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (hover:hover) and (pointer:fine) and (forced-colors:none) {
  body { cursor: url("assets/cursor-mako-normal.png") 3 3,auto; }
  a, button, summary, .engine-options label { cursor: url("assets/cursor-mako-link.png") 3 3,pointer; }
  video { cursor: auto; }
  .primary:hover, .navcta:hover { background: #164bb1; }
  .service-link:hover { background: white; }
  .clip:hover, .photos a:hover, .menu-choice:hover { border-color: var(--accent); }
  .plain:hover, .insta:hover, #nav a:hover { text-decoration: underline; }
}
@media (prefers-reduced-motion:no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .service-link, .clip, .photos a, .menu-choice { transition: background .18s,border-color .18s; }
  .hero-photos::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(107deg, transparent 38%,#daecff26 49%,transparent 56%); animation: reflection 1.6s ease-out both; }
  .in-view { animation: arrive .42s ease-out backwards; }
  @supports (animation-timeline:scroll()) {
    .reading-line { display: block; pointer-events: none; position: fixed; z-index: 10; inset: 0 0 auto; height: 2px; background: var(--accent); transform-origin: left; animation: progress linear both; animation-timeline: scroll(); }
  }
}
@keyframes reflection { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@keyframes arrive { from { transform: translateY(5px); opacity: .85; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
