/*
Theme Name: Conexão Ponte Velha
Author: LUB Consultoria
*/

:root {
    --bg-dark: #000000;
    
    /* CORES DEFINIDAS CONFORME SOLICITAÇÃO */
    --reggae-green: #86DA83;
    --reggae-yellow: #F7E351;
    --reggae-red: #e3484b;
    
    /* Gradiente atualizado com as 3 cores exatas: Vermelho, Amarelo e Verde */
    --reggae-gradient: linear-gradient(90deg, #e3484b 0%, #F7E351 50%, #86DA83 100%);
    
    /* Fallbacks padrões */
    --font-body: 'Mansalva', cursive, sans-serif;
    --font-title: 'Kavoon', serif;
    --font-menu: 'Kavoon', serif;
    --img-radius: 0px;
}

* {
    box-sizing: border-box;
}

/* FONTES DEFINITIVAS E CORPO DO SITE */
body, p, span, div, .texto-corpo, .member-bio {
    font-family: var(--font-body) !important;
    background-color: var(--bg-dark);
    color: #fff;
    margin: 0;
    line-height: 1.7;
    font-size: 1.45rem; 
}

body {
    padding-top: 90px;
}

/* TODOS OS TÍTULOS AGORA SÃO AMARELOS POR PADRÃO */
h1, h2, h3, h4, h5, h6, .section-title, .page-banner h1 {
    font-family: var(--font-title) !important;
    font-weight: normal;
    color: var(--reggae-yellow) !important; /* Aplica a cor amarela #F7E351 forçada */
}

/* EFEITO ANIMADO NOS LINKS DE TEXTO */
p a, .texto-corpo a, .member-bio a {
    color: var(--reggae-yellow);
    text-decoration: none !important;
    font-weight: bold;
    padding-bottom: 2px;
    background-image: var(--reggae-gradient);
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease, color 0.3s ease;
}

p a:hover, .texto-corpo a:hover, .member-bio a:hover {
    background-size: 100% 3px;
    color: var(--reggae-green);
}

/* HEADER E MENU DESKTOP */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    z-index: 9999; background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--reggae-red);
}

.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1350px; margin: 0 auto; position: relative;
    height: 100%; padding: 0 20px;
}

.nav-side { flex: 1; }
.nav-left { display: flex; justify-content: flex-end; padding-right: 110px; }
.nav-right { display: flex; justify-content: flex-start; padding-left: 110px; }

.nav-side ul { display: flex; list-style: none; gap: 22px; margin: 0; padding: 0; align-items: center; }
.nav-side a {
    font-family: var(--font-menu) !important;
    color: #fff; text-decoration: none !important; text-transform: uppercase;
    font-size: 1.1rem; position: relative; padding-bottom: 5px;
    white-space: nowrap;
}

.nav-side a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px; background: var(--reggae-gradient); transition: width 0.3s ease;
}
.nav-side a:hover::after { width: 100%; }
.nav-side a:hover { color: var(--reggae-yellow); }

/* MARCA FLUTUANTE */
.logo-central { 
    position: absolute; left: 50%; top: 10px;
    transform: translateX(-50%); z-index: 10000; 
    background: transparent !important;
}
.logo-central a, .custom-logo-link { background: transparent !important; display: block; text-decoration: none !important; }
.logo-central img {
    max-width: 180px; height: auto; display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.7));
    transition: transform 0.3s ease; background: transparent !important;
}
.logo-central:hover img { transform: scale(1.08); }

/* MENU MOBILE */
.menu-toggle { display: none; font-size: 2rem; color: var(--reggae-yellow); cursor: pointer; z-index: 10000; }
.mobile-menu-overlay {
    position: fixed; top: 0; left: -100%; width: 300px; height: 100vh;
    background: #000; z-index: 100000; transition: left 0.4s ease;
    box-shadow: 5px 0 15px rgba(0,0,0,0.9); padding: 80px 20px;
    border-right: 5px solid var(--reggae-green);
}
.mobile-menu-overlay.active { left: 0; }
.mobile-menu-close { position: absolute; top: 20px; right: 20px; font-size: 2.5rem; color: var(--reggae-red); cursor: pointer; }
.mobile-menu-content ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu-content a { font-family: var(--font-menu) !important; color: #fff; text-decoration: none !important; font-size: 1.5rem; text-transform: uppercase; }

/* SLIDER E SINALIZAÇÃO DE ARREDONDAMENTO DINÂMICO */
.hero-slider-section { width: 100%; background: #000; position: relative; margin-top: 0; display: block; }
.cpv-swiper { width: 100%; height: 85vh; display: block; }
.swiper-slide { height: 100%; display: block; }

/* Aplicação de borda nos slides */
.slide-image { 
    width: 100%; height: 100%; background-size: cover; background-position: center top; display: block; 
    border-radius: var(--img-radius); 
}

.swiper-button-next, .swiper-button-prev { 
    background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important;
    color: var(--reggae-yellow) !important; text-shadow: 2px 2px 5px rgba(0,0,0,0.8); 
}
.swiper-pagination { background: transparent !important; bottom: 30px !important; z-index: 10; }
.swiper-pagination-bullet { background: #fff !important; opacity: 0.5 !important; }
.swiper-pagination-bullet-active { background: var(--reggae-red) !important; opacity: 1 !important; transform: scale(1.5); }

/* DIVISÃO COLORIDA REGGAE */
.reggae-divider { width: 100%; height: 15px; display: flex; }
.stripe { flex: 1; }
.green { background: var(--reggae-green); }
.yellow { background: var(--reggae-yellow); }
.red { background: var(--reggae-red); }

/* GRID DE INTEGRANTES */
.integrantes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; padding: 40px 20px; }
.member-card { background: #151515; border-radius: 15px; overflow: hidden; border-bottom: 5px solid var(--reggae-green); transition: transform 0.3s; }
.member-card:hover { transform: translateY(-10px); }
.member-photo img { 
    width: 100%; height: 350px; object-fit: cover; filter: grayscale(30%); 
    border-radius: var(--img-radius); 
}
.member-info { padding: 25px; text-align: center; }
.member-info h3 { color: var(--reggae-yellow) !important; font-size: 1.8rem; margin-bottom: 5px; }
.member-role { color: var(--reggae-green); font-size: 1.2rem; display: block; margin-bottom: 15px; }
.member-bio { font-size: 1.15rem; opacity: 0.8; margin-bottom: 20px; }
.member-socials { display: flex; justify-content: center; gap: 15px; }
.member-socials a { color: #fff; font-size: 1.3rem; transition: color 0.3s; text-decoration: none !important; }
.member-socials a:hover { color: var(--reggae-red); }

/* RODAPÉ */
.site-footer { background: #000; padding: 50px 20px 20px; border-top: 4px solid var(--reggae-green); }
.footer-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.footer-logo img { max-width: 150px !important; height: auto !important; display: block; margin: 0 auto; }
.footer-socials { display: flex; gap: 15px; justify-content: center; }
.footer-socials a {
    color: #fff; background: #1a1a1a; width: 45px; height: 45px; border-radius: 50%; 
    display: flex; justify-content: center; align-items: center;
    font-size: 1.3rem; transition: all 0.3s ease; text-decoration: none !important; border: 2px solid transparent; 
}
.footer-socials a:hover { background: var(--reggae-red); transform: translateY(-5px); color: #000; border-color: var(--reggae-yellow) !important; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #222; }
.footer-bottom p { font-size: 0.95rem; color: #888; margin: 0; font-family: 'Segoe UI', Tahoma, sans-serif !important; }
.footer-bottom p strong { color: var(--reggae-yellow); font-weight: bold; }

/* RESPONSIVIDADE (CELULAR) */
@media (max-width: 992px) {
    body { padding-top: 75px; } 
    .site-header { height: 75px; }
    .nav-side { display: none; }
    .nav-container { justify-content: space-between; align-items: center; }
    .logo-central { position: relative; left: 0; top: 0; transform: none; margin: 0; order: 1; z-index: 1000; }
    .logo-central img { max-width: 100px; transform: translateY(10px); }
    .logo-central:hover img { transform: translateY(10px) scale(1.05); }
    .menu-toggle { display: block; order: 2; margin-top: 5px; }
    .cpv-swiper { height: auto; aspect-ratio: 4 / 3; }
    .swiper-pagination { bottom: 15px !important; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; justify-content: center; }
}