/* Banner Rotativo Pro — Public Styles */

/* ----------------------------------------
   Base
---------------------------------------- */
.brp-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: var(--brp-height-desk, 500px);
    border-radius: 0;
    background: #111;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}

.brp-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ----------------------------------------
   Slide
---------------------------------------- */
.brp-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: default;
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.brp-slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.brp-slide--prev {
    z-index: 1;
}

/* ----------------------------------------
   Background image
---------------------------------------- */
.brp-bg-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.brp-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 8s ease;
}

.brp-slide--active .brp-bg-img {
    transform: scale(1.04);
}

/* ----------------------------------------
   Overlay
---------------------------------------- */
.brp-overlay {
    position: absolute;
    inset: 0;
    background: var(--brp-overlay, rgba(0,0,0,0.4));
    z-index: 1;
    pointer-events: none;
}

/* ----------------------------------------
   Content / Camadas de texto
---------------------------------------- */
.brp-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 8%;
    max-width: 100%;
    pointer-events: none;
}

.brp-title,
.brp-subtitle,
.brp-text,
.brp-btns {
    pointer-events: auto;
    will-change: transform, opacity;
}

.brp-title {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    max-width: 720px;
}

.brp-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    margin: 0 0 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    max-width: 600px;
}

.brp-text {
    color: rgba(255,255,255,0.85);
    font-size: clamp(0.875rem, 1.5vw, 1.1rem);
    margin: 0 0 24px;
    max-width: 560px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ----------------------------------------
   Buttons
---------------------------------------- */
.brp-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.brp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border: 2px solid transparent;
}

.brp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.brp-btn--primary {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}
.brp-btn--primary:hover { background: #c1121f; border-color: #c1121f; }

.brp-btn--secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}
.brp-btn--secondary:hover { background: rgba(255,255,255,0.25); }

.brp-btn--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.brp-btn--outline:hover { background: #fff; color: #111; }

.brp-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border-color: transparent;
    text-decoration: underline !important;
}

/* ----------------------------------------
   Slide link (full banner clickable)
---------------------------------------- */
.brp-slide-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}

/* ----------------------------------------
   Arrows
---------------------------------------- */
.brp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(6px);
    padding: 0;
}

.brp-arrow:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.9);
    transform: translateY(-50%) scale(1.08);
}

.brp-arrow--prev { left: 18px; }
.brp-arrow--next { right: 18px; }

/* ----------------------------------------
   Bullets
---------------------------------------- */
.brp-bullets {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.brp-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.brp-bullet--active {
    background: #fff;
    transform: scale(1.35);
}

/* ----------------------------------------
   Progress bar
---------------------------------------- */
.brp-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 10;
}

.brp-progress-bar {
    height: 100%;
    width: 0%;
    background: rgba(255,255,255,0.7);
    transition: width linear;
}

/* ----------------------------------------
   Mobile
---------------------------------------- */
@media (max-width: 767px) {
    .brp-slider-wrap {
        height: var(--brp-height-mob, 300px);
    }

    .brp-content {
        padding: 24px 5%;
        justify-content: flex-end;
        padding-bottom: 50px;
    }

    .brp-title { font-size: clamp(1.2rem, 5vw, 1.8rem); margin-bottom: 6px; }
    .brp-subtitle { font-size: 0.95rem; margin-bottom: 8px; }
    .brp-text { display: none; }

    .brp-btns { gap: 8px; }
    .brp-btn { padding: 10px 20px; font-size: 0.85rem; }

    .brp-arrow {
        width: 36px;
        height: 36px;
    }
    .brp-arrow--prev { left: 10px; }
    .brp-arrow--next { right: 10px; }

    .brp-bullets { bottom: 12px; }
    .brp-bullet { width: 8px; height: 8px; }
}

/* ----------------------------------------
   Accessibility: reduce motion
---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .brp-bg-img {
        transition: none !important;
        transform: none !important;
    }
    .brp-btn {
        transition: none !important;
    }
}
