.imv-hero-banner {
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

/* Força full width mesmo dentro de containers */
.imv-hero-banner,
.imv-hero-banner * {
    box-sizing: border-box;
}

.imv-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #1e3a5f; /* Fundo azul em full width */
}

.imv-hero-track {
    display: flex;
    gap: 16px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    padding: 0;
    scroll-behavior: smooth;
    transition: transform 0.4s ease;
    width: 100%;
    box-sizing: border-box;
}

.imv-hero-slider--ready .imv-hero-track {
    gap: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE e Edge */
    background: transparent;
}

.imv-hero-slider--ready .imv-hero-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.imv-hero-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.imv-hero-slider--static .imv-hero-track {
    overflow-x: visible;
}

.imv-hero-slider--static .imv-hero-slide {
    flex: 1 1 100%;
}

.imv-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.imv-hero-nav:hover,
.imv-hero-nav:focus-visible {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.05);
}

.imv-hero-nav--prev {
    left: 6px;
}

.imv-hero-nav--next {
    right: 6px;
}

.imv-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 260px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    background: #111;
    box-shadow: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.imv-hero-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75);
    transform: scale(1.02);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.imv-hero-card:hover .imv-hero-card__image,
.imv-hero-card:focus-visible .imv-hero-card__image {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.imv-hero-card__overlay {
    position: relative;
    padding: 22px;
    width: 100%;
    display: grid;
    gap: 10px;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.imv-hero-kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 0;
}

.imv-hero-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.imv-hero-subtitle,
.imv-hero-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.imv-hero-pill {
    align-self: start;
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    letter-spacing: 0.01em;
}

.imv-hero-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.imv-hero-price {
    font-size: 22px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 12px;
    border-radius: 10px;
}

.imv-hero-price--old {
    font-size: 16px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.22);
}

.imv-hero-badge {
    font-size: 14px;
    background: #f97316;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
}

.imv-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    width: fit-content;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

/* Layout overlay para propaganda (texto sobre imagem) */
.imv-hero-card--overlay {
    position: relative;
    min-height: 400px;
    height: 100%;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    vertical-align: top;
}

.imv-hero-card--overlay .imv-hero-card__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.85);
    margin: 0;
    padding: 0;
}

.imv-hero-card--image-full .imv-hero-card__image {
    width: 100%;
    background-size: cover;
}

.imv-hero-card--image-center .imv-hero-card__image {
    width: 100%;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    background-size: cover;
    background-position: center;
}

.imv-hero-card--overlay .imv-hero-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    margin: 0;
    box-sizing: border-box;
    min-height: 100%;
}

.imv-hero-card__overlay-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
}

.imv-hero-title--overlay {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #fff;
}

.imv-hero-subtitle--overlay {
    font-size: 24px;
    line-height: 1.4;
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.95);
}

.imv-hero-button--overlay {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    margin: 0;
    line-height: 1.5;
}

.imv-hero-button--overlay:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.45);
}

.imv-hero-card--property .imv-hero-card__overlay {
    grid-template-rows: auto;
}

/* Layout dividido para propriedades */
.imv-hero-card--split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 450px;
    border-radius: 0;
    align-items: stretch;
    background: transparent;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.imv-hero-card--split .imv-hero-card__content {
    background: #1e3a5f;
    padding: 50px 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    position: relative;
    clip-path: polygon(0 0, 75% 0, 85% 100%, 0 100%);
    z-index: 2;
}

.imv-hero-card--split .imv-hero-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.imv-hero-card--split .imv-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.imv-hero-card--split .imv-hero-title--highlight {
    color: #f97316;
    display: block;
}

.imv-hero-card--split .imv-hero-title > span:not(.imv-hero-title--highlight) {
    color: #fff;
    display: block;
}

.imv-hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.imv-hero-features--horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.imv-hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.imv-hero-feature__icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1e3a5f;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.imv-hero-feature__text {
    color: #fff;
}

.imv-hero-card--split .imv-hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.imv-hero-card--split .imv-hero-button {
    background: #6b7280;
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    font-style: italic;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
    flex: 0 0 auto;
    white-space: nowrap;
}

.imv-hero-card--split .imv-hero-button:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.imv-hero-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    width: 100%;
}

.imv-hero-footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.imv-hero-footer-icon {
    color: #fbbf24;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.imv-hero-card__image-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-left: -15%;
}

.imv-hero-card--split .imv-hero-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: none;
    transform: none;
    transition: transform 0.4s ease;
}

.imv-hero-card--split:hover .imv-hero-card__image {
    transform: scale(1.05);
}

/* Linha inferior com preço e botão lado a lado */
.imv-hero-bottom-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Preços no lado esquerdo */
.imv-hero-price-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 0 0 auto;
}

.imv-hero-price-row-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.imv-hero-price-label-left {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.imv-hero-price-value-left {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.imv-hero-price-old-left {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.imv-hero-price-old-left s {
    text-decoration: line-through;
}

.imv-hero-badge-left {
    display: inline-block;
    background: #f97316;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

/* Responsivo */
@media (max-width: 768px) {
    .imv-hero-card--split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .imv-hero-card--split .imv-hero-card__content {
        padding: 30px 20px;
    }
    
    .imv-hero-card--split .imv-hero-title {
        font-size: 32px;
    }
    
    .imv-hero-card__image-wrapper {
        min-height: 300px;
    }
}

/* Admin form styles */
.imv-hero-banner-form .imv-hero-settings {
    display: grid;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.imv-hero-banner-form .imv-hero-filters {
    display: grid;
    gap: 6px;
}

.imv-hero-entry {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}

.imv-hero-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.imv-hero-entry-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.imv-hero-entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.imv-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.imv-media-control {
    display: grid;
    gap: 8px;
}

.imv-media-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.imv-hero-card--ad .imv-hero-card__overlay,
.imv-hero-card--property .imv-hero-card__overlay {
    min-height: 240px;
}

@media (min-width: 900px) {
    .imv-hero-slide {
        flex-basis: 100%;
    }

    .imv-hero-nav {
        width: 46px;
        height: 46px;
    }
}
