/* ============================================================
   Paris de Mulheres — tour.css v3
   2-column product layout mirroring France Experience's
   functional booking card aesthetic.
   ============================================================ */

body {
  background-color: var(--color-creme-claro);
  transition: background-color 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ══════════════════════════════════════
   HERO — light, editorial, left-aligned
   ═══════════════════════════════════════ */
.tour-hero {
  padding: 10rem 4rem 5rem;
  background-color: var(--color-creme-claro);
}

.tour-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tour-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.4);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.tour-hero__back:hover { color: var(--color-ameixa-escura); }

.tour-hero__category {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-roxo-fenix);
}

.tour-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--color-preto-editorial);
  text-transform: none;
  margin: 0;
}

.tour-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(27, 27, 27, 0.55);
  max-width: 620px;
  margin: 0;
}

/* ══════════════════════════════════════
   MAIN — 2-col layout
   ═══════════════════════════════════════ */
.tour-main {
  padding: 4rem 4rem 8rem;
  background-color: var(--color-off-white);
}

.tour-main__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 6rem;
  align-items: start;
}

/* ── Left column ── */
.tour-content-col {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.tour-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}
.tour-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.tour-image-wrap:hover img { transform: scale(1.03); }

.tour-rich {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
}
.tour-rich p { margin-bottom: 1.5rem; }
.tour-rich p:last-child { margin-bottom: 0; }
.tour-rich h2, .tour-rich h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-preto-editorial);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 1rem;
}
.tour-rich h2 { font-size: 2rem; }
.tour-rich h3 { font-size: 1.4rem; }
.tour-rich strong { color: var(--color-preto-editorial); font-weight: 600; }
.tour-rich em { font-style: italic; color: var(--color-ameixa-escura); }
.tour-rich ul, .tour-rich ol { list-style: none; padding: 0; margin: 1.5rem 0; }
.tour-rich li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(27,27,27,0.07);
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}
.tour-rich li::before { content: '— '; color: var(--color-ameixa-escura); }

.tour-section-block { display: flex; flex-direction: column; gap: 1.5rem; }
.tour-section-block__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-preto-editorial);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(27,27,27,0.1);
  margin: 0;
}

/* ── Right column: sticky booking card ── */
.tour-sidebar {
  position: sticky;
  top: 8rem;
}

.tour-card {
  background: white;
  border: 1px solid rgba(27,27,27,0.08);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tour-card__label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(27,27,27,0.4);
  display: block;
}

.tour-card__price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--color-preto-editorial);
  line-height: 1;
  letter-spacing: -0.01em;
}
.tour-card__currency {
  font-size: 1.5rem;
  font-weight: 400;
  vertical-align: top;
  margin-top: 0.4rem;
  display: inline-block;
}
.tour-card__price-sub {
  font-size: 1.2rem;
  color: rgba(27,27,27,0.5);
}

.tour-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(27,27,27,0.07);
}
.tour-card__meta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(27,27,27,0.07);
  gap: 1rem;
}
.tour-card__meta-key {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27,27,27,0.4);
  flex-shrink: 0;
}
.tour-card__meta-val {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-preto-editorial);
  text-align: right;
}

/* Date slots in card */
.tour-card__dates {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid rgba(27,27,27,0.07);
  padding-top: 2rem;
}
.tour-card__dates-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(27,27,27,0.4);
}

.tour-card__slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}
.tour-card__slots::-webkit-scrollbar { width: 3px; }
.tour-card__slots::-webkit-scrollbar-track { background: transparent; }
.tour-card__slots::-webkit-scrollbar-thumb { background: rgba(27,27,27,0.15); border-radius: 2px; }

.tour-slot { display: block; cursor: pointer; }
.tour-slot__input { position: absolute; opacity: 0; width: 0; height: 0; }

.tour-slot__label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(27,27,27,0.1);
  background: white;
  transition: all 0.25s ease;
}
.tour-slot:hover .tour-slot__label { border-color: var(--color-ameixa-escura); background: rgba(90,46,99,0.03); }
.tour-slot__input:checked + .tour-slot__label {
  border-color: var(--color-ameixa-escura);
  background: var(--color-ameixa-escura);
}

.tour-slot__date {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-preto-editorial);
  white-space: nowrap;
  min-width: 4rem;
  text-align: center;
}
.tour-slot__input:checked + .tour-slot__label .tour-slot__date { color: var(--color-off-white); }

.tour-slot__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.tour-slot__day {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-preto-editorial);
}
.tour-slot__time {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(27,27,27,0.5);
}
.tour-slot__input:checked + .tour-slot__label .tour-slot__day,
.tour-slot__input:checked + .tour-slot__label .tour-slot__time { color: rgba(243,239,234,0.85); }

.tour-slot__spots {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(27,27,27,0.35);
  white-space: nowrap;
}
.tour-slot__input:checked + .tour-slot__label .tour-slot__spots { color: rgba(243,239,234,0.5); }

.tour-slot__spots--sold-out { color: var(--color-bordo-profundo) !important; }

/* Sold-out slot — greyed out, not selectable */
.tour-slot--sold-out .tour-slot__label {
  opacity: 0.45;
  background: rgba(27,27,27,0.03);
  border-color: rgba(27,27,27,0.06);
}
.tour-slot--sold-out { cursor: not-allowed; }

/* Card actions */
.tour-card__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tour-card__prompt {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(27,27,27,0.4);
  text-align: center;
  margin: 0;
  padding: 1rem;
  border: 1px dashed rgba(27,27,27,0.15);
}
.tour-card__btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tour-card__btn {
  width: 100%;
  text-align: center;
  background: var(--color-ameixa-escura);
  color: var(--color-off-white) !important;
  border-color: var(--color-ameixa-escura);
  border-radius: 50px;
  padding: 1.1rem 2rem;
  font-size: 0.75rem;
}
.tour-card__btn::before { background-color: var(--color-bordo-profundo); border-radius: 50px; }
.tour-card__btn:hover { border-color: var(--color-bordo-profundo); color: var(--color-off-white) !important; }

.tour-card__pix-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ameixa-escura);
  text-decoration: none;
  text-align: center;
  padding: 1.1rem 2rem;
  border: 1px solid rgba(90,46,99,0.3);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: block;
}
.tour-card__pix-link:hover {
  background: rgba(90,46,99,0.06);
  border-color: var(--color-ameixa-escura);
}

/* WhatsApp link at bottom of card */
.tour-card__whatsapp {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27,27,27,0.07);
  text-align: center;
}
.tour-card__wa-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27,27,27,0.45);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}
.tour-card__wa-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--color-ameixa-escura);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.tour-card__wa-link:hover { color: var(--color-ameixa-escura); }
.tour-card__wa-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ══════════════════════════════════════
   PAYMENT TOASTS
   ═══════════════════════════════════════ */
.tour-toast {
  position: fixed;
  top: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  min-width: 340px;
  max-width: 560px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  animation: toastIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.tour-toast--success { background: white; border-left: 3px solid var(--color-ameixa-escura); }
.tour-toast--error   { background: white; border-left: 3px solid var(--color-bordo-profundo); }

.tour-toast__inner {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem 2rem;
}
.tour-toast__icon { color: var(--color-ameixa-escura); flex-shrink: 0; margin-top: 0.1rem; }
.tour-toast--error .tour-toast__icon { color: var(--color-bordo-profundo); }
.tour-toast__content { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.tour-toast__content strong {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-preto-editorial);
}
.tour-toast__content span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(27,27,27,0.65);
  line-height: 1.5;
}
.tour-toast__close {
  background: none;
  border: none;
  color: rgba(27,27,27,0.35);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.tour-toast__close:hover { color: var(--color-preto-editorial); }

/* ══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .cursor-follower { display: none !important; }
  html, body, *, a, button, input, select, textarea, [role="button"], ::before, ::after { cursor: auto !important; }
  * { -webkit-tap-highlight-color: transparent; }

  .pdm-nav { padding: 1.4rem 1.5rem; }
  .pdm-nav__links { gap: 1.5rem; }
  .pdm-nav__link { font-size: 0.58rem; letter-spacing: 0.14em; }
  .pdm-nav__cta { padding: 0.65rem 1.4rem; font-size: 0.58rem; }

  .tour-hero { padding: 9rem 2rem 4rem; }
  .tour-main { padding: 3rem 2rem 6rem; }
  .tour-main__inner { grid-template-columns: 1fr; gap: 4rem; }
  .tour-sidebar { position: relative; top: auto; max-width: 500px; }
  .editorial-btn:active { transform: scale(0.95); opacity: 0.85; }
}

@media (max-width: 768px) {
  .pdm-nav { padding: 1.2rem 1.5rem; }
  .pdm-nav__links { gap: 1.2rem; }

  .tour-hero { padding: 8rem 1.5rem 3rem; }
  .tour-hero__title { font-size: clamp(2.4rem, 9vw, 3.8rem); }
  .tour-main { padding: 2rem 1.5rem 5rem; }
  .tour-sidebar { max-width: 100%; }

  .tour-card { padding: 2rem; }
  .tour-card__slots { max-height: 200px; }

  .pdm-footer { padding: 5rem 1.5rem 3rem; }
  .pdm-footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .pdm-footer__bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  .pdm-nav__links .pdm-nav__link:not(:last-child) { display: none; }
  .pdm-nav__links { gap: 1rem; }

  .tour-hero { padding: 7rem 1.2rem 2.5rem; }
  .tour-hero__title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .tour-main { padding: 1.5rem 1.2rem 4rem; }

  .tour-card { padding: 1.5rem; }
  .tour-card__price { font-size: 2.8rem; }
  .tour-card__btn { padding: 1rem; font-size: 0.7rem; }

  .editorial-btn { padding: 1.1rem 2rem; font-size: 0.7rem; }
  .pdm-footer { padding: 4rem 1.2rem 3rem; }
}
