/* =========================
   RESET / BASE
========================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    padding-top: 60px; /* evita que o header cubra conteúdo */
}

header, section, footer {
    width: 100%;
}

/* =========================
   HEADER / MENU
========================= */
header{
    height: 60px;
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
}

header #logo{
    margin-left: 20px;
    font-size:22px;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header #logo img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

header nav{
    margin-right: 20px;
}

.navlist{
    display: flex;
    justify-content: space-between;
    list-style: none;
    position: static;
    float: right;
}

.navlist a{
    padding: 8px 28px;
    font-size: 18px;
    color: white;
}

.navlist a:hover{
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
}

.mobileMenu{
    cursor: pointer;
    display: none;
}

.mobileMenu div{
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 6px;
}

@media (max-width: 999px) {

    .mobileMenu{
        display: block;
        z-index: 3;
    }

    .navlist{
        position: absolute;
        top: 55px;
        right: 0;
        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;
    }
}

/* =========================
   SECTION / GRID
========================= */


section{
    
  background-image: url(img/im32.jpeg);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat; 
    background-attachment: fixed;

    padding: 50px;
    padding-top: 50px;


    
}

.port{
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 30px;
}

/* =========================
   CARDS
========================= */
.card {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    text-align: center;
}

.card img {
    width: 100%;
    transition: 0.5s;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: rgba(0, 0, 0, 0.6);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: 0.5s;
    padding: 15px;
    text-align: center;
}

.card:hover img {
    filter: brightness(50%);
}

.card:hover .overlay {
    opacity: 1;
}

.espa{
    height: 50px;
    width: 100%;
    text-align: center;
}

.btn-download {
    background:  linear-gradient(to right, #063c6e,#0c539f);
    color: white;
    padding: 15px;
    margin-bottom: 5%;
    border-radius: 5px;
    text-decoration: none;
}

.espa :hover{
    text-decoration: underline;
    background:  #023463;
}

/* =========================
   FOOTER
========================= */
footer{
    background: linear-gradient(to right, #063c6e,#0c539f, #13c4a1);
    color: white;
    font-size: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;
    gap: 20px;
}

.cp{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.cor{
    color: white;
}

.cd a:hover{
    text-decoration: underline;
    color: #ccc;
}

.redes{
    background: #fff;
    width: 100%;
    height: 2px;
}

.social-icons{
    display: flex;
    gap: 20px;
    font-size: 40px;
}

.co{
    color: white;
}

/* =========================
   RESPONSIVO - TABLET
========================= */
@media (max-width: 768px){

    header #logo{
        width: auto;
        font-size: 16px;
        gap: 10px;
    }

    header #logo p{
        display: none; /* esconde texto e deixa só logo */
    }




    section{
        padding: 20px;
        padding-top: 90px;
    }

    footer{
        font-size: 16px;
    }

    .social-icons{
        font-size: 30px;
    }
}

/* =========================
   RESPONSIVO - MOBILE
========================= */
@media (max-width: 480px){

    header{
        height: 55px;
    }

    body{
        padding-top: 55px;
    }

    section{
        padding: 15px;
        padding-top: 80px;
        gap: 20px;
    }

    .overlay h3{
        font-size: 16px;
    }

    .overlay p{
        font-size: 13px;
    }

   

    footer{
        font-size: 14px;
    }

    .social-icons{
        font-size: 25px;
    }
}