@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jura&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Michroma', sans-serif;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    --azulanalitica: #005297;
    --azul: #00ccff;
    --vermelho: #D81D20;
    --branco: #ffffff;
    --branco2: #F7F7F7;
    --blacke3: #1e1e1e;
    /*--gradiente: linear-gradient(to right, #0acffe 0%, #495aff 100%);*/
}


html {
    scroll-behavior: smooth
}

body {
    background: var(--branco);
    background-image: url(images/bgplanet1.svg);
    color: var(--branco);
    background-repeat: repeat;
    /*min-width: 1200px;*/ /*linha removida para testes mobile*/
    
}

span {
    color: var(--azul);
    /*background-image: var(--gradiente);
    background-clip: text;*/
}

.botao-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    font-size: 30px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 999;
    text-align: center;
    transition: transform 0.3s ease;
}

.botao-flutuante:hover {
    transform: scale(1.1);
    background-color: #1ebea5;
}


#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/bgplanet1.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.container {
    padding: 0.5px 5%;
}

nav {
    display: flex;
    padding-top: 15px;
    align-items: top;
    justify-content: space-between;
    flex-wrap: wrap;

}

.logo {
    width: 12%;
    height: 12%;
    min-width: 4%;
    margin-top: 2px;
    background-color: transparent;
    border-radius: none;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 0.2px 30px;
}

nav ul li a {
    color: var(--branco);
    text-decoration: none;
    font-size: 20px;
    position: relative
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--azul);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: .5s
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    margin-top: 4%;
    font-size: 35px;
    justify-items: center;
    color: var(--branco2);
}

.header-text h1 {
    font-size: 120px;
    margin-top: 10px;
    color: var(--branco);
    font-family: 'Jura';
    font-weight: 300px;
}

.header-text h3 {
    font-size: 40px;
    margin-top: 1px;
    margin-bottom: 20px;
}

.header-text h1 span,
.header-text h2 span {
    color: var(--azul);
}

.header-text .necessidade{
    margin-top: 1%;
    font-size: 25px;
    align-content: center;
}

.social-icons {
    margin-top: 10px;
    padding: 10px;
}

.social-icons a {
    text-decoration: none;
    font-size: 35px;
    margin-left: 30px;
    margin-right: 30px;
    color: var(--preto);
    display: inline-block;
    justify-content: space-between;
    transition: transform .5s
}

.social-icons a:hover {
    color: var(--azul);
    border-radius: 8px;
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    /*-webkit-box-shadow: 0 7px 0 -2px #D81D20, 0 15px 0 -4px #262626, 0 16px 10px -3px #262626;
    box-shadow: 0 7px 0 -2px #D81D20, 0 15px 0 -4px #262626, 0 16px 10px -3px #262626 */
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 3px solid var(--azul);
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--preto);
    background: linear-gradient(90deg,rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
    transition: background .5s;
    transition: .5s
}

.btn:hover {
    background: linear-gradient(90deg,rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
    border-radius: 6px;
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0 7px 0 -2px #005297, 0 15px 0 -4px #262626, 0 16px 10px -3px #262626;
    box-shadow: 0 7px 0 -2px #005297, 0 15px 0 -4px #262626, 0 16px 10px -3px #262626
}


.btn.btn3 {
    display: inline-block;
    border-color: var(--azul);
    box-sizing: 20px;
    margin-top: 10px;
    font-size: 18px;
    transition: .5s;
    display: inline-block;
    background: var(--azul);
    color: var(--blacke3);
    font-size: 20px;
    border-style: groove;
    border-color: var(--branco2)
}

.btn.btn3:hover {
    border-radius: 6px;
    color: var(--blacke3);
    background: var(--azul);
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0 7px 0 -2px #1b7bca, 0 15px 0 -4px #262626, 0 16px 10px -3px #262626;
    box-shadow: 0 7px 0 -2px #1b7bca, 0 15px 0 -4px #262626, 0 16px 10px -3px #262626
}

#about {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 70px;
    color: var(--preto);
    background-color: var(--blacke3);
    background-image: url(images/bgfinal2.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.about-col-1 {
    flex-basis: 30%;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--branco)
}

.about-col-1 img {
    max-width: 100%;
    height: auto;
    box-shadow: 2px 2px 18px 2px var(--azul);
    padding-top: 2px;
    border-style: solid;
    border-radius: 50%;
    margin-left: 8%;
    margin-top: 25%;
    min-width: 300px;
    background-color: var(--branco);
}


.about-col-2 {
    flex-basis: 60%;
    margin-top: 8%;
    margin-right: 0.1%;
}


.tab-titles {
    display: flex;
    margin: 40px 0 40px
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: var(--branco)
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--vermelho);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: .5s
}

.tab-links.active-link::after {
    width: 50%
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    font-size: 12px
}

.tab-contents ul li span {
    color: var(--azul);
    font-size: 16px
}

.tab-contents {
    display: none
}

.tab-contents.active-tab {
    display: block
}

#services {
    padding: 100px 0;
    background-color: var(--blacke3);
    background-image: url(images/bgfinal2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: stretch;
}

.services-list div {
    background: linear-gradient(135deg, #00263b, #005297);
    color: var(--branco2);
    padding: 40px;
    font-size: 16px;
    font-weight: 300;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Esticar Card */
    box-sizing: border-box;
    transition: background 1.5s ease, transform 1.5s ease, color 1.5s ease;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
    margin-top: 10px
}

.services-list div h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 25px;
    margin-top: 1px
}

.services-list div a {
    text-decoration: none;
    color: var(--blacke3);
    font-size: 12px;
    margin-top: 20px;
    display: inline-block
}

.services-list div:hover {
    background: linear-gradient(135deg, #001f2e, #004680);
    transform: translateY(-10px);
    color: var(--branco);
    transition: background 1.5s ease, transform 1.5s ease, color 1.5s ease;
}

#portfolio {
    padding: 30px ;
    background-image: url(images/bgfinal2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 40px;
    margin-top: 50px
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden
}

.work img {
    height: 450px;
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform .75s;
    max-height: 500px;
    object-fit: cover;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #005297);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    color: var(--branco);
    transition: height .75s
}

.layer h3 {
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--branco)
}

.layer a {
    margin-top: 20px;
    color: var(--vermelho);
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: var(--branco);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center
}

.work:hover img {
    transform: scale(1.1)
}

.work:hover .layer {
    height: 100%
}


#contact {
    background-color: var(--branco);
    background-position: center;
    background-size: cover;
    padding-top: 30px;
    background-image: url(images/bgfinal2.svg);
    background-position: 100%;
    background-repeat: no-repeat
}

.contact-left {
    flex-basis: 40%
}

.contact-right {
    flex-basis: 50%
}

.contact-left p {
    margin-top: 30px;
    font-size: 25px
}

.contact-left p i {
    color: var(--azul);
    margin-right: 10px;
    font-size: 30px
}

.btn.btn2 {
    display: inline-block;
    background: var(--azul);
    color: var(--blacke3);
    font-size: 20px;
    border-style: groove;
    border-color: var(--branco2);
    
}

.btn.btn2::before {
    margin-left: auto
}

.btn.btn2::after,
.btn2::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--azul);
    display: block;
    transition: .5s
}

.btn.btn2:hover::after,
.btn.btn2:hover::before {
    width: 100%;
    background-color: var(--azul);
}

.contact-right form {
    width: 100%
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: var(--branco);
    font-size: 18px;
    border-radius: 6px
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: var(--blacke3);
    font-weight: 300;
    margin-top: 20px;
    font-size: 10px;
}

.copyright i {
    color: var(--laranja_escuro)
}

nav .fa-solid {
    display: none
}

/* Otimizacao para versão mobile */

@media only screen and (max-width: 600px) {

    body {
        min-width: unset; /* Remove a largura mínima que impedia a responsividade */
        overflow-x: hidden; /* Evita rolagem horizontal indesejada */
    }

    .container {
        padding: 0 5%; /* Ajusta o padding lateral para telas menores */
        width: 100%;
        box-sizing: border-box;
    }

    /* --- Header / Seção de Abertura --- */
    #header {
        width: 100%;
        min-height: 80vh; /* Garante que o header ocupe a altura total da viewport */
        padding-bottom: 30px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: flex;
        justify-content: center; /* Alinha o conteúdo ao topo */
        align-items: center; /* Alinha os itens flexíveis à esquerda */
        padding-top: 20px; /* Espaçamento superior para a navegação */
        box-sizing: border-box;
    }


    .header-text {
        margin-top: 0;
        font-size: 16px;
        text-align: center;
        padding: 20px 10px;
    }

    .header-text h1 {
        font-size: 40px
    }

     .header-text h3 {
        font-size: 15px
    }

    .logo {
        width: 30%;
        height: 30%;
        min-width: 10%;
        margin-top: 2px;
        background-color: transparent;
        border-radius: none;
    }

    nav .fa-solid {
        display: block;
        font-size: 50px
    }

    nav ul {
        background: var(--azulanalitica);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right .5s
    }

    nav ul li {
        display: block;
        margin: 25px
    }

    nav ul .fa-solid {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer
    }

    .fa-solid {
        cursor: pointer
    }

    .sub-title {
        font-size: 40px;
        margin-top: 30px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%
    }

    .about-col-1 {
        margin-bottom: 30px
    }

    .about-col-1 img {
    max-width: 100%;
    align-items: center;
    justify-content: center;
    height: auto;
    box-shadow: 2px 2px 18px 2px var(--azul);
    padding-top: 2px;
    border-style: solid;
    border-radius: 50%;
    margin-left: 2%;
    margin-top: 25%;
    min-width: 200px;
    background-color: var(--branco);
}

    .about-col-2 {
        font-size: 14px
    }

    .services-list div h2{
        font-size: 14px;
        margin-right: 5px
    }

    .services-list div p{
        font-size: 10px;
        margin-right: 5px
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%
    }

    .copyright {
        font-size: 10px
    }
}
