/* "Tudo o que cabe em cada presente" (partials/tour.html + views/js/tour.js). Prefixo tr-. */
.tr { max-width: 1160px; margin: 0 auto; padding: 64px 20px 40px; font-family: 'Quicksand', sans-serif; color: #fff; overflow: hidden; overflow: clip; }
.tr-head { max-width: 640px; margin: 0 auto 26px; text-align: center; }
.tr-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid #262626; color: #9b9b9b; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tr-title { margin: 16px 0 10px; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.tr-title em { font-style: normal; color: #ff2d9b; }
.tr-sub { margin: 0; color: #9b9b9b; font-size: 16px; line-height: 1.55; }
.tr-switch { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 999px; background: #181818; border: 1px solid #262626; }
.tr-switch button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: #9b9b9b; font: 600 14px 'Quicksand', sans-serif; cursor: pointer; transition: color .2s, background-color .2s; }
.tr-switch button.on { background: #fff; color: #111; }

/* carrossel: o item do meio em destaque, os vizinhos menores e apagados dos lados */
.tr-stage { --w: 250px; --gap: 190px; position: relative; height: calc(var(--w) * 2 + 20px); touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tr-stage--book { --w: 620px; --gap: 470px; height: calc(var(--w) * .712 + 30px); }
.tr-track { position: absolute; inset: 0; }
.tr-item { position: absolute; left: 50%; top: 0; width: var(--w); margin-left: calc(var(--w) / -2); padding: 0; border: 0; background: none; cursor: pointer;
    transform: translateX(calc(var(--d) * var(--gap))) scale(var(--sc, 1)); filter: brightness(var(--br, 1));
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .4s ease, opacity .4s ease; }
.tr-item img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 0 0 1.5px #2a2a2a, 0 30px 50px -24px rgba(0, 0, 0, .9); }
.tr-stage--book .tr-item img { border-radius: 6px; box-shadow: 0 3px 0 -1px #e9dcc8, 0 6px 0 -2px #cdbfa8, 0 30px 50px -18px rgba(0, 0, 0, .95); }
.tr-item.on { cursor: default; }

.tr-info { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 620px; margin: 22px auto 0; }
.tr-nav { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #333; background: transparent; color: #fff; cursor: pointer; }
.tr-nav:hover { border-color: #555; background: #161616; }
.tr-copy { flex: 1; min-height: 98px; text-align: center; }
.tr-count { color: #7d7d7d; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.tr-name { margin: 4px 0 6px; font-size: 21px; font-weight: 700; color: #fff; }
.tr-text { margin: 0; color: #a3a3a3; font-size: 14.5px; line-height: 1.55; }
.tr-dots { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.tr-dots span { width: 6px; height: 6px; border-radius: 50%; background: #333; transition: width .3s, background-color .3s; }
.tr-dots span.on { width: 20px; border-radius: 4px; background: #ff2d9b; }
.tr-foot { display: flex; justify-content: center; margin-top: 24px; }
.tr-cta { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; background: linear-gradient(180deg, #ff2d9b, #e0177f); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.tr-cta:hover { filter: brightness(1.06); }

@media (max-width: 760px) {
    .tr-stage { --w: 200px; --gap: 150px; }
    .tr-stage--book { --w: 340px; --gap: 300px; }
}
@media (max-width: 420px) {
    .tr-stage { --w: 180px; --gap: 132px; }
    .tr-stage--book { --w: 300px; --gap: 270px; }
    .tr-info { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .tr-item { transition: none; } }
