/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow: #F4B400;
  --blue:   #0034D1;
  --red:    #D10000;
  --dark:   #111111;
  --white:  #ffffff;
  --font-display: 'Chelsea Market', cursive;
  --font-body:    'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ============================================================
   REUSABLE
============================================================ */
.section__label {
  display: block;
  font-family: 'Poppins', var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.5vw, 20px);
  line-height: 100%;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F4B400;
  margin-bottom: 0.5rem;
  backdrop-filter: blur(2px);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-family: 'Poppins', var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 24px);
  line-height: 100%;
  text-align: center;
  letter-spacing: -0.06em;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(2px);
  border: none;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--yellow {
  background: var(--yellow);
  color: #262626;
}

.btn--dark {
  background: #FFFFFF;
  color: var(--yellow);
}

.btn--vote {
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  margin-top: 0.75rem;
  color: var(--white);
}

.btn--red  { background: var(--red); }
.btn--blue { background: var(--blue); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('assets/banner-principal.png') center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(270.03deg, rgba(255, 0, 0, 0.3) 0.03%, rgba(4, 0, 255, 0.3) 99.97%);
}

.hero__bottom-fade {
  position: absolute;
  bottom: 0;
  left: -18px;
  right: -18px;
  height: 255px;
  background: linear-gradient(355.78deg, rgba(161, 132, 117, 0.8) 3.43%, rgba(115, 115, 115, 0) 96.57%);
  pointer-events: none;
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}

.hero__edition {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,220,81,0.5);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.hero__title {
  font-family:  var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 90px);
  line-height: 100%;
  text-align: center;
  letter-spacing: -0.06em;
  color: #FFFFFF;
}

.hero__title span {
  font-family:  var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 90px);
  line-height: 100%;
  text-align: center;
  letter-spacing: -0.06em;
  color: var(--yellow);
}

.hero__desc {
  font-family: 'Poppins', var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 24px);
  line-height: 100%;
  text-align: center;
  letter-spacing: -0.06em;
  color: #E7E7E7;
  padding-top: 1.5rem;
  backdrop-filter: blur(2px);
  margin-bottom: 2rem;
}

/* tribal border strip at the bottom */
.tribal-strip {
  width: 100%;
  height: 60px;
  background-color: #FFFFFF;
  overflow: hidden;
  display: flex;
}

.tribal-strip__img {
  flex: 0 0 auto;
  height: 100%;
}

.tribal-strip__img:nth-child(even) {
  transform: scaleX(-1);
}

/* ============================================================
   HISTORY
============================================================ */
.history {
  padding: 5rem 0 4rem;
  text-align: center;
}

.history__text {
  max-width: 930px;
  margin-inline: auto;
  font-family: 'Poppins', var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 20px);
  line-height: 148%;
  text-align: center;
  color: #696969;
  backdrop-filter: blur(2px);
  margin-bottom: 3rem;
}

.history__cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.history__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #FFFFFF;
  border: 1px solid #E3E3E3;
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  width: 182px;
  height: 174px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.history__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: var(--yellow);
}

.history__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 63px;
  background: #FDF7E5;
  border-radius: 16px;
  color: var(--yellow);
}

.history__card p {
  font-family: 'Poppins', var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 148%;
  text-align: center;
  color: #696969;
}

/* ============================================================
   BANNER DESTAQUE
============================================================ */
.banner-destaque {
  background: var(--yellow);
  padding: 1.1rem 1.5rem;
  text-align: center;
}

.banner-destaque p {
  font-family: 'Chelsea Market', var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 45px);
  line-height: 100%;
  text-align: center;
  letter-spacing: -0.06em;
  color: #FFFFFF;
  max-width: 864px;
  margin-inline: auto;
}

/* ============================================================
   VIAGENS / CARROSSEL
============================================================ */
.viagens {
  padding: 4.5rem 0;
  background: #FFFFFF;
  text-align: center;
}

.viagens__subtitle {
  font-family: 'Poppins', var(--font-body);
  font-weight: 500;
  font-size: clamp(0.9rem, 1.3vw, 18px);
  color: #696969;
  margin-bottom: 2.5rem;
}

.viagens__carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.viagens__carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0;
  flex: 1;
}

.viagens__carousel::-webkit-scrollbar {
  display: none;
}

.viagens__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E3E3E3;
  background: #FFFFFF;
  color: #696969;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 2;
}

.viagens__arrow:hover {
  background: var(--yellow);
  color: #FFFFFF;
  border-color: var(--yellow);
}

.viagem-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border: 1px solid #E3E3E3;
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.viagem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.viagem-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.viagem-card__body {
  padding: 1rem 1.25rem;
}

.viagem-card__route {
  font-family: 'Poppins', var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #262626;
  margin-bottom: 0.4rem;
}

.viagem-card__boat {
  font-family: 'Poppins', var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: #696969;
  margin-bottom: 0.5rem;
}

.viagem-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.viagem-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Poppins', var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #696969;
  background: #F5F5F5;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.viagem-card__price {
  font-family: 'Chelsea Market', var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--yellow);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.viagem-card__cta {
  display: block;
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 10px;
  background: var(--yellow);
  color: #262626;
  font-family: 'Poppins', var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.viagem-card__cta:hover {
  filter: brightness(1.08);
}

.viagens__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.viagens__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E3E3E3;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.viagens__dot--active {
  background: var(--yellow);
}

/* ============================================================
   DISPUTA
============================================================ */
.disputa {
  padding: 4.5rem 0;
  background: #f9f9f9;
}

.disputa .section__title {
  text-align: center;
  margin-bottom: 1rem;
}

.disputa__text {
  max-width: 863px;
  margin-inline: auto;
  font-family: 'Poppins', var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 20px);
  line-height: 148%;
  text-align: center;
  color: #696969;
  backdrop-filter: blur(2px);
  margin-bottom: 2.5rem;
}

.disputa__image-wrap {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-inline: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.disputa__image {
  width: 100%;
  object-fit: cover;
  max-height: 380px;
}

.disputa__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1050px;
  margin-inline: auto;
}

.disputa__card {
  width: 100%;
  max-width: 500px;
  border-radius: 25px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.disputa__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.disputa__card--red { background: #D10000; }
.disputa__card--blue { background: #0034D1; }

.disputa__card-img {
  position: relative;
  width: 100%;
  height: 314px;
  border-radius: 25px 25px 0 0;
  overflow: hidden;
}

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

.disputa__card-img-overlay {
  position: absolute;
  inset: 0;
}

.disputa__card--red .disputa__card-img-overlay {
  background: rgba(213, 1, 1, 0.5);
}

.disputa__card--blue .disputa__card-img-overlay {
  background: rgba(1, 61, 213, 0.5);
}

.disputa__card-inner {
  padding: 1.5rem 1.75rem 2rem;
  color: #FFFFFF;
  text-align: center;
}

.disputa__card-badge {
  display: inline-block;
  padding: 0.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 21px;
  font-family: 'Poppins', var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.disputa__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.disputa__num {
  font-family: 'Chelsea Market', var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 65px);
  line-height: 100%;
  letter-spacing: -0.06em;
  color: #FFFFFF;
}

.disputa__label {
  font-family: 'Chelsea Market', var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 45px);
  line-height: 100%;
  letter-spacing: -0.06em;
  color: #FFFFFF;
}

.disputa__card-desc {
  font-family: 'Poppins', var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.3vw, 17px);
  line-height: 148%;
  text-align: center;
  color: #FFFFFF;
  max-width: 440px;
  margin-inline: auto;
  backdrop-filter: blur(2px);
}

/* ============================================================
   ENQUETE / POLL
============================================================ */
.poll {
  padding: 4.5rem 0;
  background: var(--white);
  text-align: center;
}

.poll__title {
  text-align: center;
  margin-bottom: 0.4rem;
}

.poll__subtitle {
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.poll__battle {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  min-height: 400px;
}

.poll__bar-battle {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}

.poll__bar-red {
  height: 100%;
  background: rgba(209, 0, 0, 0.9);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 50%;
}

.poll__bar-blue {
  height: 100%;
  background: rgba(0, 52, 209, 0.9);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 50%;
}

.poll__battle-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  min-height: 400px;
}

.poll__fighter {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.poll__bull {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  margin-bottom: 1rem;
}

.poll__bull-name {
  font-family: 'Chelsea Market', var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 40px);
  line-height: 100%;
  text-align: center;
  letter-spacing: -0.06em;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.poll__pct {
  font-family: 'Chelsea Market', var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 55px);
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.poll__pct.visible {
  opacity: 1;
}

.poll__vote-btn {
  font-family: 'Poppins', var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 24px);
  line-height: 148%;
  text-align: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  border: none;
  border-radius: 32px;
  padding: 0.5rem 2.5rem;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
}

.poll__vote-btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.poll__vote-btn.voted {
  opacity: 0.5;
  pointer-events: none;
  transform: scale(0.9);
}

.poll__vote-btn.chosen {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  pointer-events: none;
}

.poll__vs {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #F4B400;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', var(--font-body);
  font-weight: 500;
  font-size: 26px;
  color: #FFFFFF;
  z-index: 2;
}

.poll__share {
  margin-top: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.poll__share.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   CTA FINAL
============================================================ */
.cta-final {
  background: var(--yellow);
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-final__inner {
  max-width: 700px;
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-final__text {
  color: #FFFFFF;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ============================================================
   MODAL RESULTADO
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.modal__close:hover {
  color: #333;
}

.modal__title {
  font-family: 'Chelsea Market', var(--font-display);
  font-size: 24px;
  color: #262626;
  margin-bottom: 0.25rem;
}

.modal__subtitle {
  font-family: 'Poppins', var(--font-body);
  font-size: 14px;
  color: #696969;
  margin-bottom: 1.25rem;
}

.modal__preview {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.modal__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.modal__btn--whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.modal__btn--download {
  background: var(--yellow);
  color: #262626;
}

.modal__btn--close {
  background: transparent;
  color: #999;
  font-weight: 500;
}

.modal__btn--close:hover {
  color: #333;
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__content {
  animation: fadeInUp 0.9s ease both;
}

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .disputa__cards {
    grid-template-columns: 1fr;
  }

  .poll__bull {
    width: 110px;
    height: 110px;
  }

  .poll__vs {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .viagem-card {
    flex: 0 0 260px;
  }

  .history__cards {
    gap: 0.85rem;
  }

  .history__card {
    width: 130px;
    padding: 1.2rem 1rem;
  }
}

@media (max-width: 480px) {
  .viagem-card {
    flex: 0 0 85%;
  }

  .viagens__arrow {
    display: none;
  }

  .poll__battle {
    min-height: 300px;
    border-radius: 16px;
  }

  .poll__battle-content {
    padding: 1.5rem 0.75rem;
    min-height: 300px;
  }

  .poll__bull {
    width: 80px;
    height: 80px;
    border-width: 2px;
  }

  .poll__bull-name {
    font-size: clamp(0.9rem, 4.5vw, 1.3rem);
  }

  .poll__pct {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .poll__vote-btn {
    font-size: 14px;
    padding: 0.4rem 1.2rem;
  }

  .poll__vs {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .disputa__num {
    font-size: 2.8rem;
  }

  .history__cards {
    justify-content: center;
  }
}
