/*
	Theme Name: ACS PE - 1.1
	Description: ACS PE - 1.1
	Author: ACS PE
	Version: 1.1
*/

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #004aad; /* Azul principal - ajuste conforme marca */
    --secondary-color: #00c853; /* Verde - ajuste conforme marca */
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --border-color: #eaeaea;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-height: 70px;
    --mobile-header-height: 60px;
}

body {
    overflow-x: hidden;
	font-family: "Nunito", sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Exo 2", sans-serif;
}

p {
	font-family: "Nunito", sans-serif;
}

a {
	font-family: "Nunito", sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #00b247;
    transform: translateY(-2px);
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    z-index: 999;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    position: relative;
}

.nav-brand .logo {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Menu Desktop (oculto em mobile) */
.desktop-menu,
.desktop-cta {
    display: none;
}

/* Botão Mobile Toggle */
.mobile-toggle {
    cursor: pointer;
    font-size: 28px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--secondary-color);
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    height: var(--mobile-header-height);
}

.mobile-brand .logo-text {
    font-size: 20px;
    font-weight: 700;
}

.mobile-time {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-nav {
    list-style: none;
    padding: 20px 0;
    flex: 1;
}

.mobile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-arrow {
    font-size: 20px;
    transition: var(--transition);
}

.mobile-dropdown.active .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    background: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mobile-submenu li a:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    padding-left: 45px;
}

.mobile-cta {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.btn-cta {
    display: block;
    text-align: center;
    background: #300378;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.2);
}

.mobile-footer {
    padding: 20px;
    background: var(--bg-light);
}

.mobile-footer p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.footer-link:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

.footer-link:hover:after {
    transform: translateX(5px);
}

/* Conteúdo Principal */
.main-content {
    margin-top: var(--header-height);
    padding: 40px 0;
}

.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-hero:hover {
    background: #00b247;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}


/* CATEGORY */
/* Container Principal */
.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

/* Estilo Comum para todos os itens (links e span) */
.wp-pagenavi a, 
.wp-pagenavi span {
    text-decoration: none !important;
    padding: 8px 16px !important;
    border-radius: 12px !important; /* Bordas suaves modernistas */
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0 !important;
    color: #4a5568 !important;
    background-color: #ffffff;
}

/* Página Atual */
.wp-pagenavi span.current {
    background-color: #300378 !important; /* Sua cor base */
    color: #ffffff !important;
    border-color: #300378 !important;
    box-shadow: 0 4px 12px rgba(48, 3, 120, 0.25);
}

/* Efeito de Hover nos Links */
.wp-pagenavi a:hover {
    background-color: #f7fafc !important;
    border-color: #300378 !important;
    color: #300378 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Texto "Página X de Y" */
.wp-pagenavi span.pages {
    border: none !important;
    background: transparent !important;
    color: #718096 !important;
    font-weight: 400;
    margin-right: 8px;
}

/* Setas de Próximo/Anterior */
.wp-pagenavi a.nextpostslink, 
.wp-pagenavi a.previouspostslink {
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Responsividade para Mobile */
@media (max-width: 600px) {
    .wp-pagenavi span.pages {
        display: none; /* Esconde o texto longo em telas pequenas */
    }
    .wp-pagenavi a, .wp-pagenavi span {
        padding: 6px 12px !important;
    }
}





/* Media Queries - Tablet */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .mobile-menu {
        width: 400px;
    }
}

/* Media Queries - Desktop */
@media (min-width: 992px) {
    .mobile-toggle,
    .mobile-menu {
        display: none;
    }
    
    .desktop-menu,
    .desktop-cta {
        display: block;
    }
    
    .desktop-nav {
        display: flex;
        list-style: none;
        gap: 30px;
        align-items: center;
    }
    
    .nav-link {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: var(--transition);
        padding: 10px 0;
        position: relative;
    }
    
    .nav-link:hover {
        color: var(--primary-color);
    }
    
    .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s;
    }
    
    .nav-link:hover:after {
        width: 100%;
    }
    
    .has-dropdown {
        position: relative;
    }
    
    .desktop-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 250px;
        box-shadow: var(--shadow);
        border-radius: 6px;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 100;
        padding: 10px 0;
    }
    
    .has-dropdown:hover .desktop-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .desktop-submenu li a {
        display: block;
        padding: 10px 20px;
        text-decoration: none;
        color: var(--text-color);
        font-size: 14px;
        transition: var(--transition);
    }
    
    .desktop-submenu li a:hover {
        background: var(--bg-light);
        color: var(--primary-color);
        padding-left: 25px;
    }
    
    .desktop-cta .btn-cta {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 42px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Media Queries - Large Desktop */
@media (min-width: 1200px) {
    .desktop-nav {
        gap: 40px;
    }
}