/* ============================================================
   ESTILOS EXCLUSIVOS: CRUZEIROS (FINAL)
   ============================================================ */

/* 1. HEADER DO OCEANO (CORRIGIDO PARA O MENU FIXO) */
.ocean-header {
  position: relative;
  width: 100%;

  /* AJUSTE TÉCNICO: Puxa para cima e empurra conteúdo para baixo */
  height: 450px;
  margin-top: -80px; /* Fica atrás do menu */
  padding-top: 140px; /* Texto desce para não cortar */

  /* Fundo de segurança e gradiente */
  background-color: #0a2342;
  background: linear-gradient(
    60deg,
    rgba(10, 35, 66, 1) 0%,
    rgba(0, 172, 193, 1) 100%
  );

  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.ocean-content {
  z-index: 10;
  position: relative;
  padding: 0 20px;
  max-width: 900px;
}

.ocean-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ocean-content p {
  font-size: 1.1rem;
  opacity: 0.95;
  color: #e0f2fe;
}

/* ONDAS */
.wave {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1000% 1000% 0 0;
  position: absolute;
  width: 200%;
  height: 12em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.8;
}
@keyframes wave {
  2% {
    transform: translateX(1);
  }
  25% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(1);
  }
}

/* 2. CARD TÉCNICO (COM CORES) */
.cruise-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2; /* Garante que fique acima de tudo */
}

.cruise-ticket {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cruise-ticket:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #d4af37;
}

/* --- LADO ESQUERDO: MARCA (CORES) --- */
.ticket-brand {
  width: 25%;
  background-color: #f8fafc; /* Cor padrão */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-right: 2px dashed #cbd5e1;
  text-align: center;
}

/* CORES DAS EMPRESAS (IMPORTANTE) */
/* MSC: Azul Claro */
.ticket-brand.msc {
  background-color: #e0f2fe;
  border-right-color: #bae6fd;
}
.ticket-brand.msc .brand-icon,
.ticket-brand.msc .ship-highlight {
  color: #0369a1;
}

/* COSTA: Amarelo Claro */
.ticket-brand.costa {
  background-color: #fef9c3;
  border-right-color: #fde047;
}
.ticket-brand.costa .brand-icon,
.ticket-brand.costa .ship-highlight {
  color: #a16207;
}

/* PULLMANTUR: Branco */
.ticket-brand.pullmantur {
  background-color: #ffffff;
  border-right-color: #e2e8f0;
}
.ticket-brand.pullmantur .brand-icon {
  color: #334155;
}

/* ROYAL: Azul Royal */
.ticket-brand.royal {
  background-color: #eff6ff;
  border-right-color: #bfdbfe;
}
.ticket-brand.royal .brand-icon {
  color: #1e40af;
}

/* DISNEY: Vermelho Claro */
.ticket-brand.disney {
  background-color: #fee2e2;
  border-right-color: #fecaca;
}
.ticket-brand.disney .brand-icon {
  color: #b91c1c;
}

.brand-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}
.brand-name {
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.ship-highlight {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-top: 5px;
  line-height: 1.2;
  font-weight: 700;
}

/* Lado Direito: Informações */
.ticket-info {
  width: 75%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.ticket-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.ticket-header h3 {
  font-size: 1.6rem;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}
.ticket-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* GRID DE DADOS */
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  background: #fdfdfd;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #f1f1f1;
  margin-bottom: 20px;
}

.data-item {
  display: flex;
  flex-direction: column;
}
.data-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 4px;
}
.data-value {
  font-size: 0.9rem;
  color: #334155;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.data-value i {
  color: #d4af37;
  font-size: 0.8rem;
}

/* Linha do Itinerário */
.itinerary-row {
  grid-column: span 4;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 5px;
}
.itinerary-text {
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Botão */
.ticket-actions {
  margin-top: auto;
  align-self: flex-end;
}
.btn-ticket {
  background-color: #0f172a;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ticket:hover {
  background-color: #d4af37;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVIDADE (CELULAR)
   ============================================================ */
@media (max-width: 768px) {
  .ocean-header {
    height: 400px;
    padding-top: 120px;
    margin-top: -80px;
  }
  .ocean-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .ocean-content p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .cruise-ticket {
    flex-direction: column;
  }

  .ticket-brand {
    width: 100%;
    border-right: none;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .brand-icon {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .ship-highlight {
    font-size: 1.2rem;
    margin-top: 0;
  }

  .ticket-info {
    width: 100%;
    padding: 20px;
  }

  .data-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .itinerary-row {
    grid-column: span 2;
  }

  .ticket-actions {
    width: 100%;
  }
  .btn-ticket {
    width: 100%;
    justify-content: center;
  }
}
