/* =========================
   RESET E DEFINIÇÕES GERAIS
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* =========================
   HEADER / MENU
========================= */
header {
    height: 60px;
    width: 100%;
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#logo {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

#logo p {
    font-size: 20px;
}

.navlist {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.navlist li {
    margin-left: 15px;
}

.navlist a {
    padding: 8px 28px;
    font-size: 18px;
    color: white;
    border-radius: 5px;
}

.navlist a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobileMenu {
    display: none;
    cursor: pointer;
    margin-right: 20px;
}

.mobileMenu div {
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
}

/* =========================
   MENU MOBILE
========================= */
@media (max-width: 999px) {

    .mobileMenu{
        display: block;
        z-index: 3;
    }

    .navlist{
        position: absolute;
        top: 55px;
        right: -10%;
        width: 50vw;
        height: calc(100vh - 60px);
        background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
        
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;

        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .navlist li{
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* MENU ATIVO */
    .navlist.active{
        transform: translateX(0);
    }

    .navlist.active li{
        opacity: 1;
    }
}

/* =========================
   VÍDEO DE FUNDO
========================= */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.747);
    z-index: 0;
}

/* =========================
   CONTEÚDO PRINCIPAL
========================= */
.bkg {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    position: relative;
}

.caixa {
    background: rgba(6,60,110,0.7);
    width: 90%;
    max-width: 500px;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    color: white;
    z-index: 1;
}

.caixa h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.caixa p {
    font-size: 14px;
    margin: 5px 0;
}

.cor {
    color: white;
}

.cd a:hover {
    text-decoration: underline;
}

/* =========================
   FOOTER
========================= */
footer {
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 1;
    position: relative;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 30px;
}

.co {
    color: white;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 768px) {
    #logo p {
        display: none;
    }

     header #logo p{
        display: none; /* esconde texto e deixa só logo */
    }

    .caixa {
        padding: 20px;
    }

    .caixa h2 {
        font-size: 18px;
    }

    .caixa p {
        font-size: 13px;
    }

    .social-icons {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    header {
        height: 55px;
    }

    body {
        padding-top: 55px;
    }

    .caixa {
        width: 95%;
        padding: 15px;
    }

    .caixa h2 {
        font-size: 16px;
    }

    .caixa p {
        font-size: 12px;
    }

    .social-icons {
        font-size: 20px;
    }
}