/* Cabeçalho (Header) */
.header {
    background-color: #49848D;
    padding: 0 5%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-voltar-site {
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.btn-voltar-site:hover {
    background-color: #ffffff;
    color: #49848D;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 55px;
    height: 100%;
    width: auto;
    display: block;
}

.logo h2 {
    color: #007bb5;
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.contacts-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacts .contact-item {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-icon {
    width: 14px;
    height: 14px;
    fill: #ffffff;
    flex-shrink: 0;
}

/*Footer*/
.footer {
    background-color: #49848D;
    color: #ffffff;
    padding: 20px 5%;
    min-height: 90px;
    display: flex;
    align-items: center;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVIDADE DO LAYOUT
   ========================================================================== */
@media (max-width: 600px) {
    .header {
        height: auto;
        padding: 16px 5%;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .header-right {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .contacts {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .contacts-phones {
        flex-direction: row;
        gap: 0;
    }

    .contacts-phones .contact-item + .contact-item {
        border-left: 1px solid rgba(255, 255, 255, 0.5);
        padding-left: 16px;
        margin-left: 16px;
    }

    .footer-bar {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}