/* =========================
   Layout
   ========================= */

.container {
  width: 100%;
  max-width: 1232px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}

/* Header */
.site-header {
    background-color: #ffffff;
}

.site-header .container {
    max-width: 1872px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.site-header-top,
.site-header-menu {
    display: flex;
    align-items: center;
}

.site-header-top {
    justify-content: space-between;
    gap: 40px;
    flex-shrink: 0;
}

.site-header-menu {
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    margin-left: 40px;
}

.site-header-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.site-header-nav .site-header-nav-item {
    font-size: 16px;
    font-weight: 500;
    color: #012169;
    padding: 30px 24px;
}

.site-header-nav-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #012169;
    padding: 8px 10px;
}

.site-header-menu-toggle {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 9999px;
    background: #ffffff;
    color: #012169;
    font-family: var(--font-base);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.site-header-menu-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.site-header-menu-toggle__icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 9999px;
    background: #012169;
}


/* Footer */
.footer {
    padding-top: 82px;
    padding-bottom: 62px;
    background-color: #012169;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-contact {
    width: 100%;
    max-width: 315px;
}

.footer-portfolio {
    width: 100%;
    max-width: 216px;
}

.footer-sobre {
    width: 100%;
    max-width: 139px;
}

.footer-social {
    width: 100%;
    max-width: 140px;
    display: flex;
    gap: 8px;
}

.footer-item-logo {
    margin-bottom: 48px;
}

.footer-item-icon {
    display: flex;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    padding: 8px 10px;
    margin-top: 12px;
}

.footer-portfolio h6,
.footer-sobre h6 {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #E9501C;
    padding: 8px 24px;
    margin-top: 9px;
}

.footer-item-link {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #FFFFFF;
    padding: 8px 24px;
    margin-top: 24px;
    display: block;
}

.footer-social a {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .2s;
}

.footer-social a:hover {
    background-color: #FFFFFF;
}

.footer-social a:hover path {
    fill: #012169;
}

@media (max-width: 768px) {
    .footer .container {
        align-items: center;
        flex-direction: column;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 320px;
    }

    .footer-portfolio,
    .footer-sobre {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .site-header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-header-top {
        width: 100%;
        padding-block: 16px;
    }

    .site-header-menu-toggle {
        display: inline-flex;
    }

    .site-header-menu {
        width: 100%;
        margin-left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-bottom: 20px;
        border-top: 1px solid rgba(1, 33, 105, 0.12);
    }

    .site-header.is-open .site-header-menu {
        display: flex;
    }

    .site-header-nav ul {
        flex-direction: column;
    }

    .site-header-nav .site-header-nav-item {
        text-align: center;
        padding: 14px 0;
    }

    .site-header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-header-phone,
    .site-header-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
