/* Layout Padrão para Páginas Públicas */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

.public-header {
    background: linear-gradient(135deg, #00796b, #004d40);
    color: white;
    padding: 30px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative; /* Para o botão de voltar absoluto */
}

.btn-voltar-topo {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-voltar-topo i {
    font-size: 18px;
    margin-right: 5px;
}

.btn-voltar-topo:hover {
    background: rgba(255, 255, 255, 0.3);
}

.public-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 15px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.public-header-logo img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
}

.public-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.public-header-content h1 {
    font-weight: 300;
    margin-bottom: 5px;
    font-size: 28px;
}

.public-header-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsividade do Header */
@media (max-width: 768px) {
    .public-header {
        flex-direction: column;
        text-align: center;
    }
}
