/* ============================================
   ALIÁ — Premium Animations System
   Cruzeiro 2026 — Desktop & Mobile Optimized
   ============================================ */

/* ── Global Smooth Rendering ── */
*, *::before, *::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

section {
  overflow: hidden;
}

/* ── Body initial state ── */
body {
  opacity: 0;
  animation: bodyFadeIn 0.6s var(--ease-out) 0.1s forwards;
}

@keyframes bodyFadeIn {
  to { opacity: 1; }
}

/* ============================================
   REVEAL SYSTEM — Scroll-triggered animations
   ============================================ */

/* Base state: Hidden, waiting for scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

/* Directional variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-spring);
  will-change: opacity, transform;
}

/* Active state: Visible */
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
  visibility: visible !important;
}

/* Stagger delays — applied per element via data-delay or style */
.reveal[style*="animation-delay"],
.reveal-left[style*="animation-delay"],
.reveal-right[style*="animation-delay"],
.reveal-scale[style*="animation-delay"] {
  transition-delay: inherit;
}


/* ============================================
   HERO SECTION — Cinematic entrance
   ============================================ */

/* Hero text staggered entrance */
.hero .reveal {
  transform: translateY(40px);
  transition-duration: 1s;
}

.hero .reveal:nth-child(1) { transition-delay: 0.2s; }
.hero .reveal:nth-child(2) { transition-delay: 0.4s; }
.hero .reveal:nth-child(3) { transition-delay: 0.6s; }
.hero .reveal:nth-child(4) { transition-delay: 0.8s; }

/* Hero background slow zoom */
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero {
  background-size: cover;
}

.hero-title {
  text-shadow: 0 10px 30px rgba(0, 136, 205, 0.3);
}

.hero-title span {
  display: inline-block;
}

.hero-bg-desktop {
  background-image: url('../Imagens/hero_section.jpg');
}

.hero-bg-mobile {
  background-image: url('../Imagens/Hero_Mobile.jpg');
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: inherit;
  animation: heroZoom 25s ease-out forwards;
  z-index: -1;
}

/* Scroll indicator subtle float */
@keyframes scrollFloat {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(6px); opacity: 0.6; }
}


/* ============================================
   CARD INTERACTIONS — Hover micro-animations
   ============================================ */

/* Card icon hover scale */
.group:hover .group-hover\:scale-110 {
  transition: transform 0.4s var(--ease-spring);
}

/* ============================================
   SECTION DIVIDERS — Smooth color transitions
   ============================================ */

/* Section transition overlays */
.como-funciona,
.victory-editorial,
.prize-showcase,
.ranking,
.faq,
.cruzeiro {
  position: relative;
  scroll-margin-top: 5rem;
}

/* Subtle gradient transition between sections */
.como-funciona::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(15, 21, 35, 0.95), rgba(8, 11, 19, 0));
  pointer-events: none;
  z-index: 1;
}


/* ============================================
   EDITORIAL REDESIGN SECTIONS
   ============================================ */

.editorial-section {
  background: #080b13;
  overflow: hidden;
  padding: clamp(4.25rem, 6.5vw, 6.5rem) 0;
}

.section-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 16%, rgba(0, 174, 239, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(220, 222, 0, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(15, 21, 35, 0.45), transparent 30%);
  pointer-events: none;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.editorial-title {
  max-width: 10ch;
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 4.2vw, 4.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.editorial-copy {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.75;
}

.campaign-countdown {
  padding: clamp(4rem, 6vw, 6.5rem) 0;
}

.campaign-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 174, 239, 0.16), transparent 24rem),
    radial-gradient(circle at 82% 84%, rgba(220, 222, 0, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(8, 11, 19, 0.08), rgba(8, 11, 19, 0.5));
}

.campaign-countdown__header {
  max-width: 48rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.4rem);
  text-align: center;
}

.campaign-countdown__header .section-kicker {
  justify-content: center;
}

.campaign-countdown__header h2 {
  margin: 0;
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.campaign-countdown__header p {
  max-width: 40rem;
  margin: 0.9rem auto 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  font-weight: 650;
  line-height: 1.6;
}

.campaign-countdown__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.3vw, 1.5rem);
  max-width: 70rem;
  margin: 0 auto;
}

.countdown-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(1.25rem, 2vw, 1.75rem);
  background:
    linear-gradient(145deg, rgba(0, 174, 239, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 11, 19, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.countdown-card::after {
  content: '';
  position: absolute;
  inset: auto -4rem -5rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.12);
  filter: blur(28px);
  pointer-events: none;
}

.countdown-card--highlight {
  border-color: rgba(220, 222, 0, 0.24);
  background:
    linear-gradient(145deg, rgba(220, 222, 0, 0.09), rgba(0, 174, 239, 0.04)),
    rgba(8, 11, 19, 0.76);
}

.countdown-card--highlight::after {
  background: rgba(220, 222, 0, 0.14);
}

.countdown-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.1rem, 2.2vw, 1.65rem);
}

.countdown-card__top span,
.countdown-agenda span,
.countdown-units span {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown-card__top span {
  color: var(--alia-cyan);
}

.countdown-card--highlight .countdown-card__top span {
  color: var(--alia-yellow);
}

.countdown-card__top strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: right;
}

.countdown-units {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.countdown-units div {
  display: grid;
  place-items: center;
  min-height: clamp(5.6rem, 8vw, 7.25rem);
  padding: 0.7rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.045);
}

.countdown-units strong {
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 10px 26px rgba(0, 174, 239, 0.2);
}

.countdown-card--highlight .countdown-units strong {
  color: var(--alia-yellow);
  text-shadow: 0 10px 26px rgba(220, 222, 0, 0.16);
}

.countdown-units span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.56rem;
}

.countdown-card p {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.countdown-agenda {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 70rem;
  margin: 0.9rem auto 0;
}

.countdown-agenda div {
  display: grid;
  gap: 0.25rem;
  min-height: 4.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.countdown-agenda span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.58rem;
}

.countdown-agenda strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.1;
}

.passport-section {
  background:
    linear-gradient(180deg, #0f1523 0%, #080b13 28%, #080b13 100%);
}

.passport-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.passport-intro {
  position: sticky;
  top: 7rem;
}

.passport-intro .editorial-title {
  max-width: 8ch;
  margin-bottom: 1.5rem;
}

.passport-stamp {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(220, 222, 0, 0.35);
  border-radius: 1.15rem;
  color: var(--alia-yellow);
  background: rgba(220, 222, 0, 0.07);
  transform: rotate(-2deg);
}

.passport-stamp span,
.passport-stamp strong {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.passport-stamp strong {
  color: white;
  letter-spacing: 0.08em;
}

.passport-steps {
  display: grid;
  gap: 0;
  position: relative;
  overflow: hidden;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.65rem;
  background:
    linear-gradient(90deg, rgba(0, 174, 239, 0.09) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 100%),
    rgba(8, 11, 19, 0.62);
  background-size: 4rem 4rem, 4rem 4rem, auto;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.passport-steps::before {
  content: '';
  position: absolute;
  top: 1.35rem;
  bottom: 1.35rem;
  left: 3.45rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0, 174, 239, 0), rgba(0, 174, 239, 0.55), rgba(220, 222, 0, 0.45), rgba(0, 174, 239, 0));
}

.passport-step {
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr) minmax(8rem, max-content);
  gap: 1rem;
  align-items: center;
  min-height: 0;
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.15rem;
  overflow: visible;
  border: 0;
  border-radius: 1.15rem;
  background: rgba(8, 11, 19, 0.45);
  box-shadow: none;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.passport-step + .passport-step {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.passport-step:hover {
  transform: translateX(0.35rem);
  background: rgba(0, 174, 239, 0.08);
}

.passport-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--alia-cyan);
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 174, 239, 0.22), transparent 62%),
    rgba(10, 18, 32, 0.92);
  box-shadow: 0 0 0 0.45rem rgba(0, 174, 239, 0.08);
}

.passport-step__icon i {
  font-size: 1.55rem;
  line-height: 1;
}

.route-stop figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.passport-step__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

.passport-step--wide .passport-step__content {
  grid-column: 2 / -1;
}

.passport-step__number {
  position: static;
  display: inline-flex;
  width: max-content;
  margin-bottom: 0.45rem;
  color: var(--alia-yellow);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1;
  opacity: 0.95;
}

.passport-step h3,
.ship-feature__copy h3,
.route-stop h4 {
  color: white;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.passport-step h3 {
  max-width: none;
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.passport-step__metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(220, 222, 0, 0.28);
  border-radius: 999px;
  color: var(--alia-yellow);
  background: rgba(220, 222, 0, 0.06);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.passport-step p,
.ship-feature__copy p,
.route-stop p {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
}

.passport-step__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: 0.55rem;
  color: rgba(220, 222, 0, 0.9);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 0.24s var(--ease-out),
    transform 0.24s var(--ease-out);
}

.passport-step__cta i {
  font-size: 0.95rem;
  transition: transform 0.24s var(--ease-out);
}

.passport-step__cta:hover {
  color: var(--alia-yellow);
  transform: translateX(0.12rem);
}

.passport-step__cta:hover i {
  transform: translate(0.12rem, -0.12rem);
}

.victory-editorial {
  min-height: 660px;
  display: flex;
  align-items: center;
  background: #050812;
}

.victory-image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 8, 18, 0.96) 0%, rgba(5, 8, 18, 0.78) 38%, rgba(5, 8, 18, 0.28) 76%, rgba(5, 8, 18, 0.75) 100%),
    url('../Imagens/grandevitoria.png');
  background-size: cover;
  background-position: center right;
}

.victory-panel {
  max-width: 42rem;
}

.victory-panel .editorial-title,
.prize-hero__copy .editorial-title,
.route-story__header .editorial-title {
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.victory-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.victory-split > div,
.prize-inclusions span,
.ship-feature__facts span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 21, 35, 0.7);
  backdrop-filter: blur(16px);
}

.victory-split > div {
  padding: 1.25rem;
  border-radius: 1.25rem;
}

.victory-split span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--alia-cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.victory-split strong {
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
}

.victory-split p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-redesign {
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 174, 239, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 72%, rgba(220, 222, 0, 0.08), transparent 24rem),
    var(--alia-surface-darker);
}

.faq-heading h2 {
  letter-spacing: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.32fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 76rem;
  margin: 0 auto;
  align-items: start;
}

.faq-rail {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.1rem, 1.8vw, 1.45rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(0, 174, 239, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 23, 0.58);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.faq-rail__intro h3 {
  max-width: 14ch;
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.03;
}

.faq-rail__intro p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-date-grid {
  display: grid;
  gap: 0.55rem;
}

.faq-date-grid div {
  display: grid;
  gap: 0.22rem;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
}

.faq-date-grid span,
.faq-nav a,
.faq-question__number {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq-date-grid span {
  color: rgba(255, 255, 255, 0.42);
}

.faq-date-grid strong {
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
}

.faq-nav {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.25rem;
}

.faq-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.76rem 0.9rem;
  border: 1px solid rgba(0, 174, 239, 0.14);
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.06);
  color: rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.faq-nav a::after {
  content: '↓';
  color: var(--alia-cyan);
}

.faq-nav a:hover {
  border-color: rgba(0, 174, 239, 0.34);
  background: rgba(0, 174, 239, 0.12);
  color: white;
  transform: translateY(-0.06rem);
}

.faq-groups {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2rem);
}

.faq-group {
  scroll-margin-top: 6rem;
  display: grid;
  gap: 0.85rem;
}

.faq-group__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0 0 0.35rem;
}

.faq-group__header > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(220, 222, 0, 0.34);
  border-radius: 50%;
  color: var(--alia-yellow);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
}

.faq-group__header h3 {
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.faq-group__header p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.95rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
}

.faq-question {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.25rem);
  text-align: left;
}

.faq-question__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: 50%;
  color: var(--alia-cyan);
  background: rgba(0, 174, 239, 0.08);
}

.faq-question__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  font-weight: 900;
  line-height: 1.35;
}

.faq-question__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: var(--alia-cyan);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 240ms var(--ease-out), background 240ms var(--ease-out);
}

.faq-item.active .faq-question__icon {
  background: rgba(0, 174, 239, 0.14);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 clamp(1rem, 2vw, 1.25rem) clamp(1.15rem, 2vw, 1.45rem) calc(clamp(1rem, 2vw, 1.25rem) + 3.1rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
}

.faq-answer p + .faq-answer-list,
.faq-answer p + .faq-link-list {
  margin-top: 0.85rem;
}

.faq-answer-list {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding-left: 1.05rem;
}

.faq-answer-list li::marker {
  color: var(--alia-yellow);
}

.faq-link-list {
  display: grid;
  gap: 0.65rem;
}

.faq-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.faq-link-list a::after {
  content: '↗';
  color: var(--alia-cyan);
  font-weight: 900;
}

.faq-link-list a:hover {
  border-color: rgba(0, 174, 239, 0.32);
  background: rgba(0, 174, 239, 0.08);
  color: white;
}

.prize-showcase {
  background: #0d0c24;
  overflow: hidden;
}

.prize-hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 68svh;
  padding: 7rem 0 5rem;
  background-image:
    linear-gradient(90deg, rgba(13, 12, 36, 0.95) 0%, rgba(13, 12, 36, 0.66) 42%, rgba(13, 12, 36, 0.18) 78%, rgba(13, 12, 36, 0.72) 100%),
    linear-gradient(0deg, #0d0c24 0%, rgba(13, 12, 36, 0) 36%),
    url('../Imagens/Cruzeiro_Interior.jpg');
  background-size: cover;
  background-position: center;
}

.prize-hero__copy {
  max-width: 44rem;
}

.prize-inclusions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.prize-inclusions span,
.ship-feature__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prize-inclusions span:first-child,
.ship-feature__facts span:first-child {
  color: var(--alia-yellow);
  border-color: rgba(220, 222, 0, 0.32);
}

.ship-feature,
.route-story {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: #0d0c24;
}

.ship-feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.6rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.maritime-route {
  position: relative;
}

.maritime-map-shell {
  order: 2;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(24rem, 34vw, 29rem);
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(1.25rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 28% 20%, rgba(0, 174, 239, 0.18), transparent 17rem),
    linear-gradient(135deg, rgba(10, 18, 32, 0.96), rgba(13, 12, 36, 0.9));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.maritime-map-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 12, 36, 0.68), transparent 23%, transparent 68%, rgba(13, 12, 36, 0.74)),
    linear-gradient(90deg, rgba(13, 12, 36, 0.48), transparent 28%, transparent 72%, rgba(13, 12, 36, 0.42));
}

.maritime-map-shell::after {
  content: '';
  position: absolute;
  inset: 1rem;
  z-index: 451;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  pointer-events: none;
}

.maritime-route-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 100%;
  background: #09101d;
  scroll-margin-top: 6rem;
}

.maritime-map-shell__topline {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 470;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 11, 19, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.maritime-map-summary {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 470;
  display: grid;
  gap: 0.25rem;
  min-width: 16rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  background: rgba(8, 11, 19, 0.78);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.maritime-map-summary span,
.maritime-map-summary small {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.maritime-map-summary span {
  color: var(--alia-cyan);
}

.maritime-map-summary strong {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.maritime-map-summary small {
  color: rgba(255, 255, 255, 0.58);
}

.maritime-map-shell__topline span {
  color: var(--alia-cyan);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.maritime-map-shell__topline span {
  padding-right: 0.65rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.maritime-map-shell__topline strong {
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
}

.maritime-route-legend {
  position: absolute;
  left: 1.5rem;
  right: 9rem;
  bottom: 1.5rem;
  z-index: 470;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  max-width: calc(100% - 16rem);
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(0, 174, 239, 0.22);
  border-radius: 999px;
  background: rgba(5, 8, 18, 0.68);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.maritime-route-legend span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.maritime-route-legend span:nth-of-type(2) {
  color: white;
}

.maritime-route-legend i {
  display: block;
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 223, 255, 0.2), rgba(95, 223, 255, 0.86));
}

.maritime-marker-anchor {
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  background: transparent !important;
}

.maritime-city-label {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: white;
  background: transparent !important;
  box-shadow: none !important;
}

.maritime-city-label::before {
  display: none;
}

.maritime-city-label__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  width: max-content;
  min-width: 0;
  padding: 0.64rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 11, 19, 0.88);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.maritime-city-label__inner span {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.42rem;
  border: 1px solid rgba(220, 222, 0, 0.22);
  border-radius: 999px;
  color: var(--alia-yellow);
  background: rgba(220, 222, 0, 0.08);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.maritime-city-label__inner strong {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.1;
  white-space: nowrap;
}

.maritime-direction-icon {
  background: transparent;
  border: 0;
}

.maritime-direction-chevron {
  display: block;
  width: 1.35rem;
  height: 0.55rem;
  opacity: var(--route-alpha, 0.55);
  background: linear-gradient(90deg, transparent 0%, rgba(95, 223, 255, 0.92) 42%, rgba(95, 223, 255, 0.18) 100%);
  clip-path: polygon(0 32%, 60% 32%, 60% 0, 100% 50%, 60% 100%, 60% 68%, 0 68%);
  filter: drop-shadow(0 0 8px rgba(95, 223, 255, 0.5));
  transform: rotate(var(--route-angle, 0deg));
  transform-origin: center;
}

.maritime-route-runner {
  position: relative;
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: #5fdfff;
  box-shadow:
    0 0 18px rgba(95, 223, 255, 0.55),
    0 0 34px rgba(95, 223, 255, 0.22);
}

.maritime-route-runner::after {
  content: '';
  position: absolute;
  inset: -0.35rem;
  border: 1px solid rgba(95, 223, 255, 0.22);
  border-radius: inherit;
  animation: maritimeRunnerBreath 3.8s ease-in-out infinite;
}

@keyframes maritimeRunnerBreath {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 0.6; transform: scale(1.18); }
}

.maritime-map-shell .leaflet-control-zoom {
  display: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(8, 11, 19, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  opacity: 0.72;
  transform: scale(0.92);
  transform-origin: top left;
}

.maritime-map-shell .leaflet-control-zoom a {
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  color: white;
  background: transparent;
  line-height: 2.1rem;
}

.maritime-map-shell .leaflet-control-zoom a:hover {
  color: var(--alia-cyan);
  background: rgba(0, 174, 239, 0.12);
}

.maritime-map-shell .leaflet-control-attribution {
  margin: 0 0.75rem 0.6rem 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.54);
  background: rgba(8, 11, 19, 0.64);
  backdrop-filter: blur(12px);
  opacity: 0.6;
  font-size: 0.58rem;
}

.maritime-map-shell .leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.74);
}

.ship-feature__copy {
  order: 1;
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 0.85rem;
  align-items: end;
  max-width: none;
}

.ship-feature__copy .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.ship-feature__copy h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.1rem, 3.1vw, 3.35rem);
}

.ship-feature__copy p {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.ship-feature__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  grid-column: 2;
  margin-top: 0.35rem;
  max-width: 36rem;
}

.ship-feature__facts span {
  justify-content: center;
  min-height: 3.25rem;
  text-align: center;
}

.route-story {
  padding-top: clamp(2.5rem, 4vw, 4rem);
}

.route-story__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.route-story__header p {
  max-width: 30rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
}

.route-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.route-timeline::before {
  display: none;
}

.route-stop {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0;
}

.route-stop--reverse {
  grid-template-columns: none;
}

.route-stop--reverse figure {
  order: 0;
}

.route-stop figure,
.route-stop > div {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.route-stop > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 13.5rem;
  padding: clamp(1.15rem, 2vw, 1.45rem);
}

.route-stop figure {
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.route-stop figure + div {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.route-stop span {
  margin-bottom: 0.65rem;
  color: var(--alia-yellow);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-stop h4 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}

.route-stop p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.cruzeiro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 8, 26, 0.96) 0%, rgba(8, 12, 38, 0.82) 46%, rgba(8, 12, 38, 0.42) 100%),
    url('../Imagens/Cruzeiro_Fundo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.88;
  transform: scale(1.02);
}

.cruzeiro-agenda {
  min-height: auto;
  padding: clamp(5rem, 8vw, 7rem) 0;
  isolation: isolate;
}

.cruzeiro-agenda__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 8, 26, 0.92) 0%, rgba(5, 8, 26, 0.18) 45%, rgba(5, 8, 26, 0.95) 100%),
    linear-gradient(90deg, rgba(0, 174, 239, 0.12), transparent 42%);
  pointer-events: none;
}

.cruzeiro-agenda__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  width: min(100%, 72rem);
  min-height: clamp(20rem, 34vw, 28rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgba(8, 12, 38, 0.88), rgba(10, 28, 48, 0.68)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.cruzeiro-agenda__panel::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(0, 174, 239, 0.14);
  border-radius: 1.25rem;
  pointer-events: none;
}

.cruzeiro-agenda__panel::after {
  content: '';
  position: absolute;
  left: clamp(2rem, 5vw, 4rem);
  right: clamp(2rem, 5vw, 4rem);
  bottom: clamp(1.35rem, 3vw, 2.25rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 222, 0, 0.58), rgba(0, 174, 239, 0.45), transparent);
  pointer-events: none;
}

.cruzeiro-agenda__date {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: clamp(13rem, 22vw, 18rem);
  padding: 1.5rem;
  color: var(--alia-yellow);
  border: 1px solid rgba(220, 222, 0, 0.22);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(220, 222, 0, 0.13), rgba(0, 174, 239, 0.08)),
    rgba(2, 6, 23, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cruzeiro-agenda__date span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 13vw, 9rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
}

.cruzeiro-agenda__date strong,
.cruzeiro-agenda__date em {
  display: block;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.cruzeiro-agenda__date strong {
  margin-top: 0.8rem;
  color: #ffffff;
}

.cruzeiro-agenda__date em {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.56);
}

.cruzeiro-agenda__content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.cruzeiro-agenda__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--alia-yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.cruzeiro-agenda__kicker::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.cruzeiro-agenda__content h2 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 6vw, 5.85rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.cruzeiro-agenda__content p {
  max-width: 42rem;
  margin-top: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.6;
}

.cruzeiro-agenda__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

.cruzeiro-agenda__route span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.72rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.cruzeiro-agenda__route i {
  width: clamp(1.5rem, 3vw, 2.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--alia-yellow), var(--alia-cyan));
  opacity: 0.72;
}

@media (max-width: 767px) {
  .cruzeiro-agenda {
    padding: 4rem 0;
  }

  .cruzeiro-bg {
    background-position: 60% center;
    opacity: 0.58;
  }

  .cruzeiro-agenda__panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .cruzeiro-agenda__panel::before {
    inset: 0.6rem;
    border-radius: 0.9rem;
  }

  .cruzeiro-agenda__panel::after {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.1rem;
  }

  .cruzeiro-agenda__date {
    min-height: 10rem;
    align-content: center;
    justify-items: start;
    padding: 1.25rem;
  }

  .cruzeiro-agenda__date span {
    font-size: clamp(4.6rem, 24vw, 6.2rem);
  }

  .cruzeiro-agenda__content {
    padding: 0 0.4rem 2.6rem;
  }

  .cruzeiro-agenda__content h2 {
    max-width: 11ch;
    font-size: clamp(2.4rem, 13vw, 3.8rem);
  }

  .cruzeiro-agenda__content p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .cruzeiro-agenda__route {
    gap: 0.5rem;
    margin-top: 1.25rem;
  }

  .cruzeiro-agenda__route span {
    min-height: 2.25rem;
    padding: 0.62rem 0.78rem;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .cruzeiro-agenda__route i {
    flex: 0 0 1.1rem;
  }
}


/* ============================================
   TIMELINE CARDS — Itinerary section
   ============================================ */

/* Image panels with zoom-on-hover */


/* Photo zoom on hover */


/* Campaign progress bar animated gradient */
@keyframes progressShine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

#campaignProgressBar {
  background-size: 200% 100%;
  animation: progressShine 3s linear infinite;
}


/* ============================================
   ACCORDION — Premium open/close
   ============================================ */

.accordion-item {
  transition:
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.accordion-item:hover {
  border-color: rgba(0, 174, 239, 0.15);
}

.accordion-item.active {
  box-shadow: 0 8px 32px rgba(48, 39, 124, 0.08);
  border-color: rgba(48, 39, 124, 0.1);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.accordion-header span:last-child {
  transition: transform 0.4s var(--ease-spring);
}

.accordion-item.active .accordion-header span:last-child {
  transform: rotate(180deg);
}


/* ============================================
   CTA BUTTONS — Premium interactions
   ============================================ */

/* Primary CTA glow */
a[href="#como-funciona"] {
  position: relative;
  overflow: hidden;
}

a[href="#como-funciona"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

a[href="#como-funciona"]:hover::before {
  width: 300px;
  height: 300px;
}

/* Back to top reveal */
#backToTop.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* ============================================
   RANKING TABLE — Row animations
   ============================================ */

.ranking-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ranking-rule {
  position: relative;
  min-height: 7.6rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.045);
}

.ranking-rule::after {
  content: '';
  position: absolute;
  right: -1.8rem;
  bottom: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  opacity: 0.16;
  background: currentColor;
  filter: blur(18px);
}

.ranking-rule span,
.ranking-result-badge {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ranking-rule span {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.54);
}

.ranking-rule strong {
  display: block;
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.75vw, 1.7rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.ranking-rule p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.ranking-rule--direct {
  color: var(--alia-yellow);
  border-color: rgba(220, 222, 0, 0.26);
  background: rgba(220, 222, 0, 0.075);
}

.ranking-rule--watch {
  color: rgba(255, 255, 255, 0.7);
}

.ranking-rule--raffle {
  color: var(--alia-cyan);
  border-color: rgba(0, 174, 239, 0.25);
  background: rgba(0, 174, 239, 0.06);
}

.ranking-result-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 0.34rem 0.52rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  line-height: 1;
}

.ranking-result-badge--direct {
  color: var(--alia-yellow);
  background: rgba(220, 222, 0, 0.08);
}

.ranking-result-badge--watch {
  color: var(--alia-cyan);
  background: rgba(0, 174, 239, 0.07);
}

.ranking-note {
  max-width: 58rem;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(220, 222, 0, 0.22);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(220, 222, 0, 0.08), rgba(0, 174, 239, 0.045)),
    rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.ranking-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--alia-yellow);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.ranking-note p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.58;
}

#rankingTable {
  color: white;
}

#rankingTable thead tr {
  background: rgba(255, 255, 255, 0.07);
}

#rankingTable thead th {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.25;
}

.ranking-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  transition:
    background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.ranking-row:hover {
  background-color: rgba(255, 255, 255, 0.055);
}

.ranking-row--leader {
  border-left: 8px solid var(--alia-yellow);
  background: rgba(220, 222, 0, 0.1);
}

.ranking-row--direct {
  border-left: 4px solid rgba(220, 222, 0, 0.58);
  background: rgba(220, 222, 0, 0.045);
}

.ranking-row--draw {
  border-left: 4px solid rgba(0, 174, 239, 0.44);
  background: rgba(0, 174, 239, 0.035);
}

.ranking-position,
.ranking-score {
  display: inline-block;
  color: var(--alia-yellow);
  font-family: var(--font-heading);
  line-height: 1;
}

.ranking-position {
  font-size: 1.25rem;
  font-weight: 900;
}

.ranking-score {
  font-size: 1.875rem;
  font-weight: 900;
}

.ranking-name {
  display: inline-block;
  color: white;
  font-size: 0.8rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.ranking-row--leader .ranking-name {
  color: var(--alia-yellow);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.ranking-row--draw .ranking-position,
.ranking-row--draw .ranking-score {
  color: rgba(0, 174, 239, 0.92);
}

.ranking-row--draw .ranking-position {
  font-size: 0.95rem;
}

.ranking-row--draw .ranking-name {
  color: rgba(255, 255, 255, 0.84);
}

.ranking-score-label {
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: 0.08em;
}

.ranking-bar {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
}

.ranking-bar-fill {
  background: linear-gradient(90deg, var(--alia-yellow), rgba(220, 222, 0, 0.62));
}

.ranking-row--draw .ranking-bar-fill {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(0, 174, 239, 0.72));
}

/* Row entrance stagger */
#rankingBody tr {
  opacity: 0;
  transform: translateY(12px);
  animation: rankRowIn 0.4s var(--ease-out) forwards;
}

@keyframes rankRowIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger delays for first 20 rows */
#rankingBody tr:nth-child(1)  { animation-delay: 0.02s; }
#rankingBody tr:nth-child(2)  { animation-delay: 0.04s; }
#rankingBody tr:nth-child(3)  { animation-delay: 0.06s; }
#rankingBody tr:nth-child(4)  { animation-delay: 0.08s; }
#rankingBody tr:nth-child(5)  { animation-delay: 0.10s; }
#rankingBody tr:nth-child(6)  { animation-delay: 0.12s; }
#rankingBody tr:nth-child(7)  { animation-delay: 0.14s; }
#rankingBody tr:nth-child(8)  { animation-delay: 0.16s; }
#rankingBody tr:nth-child(9)  { animation-delay: 0.18s; }
#rankingBody tr:nth-child(10) { animation-delay: 0.20s; }
#rankingBody tr:nth-child(11) { animation-delay: 0.22s; }
#rankingBody tr:nth-child(12) { animation-delay: 0.24s; }
#rankingBody tr:nth-child(13) { animation-delay: 0.26s; }
#rankingBody tr:nth-child(14) { animation-delay: 0.28s; }
#rankingBody tr:nth-child(15) { animation-delay: 0.30s; }
#rankingBody tr:nth-child(16) { animation-delay: 0.32s; }
#rankingBody tr:nth-child(17) { animation-delay: 0.34s; }
#rankingBody tr:nth-child(18) { animation-delay: 0.36s; }
#rankingBody tr:nth-child(19) { animation-delay: 0.38s; }
#rankingBody tr:nth-child(20) { animation-delay: 0.40s; }

/* ============================================
   HEADER — Scroll state transitions
   ============================================ */

header {
  transition:
    background-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    padding 0.4s var(--ease-out);
}

#header {
  background: rgba(11, 9, 20, 0.92);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

#header.is-scrolled {
  background: rgba(11, 9, 20, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Nav links hover underline effect */
nav a:not([class*="bg-alia"]) {
  position: relative;
}

nav a:not([class*="bg-alia"])::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--alia-cyan);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}

nav a:not([class*="bg-alia"]):hover::after {
  width: 100%;
  left: 0;
}


/* ============================================
   FOOTER — Subtle entrance
   ============================================ */

footer {
  opacity: 1;
}

footer a {
  transition: color 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

footer a:hover {
  transform: translateX(2px);
}


/* ============================================
   MENU MOTION
   ============================================ */

.animate-fade-in {
  animation: menuFadeIn 0.22s var(--ease-out) both;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-shimmer {
  animation: shimmer 3s linear infinite;
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
  /* Reduce animation distances on mobile for performance */
  .reveal {
    transform: translateY(20px);
    transition-duration: 0.6s;
  }

  .reveal-left { transform: translateX(-24px); transition-duration: 0.6s; }
  .reveal-right { transform: translateX(24px); transition-duration: 0.6s; }

  /* Reduce hero zoom intensity */
  .hero::before {
    animation-duration: 35s;
  }

  /* Disable CTA ripple on mobile */
  a[href="#como-funciona"]::before {
    display: none;
  }

  .hero h1 {
    max-width: 22rem;
    font-size: clamp(2.1rem, 9.4vw, 3.2rem);
    line-height: 1.04;
  }

  .hero .inline-flex span:last-child {
    letter-spacing: 0.16em;
  }

  .campaign-countdown {
    padding: 3.75rem 0;
  }

  .campaign-countdown__header {
    text-align: left;
  }

  .campaign-countdown__header .section-kicker {
    justify-content: flex-start;
  }

  .campaign-countdown__grid,
  .countdown-agenda {
    grid-template-columns: 1fr;
  }

  .countdown-card {
    padding: 1.05rem;
    border-radius: 1.2rem;
  }

  .countdown-card__top {
    margin-bottom: 0.9rem;
  }

  .countdown-units {
    gap: 0.4rem;
  }

  .countdown-units div {
    min-height: 4.55rem;
    border-radius: 0.8rem;
  }

  .countdown-units strong {
    font-size: clamp(1.6rem, 10vw, 2.25rem);
  }

  .section-header p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .ranking-rules {
    grid-template-columns: 1fr;
  }

  .ranking-rule {
    min-height: 0;
    padding: 0.9rem;
  }

  .ranking-rule p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .ranking-summary-card {
    padding: 1.35rem !important;
    border-radius: 1.35rem !important;
  }

  .ranking-table-card {
    border-radius: 1.35rem !important;
  }

  #rankingTable {
    min-width: 100%;
    table-layout: fixed;
  }

  #rankingTable th,
  #rankingTable td {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  #rankingTable th:nth-child(1),
  #rankingTable td:nth-child(1) {
    width: 4.1rem;
  }

  #rankingTable th:nth-child(3),
  #rankingTable td:nth-child(3) {
    width: 4.8rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .ranking-result-badge {
    padding: 0.3rem 0.42rem;
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .editorial-section {
    padding: 4rem 0;
  }

  .passport-layout,
  .ship-feature__grid,
  .route-stop,
  .route-stop--reverse {
    grid-template-columns: 1fr;
  }

  .passport-intro {
    position: relative;
    top: auto;
  }

  .editorial-title {
    max-width: 12ch;
    font-size: clamp(2.1rem, 10.5vw, 3.25rem);
  }

  .passport-step {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.1rem 0;
  }

  .passport-step__icon {
    width: 3rem;
    height: 3rem;
    box-shadow: 0 0 0 0.3rem rgba(0, 174, 239, 0.08);
  }

  .passport-step__content {
    min-height: auto;
  }

  .passport-step__metric {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.25rem;
    white-space: normal;
  }

  .victory-editorial {
    min-height: auto;
    padding-top: 15rem;
  }

  .victory-image {
    background-image:
      linear-gradient(180deg, rgba(5, 8, 18, 0.22) 0%, rgba(5, 8, 18, 0.86) 58%, #050812 100%),
      url('../Imagens/grandevitoria.png');
    background-position: top center;
  }

  .victory-split {
    grid-template-columns: 1fr;
  }

  .prize-hero {
    min-height: 68svh;
    padding: 7.5rem 0 4rem;
    background-image:
      linear-gradient(180deg, rgba(13, 12, 36, 0.2) 0%, rgba(13, 12, 36, 0.88) 58%, #0d0c24 100%),
      url('../Imagens/Cruzeiro_Interior.jpg');
  }

  .ship-feature__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .route-story__header {
    display: block;
  }

  .route-story__header p {
    margin-top: 0.85rem;
  }

  .maritime-map-shell {
    height: clamp(23rem, 104vw, 27rem);
    min-height: 0;
    order: 2;
    grid-row: auto;
  }

  .maritime-map-shell__topline {
    top: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
  }

  .maritime-map-summary {
    display: none;
  }

  .maritime-city-label__inner {
    gap: 0.45rem;
    min-width: 0;
    padding: 0.58rem 0.68rem;
  }

  .ship-feature__facts {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
  }

  .maritime-route-legend {
    display: none;
  }

  .maritime-map-shell .leaflet-control-zoom {
    display: none;
  }

  .route-timeline::before {
    display: none;
  }

  .route-timeline {
    grid-template-columns: 1fr;
  }

  .route-stop,
  .route-stop--reverse {
    min-height: auto;
  }

  .route-stop--reverse figure {
    order: 0;
  }

  .route-stop figure {
    min-height: 14rem;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-rail {
    position: relative;
    top: auto;
  }

  .faq-rail__intro h3 {
    max-width: none;
  }

  .faq-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .faq-nav::-webkit-scrollbar {
    display: none;
  }

  .faq-nav a {
    flex: 0 0 auto;
  }

  .faq-question {
    gap: 0.72rem;
  }

  .faq-question__number,
  .faq-question__icon {
    width: 2rem;
    height: 2rem;
  }

  .faq-answer {
    padding-left: 1rem;
  }
}

@media (max-width: 480px) {
  /* Further simplify on small phones */
  .reveal { transition-duration: 0.5s; }
  .hero::before { animation: none; }

  #navLinks {
    max-height: calc(100svh - 4rem);
    overflow-y: auto;
  }

  #backToTop {
    width: 2.75rem;
    height: 2.75rem;
    bottom: 1rem;
    left: 1rem;
  }

  .como-funciona {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .section-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .section-kicker::before {
    width: 1.5rem;
  }

  .passport-step,
  .victory-split > div,
  .maritime-map-shell,
  .route-stop figure,
  .route-stop > div {
    border-radius: 1.15rem;
  }

  .prize-inclusions span,
  .ship-feature__facts span {
    min-height: 2.35rem;
    font-size: 0.62rem;
  }

  .maritime-map-shell {
    height: 24rem;
  }

  .maritime-city-label__inner strong {
    font-size: 1rem;
  }

  .route-stop > div {
    padding: 1.5rem;
  }

  .faq-date-grid {
    grid-template-columns: 1fr;
  }

  .faq-group__header {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   ACCESSIBILITY — Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body { opacity: 1; animation: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
