/* ESTRUTURAIS*/
body,html,main{
    overflow-x: hidden;
    z-index: -100;
}
html { scroll-behavior: smooth; }
nav {
    top: 0;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 10;
    background: rgba(255,255,255,0);
    justify-content: space-between;
    transition: all 0.6s ease;
    z-index: 1000;
    background-color: rgb(1 162 252);
}
nav > div:first-child {
    margin-left: 70px;
}
nav > div:last-child {
    margin-right: 40px;
}
#logo {
  height: 60px;
  transition: height 0.6s ease;
}
nav button {
    opacity: 1;
}
nav.shrink {
  background-color: rgba(255, 255, 255, 0);
}
nav.shrink #logo {
  height: 30px;
  filter: brightness(0) saturate(100%) invert(49%) sepia(100%) saturate(1292%) hue-rotate(166deg) brightness(102%) contrast(101%);
}

nav p {
    text-shadow: 0 0 2px rgb(0, 0, 0);
}
nav.shrink button {
  opacity: 0;
}
.voador {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none;
    cursor: pointer;
    z-index: 2;

    :first-child {
        position: absolute;
        bottom: 80px;
        animation: surgir 4s ease-in 0s 1 normal forwards;
    }
    :last-child {
        animation: feliz 1s ease-in 0s 1 normal forwards;
    }
}

@keyframes surgir {
    0% { transform: scaleY(0.8); opacity: 0; height: 80%; }
    80% { transform: scaleY(0.8); opacity: 0; height: 80%; }
    85% { transform: scaleY(1.1); opacity: 0.5; height: 110%; }
    90% { transform: scaleY(0.9); opacity: 1; height: 90%; }
    95% { transform: scaleY(1.01); height: 101%; }
    100% { transform: scaleY(1); height: 100%; }
}
@keyframes feliz {
     0% { transform: scale(0.8,1.1); height: 80%; }
    25% { transform: scale(1.1,0.9); height: 110%; }
    50% { transform: scale(0.9,1.05); height: 90%; }
    70% { transform: scale(1.01,1.01); height: 101%; }
    100% { transform: scale(1,1); height: 100%; }
}
nav div {
    display: flex;
    gap: 10px;
    align-items: center;
    p {
        margin: 0 !important;
        font-weight: lighter !important;
    }
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
}
section, footer {
    padding: 80px;
}
section:nth-child(1) {
    position:relative;
    overflow:hidden;
    padding: 0 5% 0 5% !important;
    height: calc(100vh + 30px);
}

footer {
    display: flex;
    justify-content: space-around;
    .metade {
        width: 50%;
    }
    p {
        text-align: left;
    }
}
.carrossel {
  position: relative;
  width: 130%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.carrossel-inner {
    min-height: 369px;
    position: relative;
    width: 100%;
    transition: height 0.4s ease;
}

.carrossel-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}
.carrossel-img div{
    max-height: 306.4px;
}
.carrossel-img.ativo {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  z-index: 2;
  transform: translateX(0);
}
.carrossel-img.ativo,
.carrossel-img.saindo-esq,
.carrossel-img.saindo-dir,
.carrossel-img.entrando-esq,
.carrossel-img.entrando-dir {
    opacity: 1;
    pointer-events: auto;
}
.carrossel-img.saindo-esq {
    display: block;
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}
.carrossel-img.saindo-dir {
    display: block;
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}
.carrossel-img.entrando-esq {
    display: block;
    opacity: 1;
    transform: translateX(-100%);
    animation: entraDaEsq 0.5s forwards;
    z-index: 2;
}
.carrossel-img.entrando-dir {
    display: block;
    opacity: 1;
    transform: translateX(100%);
    animation: entraDaDir 0.5s forwards;
    z-index: 2;
}
.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    border: 1px solid #fff;;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    border-radius: 100%;
    transition: background 0.2s;
    display: flex;
    align-items: inherit;
    justify-content: center;
}
.carrossel-btn.prev { left: 10px;}
.carrossel-btn.next { right: 10px;}
@keyframes entraDaEsq {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
@keyframes entraDaDir {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mvv {
    display: flex;
    div:first-child {
        text-align: center;
        width:250px;
    }
    div:last-child {
        align-content: center;
        width: 50vw;
        margin-top: 6%;
    }
}

#nuvem-azul {
    position: absolute;
    width: 60vw;
    right: -20%;
    z-index: -1;
    top: calc(50% - 25vw);
}
#secao-fornecedores {
    display: flex;
    justify-content: space-around;
    align-items: end;
    div{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
#logo-mobile {
    display: none;
}
.texto-linha {
    display: flex;
    gap: 40px;
}
p
{transition: all 0.3s ease;}
a {
    color: rgb(1 162 252);
    text-decoration: none;
    transition: all 0.3s ease;
    :hover {
        transition: all 0.3s ease;
        color: rgb(0 23 129);
    }
    
}

/* EFEITOS */

#regiao {
    transition: all 0.5s ease;
}
.bkvideo {
    opacity: 0;
}
.video_loaded{
    animation: aparecer 1.2s ease-in 0s 1 normal forwards;
}
@keyframes aparecer {
    from { opacity: 0.2; }
    to { opacity: 1; }
}
.bk_azul {
    background-color: rgb(56 167 247);
}
button:hover {
    background-color: white;
    transform: scale(1.1);
    color: rgb(1 162 252);
    transition: all 0.3s ease;
    text-shadow: rgb(1 162 252) 0px 0px 1px;
}
.animar-ao-ver.a-vertical{
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s ease-out;
}
.animar-ao-ver.a-horizontal{
  opacity: 0;
  transform: translateX(30px);
  transition: all 1s ease-out;
}
.a-vertical.animado{
  opacity: 1;
  transform: translateY(0);
}
.a-horizontal.animado{
  opacity: 1;
  transform: translateX(0);
}

/* CLASSES */
.apenas-mobile {
    display: none;
}
a { align-content: center; text-decoration: none;}
.white {
    background-color: white;
    color: rgb(0 23 129);
}
.centralizado {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.centralizado-h {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.pontilhado-aspero1 {
    background-image: url("../imagens/background1.webp");
}
.pontilhado-aspero2 {
    background-image: url("../imagens/background2.webp");
}

/* Carrossel Perpétuo */
.carrossel-perpetuo-container {
    display: none; /* Escondido por padrão em telas grandes */
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carrossel-perpetuo-inner {
    display: flex;
    /* A largura é o dobro para acomodar os itens duplicados */
    width: 200%; 
    animation: scroll-perpetuo 10s linear infinite;
}

.carrossel-perpetuo-inner span {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* Impede que o texto quebre a linha */
    padding: 0 20px; /* Espaçamento entre os itens */
    flex-shrink: 0;
}

@keyframes scroll-perpetuo {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); } /* Move até o início da cópia */
}
/* ELEMENTOS */
img{
    object-fit: contain;
}
.caixa-de-texto{
    width: 80%;
    position: relative;
    img {
        position: absolute;
        left: -20px;
        top: -50px;
        z-index: -2;
    }
}
.colecao {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 50px;
}
.colecao span{
    justify-content: center;
    display: flex;
    gap: 10px;
    width: 30%;
}

button {
    background-color: rgb(1 162 252);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease !important;
    text-shadow: black 0px 0px 1px;
}
.btn-white {
    background-color: white;
    color: rgb(1 162 252);
    margin: 40px 0;
}
.btn-g {
    font-size: 1.5rem;
    padding: 20px 30px;
    border-radius: 35px;
}

/* FONTES */
h1 {
    font-family: 'PoppinsBold', Arial, sans-serif;
    color: rgb(0 23 129);
    font-weight: lighter;
    font-size: 4.5rem;
    text-align: center;
    margin: 0 0 10px 0;
    line-height: 0.9;
}
h2 {
    font-family: 'PoppinsBold', Arial, sans-serif;
    font-weight: lighter;
    font-size: 3rem;
    line-height: 1.2;
}
.t-medio {
    font-size: 1.5rem;
}
p {
    line-height: 1.4;
}
.t-bold{
    font-family: 'PoppinsBold', Arial, sans-serif;
    font-weight: 800;
}
.t-light{
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 200;
}
.italico {
    font-style: italic;
}
.azul1{
    color: rgb(0 23 129);
}
.azul2{
    color: rgb(1 162 252);
    background-color: transparent;
}
.branco {
    color: white;
}

@font-face {
    font-family: 'Poppins';
    src: url('../recursos/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'PoppinsBold';
    src: url('../recursos/Poppins-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*RESPOSIVO*/
@media (max-width: 1000px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .t-medio {
        font-size: 1.3rem;
    }
    .btn-g {
        font-size: 1.2rem;
        padding: 15px 25px;
    }
    .apenas-pc { display: none; }
    .apenas-mobile {display: block;}

    section, footer {
        padding: 15px;
    }
    main section:nth-child(1)
    {
        padding: 0 15px;
        div p {
            width: 90vw !important;
        }
    }
    main section:nth-child(2) > div:first-child {
        display: flex;
        flex-direction: column;
        margin-top: 5vh;
        div:first-child {z-index: 2;}
    }
    main section:nth-child(3) > div {
        display: flex;
        flex-direction: column !important;
        margin-top: 5vh;
    }
    .carrossel-inner,.carrossel-inner img {
        max-width: 95vw;
        max-height: 95vw;
    }
    .carrossel {
        width: 100% !important;
    }
    .carrossel-btn.prev { left: 0px;}
    .carrossel-btn.next { right: 0px;}
    .mvv {
        display: flex;
        flex-direction: column;
    }
    .mvv div:first-child{
        text-align: center;
        width: 100%;
    }
    .mvv div:last-child{
        width: 100%;
    }
    #secao-fornecedores {
        display: flex;
        flex-direction: column !important;
        margin-top: 5vh;
        div {
            width: 100%;
            margin-bottom: 20px;
        }
    }
    main section:nth-child(6){
        h2 {margin-bottom: 0;}
        div {
            display: flex;
            flex-direction: column-reverse !important;
            
            div {
                margin-top: 0;
                width: 100% !important;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }
            img { max-width: 150px;}
        }
    }
    footer{
        display: flex;
        flex-direction: column;
        .metade {
            width: 100%;
        }
        h2, p, a {
            text-align: center !important;
        }
    }
    .texto-linha {
        flex-direction: column;
        gap: 0;
        p {
            margin: 0;
        }
    }
}
