@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Manrope:wght@400;500;600;700;800&display=swap");

body[data-theme="trip"] {
  --trip-paper: #f7ecd8;
  --trip-paper-soft: #fff8ea;
  --trip-ink: #1f3640;
  --trip-muted: #65737a;
  --trip-teal: #0c6d78;
  --trip-blue: #164a72;
  --trip-coral: #d76845;
  --trip-sand: #d9b66f;
  --trip-route: rgba(12, 109, 120, .44);
  --trip-border: rgba(31, 54, 64, .16);
  --trip-shadow: 0 20px 46px rgba(63, 42, 20, .16);
  --trip-stamp: "Fraunces", Georgia, serif;
  --trip-sans: "Manrope", "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --trip-plane-rotation: 135deg;
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 104, 69, .13), transparent 28%),
    radial-gradient(circle at 92% 24%, rgba(12, 109, 120, .14), transparent 30%),
    linear-gradient(90deg, rgba(31, 54, 64, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 54, 64, .035) 1px, transparent 1px),
    #f7ecd8;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  color: var(--trip-ink);
  font-family: var(--trip-sans);
}

body[data-theme="trip"].is-scroll-up {
  --trip-plane-rotation: -45deg;
}

body[data-theme="trip"].is-scroll-down {
  --trip-plane-rotation: 135deg;
}

body[data-theme="trip"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(22, 74, 114, .10) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 72%, rgba(215, 104, 69, .12) 0 2px, transparent 3px),
    linear-gradient(135deg, transparent 0 48%, rgba(12, 109, 120, .08) 48% 49%, transparent 49% 100%);
  background-size: 120px 120px, 150px 150px, 260px 260px;
  mix-blend-mode: multiply;
}

body[data-theme="trip"] .site,
body[data-theme="trip"] .topbar,
body[data-theme="trip"] main,
body[data-theme="trip"] .footer {
  position: relative;
  z-index: 1;
}

body[data-theme="trip"] main {
  overflow: visible;
}

body[data-theme="trip"] main::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(18px, 4vw, 72px);
  z-index: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--trip-route) 0 14px, transparent 14px 26px);
}

body[data-theme="trip"] .trip-route-plane {
  position: sticky;
  top: calc(var(--topbar-h, 72px) + 112px);
  z-index: 6;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

body[data-theme="trip"] .trip-route-plane::before {
  content: "";
  position: absolute;
  top: -70px;
  left: calc(clamp(18px, 4vw, 72px) - 64px);
  width: 128px;
  height: 128px;
  background: url("../img/plane-2708.svg") center / contain no-repeat;
  transform: rotate(var(--trip-plane-rotation));
  transform-origin: center;
  transition: transform .28s ease;
  filter: drop-shadow(0 12px 14px rgba(31, 54, 64, .28));
}

body[data-theme="trip"].is-scroll-up .trip-route-plane::before,
body[data-theme="trip"].is-scroll-up .trip-route-plane-mobile::before {
  transform: rotate(-45deg) !important;
}

body[data-theme="trip"].is-scroll-down .trip-route-plane::before,
body[data-theme="trip"].is-scroll-down .trip-route-plane-mobile::before {
  transform: rotate(135deg) !important;
}

html[data-trip-scroll-direction="up"] body[data-theme="trip"] .trip-route-plane::before,
html[data-trip-scroll-direction="up"] body[data-theme="trip"] .trip-route-plane-mobile::before {
  transform: rotate(-45deg) !important;
}

html[data-trip-scroll-direction="down"] body[data-theme="trip"] .trip-route-plane::before,
html[data-trip-scroll-direction="down"] body[data-theme="trip"] .trip-route-plane-mobile::before {
  transform: rotate(135deg) !important;
}

body[data-theme="trip"] .trip-route-plane::after {
  display: none;
}

body[data-theme="trip"] .trip-route-plane-mobile {
  display: none;
}

body[data-theme="trip"] .builder-section {
  position: relative;
  z-index: 1;
}

body[data-theme="trip"] .builder-section::before {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(clamp(18px, 4vw, 72px) - 5px);
  z-index: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--trip-teal);
  border-radius: 50%;
  background: var(--trip-paper);
  box-shadow: 0 0 0 6px rgba(12, 109, 120, .08);
}

body[data-theme="trip"] .topbar {
  background: rgba(255, 248, 234, .92);
  border-bottom: 1px solid rgba(31, 54, 64, .12);
  box-shadow: 0 12px 30px rgba(31, 54, 64, .08);
  backdrop-filter: blur(14px) saturate(130%);
}

body[data-theme="trip"] .topbar::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -6px;
  left: 24px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(12, 109, 120, .44) 0 12px, transparent 12px 22px);
}

body[data-theme="trip"] .brand {
  min-width: 74px;
}

body[data-theme="trip"] .brand__logo {
  height: 52px;
  filter: drop-shadow(0 8px 14px rgba(31, 54, 64, .18));
}

body[data-theme="trip"] .nav__link,
body[data-theme="trip"] .mobile-menu__link {
  color: var(--trip-ink);
  font-weight: 700;
  letter-spacing: 0;
}

body[data-theme="trip"] .nav__link:hover,
body[data-theme="trip"] .mobile-menu__link:hover {
  color: var(--trip-coral);
}

body[data-theme="trip"] .nav__link--gold,
body[data-theme="trip"] .mobile-menu__link--gold {
  color: var(--trip-coral);
}

body[data-theme="trip"] .nav__cta,
body[data-theme="trip"] .mobile-menu__cta,
body[data-theme="trip"] .topbar__cta {
  color: #fff8ea;
  background: #0c6d78;
  border: 1px solid rgba(12, 109, 120, .28);
  box-shadow: 0 12px 24px rgba(12, 109, 120, .22);
}

body[data-theme="trip"] .hamburger {
  color: var(--trip-ink);
  background: rgba(12, 109, 120, .10);
  border-color: rgba(12, 109, 120, .20);
}

body[data-theme="trip"] .hamburger__lines,
body[data-theme="trip"] .hamburger__lines::before,
body[data-theme="trip"] .hamburger__lines::after {
  background: rgba(31, 54, 64, .88);
}

body[data-theme="trip"] .topbar.is-open .hamburger__lines {
  background: transparent;
}

body[data-theme="trip"] .mobile-menu {
  background: rgba(255, 248, 234, .98);
  border-color: rgba(31, 54, 64, .12);
}

body[data-theme="trip"] .desafio-hero {
  min-height: 790px;
  isolation: isolate;
  background: #173947;
}

body[data-theme="trip"] .desafio-hero .hero__bg {
  margin-top: 0;
  background-position: center top;
  filter: saturate(.85) contrast(.92) brightness(1.04);
  transform: none;
}

body[data-theme="trip"] .desafio-hero .hero__overlay {
  background:
    linear-gradient(180deg, rgba(9, 32, 42, .18) 0%, rgba(9, 32, 42, .20) 32%, rgba(16, 53, 63, .80) 100%),
    radial-gradient(circle at 50% 24%, rgba(247, 236, 216, .26) 0%, transparent 34%),
    linear-gradient(90deg, rgba(247, 236, 216, .28) 0%, transparent 22%, transparent 78%, rgba(247, 236, 216, .20) 100%);
}

body[data-theme="trip"] .desafio-hero::before {
  content: "";
  position: absolute;
  inset: 118px auto auto 6vw;
  z-index: 1;
  width: min(360px, 34vw);
  height: 180px;
  pointer-events: none;
  opacity: .72;
  background:
    radial-gradient(circle at 8px 146px, var(--trip-coral) 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 14px) 18px, var(--trip-teal) 0 5px, transparent 6px),
    repeating-linear-gradient(135deg, transparent 0 9px, rgba(255, 248, 234, .76) 9px 14px, transparent 14px 24px);
  clip-path: polygon(0 78%, 18% 68%, 30% 50%, 52% 48%, 68% 28%, 100% 0, 100% 14%, 70% 40%, 55% 60%, 34% 62%, 20% 78%, 0 92%);
}

body[data-theme="trip"] .desafio-hero::after {
  content: "RIO DE JANEIRO";
  position: absolute;
  right: clamp(24px, 7vw, 92px);
  bottom: clamp(100px, 17vh, 170px);
  z-index: 2;
  padding: 10px 16px;
  color: rgba(255, 248, 234, .78);
  border: 2px solid rgba(255, 248, 234, .42);
  border-radius: 999px;
  font: 800 13px/1 var(--trip-sans);
  letter-spacing: .18em;
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 234, .16);
}

body[data-theme="trip"] .desafio-hero__logo {
  filter:
    drop-shadow(0 12px 14px rgba(7, 28, 36, .80))
    drop-shadow(0 4px 5px rgba(0, 0, 0, .58))
    drop-shadow(0 0 8px rgba(247, 236, 216, .30));
}

body[data-theme="trip"] .desafio-hero__content {
  padding-bottom: 66px;
}

body[data-theme="trip"] .desafio-hero .hero__titlewrap {
  gap: 12px;
}

body[data-theme="trip"] .desafio-hero-video {
  padding: 64px 0 28px;
  background:
    radial-gradient(circle at 16% 0, rgba(215, 104, 69, .13), transparent 30%),
    linear-gradient(180deg, rgba(23, 57, 71, .92), rgba(247, 236, 216, .78));
}

body[data-theme="trip"] .desafio-hero-video__title {
  color: var(--trip-paper-soft);
  font-family: var(--trip-stamp);
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 12px 24px rgba(7, 28, 36, .32);
}

body[data-theme="trip"] .desafio-hero-video__frame {
  --plyr-color-main: var(--trip-teal);
  position: relative;
  padding: 10px;
  border: 1px dashed rgba(31, 54, 64, .24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, .96), rgba(247, 236, 216, .88)),
    var(--trip-paper-soft);
  box-shadow: var(--trip-shadow);
}

body[data-theme="trip"] .desafio-hero-video__frame::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: 0;
  border: 1px solid rgba(12, 109, 120, .16);
  border-radius: 9px;
  pointer-events: none;
}

body[data-theme="trip"] .desafio-hero-video__player,
body[data-theme="trip"] .desafio-hero-video__frame .plyr,
body[data-theme="trip"] .desafio-hero-video__frame .plyr__video-embed,
body[data-theme="trip"] .desafio-hero-video__frame .plyr__video-wrapper {
  position: relative;
  z-index: 1;
  border-radius: 9px;
  background: #102f38;
}

body[data-theme="trip"] .desafio-eyebrow {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 7px 13px;
  color: #113641;
  background: rgba(255, 248, 234, .82);
  border: 1px solid rgba(31, 54, 64, .16);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .05em;
  box-shadow: 0 10px 24px rgba(31, 54, 64, .10);
}

body[data-theme="trip"] .desafio-hero__title {
  width: min(1040px, 100%);
  color: #fff8ea;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-family: var(--trip-stamp);
  font-size: clamp(40px, 4.2vw, 62px);
  font-weight: 800;
  line-height: .98;
  text-shadow: 0 5px 0 rgba(12, 109, 120, .30), 0 24px 36px rgba(7, 28, 36, .42);
}

body[data-theme="trip"] .btn-primary-large,
body[data-theme="trip"] .desafio-hero__actions .topbar__cta {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

body[data-theme="trip"] .btn-primary-large {
  color: #fff8ea;
  background: linear-gradient(135deg, #d76845, #b54e32);
  border: 1px solid rgba(255, 248, 234, .30);
  box-shadow: 0 16px 32px rgba(181, 78, 50, .30);
}

body[data-theme="trip"] .desafio-hero__actions .topbar__cta {
  color: #fff8ea;
  background: rgba(12, 109, 120, .90);
  border-color: rgba(255, 248, 234, .25);
}

body[data-theme="trip"] .desafio-section {
  padding: 82px 0;
}

body[data-theme="trip"] .desafio-panel,
body[data-theme="trip"] .desafio-step-card,
body[data-theme="trip"] .faq-item,
body[data-theme="trip"] .uv-blog-card {
  color: var(--trip-ink);
  border: 1px solid var(--trip-border);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(12, 109, 120, .13) 0 10px, transparent 10px 100%),
    linear-gradient(180deg, rgba(255, 248, 234, .96), rgba(247, 236, 216, .92));
  box-shadow: var(--trip-shadow);
}

body[data-theme="trip"] .desafio-panel {
  position: relative;
  padding: 34px 34px 34px 42px;
}

body[data-theme="trip"] .desafio-panel::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 86px;
  height: 86px;
  border: 2px dashed rgba(215, 104, 69, .34);
  border-radius: 50%;
  transform: rotate(-10deg);
}

body[data-theme="trip"] .desafio-panel--accent {
  background:
    radial-gradient(circle at 100% 0, rgba(215, 104, 69, .18), transparent 34%),
    linear-gradient(90deg, rgba(215, 104, 69, .18) 0 10px, transparent 10px 100%),
    #fff8ea;
}

body[data-theme="trip"] .desafio-title,
body[data-theme="trip"] .uv-blog-section__title,
body[data-theme="trip"] .local-player-section__title,
body[data-theme="trip"] .carousel-section__title {
  color: var(--trip-ink);
  font-family: var(--trip-stamp);
  font-weight: 800;
  letter-spacing: 0;
}

body[data-theme="trip"] .desafio-panel p,
body[data-theme="trip"] .desafio-panel blockquote,
body[data-theme="trip"] .desafio-rules-list p,
body[data-theme="trip"] .desafio-lead,
body[data-theme="trip"] .faq-item__answer p {
  color: rgba(31, 54, 64, .78);
  font-weight: 400;
}

body[data-theme="trip"] strong {
  color: #133943;
  font-weight: 800;
}

body[data-theme="trip"] .desafio-panel a,
body[data-theme="trip"] .faq-item__answer a,
body[data-theme="trip"] .footer__link:hover {
  color: var(--trip-coral);
}

body[data-theme="trip"] .desafio-panel blockquote {
  position: relative;
  padding: 16px 18px;
  color: #113641;
  background: rgba(12, 109, 120, .08);
  border-left: 4px solid var(--trip-teal);
  border-radius: 0 10px 10px 0;
  font-family: var(--trip-stamp);
  font-style: normal;
}

body[data-theme="trip"] .desafio-step-grid {
  counter-reset: trip-step;
}

body[data-theme="trip"] .desafio-step-card {
  counter-increment: trip-step;
  position: relative;
  min-height: 250px;
  padding: 28px 24px 30px;
  overflow: hidden;
}

body[data-theme="trip"] .desafio-step-card::before {
  content: "0" counter(trip-step);
  position: absolute;
  top: 18px;
  left: 18px;
  color: rgba(22, 74, 114, .18);
  font: 800 54px/.8 var(--trip-stamp);
}

body[data-theme="trip"] .desafio-step-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(12, 109, 120, .35) 0 10px, transparent 10px 18px);
}

body[data-theme="trip"] .desafio-step-card__icon {
  color: var(--trip-teal);
}

body[data-theme="trip"] .desafio-step-card h3 {
  color: var(--trip-ink);
  font-family: var(--trip-stamp);
}

body[data-theme="trip"] .desafio-step-card p {
  color: rgba(31, 54, 64, .72);
  font-weight: 400;
}

body[data-theme="trip"] .desafio-guidelines {
  background:
    linear-gradient(115deg, rgba(22, 74, 114, .10), transparent 40%),
    linear-gradient(180deg, rgba(255, 248, 234, .42), rgba(255, 248, 234, .12));
}

body[data-theme="trip"] .desafio-rules-list {
  padding: 28px;
  border: 1px dashed rgba(31, 54, 64, .22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, .86), rgba(247, 236, 216, .76)),
    rgba(255, 248, 234, .86);
  color: #263f48;
}

body[data-theme="trip"] .desafio-rules-list p {
  position: relative;
  padding: 18px 20px 18px 24px;
  color: #263f48;
  border: 1px solid rgba(12, 109, 120, .18);
  border-left: 4px solid var(--trip-teal);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(12, 109, 120, .08), transparent 42%),
    linear-gradient(180deg, rgba(255, 248, 234, .96), rgba(247, 236, 216, .88));
  box-shadow:
    0 10px 24px rgba(63, 42, 20, .08),
    inset 0 1px 0 rgba(255, 255, 255, .62);
}

body[data-theme="trip"] .desafio-rules-list strong {
  color: var(--trip-teal);
}

body[data-theme="trip"] .uv-blog-section {
  --uv-blog-accent: #d76845;
  --uv-blog-accent-soft: rgba(215, 104, 69, .12);
  --uv-blog-text: #1f3640;
  --uv-blog-text-muted: rgba(31, 54, 64, .66);
  --uv-blog-card-bg: #fff8ea;
  --uv-blog-card-border: rgba(31, 54, 64, .14);
  --uv-blog-card-shadow: var(--trip-shadow);
  --uv-blog-arrow-bg: rgba(12, 109, 120, .12);
  --uv-blog-arrow-bg-hover: rgba(12, 109, 120, .20);
  --uv-blog-dot-bg: rgba(12, 109, 120, .24);
  --uv-blog-button-bg: #0c6d78;
  --uv-blog-button-color: #fff8ea;
  --uv-blog-button-shadow: 0 14px 28px rgba(12, 109, 120, .20);
}

body[data-theme="trip"] .uv-blog-section__eyebrow {
  color: var(--trip-coral);
  font-weight: 800;
  letter-spacing: .06em;
}

body[data-theme="trip"] .uv-blog-card {
  overflow: hidden;
}

body[data-theme="trip"] .uv-blog-card__meta,
body[data-theme="trip"] .uv-blog-card__meta span:not(.uv-blog-card__category) {
  color: #6f7e84;
}

body[data-theme="trip"] .uv-blog-card__category {
  color: var(--trip-blue);
  background: rgba(22, 74, 114, .08);
}

body[data-theme="trip"] .uv-blog-card__title {
  color: var(--trip-ink);
  font-family: var(--trip-stamp);
}

body[data-theme="trip"] .uv-blog-card__description {
  color: #324c55;
}

body[data-theme="trip"] .local-player-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 104, 69, .12), transparent 30%),
    linear-gradient(180deg, rgba(12, 109, 120, .08), rgba(12, 109, 120, 0));
}

body[data-theme="trip"] .local-player-carousel {
  width: min(1420px, calc(100% - 48px));
}

body[data-theme="trip"] .local-player-card__media {
  border: 8px solid #fff8ea;
  border-bottom-width: 18px;
  border-radius: 7px;
  background: #0f3039;
  box-shadow: 0 24px 46px rgba(31, 54, 64, .22);
}

body[data-theme="trip"] .local-player-card__title {
  color: var(--trip-ink);
  font-weight: 800;
}

body[data-theme="trip"] .local-player-carousel__arrow {
  color: #fff8ea;
  background: var(--trip-teal);
  box-shadow: 0 14px 28px rgba(12, 109, 120, .24);
}

body[data-theme="trip"] .banner-full {
  background: #102f38;
}

body[data-theme="trip"] .banner-full__image {
  filter: saturate(.86) contrast(.98) brightness(1.08);
}

body[data-theme="trip"] .banner-full__label {
  left: 50%;
  top: 50%;
  width: min(620px, calc(100% - 96px));
  min-width: 0;
  color: #113641;
  background: rgba(255, 248, 234, .90);
  border: 2px dashed rgba(215, 104, 69, .50);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(31, 54, 64, .18);
  transform: translate(-50%, -50%) rotate(-2deg);
}

body[data-theme="trip"] .banner-full__label strong {
  color: var(--trip-coral);
  font-family: var(--trip-stamp);
}

body[data-theme="trip"] .banner-full__label span {
  color: rgba(31, 54, 64, .70);
}

body[data-theme="trip"] .faq-section {
  background:
    linear-gradient(180deg, rgba(255, 248, 234, .10), rgba(255, 248, 234, .44)),
    radial-gradient(circle at 88% 10%, rgba(12, 109, 120, .12), transparent 30%);
}

body[data-theme="trip"] .faq-section__inner {
  background: transparent;
}

body[data-theme="trip"] .faq-item {
  overflow: hidden;
}

body[data-theme="trip"] .faq-item__question {
  color: var(--trip-ink);
  font-family: var(--trip-stamp);
  font-weight: 700;
}

body[data-theme="trip"] .faq-item__question::after {
  color: var(--trip-teal);
}

body[data-theme="trip"] .desafio-api-carousel {
  background:
    linear-gradient(180deg, rgba(247, 236, 216, .60), rgba(255, 248, 234, .18)),
    radial-gradient(circle at 80% 30%, rgba(215, 104, 69, .12), transparent 28%);
}

body[data-theme="trip"] .carousel-section__title {
  color: var(--trip-ink);
}

body[data-theme="trip"] .slideLeft,
body[data-theme="trip"] .slideRight {
  background: rgba(255, 248, 234, .86);
  border: 1px solid rgba(31, 54, 64, .14);
  color: var(--trip-ink);
  box-shadow: 0 14px 30px rgba(31, 54, 64, .16);
}

body[data-theme="trip"] .slideLeft img,
body[data-theme="trip"] .slideRight img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(20%) saturate(925%) hue-rotate(152deg) brightness(94%) contrast(92%);
}

body[data-theme="trip"] .footer {
  color: rgba(255, 248, 234, .78);
  background:
    linear-gradient(180deg, rgba(16, 47, 56, .96), rgba(9, 28, 34, .98)),
    #102f38;
  border-top: 1px solid rgba(255, 248, 234, .12);
}

body[data-theme="trip"] .footer__title,
body[data-theme="trip"] .footer__brandText {
  color: #fff8ea;
}

body[data-theme="trip"] .footer__link {
  color: rgba(255, 248, 234, .70);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body[data-theme="trip"] .desafio-panel,
    body[data-theme="trip"] .desafio-step-card,
    body[data-theme="trip"] .desafio-rules-list,
    body[data-theme="trip"] .uv-blog-card,
    body[data-theme="trip"] .local-player-card,
    body[data-theme="trip"] .desafio-hero-video__frame,
    body[data-theme="trip"] .banner-full,
    body[data-theme="trip"] .faq-item,
    body[data-theme="trip"] .carousel-section__inner {
      animation: trip-rise both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
    }

    body[data-theme="trip"] .desafio-step-card:nth-child(2),
    body[data-theme="trip"] .uv-blog-card:nth-child(2n),
    body[data-theme="trip"] .local-player-card:nth-child(2n) {
      animation-name: trip-rise-soft-left;
    }

    body[data-theme="trip"] .desafio-step-card:nth-child(3),
    body[data-theme="trip"] .uv-blog-card:nth-child(3n),
    body[data-theme="trip"] .local-player-card:nth-child(3n) {
      animation-name: trip-rise-soft-right;
    }

    body[data-theme="trip"] main::before {
      animation: trip-route-flow linear both;
      animation-timeline: scroll(root);
    }

    body[data-theme="trip"] .trip-route-plane {
      animation: trip-mobile-plane-bob 3.4s ease-in-out infinite;
    }
  }
}

@keyframes trip-rise {
  from {
    opacity: .12;
    transform: translateY(38px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes trip-rise-soft-left {
  from {
    opacity: .12;
    transform: translate(-22px, 34px) rotate(-.35deg);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

@keyframes trip-rise-soft-right {
  from {
    opacity: .12;
    transform: translate(22px, 34px) rotate(.35deg);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

@keyframes trip-route-flow {
  from {
    background-position-y: 0;
  }

  to {
    background-position-y: 260px;
  }
}

@keyframes trip-mobile-plane-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@media (max-width: 1280px) and (min-width: 901px) {
  body[data-theme="trip"] .trip-route-plane::before {
    top: -58px;
    left: calc(clamp(18px, 4vw, 72px) - 52px);
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 900px) {
  body[data-theme="trip"] main::before,
  body[data-theme="trip"] .builder-section::before {
    display: none;
  }

  body[data-theme="trip"] .trip-route-plane {
    display: none !important;
  }

  body[data-theme="trip"] .trip-route-plane-mobile {
    position: fixed !important;
    inset: auto auto 20px 20px;
    display: block !important;
    z-index: 999;
    width: 78px;
    height: 78px;
    margin: auto;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    animation: trip-mobile-plane-bob 3.4s ease-in-out infinite;
    transition: none;
    pointer-events: none;
  }

  body[data-theme="trip"] .trip-route-plane-mobile::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 58px;
    height: 58px;
    background: url("../img/plane-2708.svg") center / contain no-repeat;
    transform: rotate(var(--trip-plane-rotation));
    transform-origin: center;
    transition: transform .28s ease;
    filter: drop-shadow(0 12px 16px rgba(31, 54, 64, .30));
  }

  body[data-theme="trip"] .desafio-hero {
    min-height: 720px;
  }

  body[data-theme="trip"] .desafio-hero::before {
    inset: 108px auto auto 20px;
    width: 230px;
    height: 120px;
  }

  body[data-theme="trip"] .desafio-hero::after {
    right: 18px;
    bottom: 130px;
    font-size: 10px;
  }

  body[data-theme="trip"] .desafio-hero__title {
    font-size: clamp(34px, 9vw, 48px);
  }

  body[data-theme="trip"] .desafio-panel,
  body[data-theme="trip"] .desafio-step-card {
    padding: 26px;
  }
}

@media (max-width: 600px) {
  body[data-theme="trip"] {
    background-size: auto, auto, 34px 34px, 34px 34px, auto;
  }

  body[data-theme="trip"] .desafio-hero {
    min-height: 680px;
  }

  body[data-theme="trip"] .desafio-hero__content {
    padding-top: 182px;
    padding-bottom: 46px;
  }

  body[data-theme="trip"] .desafio-hero__logo {
    width: min(300px, 88vw);
  }

  body[data-theme="trip"] .desafio-hero::after {
    display: none;
  }

  body[data-theme="trip"] .desafio-eyebrow {
    white-space: normal;
  }

  body[data-theme="trip"] .banner-full__label {
    width: min(360px, calc(100% - 32px));
    transform: translate(-50%, -50%) rotate(-1deg);
  }
}

@media (min-width: 1441px) {
  body[data-theme="trip"] main::before {
    left: clamp(104px, 7vw, 164px);
  }

  body[data-theme="trip"] .builder-section::before {
    left: calc(clamp(104px, 7vw, 164px) - 5px);
  }

  body[data-theme="trip"] .trip-route-plane::before {
    left: calc(clamp(104px, 7vw, 164px) - 64px);
  }
}
