/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0056b3;
    --primary-dark: #004494;
    --secondary: #28a745;
    --secondary-dark: #218838;
    --accent: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-blue: #e3f2fd;
    --orange: #fd7e14;
    --purple: #6f42c1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner Principal - ATUALIZADO */
.banner {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)),
        url('../imagens/cevi.png') no-repeat center center,
        linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    background-size: contain, cover;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    padding: 0 20px;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.banner-badge {
    background: var(--secondary);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    margin-bottom: 25px;
    display: inline-block;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.banner-badge i {
    margin-right: 8px;
}

.banner-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    text-shadow: none;
}

.banner-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.banner-text {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.7;
}

.banner-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
}

/* Botões - ATUALIZADOS para combinar com o novo design */
.btn-destaque {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-destaque:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-grande {
    padding: 18px 35px;
    font-size: 1.2rem;
}

.btn-secundario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--primary);
    padding: 15px 30px;
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    background-color: var(--primary);
    color: white;
}

.btn-turma {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-turma:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-evento {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-evento:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-mais-eventos {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light);
    color: var(--dark);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.btn-mais-eventos:hover {
    background-color: #e9ecef;
    color: var(--dark);
}

/* Seções comuns */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    margin: 15px auto;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--gray);
}

/* Sobre o Curso */
.sobre-curso {
    background-color: white;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-texto {
    flex: 1;
}

.sobre-texto p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.destaques-lista {
    margin-top: 30px;
}

.destaque-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.destaque-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.destaque-item h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.sobre-imagem {
    flex: 1;
    position: relative;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.imagem-legenda {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-style: italic;
    color: var(--gray);
    font-size: 0.9rem;
}

.imagem-legenda i {
    color: var(--primary);
}

/* Turmas Disponíveis */
.turmas {
    background-color: var(--light-blue);
}

.turmas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.turma-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary);
}

.turma-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.turma-destaque {
    border-top: 4px solid var(--secondary);
    position: relative;
}

.turma-destaque::before {
    content: '⭐ MAIS PROCURADO';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.turma-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.turma-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.turma-destaque .turma-icon {
    color: var(--secondary);
}

.turma-header h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.turma-tag {
    background-color: var(--light);
    color: var(--gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.turma-info {
    padding: 20px 25px;
}

.turma-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.turma-info .info-item:last-child {
    margin-bottom: 0;
}

.turma-info .info-item i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 1.1rem;
}

.turma-info .info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

.horarios {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.horarios span {
    font-size: 0.9rem;
    color: var(--gray);
}

.turma-actions {
    padding: 0 25px 25px;
}

.turmas-info-adicional {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 3px;
}

.info-box h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Ações Comunitárias */
.acoes-comunitarias {
    background-color: white;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.evento-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.evento-card:hover {
    transform: translateY(-10px);
}

.evento-imagem {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.evento-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-imagem img {
    transform: scale(1.05);
}

.evento-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.evento-realizado {
    background-color: var(--gray);
}

.evento-content {
    padding: 25px;
}

.evento-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.evento-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.evento-info i {
    margin-right: 5px;
    color: var(--primary);
}

.evento-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.evento-estatisticas {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.estatistica {
    text-align: center;
}

.estatistica strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
}

.estatistica span {
    font-size: 0.8rem;
    color: var(--gray);
}

.mais-eventos {
    text-align: center;
}

/* Diferenciais */
.diferenciais {
    background-color: var(--light);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.diferencial-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.diferencial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.diferencial-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.diferencial-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Grade Curricular */
.grade-curricular {
    background-color: white;
}

.grade-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.semestre {
    background-color: var(--light-blue);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary);
}

.semestre-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.semestre-header h3 {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.carga-horaria {
    background-color: var(--light);
    color: var(--gray);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.semestre ul {
    list-style-type: none;
}

.semestre li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.semestre li:last-child {
    border-bottom: none;
}

.semestre li i {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Depoimentos */
.depoimentos {
    background-color: var(--light-blue);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.depoimento-texto {
    position: relative;
    margin-bottom: 25px;
}

.depoimento-texto i {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.3;
}

.depoimento-texto p {
    font-style: italic;
    line-height: 1.7;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.depoimento-autor img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento-autor h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.depoimento-autor span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Galeria */
.galeria {
    background-color: var(--light);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.galeria-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-overlay h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.galeria-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Matrícula */
.matricula {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 68, 148, 0.9)), 
                url('cevi/images/matricula.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
}

.matricula-content h2 {
    color: white;
}

.matricula-content h2::after {
    background-color: var(--secondary);
}

.matricula-destaque {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.matricula-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

.matricula-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.matricula-contato {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.matricula-contato p {
    font-size: 1.1rem;
}

.matricula-contato i {
    margin-right: 10px;
    color: var(--secondary);
}

/* Responsividade - ATUALIZADA para o novo banner */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.5rem;
    }
    
    .banner-text {
        font-size: 1.1rem;
    }
    
    .turmas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner {
        height: auto;
        padding: 100px 20px 60px;
        background: 
            linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.95)),
            url('../imagens/cevi.png') no-repeat center center,
            linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
        background-size: contain, cover;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1.3rem;
    }
    
    .banner-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .turmas-grid,
    .eventos-grid,
    .diferenciais-grid,
    .grade-content,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .matricula-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn-destaque,
    .btn-secundario {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .matricula-info {
        grid-template-columns: 1fr;
    }
    
    .matricula-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .turma-destaque::before {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
}