/* pages.css - Estilos específicos para páginas internas */

/* Hero Section da Página */
.page-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a5276 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-hero.bercario-hero {
    background: linear-gradient(135deg, #1A2C54 0%, #0C223E 100%);
}

.page-hero.infantil-hero {
    background: linear-gradient(135deg, #1A2C54 0%, #0C223E 100%);
}

.page-hero.fundamental-i-hero {
    background: linear-gradient(135deg, #1A2C54 0%, #0C223E 100%);
}

.page-hero.fundamental-ii-hero {
    background: linear-gradient(135deg, #1A2C54 0%, #0C223E 100%);
}

.page-hero.medio-hero {
    background: linear-gradient(135deg, #1A2C54 0%, #0C223E 100%);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.about-us-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.4s both;
}

.about-us-hero-content, .about-us-hero-subtitle, 
.about-us-hero-description {
    color: var(--dark-gray)
}

.about-us-hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-image > img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-logo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Seção da Página */
.page-section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

.feature-item:nth-child(2) { animation-delay: 0.1s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.3s; }

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-orange);
    color: #1E5F8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Proposta Content */
.proposta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.proposta-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.proposta-text p {
    margin-bottom: 20px;
}

.proposta-text strong {
    color: var(--primary-blue);
}

.proposta-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.proposta-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proposta-image:hover img {
    transform: scale(1.05);
}

/* Diferenciais Lista */
.diferenciais-lista {
    max-width: 800px;
    margin: 0 auto;
}

.diferencial-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.diferencial-item.animate-on-scroll {
    animation: fadeInRight 0.6s ease forwards;
}

.diferencial-item:nth-child(2) { animation-delay: 0.1s; }
.diferencial-item:nth-child(3) { animation-delay: 0.2s; }
.diferencial-item:nth-child(4) { animation-delay: 0.3s; }
.diferencial-item:nth-child(5) { animation-delay: 0.4s; }
.diferencial-item:nth-child(6) { animation-delay: 0.5s; }
.diferencial-item:nth-child(7) { animation-delay: 0.6s; }
.diferencial-item:nth-child(8) { animation-delay: 0.7s; }
.diferencial-item:nth-child(9) { animation-delay: 0.8s; }

.diferencial-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.diferencial-item i {
    color: var(--secondary-orange);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-orange);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 60px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border: 4px solid var(--secondary-orange);
    border-radius: 50%;
    top: 0;
}

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-time {
    font-weight: 600;
    color: var(--secondary-orange);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Espaços Grid */
.espacos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.espaco-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.espaco-card.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

.espaco-card:nth-child(2) { animation-delay: 0.1s; }
.espaco-card:nth-child(3) { animation-delay: 0.2s; }
.espaco-card:nth-child(4) { animation-delay: 0.3s; }

.espaco-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.espaco-image {
    height: 200px;
    overflow: hidden;
}

.espaco-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.espaco-card:hover .espaco-image img {
    transform: scale(1.1);
}

.espaco-content {
    padding: 25px;
}

.espaco-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* Idades Grid */
.idades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 40px;
}

.idade-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.idade-card.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

.idade-card:nth-child(2) { animation-delay: 0.1s; }
.idade-card:nth-child(3) { animation-delay: 0.2s; }

.idade-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.idade-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.idade-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.4rem;
}

.idade-tag {
    background: var(--secondary-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.idade-content {
    padding: 25px;
}

.idade-content p {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a5276 100%);
    color: var(--white);
    text-align: center;
}

.cta-final h2 {
    color: #0A3D62;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-final p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Material Didático Section */
.material-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.material-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.material-icon {
    width: 100px;
    height: 100px;
    background: var(--secondary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.material-price {
    font-size: 2rem;
    color: var(--secondary-orange);
    font-weight: 700;
    margin: 20px 0;
}

.material-price span {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 400;
}

/* Tabela de Material */
.material-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.material-table th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px;
    text-align: left;
}

.material-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.material-table tr:last-child td {
    border-bottom: none;
}

.material-table tr:hover {
    background: var(--light-gray);
}

/* Responsividade */
@media (max-width: 992px) {
    .page-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .proposta-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 40px;
        padding-left: 40px;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 40px;
        padding-left: 40px;
    }
    
    .timeline-item::after {
        left: 12px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .espacos-grid,
    .idades-grid {
        grid-template-columns: 1fr;
    }
    
    .material-grid {
        grid-template-columns: 1fr;
    }
    
    .material-table {
        font-size: 0.9rem;
    }
    
    .material-table th,
    .material-table td {
        padding: 10px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* Estilos para Material Didático - Adicionar ao pages.css */

/* Container da tabela de material */
.material-table-container {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Tabela de material */
.material-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 700px;
}

.material-table th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.material-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    line-height: 1.6;
}

.material-table tr:last-child td {
    border-bottom: none;
}

.material-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.material-table tr:hover {
    background-color: rgba(10, 61, 98, 0.05);
}

.material-table strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Informações do material */
.material-info {
    margin-top: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-text {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f4fc;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-blue);
}

.info-text i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Preços do material */
.material-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.price-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.price-card.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

.price-card:nth-child(2) {
    animation-delay: 0.1s;
}

.price-card:hover {
    border-color: var(--secondary-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.price-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.material-price {
    font-size: 2.5rem;
    color: var(--secondary-orange);
    font-weight: 700;
    margin: 20px 0;
}

.material-price span {
    font-size: 1.2rem;
    color: var(--medium-gray);
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.price-info {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-top: 10px;
}

.payment-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    color: var(--medium-gray);
    font-size: 1rem;
    margin-top: 30px;
}

.payment-info i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Para telas menores */
@media (max-width: 768px) {
    .material-table {
        font-size: 0.9rem;
    }
    
    .material-table th,
    .material-table td {
        padding: 12px 10px;
    }
    
    .material-pricing {
        grid-template-columns: 1fr;
    }
    
    .material-price {
        font-size: 2rem;
    }
    
    .price-card {
        padding: 20px;
    }
}