@font-face {
    font-family: 'Neo Sans Std';
    src: url('../assets/fonts/NeoSansStdLight.woff2') format('woff2'),
        url('../assets/fonts/NeoSansStdLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neo Sans Std';
    src: url('../assets/fonts/NeoSansStdMedium.woff2') format('woff2'),
        url('../assets/fonts/NeoSansStdMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --azul-claro: rgb(0,158,227);
}

*{
    box-sizing:border-box;
}

html {
  scroll-behavior: smooth;
}

body {    
    font-family: 'Neo Sans Std';
    margin:0;
    padding:0;
}

h1 {
    font-family: 'Neo Sans Std';
    font-weight: 500;
    font-size: 27px;
    color: var(--azul-claro);
}

h2 {
    font-family: 'Neo Sans Std';
    font-weight: 500;
    font-size: 20px;
}


p {
    font-family: 'Neo Sans Std';
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.1em;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    width: 90%;
    max-width: 900px;
    margin: 0 0 40px 0; 
	padding-top: 120px;
}



/* ----------- header -----------*/
header {
    width: 100%;
	position:fixed;
	top:0;
	left:0;
	display: flex;    
    justify-content: space-around;    
	z-index:1000;
    padding-top:0;
}

header .barra-top {
    width: 100%;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    background: #0A72B2;
    background: linear-gradient(90deg,rgba(10, 114, 178, 1) 0%, rgba(18, 51, 106, 1) 41%, rgba(18, 47, 101, 1) 100%);

    background: url("../assets/img/over-cloud.png"),url("../assets/img/over-over.png"), linear-gradient(90deg,rgba(10, 114, 178, 1) 0%, rgba(18, 51, 106, 1) 41%, rgba(18, 47, 101, 1) 100%);
    background-size: auto, auto;
    background-repeat: no-repeat, no-repeat;
    background-position: left calc(100% + 15px), left bottom, 100% 100%;
    background-blend-mode:color-dodge;
    z-index: -10;
}

header #logo {
    width: 180px;
    height: auto;
    margin-top: 20px;
	transition: width 0.3s ease;
}

header #logo.shrink{
	width:90px;
}

header .menu-toggle {
	display: none;
}

header .menu ul {
    height: 80px;
    display: flex;
    column-gap: 15px;
    row-gap: 8px;
    flex-wrap: wrap;
    list-style: none;         
    justify-content: center;
    align-items: center;   
    margin:0;     
}

header .menu ul li a {
    font-size: 500;
    color: #fff;
    text-decoration: none;
    position: relative;    
    white-space: nowrap;
}

header .menu ul li a::after {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: #0A72B2;
    background: linear-gradient(90deg,rgba(10, 114, 178, 1) 0%, rgba(255, 255, 255, 1) 100%);
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: width 0.3s ease;
}

header .menu ul li a:hover::after {
    width:100%;
}


/*----------home ----------------*/
#home {
	width: 100%;
	max-width:unset;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;	
	align-items:flex-end;
}

.texto-inicial {
    width: 35%;
    min-width: 350px;
	padding-bottom: 40px;	
}

.texto-inicial h1 {
    font-size: 40px;
}

.texto-inicial p {
    font-size: 30px;
}

.imagem-top {
    width: 50%;
    display: inline-block;
    filter: drop-shadow(20px 10px 20px rgba(0,0,0,0.6));
	display: flex;
    align-items: flex-end;   	
}

.imagem-recortada {
	width: 100%;
	height: auto;
    display:block;
    clip-path: polygon(
        66% 0%,
        62% 4%,
        12% 4%,
        0% 94%,
        16% 94%,
        24% 100%,
        55% 100%,
        63% 94%,
        100% 94%,
        100% 8%,
        100% 4%,
        100% 0%,
        66% 0%
    );    
}

.fale-inicial {
    background-color: #102f47;
    padding: 8px;
    border-radius: 10px;
    color:#fff;
    text-decoration: none;    
    position:relative;
    transition: background-color 0.2s ease;
    margin-top: 50px;
}

.fale-inicial:hover {
    background-color: var(--azul-claro);
}


/*---------SOBRE NÓS -------------*/
#sobre {
    width: 70%;
    min-width: 400px;
    text-align: center;
}


/*----------SERVIÇOS-----------*/
#servicos{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#servicos .servico {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px
}

#servicos .servico .serv-interno{
    background-color: #ececec;
    border-radius: 15px;
    text-align: center;
    padding: 30px 0;
    box-shadow: rgba(0, 0, 0, 0) 0 0 5px 5px;
    transition:box-shadow 0.3s ease;
}

#servicos .servico .serv-interno:hover {
    box-shadow: 
        inset rgba(250, 250, 250, 1) 0 0 20px 30px,
        rgba(0, 0, 0, 0.1) 0 0 5px 5px;  
}

#servicos .servico .serv-interno .img-serv {
    width: 100%;    
    aspect-ratio:(16/9);    
    margin-bottom: 40px;
    box-shadow: rgba(0, 158, 227, 0.45) 0px 25px 20px -20px;
    overflow: hidden;   
}

#servicos .servico .serv-interno .img-serv img{
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

#servicos .servico .serv-interno:hover img{
    transform: scale(1.1);
}

#servicos .servico .serv-interno h2 {
    color: var(--azul-claro);
}

#servicos .servico .serv-interno p {
    margin: 5px;
}


/*-------------- NUVEM ---------------*/
#nuvem {
	width:100%;
	max-width:unset;
	height:600px;
	padding-top: 99px;	
}
.back-nuvem {
    width: 100%;
    height: 500px;
    max-width: unset;
    background-image: url("../assets/img/over-cloud.png"),url("../assets/img/over-over.png"), url("../assets/img/back-nuvem.svg");
    background-size: auto, auto, 100% 100%;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: left bottom, left bottom, left bottom;
    background-blend-mode:color-dodge;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:#fff;
    text-align: center;
}

#nuvem p {
    width: 80%;
    max-width: 700px;
}


/*-------------- DIFERENCIAIS --------------*/
#diferenciais {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#diferenciais ul {
    list-style: none;
    display: flex;
    flex-direction: column;    
}

#diferenciais ul li {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    position: relative;
}

#diferenciais ul li::before {
    content: "✔";
    position: absolute;
    left:-25px;
    top:-2px;
    opacity: 0; /* escondido inicialmente */
    transition: opacity 0.3s ease;
    color: var(--azul-claro);
    font-size: 30px;
}

#diferenciais ul li:hover {
    background-color: var(--azul-claro);
    color:#fff;    
    border-radius: 10px;    
}

#diferenciais ul li:hover::before {
    opacity: 1;
}

/*----------CLIENTES ----------------*/
#clientes {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1800px;    
}

.logos-clientes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    max-height: 350px;    
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s ease;
    padding: 10px 0 120px 0;
}


.logos-clientes::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 170px; /* altura do fade */
    
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        #ffffff 50%
    );

    pointer-events: none; /* não bloquear clique no botão */
}

.logos-clientes.aberto::after {
    opacity: 0;
    transition: opacity 0.3s;
}

.logos {
    width: 100%;
    background-color: #fff;
    border: none;
    position: absolute;
    bottom: 0;
    z-index: 999;
    cursor: pointer;
}

.logos svg {
    width: 10px;
    fill:var(--azul-claro);
    transition: transform 0.3s;
    transform-origin: center;
}

.logos:hover #triangulo {
    transform: translateY(-3px);
}

.logos-clientes.aberto .logos svg {
    transform: rotate(180deg);
}

.logos hr{
    border:none;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(0, 158, 227, 0) 0%, 
        rgba(0, 158, 227, 1) 50%, 
        rgba(0, 158, 227, 0) 100%);
}

.logos p{
    font-size: 12px;
    font-weight: bold;
    color:var(--azul-claro);
}

.logos-clientes img {
    width: 130px;
    height: auto;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: transform 0.2s ease;
}



.logos-clientes img:hover {
    transform: scale(1.05);
}


/*--------------FALE CONOSCO ---------------*/
#fale {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#fale form {  
    width: 100%;  
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;    
}

input, textarea {
    width: 90%;
    max-width: 600px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, #102f47, var(--azul-claro), darkorchid) border-box;
    border-radius: 30px;
    border: 4px solid transparent;
    padding: 10px;
    font-size: 16px;
}

textarea {
    height: 250px;
    font-size: 16px;
}

input:focus, textarea:focus {
    outline: 0;
    box-shadow: rgba(99, 99, 99, 0.5) 0px 2px 8px 0px;
}

.enviar {
    width: 100px;
    padding: 10px;
    background: linear-gradient(to right, #102f47, var(--azul-claro), darkorchid) border-box; ;
    border-radius: 40px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border:0;
    box-shadow: rgba(99, 99, 99, 0) 0px 0px 0px 0px;
    transform: scale(1);    
    transition:box-shadow 0.3s ease, transform 0.3s ease;
}

.enviar:hover {
    box-shadow: rgba(99, 99, 99, 0.5) 0px 2px 8px 0px;
    /*transform: scale(1.01);*/
    cursor: pointer;
}


/* ----------------rodapé -------------*/
.footer {
    width: 100%;
    padding: 30px;
    display: flex;
    gap:40px;
    justify-content: center;
    align-items: center;
    background: #0A72B2;
    background: linear-gradient(90deg,rgba(10, 114, 178, 1) 0%, rgba(18, 51, 106, 1) 41%, rgba(18, 47, 101, 1) 100%);
    margin-top:40px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    position:relative;
    display: flex;
    align-items: center;
}

.footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #0A72B2;
    background: linear-gradient(90deg,rgba(10, 114, 178, 1) 0%, rgba(255, 255, 255, 1) 100%);
    transition: width 0.3s ease;
}

.footer a:hover::after{ 
    width: 100%;
}

.fa-whatsapp {
    font-size: 20px;
}

/* ============================= */
/* RESPONSIVO - abaixo de 1550px */
/* ============================= */
@media (max-width: 1550px) {
	
	/*-------home-----*/
		.texto-inicial {
		    padding-bottom: 0;
	    }

        .texto-inicial h1 {
            font-size: 3vw;
        }

        .texto-inicial p {
            font-size: 20px;
        }


}


/* ============================= */
/* RESPONSIVO - abaixo de 1250px */
/* ============================= */
@media (max-width: 1250px) {
	
	/*-------home-----*/
	   .texto-inicial h1 {
            font-size: 2.5vw;
        }

        .texto-inicial p {
            font-size: 20px;
        }


}



/* ============================= */
/* RESPONSIVO - abaixo de 1024px */
/* ============================= */
@media (max-width: 1024px) {
	
	/*-------home-----*/
	#home {
		flex-direction:column-reverse;		
		align-items:center;
		justify-content:center;
	}	
	
	.texto-inicial {
		width:90%;
		text-align:center;
		margin-top:50px;
	}

    .texto-inicial h1 {
        font-size: 30px;
    }
	
	.imagem-top {
		width:100%;
	}
	
	
	/*--------servicos---------*/
	#servicos .servico {    
    grid-template-columns: 1fr 1fr;    
	}
	
}


/* ============================= */
/* RESPONSIVO - abaixo de 850px */
/* ============================= */
@media (max-width: 850px) {
    header {
        justify-content: flex-start;
    }

    header #logo {
        margin:20px;
    }

    /* ÍCONE MENU HAMBÚRGUER */
    header .menu-toggle{
		display:block;
        width: 30px;
        height: 22px;
        position: absolute;
        border: none;
        background: none;
        cursor: pointer;
        z-index: 10002;
        top: 20px;
        right: 20px;            
    }

    header .menu-toggle span{
        position: absolute;
        width: 100%;
        height: 3px;
        background: #fff;
        left: 0;        
        transition: .3s ease;
        box-shadow: rgba(50, 50, 93, 1) 0px 13px 27px -5px, rgba(0, 0, 0, 1) 0px 8px 16px -8px;
    }

    .menu-toggle span:nth-child(1){
        top: 0;
    }

    .menu-toggle span:nth-child(2){
        top: 9px;
    }

    .menu-toggle span:nth-child(3){
        bottom: 0;
    }

    /* ANIMAÇÃO ATIVA */
    .menu-toggle.active span:nth-child(1){
        transform: rotate(45deg);
        top: 9px;
    }

    .menu-toggle.active span:nth-child(2){
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3){
        transform: rotate(-45deg);
        bottom: 10px;
    }

    /*----*/
	
	
    /* Menu fixo */
    header .menu ul li a{
        color:#000;
    }

    header .menu .menu-mobile {
        width: 0;
        height: 100vh;
        position: fixed;
        background-color: rgba(255, 255, 255, 0.9);
        right: 0;
        z-index: 999;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
        transition: width 0.3s ease;
        display: flex;
        flex-direction: column; /* Garante que o menu seja exibido em coluna */
        align-items: flex-start; /* Alinha os itens à esquerda */
        padding-top: 80px; /* Garante que os itens do menu não fiquem muito em cima */
        opacity:0;
        transition: opacity 0.3s ease, width 0.3s ease;
    }

    /* Quando a classe active é adicionada, o menu ocupa 100% da tela */
    header .menu .menu-mobile.active {
        width: 200px;
        opacity: 1;
        justify-content: flex-start;
    }

    /* Definindo estilos para a lista */
    header .menu .menu-mobile ul {
        padding: 0;
        margin: 0;
        list-style: none; /* Remove o marcador de lista */
        display: flex;
        flex-direction: column; /* Garante que os itens fiquem em coluna */
        align-items: flex-start; /* Alinha os itens à esquerda */
        justify-content: flex-start;
    }

    /* Definindo o estilo para cada item do menu */
    header .menu .menu-mobile ul li {
        width: 100%; /* Faz com que cada item ocupe a largura inteira */
        padding: 20px 0; /* Espaçamento em cima e embaixo */
        text-align: left; /* Alinha o texto à esquerda */
        font-size: 18px; /* Tamanho da fonte */
    }

    /* Estilo para os links */
    header .menu .menu-mobile ul li a {
        color: #102f47; /* Cor do texto no menu */
        text-decoration: none; /* Remove o sublinhado */
        padding: 0 20px; /* Alinha o texto com algum padding */
        width: 100%; /* Garante que o link ocupe a largura do item */
        display: block; /* Faz com que o link ocupe toda a largura do item */
    }

    /* Estilo para o hover dos itens */
    header .menu .menu-mobile ul li a:hover {
        background-color: #f0f0f0; /* Cor de fundo ao passar o mouse */
    }
	
	.footer {
		flex-direction:column;
		gap:10px;
	}
}