/* ================================================
   CONTAINER PRINCIPAL
   ================================================ */
.pdf-carousel-container {
    padding: 60px 0;
    max-width: 1400px;
    margin: 0 auto; /* Centraliza o bloco na página */
    position: relative;
    overflow: hidden;
}

/* ================================================
   SWIPER AJUSTES
   ================================================ */
.pdf-swiper {
    width: 100%;
    padding: 40px 0 60px 0;
    overflow: visible !important; /* Permite ver as sombras cortadas */
}

.swiper-wrapper {
    align-items: center; /* Alinha verticalmente */
}

/* O slide deve ter largura automática para o 'auto' do JS funcionar */
.swiper-slide {
    width: auto !important; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.4; /* Slides laterais ficam transparentes */
    transform: scale(0.9); /* Slides laterais menores */
}

/* O slide ativo (central) ganha destaque */
.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

/* ================================================
   ITEM DA REVISTA
   ================================================ */
.pdf-item {
    position: relative;
    width: 320px; /* Largura FIXA do card */
    text-align: center;
}

/* ================================================
   MOCKUP iPAD
   ================================================ */
.tablet-mockup {
    position: relative;
    width: 300px;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.4s ease;
}

.tablet-mockup:hover {
    transform: translateY(-10px);
}

.tablet-mockup .screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.tablet-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-button {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.magazine-title {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    font-family: sans-serif;
}

/* ================================================
   NAVEGAÇÃO (SETAS)
   ================================================ */
.swiper-button-next,
.swiper-button-prev {
    color: #007aff !important;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 50 !important; /* Garante que fique acima de tudo */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #007aff;
    color: #fff !important;
}

/* Paginação (Bolinhas) */
.swiper-pagination-bullet-active {
    background: #007aff;
}

/* ================================================
   ADMIN STYLES (Opcional, se misturado)
   ================================================ */
.pdf-admin-container { padding: 20px; background: #fff; border: 1px solid #ddd; }
.pdf-btn { cursor: pointer; }