body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0f2f7; /* Azul petróleo claro */
    color: #333;
}

header {
    background-color: #00796b; /* Azul petróleo escuro */
    color: white;
    padding: 1em 0;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribui os itens igualmente */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content h1 {
    margin: 0;
    flex-grow: 1; /* Permite que o título ocupe o espaço disponível */
}

.logo {
    height: 50px; /* Ajuste o tamanho da logo conforme necessário */
    margin-right: 20px;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    margin: 40px 0;
    padding: 0 20px;
}

.headline {
    font-size: 1.8em;
    color: #004d40;
    margin: 0 0 20px 0;
    font-weight: 600;
    line-height: 1.3;
}

.subheadline {
    font-size: 1.1em;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.5;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px; /* Aumentado para acomodar melhor o conteúdo e botões */
    margin-bottom: 20px; /* Adicionado para espaçamento entre as linhas de cards */
}

.tool-card h2 {
    color: #00796b;
}

.tool-card a {
    display: inline-block;
    background-color: #00796b;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

.tool-card a:hover {
    background-color: #004d40;
}

footer {
    background-color: #00796b;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsividade */
@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .hero-section {
        margin: 20px 0;
        padding: 0 10px;
    }
    .headline {
        font-size: 1.5em;
    }
    .subheadline {
        font-size: 1em;
    }
}




.back-button {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9em;
    white-space: nowrap;
}

.back-button:hover {
    background-color: #555;
}

.tool-card .icon {
    font-size: 3em;
    margin-bottom: 10px;
    color: #00796b;
}




.category-section {
    margin-bottom: 40px;
}

.category-section h2 {
    color: #004d40;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
}

.category-section .category-icon {
    font-size: 1em;
    margin-right: 10px;
    color: #004d40;
}


