/* =====================================================
   HEADER - SEABORN NETWORKS
   CSS separado do header.php
===================================================== */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 92px;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    z-index: 9999;
}

/* Navegação superior */
.header .navbar {
    position: relative;
    display: flex;
    height: 66px;
    min-height: 66px;
    margin: 0;
    padding: 0 24px;
    border-bottom: 2px solid #087f8b;
    background: #fff;
    box-sizing: border-box;
}

/* Dois grupos de menu com logo centralizado */
.header .header-navigation {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    height: 100%;
}

.header .header-menu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 16px;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .header-menu-left {
    padding-right: 16px;
}

.header .header-menu-right {
    padding-left: 16px;
}

.header .header-menu-item {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.header .header-menu .nav-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #087b8b;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header .header-menu .nav-link:hover,
.header .header-menu .current-menu-item > .nav-link,
.header .header-menu .current_page_item > .nav-link,
.header .header-menu .active > .nav-link {
    color: #00aabd;
}

/* Logo maior, sem moldura externa */
.header .navbar-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 140px;
    height: 62px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
}

.header .navbar-brand::before,
.header .navbar-brand::after {
    content: none !important;
    display: none !important;
}

.header .navbar-brand img {
    display: block;
    width: 85px;
    height: 85px;
    max-width: none;
    margin: 0;
    padding: 0;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Linha inferior com detalhe luminoso */
.header .navbar::after {
    content: "";
    position: absolute;
    left: 23%;
    bottom: -2px;
    width: 125px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #38e8f4 50%, transparent 100%);
    pointer-events: none;
}

/* Contato e redes sociais na segunda linha */
.header .header-contact,
.header .header-social {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    margin: 0;
}

.header .header-contact {
    right: 180px;
    gap: 14px;
    color: #586267;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    bottom: -58px;
}

.header .header-contact span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header .header-contact i {
    color: #078b9a;
    font-size: 13px;
}

.header .header-social {
    right: 14px;
    bottom: 3px;
    gap: 8px;
    bottom: -65px;
}

.header .header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #078b9a;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header .header-social a:hover {
    background: #005e69;
    color: #fff;
    transform: translateY(-1px);
}

/* Botão mobile: preserva o elemento usado pelo tema */
.header .wrapper-navegatior {
    display: none;
}

/* Compensação do header fixo */
body {
    padding-top: 92px;
}

/* =====================================================
   TABLETS / TELAS INTERMEDIÁRIAS
===================================================== */
@media (max-width: 1100px) {
    .header .navbar {
        padding-right: 14px;
        padding-left: 14px;
    }

    .header .header-navigation {
        grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
    }

    .header .header-menu {
        gap: 10px;
    }

    .header .header-menu-left {
        padding-right: 14px;
    }

    .header .header-menu-right {
        padding-left: 14px;
    }

    .header .header-menu .nav-link {
        font-size: 14px;
    }

    .header .navbar-brand {
        width: 110px;
    }

    .header .navbar-brand img {
        width: 50px;
        height: 50px;
    }

    .header .header-contact {
        right: 175px;
        gap: 10px;
        font-size: 10px;
    }

    .header .header-contact i {
        font-size: 11px;
    }
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 767px) {
    .header {
        height: 82px;
    }

    .header .navbar {
        height: 56px;
        min-height: 56px;
        padding: 0 14px;
    }

    .header .header-navigation {
        display: flex;
        justify-content: center;
    }

    .header .header-menu {
        display: none;
    }

    .header .navbar-brand {
        position: absolute;
        top: 0;
        left: 50%;
        width: 60px;
        height: 52px;
        transform: translateX(-50%);
    }

    .header .navbar-brand img {
        width: 42px;
        height: 42px;
    }

    .header .wrapper-navegatior {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 5;
        display: block;
    }

    .header .cnt-nav {
        width: 28px;
        cursor: pointer;
    }

    .header .cnt-nav span {
        display: block;
        height: 2px;
        margin: 6px 0;
        background: #087b8b;
    }

    .header .header-contact {
        right: auto;
        bottom: 6px;
        left: 8px;
        gap: 6px;
        font-size: 9px;
    }

    .header .header-contact .phone {
        display: none;
    }

    .header .header-contact i {
        font-size: 10px;
    }

    .header .header-social {
        right: 8px;
        bottom: 3px;
        gap: 5px;
    }

    .header .header-social a {
        flex-basis: 23px;
        width: 23px;
        height: 23px;
        font-size: 13px;
    }

    body {
        padding-top: 82px;
    }
}

@media (max-width: 360px) {
    .header .header-contact {
        font-size: 7px;
    }

    .header .header-social {
        gap: 3px;
    }
}
