/* ========== BANNER TOPO ========== */
.page-banner {
    background: linear-gradient(135deg, #f3e6d8 0%, #e8d5c0 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.page-banner h1 {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.banner-subtitle {
    font-size: 1.3rem;
    color: #666;
    position: relative;
    z-index: 1;
}

/* ========== CONTEÚDO PRINCIPAL ========== */
.primeira-infancia-content {
    padding: 80px 0;
    background: #ffffff;
}

.content-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
}

/* ========== LADO ESQUERDO - TEXTO ========== */
.content-texto {
    flex: 1;
}

.etiqueta-secao {
    display: inline-block;
    background: #f3e6d8;
    color: #8b6914;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.content-texto h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.texto-bloco {
    margin-bottom: 40px;
}

.texto-bloco p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.texto-bloco p strong {
    color: #2c3e50;
}

/* ========== PILARES ========== */
.pilares-container h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
}

.pilar-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #faf9f7;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.pilar-item:hover {
    background: #f5f0eb;
    transform: translateX(5px);
}

.pilar-icone {
    flex-shrink: 0;
}

.pilar-texto h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 700;
}

.pilar-texto p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Botão */
.btn-matricula-page {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e74c3c;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid #e74c3c;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.btn-matricula-page:hover {
    background: transparent;
    color: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

.btn-matricula-page svg {
    transition: transform 0.3s ease;
}

.btn-matricula-page:hover svg {
    transform: translateX(5px);
}

/* ========== LADO DIREITO - VÍDEO ========== */
.content-video {
    flex: 1;
    position: sticky;
    top: 120px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-info {
    text-align: center;
    margin-top: 20px;
    padding: 0 10px;
}

.video-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 700;
}

.video-info p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ========== SEÇÃO GRUPOS POR IDADE ========== */
.idade-grupos {
    padding: 80px 0;
    background: #faf9f7;
}

.idade-grupos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 800;
}

.grupos-subtitle {
    text-align: center;
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.grupos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.grupo-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.grupo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.grupo-idade {
    display: inline-block;
    background: #f3e6d8;
    color: #8b6914;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.grupo-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.grupo-card p {
    color: #777;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 40px;
    }
    
    .content-texto h2 {
        font-size: 2rem;
    }
    
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .grupos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 60px 0 40px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .content-wrapper {
        flex-direction: column-reverse;
    }
    
    .content-video {
        position: static;
        margin-bottom: 40px;
    }
    
    .content-texto h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .etiqueta-secao {
        display: table;
        margin: 0 auto 20px;
    }
    
    .btn-matricula-page {
        width: 100%;
        justify-content: center;
    }
    
    .grupos-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .idade-grupos h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .content-texto h2 {
        font-size: 1.5rem;
    }
    
    .texto-bloco p {
        font-size: 1rem;
    }
    
    .pilar-item {
        padding: 15px;
        gap: 15px;
    }
}