@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.12.1/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Golos+Text:wght@400..900&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&family=Stack+Sans+Notch:wght@200..700&display=swap');

/* ==========================================
   HTML / BODY
========================================== */

html,
body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background:
        radial-gradient(circle at 20% 0%,
            rgba(37, 67, 121, 0.20),
            transparent 35%),
        radial-gradient(circle at 80% 10%,
            rgba(80, 130, 180, 0.12),
            transparent 30%),
        #000;

    color: #fff;

    font-family: "Instrument Sans", sans-serif;
}


/* ==========================================
   NAVBAR — FUTURISTIC GLASS
========================================== */

.navbar-custom {
    position: sticky;

    top: 0;
    left: 0;

    z-index: 1000;

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 58px;

    padding: 6px 24px;

    box-sizing: border-box;

    /* ======================================
       VIDRO
    ====================================== */

    background:
        linear-gradient(180deg,
            rgba(18, 24, 32, 0.72) 0%,
            rgba(8, 11, 16, 0.58) 100%);

    backdrop-filter:
        blur(30px) saturate(160%) contrast(105%);

    -webkit-backdrop-filter:
        blur(30px) saturate(160%) contrast(105%);

    /* ======================================
       PROFUNDIDADE
    ====================================== */

    box-shadow:

        /* sombra externa */
        0 12px 45px rgba(0, 0, 0, 0.55),

        /* halo azul muito discreto */
        0 8px 35px rgba(30, 120, 255, 0.06),

        /* reflexo superior */
        inset 0 1px 0 rgba(255, 255, 255, 0.10),

        /* profundidade interna */
        inset 0 -1px 0 rgba(255, 255, 255, 0.025);

    overflow: visible;
}


/* ==========================================
   REFLEXO PRINCIPAL DO VIDRO
========================================== */

.navbar-custom::before {
    content: "";

    position: absolute;

    inset: 0;

    background:

        /* brilho superior */
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.075) 0%,
            rgba(255, 255, 255, 0.025) 18%,
            transparent 45%),

        /* luz azul lateral */
        radial-gradient(ellipse at 10% 0%,
            rgba(50, 130, 255, 0.10),
            transparent 35%),

        /* luz azul direita */
        radial-gradient(ellipse at 90% 0%,
            rgba(50, 130, 255, 0.07),
            transparent 30%);

    pointer-events: none;

    z-index: 0;
}


/* ==========================================
   LINHA DE LUZ AZUL
========================================== */

.navbar-custom::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -1px;

    width: 100%;
    height: 1px;

    background: linear-gradient(90deg,
            rgba(35, 120, 255, 0.35),
            rgba(65, 155, 255, 0.75) 20%,
            #4da3ff 50%,
            rgba(65, 155, 255, 0.75) 80%,
            rgba(35, 120, 255, 0.35));

    box-shadow:
        0 0 6px rgba(60, 155, 255, 0.65),
        0 0 18px rgba(40, 130, 255, 0.25);

    pointer-events: none;

    z-index: 2;
}


/* ==========================================
   CONTEÚDO ACIMA DOS EFEITOS
========================================== */

.navbar-custom>* {
    position: relative;

    z-index: 2;
}

.navbar-custom {
    isolation: isolate;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-toggler,
.navbar-custom .navbar-collapse {
    position: relative;

    z-index: 2;
}


/* ==========================================
   LOGO
========================================== */

.logo-dypecore {
    padding: 10px;

    margin-left: 5px;
}


.logo-dypecore img {
    width: 114px;

    height: auto;

    display: block;
}


/* ==========================================
   MENU
========================================== */

.navbar-collapse {
    justify-content: flex-end;
}


.menu-dypecore {
    display: flex;

    align-items: center;

    gap: 4px;

    margin-left: auto;

    padding: 0;
}


/* ==========================================
   LINKS
========================================== */

.link-menu {
    position: relative;

    color: #fff !important;

    font-family: "Google Sans Flex", sans-serif;

    font-size: 15px;

    font-weight: 600;

    text-transform: uppercase;

    text-decoration: none;

    padding: 8px 8px !important;

    transition: 0.3s ease;
}


.link-menu:hover {
    color: #8fcdf3 !important;
}


/* ==========================================
   BOTÃO CONTATO
========================================== */

.btn-contato {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 173px;

    height: 40px;

    margin-left: 8px;

    padding: 10px 12px;

    background: linear-gradient(135deg,
            #587fa4,
            #3e6388);

    color: #fff !important;

    border-radius: 7px;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    text-transform: uppercase;

    transition: 0.3s ease;
}


.btn-contato:hover {
    background: linear-gradient(135deg,
            #658dad,
            #4a7197);

    color: #fff !important;

    transform: translateY(-1px);
}

.link-menu i,
.btn-contato i {
    display: none;
}


/* ==========================================
   MOBILE
========================================== */

.navbar-toggler {
    border: none;

    background: transparent;

    box-shadow: none;
}


.navbar-toggler:focus {
    outline: none;

    box-shadow: none;
}


.navbar-toggler i {
    color: #fff !important;
}


/* ==========================================
   MOBILE — DROPDOWN DE VIDRO FLUTUANTE
   (fora do fluxo da navbar em qualquer estado)
========================================== */

@media (max-width: 991.98px) {

    /* Neutraliza o comportamento padrão do Bootstrap Collapse
       em TODOS os estados, pra nunca afetar a altura da navbar */
    .navbar-collapse,
    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        position: fixed !important;
        top: 60px !important;
        right: 16px !important;
        left: auto !important;

        height: auto !important;
        max-height: calc(100vh - 90px) !important;
        overflow-y: auto;

        transition-property: opacity, transform !important;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;

        width: 220px;
        max-width: calc(100% - 32px);

        background: linear-gradient(180deg,
                rgba(22, 27, 34, 0.94) 0%,
                rgba(8, 10, 14, 0.96) 100%);

        backdrop-filter: blur(50px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);

        padding: 12px 16px;
        box-sizing: border-box;

        opacity: 0;
        visibility: hidden;
        transform-origin: top right;
        transform: scale(0.94) translateY(-6px);

        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0s linear 0.22s;

        z-index: 9999;
    }

    .navbar-collapse.collapsing {
        opacity: 0;
        visibility: visible;
        display: flex;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);

        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0s linear 0s;
    }

    .menu-dypecore {
        width: 100%;
        flex-direction: column;
        align-items: stretch;

        gap: 0;
        margin-left: 0;
    }

    .menu-dypecore .nav-item {
        width: 100%;

        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .navbar-collapse.show .nav-item:nth-child(1) {
        transition-delay: 0.04s;
    }

    .navbar-collapse.show .nav-item:nth-child(2) {
        transition-delay: 0.07s;
    }

    .navbar-collapse.show .nav-item:nth-child(3) {
        transition-delay: 0.10s;
    }

    .navbar-collapse.show .nav-item:nth-child(4) {
        transition-delay: 0.13s;
    }

    .navbar-collapse.show .nav-item:nth-child(5) {
        transition-delay: 0.16s;
    }

    .menu-dypecore .nav-item:nth-child(5) {
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .link-menu {
        width: 100%;

        display: flex;
        align-items: center;
        gap: 12px;

        padding: 10px 4px !important;

        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.3px;
        color: rgba(255, 255, 255, 0.82) !important;
        text-transform: uppercase;

        background: none !important;
        border-radius: 0;

        transition: color 0.2s ease, transform 0.2s ease;
    }

    .link-menu i {
        display: inline-block;
        font-size: 15px;
        width: 16px;
        text-align: center;
        color: rgba(143, 205, 243, 0.75);
        flex-shrink: 0;
    }

    .link-menu:hover {
        color: #fff !important;
        transform: translateX(2px);
    }

    .link-menu:hover i {
        color: #8fcdf3;
    }

    .link-menu::after {
        display: none;
    }

    .btn-contato {
        width: 100%;
        min-width: 0;
        height: auto;

        margin: 0;
        padding: 9px 6px !important;

        background: none;
        color: rgba(255, 255, 255, 0.9) !important;

        font-size: 12px;
        font-weight: 600;

        justify-content: flex-start;
        gap: 12px;

        border-radius: 0;
    }

    .btn-contato i {
        display: inline-block;
        font-size: 15px;
        width: 16px;
        text-align: center;
        color: #8fcdf3;
    }

    .btn-contato:hover {
        background: none;
        color: #8fcdf3 !important;
        transform: translateX(2px);
    }
}


/* ==========================================
   MOBILE PEQUENO
========================================== */

@media (max-width: 600px) {

    .navbar-custom {
        padding: 8px 15px;
    }


    .logo-dypecore img {
        width: 125px;
    }

}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    width: 100%;

    padding: 40px 35px 0;

    background: #000;
    border-top: 1px solid rgba(158, 216, 245, .35);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);

    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    width: 300px;
    height: auto;
    object-fit: contain;
    margin-left: -40px;
}

.footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-family: "Golos Text", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.footer-col h4 {
    margin: 0 0 12px;
    color: #eef3f8;
    font-family: "Golos Text", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col ul li,
.footer-col ul li a {
    color: rgba(255, 255, 255, .62);
    font-family: "Golos Text", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.footer-col ul li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .3s ease;
}

.footer-col ul li a:hover {
    color: #9ed8f5;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 10px 6px 7px;

    border-radius: 30px;
    border: 1px solid rgba(140, 170, 210, .40);

    color: #cfe0ea;
    text-decoration: none;

    font-family: "Golos Text", sans-serif;
    font-size: 10.5px;
    font-weight: 600;

    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.footer-social a i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: rgba(158, 216, 245, .08);

    font-size: 13px;

    transition:
        background .3s ease,
        color .3s ease;
}

.footer-social a span {
    letter-spacing: .2px;
}

.footer-social a:hover {
    background: rgba(158, 216, 245, .10);
    border-color: rgba(158, 216, 245, .65);

    color: #9ed8f5;

    transform: translateY(-2px);

    box-shadow: 0 5px 18px rgba(158, 216, 245, .08);
}

.footer-social a:hover i {
    background: rgba(158, 216, 245, .18);
    color: #9ed8f5;
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;

    padding: 16px 0 22px;

    border-top: 1px solid rgba(120, 150, 200, .18);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    text-align: left;

    color: rgba(255, 255, 255, .45);

    font-family: "Golos Text", sans-serif;
    font-size: 11px;
    margin-left: -25px;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.footer-legal a,
.footer-legal span {
    color: rgba(255, 255, 255, .45);

    font-family: "Golos Text", sans-serif;
    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition: color .3s ease;
}

.footer-legal a:hover {
    color: #9ed8f5;
}

.footer-legal span {
    color: rgba(255, 255, 255, .25);
}

@media (max-width: 800px) {

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;

        align-items: center;
        text-align: center;

        margin-bottom: 10px;
    }

    .footer-logo {
        width: 220px;
        margin-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .footer-bottom p {
        text-align: center;
    }

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

}

@media (max-width: 500px) {

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo {
        width: 200px;
        margin-left: 0;
    }

    .footer-social {
        align-items: center;   /* ← corrigido */
    }

}