/* =============================================================
   VIP MAR TURISMO — Landing Page Viagens em Grupo
   Mobile-first. Marca: coral #E83058 + azul #1898C8.
   ============================================================= */

:root {
  --coral:        #E83058;
  --coral-escuro: #C8264A;
  --vermelho-suave: #B24A57;
  --azul:         #1898C8;
  --azul-escuro:  #0E2F4A;
  --azul-noite:   #0B2236;
  --whatsapp:     #25D366;
  --whatsapp-h:   #1EBE5A;
  --amarelo:      #FFB300;

  --texto:        #15324D;
  --texto-suave:  #5A6B7A;
  --linha:        #E2E8EE;
  --fundo:        #FFFFFF;
  --fundo-suave:  #EEF2F5;

  --raio:    14px;
  --raio-sm: 9px;
  --sombra:  0 6px 24px rgba(14, 47, 74, .10);
  --sombra-forte: 0 14px 40px rgba(14, 47, 74, .18);

  --fonte-titulo: 'Rubik', system-ui, sans-serif;
  --fonte-texto:  'Rubik', system-ui, sans-serif;
  --container: 880px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-texto);
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--fonte-titulo); line-height: 1.15; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--raio-sm);
  cursor: pointer;
  padding: 12px 20px;
  font-size: 15px;
  transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 179, 0, .35);
}
.btn--accent:hover { background: #ffc333; }

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
}
.btn--whatsapp:hover { background: var(--whatsapp-h); }

.btn--ghost {
  background: #fff;
  color: var(--texto);
  border: 1.5px solid var(--linha);
  font-weight: 600;
}
.btn--ghost:hover { border-color: var(--azul); color: var(--azul); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14,47,74,.78), rgba(11,34,54,.55) 55%, rgba(232,48,88,.30)),
    url('img/hero-fundo-trem-montanha.jpg') center/cover no-repeat,
    linear-gradient(135deg, var(--azul-escuro), var(--azul-noite));
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,34,54,.55));
  pointer-events: none;
}
.hero__content { position: relative; max-width: 640px; }
.hero__logo {
  height: 46px;
  width: auto;
  margin: 0 auto 28px;
}
.hero__title {
  font-size: clamp(30px, 7vw, 52px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.hero__subtitle {
  font-size: clamp(15px, 2.6vw, 18px);
  opacity: .92;
  max-width: 30em;
  margin: 0 auto 30px;
}
.hero__cta { font-size: 16px; padding: 14px 30px; }

/* ===================== AVISO DE SAÍDA ===================== */
.aviso {
  background: var(--azul);
  color: #fff;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 22px;
}
.aviso strong { font-weight: 700; }
.aviso__pin { margin-right: 4px; }

/* ===================== LISTA ===================== */
.lista {
  max-width: var(--container);
  margin: 0 auto;
  padding: 52px 22px 64px;
}
.lista__cabecalho { text-align: center; margin-bottom: 34px; }
.lista__eyebrow {
  display: inline-block;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.lista__titulo {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 700;
  color: var(--texto);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===================== CARD ===================== */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sombra-forte); }

.card__foto {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--azul), var(--azul-escuro));
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.card__foto--placeholder { display: flex; align-items: center; justify-content: center; }
.card__foto--placeholder::after {
  content: "VIP MAR";
  font-family: var(--fonte-titulo);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 20px;
  color: rgba(255,255,255,.65);
}

.card__corpo { padding: 20px; display: flex; flex-direction: column; }
.card__topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.card__data {
  background: var(--fundo-suave);
  color: var(--azul-escuro);
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 5px 11px;
  border-radius: 20px;
}
.card__saida {
  display: inline-flex;
  align-items: center;
  background: var(--vermelho-suave);
  color: #fff;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2px;
  padding: 5px 11px;
  border-radius: 20px;
}
.card__titulo {
  font-size: 19px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 6px;
}
.card__subtitulo {
  font-size: 14.5px;
  color: var(--texto-suave);
  margin-bottom: 18px;
}
.card__acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.card__acoes .btn { flex: 1 1 auto; }

/* Desktop: card horizontal (foto à esquerda, conteúdo à direita) */
@media (min-width: 640px) {
  .card { flex-direction: row; }
  .card__foto { width: 240px; height: auto; min-height: 220px; }
  .card__acoes .btn { flex: 0 1 auto; }
}

/* ===================== AVALIAÇÕES ===================== */
.reviews {
  background: var(--fundo-suave);
  padding: 56px 22px 60px;
}
.reviews__cabecalho { text-align: center; max-width: var(--container); margin: 0 auto 30px; }

.reviews__agregado {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.agregado {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: transform .12s ease, box-shadow .15s ease;
}
.agregado:hover { transform: translateY(-2px); box-shadow: var(--sombra-forte); }
.agregado__icone svg { width: 26px; height: 26px; display: block; }
.agregado__info { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.agregado__nome { font-size: 12px; color: var(--texto-suave); font-weight: 500; }
.agregado__nota { font-family: var(--fonte-titulo); color: var(--texto); font-size: 15px; }
.agregado__nota strong { font-weight: 700; }
.agregado__estrela { color: #FFB300; }
.agregado__total { color: var(--texto-suave); font-size: 12px; font-weight: 400; }
.agregado__ver { color: var(--azul); font-weight: 600; font-size: 14px; }

/* Carrossel */
.reviews__carrossel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.reviews__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 16px;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }

.carrossel__btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--texto);
  box-shadow: var(--sombra-forte);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  font-family: var(--fonte-titulo);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color .15s ease, color .15s ease;
}
.carrossel__btn:hover { background: var(--coral); color: #fff; }
.carrossel__btn--prev { left: -14px; }
.carrossel__btn--next { right: -14px; }
@media (max-width: 980px) {
  .carrossel__btn--prev { left: 2px; }
  .carrossel__btn--next { right: 2px; }
}
/* No mobile o usuário desliza com o dedo — escondemos as setas */
@media (max-width: 640px) {
  .carrossel__btn { display: none; }
}

.review {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--raio);
  padding: 22px;
  box-shadow: var(--sombra);
  margin: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 980px) { .review { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .review { flex-basis: 86%; } }
.review__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review__plataforma svg { width: 22px; height: 22px; display: block; }
.estrelas { font-size: 15px; letter-spacing: 1px; }
.estrela { color: #FFB300; }
.estrela--vazia { color: #D8DEE4; }
.review__texto {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--texto);
  line-height: 1.55;
  font-style: italic;
}
.review__autor {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 14px;
  color: var(--texto);
  margin-top: auto;
}
.review__data {
  display: block;
  font-family: var(--fonte-texto);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--texto-suave);
  margin-top: 2px;
}

/* ===================== MODAL ===================== */
.modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 1000;
}
.modal.aberto { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 34, 54, .62);
  backdrop-filter: blur(2px);
}
.modal__caixa {
  position: relative;
  background: #fff;
  border-radius: var(--raio);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px 26px 26px;
  box-shadow: var(--sombra-forte);
  animation: modal-in .2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal__fechar {
  position: absolute;
  top: 12px; right: 14px;
  background: var(--fundo-suave);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--texto-suave);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.modal__fechar:hover { background: var(--coral); color: #fff; }
.modal__titulo {
  font-size: 22px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 18px;
  padding-right: 30px;
}
.modal__secao-titulo {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--azul);
  margin: 18px 0 8px;
}
.modal__lista { list-style: none; }
.modal__lista li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  font-size: 14.5px;
  color: var(--texto-suave);
}
.modal__lista li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--coral);
  font-weight: 700;
}
.modal__roteiro li::before { content: "›"; font-size: 18px; line-height: 1; }
.modal__roteiro li strong { color: var(--texto); display: block; }
.modal__cta { width: 100%; margin-top: 22px; }

/* ===================== RODAPÉ ===================== */
.rodape {
  background: var(--azul-noite);
  color: #CDD8E2;
  font-size: 14px;
  line-height: 1.7;
}
.rodape__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 22px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.rodape a { color: #CDD8E2; text-decoration: none; transition: color .15s ease; }
.rodape a:hover { color: var(--azul); }

.rodape__logo { height: 42px; width: auto; }

/* Frase sobre a VIP Mar + endereço lado a lado, centralizados */
.rodape__sobre {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  max-width: 720px;
}
.rodape__frase {
  flex: 1 1 280px;
  max-width: 360px;
  font-size: 14px;
  color: #AFC0D0;
  text-align: center;
}
.rodape__endereco {
  flex: 0 1 220px;
  font-size: 13.5px;
  color: #AFC0D0;
  text-align: center;
}
@media (min-width: 640px) {
  .rodape__sobre { align-items: stretch; }
  .rodape__frase { text-align: right; border-right: 1px solid rgba(255,255,255,.14); padding-right: 22px; }
  .rodape__endereco { text-align: left; }
}

.rodape__contato { font-size: 14.5px; }
.rodape__contato a { font-weight: 500; }
.rodape__sep { margin: 0 8px; color: #5E748A; }

/* Redes sociais (ícones, lado a lado, centralizados) */
.redes {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background-color .15s ease, transform .12s ease, color .15s ease;
}
.redes a:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.redes svg { width: 20px; height: 20px; fill: currentColor; }

/* Selos das plataformas de avaliação (abaixo das redes) */
.rodape__selos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.selo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  transition: transform .12s ease, box-shadow .15s ease;
}
.selo:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.selo svg { width: 24px; height: 24px; display: block; }

.rodape__cnpj {
  font-size: 12px;
  color: #8093A6;
  letter-spacing: .2px;
}
.rodape__base {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 12.5px;
  color: #7E94A8;
  padding: 18px 22px;
}

/* ===================== WHATSAPP FLUTUANTE ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  z-index: 900;
  transition: transform .15s ease, background-color .15s ease;
}
.whatsapp-float:hover { background: var(--whatsapp-h); transform: scale(1.06); }

/* ===================== ACESSIBILIDADE ===================== */
.modal-aberto-no-body { overflow: hidden; }

:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
