/* =========================================
   CABEÇALHO PRINCIPAL — AZURY
========================================= */

.header-site {
    width: 100%;
    min-height: 90px;

    padding: 10px 6%;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;

    background: #ffffff;
    box-shadow: var(--shadow);
}


/* =========================================
   LOGO
========================================= */

.header-site .logo {
    min-width: 0;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #222222;

    font-size: 34px;
    font-weight: 900;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;
}


.header-site .logo img {
    width: 72px;
    height: 72px;

    display: block;
    flex-shrink: 0;

    object-fit: contain;
    object-position: center;

    transform: scale(1.55);
    transform-origin: center;

    margin-right: 5px;
}


.header-site .logo .coroa-header {
    width: 72px;
    height: 48px;

    display: block;
    flex-shrink: 0;

    overflow: visible;
}


/* =========================================
   MENU PRINCIPAL
========================================= */

.header-site .menu-principal {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}


.header-site .menu-principal a {
    color: #222222;

    font-size: 15px;
    font-weight: 600;

    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.header-site .menu-principal a:hover {
    color: var(--cor-principal);

    transform: translateY(-1px);
}


/* =========================================
   BOTÃO PEÇA AGORA
========================================= */

.header-site .btn-header {
    width: auto;
    min-width: 145px;
    min-height: 46px;

    padding: 12px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: var(--cor-principal);

    border-radius: 12px;

    font-size: 15px;
    font-weight: 700;

    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    box-shadow:
        0 8px 22px
        rgba(0, 81, 255, 0.22);
}


.header-site .btn-header:hover {
    background: #0048df;
}


/* =========================================
   ESPAÇO PARA O CABEÇALHO FIXO
========================================= */

.header-site + .hero-wrapper {
    margin-top: 90px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .header-site {
        min-height: 128px;

        padding:
            10px
            5%
            9px;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        grid-template-rows:
            auto
            auto;

        column-gap: 18px;
        row-gap: 8px;
    }


    .header-site .logo {
        justify-self: start;

        font-size: 29px;
    }


    .header-site .btn-header {
        justify-self: end;

        min-width: 130px;
    }


    .header-site .menu-principal {
        width: 100%;

        grid-column:
            1
            /
            -1;

        display: grid;
        grid-template-columns:
            repeat(
                5,
                minmax(0, 1fr)
            );

        align-items: center;

        gap: 8px;
    }


    .header-site .menu-principal a {
        width: 100%;

        padding: 7px 4px;

        font-size: 13px;

        border-radius: 8px;
    }


    .header-site .menu-principal a:hover {
        background: #eef4ff;
    }


    .header-site + .hero-wrapper {
        margin-top: 128px;
    }
}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 520px) {

    .header-site {
        min-height: 112px;

        padding:
            8px
            12px
            7px;

        column-gap: 8px;
        row-gap: 7px;
    }


    .header-site .logo {
        gap: 4px;

        font-size: 24px;
    }


    .header-site .logo img {
        width: 48px;
        height: 48px;

        margin-right: 2px;

        transform: scale(1.4);
    }


    .header-site .logo .coroa-header {
        width: 55px;
        height: 38px;
    }


    .header-site .btn-header {
        min-width: 112px;
        min-height: 40px;

        padding: 9px 12px;

        border-radius: 12px;

        font-size: 13px;
    }


    .header-site .menu-principal {
        gap: 3px;
    }


    .header-site .menu-principal a {
        min-width: 0;

        padding: 6px 1px;

        overflow: hidden;

        font-size: 10.5px;
        font-weight: 700;

        text-overflow: ellipsis;
    }


    .header-site + .hero-wrapper {
        margin-top: 112px;
    }
}


/* =========================================
   CELULARES MUITO PEQUENOS
========================================= */

@media (max-width: 360px) {

    .header-site .logo {
        font-size: 21px;
    }


    .header-site .logo .coroa-header {
        width: 48px;
    }


    .header-site .btn-header {
        min-width: 100px;

        padding: 8px 9px;

        font-size: 12px;
    }


    .header-site .menu-principal a {
        font-size: 9.5px;
    }
}