/* =========== Reset Básico e Variáveis de Cor =========== */
:root {
    --azul-escuro: #213363;
    --vermelho: #C1161E;
    --azul-claro: #F0F4FB;
    --branco: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-escuro);
    line-height: 1.6;
}

/* =========== Estilos da Seção Hero e Navegação =========== */
.hero {
    background-color: var(--azul-escuro);
    color: var(--branco);
    height: 100vh; /* Ocupa a tela inteira */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 5%;
    position: relative; /* Para animações futuras */
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 700; /* Bold */
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--vermelho); /* Efeito ao passar o mouse */
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-in-out; /* Efeito de transição */
}

.hero-title {
    font-size: 4rem; /* 64px */
    font-weight: 700; /* Bold */
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem; /* 20px */
    max-width: 600px;
    margin-bottom: 2rem;
    font-weight: 400; /* Regular */
}

.btn-cta {
    background-color: var(--vermelho);
    color: var(--branco);
    padding: 15px 35px;
    border-radius: 50px; /* Botão arredondado */
    text-decoration: none;
    font-weight: 700; /* Bold */
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05); /* Efeito de crescimento */
    background-color: #a11218; /* Vermelho um pouco mais escuro */
}

/* =========== Estilos Gerais para Seções =========== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.section-title {
    font-size: 2.5rem; /* 40px */
    color: var(--azul-escuro);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem; /* 18px */
    color: #555;
    margin-bottom: 2rem;
}

/* =========== Seção Para Professores =========== */
.section-professores {
    padding: 100px 5%;
    background-color: var(--azul-claro);
    overflow: hidden; /* Garante que as animações não quebrem o layout */
}

.section-professores .content-text {
    flex: 1; /* Ocupa metade do espaço */
    animation: slideInLeft 1s ease-out;
}

.section-professores .content-image {
    flex: 1; /* Ocupa a outra metade */
    animation: slideInRight 1s ease-out;
}

.section-professores .content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.section-professores .content-image img:hover {
    transform: scale(1.03); /* Efeito de zoom na imagem */
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-list .icon {
    color: var(--vermelho);
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* =========== Seção Para Alunos =========== */
.section-alunos {
    padding: 100px 5%;
    background-color: var(--branco);
}

.text-center {
    text-align: center;
}

.container-alunos {
    max-width: 1100px;
    margin: 0 auto;
}

.container-alunos .section-description {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.8rem;
    color: var(--azul-escuro);
    margin-bottom: 1rem;
}

.feature-text p {
    font-size: 1.1rem;
    color: #555;
}

/* =========== Seção de Contato =========== */
.section-contato {
    padding: 100px 5%;
    background-color: var(--azul-claro);
}

.container-contato {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin: 30px 0;
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--azul-escuro);
    box-shadow: 0 0 8px rgba(33, 51, 99, 0.2);
}

.contact-form button {
    border: none;
    cursor: pointer;
    align-self: center; /* Centraliza o botão */
}

/* =========== Rodapé =========== */
.footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 60px 5%;
    text-align: center;
}

.container-footer {
    max-width: 1100px;
    margin: 0 auto;
}

.logo-footer {
    width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Deixa o logo branco */
}

.nav-menu-footer {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.nav-menu-footer a {
    color: var(--branco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu-footer a:hover {
    color: var(--vermelho);
}

.copyright-text {
    font-size: 0.9rem;
    color: #ccc;
}

/* =========== Responsividade para as novas seções =========== */
@media (max-width: 768px) {
    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }
}

/* =========== Animações de Entrada para a Seção =========== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* =========== Responsividade para Telas Menores =========== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* =========== Animação de Entrada =========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}