/* ============================================================
   PA Main Slider — Swiper.js (substitui Revolution Slider)
   ============================================================ */

.pa-swiper-wrapper {
    position: relative;
    width: 100%;
    background-color: #003366;
    overflow: hidden;
}

.pa-main-swiper {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

/* ── Background com parallax ────────────────────────── */
.pa-slide-bg {
    position: absolute;
    top: -10%;
    left: -15%;
    width: 130%;
    height: 120%;
    z-index: 0;
    will-change: transform;
}

.pa-slide-bg img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.pa-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 35, 63, 0.1);
}

/* ── Círculos decorativos ───────────────────────────── */
.pa-slide-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    transform-origin: center center;
    background-color: #003366;
}

.pa-slide-circle--1 {
    width: 900px;
    height: 900px;
    top: 50%;
    left: 50%;
    margin-top: -450px;
    margin-left: -450px;
}

.pa-slide-circle--2 {
    width: 1200px;
    height: 1200px;
    top: 50%;
    left: 50%;
    margin-top: -600px;
    margin-left: -600px;
}

/* ── Conteúdo do slide ──────────────────────────────── */
.pa-slide-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 100px;
}

.pa-slide-subtitle {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(-50px);
    filter: blur(20px);
    will-change: transform, opacity, filter;
}

.pa-slide-title {
    color: #fff;
    font-size: 75px;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -2px;
    margin-bottom: 33px;
    text-shadow: #0b1236 3px 3px 15px;
    max-width: 700px;
}

/* Animação de caracteres (middletoedge) */
.pa-char {
    display: inline-block;
    opacity: 0;
    transform: translateX(50px);
    filter: blur(10px);
    will-change: transform, opacity, filter;
}

.pa-char--space {
    width: 0.28em;
    transform: none;
    opacity: 0;
    filter: none;
}

.pa-slide-text {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    line-height: 36px;
    max-width: 500px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(20px);
    will-change: transform, opacity, filter;
}

.pa-slide-btn {
    opacity: 0;
    transform: translateY(100px);
    will-change: transform, opacity;
}

/* ── Badge flutuante (apenas desktop) ──────────────── */
.pa-slide-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 510px;
    margin-top: -340px;
    z-index: 20;
    pointer-events: none;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    width: 122px;
}

.pa-slide-badge-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #3C2FC0;
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    will-change: transform, opacity;
    transform-origin: center center;
}

.pa-slide-badge-content {
    position: relative;
    z-index: 1;
    padding: 18px 10px 33px;
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    will-change: transform, opacity;
    transform-origin: center center;
}

/* ============================================================
   Animações — slide ativo
   ============================================================ */
.pa-anim-active .pa-slide-circle--1 {
    animation: paCircle1 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 300ms both;
}

.pa-anim-active .pa-slide-circle--2 {
    animation: paCircle2 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 500ms both;
}

@keyframes paCircle1 {
    to { opacity: 0.5; transform: scale(1) translateY(0); }
}

@keyframes paCircle2 {
    to { opacity: 0.3; transform: scale(1) translateY(0); }
}

.pa-anim-active .pa-slide-subtitle {
    animation: paSubtitleIn 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 800ms both;
}

@keyframes paSubtitleIn {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.pa-anim-active .pa-char {
    animation: paCharIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) both;
    animation-delay: calc(400ms + var(--char-delay, 0ms));
}

@keyframes paCharIn {
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.pa-anim-active .pa-slide-text {
    animation: paTextIn 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 800ms both;
}

@keyframes paTextIn {
    to { opacity: 0.6; transform: translateY(0); filter: blur(0); }
}

.pa-anim-active .pa-slide-btn {
    animation: paBtnIn 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 1100ms both;
}

@keyframes paBtnIn {
    to { opacity: 1; transform: translateY(0); }
}

.pa-anim-active .pa-slide-badge-bg {
    animation: paBadgeIn 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1300ms both;
}

.pa-anim-active .pa-slide-badge-content {
    animation: paBadgeIn 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1500ms both;
}

@keyframes paBadgeIn {
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   Navegação (setas)
   ============================================================ */
.pa-main-swiper .swiper-button-prev,
.pa-main-swiper .swiper-button-next {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: background 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pa-main-swiper .swiper-button-prev:hover,
.pa-main-swiper .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pa-main-swiper .swiper-button-prev::after,
.pa-main-swiper .swiper-button-next::after {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   Paginação (bullets)
   ============================================================ */
.pa-main-swiper .swiper-pagination {
    bottom: 25px;
    z-index: 50;
}

.pa-main-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 5px !important;
}

.pa-main-swiper .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* ============================================================
   Barra de progresso (timer)
   ============================================================ */
.pa-swiper-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(0, 0, 0, 0.10);
    z-index: 99;
    overflow: hidden;
}

.pa-swiper-timer-fill {
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1399px) {
    .pa-slide-badge {
        margin-left: 410px;
        margin-top: -270px;
    }
}

@media (max-width: 1199px) {
    .pa-main-swiper { max-height: none; }
    .pa-slide-title { font-size: 70px; line-height: 75px; }
    .pa-slide-text { font-size: 24px; line-height: 40px; margin-bottom: 60px; }
    .pa-slide-content { padding: 0 50px; }
    .pa-slide-badge { display: none !important; }
}

@media (max-width: 991px) {
    .pa-slide-title { font-size: 60px; line-height: 65px; }
    .pa-slide-text { font-size: 20px; line-height: 36px; }
    .pa-slide-content { padding: 0 75px; }
}

@media (max-width: 767px) {
    .pa-slide-title { font-size: 50px; line-height: 55px; letter-spacing: 0; margin-bottom: 25px; }
    .pa-slide-text { font-size: 20px; line-height: 30px; margin-bottom: 40px; }
    .pa-slide-subtitle { margin-bottom: 10px; }
    .pa-slide-content { padding: 0 30px; }
    .pa-main-swiper .swiper-button-prev,
    .pa-main-swiper .swiper-button-next { display: none !important; }
}
