.video-tour { color: #4558a1; }
.tour-container { max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.tour-intro { background: #4558a1; color: #fff; padding: 112px 0 36px; }
.tour-eyebrow { font-size: 14px; font-weight: 600; margin: 0 0 12px; letter-spacing: .02em; }
.tour-intro h1 { max-width: 21ch; font-size: 36px; line-height: 1.12; text-wrap: balance; margin: 0 0 20px; }
.tour-intro p:not(.tour-eyebrow) { max-width: 52ch; font-size: 18px; line-height: 1.5; color: #fff; }
.tour-jump { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; margin-top: 12px; text-decoration: underline; text-underline-offset: 5px; }
.tour-jump:hover { text-decoration-thickness: 2px; }
.tour-jump:focus-visible { outline-color: #fff; }
.tour-body { padding-top: 32px; padding-bottom: 48px; }
.tour-featured { display: grid; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid #dbdff0; }
.tour-featured-copy h2 { font-size: 32px; line-height: 1.15; color: #4558a1; margin-bottom: 16px; text-wrap: balance; }
.tour-featured-copy > p:not(.tour-eyebrow) { font-size: 18px; line-height: 1.55; }
.tour-featured-copy > p.tour-note { font-size: 16px; margin-top: 16px; color: #4e5873; }
.tour-player { min-width: 0; }
.tour-screen { position: relative; aspect-ratio: 4 / 3; background: #4558a1; border-radius: 10px; overflow: hidden; }
.tour-poster { display: block; position: relative; height: 100%; color: #fff; }
.tour-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,39,71,.7), rgba(31,39,71,.12) 65%); pointer-events: none; }
.tour-poster img { width: 100%; height: 100%; object-fit: cover; }
.tour-play { position: absolute; z-index: 1; inset: 0; margin: auto; width: max-content; height: 52px; padding: 0 20px; display: flex; gap: 12px; align-items: center; border-radius: 6px; background: #4558a1; color: #fff; font-size: 17px; font-weight: 600; box-shadow: 0 0 0 2px #fff; }
.tour-play > span { font-size: 20px; color: #80cbb0; }
.tour-poster:is(:hover,:focus-visible) .tour-play { background: #fff; color: #4558a1; }
.tour-poster:is(:hover,:focus-visible) .tour-play > span { color: #4558a1; }
.tour-poster:focus-visible { outline: 4px solid #fff; outline-offset: -6px; }
.tour-duration { position: absolute; bottom: 12px; right: 12px; z-index: 1; background: #4558a1; padding: 4px 8px; border-radius: 4px; color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.tour-library { padding-top: 32px; scroll-margin-top: 24px; }
.tour-library-heading { margin-bottom: 24px; }
.tour-library-heading h2 { font-size: 30px; line-height: 1.2; margin-bottom: 8px; color: #4558a1; }
.tour-library-heading p { font-size: 18px; }
.tour-grid { display: grid; gap: 32px; }
.tour-card { min-width: 0; }
.tour-card-copy { padding: 20px 0 0; }
.tour-card-copy .tour-eyebrow { color: #4e5873; margin-bottom: 8px; }
.tour-card-copy h3 { font-size: 24px; line-height: 1.2; color: #4558a1; margin-bottom: 10px; font-weight: 600; }
.tour-card-copy > p:last-child { font-size: 17px; line-height: 1.5; }
.tour-coach { background: #eef7f3; padding: 28px 24px; border-radius: 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.tour-coach h3 { font-size: 32px; line-height: 1.15; color: #4558a1; margin-bottom: 20px; text-wrap: balance; }
.tour-coach > p:not(.tour-eyebrow) { font-size: 18px; line-height: 1.55; }
.tour-coach .btn { margin-top: 24px; gap: 12px; text-align: center; }
@media (min-width: 768px) {
  .tour-container { padding-left: 24px; padding-right: 24px; }
  .tour-intro { padding-top: 128px; padding-bottom: 44px; }
  .tour-intro h1 { font-size: 48px; }
  .tour-body { padding-top: 48px; padding-bottom: 64px; }
  .tour-featured { grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding-bottom: 48px; }
  .tour-featured-copy h2 { font-size: 40px; }
  .tour-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .tour-library { padding-top: 40px; }
  .tour-library-heading h2 { font-size: 36px; }
  .tour-coach { padding: 36px; }
}

/* One large player, with a full-viewport layout on phones. */
body.tour-playing { overflow: hidden; }
.tour-modal { padding: 0; border: 0; margin: auto; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; color: #fff; background: #4558a1; }
.tour-modal::backdrop { background: rgba(10,15,30,.88); }
.tour-modal-layout { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr); }
.tour-modal-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; padding-top: max(12px,env(safe-area-inset-top)); }
.tour-modal-header h2 { margin: 0; font: 600 18px/1.3 "Gabarito", sans-serif; color: #fff; }
.tour-modal-close { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid #9caacb; border-radius: 6px; color: #fff; }
.tour-modal-close span { font-size: 24px; line-height: 1; }
.tour-modal-close:is(:hover,:focus-visible) { background: #4558a1; }
.tour-modal-screen { min-height: 0; }
.tour-modal-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.tour-modal :focus-visible { outline: 3px solid #80cbb0; outline-offset: 3px; }
@media (min-width: 768px) {
  .tour-modal { width: calc(100vw - 64px); max-width: 1280px; height: 90dvh; border-radius: 12px; }
  .tour-modal-header { padding: 12px 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tour-play > span { display: inline-block; transition: transform 150ms ease-out; }
  .tour-poster:focus-visible .tour-play > span { transform: rotate(-10deg); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tour-poster:hover .tour-play > span { transform: rotate(-10deg); }
}
