:root {
  --sky: #63bfe6;
  --sky-2: #bfe6f4;
  --deep: #06303f;
  --sand: #f6e8cd;
  --coral: #ff5a2a;
  --sun: #ffc917;
  --white: #fffdf7;
  --pad: clamp(20px, 4.4vw, 68px);
  --display: "Anybody", Impact, sans-serif;
  --text: "Outfit", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--sky); }
body { margin: 0; color: var(--deep); background: var(--sand); font: 400 19px/1.45 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2 { margin: 0; text-wrap: balance; }
h2 { font: italic 900 clamp(46px, 8vw, 132px)/.92 var(--display); font-stretch: 120%; text-transform: uppercase; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
cite { display: block; margin-top: 10px; font-style: normal; font-size: 16px; font-weight: 500; opacity: .72; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.demo { position: fixed; inset: 0 0 auto; z-index: 30; padding: 6px var(--pad); background: var(--deep); color: var(--white); font-size: 13px; line-height: 1.3; text-align: center; }

.top { position: fixed; top: 29px; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); }
.past .top { background: var(--sand); }
.brand { margin-right: auto; font: italic 900 24px/1 var(--display); font-stretch: 120%; text-transform: uppercase; text-decoration: none; }
.top nav { display: flex; gap: 26px; font-weight: 500; font-size: 17px; }
.top nav a { text-decoration: none; }
.cta { padding: 9px 18px; border-radius: 99px; background: var(--deep); color: var(--white); font-weight: 600; font-size: 16px; text-decoration: none; }
.cta:hover { background: var(--coral); }

.hero { position: relative; height: 200svh; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: linear-gradient(var(--sky) 40%, var(--sky-2) 78%, var(--sand) 100%); }
#wind { position: absolute; inset: 0; width: 100%; height: 100%; }
.word { position: absolute; top: 10svh; left: var(--pad); right: 0; margin: 0; display: grid; font: italic 900 min(17.4vw, 34svh)/.84 var(--display); font-stretch: 125%; color: var(--white); will-change: transform; }
.word span:last-child { margin-left: 5vw; color: var(--coral); }
.rider { position: absolute; right: -2vw; bottom: 0; width: min(52vw, 84svh); height: auto; transform-origin: 100% 100%; filter: drop-shadow(0 22px 26px rgba(6, 48, 63, .3)); will-change: transform; }
.hero-copy { position: absolute; left: var(--pad); bottom: 34px; display: grid; justify-items: start; gap: 10px; max-width: 30vw; }
.hero-copy h1 { font: 600 clamp(24px, 2.4vw, 36px)/1.1 var(--text); }
.hero-copy b { color: var(--coral); font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 99px; background: var(--coral); color: var(--white); font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { background: var(--deep); transform: translateX(4px); }
.btn.wide { width: 100%; }

.first { padding: 130px var(--pad) 110px; }
.kicker { margin-bottom: 14px; font-weight: 600; color: var(--coral); }
.first-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 56px; }
.first-grid p { padding-top: 16px; border-top: 3px solid var(--deep); font-size: 23px; line-height: 1.25; font-weight: 500; }

.strip { display: grid; gap: 14px; padding-bottom: 120px; overflow: hidden; }
.row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.row img { height: clamp(220px, 34vw, 460px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.row[data-speed="1"] { margin-left: -22vw; }

.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 120px var(--pad); background: var(--deep); color: var(--white); }
.stories h2 { grid-column: 1 / -1; margin-bottom: 26px; color: var(--sun); }
.stories article { padding: 22px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 21px; line-height: 1.3; }
.stories .big { grid-column: 1 / -1; padding: 0 0 18px; background: none; font: italic 800 clamp(32px, 4.8vw, 74px)/1.04 var(--display); }
.stories .big cite { font-family: var(--text); }

.trips { display: flex; align-items: flex-end; min-height: 110svh; padding: 90px var(--pad); background: url(assets/viagem.webp) center / cover no-repeat; color: var(--white); }
.trips-text { display: grid; gap: 18px; max-width: 620px; padding: 26px; border-radius: 10px; background: rgba(6, 48, 63, .72); }
.trips-text h2 { font-size: clamp(40px, 5vw, 72px); }
.trips-text p { font-size: 21px; line-height: 1.3; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; padding: 120px var(--pad); background: var(--sun); }
.contact h2 { font-size: clamp(44px, 6.6vw, 104px); }
.contact > div { display: grid; gap: 18px; align-content: start; }
form { display: grid; gap: 22px; padding: 26px; border-radius: 10px; background: var(--white); }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
fieldset label { cursor: pointer; }
fieldset input { position: absolute; opacity: 0; }
fieldset span { display: flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 99px; box-shadow: inset 0 0 0 2px var(--deep); }
fieldset input:checked + span { background: var(--deep); color: var(--white); }
fieldset input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.field { display: grid; gap: 10px; font-weight: 600; }
.field input { min-height: 50px; padding: 0 14px; border: 2px solid var(--deep); border-radius: 8px; background: transparent; color: var(--deep); font: inherit; font-weight: 400; }
output { display: block; padding: 14px; border-radius: 8px; background: var(--sand); font-size: 17px; }

.place { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px; padding: 70px var(--pad); }
.place h2 { margin-bottom: 8px; font-size: clamp(30px, 4.2vw, 64px); }
footer { padding: 20px var(--pad) 34px; background: var(--deep); color: #b8ccd2; font-size: 15px; }
.float { display: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.on { opacity: 1; transform: none; }

@media (max-width: 860px) {
  body { font-size: 18px; }
  .demo { font-size: 12px; }
  .top { top: 42px; padding-block: 10px; }
  .top nav, .cta { display: none; }
  .hero { height: 160svh; }
  .word { top: 13svh; font-size: 17.6vw; }
  .rider { width: 96vw; right: -5vw; bottom: 29svh; }
  .hero-pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30svh; background: var(--sand); }
  .hero-copy { z-index: 2; left: var(--pad); right: var(--pad); bottom: 22px; max-width: none; }
  .first, .stories, .contact { padding-block: 84px; }
  .first-grid, .stories, .contact { grid-template-columns: minmax(0, 1fr); }
  .contact { gap: 30px; }
  form { padding: 18px; }
  .strip { padding-bottom: 70px; }
  .trips { min-height: 90svh; padding-inline: 16px; }
  .past .float { display: inline-flex; }
  .float { position: fixed; right: 16px; bottom: 16px; z-index: 25; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 99px; background: var(--coral); color: var(--white); font-weight: 600; text-decoration: none; }
  footer { padding-bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .hero { height: 100svh; }
  .row { width: 100%; overflow-x: auto; }
  .row[data-speed="1"] { margin-left: 0; }
}
