/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: Arial, sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.container {
    flex: 1;
}

/* Estilização do topo com a logo */
.logo-container {
    background-color: #1F68A8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

.logo {
    width: 200px;
    height: auto;
    max-height: 60px;
}

/* Cabeçalho */
header {
    background-color: #1F68A8;
    padding: 10px 0;
}

header .menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

header .menu li {
    margin: 0 15px;
}

header .menu a {
    color: yellow;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s;
    text-shadow: 1px 1px 2px black;
}

header .menu a:hover {
    background-color: #575757;
    border-radius: 5px;
}

/* Fundo gradiente para main */
main {
    background: linear-gradient(to bottom, #ffa500, #ffffff);
    padding: 20px;
}

/* Estilização dos blocos de conteúdo */
.content-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 40px 10px;
    margin-bottom: 20px;
}

.content-block {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    max-width: 320px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.content-block:hover {
    transform: translateY(-5px);
}

.content-block img {
    width: 100%;
    height: auto;
    border-bottom: 4px solid #FFA500;
}

.content-block h2 {
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
    background: #f4f4f4;
}

.content-block p {
    padding: 15px;
    font-size: 0.95em;
    color: #333;
}

/* Rodapé */
footer {
    background-color: #1F68A8;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
}

/* Define o estado inicial da animação */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Quando o elemento entra na área visível, ativa a animação */
.animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* Seção de texto simples */
.text-simple {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.1em;
    color: #333;
    padding: 20px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Seção de conteúdo misto */
.content-mixed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 20px;
    padding: 20px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 8px;
}

/* Seção destacada com texto centralizado */
.content-highlight {
    text-align: center;
    padding: 40px 20px;
    background: rgba(31, 104, 168, 0.1);
    border-radius: 8px;
    margin: 40px auto 20px;
    max-width: 1200px;
}

/* Seção com três colunas */
.content-trio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 10px;
    text-align: center;
    margin-bottom: 20px;
}

.trio-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.trio-item:hover {
    transform: translateY(-5px);
}

.trio-item img {
    width: 100%;
    height: auto;
    max-height: 150px;
    border-radius: 8px;
}

.trio-item h3 {
    margin: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
}

/* Botão flutuante do WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .content-mixed {
        flex-direction: column;
        text-align: center;
    }

    .content-highlight img {
        width: 150px;
    }

    .content-trio {
        align-items: center;
    }

    .trio-item {
        width: 90%;
        max-width: 350px;
    }

    .content-section {
        flex-direction: column;
        align-items: center;
    }

    .content-block {
        width: 90%;
        max-width: 350px;
    }
}