/* ==========================================================================
   Páginas de imóvel — extensão visual de wagnerferreirarealtor.com
   Mesmos tokens do index.html: Inter, cinzas "brand",
   dourado "accent" (#b8976a), pílulas com glow e cards rounded-2xl.
   ========================================================================== */

:root {
    --ink: #111827;        /* brand-900 */
    --muted: #6b7280;      /* brand-500 */
    --body: #4b5563;       /* brand-600 */
    --line: #f3f4f6;       /* brand-100 */
    --line-strong: #e5e7eb;/* brand-200 */
    --gold: #b8976a;       /* accent-500 */
    --gold-dark: #9a7a52;  /* accent-600 */
    --gold-soft: #d4b896;  /* accent-400 */
    --gold-tint: #f6eee3;  /* accent-100 */
}

html, body { max-width: 100%; overflow-x: hidden; }
body { background: #fff; color: #1f2937; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* ==========================================================================
   Cromo do site (cabeçalho e rodapé)
   ========================================================================== */
.site-nav { top: 0; left: 0; right: 0; }
.glass-nav { background: rgba(255,255,255,.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .15rem; line-height: 1; text-decoration: none; flex: 0 0 auto; }
.brand-logo-name { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.35rem, 3.2vw, 1.75rem); font-weight: 700; color: var(--gold); letter-spacing: 0; text-shadow: none; transition: color 180ms ease; }
.brand-logo-meta { font-size: .7rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; text-align: left; }
.brand-logo:hover .brand-logo-name { color: var(--gold-dark); text-shadow: none; }
.site-nav .h-20 { height: 72px; }
.site-nav .glow-btn { box-shadow: none; transform: none; }
.site-nav .glow-btn:hover { transform: none; }

@keyframes glowShimmer { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.glow-btn { position: relative; overflow: hidden; transition: all .3s ease; }
.glow-btn::before { content: ''; position: absolute; inset: -2px; background: linear-gradient(45deg, #b8976a, #d4b896, #b8976a, #d4b896); background-size: 400% 400%; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s ease; animation: glowShimmer 3s ease-in-out infinite; }
.glow-btn:hover::before { opacity: 1; }
.glow-btn:hover { box-shadow: 0 0 30px rgba(184,151,106,.4), 0 0 60px rgba(184,151,106,.2); transform: translateY(-2px); }
.glow-btn:active { transform: scale(.98); }

.glow-bg { position: fixed; width: 400px; height: 400px; border-radius: 50%; filter: blur(80px); opacity: .15; pointer-events: none; z-index: 0; }
.glow-bg-1 { top: 10%; left: -100px; background: radial-gradient(circle, rgba(184,151,106,.4), transparent 70%); }
.glow-bg-2 { bottom: 20%; right: -100px; background: radial-gradient(circle, rgba(212,184,150,.3), transparent 70%); }
.glow-particle { position: absolute; width: 4px; height: 4px; background: rgba(184,151,106,.6); border-radius: 50%; box-shadow: 0 0 10px rgba(184,151,106,.8), 0 0 20px rgba(184,151,106,.4); pointer-events: none; }
.glow-nav-link { position: relative; }
.glow-nav-link::after { content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px; background: var(--gold); box-shadow: 0 0 8px rgba(184,151,106,.6); transition: all .3s ease; transform: translateX(-50%); }
.glow-nav-link:hover::after { width: 100%; }
.glow-footer-glow { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to top, rgba(184,151,106,.1), transparent); pointer-events: none; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   Faixa de imóveis + abas
   ========================================================================== */
.oh-topbar { background: #fff; border-bottom: 1px solid var(--line); }
.oh-topbar-inner { display: flex; align-items: center; gap: 1.75rem; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.oh-topbar-inner::-webkit-scrollbar { display: none; }
.oh-topbar a { color: #4b5563; font-size: .85rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; transition: color 180ms ease; }
.oh-topbar a:hover { color: var(--gold-dark); }

.oh-tabs { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.oh-tabs-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 60px; }
.oh-tabs-scroll { display: flex; gap: 1.9rem; overflow-x: auto; scrollbar-width: none; }
.oh-tabs-scroll::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; padding: 1.1rem .1rem; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: .95rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: color 180ms ease, border-color 180ms ease; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--gold); }
@media (max-width: 767px) { .oh-tabs { top: 64px; } .oh-tabs-scroll { gap: 1.35rem; } }

/* ==========================================================================
   Botões (pílulas do site)
   ========================================================================== */
.oh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .8rem 1.6rem; font-size: .92rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 140ms ease; }
.oh-btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 25px rgba(17,24,39,.1); }
.oh-btn-primary:hover { background: #1f2937; color: #fff; }
.oh-btn-whatsapp { background: #16a34a; color: #fff; box-shadow: 0 10px 25px rgba(22,163,74,.12); }
.oh-btn-whatsapp:hover { background: #15803d; color: #fff; }
.oh-btn-ghost { background: #fff; color: #374151; border-color: var(--line-strong); }
.oh-btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-dark); }
.oh-btn-sm { padding: .6rem 1.2rem; font-size: .85rem; }
.oh-btn-block { width: 100%; }

/* ==========================================================================
   Foto principal
   ========================================================================== */
.hero-stage { position: relative; overflow: hidden; border-radius: 1rem; background: var(--line); border: 1px solid var(--line); aspect-ratio: 3 / 2; }
.hero-stage img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); color: var(--ink); font-size: 1.6rem; line-height: 1; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(17,24,39,.18); transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.hero-arrow:hover { background: #fff; box-shadow: 0 0 24px rgba(184,151,106,.35), 0 10px 30px rgba(17,24,39,.18); transform: translateY(-50%) scale(1.05); }
.hero-arrow-prev { left: 1rem; }
.hero-arrow-next { right: 1rem; }
.hero-actions { position: absolute; top: 1rem; right: 1rem; z-index: 2; display: flex; gap: .5rem; }
.hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); color: var(--muted); cursor: pointer; box-shadow: 0 10px 30px rgba(17,24,39,.16); transition: color 180ms ease, transform 180ms ease; }
.hero-icon:hover { color: var(--gold-dark); transform: scale(1.06); }
.hero-icon svg { width: 19px; height: 19px; }
.hero-icon[aria-pressed="true"] { color: #dc2626; }
.hero-icon[aria-pressed="true"] svg { fill: currentColor; }
.hero-counter { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; border-radius: 999px; border: 0; background: rgba(17,24,39,.78); color: #fff; padding: .5rem 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; backdrop-filter: blur(6px); transition: background-color 180ms ease; }
.hero-counter:hover { background: rgba(17,24,39,.92); }

.filmstrip { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: .35rem; }
.filmstrip::-webkit-scrollbar { height: 6px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.film-thumb { flex: 0 0 auto; width: 110px; aspect-ratio: 4 / 3; border-radius: .5rem; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--line); cursor: pointer; opacity: .65; scroll-snap-align: start; transition: opacity 180ms ease, border-color 180ms ease; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; }
.film-thumb:hover { opacity: 1; }
.film-thumb.is-active { opacity: 1; border-color: var(--gold); }

.gallery-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; padding: 0; background: var(--line); cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.gallery-thumb:hover { transform: translateY(-3px); border-color: rgba(184,151,106,.55); box-shadow: 0 18px 45px rgba(17,24,39,.12), 0 0 32px rgba(184,151,106,.12); }
.gallery-thumb:hover img { transform: scale(1.05); }

@media (max-width: 640px) {
    .hero-stage { aspect-ratio: 4 / 3; }
    .hero-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
    .film-thumb { width: 82px; }
}

/* ==========================================================================
   Endereço, preço e fatos
   ========================================================================== */
.oh-address { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.45rem, 3.1vw, 2rem); font-weight: 800; color: var(--ink); line-height: 1.18; letter-spacing: 0; }
.oh-meta { color: #4b5563; font-size: .88rem; font-weight: 600; letter-spacing: 0; margin-top: .5rem; display: flex; flex-wrap: wrap; gap: 1.1rem; }

.oh-status { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; background: var(--gold-tint); color: var(--gold-dark); padding: .35rem .9rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.oh-status::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 8px rgba(184,151,106,.8); }
.oh-price { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(2rem, 3.8vw, 2.5rem); font-weight: 700; color: var(--ink); line-height: 1.1; margin-top: .75rem; }
.oh-monthly { color: var(--muted); font-size: .92rem; margin-top: .5rem; }

.fact-row { display: flex; flex-wrap: wrap; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgba(17,24,39,.04); overflow: hidden; }
.fact { display: flex; flex-direction: column; gap: .1rem; padding: 1rem 1.5rem; flex: 1 1 auto; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-value { font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1.15; }
.fact-label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 640px) {
    .fact { flex: 1 0 50%; padding: .85rem 1rem; }
    .fact + .fact { border-left: 0; }
    .fact:nth-child(even) { border-left: 1px solid var(--line); }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Seções de conteúdo
   ========================================================================== */
.sec-eyebrow { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); margin-bottom: .6rem; }
.sec-title { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.75rem, 3.8vw, 2.5rem); font-weight: 700; color: var(--ink); line-height: 1.2; }

/* Entrada suave das seções, igual à do site */
.fade-in-section { opacity: 0; transform: translateY(20px); transition: opacity .7s ease-out, transform .7s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in-section { opacity: 1 !important; transform: none !important; } }

.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.spec-row dt { color: var(--body); }
.spec-row dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.feature-chip { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; padding: .55rem 1rem; font-size: .9rem; font-weight: 500; color: #374151; transition: border-color 180ms ease, color 180ms ease; }
.feature-chip:hover { border-color: var(--gold-soft); color: var(--gold-dark); }

/* ==========================================================================
   Cartões da coluna direita
   ========================================================================== */
.oh-card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgba(17,24,39,.04); transition: box-shadow .4s ease, border-color .4s ease; }
.oh-card:hover { border-color: rgba(184,151,106,.4); box-shadow: 0 0 25px rgba(184,151,106,.14), 0 10px 40px rgba(0,0,0,.06); }
.oh-card + .oh-card { margin-top: 1.25rem; }
.oh-card-pad { padding: 1.5rem; }
.oh-card-divider { border-top: 1px solid var(--line); }
.oh-rowlink { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.1rem 1.5rem; background: none; border: 0; cursor: pointer; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); transition: background-color 180ms ease, color 180ms ease; }
.oh-rowlink:hover { background: #fdfbf7; color: var(--gold-dark); }
.oh-rowlink span:last-child { color: var(--gold); font-size: 1.1rem; line-height: 1; transition: transform 200ms ease; }
.oh-rowlink[aria-expanded="true"] span:last-child { transform: rotate(90deg); }
.oh-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-dark); }
.oh-agent-name { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.oh-link { color: var(--gold-dark); font-weight: 600; transition: color 180ms ease; }
.oh-link:hover { color: var(--gold); text-decoration: underline; }
.oh-note { font-size: .83rem; color: var(--muted); line-height: 1.65; }

.agent-card { position: sticky; top: 10.5rem; }

/* ==========================================================================
   Custo mensal
   ========================================================================== */
.calc-input { width: 100%; border: 1px solid var(--line-strong); border-radius: .75rem; padding: .7rem .85rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.calc-input:focus { outline: 2px solid var(--gold-soft); outline-offset: 1px; border-color: var(--gold-soft); }
.pay-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--line); }
.pay-bar span { display: block; height: 100%; }
.pay-legend { display: grid; gap: .55rem; margin-top: 1.1rem; }
.pay-legend-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .93rem; }
.pay-legend-row > span:first-child { display: inline-flex; align-items: center; gap: .55rem; color: var(--body); font-weight: 500; }
.pay-dot { width: 10px; height: 10px; border-radius: 999px; flex: 0 0 auto; }
.pay-legend-row > span:last-child { font-weight: 700; color: var(--ink); }

/* ==========================================================================
   Barra de ações mobile
   ========================================================================== */
.bottom-actions { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 60; display: flex; gap: .5rem; padding: .5rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 48px rgba(17,24,39,.18); }
.bottom-action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 .95rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #374151; white-space: nowrap; transition: color 180ms ease, background-color 180ms ease; }
.bottom-action:hover { color: var(--gold-dark); background: #fdfbf7; }
.bottom-action-primary { background: #16a34a; color: #fff; }
.bottom-action-primary:hover { background: #15803d; color: #fff; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(17,24,39,.94); color: #fff; }
.lightbox-shell { height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 1rem; padding: 1rem; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lightbox-title { min-width: 0; font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.1rem; font-weight: 700; color: #f9fafb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox-count { color: #d1d5db; font-size: .82rem; font-weight: 600; }
.lightbox-close, .lightbox-nav { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.12); color: #fff; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.lightbox-close { width: 52px; height: 52px; border-radius: 999px; font-size: 2rem; line-height: 1; flex: 0 0 auto; }
.lightbox-nav { width: 54px; height: 54px; border-radius: 999px; font-size: 2.5rem; line-height: 1; font-weight: 700; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.04); }
.lightbox-arrow-prev { left: .75rem; }
.lightbox-arrow-next { right: .75rem; }
.lightbox-image-wrap { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 4.5rem; }
.lightbox-image { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.4); object-fit: contain; }

@media (max-width: 767px) {
    body { padding-bottom: 5.5rem; }
    .glow-bg { display: none !important; }
    .site-nav .h-20 { height: auto; min-height: 64px; padding-top: .75rem; padding-bottom: .75rem; }
    .site-nav .glow-btn { padding: .4rem .6rem; font-size: .72rem; white-space: nowrap; }
    .site-nav .flex.items-center.gap-4 { gap: .35rem; }
    .bottom-actions { width: calc(100% - 1rem); bottom: .5rem; justify-content: space-between; border-radius: 18px; }
    .bottom-action { flex: 1; padding: 0 .65rem; }
    .brand-logo-meta { font-size: .56rem; letter-spacing: .12em; }
    .lightbox-shell { padding: .75rem; }
    .lightbox-image-wrap { padding: 0 3rem; }
    .lightbox-nav { width: 44px; height: 44px; font-size: 2rem; }
    .lightbox-arrow-prev { left: .25rem; }
    .lightbox-arrow-next { right: .25rem; }
    .lightbox-close { width: 46px; height: 46px; font-size: 1.8rem; }
    .agent-card { position: static; }
}

/* ==========================================================================
   Refinamento visual limpo para páginas de Ads
   ========================================================================== */
.glow-bg,
.glow-particle,
.glow-footer-glow {
    display: none !important;
}

.oh-topbar-inner {
    min-height: 44px;
    gap: 1.45rem;
}

.oh-tabs-inner {
    min-height: 52px;
    gap: 1.25rem;
}

.oh-tabs-scroll {
    gap: 1.35rem;
}

.tab {
    padding: .85rem .1rem;
    font-size: .84rem;
}

.oh-btn {
    border-radius: 7px;
    padding: .72rem 1.15rem;
    font-weight: 650;
}

.oh-btn-sm {
    padding: .55rem .95rem;
    font-size: .82rem;
}

.hero-stage {
    aspect-ratio: 16 / 9;
    max-height: 560px;
    border-radius: 8px;
}

.hero-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 6px 18px rgba(17,24,39,.16);
    font-size: 1.35rem;
}

.hero-arrow:hover {
    box-shadow: 0 8px 22px rgba(17,24,39,.2);
    transform: translateY(-50%) scale(1.03);
}

.hero-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 6px 18px rgba(17,24,39,.14);
}

.filmstrip {
    gap: .4rem;
    margin-top: .55rem;
}

.film-thumb {
    width: 86px;
    border-radius: 6px;
    opacity: .72;
}

.film-thumb.is-active {
    border-color: var(--ink);
}

.gallery-thumb,
.oh-card,
.fact-row {
    border-radius: 8px;
}

.gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(17,24,39,.22);
    box-shadow: 0 12px 28px rgba(17,24,39,.12);
}

.oh-card {
    border-color: var(--line-strong);
    box-shadow: 0 1px 2px rgba(17,24,39,.05);
}

.oh-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 8px 24px rgba(17,24,39,.08);
}

.oh-card-pad {
    padding: 1.25rem;
}

.oh-address {
    font-size: clamp(1.35rem, 2.7vw, 1.85rem);
    font-weight: 750;
    line-height: 1.22;
}

.fact-row {
    margin-top: 1.15rem;
}

.fact {
    padding: .85rem 1.1rem;
}

.fact-value {
    font-size: 1.05rem;
}

.bottom-actions {
    border-radius: 10px;
}

@media (max-width: 640px) {
    .hero-stage {
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }

    .film-thumb {
        width: 72px;
    }
}

/* Correção: usar a capa certa com altura controlada */
.hero-stage {
    aspect-ratio: 16 / 9;
    max-height: 560px;
    background: #fff;
}

.hero-stage img {
    object-fit: cover;
    object-position: center;
    background: #fff;
}

.filmstrip {
    padding-bottom: .6rem;
}

.bottom-actions {
    display: none;
}

@media (max-width: 767px) {
    .bottom-actions {
        display: flex;
    }
}

/* Correção: manter galeria e conteúdo dentro da coluna */
main > .grid {
    grid-template-columns: minmax(0, 1fr) 340px;
}

main > .grid > * {
    min-width: 0;
}

.oh-tabs-inner {
    justify-content: flex-start;
}

.oh-tabs-scroll,
.filmstrip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-stage {
    width: 100%;
}

@media (max-width: 1023px) {
    main > .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
