
/* ===== CONFIGURAÇÕES GERAIS ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #17291F;
    color: #F1EAD8;
    font-family: Georgia, serif;
}

/* ===== CABEÇALHO ===== */

header {
    background-color: #243D2D;
    text-align: center;
    padding: 60px 20px;

    border-bottom: 2px solid #657A4D;
}

header h1 {
    font-size: 42px;
    color: #D9DFA9;
    margin-bottom: 15px;
}

header p {
    font-size: 18px;
    color: #D1D9C3;
}

/* ===== CONTEÚDO PRINCIPAL ===== */

main {
    max-width: 800px;
    margin: 70px auto;
    padding: 35px;

    background-color: #24382B;
    border: 1px solid #526B47;
    border-radius: 15px;

    text-align: center;
}

main h2 {
    color: #D9DFA9;
    font-size: 30px;
    margin-bottom: 25px;
}

main p {
    font-size: 18px;
    line-height: 1.8;
    color: #E0E3D5;
}

/* ===== MENU DE NAVEGAÇÃO ===== */

nav {
    background-color: #1D3225;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;

    padding: 20px;
}

nav a {
    color: #D9DFA9;
    text-decoration: none;
    font-size: 17px;

    transition: color 0.3s;
}

/* Efeito ao passar o mouse */

nav a:hover {
    color: #FFFFFF;
}

/* ===== APRESENTAÇÃO ===== */

.apresentacao {
    padding: 25px;
    margin-bottom: 45px;
}

/* ===== CATEGORIAS ===== */

.categoria {
    background-color: #304936;
    border: 1px solid #657A4D;
    border-radius: 12px;

    padding: 30px;
    margin-top: 25px;

    text-align: center;
}

.categoria h2 {
    margin-bottom: 15px;
}

.categoria p {
    line-height: 1.7;
}

/* ===== ÁREA DE DESCOBERTAS ===== */

.descobertas {
    margin-top: 60px;
    text-align: center;
}

.descobertas h2 {
    color: #D9DFA9;
    font-size: 32px;
    margin-bottom: 12px;
}

.subtitulo {
    color: #D1D9C3;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* ===== GRADE DE CARTÕES ===== */

.grade-cartoes {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

/* ===== CARTÕES ===== */

.cartao {
    background-color: #304936;

    border: 1px solid #657A4D;
    border-radius: 14px;

    overflow: hidden;

    transition: transform 0.3s;
}

/* Efeito ao passar o mouse */

.cartao:hover {
    transform: translateY(-6px);
}

/* Imagens */

.cartao img {
    width: 100%;
    height: 210px;

    object-fit: cover;
    display: block;
}

/* Conteúdo */

.cartao-conteudo {
    padding: 22px;
}

.cartao-conteudo h3 {
    color: #D9DFA9;
    margin-bottom: 12px;
    font-size: 21px;
}

.cartao-conteudo p {
    color: #E0E3D5;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Links */

.cartao-conteudo a {
    display: inline-block;

    color: #17291F;
    background-color: #D9DFA9;

    padding: 10px 22px;
    border-radius: 20px;

    text-decoration: none;
    font-weight: bold;

    transition: background-color 0.3s;
}

.cartao-conteudo a:hover {
    background-color: #FFFFFF;
}

/* ===== ADAPTAÇÃO PARA CELULARES ===== */

@media (max-width: 600px) {

    .grade-cartoes {
        grid-template-columns: 1fr;
    }

    .cartao img {
        height: 190px;
    }
}

/* ===== DESCOBERTA DO DIA ===== */

.descoberta-dia {
    margin-top: 90px;
    padding: 35px 10px;
}

.titulo-descoberta {
    text-align: center;
    margin-bottom: 35px;
}

.titulo-descoberta span {
    color: #A8B98A;
    font-size: 12px;
    letter-spacing: 3px;
}

.titulo-descoberta h2 {
    color: #D9DFA9;
    font-size: 34px;
    margin: 15px 0;
}

.titulo-descoberta p {
    color: #D1D9C3;
}

/* Cartão da curiosidade */

.curiosidade {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background-color: #304936;
    border: 1px solid #657A4D;
    border-radius: 15px;

    overflow: hidden;
}

.curiosidade-imagem img {
    width: 100%;
    height: 100%;
    min-height: 300px;

    object-fit: cover;
    display: block;
}

.curiosidade-texto {
    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.curiosidade-texto span {
    color: #A8B98A;
    font-size: 13px;
}

.curiosidade-texto h3 {
    color: #D9DFA9;
    font-size: 27px;
    margin: 15px 0;
}

.curiosidade-texto p {
    color: #E0E3D5;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Botão */

.curiosidade-texto button {
    background-color: #D9DFA9;
    color: #17291F;

    border: none;
    border-radius: 25px;

    padding: 13px 22px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.curiosidade-texto button:hover {
    background-color: white;
    transform: scale(1.04);
}

/* Celulares */

@media (max-width: 700px) {

    .curiosidade {
        grid-template-columns: 1fr;
    }

    .curiosidade-imagem img {
        height: 220px;
        min-height: auto;
    }

    .curiosidade-texto {
        padding: 25px;
    }
}

/* ===== CANTINHO DA IZA ===== */

.cantinho-iza {
    margin-top: 100px;
    padding: 50px 20px;

    text-align: center;
}

/* Flor decorativa */

.cantinho-icone {
    font-size: 45px;
    margin-bottom: 20px;
}

/* Subtítulo */

.cantinho-subtitulo {
    color: #A8B98A;
    font-size: 12px;
    letter-spacing: 3px;
}

/* Título */

.cantinho-iza h2 {
    color: #D9DFA9;
    font-size: 34px;
    margin: 18px 0;
}

/* Introdução */

.cantinho-introducao {
    color: #D1D9C3;
    line-height: 1.8;
    max-width: 550px;

    margin: 0 auto 35px;
}

/* Carta */

.carta {
    max-width: 650px;
    margin: auto;

    padding: 40px;

    background-color: #304936;
    border: 1px solid #82916A;
    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    text-align: left;
}

.carta h3 {
    color: #D9DFA9;
    text-align: center;
    margin-bottom: 30px;
    font-size: 23px;
}

.carta p {
    color: #E0E3D5;
    line-height: 1.9;
    margin-bottom: 18px;
}

.carta .assinatura {
    color: #D9DFA9;
    text-align: right;
    font-style: italic;
    margin-top: 30px;
}

/* Ajuste para celulares */

@media (max-width: 600px) {

    .carta {
        padding: 25px;
    }

    .cantinho-iza h2 {
        font-size: 28px;
    }

}

/* ===== BOTÃO DA CARTINHA ===== */

.botao-carta {
    display: block;
    margin: auto;

    background-color: #D9DFA9;
    color: #17291F;

    border: none;
    border-radius: 25px;

    padding: 13px 25px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.botao-carta:hover {
    background-color: white;
    transform: scale(1.04);
}

/* Mensagem escondida */

.mensagem-oculta {
    display: none;
    margin-top: 30px;
}

.mensagem-oculta.aberta {
    display: block;
}

/* ===== ÁREA DE EXPLORAÇÃO ===== */

.area-exploracao {
    display: none;
    margin-top: 70px;
}

.voltar {
    background: none;
    border: 1px solid #82916A;
    color: #D9DFA9;

    padding: 10px 18px;
    border-radius: 20px;

    cursor: pointer;
    margin-bottom: 35px;
}

.voltar:hover {
    background-color: #304936;
}

.exploracao-cabecalho {
    text-align: center;
    margin-bottom: 40px;
}

.exploracao-cabecalho span {
    font-size: 45px;
}

.exploracao-cabecalho h2 {
    color: #D9DFA9;
    font-size: 32px;
    margin: 15px 0;
}

.exploracao-cabecalho p {
    color: #D1D9C3;
}

/* Lista de curiosidades */

.lista-curiosidades {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.cartao-curiosidade {
    background-color: #304936;
    border: 1px solid #657A4D;
    border-radius: 14px;
    overflow: hidden;
}

.cartao-curiosidade img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.cartao-curiosidade div {
    padding: 22px;
}

.cartao-curiosidade h3 {
    color: #D9DFA9;
    margin-bottom: 15px;
}

.cartao-curiosidade p {
    color: #E0E3D5;
    line-height: 1.7;
}

@media (max-width: 650px) {

    .lista-curiosidades {
        grid-template-columns: 1fr;
    }

}
