* {
    padding: 0;
    margin: 0;
    font-family: degular-variable, sans-serif;
    color: white;
    box-sizing: border-box;
}

#botao-topo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
    background-color: #63b34a;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
    z-index: 9999;
}

#botao-topo:hover {
    background-color: #4c983a;
}


/*INICIO DA SEÇÃO 1*/

.imagem-fundo-secao1 {
    background-image: url(./img/fundo-header.png);
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    min-height: 700px;
    padding-top: 70px;
    padding-bottom: 100px;
}

.cor-fundo-pag {
    width: 100%;
    height: 2000px;
    background-color: #0f002c;
    position: absolute;
    display: block;
    z-index: -1;
}

.menu-topo-secao1 {
    letter-spacing: 1px;
    word-spacing: 1px;
    text-transform: uppercase;
    font-size: 18px;
    justify-self: center;
}

.icon-menu {
    display: inline-block;
    padding-right: 90px;
    transition: transform 0.9s ease;
    text-decoration: none;
}

.icon-menu:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.button-link {
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #4b4192;
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    transition: transform 0.9s ease;
    transition: background-color 0.9s ease;
}

.button-link:hover {
    cursor: pointer;
    transform: scale(1.1);
    background-color: #63b34a;
}

.logo {
    display: block;
    margin: 150px auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    align-items: center;
    justify-content: center;
}

.frase-secao1 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    word-spacing: 1px;
    text-transform: uppercase;
    justify-self: center;
    color: rgb(135, 133, 133);
    opacity: 0.5;
}

/*INICIO DA SEÇÃO 2*/

/*Icones da seção 2*/
.icon-secao2 {
    display: flex;
    justify-content: center;
    gap: 152px;
    margin-top: 90px;
}

.icon-secao2 figure img {
    width: 90px;
    margin-bottom: 8px;
}

figure {
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    margin: 0;
}

/*Imagens na lateral dos icones*/
.layout-secao2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;

    flex-wrap: wrap;
    padding: 0;
}

.bloco-imagens-secao2 {
    display: flex;
    justify-content: space-between;
    /*empurra todo o conteúdo para os cantos*/
    align-items: center;
    /*todos os itens centralizados*/
    gap: 30px;
    /*espaço entre os elementos*/
    width: 100%;
    /*para ocupar toda a tela*/
    max-width: 100vw;
    /*para garantir limite da viewport */
}

.imagem-lateral-esquerda-icon,
.imagem-lateral-direita-icon {
    width: 300px;
    height: auto;
}


/*Imagem da equipe*/
.imagem-e-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

.imagem-equipe {
    display: inline-block;
    width: 400px;
    height: auto;
    margin-top: 50px;
    margin-right: 70px;
}

.titulo-sobre-nos {
    white-space: nowrap;
    font-size: 24px;
    margin-bottom: 10px;
}

.fundo-texto {
    box-sizing: content-box;
    width: 340px;
    height: 240px;
    background-color: #201b45;
    padding: 20px;
    border-radius: 30px;
    text-align: justify;
}

.sobre-nos {
    display: inline-block;
    width: 240px;
    font-size: 18px;
    letter-spacing: 1px;
    word-spacing: 1px;
    line-height: 23px;
    justify-items: center;
    margin-left: 10px;
}

/*INICIO DA SEÇÃO 3*/

.frase-secao3 {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-top: 100px;
}

.layout-cards-secao3 {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 200px));
    gap: 32px;
    padding: 40px;
    justify-items: center;
    justify-content: center;
    align-items: center;
}

.card-produto {
    border: 2px solid #4b4192;
    border-radius: 12px;
    width: 180px;
    height: 250px;
}

.segunda-linha {
    width: calc(100% + 12px);
    height: calc(100% + 12px);
}

.segunda-linha-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 200px));
    gap: 32px;
    padding: 40px;
    justify-items: center;
    justify-content: center;
    align-items: center;
}

.card-produto,
img,
h3,
h2 {
    text-align: center;
}

.icon-card-un {
    width: 70px;
    height: auto;
    margin: 15px 0px 10px 0px;
    transition: transform 0.3s ease;
}

.icon-card-un:hover {
    transform: scale(1.1);
}

h2 {
    font-size: 21px;
}

h3 {
    font-size: 16px;
    font-weight: 400;
    color: #8c52ff;
    margin: 10px 5px;
    text-transform: uppercase;
}

/*mudança de texto*/

.novo-estilo {
    position: relative;
    margin: -15px;
    color: #8c52ff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    margin-left: 35px;
    transition: opacity 1s ease-in-out;
    transition-delay: 1s;
    opacity: 1;
    color: #63b34a;
}

.automacao .novo-estilo {
    font-size: 11px;
    margin: 15px;
    margin-left: 25px;
    line-height: 1.7;
}

.energia .novo-estilo {
    margin: -10px;
    margin-left: 55px;
}

.software .novo-estilo {
    font-size: 11px;
    margin: 0px;
    margin-left: 10px;
}

.conectividade .novo-estilo {
    margin: 0px;
    margin-left: 12px;
}

.redes .novo-estilo {
    font-size: 11px;
    margin: 0px;
    margin-left: 20px;
    line-height: 1.7;
}

.servidores .novo-estilo {
    margin: -7px;
    margin-left: 5px;
}



/*INICIO DA SEÇÃO 4*/
.parceiros-secao4 {
    text-align: center;
    background-color: #0f002c;
    /* fundo roxo escuro */
    padding: 60px 0px;
    color: #0f002c;
}

.frase-secao4 {
    font-size: 28px;
    font-weight: bolder;
    margin-bottom: 25px;
}

.grid-logos {
    display: grid;
    grid-template-columns: repeat(9, 100px);
    /*5 blocos com 120px de espessura cada uma*/
    gap: 6px;
    /*Distanciamento interno*/
    justify-content: center;
    /*grid centralizado na tela*/
}

.logo-un {
    width: 100px;
    /*largura do quadrado que envolve a logo*/
    height: 100px;
    /*altura do quadrado que envolve a logo*/
    background-color: #0f002c;
    /*cor do fundo do quadrado*/
    border: 2px solid #4b4192;
    /*espessura e cor da borda*/
    border-radius: 12px;
    /*arredondamento dos cantos*/
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /*tamanho do quadrado definido*/
    transition: transform 0.3s ease;
}

.logo-un img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
}

.logo-un:hover {
    transform: scale(1.05);
    transform-origin: center;
}

.layout-secao4 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/*INICIO SEÇÃO 5*/
.imagem-fundo-footer {
    /*fundo da seção 5*/
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.77), rgba(255, 255, 255, 0.777)), url(./img/fundo-footer.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conteudo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
}

.frase-footer {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    color: #201b45;
    font-weight: 500;
}

.area-logos-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logos-footer {
    position: relative;
    width: 140px;
    /* ajusta conforme o tamanho desejado */
    height: 140px;
}

.logo-verde,
.logo-roxa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.logo-verde {
    /*sobreposição de logos*/
    position: absolute;
    top: 7px;
    /* Desloca levemente para baixo */
    left: 0;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
    opacity: 0.3;
}

.bloco-contato {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: center;
    margin-top: 40px;
}

.item-contato {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    /*Distancia entre o icone e o contato*/
}

.icon-telefone {
    width: 40px;
    height: auto;
}

.icon-email {
    width: 40px;
    height: auto;
}

.email {
    font-size: 16px;
    color: #63b34a;
    font-weight: 400;
    margin-top: 10px;
}

.telefone,
.email {
    color: #63b34a;
    font-size: 24px;
    font-weight: 400;
    text-align: left;
    text-decoration: none;
}

.email {
    margin-bottom: 50px;
}

.botao-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 70px;
    width: 50px;
    height: 50px;
    z-index: 999;
    cursor: pointer;
}

.botao-whatsapp img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.botao-whatsapp:hover img {
    transform: scale(1.1);
}

/*RESPONSIVIDADE*/

@media (max-width: 1280px) {
    .icon-secao2 {
        display: flex;
        justify-content: center;
        gap: 60px;
        margin-top: 50px;
    }

}

@media (max-width: 1120px) {
    .button-link {
        font-size: 14px;
        padding: 15px 25px;
    }

    .menu-topo-secao1 {
        font-size: 14px;
    }

    .icon-menu {
        padding-right: 70px;
    }

    .frase-secao1 {
        font-size: 18px;
        font-weight: 400;
        margin-top: -70px;
        margin-left: 0px;
    }

    main {
        margin-top: -50px;
    }

    .icon-secao2 {
        display: flex;
        justify-content: center;
        gap: 60px;
        margin-top: 0px;
    }

    .icon-secao2 figure img {
        width: 60px;
        margin-bottom: 6px;
        /*Distancia entre o icone e a legenda*/
    }

    figure {
        font-size: 14px;
    }

    .imagem-lateral-esquerda-icon,
    .imagem-lateral-direita-icon {
        width: 200px;
        height: auto;
    }

    .imagem-equipe {
        width: 300px;
        margin-top: 50px;
        margin-right: 70px;
    }

    .titulo-sobre-nos {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .fundo-texto {
        width: 300px;
        height: 240px;
    }

    .sobre-nos {
        width: 200px;
        font-size: 16px;
    }

    .frase-secao3 {
        font-size: 24px;
    }

    .layout-cards-secao3 {
        grid-template-columns: repeat(4, minmax(140px, 160px));
    }

    .segunda-linha {
        width: calc(100% + 14px);
        height: calc(100% + 14px);
    }

    .icon-card-un {
        width: 60px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 14px;
    }

    .frase-secao4 {
        font-size: 24px;
    }

    .grid-logos {
        grid-template-columns: repeat(9, 90px);
    }

    .logo-un {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 950px) {

    .imagem-fundo-secao1 {
        min-height: 80%;
    }

    main {
        margin-top: 0px;
    }

    .icon-secao2 {
        gap: 40px;
    }

    .imagem-e-texto {
        margin-top: 60px;
    }

    .grid-logos {
        grid-template-columns: repeat(9, 70px);
    }

    .logo-un {
        width: 70px;
        height: 70px;
    }

    .cor-fundo-pag {
        height: 1900px;
    }

    .layout-cards-secao3 {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 24px;
        padding: 20px;
    }

    .card-produto {
        width: 100%;
        max-width: 160px;
        min-height: 180px;
        /* garante altura mínima */
        height: auto;
        /* permite crescer conforme o texto */
        padding: 14px;
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    .card-produto h2 {
        font-size: 16px;
        line-height: 1.3;
        word-break: break-word;
    }

    .card-produto h3 {
        font-size: 12px;
        line-height: 1.4;
        word-break: break-word;
    }

    .icon-card-un {
        width: 40px;
        margin: 10px 0;
    }

    .computação .novo-estilo {
        margin: 0 auto;
    }

    .energia .novo-estilo {
        margin: 0 auto;
    }
}

@media (max-width: 920px) {
    .logo {
        margin: 90px auto 150px auto;
    }
}

@media (max-width: 815px) {

    .logo {
        max-width: 400px;
    }

    .frase-secao1 {
        font-size: 16px;
    }

    main {
        margin-top: -50px;
    }

    .icon-secao2 figure img {
        width: 50px;
    }

    figure {
        font-size: 12px;
    }

    .imagem-lateral-esquerda-icon,
    .imagem-lateral-direita-icon {
        width: 150px;
        height: auto;
    }

    .imagem-equipe {
        width: 250px;
        margin-top: 50px;
        margin-right: 90px;
    }

    .titulo-sobre-nos {
        font-size: 20px;
        margin-bottom: 10px;
        margin-right: 80px;
    }

    .fundo-texto {
        width: 290px;
        height: 240px;
        margin-right: 80px;
    }

    .sobre-nos {
        width: 220px;
        font-size: 16px;
    }

    .frase-secao3 {
        font-size: 20px;
    }
}

@media (max-width: 700px) {
    .button-link {
        font-size: 12px;
        padding: 15px 25px;
    }

    .menu-topo-secao1 {
        font-size: 12px;
    }

    .icon-menu {
        padding-right: 50px;
    }

    .logo {
        max-width: 300px;
    }

    .frase-secao1 {
        font-size: 14px;
    }

    .icon-secao2 {
        display: flex;
        justify-content: center;
        gap: 60px;
        margin-top: 0px;
    }

    .bloco-imagens-secao2 {
        justify-content: center;
    }

    .icon-secao2 figure img {
        width: 60px;
    }

    figure {
        font-size: 12px;
    }

    .imagem-lateral-esquerda-icon,
    .imagem-lateral-direita-icon {
        display: none;
    }

    .imagem-equipe {
        width: 250px;
        margin-top: 40px;
        margin-right: 70px;
    }

    .titulo-sobre-nos {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .fundo-texto {
        width: 260px;
        height: 230px;
    }

    .sobre-nos {
        width: 230px;
        font-size: 14px;
    }

    .frase-secao3 {
        font-size: 20px;
    }

    .frase-secao4 {
        font-size: 24px;
    }

    .grid-logos {
        grid-template-columns: repeat(9, 50px);
    }

    .logo-un {
        width: 50px;
        height: 50px;
    }

    .botao-whatsapp {
        bottom: 40px;
        right: 20px;
        bottom: 20px;
    }

    #botao-topo {
        display: none !important;
    }
}

@media (max-width: 650px) {

    .button-link {
        font-size: 8px;
        padding: 15px 15px;
    }

    .menu-topo-secao1 {
        font-size: 10px;
        margin-top: -30px;
    }

    .icon-menu {
        padding-right: 20px;
    }

    .logo {
        max-width: 200px;
        margin: 70px auto 120px auto;
    }

    .frase-secao1 {
        font-size: 8px;
    }

    .icon-secao2 {
        gap: 50px;
    }

    .icon-secao2 figure img {
        width: 40px;
    }

    figure {
        font-size: 10px;
    }

    .imagem-e-texto {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 20px;
    }

    .imagem-equipe {
        width: 200px;
        margin: 0px 0 20px 0;
        order: -1;
        /* move a imagem para cima */
    }

    .titulo-sobre-nos {
        font-size: 18px;
        margin: 0;
        margin-bottom: 15px;
    }

    .fundo-texto {
        height: 210px;
        line-height: 20px;
        margin: 0;
    }

    .sobre-nos {
        width: 180px;
        font-size: 14px;
        line-height: 15px;
    }

    .frase-secao3 {
        font-size: 16px;
        margin-top: 30px;
    }

    .grid-logos {
        grid-template-columns: repeat(7, 50px);
    }

    .logo-un {
        width: 50px;
        height: 50px;
    }

    .frase-secao4 {
        font-size: 16px;
    }

    .frase-footer {
        font-size: 20px;
    }

    .logos-footer {
        width: 120px;
        height: 120px;
    }

    .bloco-contato {
        margin: 0px;
        margin-top: -20px;
    }

    .icon-telefone,
    .icon-email {
        width: 30px;
    }

    .icon-email {
        margin-top: 5px;
    }

    .telefone {
        font-size: 18px;
    }

    .email {
        font-size: 18px;
        margin-bottom: 10px;
    }
}

@media (max-width: 430px) {

    .button-link {
        font-size: 6px;
        padding: 6px 10px;
    }

    .menu-topo-secao1 {
        font-size: 6px;
        margin-top: -40px;
    }

    .logo {
        max-width: 200px;
        margin: 50px auto 120px auto;
    }

    .frase-secao1 {
        font-size: 9px;
        word-spacing: 0.5px;
        letter-spacing: 0px;
    }

    .icon-secao2 {
        gap: 50px;
    }

    .icon-secao2 figure img {
        width: 35px;
    }

    figure {
        font-size: 9px;
    }


    .imagem-e-texto {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 20px;
    }

    .imagem-equipe {
        width: 150px;
        margin: 0px 0 20px 0;
        order: -1;
        /* move a imagem para cima */
    }

    .titulo-sobre-nos {
        font-size: 16px;
        margin: 0;
        margin-bottom: 15px;
    }

    .fundo-texto {
        height: 210px;
        width: 235px;
        line-height: 20px;
        margin: 0;
    }

    .sobre-nos {
        width: 140px;
        font-size: 12px;
        line-height: 15px;
    }

    .grid-logos {
        grid-template-columns: repeat(5, 60px);
    }

    .logo-un {
        width: 60px;
        height: 60px;
    }
}