/* ============================================================
   equipa2.css — Estilos da página Equipa
   Localização: public/build/css/equipa2.css
   ============================================================ */

/* ===== HERO EQUIPA ===== */
.equipa-hero {
    background: linear-gradient(145deg, #1a1014 0%, #211B1B 50%, #2c1a0e 100%);
    padding: 140px 60px 80px;
    text-align: center;
}

.equipa-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.equipa-hero-logo {
    max-height: 64px;
    width: auto;
    margin: 0 auto 24px;
    display: block;
}

.equipa-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.87);
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 1.1;
}

.equipa-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== EQUIPA SECTION ===== */
.equipa-section {
    background-color: #211B1B;
    padding: 80px 0 60px;
    overflow-x: hidden;
}

.equipa-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== SWIPER EQUIPA ===== */
.equipa-swiper {
    width: 100%;
    padding: 20px 0 40px !important;
    overflow: visible !important;
}

.equipa-slide {
    width: 280px !important;
    flex-shrink: 0;
}

/* ===== CARD MEMBRO ===== */
.membro-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.membro-foto-wrapper {
    position: relative;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
}

.membro-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(30%);
    transition: filter 0.4s ease, transform 0.5s ease;
    display: block;
}

.membro-card:hover .membro-foto {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.membro-plataforma-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* ===== OVERLAY (nome + cargo sempre visíveis, bio revela no hover/tap) ===== */
.membro-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(33,27,27,0.97) 0%, rgba(33,27,27,0.8) 40%, rgba(33,27,27,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transform: translateY(calc(100% - 92px));
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

.membro-card:hover .membro-overlay,
.membro-card:focus-within .membro-overlay,
.membro-card.is-active .membro-overlay {
    transform: translateY(0);
}

.membro-overlay-content {
    width: 100%;
}

.membro-overlay-content h3 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.membro-cargo {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #f5a623;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.membro-bio {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease 0.1s, margin 0.4s ease;
}

.membro-card:hover .membro-bio,
.membro-card:focus-within .membro-bio,
.membro-card.is-active .membro-bio {
    max-height: 140px;
    opacity: 1;
    margin-top: 10px;
}

/* ===== SLIDE ATIVO — destaque central ===== */
.equipa-swiper .swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.92);
}

.equipa-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.equipa-swiper .swiper-slide-prev,
.equipa-swiper .swiper-slide-next {
    opacity: 0.75;
    transform: scale(0.96);
}

/* ===== BOTÕES NAVEGAÇÃO ===== */
.equipa-nav {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(158, 150, 150, 0.08);
    border: 2px solid rgba(245,166,35,0.3);
    color: #f5a623;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    line-height: 1;
}

.equipa-nav:hover {
    background: #f5a623;
    border-color: #f5a623;
    color: #1a1a1a;
    transform: scale(1.08);
}

/* ===== PAGINAÇÃO ===== */
.equipa-pagination {
    text-align: center;
    padding-top: 20px;
}

.equipa-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    transition: background 0.3s, transform 0.3s;
    margin: 0 4px;
}

.equipa-pagination .swiper-pagination-bullet-active {
    background: #f5a623;
    transform: scale(1.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .equipa-hero { padding: 120px 30px 60px; }
    .equipa-slider-wrapper { padding: 0 60px; }
    .equipa-slide { width: 240px !important; }
    .membro-foto-wrapper { height: 320px; }
}

@media (max-width: 767.98px) {
    .equipa-hero { padding: 100px 20px 50px; }
    .equipa-slider-wrapper { padding: 0 50px; }
    .equipa-slide { width: 220px !important; }
    .membro-foto-wrapper { height: 280px; }
    .equipa-nav { width: 42px; height: 42px; font-size: 22px; }
}

@media (max-width: 380px) {
    .equipa-slider-wrapper { padding: 0 30px; }
    .equipa-slide { width: 190px !important; }
}