/* ------------------- */
/* RESET E VARIÁVEIS   */
/* ------------------- */
:root {
    --verde-salvia: #B2C2B6;
    --azul-sereno: #A2B2C2;
    --grafite-suave: #4F4F4F;
    --areia: #E8D7C9;
    --branco: #FFFFFF;
    --fundo-claro: #F8F9FA;
    
    --font-principal: 'Montserrat', sans-serif;
    --font-texto: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-texto);
    color: var(--grafite-suave);
    line-height: 1.6;
    background-color: var(--branco);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-principal);
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

/* ------------------- */
/* HEADER E NAVEGAÇÃO  */
/* ------------------- */
.header {
    background: var(--branco);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: var(--grafite-suave);
    font-family: var(--font-principal);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--verde-salvia);
}

/* ------------------- */
/* BOTÕES              */
/* ------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-principal);
    font-weight: 700;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--verde-salvia);
    color: var(--branco);
}

.btn-primary:hover {
    background-color: #9eaf9a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--azul-sereno);
    color: var(--branco);
}

.btn-secondary:hover {
    background-color: #8fa1b1;
    transform: translateY(-2px);
}


/* ------------------- */
/* SEÇÕES              */
/* ------------------- */
section {
    padding: 80px 0;
}

/* HERO */
.hero-section {
    background: var(--fundo-claro); /* Placeholder - Substituir por imagem se desejar */
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    max-width: 700px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* GRIDS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* NOVO CÓDIGO PARA O GRID DE 4 COLUNAS */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Reduzimos um pouco o espaço para caber melhor */
}

/* APRESENTAÇÃO */
.apresentacao-img img {
    width: 100%;
    border-radius: 10px;
}

.apresentacao-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* PARA QUEM */
.para-quem-section {
    background-color: var(--fundo-claro);
}

.para-quem-card {
    text-align: center;
    padding: 20px;
}

.para-quem-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* CURSOS */
.curso-card {
    background: var(--branco);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.curso-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.curso-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.curso-card-content h3 {
    margin-bottom: 10px;
}
.curso-card-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* DEPOIMENTOS */
.depoimentos-section {
    background-color: var(--fundo-claro);
}
.depoimento-card {
    background: var(--branco);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--verde-salvia);
}

.depoimento-card > p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.depoimento-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA FINAL E NEWSLETTER */
.cta-final-section {
    text-align: center;
}

.cta-final-section h2 {
    font-size: 2.2rem;
}

.cta-final-section > p {
    margin-bottom: 30px;
}

.newsletter {
    margin-top: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.newsletter input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-texto);
}

/* ------------------- */
/* FOOTER              */
/* ------------------- */
.footer {
    background: var(--grafite-suave);
    color: var(--branco);
    text-align: center;
    padding: 20px 0;
}

/* ------------------- */
/* RESPONSIVIDADE      */
/* ------------------- */
/* NOVO CÓDIGO DE RESPONSIVIDADE PARA TABLETS */
@media(max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
        gap: 30px;
    }
}

@media(max-width: 768px) {
    .section-title, .apresentacao-texto h2, .hero-section h1 {
        font-size: 1.8rem;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
}
/* ------------------- */
/* PÁGINA SOBRE        */
/* ------------------- */

/* Estilo para o link ativo na navegação */
.navbar a.active {
    color: var(--verde-salvia);
    font-weight: 700;
}

/* Seção do Título da Página */
.page-title-section {
    background-color: var(--fundo-claro);
    padding: 40px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 2.5rem;
    color: var(--grafite-suave);
}

/* Seção Minha História */
.minha-historia-section {
    padding: 80px 0;
}

/* Inverter a ordem no desktop para a imagem ficar à direita */
.minha-historia-section .grid-2 {
    grid-template-areas: "texto imagem";
}
.historia-texto {
    grid-area: texto;
}
.historia-img {
    grid-area: imagem;
}

.historia-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.historia-texto p {
    margin-bottom: 15px;
}

.historia-img img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
}

/* Seção Meu Propósito */
.meu-proposito-section {
    background-color: var(--fundo-claro);
    padding: 80px 0;
}

.proposito-card {
    background-color: var(--branco);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--azul-sereno);
}

.proposito-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--grafite-suave);
}

/* ------------------- */
/* RESPONSIVIDADE (SOBRE) */
/* ------------------- */
@media(max-width: 768px) {
    .page-title-section h1 {
        font-size: 2rem;
    }

    /* Inverter a ordem no mobile para a imagem vir primeiro */
    .minha-historia-section .grid-2 {
        grid-template-areas:
            "imagem"
            "texto";
    }

    .historia-texto h2 {
        font-size: 1.8rem;
        margin-top: 20px;
    }
}