:root {
  --navy: #2b3a8c;
  --navy-deep: #1d2c5e;
  --navy-mid: #3645a8;
  --cyan: #00e8f5;
  --cream: #f7f4eb;
  --cream-soft: #faf7f2;
  --orange: #f39200;
  --ink: #2b3a8c;
  --muted: #6a6862;
  --percurso-panel: #b8b8ac;
  --white: #ffffff;
  --bg-azul-url: url(assets/bg-azul.jpg);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Saira", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.display {
  font-family: "Saira Condensed", "Barlow Condensed", sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ---------- HEADER ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream-soft);
  padding: 18px clamp(16px, 4.5vw, 56px) 18px;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  overflow: visible;
  line-height: 0;
}

.brand img {
  height: clamp(64px, 7.5vw, 88px);
  width: auto;
  object-fit: contain;
  object-position: left center;
  overflow: visible;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 3.8vw, 56px);
  font-family: "Bebas Neue", "Oswald", "Barlow Condensed", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: 0.08em;
  color: var(--navy-deep);
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: opacity 0.2s;
}

.nav a:hover,
.nav a.active {
  opacity: 0.72;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--navy-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 30px;
  font-family: "Bebas Neue", "Oswald", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  line-height: 1;
}

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

/* ---------- SHARED CTA ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 42px;
  font-family: "Bebas Neue", "Oswald", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s;
  line-height: 1;
}

.btn-pill--light {
  background: var(--cream-soft);
  color: var(--navy);
}

.btn-pill--light:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ---------- HERO ---------- */
.hero {
  background: var(--cream);
  padding: 8px clamp(18px, 3.5vw, 48px) 0;
  line-height: 0;
}

.hero img {
  width: 100%;
  height: auto;
}

/* ---------- DATE BAR ---------- */
.date-bar {
  background: var(--cream);
  padding: 0;
  line-height: 0;
}

.date-bar__img {
  width: 100%;
  height: auto;
  display: block;
}

.date-bar__row {
  display: none;
}

/* ---------- PRÉ-VENDA ---------- */
.pre-venda {
  position: relative;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.pre-venda__art {
  width: 100%;
  height: auto;
}

.pre-venda__hotspot {
  position: absolute;
  left: 70.5%;
  top: 52.7%;
  width: 30%;
  height: 26%;
  min-height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

@media (hover: hover) {
  .pre-venda__hotspot:hover {
    transform: translate(-50%, calc(-50% - 2px)) scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.12);
  }
}

.pre-venda__hotspot:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  transform: translate(-50%, calc(-50% - 2px)) scale(1.04);
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--cream);
  padding: clamp(28px, 4vw, 48px) clamp(12px, 2.5vw, 28px);
}

.about__frame {
  position: relative;
  line-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 100%;
}

.about__art {
  width: 100%;
  height: auto;
}

.about__copy {
  position: static;
  width: 100%;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(22px, 3vw, 36px) clamp(18px, 2.8vw, 40px);
  line-height: 1.55;
  background-color: var(--navy);
  background-image: var(--bg-azul-url);
  background-size: cover;
  background-position: center;
}

.about__copy p {
  font-family: "Saira", sans-serif;
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 500;
  overflow-wrap: break-word;
}

.about__copy strong {
  font-weight: 700;
}

/* ---------- COUNTDOWN ---------- */
.countdown {
  background: var(--cream);
  padding: clamp(56px, 8vw, 100px) 24px clamp(64px, 9vw, 110px);
  text-align: center;
}

.countdown__title {
  font-family: "Oswald", "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.countdown__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 5vw, 64px);
  flex-wrap: nowrap;
  max-width: 100%;
}

.cd-unit {
  min-width: 0;
  flex: 1 1 0;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-unit__value {
  font-family: "M PLUS Rounded 1c", "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 11.5vw, 132px);
  line-height: 0.82;
  color: var(--navy);
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: inline-block;
  transform: scaleX(0.82);
  transform-origin: center;
}

.cd-unit__label {
  font-family: "Barlow Condensed", "Oswald", sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 10px;
  line-height: 1;
}

.cd-sep {
  width: 1.5px;
  height: clamp(78px, 11vw, 130px);
  align-self: center;
  margin-bottom: clamp(22px, 2.5vw, 32px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    #e5a14d 14%,
    #e18e34 50%,
    #e5a14d 86%,
    transparent 100%
  );
  opacity: 0.95;
}

/* ---------- GALLERY ---------- */
.gallery {
  background-color: var(--navy);
  background-image: var(--bg-azul-url);
  background-size: cover;
  background-position: center;
}

.gallery__banner {
  padding: clamp(22px, 3vw, 36px) 24px;
  text-align: center;
}

.gallery__banner p {
  font-family: "Bebas Neue", "Oswald", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2.4vw, 30px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 1100px;
  margin: 0 auto;
  overflow-wrap: break-word;
}

.gallery__collage {
  line-height: 0;
  background: var(--navy-deep);
}

.gallery__collage img {
  width: 100%;
  height: auto;
}

.gallery__cta {
  display: flex;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px) 24px;
}

/* ---------- PERCURSO ---------- */
.percurso {
  background: var(--cream);
  padding: clamp(40px, 5vw, 72px) clamp(16px, 3.5vw, 40px) clamp(48px, 6vw, 80px);
  text-align: center;
}

.percurso__frame {
  max-width: 1180px;
  margin: 0 auto;
  background: #e0dfd5;
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 36px) clamp(24px, 3vw, 40px);
}

.percurso__title {
  font-family: "Oswald", "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  color: #3a4b8c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 clamp(22px, 3vw, 36px);
}

.percurso__panel {
  background: #bdbdb3;
  min-height: clamp(240px, 34vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.percurso__panel span {
  font-family: "Barlow Condensed", "Oswald", sans-serif;
  font-weight: 100;
  font-size: clamp(36px, 7vw, 72px);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}

/* ---------- INFO ---------- */
.section-info {
  background: var(--cream);
  padding: 0 clamp(12px, 2.5vw, 28px) clamp(40px, 5vw, 64px);
}

.info-wrap {
  background-color: var(--navy-mid);
  background-image: var(--bg-azul-url);
  background-size: cover;
  background-position: center;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px);
  text-align: center;
}

.info-title {
  font-family: "Bebas Neue", "Oswald", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 52px);
  color: var(--cream-soft);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  overflow-wrap: break-word;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.info-item {
  width: 100%;
  background: var(--cream-soft);
  border-radius: 999px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-family: "Bebas Neue", "Oswald", "Saira Condensed", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(16px, 1.5vw, 20px);
  text-align: left;
  transition: transform 0.15s, box-shadow 0.15s;
}

.info-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.info-item .chev {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--navy);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.info-item.open .chev {
  transform: rotate(-180deg);
}

.info-panel {
  grid-column: 1 / -1;
  background: var(--cream-soft);
  border-radius: 20px;
  padding: 24px 28px;
  text-align: left;
  color: var(--navy-deep);
  font-family: "Saira", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  display: none;
}

.info-panel.open {
  display: block;
  animation: fadeIn 0.25s ease;
}

.info-panel h4 {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.info-panel p {
  margin: 6px 0;
}

.info-cta {
  margin-top: 36px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- PARTNERS ---------- */
.partners {
  background: var(--cream);
  padding: 0;
  line-height: 0;
}

.partners__art {
  width: 100%;
  height: auto;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
  }

  .brand {
    grid-area: brand;
  }

  .nav-cta {
    grid-area: cta;
    justify-self: end;
  }

  .nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 20px 24px;
    font-size: 22px;
    min-width: 0;
  }

  .brand img {
    height: 68px;
  }

  .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .date-bar__img {
    display: none;
  }

  .date-bar__row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 22px 16px;
    text-align: center;
    font-family: "Bebas Neue", "Oswald", sans-serif;
    font-size: clamp(16px, 4.6vw, 26px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-deep);
    line-height: 1.15;
  }

  .date-bar__row span {
    white-space: nowrap;
  }

  .date-bar__row i {
    font-style: normal;
    margin: 0 0.15em;
    opacity: 0.85;
  }

  .date-bar__star {
    color: var(--orange);
    font-size: 0.65em;
    line-height: 1;
  }

  .pre-venda__hotspot {
    width: 32%;
    height: 34%;
    min-height: 48px;
  }

  .about__copy p {
    font-size: 15px;
  }

  .gallery__banner p {
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .cd-sep {
    height: 48px;
    margin-bottom: 14px;
  }

  .countdown {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cd-unit__value {
    font-size: clamp(36px, 12vw, 52px);
  }

  .cd-unit__label {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    font-size: 12px;
  }

  .btn-pill {
    padding: 14px 28px;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 12px 16px;
    font-size: 16px;
  }

  .nav-cta {
    padding: 11px 16px;
    font-size: 15px;
  }

  .brand img {
    height: 52px;
  }

  .date-bar__row {
    flex-direction: column;
    gap: 8px;
  }

  .date-bar__star {
    display: none;
  }

  .about,
  .section-info {
    padding-left: 0;
    padding-right: 0;
  }

  .pre-venda__hotspot {
    width: 34%;
    height: 38%;
    min-height: 48px;
  }

  .gallery__collage img {
    min-height: 180px;
    object-fit: cover;
  }

  .percurso__panel span {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    font-size: clamp(28px, 9vw, 40px);
  }

  .percurso__frame {
    padding: 24px 14px 18px;
  }

  .btn-pill {
    padding: 12px 22px;
    font-size: 16px;
  }
}
