/**
 * OneRio — página inicial: blocos (Polos, Atrativos, Passaportes — 1.84.0, redesenhados na
 * 1.85.0) e banners (principal, campanha, atrativo em destaque e vantagens — 1.85.0).
 *
 * Feito primeiro para o celular. O desenho da página do atrativo (visit.css): navy #00085f,
 * laranja #ff5d06, creme #fbffe1, Chillax nos títulos e Satoshi no texto, cantos de 20–28 px.
 *
 * - Cada bloco é um contêiner (`container-type: inline-size`): quantos cards cabem por tela
 *   depende da largura do BLOCO (não da tela), o que vale também numa coluna do Elementor.
 * - No celular, as fileiras vão de ponta a ponta da tela (sobra = (100vw − 100cqw) / 2) e
 *   o primeiro card fica alinhado ao texto; setas só a partir de 768 px.
 * - O bloco nunca encosta na borda da tela: se o contêiner do Elementor não tem margem
 *   lateral, o próprio bloco põe 16 px (`--oh-min-gutter`).
 * - Contraste AA: texto branco sobre o laranja só em 19 px negrito (texto grande); o resto
 *   do laranja leva texto azul-marinho. Foco de 3 px; áreas de toque de 44 px.
 * - Blindado contra o tema (h2/h3/a/ul/button/img) com !important onde o tema costuma pintar.
 * - Todo fundo em degradê tem uma cor sólida embaixo (ou mora num pseudo-elemento): o "lazy
 *   load" de fundos do Elementor zera o background-image abaixo da dobra até o script dele
 *   rodar — e o LiteSpeed adia esse script.
 *
 * @package OneRio_Booking
 */

@font-face { font-family: 'Chillax'; src: url('../../templates/tickets/onerio-brand/fonts/Chillax-Semibold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Chillax'; src: url('../../templates/tickets/onerio-brand/fonts/Chillax-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../../templates/tickets/onerio-brand/fonts/Satoshi-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../../templates/tickets/onerio-brand/fonts/Satoshi-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../../templates/tickets/onerio-brand/fonts/Satoshi-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

/* ============================ Base ============================ */
.opw-home, .opw-home-page {
    --oh-navy: #00085f;
    --oh-navy-2: #0d1a8f;
    --oh-navy-3: #00053d;
    --oh-accent: #ff5d06;
    --oh-accent-ink: #c8490a;
    --oh-accent-soft: rgba(255, 93, 6, .12);
    --oh-peach: #ffb98f;
    --oh-cream: #fbffe1;
    --oh-muted: rgba(0, 8, 95, .68);
    --oh-gray: #5f6b78;
    --oh-line: rgba(0, 8, 95, .12);
    --oh-line-2: rgba(0, 8, 95, .2);
    --oh-soft: rgba(0, 8, 95, .055);
    --oh-shadow-1: 0 1px 2px rgba(0, 8, 95, .05), 0 6px 18px rgba(0, 8, 95, .06);
    --oh-shadow-2: 0 14px 34px rgba(0, 8, 95, .13);
    --oh-shadow-3: 0 22px 54px rgba(0, 8, 95, .2);
    --oh-ease: cubic-bezier(.16, 1, .3, 1);
    --oh-display: 'Chillax', 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --oh-body: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --oh-gap: 12px;
    --oh-vgap: 12px;
    --oh-panel: #faf9f9;
    --oh-min-gutter: 16px;
}
.opw-home {
    position: relative; width: 100%; min-width: 0; margin: 0;
    padding-inline: max(0px, calc(var(--oh-min-gutter) - (100vw - 100%) / 2));
    container-type: inline-size; container-name: ohome;
    font-family: var(--oh-body); color: var(--oh-navy); text-align: left;
    -webkit-font-smoothing: antialiased;
}
/* Contêiner do Elementor em coluna com "Quebrar" (flex-wrap: wrap) — 1.98.1: o item é medido
   na largura "encaixada" do conteúdo, que num bloco com container-type é ZERO. O Banner
   principal saía ~265 px alto demais no celular (espaço em branco antes da seção seguinte) e a
   fileira, baixa demais (invadia a seção de baixo). Com largura definida no widget, ele é
   medido na largura real. Especificidade mínima (:where): a largura personalizada do
   Elementor continua vencendo. `100%` vale em todo navegador (com o Elementor de hoje a
   margem do widget fica no .elementor-widget-container, por dentro); onde há `stretch`, ele
   respeita também uma margem no próprio widget. */
:where(.e-con, .e-con-inner) > .elementor-widget:has(:where(.opw-home)) {
    width: 100%; width: stretch;
}
.opw-home, .opw-home * { box-sizing: border-box; }
.opw-home ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.opw-home li { margin: 0; padding: 0; }
.opw-home li::before, .opw-home li::marker { content: none; }
.opw-home a { text-decoration: none !important; color: inherit; box-shadow: none; }
.opw-home a:focus-visible, .opw-home button:focus-visible { outline: 3px solid var(--oh-accent) !important; outline-offset: 3px; }
/* `body` na frente: o `.elementor img { height: auto; max-width: 100% }` do Elementor empata com estas regras. */
body .opw-home img { display: block; max-width: none; border: 0; border-radius: 0; box-shadow: none; }
.opw-home p { margin: 0; }
.opw-home .opw-home-icon { flex: 0 0 auto; }
.opw-home button { font-family: var(--oh-body) !important; letter-spacing: 0 !important; text-transform: none !important; -webkit-tap-highlight-color: transparent; }
.opw-home-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.opw-home-note { margin: 0 0 12px; padding: 12px 16px; border: 1px dashed #e0a243; border-radius: 12px; background: #fff7e6; color: #7a4b00; font: 500 14px/20px var(--oh-body); }
[id].opw-home { scroll-margin-top: 24px; }

/* -------- Cabeçalho do bloco: título, subtítulo, "Ver todos" e setas -------- */
.opw-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; }
.opw-home__heading { min-width: 0; }
.opw-home .opw-home__title {
    margin: 0 !important; padding: 0; font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: 25px !important; line-height: 30px !important;
    letter-spacing: 0 !important; text-transform: none !important; color: var(--oh-navy) !important; text-wrap: balance;
}
.opw-home .opw-home__sub { margin: 4px 0 0 !important; font-size: 15px; line-height: 21px; color: var(--oh-muted); }
.opw-home__tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.opw-home .opw-home__more {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -10px 0 -8px; color: var(--oh-navy) !important;
    font-size: 15px; font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; white-space: nowrap;
}
.opw-home__more svg { flex: 0 0 18px; transition: transform .2s var(--oh-ease); }
.opw-home__more:hover svg { transform: translateX(3px); }
.opw-home__nav { display: flex; gap: 8px; }
.opw-home .opw-home__arrow {
    display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; padding: 0 !important; margin: 0;
    border: 1px solid var(--oh-line-2) !important; border-radius: 50% !important; background: #fff !important; color: var(--oh-navy) !important;
    box-shadow: var(--oh-shadow-1) !important; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s, opacity .2s;
}
.opw-home .opw-home__arrow:hover:not(:disabled) { background: var(--oh-navy) !important; border-color: var(--oh-navy) !important; color: #fff !important; }
.opw-home .opw-home__arrow:active:not(:disabled) { transform: scale(.94); }
.opw-home .opw-home__arrow:disabled { opacity: .35; cursor: default; box-shadow: none !important; }

/* -------- Fileira (vale para atrativos, polos e Passaportes) -------- */
.opw-home [data-opw-rail] {
    position: relative; display: flex; gap: var(--oh-gap); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-block: 6px 22px !important; margin-block: -6px -22px !important;
}
.opw-home [data-opw-rail]::-webkit-scrollbar { display: none; }
.opw-home [data-opw-rail] > li { flex: 0 0 min(80%, 320px); scroll-snap-align: start; }
.opw-home [data-opw-rail].is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.opw-home [data-opw-rail].is-dragging a { pointer-events: none; }
.opw-home.is-scrollable [data-opw-rail] { cursor: grab; }

/* ============================ Botões ============================ */
.opw-home .opw-home-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px !important;
    border: 0 !important; border-radius: 999px !important; font-family: var(--oh-body) !important; font-weight: 700 !important; font-size: 17px !important; line-height: 22px !important;
    letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important; white-space: nowrap; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: transform .15s var(--oh-ease), background .2s, box-shadow .2s, color .2s;
}
.opw-home .opw-home-btn svg { flex: 0 0 18px; transition: transform .2s var(--oh-ease); }
.opw-home .opw-home-btn:hover svg { transform: translateX(3px); }
.opw-home .opw-home-btn:active { transform: scale(.97); }
.opw-home .opw-home-btn.is-lg { min-height: 56px; padding: 0 26px !important; }
.opw-home .opw-home-btn.is-primary { background: var(--oh-accent) !important; color: #fff !important; font-size: 19px !important; box-shadow: 0 10px 24px rgba(255, 93, 6, .3); }
.opw-home .opw-home-btn.is-primary:hover { background: var(--oh-accent-ink) !important; }
.opw-home .opw-home-btn.is-navy { background: var(--oh-navy) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(0, 8, 95, .22); }
.opw-home .opw-home-btn.is-navy:hover { background: var(--oh-navy-2) !important; }
.opw-home .opw-home-btn.is-ghost { background: rgba(255, 255, 255, .1) !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.opw-home .opw-home-btn.is-ghost:hover { background: rgba(255, 255, 255, .2) !important; }

/* ============================ 1. Polos ============================ */
.opw-home-polos__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.opw-home-polo { display: flex; min-width: 0; }
.opw-home-polo__link {
    position: relative; display: block; width: 100%; height: 220px; border-radius: 26px; overflow: hidden; isolation: isolate;
    background-color: var(--oh-navy); background-image: radial-gradient(120% 120% at 82% -10%, var(--oh-navy-2) 0%, var(--oh-navy) 60%); color: #fff !important;
    box-shadow: var(--oh-shadow-2); transition: transform .3s var(--oh-ease), box-shadow .3s var(--oh-ease);
}
.opw-home-polo__media { position: absolute; inset: 0; z-index: -2; }
.opw-home .opw-home-polo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--oh-ease); }
.opw-home-polo__link::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 8, 95, 0) 22%, rgba(0, 8, 95, .5) 55%, rgba(0, 4, 48, .92) 100%); }
.opw-home-polo__body { position: absolute; left: 20px; right: 76px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.opw-home-polo__count {
    display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px 0 8px; margin-bottom: 4px; border-radius: 999px;
    background: rgba(255, 255, 255, .94); color: var(--oh-navy); font-size: 13px; font-weight: 700; line-height: 18px;
}
.opw-home-polo__count svg { color: var(--oh-accent); }
.opw-home .opw-home-polo__name {
    margin: 0 !important; font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: 28px !important; line-height: 32px !important;
    letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; text-wrap: balance;
}
.opw-home-polo__about { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 20px; color: rgba(255, 255, 255, .9); }
.opw-home-polo__from { font-size: 15px; line-height: 21px; color: rgba(255, 255, 255, .9); }
.opw-home-polo__from b { color: var(--oh-cream); font-weight: 700; }
.opw-home-polo__go {
    position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--oh-accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 93, 6, .4); transition: transform .25s var(--oh-ease);
}

/* ============================ 2. Card do atrativo ============================ */
.opw-home-row__list { display: flex; gap: var(--oh-gap); }
.opw-home-card { display: flex; min-width: 0; }
.opw-home-card__link {
    position: relative; display: flex; flex-direction: column; width: 100%; border: 1px solid var(--oh-line); border-radius: 22px; overflow: hidden; background: #fff;
    color: var(--oh-navy) !important; box-shadow: var(--oh-shadow-1); transition: transform .3s var(--oh-ease), box-shadow .3s var(--oh-ease), border-color .3s var(--oh-ease);
}
.opw-home-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--oh-soft); }
.opw-home-card__media.is-empty { background-color: var(--oh-navy); background-image: radial-gradient(120% 120% at 82% -10%, var(--oh-navy-2) 0%, var(--oh-navy) 60%); }
.opw-home .opw-home-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--oh-ease); }
.opw-home-card__flag {
    position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 20px); min-height: 28px; padding: 0 10px 0 8px;
    border-radius: 999px; background: #fff; color: var(--oh-accent-ink); font-size: 12.5px; font-weight: 700; line-height: 16px; box-shadow: 0 6px 16px rgba(0, 8, 95, .18);
}
.opw-home-card__flag span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.opw-home-card__flag svg { color: var(--oh-accent); }
.opw-home-card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px; }
.opw-home-card__place { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 13px; line-height: 18px; color: var(--oh-gray); }
.opw-home-card__place span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.opw-home-card__pin { flex: 0 0 13px; color: var(--oh-accent); }
.opw-home .opw-home-card__name {
    margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: 19px !important; line-height: 24px !important;
    letter-spacing: 0 !important; text-transform: none !important; color: var(--oh-navy) !important;
}
.opw-home-card__pitch { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 20px; color: var(--oh-muted); }
.opw-home-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--oh-line-2); }
.opw-home-card__name, .opw-home-card__pitch { flex: 0 0 auto; }
.opw-home-card__pitch { margin-bottom: 8px; }
.opw-home-card__price { display: flex; flex-direction: column; min-width: 0; }
.opw-home-card__from { font-size: 12.5px; line-height: 16px; color: var(--oh-muted); }
.opw-home-card__price.is-by-date .opw-home-card__from { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--oh-navy); }
.opw-home-card__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.opw-home-card__amount b { font-family: var(--oh-display); font-weight: 700; font-size: 21px; line-height: 26px; color: var(--oh-navy); font-variant-numeric: tabular-nums; }
.opw-home-card__amount del { font-size: 14px; line-height: 20px; color: var(--oh-muted); }
.opw-home-card__type { align-self: center; display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: var(--oh-soft); font-size: 12.5px; font-weight: 700; line-height: 16px; color: var(--oh-navy); }
.opw-home-card__go {
    flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--oh-soft); color: var(--oh-navy);
    transition: background .2s, color .2s, transform .25s var(--oh-ease);
}

/* Grade no celular: lista (foto à esquerda), mais atrativos por tela. */
.opw-home-row.is-grid .opw-home-row__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@container ohome (max-width: 559px) {
    .opw-home-row.is-m-list .opw-home-card__link { flex-direction: row; border-radius: 18px; }
    .opw-home-row.is-m-list .opw-home-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 128px; }
    .opw-home-row.is-m-list .opw-home-card__flag { display: none; }
    .opw-home-row.is-m-list .opw-home-card__body { padding: 12px 14px; gap: 2px; }
    .opw-home-row.is-m-list .opw-home-card__name { font-size: 17px !important; line-height: 21px !important; }
    .opw-home-row.is-m-list .opw-home-card__pitch { margin-bottom: 0; }
    .opw-home-row.is-m-list .opw-home-card__pitch { -webkit-line-clamp: 1; font-size: 13.5px; line-height: 19px; }
    .opw-home-row.is-m-list .opw-home-card__foot { padding-top: 8px; border-top: 0; }
    .opw-home-row.is-m-list .opw-home-card__go { display: none; }
}

/* ============================ 3. Passaporte: o card-bilhete ============================ */
.opw-home-passes__list { display: flex; gap: 14px; }
.opw-home-pass { display: flex; min-width: 0; container-type: inline-size; filter: drop-shadow(0 16px 26px rgba(0, 8, 95, .26)); }
.opw-home-passes [data-opw-rail] > .opw-home-pass { flex-basis: min(86%, 380px); }
.opw-home-passes.is-single .opw-home-pass { flex: 1 1 100%; }
.opw-home-passes.is-all .opw-home-passes__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.opw-home-pass__link {
    --cut: calc(100cqw * 9 / 16);
    position: relative; isolation: isolate; display: flex; flex-direction: column; width: 100%; border-radius: 24px; overflow: hidden; color: #fff !important;
    background-color: var(--oh-navy);
    /* Os dois "furos" do bilhete na linha do picote, de verdade (máscara, não um círculo branco). */
    -webkit-mask: radial-gradient(circle 13px at 0 var(--cut), #0000 96%, #000 100%), radial-gradient(circle 13px at 100% var(--cut), #0000 96%, #000 100%);
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle 13px at 0 var(--cut), #0000 96%, #000 100%), radial-gradient(circle 13px at 100% var(--cut), #0000 96%, #000 100%);
    mask-composite: intersect;
    transition: transform .3s var(--oh-ease);
}
.opw-home-pass__link::before {
    /* O degradê num pseudo-elemento: o "lazy load" de fundos do Elementor zera o background-image
       dos elementos (não dos pseudo) abaixo da dobra até o script dele rodar. */
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(120% 80% at 100% 100%, rgba(255, 93, 6, .26) 0%, rgba(255, 93, 6, 0) 52%),
        linear-gradient(165deg, var(--oh-navy-2) 0%, var(--oh-navy) 48%, var(--oh-navy-3) 100%);
}
.opw-home-pass__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--oh-navy-2); }
.opw-home .opw-home-pass__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--oh-ease); }
.opw-home-pass__media::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, rgba(0, 8, 95, 0), rgba(0, 8, 95, .45)); pointer-events: none; }
.opw-home-pass__stamp {
    position: absolute; right: 14px; top: 14px; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 82px; height: 82px; border-radius: 50%; background: var(--oh-accent); color: var(--oh-navy); text-align: center;
    box-shadow: 0 10px 22px rgba(255, 93, 6, .45), inset 0 0 0 5px var(--oh-accent), inset 0 0 0 6.5px rgba(0, 8, 95, .38); transform: rotate(-9deg);
}
.opw-home-pass__stamp small { display: block; font-size: 10.5px; font-weight: 700; line-height: 13px; letter-spacing: .06em; text-transform: uppercase; }
.opw-home-pass__stamp b { display: block; max-width: 70px; font-family: var(--oh-display); font-size: 21px; font-weight: 700; line-height: 24px; white-space: nowrap; }
.opw-home-pass__body { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 20px; }
/* O picote: linha tracejada entre a foto e o canhoto. */
.opw-home-pass__body::before { content: ''; position: absolute; top: -1px; left: 22px; right: 22px; border-top: 2px dashed rgba(255, 255, 255, .3); }
.opw-home-pass__kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--oh-peach); font-size: 12.5px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.opw-home-pass__kicker svg { color: var(--oh-accent); }
.opw-home .opw-home-pass__name {
    margin: 0 !important; font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: 23px !important; line-height: 28px !important;
    letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; text-wrap: balance;
}
.opw-home-pass__parts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.opw-home-pass__part {
    display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; min-height: 34px; padding: 3px 12px 3px 3px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 700; line-height: 18px; color: #fff;
}
.opw-home-pass__part > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.opw-home .opw-home-pass__thumb { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50% !important; object-fit: cover; background: rgba(255, 255, 255, .18); }
.opw-home-pass__plus { color: var(--oh-accent); font-family: var(--oh-display); font-size: 18px; font-weight: 700; line-height: 1; }
.opw-home-pass__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 12px; margin-top: auto; padding-top: 6px; }
.opw-home-pass__price { display: flex; flex-direction: column; min-width: 0; }
.opw-home-pass__was { font-size: 13.5px; line-height: 18px; color: rgba(255, 255, 255, .72); }
.opw-home-pass__was del { color: rgba(255, 255, 255, .72); }
.opw-home-pass__now { display: flex; align-items: baseline; gap: 6px; color: rgba(255, 255, 255, .85); font-size: 14px; }
.opw-home-pass__now b { font-family: var(--oh-display); font-size: 28px; font-weight: 700; line-height: 32px; color: var(--oh-cream); font-variant-numeric: tabular-nums; }
.opw-home-pass__per { font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .78); }
.opw-home-pass__price.is-by-date .opw-home-pass__per { font-size: 15px; font-weight: 700; color: var(--oh-cream); }
.opw-home-pass__cta {
    display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--oh-cream); color: var(--oh-navy);
    font-size: 16px; font-weight: 700; line-height: 20px; white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); transition: background .2s;
}
.opw-home-pass__cta svg { transition: transform .2s var(--oh-ease); }

/* Um Passaporte sozinho num bloco largo: o bilhete deitado (foto | canhoto). */
@container (min-width: 680px) {
    .opw-home-passes.is-single .opw-home-pass__link {
        --cut-x: 46%;
        flex-direction: row; min-height: 340px;
        -webkit-mask: radial-gradient(circle 14px at var(--cut-x) 0, #0000 96%, #000 100%), radial-gradient(circle 14px at var(--cut-x) 100%, #0000 96%, #000 100%);
        -webkit-mask-composite: source-in;
        mask: radial-gradient(circle 14px at var(--cut-x) 0, #0000 96%, #000 100%), radial-gradient(circle 14px at var(--cut-x) 100%, #0000 96%, #000 100%);
        mask-composite: intersect;
    }
    .opw-home-passes.is-single .opw-home-pass__media { flex: 0 0 46%; aspect-ratio: auto; }
    .opw-home-passes.is-single .opw-home-pass__media::after { inset: 0 0 0 auto; width: 30%; height: auto; background: linear-gradient(90deg, rgba(0, 8, 95, 0), rgba(0, 8, 95, .4)); }
    .opw-home-passes.is-single .opw-home-pass__stamp { right: auto; left: 22px; top: 22px; width: 96px; height: 96px; }
    .opw-home-passes.is-single .opw-home-pass__stamp b { max-width: 84px; font-size: 25px; line-height: 28px; }
    .opw-home-passes.is-single .opw-home-pass__body { justify-content: center; gap: 14px; padding: 34px 40px 34px 44px; }
    .opw-home-passes.is-single .opw-home-pass__body::before { top: 22px; bottom: 22px; left: -1px; right: auto; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .3); }
    .opw-home-passes.is-single .opw-home-pass__name { font-size: 32px !important; line-height: 38px !important; }
    .opw-home-passes.is-single .opw-home-pass__now b { font-size: 36px; line-height: 40px; }
    .opw-home-passes.is-single .opw-home-pass__foot { margin-top: 10px; }
    .opw-home-passes.is-single .opw-home-pass__cta { min-height: 52px; padding: 0 22px; font-size: 17px; }
}

/* ============================ 4. Banner principal ============================ */
.opw-home-hero { --oh-hero-min: 500px; --oh-scrim: .9; }
.opw-home-hero.is-h-compact { --oh-hero-min: 420px; }
.opw-home-hero.is-h-tall { --oh-hero-min: 580px; }
.opw-home-hero.is-o-soft { --oh-scrim: .72; }
.opw-home-hero.is-o-strong { --oh-scrim: 1; }
.opw-home-hero.is-square { padding-inline: 0; }
.opw-home-hero__frame {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: var(--oh-hero-min); border-radius: 28px; color: #fff; background-color: var(--oh-navy);
    background-image:
        radial-gradient(90% 70% at 100% 0%, rgba(255, 93, 6, .34) 0%, rgba(255, 93, 6, 0) 60%),
        radial-gradient(80% 60% at 0% 100%, rgba(13, 26, 143, .9) 0%, rgba(13, 26, 143, 0) 70%),
        linear-gradient(160deg, var(--oh-navy-2) 0%, var(--oh-navy) 50%, var(--oh-navy-3) 100%);
}
.opw-home-hero.is-square .opw-home-hero__frame { border-radius: 0; }
/* Sem foto: anéis da marca no canto. */
.opw-home-hero.no-image .opw-home-hero__frame::before {
    content: ''; position: absolute; z-index: -1; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%;
    border: 38px solid rgba(251, 255, 225, .06); box-shadow: 0 0 0 46px rgba(255, 93, 6, .07);
}
.opw-home-hero__media { position: absolute; inset: 0; z-index: -2; display: block; }
.opw-home .opw-home-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.opw-home-hero.is-cover.has-image .opw-home-hero__frame::after {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: var(--oh-scrim);
    background: linear-gradient(180deg, rgba(0, 5, 61, .42) 0%, rgba(0, 5, 61, .52) 30%, rgba(0, 5, 61, .8) 60%, rgba(0, 5, 61, .96) 100%);
}
.opw-home-hero__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 660px; padding: 30px 22px 28px; }
.opw-home-hero.has-dock .opw-home-hero__content { padding-bottom: 64px; }
.opw-home-hero__eyebrow {
    display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(251, 255, 225, .14);
    border: 1px solid rgba(251, 255, 225, .28); color: var(--oh-cream); font-size: 12.5px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase;
}
.opw-home .opw-home-hero__title {
    margin: 0 !important; padding: 0; font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: clamp(31px, 8.6vw, 42px) !important; line-height: 1.08 !important;
    letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 5, 61, .25);
}
.opw-home .opw-home-hero__text { font-size: 16.5px; line-height: 24px; color: rgba(255, 255, 255, .9); max-width: 34em; }
.opw-home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 6px; }
.opw-home-hero__actions .opw-home-btn { flex: 1 1 100%; }
.opw-home-hero__badges { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px !important; }
.opw-home-hero__badges li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; line-height: 18px; color: rgba(255, 255, 255, .92); }
.opw-home-hero__badges svg { color: var(--oh-peach); }

/* Canto em degraus (1.86.0): grafismo da marca no alto à direita, por cima da película e
   embaixo do texto. A largura segue a do bloco (cqw); o texto do celular começa abaixo dele. */
.opw-home-hero__graphic { position: absolute; z-index: 0; top: 0; right: 0; width: min(34cqw, 150px); line-height: 0; color: var(--oh-accent); pointer-events: none; }
.opw-home .opw-home-hero__graphic svg { display: block; width: 100%; height: auto; }
.opw-home-hero.is-cover.has-graphic .opw-home-hero__content { padding-top: calc(min(34cqw, 150px) * 2 / 3 + 16px); }
.opw-home-hero.has-graphic.no-image .opw-home-hero__frame::before { display: none; }
/* Na foto ao lado, o canto fica no canto da foto (que tem margem e cantos próprios). */
.opw-home-hero.is-split.has-image .opw-home-hero__graphic { top: 10px; right: 10px; width: min(30cqw, 132px); overflow: hidden; border-top-right-radius: 20px; }

/* Foto ao lado: no celular, a foto em cima (dentro do cartão azul). */
.opw-home-hero.is-split .opw-home-hero__frame { justify-content: flex-start; min-height: 0; }
.opw-home-hero.is-split .opw-home-hero__media { position: relative; inset: auto; z-index: 0; margin: 10px 10px 0; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }

/* Barra de baixo do banner (1.87.0): a busca em cima e, embaixo, as cidades. */
.opw-home-hero__dock {
    position: relative; z-index: 2; margin: -40px 12px 0; padding: 14px 0 12px; border: 1px solid var(--oh-line); border-radius: 22px;
    background: #fff; box-shadow: var(--oh-shadow-3);
}
.opw-home-hero__dock.has-search { padding-top: 12px; }
.opw-home-hero__dock .opw-home-searchbar { margin: 0 12px; }
.opw-home-hero__places { display: flex; flex-direction: column; gap: 10px; }
.opw-home-hero__dock.has-search .opw-home-hero__places { margin-top: 12px; }
.opw-home-hero__dock-label { display: flex; align-items: center; gap: 6px; margin: 0 16px; color: var(--oh-navy); font-size: 14.5px; font-weight: 700; line-height: 20px; }
.opw-home-hero__dock-label svg { color: var(--oh-accent); }
.opw-home-hero__dock .opw-home-chips { padding: 0 14px 2px; scroll-padding: 0 14px; }

/* Botões de cidade (filtro da página) e o link "Todos os atrativos": barra, busca e /atrativos/. */
.opw-home-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.opw-home-chips::-webkit-scrollbar { display: none; }
:is(.opw-home, .opw-home-page) .opw-home-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 4px 10px 4px 4px; border: 1px solid var(--oh-line-2); border-radius: 999px;
    background: #fff; color: var(--oh-navy) !important; font-size: 15px; font-weight: 700; line-height: 20px; text-decoration: none !important; white-space: nowrap;
    -webkit-tap-highlight-color: transparent; transition: border-color .2s, background .2s, color .2s, transform .15s;
}
:is(.opw-home, .opw-home-page) .opw-home-chip img { display: block; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.opw-home-chip > svg { flex: 0 0 auto; margin-left: 8px; color: var(--oh-accent); }
.opw-home-chip small { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--oh-soft); color: var(--oh-muted); font-size: 12.5px; font-weight: 700; line-height: 24px; text-align: center; }
:is(.opw-home, .opw-home-page) .opw-home-chip.is-everywhere { padding-right: 16px; }
/* 1.98.7: "Todos os atrativos" com a cara dos outros botões (o azul cheio parecia o escolhido). */
:is(.opw-home, .opw-home-page) .opw-home-chip.is-link { gap: 6px; padding: 0 16px; }
.opw-home-chip.is-link svg { margin: 0; color: var(--oh-accent); }
/* A escolhida (o JS marca; sem escolha, "Todas as cidades"). */
:is(.opw-home, .opw-home-page) .opw-home-chip[aria-current="true"] { border-color: var(--oh-navy); background: var(--oh-navy); color: #fff !important; }
.opw-home-chip[aria-current="true"] > svg { color: var(--oh-peach); }
.opw-home-chip[aria-current="true"] small { background: rgba(255, 255, 255, .16); color: #fff; }
:is(.opw-home, .opw-home-page) .opw-home-chip:active { transform: scale(.97); }
:is(.opw-home, .opw-home-page) .opw-home-chip:focus-visible { outline: 3px solid var(--oh-accent) !important; outline-offset: 2px; }

/* Campo de busca (abre a janela de busca; sem JS, manda para /atrativos/?busca=). */
.opw-home-searchbar { position: relative; display: flex; align-items: center; margin: 0; }
.opw-home-searchbar__icon { position: absolute; left: 16px; top: 50%; display: grid; place-items: center; transform: translateY(-50%); color: var(--oh-navy); pointer-events: none; }
:is(.opw-home, .opw-home-page) .opw-home-searchbar__input {
    -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; min-height: 52px; margin: 0; padding: 0 56px 0 48px !important;
    border: 1.5px solid var(--oh-line-2) !important; border-radius: 16px !important; background: var(--oh-soft) !important; box-shadow: none !important;
    color: var(--oh-navy) !important; font-family: var(--oh-body) !important; font-size: 16.5px !important; font-weight: 500; line-height: 24px; cursor: text;
    transition: border-color .2s, background .2s;
}
.opw-home-searchbar__input::placeholder { color: rgba(0, 8, 95, .6); opacity: 1; }
.opw-home-searchbar__input::-webkit-search-cancel-button { -webkit-appearance: none; }
:is(.opw-home, .opw-home-page) .opw-home-searchbar__input:focus { outline: none; border-color: var(--oh-navy) !important; background: #fff !important; }
:is(.opw-home, .opw-home-page) .opw-home-searchbar__input:focus-visible { outline: 3px solid var(--oh-accent) !important; outline-offset: 2px; }
:is(.opw-home, .opw-home-page) .opw-home-searchbar__go {
    position: absolute; right: 6px; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0 !important; margin: 0;
    transform: translateY(-50%); border: 0 !important; border-radius: 12px !important; background: var(--oh-accent) !important; color: #fff !important; box-shadow: none !important; cursor: pointer;
}

/* Bloco "OneRio — Busca". */
.opw-home-search__box { display: flex; flex-direction: column; gap: 14px; }

/* Filtro de cidade: "em Gramado ×" no título e o aviso quando o bloco fica vazio. */
.opw-home .opw-home__city {
    display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 8px 0 0; padding: 0 6px 0 12px !important; border: 0 !important; border-radius: 999px !important;
    background: var(--oh-accent-soft) !important; color: var(--oh-accent-ink) !important; box-shadow: none !important; font-size: 14px !important; font-weight: 700 !important; line-height: 18px !important; cursor: pointer;
}
.opw-home__city span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(200, 73, 10, .14); font-size: 15px; line-height: 1; }
.opw-home__empty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 18px 20px; border: 1.5px dashed var(--oh-line-2); border-radius: 20px; color: var(--oh-muted); font-size: 15.5px; line-height: 22px; }
.opw-home .opw-home__empty button {
    min-height: 40px; padding: 0 14px !important; border: 0 !important; border-radius: 999px !important; background: var(--oh-navy) !important; color: #fff !important;
    box-shadow: none !important; font-size: 14.5px !important; font-weight: 700 !important; line-height: 18px !important; cursor: pointer;
}
/* Card de cidade escolhida no bloco Destinos. */
.opw-home .opw-home-polo__link[aria-current="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--oh-accent), var(--oh-shadow-2); }

/* ============================ 5. Banner de campanha ============================ */
.opw-home-promo { --p-bg-c: var(--oh-navy); --p-bg: linear-gradient(150deg, var(--oh-navy-2) 0%, var(--oh-navy) 55%, var(--oh-navy-3) 100%); --p-ink: #fff; --p-muted: rgba(255, 255, 255, .86); --p-tag-bg: var(--oh-cream); --p-tag-ink: var(--oh-navy); --p-line: rgba(255, 255, 255, .4); --p-copy-bg: var(--oh-cream); --p-copy-ink: var(--oh-navy); --p-border: transparent; }
.opw-home-promo.is-orange { --p-bg-c: var(--oh-accent); --p-bg: linear-gradient(140deg, #ff7a2e 0%, var(--oh-accent) 55%, #f04f00 100%); --p-ink: var(--oh-navy); --p-muted: rgba(0, 8, 95, .86); --p-tag-bg: var(--oh-navy); --p-tag-ink: #fff; --p-line: rgba(0, 8, 95, .42); --p-copy-bg: var(--oh-navy); --p-copy-ink: #fff; }
.opw-home-promo.is-cream { --p-bg-c: var(--oh-cream); --p-bg: none; --p-ink: var(--oh-navy); --p-muted: var(--oh-muted); --p-tag-bg: var(--oh-accent-soft); --p-tag-ink: var(--oh-accent-ink); --p-line: rgba(0, 8, 95, .3); --p-copy-bg: var(--oh-navy); --p-copy-ink: #fff; --p-border: rgba(0, 8, 95, .08); }
.opw-home-promo.is-white { --p-bg-c: #fff; --p-bg: none; --p-ink: var(--oh-navy); --p-muted: var(--oh-muted); --p-tag-bg: var(--oh-accent-soft); --p-tag-ink: var(--oh-accent-ink); --p-line: rgba(0, 8, 95, .3); --p-copy-bg: var(--oh-navy); --p-copy-ink: #fff; --p-border: var(--oh-line); }
.opw-home-promo__card {
    position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border: 1px solid var(--p-border); border-radius: 26px;
    background-color: var(--p-bg-c); background-image: var(--p-bg); color: var(--p-ink); box-shadow: var(--oh-shadow-2);
}
.opw-home-promo.is-orange .opw-home-promo__card::before { content: ''; position: absolute; z-index: -1; right: -70px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, .12); }
.opw-home-promo__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.opw-home .opw-home-promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--oh-ease); }
.opw-home-promo__content { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 20px 22px; }
.opw-home-promo__eyebrow { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: 999px; background: var(--p-tag-bg); color: var(--p-tag-ink); font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.opw-home .opw-home-promo__title {
    margin: 0 !important; font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: 27px !important; line-height: 31px !important;
    letter-spacing: 0 !important; text-transform: none !important; color: var(--p-ink) !important; text-wrap: balance;
}
.opw-home .opw-home-promo__text { font-size: 16px; line-height: 23px; color: var(--p-muted); max-width: 36em; }
.opw-home-promo__coupon {
    position: relative; z-index: 2; display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 2px 14px;
    padding: 8px 8px 8px 16px; border: 2px dashed var(--p-line); border-radius: 16px;
}
.opw-home-promo__coupon-label { grid-column: 1; grid-row: 1; font-size: 13px; font-weight: 500; line-height: 17px; color: var(--p-muted); }
.opw-home-promo__coupon code { grid-column: 1; }
.opw-home-promo__coupon .opw-home-promo__copy { grid-column: 2; grid-row: 1 / span 2; }
.opw-home-promo__coupon code { padding: 0; background: none; color: var(--p-ink); font-family: var(--oh-display); font-size: 19px; font-weight: 700; line-height: 24px; letter-spacing: .06em; user-select: all; }
.opw-home .opw-home-promo__copy {
    min-height: 40px; padding: 0 14px !important; border: 0 !important; border-radius: 11px !important; background: var(--p-copy-bg) !important; color: var(--p-copy-ink) !important;
    font-size: 14.5px !important; font-weight: 700 !important; line-height: 18px !important; cursor: pointer; transition: transform .15s;
}
.opw-home .opw-home-promo__copy:active { transform: scale(.96); }
.opw-home .opw-home-promo__copy.is-done { background: #1a7f37 !important; color: #fff !important; }
.opw-home-promo__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; width: 100%; }
.opw-home-promo__foot .opw-home-btn { flex: 0 1 auto; }
.opw-home-promo__ends { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; line-height: 18px; color: var(--p-muted); }
/* O banner inteiro é o link do botão (o cupom fica por cima, clicável). */
.opw-home .opw-home-btn.is-stretch { position: static; }
.opw-home .opw-home-btn.is-stretch:active { transform: none; }
.opw-home .opw-home-btn.is-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 26px; }
.opw-home-promo.is-expired .opw-home-promo__card { opacity: .55; }

/* ============================ 6. Atrativo em destaque ============================ */
.opw-home-spot__card {
    position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(0, 8, 95, .07); border-radius: 26px;
    background: var(--oh-cream); color: var(--oh-navy); box-shadow: var(--oh-shadow-1);
}
.opw-home-spot__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--oh-soft); }
.opw-home-spot__media.is-empty { background-color: var(--oh-navy); background-image: radial-gradient(120% 120% at 82% -10%, var(--oh-navy-2) 0%, var(--oh-navy) 60%); }
.opw-home .opw-home-spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--oh-ease); }
.opw-home-spot__content { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 20px 24px; }
.opw-home-spot__eyebrow { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--oh-navy); color: var(--oh-cream); font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.opw-home-spot__eyebrow svg { color: var(--oh-accent); fill: var(--oh-accent); }
.opw-home-spot__place { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--oh-muted); }
.opw-home-spot__place svg { color: var(--oh-accent); }
.opw-home .opw-home-spot__title {
    margin: 0 !important; font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: 30px !important; line-height: 34px !important;
    letter-spacing: 0 !important; text-transform: none !important; color: var(--oh-navy) !important; text-wrap: balance;
}
.opw-home .opw-home-spot__text { font-size: 16px; line-height: 24px; color: var(--oh-muted); max-width: 34em; }
.opw-home-spot__price .opw-home-card__amount b { font-size: 26px; line-height: 30px; }
.opw-home-spot__price .opw-home-card__type { background: rgba(0, 8, 95, .08); }
.opw-home-spot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 6px; }
.opw-home .opw-home-spot__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--oh-navy) !important; font-size: 15.5px; font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; }
.opw-home-spot__link svg { transition: transform .2s var(--oh-ease); }
.opw-home-spot__link:hover svg { transform: translateX(3px); }

/* ============================ 7. Vantagens ============================ */
.opw-home-perks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opw-home-perk { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.opw-home-perks.is-cards .opw-home-perk { padding: 14px 14px 16px; border: 1px solid var(--oh-line); border-radius: 20px; background: #fff; box-shadow: var(--oh-shadow-1); }
.opw-home-perk__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--oh-accent-soft); color: var(--oh-accent-ink); }
.opw-home-perk__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.opw-home-perk__title { font-size: 15.5px; font-weight: 700; line-height: 20px; color: var(--oh-navy); }
.opw-home-perk__text { font-size: 13.5px; line-height: 19px; color: var(--oh-muted); }
.opw-home-perks.is-cream .opw-home-perks__list, .opw-home-perks.is-navy .opw-home-perks__list { padding: 14px !important; border-radius: 26px; }
.opw-home-perks.is-cream .opw-home-perks__list { background: var(--oh-cream); }
.opw-home-perks.is-navy .opw-home-perks__list { background-color: var(--oh-navy); background-image: linear-gradient(160deg, var(--oh-navy-2), var(--oh-navy) 60%, var(--oh-navy-3)); }
.opw-home-perks.is-navy .opw-home-perk__title { color: #fff; }
.opw-home-perks.is-navy .opw-home-perk__text { color: rgba(255, 255, 255, .78); }
.opw-home-perks.is-navy .opw-home-perk__icon { background: rgba(255, 93, 6, .2); color: var(--oh-peach); }
.opw-home-perks.is-navy.is-cards .opw-home-perk { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.opw-home-perks.is-cream.is-cards .opw-home-perk { box-shadow: none; border-color: rgba(0, 8, 95, .08); }
.opw-home-perks.is-plain .opw-home-perks__list { gap: 18px 14px; }

/* ============================ Página "Todos os atrativos" (/atrativos/) ============================ */
.opw-home-page { box-sizing: border-box; width: 100%; max-width: 1228px; margin: 0 auto; padding: 24px 16px 64px; font-family: var(--oh-body); color: var(--oh-navy); }
.opw-home-page *, .opw-home-page *::before, .opw-home-page *::after { box-sizing: border-box; }
.opw-home-page__head { margin: 0 0 22px; }
.opw-home-page .opw-home-page__title {
    margin: 0 0 6px !important; font-family: var(--oh-display) !important; font-weight: 700 !important; font-size: 34px !important; line-height: 40px !important;
    letter-spacing: 0 !important; text-transform: none !important; color: var(--oh-navy) !important;
}
.opw-home-page .opw-home-page__lead { margin: 0 !important; font-size: 16px; line-height: 23px; color: var(--oh-muted); }
.opw-home-page .opw-home-page__lead a { color: var(--oh-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.opw-home-page__search { margin-top: 18px; max-width: 640px; }
.opw-home-page__chips { margin: 14px -16px 0; }
.opw-home-page__chips .opw-home-chips { padding: 0 16px 2px; }
.opw-home-page__more { margin-top: 48px; }
.opw-home-page__empty { margin: 24px 0; font-size: 16px; color: var(--oh-muted); }

/* ============================ Celular ============================ */
@media (max-width: 767px) {
    .opw-home__nav { display: none !important; }
    /* Fileiras de ponta a ponta da tela, com o primeiro card alinhado ao texto. A sobra é
       medida pelo bloco (cqw), não em %: o % do scroll-padding seria da própria fileira. */
    .opw-home [data-opw-rail] {
        --oh-bleed: max(0px, calc((100vw - 100cqw) / 2));
        margin-inline: calc(-1 * var(--oh-bleed)) !important; padding-inline: var(--oh-bleed) !important; scroll-padding-inline: var(--oh-bleed);
    }
    .opw-home-polos.is-rail [data-opw-rail] > li { flex-basis: min(84%, 340px); }
}

/* ============================ Tablet e computador ============================ */
@media (min-width: 768px) {
    .opw-home { --oh-gap: 20px; --oh-vgap: 20px; --oh-min-gutter: 24px; }
    .opw-home__head { margin-bottom: 22px; }
    .opw-home .opw-home__title { font-size: 32px !important; line-height: 38px !important; }
    .opw-home .opw-home__sub { font-size: 17px; line-height: 24px; }

    .opw-home-polos__list, .opw-home-polos.is-rail .opw-home-polos__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--oh-vgap) var(--oh-gap); overflow: visible; margin-block: 0 !important; padding-block: 0 !important; }
    .opw-home-polo__link { height: 320px; border-radius: 30px; }
    .opw-home-polo__body { left: 28px; right: 92px; bottom: 28px; }
    .opw-home .opw-home-polo__name { font-size: 36px !important; line-height: 42px !important; }
    .opw-home-polo__go { right: 26px; bottom: 26px; width: 52px; height: 52px; }

    .opw-home-card__body { padding: 16px 18px 16px; }

    /* Banner principal */
    .opw-home-hero { --oh-hero-min: 540px; }
    .opw-home-hero.is-h-compact { --oh-hero-min: 440px; }
    .opw-home-hero.is-h-tall { --oh-hero-min: 640px; }
    .opw-home-hero__frame { justify-content: center; border-radius: 32px; }
    .opw-home-hero.is-cover.has-image .opw-home-hero__frame::after { background: linear-gradient(90deg, rgba(0, 5, 61, .94) 0%, rgba(0, 5, 61, .78) 34%, rgba(0, 5, 61, .3) 66%, rgba(0, 5, 61, .05) 100%); }
    .opw-home-hero__content { gap: 16px; padding: 56px 56px; }
    .opw-home-hero.has-dock .opw-home-hero__content { padding-bottom: 92px; }
    .opw-home .opw-home-hero__title { font-size: clamp(42px, 4.8vw, 64px) !important; }
    .opw-home .opw-home-hero__text { font-size: 19px; line-height: 29px; }
    .opw-home-hero__actions { width: auto; }
    .opw-home-hero__actions .opw-home-btn { flex: 0 0 auto; }
    .opw-home-hero.is-split .opw-home-hero__frame { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; min-height: var(--oh-hero-min); }
    .opw-home-hero.is-split .opw-home-hero__media { grid-column: 2; grid-row: 1; margin: 16px; aspect-ratio: auto; border-radius: 24px; }
    .opw-home-hero.is-split .opw-home-hero__content { grid-column: 1; grid-row: 1; align-self: center; }
    .opw-home-hero__graphic { width: min(24cqw, 280px); }
    .opw-home-hero.is-cover.has-graphic .opw-home-hero__content { padding-top: 56px; max-width: min(660px, calc(100% - min(24cqw, 280px))); }
    .opw-home-hero.is-split.has-image .opw-home-hero__graphic { top: 16px; right: 16px; width: min(14cqw, 200px); border-top-right-radius: 24px; }
    .opw-home-hero__dock { max-width: calc(100% - 96px); margin: -48px auto 0; padding: 14px 14px 14px 24px; border-radius: 24px; }
    .opw-home-hero__dock.has-search { padding: 14px; }
    .opw-home-hero__dock .opw-home-searchbar { margin: 0; }
    .opw-home-hero__places { flex-direction: row; align-items: center; gap: 18px; }
    .opw-home-hero__dock.has-search .opw-home-hero__places { margin-top: 12px; padding-left: 10px; }
    .opw-home-hero__dock-label { flex: 0 0 auto; margin: 0; font-size: 15.5px; }
    .opw-home-hero__dock .opw-home-chips { flex: 1 1 auto; flex-wrap: wrap; padding: 0; overflow: visible; }
    :is(.opw-home, .opw-home-page) .opw-home-chips { flex-wrap: wrap; overflow: visible; }
    :is(.opw-home, .opw-home-page) .opw-home-chip:hover { border-color: var(--oh-navy); }
    :is(.opw-home, .opw-home-page) .opw-home-searchbar__input { min-height: 56px; font-size: 17px !important; }
    .opw-home-searchbar__input:hover { border-color: var(--oh-navy) !important; }

    /* Campanha e destaque: lado a lado */
    .opw-home-promo__content { gap: 12px; padding: 36px 40px; justify-content: center; }
    .opw-home .opw-home-promo__title { font-size: 34px !important; line-height: 40px !important; }
    .opw-home .opw-home-promo__text { font-size: 17px; line-height: 26px; }
    .opw-home-promo__card { border-radius: 30px; }
    .opw-home .opw-home-btn.is-stretch::after { border-radius: 30px; }
    .opw-home-spot__card { border-radius: 30px; }
    .opw-home-spot__content { gap: 12px; padding: 40px 44px; justify-content: center; }
    .opw-home .opw-home-spot__title { font-size: 40px !important; line-height: 46px !important; }
    .opw-home .opw-home-spot__text { font-size: 17.5px; line-height: 27px; }

    .opw-home-perks__list { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
    .opw-home-perk { flex-direction: row; gap: 14px; }
    .opw-home-perks.is-cards .opw-home-perk { padding: 18px 20px; }
    .opw-home-perk__icon { flex: 0 0 46px; width: 46px; height: 46px; }
    .opw-home-perks.is-cream .opw-home-perks__list, .opw-home-perks.is-navy .opw-home-perks__list { padding: 20px !important; border-radius: 30px; }

    .opw-home-page { padding: 40px 24px 96px; }
    .opw-home-page__head { margin-bottom: 30px; }
    .opw-home-page .opw-home-page__title { font-size: 48px !important; line-height: 54px !important; }
    .opw-home-page .opw-home-page__lead { font-size: 18px; line-height: 27px; }
    .opw-home-page__chips { margin: 18px 0 0; }
    .opw-home-page__chips .opw-home-chips { padding: 0; }
    .opw-home-page__more { margin-top: 72px; }
}

/* Quantos cards por tela: pela largura do bloco (vale numa coluna do Elementor também). */
@container ohome (min-width: 560px) {
    .opw-home-row [data-opw-rail] > li { flex-basis: calc((100% - 2 * var(--oh-gap)) / 2.25); }
    .opw-home-row.is-grid .opw-home-row__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--oh-vgap) var(--oh-gap); }
    .opw-home-passes [data-opw-rail] > .opw-home-pass { flex-basis: calc((100% - var(--oh-gap)) / 1.6); }
}
@container ohome (min-width: 760px) {
    .opw-home-row [data-opw-rail] > li { flex-basis: calc((100% - 2 * var(--oh-gap)) / 3); }
    .opw-home-row.is-grid .opw-home-row__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .opw-home-passes.is-few .opw-home-passes__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--oh-vgap) var(--oh-gap); overflow: visible; margin-block: 0 !important; padding-block: 0 !important; }
    .opw-home-passes.is-many [data-opw-rail] > .opw-home-pass { flex-basis: calc((100% - 2 * var(--oh-gap)) / 3); }
    .opw-home-promo.has-image .opw-home-promo__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .opw-home-promo.has-image .opw-home-promo__media { aspect-ratio: auto; min-height: 320px; }
    .opw-home-promo.is-img-left .opw-home-promo__media { order: -1; }
    .opw-home-promo.is-img-right .opw-home-promo__media { order: 2; }
    .opw-home-promo.is-compact .opw-home-promo__content { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: center; padding: 28px 36px; }
    .opw-home-promo.is-compact .opw-home-promo__content > * { grid-column: 1; justify-self: start; }
    .opw-home-promo.is-compact .opw-home-promo__foot { grid-column: 2; grid-row: 1 / span 5; flex-direction: column; align-items: flex-end; width: auto; margin: 0; }
    .opw-home-spot__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .opw-home-spot__media { aspect-ratio: auto; min-height: 420px; }
    .opw-home-spot.is-img-right .opw-home-spot__media { order: 2; }
}
@container ohome (min-width: 1000px) {
    .opw-home-row [data-opw-rail] > li { flex-basis: calc((100% - 3 * var(--oh-gap)) / 4); }
    .opw-home-row.is-grid .opw-home-row__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================ Formatos do bloco de atrativos (1.90.0) ============================
 * Um HTML só: até 767 px valem as classes is-m-*, de 768 px em diante as is-d-*.
 * Vêm depois das regras de largura do bloco de propósito: têm de vencê-las.
 *
 * Linhas contadas (1.91.0):
 * - Fileira com 2+ linhas: vira grade que corre de lado. A largura do card sai de --oh-per
 *   (quantos aparecem por vez), porque a de sempre é flex-basis, que aqui não vale.
 * - Grade: as linhas que sobram têm altura zero e ficam cortadas. Não dá para esconder por
 *   posição (:nth-child): o filtro de cidade tira cards do meio e a conta sairia errada, e as
 *   colunas automáticas dependem da largura do bloco. Assim sempre aparecem N linhas cheias.
 *   Por isso o vão entre linhas é um padding do card: row-gap somaria altura às linhas vazias.
 *   O corte não pode pegar o topo: o card sobe ao passar o mouse, daí a folga de 12px em cima.
 *   O card guarda a própria altura (min-height): espremido a zero, o conteúdo centralizado
 *   vazaria para cima, por cima da última linha à vista.
 *   O home.js marca os cards cortados como inert, para o Tab e o leitor de tela não entrarem. */
.opw-home-row__list { --oh-row-gap: var(--oh-vgap); --oh-per: 1.25; }
@container ohome (min-width: 560px) { .opw-home-row__list { --oh-per: 2.25; } }

/* Compacto no computador: cabem menos por linha do que o completo. */
@container ohome (min-width: 760px) {
    .opw-home-row__list { --oh-per: 3; }
    .opw-home-row.is-d-compact .opw-home-row__list { --oh-per: 2.25; }
    .opw-home-row.is-grid.is-d-compact .opw-home-row__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .opw-home-row.is-d-compact [data-opw-rail] > li { flex-basis: calc((100% - var(--oh-gap)) / 2.25); }
}
@container ohome (min-width: 1000px) { .opw-home-row__list { --oh-per: 4; } }
@container ohome (min-width: 1100px) {
    .opw-home-row.is-d-compact .opw-home-row__list { --oh-per: 3; }
    .opw-home-row.is-grid.is-d-compact .opw-home-row__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .opw-home-row.is-d-compact [data-opw-rail] > li { flex-basis: calc((100% - 2 * var(--oh-gap)) / 3); }
}

/* Foto inteira no computador (1.92.0): o card é em pé, então cabem mais por linha. */
@media (min-width: 768px) {
    .opw-home-row.is-d-tile .opw-home-row__list { --oh-per: 2.25; }
    .opw-home-row.is-grid.is-d-tile .opw-home-row__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .opw-home-row.is-d-tile [data-opw-rail] > li { flex-basis: calc((100% - (var(--oh-per) - 1) * var(--oh-gap)) / var(--oh-per)); }
    @container ohome (min-width: 560px) {
        .opw-home-row.is-d-tile .opw-home-row__list { --oh-per: 3.25; }
        .opw-home-row.is-grid.is-d-tile .opw-home-row__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @container ohome (min-width: 760px) {
        .opw-home-row.is-d-tile .opw-home-row__list { --oh-per: 4; }
        .opw-home-row.is-grid.is-d-tile .opw-home-row__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    @container ohome (min-width: 1000px) {
        .opw-home-row.is-d-tile .opw-home-row__list { --oh-per: 5; }
        .opw-home-row.is-grid.is-d-tile .opw-home-row__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    }
}

@media (min-width: 768px) {
    /* Cards por linha escolhidos no widget. */
    .opw-home-row.is-grid.has-cols .opw-home-row__list { grid-template-columns: repeat(var(--oh-cols), minmax(0, 1fr)); }
    .opw-home-row.has-cols [data-opw-rail] > li { flex-basis: calc((100% - (var(--oh-cols) - 1) * var(--oh-gap)) / var(--oh-cols)); }

    /* Grade no computador, fileira só no celular: aqui a lista não rola. */
    .opw-home-row.is-grid [data-opw-rail] { overflow: visible; scroll-snap-type: none; padding-block: 0 !important; margin-block: 0 !important; cursor: auto; }

    .opw-home-row.is-d-compact .opw-home-row__list { --oh-row-gap: 24px; row-gap: var(--oh-row-gap); }
    .opw-home-row.is-d-compact .opw-home-card__link { flex-direction: row; align-items: center; gap: 16px; border: 0; border-radius: 20px; overflow: visible; background: transparent; box-shadow: none; transform: none; }
    .opw-home-row.is-d-compact .opw-home-card__media { --oh-thumb: clamp(72px, calc(30cqw / var(--oh-cols, 2.5)), 140px); flex: 0 0 var(--oh-thumb); width: var(--oh-thumb); min-height: 0; aspect-ratio: 1; border-radius: 20px; }
    .opw-home-row.is-d-compact .opw-home-card__flag,
    .opw-home-row.is-d-compact .opw-home-card__pitch,
    .opw-home-row.is-d-compact .opw-home-card__go,
    .opw-home-row.is-d-compact .opw-home-card__type,
    .opw-home-row.is-d-compact .opw-home-card__cents { display: none; }
    .opw-home-row.is-d-compact .opw-home-card__body { min-width: 0; justify-content: center; gap: 6px; padding: 0; }
    .opw-home-row.is-d-compact .opw-home-card__name { order: -1; font-size: 21px !important; line-height: 26px !important; }
    .opw-home-row.is-d-compact .opw-home-card__place { font-size: 15px; line-height: 21px; }
    .opw-home-row.is-d-compact .opw-home-card__pin { color: var(--oh-gray); }
    .opw-home-row.is-d-compact .opw-home-card__foot { margin: 0; padding: 0; border: 0; }
    .opw-home-row.is-d-compact .opw-home-card__price { flex-flow: row wrap; align-items: baseline; gap: 0 5px; }
    .opw-home-row.is-d-compact .opw-home-card__from { display: inline-block; font-size: 15px; line-height: 21px; color: var(--oh-gray); }
    .opw-home-row.is-d-compact .opw-home-card__from::first-letter { text-transform: uppercase; }
    .opw-home-row.is-d-compact .opw-home-card__amount b { font-family: var(--oh-body); font-size: 16px; line-height: 21px; }
    .opw-home-row.is-d-compact .opw-home-card__link:hover { transform: none; box-shadow: none; }
    .opw-home-row.is-d-compact .opw-home-card__link:hover .opw-home-card__name { color: var(--oh-accent-ink) !important; }

    /* Foto inteira: o card de "Outros passeios" da página do atrativo (.opw-vp-tile, em visit.css).
       A altura sai da largura, para valer com qualquer quantidade por linha. */
    .opw-home-row.is-d-tile .opw-home-card__link { aspect-ratio: 4 / 5; min-height: 176px; max-height: 440px; border: 0; border-radius: 24px; background: var(--oh-soft); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
    .opw-home-row.is-d-tile .opw-home-card__media { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; }
    .opw-home-row.is-d-tile .opw-home-card__flag,
    .opw-home-row.is-d-tile .opw-home-card__pitch,
    .opw-home-row.is-d-tile .opw-home-card__go,
    .opw-home-row.is-d-tile .opw-home-card__type { display: none; }
    .opw-home-row.is-d-tile .opw-home-card__body { position: absolute; left: 8px; right: 8px; bottom: 8px; gap: 0; padding: 12px 14px 13px; border-radius: 18px; background: var(--oh-panel); }
    .opw-home-row.is-d-tile .opw-home-card__name { order: -1; font-size: 17px !important; line-height: 22px !important; }
    .opw-home-row.is-d-tile .opw-home-card__place { margin-top: 6px; }
    .opw-home-row.is-d-tile .opw-home-card__pin { color: var(--oh-gray); }
    .opw-home-row.is-d-tile .opw-home-card__foot { margin: 4px 0 0; padding: 0; border: 0; }
    .opw-home-row.is-d-tile .opw-home-card__price { flex-flow: row wrap; align-items: baseline; gap: 0 4px; }
    .opw-home-row.is-d-tile .opw-home-card__from { font-size: 13px; line-height: 18px; color: var(--oh-gray); }
    .opw-home-row.is-d-tile .opw-home-card__amount b { font-family: var(--oh-body); font-size: 13px; line-height: 18px; }
    .opw-home-row.is-d-tile .opw-home-card__link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .12); }

    /* 5 ou mais por linha: cards estreitos, textos proporcionais e, no compacto, foto em cima. */
    .opw-home-row.is-d-multi .opw-home-card__flag, .opw-home-row.is-d-multi .opw-home-card__go { display: none; }
    .opw-home-row.is-d-multi .opw-home-card__body { padding: clamp(8px, calc(12cqw / var(--oh-cols)), 14px); }
    .opw-home-row.is-d-multi .opw-home-card__name { font-size: clamp(13px, calc(7cqw / var(--oh-cols)), 17px) !important; line-height: 1.25 !important; }
    .opw-home-row.is-d-multi .opw-home-card__place, .opw-home-row.is-d-multi .opw-home-card__from { font-size: clamp(12px, calc(6cqw / var(--oh-cols)), 14px); line-height: 1.35; }
    .opw-home-row.is-d-multi .opw-home-card__amount b { font-size: clamp(13px, calc(8cqw / var(--oh-cols)), 18px); line-height: 1.3; white-space: nowrap; }
    .opw-home-row.is-d-compact.is-d-multi .opw-home-card__link { flex-direction: column; align-items: stretch; gap: 10px; }
    .opw-home-row.is-d-compact.is-d-multi .opw-home-card__media { flex: 0 0 auto; width: 100%; }
    .opw-home-row.is-d-compact.is-d-multi .opw-home-card__body { padding: 0; }
    .opw-home-row.is-d-tile.is-d-multi .opw-home-card__body { left: 6px; right: 6px; bottom: 6px; border-radius: 14px; }
    .opw-home-row.is-d-tile.is-d-multi .opw-home-card__amount b { font-size: clamp(12px, calc(6cqw / var(--oh-cols)), 14px); line-height: 1.35; }

    /* Linhas contadas: ver o começo desta seção. */
    .opw-home-row.has-cols .opw-home-row__list { --oh-per: var(--oh-cols); }
    .opw-home-row.is-d-rows-rail [data-opw-rail] {
        display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(var(--oh-rows), auto);
        grid-auto-columns: calc((100% - (var(--oh-per) - 1) * var(--oh-gap)) / var(--oh-per)); row-gap: var(--oh-row-gap);
    }
    .opw-home-row.is-d-rows-grid .opw-home-row__list {
        grid-template-rows: repeat(var(--oh-rows), auto); grid-auto-rows: 0; row-gap: 0; overflow: visible clip;
        padding-top: 12px !important; margin-top: -12px !important; margin-bottom: calc(-1 * var(--oh-row-gap)) !important;
    }
    .opw-home-row.is-d-rows-grid .opw-home-row__list > li { padding-bottom: var(--oh-row-gap); }
    .opw-home-row.is-d-rows-grid .opw-home-card, .opw-home-row.is-d-rows-grid .opw-home-card__link { min-height: min-content; }
    .opw-home-row.is-d-tile.is-d-rows-grid .opw-home-card__link { min-height: 176px; }
}

@media (max-width: 767px) {
    /* Grade no computador, fileira no celular. */
    .opw-home-row.is-m-rail .opw-home-row__list { display: flex; gap: var(--oh-gap); }
    /* Fileira no computador, grade no celular: aqui a lista não rola. */
    .opw-home-row.is-m-grid [data-opw-rail] {
        display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; overflow: visible; scroll-snap-type: none; cursor: auto;
        margin: 0 !important; padding: 0 !important;
    }
    .opw-home-row.is-m-compact .opw-home-row__list { --oh-row-gap: 16px; --oh-per: 1.16; row-gap: var(--oh-row-gap); }
    .opw-home-row.is-m-compact [data-opw-rail] > li { flex-basis: min(86%, 340px); }
    .opw-home-row.is-m-compact .opw-home-card__link { flex-direction: row; align-items: center; gap: 14px; border: 0; border-radius: 18px; overflow: visible; background: transparent; box-shadow: none; transform: none; }
    .opw-home-row.is-m-compact .opw-home-card__media { flex: 0 0 92px; width: 92px; min-height: 0; aspect-ratio: 1; border-radius: 18px; }
    .opw-home-row.is-m-compact .opw-home-card__flag,
    .opw-home-row.is-m-compact .opw-home-card__pitch,
    .opw-home-row.is-m-compact .opw-home-card__go,
    .opw-home-row.is-m-compact .opw-home-card__type,
    .opw-home-row.is-m-compact .opw-home-card__cents { display: none; }
    .opw-home-row.is-m-compact .opw-home-card__body { min-width: 0; justify-content: center; gap: 3px; padding: 0; }
    .opw-home-row.is-m-compact .opw-home-card__name { order: -1; font-size: 17px !important; line-height: 22px !important; }
    .opw-home-row.is-m-compact .opw-home-card__place { font-size: 14px; line-height: 20px; }
    .opw-home-row.is-m-compact .opw-home-card__pin { color: var(--oh-gray); }
    .opw-home-row.is-m-compact .opw-home-card__foot { margin: 0; padding: 0; border: 0; }
    .opw-home-row.is-m-compact .opw-home-card__price { flex-flow: row wrap; align-items: baseline; gap: 0 4px; }
    .opw-home-row.is-m-compact .opw-home-card__from { display: inline-block; font-size: 14px; line-height: 20px; color: var(--oh-gray); }
    .opw-home-row.is-m-compact .opw-home-card__from::first-letter { text-transform: uppercase; }
    .opw-home-row.is-m-compact .opw-home-card__amount b { font-family: var(--oh-body); font-size: 15px; line-height: 20px; }
    .opw-home-row.is-m-compact .opw-home-card__link:hover { transform: none; box-shadow: none; }

    /* Foto inteira: ver o bloco do computador. Dois por tela e um pedaço do terceiro, como na página do atrativo. */
    .opw-home-row.is-m-tile .opw-home-row__list { --oh-per: 1.8; gap: var(--oh-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .opw-home-row.is-m-tile [data-opw-rail] > li { flex-basis: calc((100% - (var(--oh-per) - 1) * var(--oh-gap)) / var(--oh-per)); }
    @container ohome (min-width: 560px) {
        .opw-home-row.is-m-tile .opw-home-row__list { --oh-per: 3.25; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    .opw-home-row.is-m-tile .opw-home-card__link { flex-direction: column; aspect-ratio: 4 / 5; min-height: 176px; max-height: 440px; border: 0; border-radius: 24px; background: var(--oh-soft); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
    .opw-home-row.is-m-tile .opw-home-card__media { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; }
    .opw-home-row.is-m-tile .opw-home-card__flag,
    .opw-home-row.is-m-tile .opw-home-card__pitch,
    .opw-home-row.is-m-tile .opw-home-card__go,
    .opw-home-row.is-m-tile .opw-home-card__type { display: none; }
    .opw-home-row.is-m-tile .opw-home-card__body { position: absolute; left: 8px; right: 8px; bottom: 8px; gap: 0; padding: 12px 14px 13px; border-radius: 18px; background: var(--oh-panel); }
    .opw-home-row.is-m-tile .opw-home-card__name { order: -1; font-size: 16px !important; line-height: 21px !important; }
    .opw-home-row.is-m-tile .opw-home-card__place { margin-top: 6px; }
    .opw-home-row.is-m-tile .opw-home-card__pin { color: var(--oh-gray); }
    .opw-home-row.is-m-tile .opw-home-card__foot { margin: 4px 0 0; padding: 0; border: 0; }
    .opw-home-row.is-m-tile .opw-home-card__price { flex-flow: row wrap; align-items: baseline; gap: 0 4px; }
    .opw-home-row.is-m-tile .opw-home-card__from { font-size: 13px; line-height: 18px; color: var(--oh-gray); }
    .opw-home-row.is-m-tile .opw-home-card__amount b { font-family: var(--oh-body); font-size: 13px; line-height: 18px; }
    .opw-home-row.is-m-tile .opw-home-card__link:hover { transform: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }

    /* Cards por linha escolhidos no widget. Depois do compacto de propósito: a largura do card
       e o tamanho dos textos dependem de quantos cabem, e isso vale para os dois formatos. */
    .opw-home-row.has-cols-m .opw-home-row__list { grid-template-columns: repeat(var(--oh-cols-m), minmax(0, 1fr)); }
    /* Na fileira, um pedaço do próximo card mostra que dá para rolar. */
    .opw-home-row.has-cols-m [data-opw-rail] > li { flex-basis: calc((100% - (var(--oh-cols-m) - 1) * var(--oh-gap)) / (var(--oh-cols-m) + .15)); }
    .opw-home-row.is-m-multi .opw-home-row__list { column-gap: 12px; }
    .opw-home-row.is-m-multi [data-opw-rail] { column-gap: var(--oh-gap); }
    .opw-home-row.is-m-multi .opw-home-card__flag, .opw-home-row.is-m-multi .opw-home-card__go { display: none; }
    .opw-home-row.is-m-multi .opw-home-card__body { padding: clamp(6px, calc(12cqw / var(--oh-cols-m)), 12px); }
    .opw-home-row.is-m-multi .opw-home-card__name { font-size: clamp(12px, calc(12.5cqw / var(--oh-cols-m)), 16px) !important; line-height: 1.25 !important; }
    .opw-home-row.is-m-multi .opw-home-card__place, .opw-home-row.is-m-multi .opw-home-card__from { font-size: clamp(11px, calc(11cqw / var(--oh-cols-m)), 14px); line-height: 1.35; }
    .opw-home-row.is-m-multi .opw-home-card__amount b { font-size: clamp(12px, calc(14cqw / var(--oh-cols-m)), 17px); line-height: 1.3; white-space: nowrap; }
    /* Compacto com 2 ou mais por linha: a foto não cabe ao lado e vai para cima. */
    .opw-home-row.is-m-compact.is-m-multi .opw-home-card__link { flex-direction: column; align-items: stretch; gap: 8px; }
    .opw-home-row.is-m-compact.is-m-multi .opw-home-card__media { flex: 0 0 auto; width: 100%; }
    .opw-home-row.is-m-compact.is-m-multi .opw-home-card__body { padding: 0; }
    .opw-home-row.is-m-tile.is-m-multi .opw-home-card__body { left: 6px; right: 6px; bottom: 6px; border-radius: 14px; }
    .opw-home-row.is-m-tile.is-m-multi .opw-home-card__amount b { font-size: clamp(11px, calc(11cqw / var(--oh-cols-m)), 14px); line-height: 1.35; }

    /* Linhas contadas: ver o começo desta seção. */
    .opw-home-row.has-cols-m .opw-home-row__list { --oh-per: calc(var(--oh-cols-m) + .15); }
    .opw-home-row.is-m-rows-rail [data-opw-rail] {
        display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(var(--oh-rows-m), auto);
        grid-auto-columns: calc((100% - (var(--oh-per) - 1) * var(--oh-gap)) / var(--oh-per)); row-gap: var(--oh-row-gap);
    }
    .opw-home-row.is-m-rows-grid .opw-home-row__list {
        grid-template-rows: repeat(var(--oh-rows-m), auto); grid-auto-rows: 0; row-gap: 0; overflow: visible clip;
        padding-top: 12px !important; margin-top: -12px !important; margin-bottom: calc(-1 * var(--oh-row-gap)) !important;
    }
    .opw-home-row.is-m-rows-grid .opw-home-row__list > li { padding-bottom: var(--oh-row-gap); }
    .opw-home-row.is-m-rows-grid .opw-home-card, .opw-home-row.is-m-rows-grid .opw-home-card__link { min-height: min-content; }
    .opw-home-row.is-m-tile.is-m-rows-grid .opw-home-card__link { min-height: 176px; }
}

/* ============================ Espaçamento escolhido no bloco (1.92.0) ============================
 * As classes só existem com um valor: em branco, valem os vãos de sempre de cada formato.
 * Depois de todos os formatos de propósito: têm de vencê-los. O horizontal troca o --oh-gap porque
 * a largura dos cards depende dele. A grade com linhas contadas fica com row-gap 0: nela o vão é
 * o padding do card, que lê --oh-row-gap. */
@media (min-width: 768px) {
    .opw-home.has-x-d { --oh-gap: var(--oh-x-d); }
    .opw-home.has-x-d :is(.opw-home-row__list, .opw-home-polos__list, .opw-home-passes__list) { column-gap: var(--oh-x-d); }
    .opw-home.has-y-d :is(.opw-home-row__list, .opw-home-polos__list, .opw-home-passes__list) { --oh-row-gap: var(--oh-y-d); row-gap: var(--oh-y-d); }
    .opw-home.has-y-d.is-d-rows-grid .opw-home-row__list { row-gap: 0; }
}
@media (max-width: 767px) {
    .opw-home.has-x-m { --oh-gap: var(--oh-x-m); }
    .opw-home.has-x-m :is(.opw-home-row__list, .opw-home-polos__list, .opw-home-passes__list) { column-gap: var(--oh-x-m); }
    .opw-home.has-y-m :is(.opw-home-row__list, .opw-home-polos__list, .opw-home-passes__list) { --oh-row-gap: var(--oh-y-m); row-gap: var(--oh-y-m); }
    .opw-home.has-y-m.is-m-rows-grid .opw-home-row__list { row-gap: 0; }
}

/* ============================ Passar o mouse (só onde há mouse) ============================ */
@media (hover: hover) and (pointer: fine) {
    .opw-home-card__link:hover { transform: translateY(-4px); border-color: var(--oh-line-2); box-shadow: var(--oh-shadow-2); }
    .opw-home-card__link:hover .opw-home-card__media img { transform: scale(1.05); }
    .opw-home-card__link:hover .opw-home-card__go { background: var(--oh-accent); color: #fff; transform: translateX(2px); }
    .opw-home-polo__link:hover { transform: translateY(-4px); box-shadow: var(--oh-shadow-3); }
    .opw-home-polo__link:hover .opw-home-polo__media img { transform: scale(1.05); }
    .opw-home-polo__link:hover .opw-home-polo__go { transform: translateX(3px); }
    .opw-home-pass__link:hover { transform: translateY(-4px); }
    .opw-home-pass__link:hover .opw-home-pass__media img { transform: scale(1.05); }
    .opw-home-pass__link:hover .opw-home-pass__cta { background: #fff; }
    .opw-home-pass__link:hover .opw-home-pass__cta svg { transform: translateX(3px); }
    .opw-home-promo__card:hover .opw-home-promo__media img, .opw-home-spot__card:hover .opw-home-spot__media img { transform: scale(1.04); }
    .opw-home [data-opw-rail].is-dragging .opw-home-card__link, .opw-home [data-opw-rail].is-dragging .opw-home-pass__link, .opw-home [data-opw-rail].is-dragging .opw-home-polo__link { transform: none; }
}
@media (hover: none) {
    .opw-home-card__link:active, .opw-home-polo__link:active, .opw-home-pass__link:active { transform: scale(.985); }
}

@media (prefers-reduced-motion: reduce) {
    .opw-home *, .opw-home *::before, .opw-home *::after { transition: none !important; }
    .opw-home-card__link:hover, .opw-home-polo__link:hover, .opw-home-pass__link:hover, .opw-home-card__link:active, .opw-home-polo__link:active, .opw-home-pass__link:active { transform: none !important; }
    .opw-home img { transform: none !important; }
}

/* ============================ Janela de busca (1.87.0) ============================ */
/* Fora dos blocos (vai no fim do <body>): tokens próprios. Celular: tela cheia; computador:
   painel no alto, centralizado. Sem backdrop-filter (pesa no Chrome). */
.opw-spot {
    --s-navy: #00085f; --s-accent: #ff5d06; --s-muted: rgba(0, 8, 95, .68); --s-line: rgba(0, 8, 95, .12); --s-soft: rgba(0, 8, 95, .055);
    position: fixed; inset: 0; z-index: 100000; color: var(--s-navy);
    font-family: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; text-align: left; -webkit-font-smoothing: antialiased;
}
.opw-spot *, .opw-spot *::before, .opw-spot *::after { box-sizing: border-box; }
html.opw-spot-open { overflow: hidden; }
.opw-spot__backdrop { position: absolute; inset: 0; background: rgba(0, 5, 61, .55); }
.opw-spot__panel { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; animation: opw-spot-in .18s cubic-bezier(.16, 1, .3, 1); }
@keyframes opw-spot-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.opw-spot__bar { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--s-line); }
.opw-spot__bar > svg { flex: 0 0 auto; color: var(--s-navy); }
.opw-spot .opw-spot__input {
    -webkit-appearance: none; appearance: none; flex: 1 1 auto; min-width: 0; height: 52px; margin: 0; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important; color: var(--s-navy) !important; font-family: inherit !important; font-size: 18px !important; font-weight: 500 !important; line-height: 24px !important; outline: none;
}
.opw-spot__input::placeholder { color: rgba(0, 8, 95, .55); opacity: 1; }
.opw-spot__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.opw-spot .opw-spot__close {
    flex: 0 0 auto; min-height: 44px; padding: 0 14px !important; margin: 0; border: 0 !important; border-radius: 12px !important; background: var(--s-soft) !important;
    color: var(--s-navy) !important; box-shadow: none !important; font-family: inherit !important; font-size: 15px !important; font-weight: 700 !important; line-height: 20px !important; cursor: pointer;
}
.opw-spot__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 6px 8px 20px; -webkit-overflow-scrolling: touch; }
.opw-spot__group { margin: 0; padding: 0; list-style: none; }
.opw-spot__label { margin: 14px 10px 6px; color: var(--s-muted); font-size: 12.5px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.opw-spot .opw-spot__item {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; margin: 0; padding: 8px 10px !important; border: 0 !important; border-radius: 14px !important;
    background: transparent !important; box-shadow: none !important; color: var(--s-navy) !important; text-align: left; text-decoration: none !important; font: inherit !important; cursor: pointer;
}
.opw-spot .opw-spot__item:hover, .opw-spot .opw-spot__item[aria-selected="true"] { background: var(--s-soft) !important; }
.opw-spot .opw-spot__item[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--s-navy) !important; }
.opw-spot__thumb { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--s-soft); }
.opw-spot__thumb.is-icon { display: grid; place-items: center; color: var(--s-accent); background: rgba(255, 93, 6, .12); }
.opw-spot__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opw-spot__name { overflow: hidden; font-size: 16px; font-weight: 700; line-height: 21px; text-overflow: ellipsis; white-space: nowrap; }
.opw-spot__meta { overflow: hidden; color: var(--s-muted); font-size: 13.5px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.opw-spot__go { flex: 0 0 auto; margin-left: auto; color: var(--s-muted); }
.opw-spot mark { padding: 0 1px; border-radius: 3px; background: rgba(255, 93, 6, .2); color: inherit; }
.opw-spot__empty { margin: 18px 10px 6px; color: var(--s-muted); font-size: 15.5px; line-height: 22px; }
.opw-spot .opw-spot__all {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 14px 8px 0; padding: 0 16px; border-radius: 14px;
    background: var(--s-navy); color: #fff !important; font-size: 15.5px; font-weight: 700; line-height: 20px; text-decoration: none !important;
}
.opw-spot__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 768px) {
    .opw-spot__panel { inset: auto; top: 10vh; left: 50%; width: min(680px, calc(100vw - 48px)); max-height: 76vh; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 5, 61, .35); transform: translateX(-50%); animation-name: opw-spot-in-d; }
    @keyframes opw-spot-in-d { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translateX(-50%); } }
    .opw-spot__bar { padding: 10px 10px 10px 20px; }
    .opw-spot__body { padding: 6px 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .opw-spot__panel { animation: none; }
}
.opw-spot[hidden] { display: none !important; }
/* Contêiner do Elementor que ficou vazio com o filtro de cidade (o JS marca). */
.opw-city-pruned { display: none !important; }

/* [hidden] vence qualquer display acima (tema e Elementor incluídos). */
.opw-home [hidden], .opw-home[hidden] { display: none !important; }
