/* ============================================
   CSS Compartilhado para Páginas de Conteúdo
   (sobre.php, comissoes.php, etc.)
   ============================================ */

:root {
    --cor-primaria: #006585;
    --cor-secundaria: #00b1bf;
    --cor-texto-claro: #666;
    --cor-fundo-claro: #f8f9fa;
    --sombra-media: 0 4px 25px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-wrap {
    position: relative;
    z-index: 1;
}

.hero-wrap .container {
    position: relative;
    z-index: 2;
}

.hero-wrap .overlay {
    z-index: 1;
}

.hero-wrap .slider-text {
    position: relative;
    z-index: 3 !important;
}

.hero-wrap .slider-text .breadcrumbs {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 15px !important;
    position: relative;
    z-index: 4 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-wrap .slider-text .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-weight: 400 !important;
}

.hero-wrap .slider-text .breadcrumbs a:hover {
    color: #ffffff !important;
}

.hero-wrap .slider-text .breadcrumbs span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400 !important;
}

.hero-wrap .slider-text h1.bread {
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 46px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    margin-top: 10px !important;
    position: relative;
    z-index: 4 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 991.98px) {
    .hero-wrap .slider-text h1.bread {
        font-size: 40px !important;
    }
}

@media (max-width: 768px) {
    .hero-wrap .slider-text h1.bread {
        font-size: 32px !important;
    }
}

@media (max-width: 576px) {
    .hero-wrap .slider-text h1.bread {
        font-size: 26px !important;
    }
}

/* Container e Seções Genéricas */
.content-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-page-section {
    padding: 40px 0;
    position: relative;
}

.content-page-section:nth-child(even) {
    background-color: var(--cor-fundo-claro);
}

.content-page-section:first-of-type {
    padding-top: 50px;
}

.content-page-section:last-of-type {
    padding-bottom: 50px;
}

/* Conteúdo */
.content-page-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Títulos */
.content-page-content h3 {
    color: var(--cor-primaria);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 25px;
    margin-top: 0;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.3;
}

.content-page-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-secundaria));
    border-radius: 2px;
}

.content-page-content h4 {
    color: var(--cor-primaria);
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Texto */
.content-page-content p {
    color: var(--cor-texto-claro);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 18px;
    text-align: justify;
}

/* Listas */
.content-page-content ul {
    color: var(--cor-texto-claro);
    line-height: 2;
    font-size: 16px;
    padding-left: 0;
    list-style: none;
    margin: 25px 0;
}

.content-page-content ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    text-align: justify;
}

.content-page-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cor-secundaria);
    font-weight: bold;
    font-size: 18px;
}

/* Imagens */
.content-page-image {
    margin: 25px 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

/* Reduz espaçamento quando imagem vem após lista */
.content-page-content ul + .content-page-image {
    margin-top: 10px;
    margin-bottom: 25px;
}

.content-page-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.content-page-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.content-page-image:hover img {
    transform: scale(1.02);
}

/* Responsividade - Tablets */
@media (max-width: 992px) {
    .content-page-container {
        padding: 0 30px;
    }
    
    .content-page-section {
        padding: 35px 0;
    }
    
    .content-page-content h3 {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }
    
    .content-page-content h4 {
        font-size: 1.35rem;
        margin-top: 20px;
    }
    
    .content-page-content p,
    .content-page-content ul {
        font-size: 15.5px;
    }
}

/* Tablets pequenos e celulares grandes */
@media (max-width: 768px) {
    .content-page-container {
        padding: 0 20px;
    }
    
    .content-page-section {
        padding: 30px 0;
    }
    
    .content-page-content {
        max-width: 100%;
    }
    
    .content-page-content h3 {
        font-size: 1.7rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .content-page-content h3::after {
        width: 60px;
        height: 3px;
    }
    
    .content-page-content h4 {
        font-size: 1.25rem;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .content-page-content p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 16px;
    }
    
    .content-page-content ul {
        font-size: 15px;
        line-height: 1.9;
        margin: 18px 0;
    }
    
    .content-page-content ul li {
        margin-bottom: 10px;
        padding-left: 25px;
    }
    
    .content-page-image {
        margin: 20px 0;
        border-radius: 8px;
    }
    
    .content-page-content ul + .content-page-image {
        margin-top: 8px;
    }
}

/* Celulares */
@media (max-width: 576px) {
    .content-page-container {
        padding: 0 15px;
    }
    
    .content-page-section {
        padding: 35px 0;
    }
    
    .content-page-content h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
        padding-bottom: 10px;
    }
    
    .content-page-content h3::after {
        width: 50px;
        height: 3px;
    }
    
    .content-page-content h4 {
        font-size: 1.15rem;
        margin-top: 22px;
        margin-bottom: 12px;
    }
    
    .content-page-content p {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 18px;
        text-align: left;
    }
    
    .content-page-content ul {
        font-size: 14px;
        line-height: 1.8;
        margin: 18px 0;
    }
    
    .content-page-content ul li {
        margin-bottom: 8px;
        padding-left: 22px;
    }
    
    .content-page-content ul li::before {
        font-size: 16px;
    }
    
    .content-page-image {
        margin: 25px 0;
        border-radius: 6px;
    }
    
    .content-page-image:hover {
        transform: none;
    }
    
    .content-page-content ul + .content-page-image {
        margin-top: 8px;
    }
}

/* Celulares muito pequenos */
@media (max-width: 400px) {
    .content-page-content h3 {
        font-size: 1.35rem;
    }
    
    .content-page-content h4 {
        font-size: 1.05rem;
    }
    
    .content-page-content p,
    .content-page-content ul {
        font-size: 13.5px;
    }
}

/* Impressão */
@media print {
    .content-page-section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .content-page-image {
        box-shadow: none;
        margin: 20px 0;
    }
}

