:root {
  color-scheme: dark;
  --bg: #050a08;
  --panel: #0a1713;
  --line: #224639;
  --text: #f4faf7;
  --muted: #aec1b8;
  --green: #00e67a;
  --cyan: #00cfe8;
  font-family: "Segoe UI", system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.site-header { border-block-end: 1px solid var(--line); }
.header-row, .footer-row, nav { display: flex; align-items: center; }
.header-row { min-height: 4.75rem; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.6rem; font-weight: 750; }
.brand img { border-radius: .7rem; }
nav { gap: clamp(1.1rem, 4vw, 2.15rem); }
nav a, .footer-row a { text-decoration: none; color: var(--muted); }
nav a:hover, .footer-row a:hover, figcaption a:hover { text-decoration: underline; color: var(--text); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5rem) 2.75rem; }
.hero-logo { width: clamp(4rem, 9vw, 6rem); height: auto; border-radius: 24%; }
h1, h2, p, figure { margin: 0; }
h1 { margin-block: 1.15rem; font-size: clamp(3.3rem, 6.5vw, 6.25rem); line-height: .94; letter-spacing: -.075em; font-weight: 780; }
h1 span { color: var(--green); }
.hero-copy p { color: var(--muted); font-size: clamp(1.075rem, 2.1vw, 1.35rem); line-height: 1.55; max-width: 24rem; }
.download { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.7rem; min-height: 3.45rem; padding: .75rem 1.27rem; background: var(--green); color: #03140c; border-radius: .7rem; text-decoration: none; font-weight: 750; }
.download:hover { background: #53ffa6; }
.play-mark { display: inline-block; width: 0; height: 0; border-block: .55em solid transparent; border-inline-start: .86em solid currentColor; }

.map-preview { display: grid; position: relative; isolation: isolate; justify-items: center; align-items: end; gap: .75rem; }
.map-backdrop { position: absolute; inset: 1.3rem 0 2.3rem; z-index: -1; border: 1px solid #1b433a; border-radius: 1.45rem; background: linear-gradient(145deg, #041410d0, #071a1790 55%, #041410ec), url("/assets/mapa-ipanema.jpg") center 34% / cover; }
.phone { width: min(100%, 16.25rem); border-radius: 2.15rem; overflow: hidden; padding: .34rem; border: 1px solid #61726b; background: #070c0b; box-shadow: 0 1.2rem 2.5rem #000b; }
.phone img { width: 100%; height: auto; border-radius: 1.78rem; }
figcaption { color: var(--muted); text-align: center; font-size: .875rem; line-height: 1.5; }
figcaption a { white-space: nowrap; color: var(--muted); }

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3rem; scroll-margin-top: 1rem; }
.mode { position: relative; min-width: 0; min-height: 11.25rem; padding: 1.45rem; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: center; border: 1px solid var(--line); border-radius: .95rem; background: linear-gradient(105deg, #0b1b15 38%, #091c18e5 75%, #061713b8), url("/assets/mapa-copacabana.jpg") center 45% / cover; }
.mode h2 { line-height: 1.1; font-size: clamp(1.5rem, 2.75vw, 2rem); letter-spacing: -.04em; }
.mode h2::before { content: ""; display: block; width: 1.5rem; height: .2rem; margin-bottom: .75rem; border-radius: 2px; background: var(--green); }
.mode-moto h2::before { background: var(--cyan); }
.mode p { margin-top: .55rem; color: var(--muted); line-height: 1.5; }
.mode img { width: 100%; height: auto; }
.site-footer { border-block-start: 1px solid var(--line); }
.footer-row { gap: .65rem 1.55rem; min-height: 4.5rem; flex-wrap: wrap; }
.footer-row a:last-child { margin-inline-start: auto; }

@media (min-width: 721px) and (max-height: 650px) {
  .hero { padding-block-start: 2rem; }
  .hero-logo { width: 3.25rem; }
  h1 { font-size: clamp(3rem, 5.8vw, 4.75rem); margin-block: .8rem; }
  .download { margin-top: 1rem; }
  .phone { width: clamp(10.5rem, 38dvh, 14rem); }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; gap: 2.6rem; }
  h1 { font-size: clamp(3.1rem, 12vw, 5.3rem); }
  .phone { width: min(68%, 14rem); }
  .modes { grid-template-columns: 1fr; }
  .footer-row { min-height: 0; padding-block: 1.2rem; }
  .footer-row a:last-child { margin-inline-start: 0; }
}

@media (max-width: 350px) {
  .brand { gap: .35rem; font-size: 1.35rem; }
  .brand img { width: 34px; height: 34px; }
  nav { gap: .75rem; }
  .mode { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
