@font-face {
  font-family: "Noway";
  font-weight: 400;
  font-display: swap;
  src:
    local("Noway Regular"),
    local("Noway-Regular"),
    url("../fonts/Noway-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Noway";
  font-weight: 500;
  font-display: swap;
  src:
    local("Noway Medium"),
    local("Noway-Medium"),
    url("../fonts/Noway-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Noway";
  font-weight: 700;
  font-display: swap;
  src:
    local("Noway Bold"),
    local("Noway-Bold"),
    url("../fonts/Noway-Bold.woff2") format("woff2");
}

:root {
  --font: "Noway", "Barlow", Arial, sans-serif;
  --container: 1180px;
  --gutter: 20px;

  --off-white: #fffafa;
  --ink: #2d3c44;
  --sobre-bg: #17353b;
  --footer-bg: #133146;

  --roxo-escuro: #3a2851;
  --roxo: #806790;
  --verde-escuro: #29704f;
  --lima: #aecc4f;
  --lima-btn: #a3cf5f;

  --accent: var(--roxo);
  --title-color: var(--roxo-escuro);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: #fff;
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
strong,
b {
  font-weight: 500;
}

/* ---------------- TOPO ---------------- */
.topo {
  background: #154446;
}
.topo__arte,
.topo picture img {
  width: 100%;
}
.topo__faixa {
  padding: 4px var(--gutter) clamp(40px, 4.5vw, 72px);
  /* continuação exata da arte (mesma largura, mesmo grão) */
  background: #124242 url("../img/bg-faixa.jpg?v=20261019c") center top / 100% 100% no-repeat;
  text-align: center;
}
.topo__frase {
  font-size: clamp(19px, 1.7vw, 30px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topo__ornamento {
  width: clamp(250px, 24vw, 440px);
  margin: clamp(12px, 1.2vw, 20px) auto 0;
}
.beneficios {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 40px);
  margin: clamp(12px, 1.2vw, 18px) 0 0;
  padding: 0;
  list-style: none;
}
.beneficios li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.beneficios img {
  width: auto;
  height: clamp(46px, 3.6vw, 62px);
}
.beneficios span {
  font-size: clamp(12px, 0.85vw, 14px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.beneficios b {
  font-weight: 700;
}
.topo__cta {
  display: none;
  margin: 22px auto 0;
  padding: 13px 34px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8d27a, #e9b44c);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  color: #1d3340;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s, filter 0.2s;
}
.topo__cta:hover,
.topo__cta:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
html {
  scroll-behavior: smooth;
}

/* ---------------- SOBRE ---------------- */
.sobre {
  display: grid;
  grid-template-columns: 55fr 45fr;
  background: var(--sobre-bg);
}
.sobre__text {
  align-self: center;
  max-width: 640px;
  margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding: clamp(44px, 4.5vw, 64px) 32px clamp(44px, 4.5vw, 64px) 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}
.sobre__text h1 {
  margin-bottom: 24px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
}
.sobre__text p + p {
  margin-top: 1.4em;
}
.sobre__media {
  position: relative;
  min-height: 320px;
}
.sobre__media .sobre__estrela {
  position: absolute;
  z-index: 1;
  inset: auto;
  top: 15%;
  left: calc(clamp(64px, 6vw, 96px) / -2);
  width: clamp(64px, 6vw, 96px);
  height: auto;
  object-fit: contain;
}
.sobre__media img:not(.sobre__estrela) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- OFERTAS ---------------- */
.ofertas {
  padding: clamp(48px, 5vw, 72px) var(--gutter) clamp(56px, 6vw, 88px);
  background: var(--off-white);
  color: var(--ink);
  text-align: center;
}
.ofertas--lagos {
  --accent: var(--lima);
  --title-color: var(--verde-escuro);
}

.ofertas__title {
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.4;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--title-color);
}
.ofertas__title b {
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
  gap: 24px;
  max-width: var(--container);
  margin: clamp(28px, 3.5vw, 48px) auto 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 22px 28px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 26px;
  overflow: hidden;
}

.card__img {
  width: 100%;
  aspect-ratio: 299 / 219;
  object-fit: cover;
  border-radius: 24px;
}
.card__tag {
  width: 100%;
  margin-top: 20px;
  padding: 3px 6px 2px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.card__title {
  margin-top: 18px;
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}
.card__desc {
  margin: 8px 0 22px;
  font-size: 13.5px;
  line-height: 1.4;
}

.btn {
  margin-top: auto;
  min-width: 170px;
  padding: 7px 24px 5px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.ofertas--lagos .card:first-child .btn {
  background: var(--lima-btn);
}
.btn:hover,
.btn:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.datas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 20px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0s 0.25s;
}
.card.is-open .datas {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.datas__title {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}
.datas__sub {
  margin-top: 2px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.datas__list {
  flex: 1;
  width: 100%;
  margin: 14px 0 14px;
  padding: 0 4px;
  list-style: none;
  overflow-y: auto;
  scrollbar-width: thin;
  mask-image: linear-gradient(#000 85%, transparent);
}
.datas__list li {
  margin: 0 auto 6px;
  max-width: 220px;
}
.datas__list a {
  display: block;
  padding: 6px 10px 5px;
  text-decoration: none;
  transition: filter .2s;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.datas__list a:hover,
.datas__list a:focus-visible {
  filter: brightness(1.12);
}
.datas__list li:last-child {
  margin-bottom: 18px;
}
.datas__close {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------------- AÉREO ---------------- */
.aereo {
  height: clamp(200px, 25vw, 483px);
  background: url("../img/aereo.jpg") center / cover no-repeat;
}

/* ---------------- DESTINO ---------------- */
.destino {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 0 clamp(56px, 6vw, 88px);
  background: #1f5953 url("../img/bg-destino.jpg") center / cover no-repeat;
  text-align: center;
}
.destino__text {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.45;
}
.destino__text h2 {
  margin-bottom: 26px;
  font-size: clamp(21px, 2.1vw, 31px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}
.destino__text p + p {
  margin-top: 1.2em;
}

.estrela {
  position: absolute;
  width: clamp(44px, 5.5vw, 92px);
}
.estrela--1 {
  top: 18px;
  left: 6.5%;
  transform: rotate(180deg);
}
.estrela--2 {
  top: 40%;
  right: 8%;
}

.galeria {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: clamp(40px, 5vw, 72px);
}
.galeria img {
  flex: none;
  width: clamp(240px, 23.5vw, 330px);
  aspect-ratio: 452 / 429;
  object-fit: cover;
  border-radius: 36px;
}

/* ---------------- RODAPÉ ---------------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 64px var(--gutter);
  background: var(--footer-bg);
}
.footer__logo {
  width: 220px;
}
.footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  font-size: 20px;
  line-height: 1;
}
.footer__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__item strong {
  font-weight: 500;
}
.footer__social {
  gap: 6px;
}
.footer__social + .footer__item {
  margin-left: 14px;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  transition: opacity 0.2s;
}
.icon svg {
  width: 62%;
  height: 62%;
  fill: var(--footer-bg);
}
.footer a:hover {
  opacity: 0.85;
}
.footer__regulamento {
  padding: 9px 26px 7px;
  border: 1.5px solid #fff;
  border-radius: 999px;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.footer__regulamento:hover,
.footer__regulamento:focus-visible {
  background: #fff;
  color: var(--footer-bg);
}

/* ---------------- REGULAMENTO (MODAL) ---------------- */
.modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--off-white);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.modal::backdrop {
  background: rgba(10, 25, 35, 0.7);
}
.modal[open] {
  animation: modal-in 0.2s ease-out;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.modal__box {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px 32px;
  border-bottom: 1px solid rgba(45, 60, 68, 0.15);
}
.modal__title {
  margin: 0;
  color: var(--roxo-escuro);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
}
.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(45, 60, 68, 0.08);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.modal__close:hover,
.modal__close:focus-visible {
  background: rgba(45, 60, 68, 0.16);
}
.modal__body {
  padding: 20px 32px 32px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.55;
}
.modal__intro {
  margin: 0 0 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(128, 103, 144, 0.1);
}
.modal__body h3 {
  margin: 22px 0 8px;
  color: var(--roxo-escuro);
  font-size: 18px;
  font-weight: 700;
}
.modal__body p {
  margin: 0 0 8px;
}
.modal__body ul,
.modal__body ol {
  margin: 0;
  padding-left: 22px;
}
.modal__body li + li {
  margin-top: 6px;
}

@media (max-width: 1023px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .card {
    padding: 16px 14px 22px;
  }
  .card__tag {
    font-size: 12.5px;
    letter-spacing: 0.05em;
  }
  .sobre {
    grid-template-columns: 1fr 1fr;
  }
  .sobre__text {
    padding-right: 24px;
  }
}

@media (max-width: 767px) {
  .sobre {
    grid-template-columns: 1fr;
  }
  .sobre__text {
    max-width: none;
    margin: 0;
    padding: 48px var(--gutter);
  }
  .sobre__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .sobre__media .sobre__estrela {
    top: -30px;
    left: auto;
    right: 18px;
    width: 56px;
  }
  .topo__frase {
    font-size: 16px;
    letter-spacing: 0.02em;
  }
  .topo__faixa {
    padding: 2px var(--gutter) 40px;
    background-image: url("../img/bg-faixa-mobile.jpg?v=20261019c");
  }
  .topo__ornamento,
  .beneficios {
    display: none;
  }
  .topo__cta {
    display: inline-block;
  }

  .cards {
    grid-template-columns: minmax(0, 340px);
    gap: 18px;
  }

  .estrela--2 {
    top: auto;
    bottom: 46%;
    right: 4%;
  }

  .galeria {
    justify-content: flex-start;
    gap: 14px;
    padding: 0 var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .galeria::-webkit-scrollbar {
    display: none;
  }
  .galeria img {
    width: 78vw;
    border-radius: 26px;
    scroll-snap-align: center;
  }

  .footer {
    gap: 28px;
    padding: 48px var(--gutter);
  }
  .footer__logo {
    width: 180px;
  }
  .footer__info {
    flex-direction: column;
    gap: 16px;
    font-size: 18px;
  }
  .footer__sep {
    display: none;
  }
  .footer__social + .footer__item {
    margin-left: 0;
  }
  .icon {
    width: 34px;
    height: 34px;
  }

  .modal {
    max-height: 90vh;
    border-radius: 20px;
  }
  .modal__head {
    padding: 14px 14px 12px 20px;
  }
  .modal__title {
    font-size: 21px;
  }
  .modal__body {
    padding: 16px 20px 24px;
    font-size: 14.5px;
  }
}
