@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.GlobalColors {
    color: #BF0413; /* SECUNDARIA */
    color: #141F44; /* PRIMARIA */
    color: #FFFFFF; /* FUNDO */

}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.flex-container{
    display: flex;
}

.grid-container{
    display: grid;
}

/* Cabeçalho */
.container-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #222;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

.logo-container {
    z-index: 1000;
}

.logo {
    height: 60px;
    width: auto;
}

.navmenu {
    display: flex;
}

.nav-link {
    margin-right: 15px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.hidemenu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hidemenu-line {
    width: 2rem;
    height: 0.25rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}


.conteudo{
    justify-content: center;
}

.first{
    width: 25vw;
    margin: 2rem;
    border-radius: 10rem 25rem 0;
}

.banner {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(5px);
}

.trapezoid {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    max-width: 80%;
}

.content p{
    font-size: 1.1rem;
    margin-top: 2rem;
}

.content h1 {
    font-size: 3.5rem;
}

.section-cards {

    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 2rem;
  }
  
  /* Estilo dos Cards */
  .card {
    
    margin-top: 5rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 30%;
    min-height: 275px;
    transition: transform 0.3s ease, opacity 1s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
  }
  
  /* Animação dos Cards */
  
  
  .card i{
    font-size: 3rem;
    color: #141f44;
    margin-bottom: 1rem;
  }

  .card h2 {
    font-size: 24px;
    color: #141F44;
    margin-bottom: 15px;
  }
  
  .card p {
    font-size: 16px;
    color: #000;
    line-height: 1.5;
  }

  .segments-section {
    text-align: center;
    padding: 50px;
  }
  
  .segments-section h2 {
    font-size: 28px;
    color: #003366;
    margin-bottom: 10px;
  }
  
  .segments-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
  }
  
  /* Grade de Segmentos */
  .segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-around;
    align-items: center;
    gap: 10px;
  }
  
  /* Estilo dos itens de segmento */
  .segment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    min-height: 150px;
    background: rgba(20, 31, 68, 0.9); 
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
  }

  .segment-item:hover {
    transform: scale(1.1); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); 
  }
  
  .segment-item i{
    font-size: 50px;
    margin-bottom: 10px; 
    color: #fff;
  }
  
  .segment-item span {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
  }


.sys-section{
    text-align: center;
    padding: 50px;
    background-color: #222;    
}

.sistemas{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.syscard{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 15px;
    justify-content: center;
    background-color: rgba(255, 255, 255);
    opacity: 0;
    transform: rotateY(-90deg);
    animation: rotateIn 2s forwards;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 200px;
    
}

.syscard p{
    margin-top: 2rem;
}


.syscard button{
    background-color: #000;
    color: #FFFFFF;
    border-radius: 15px;
    padding: 10px 30px;
    font-size: 1rem;
    margin-top: 2rem;
    box-shadow: #000 15px;
}
.syscard button:hover{
    background-color: #141F44;
    color: #FFFFFF;
    transform: scale(1.1);
}

.syscard:hover{
    background-color: #d3d3d3;
}

/* Section principal */
.contact-section {
    display: flex;
    margin-top: 48px;
    margin-bottom: 36.5px;
    width: 100%; /* Agora ocupa 100% da tela */
    max-width: 100vw; /* Limita a largura máxima ao tamanho da janela */
    overflow: hidden;
    position: relative;
}

/* Estilo do Google Maps (Endereço) */
.address {
    flex: 1;
    height: 450px;
    position: relative;
}


/* Estilo do Formulário de Contato */
.contact-form {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form h2 {
    color: #141F44;
    text-align: left;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: bold;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Estilo dos Inputs e Textarea */
.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #BF0413;
    border-radius: 25px;
    background-color: #222;
    color: white;
    font-size: 16px;
    outline: none;
    font-family: roboto;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #fff;
}

/* Botão de envio */
.contact-form button {
    padding: 15px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #222;
}

/* Container do Rodapé */
.footer {
    background-color: #222;
    color: #fff;
    padding: 40px 0;
  }
  
  .footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
  }
  
  /* Estilos da Logo */
  .footer-logo img {
    width: 150px;
    height: auto;
  }
  
  /* Links Úteis */
  .footer-links h3, .footer-menu h3, .footer-contact h3, .footer-social h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .footer-links ul, .footer-menu ul, .footer-social ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li, .footer-menu ul li, .footer-social ul li {
    margin-bottom: 8px;
  }
  
  .footer-links ul li a, .footer-menu ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links ul li a:hover, .footer-menu ul li a:hover {
    color: #fff;
  }
  
  /* Contato */
  .footer-contact p {
    margin: 0;
    margin-bottom: 8px;
  }
  
  /* Redes Sociais */
  .footer-social ul {
    display: flex;
    gap: 15px;
  }
  
  .footer-social ul li img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Deixa os ícones brancos */
    transition: transform 0.3s ease;
  }
  
  .footer-social ul li img:hover {
    transform: scale(1.2);
  }
  
  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float img.whatsapp-icon {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transition: background-color 0.3s;
}

@media (max-width: 768px){
    .navmenu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: #222;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    .navmenu.active {
        right: 0;
        z-index: 15;
    }

    .nav-link {
        margin: 1rem 0;
        font-size: 1.5rem;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .navmenu.active .nav-link {
        opacity: 1;
    }

    .hidemenu {
        display: flex;
    }

    .hidemenu.active .hidemenu-line:nth-child(1) {
        transform: rotate(45deg);
    }

    .hidemenu.active .hidemenu-line:nth-child(2) {
        opacity: 0;
    }

    .hidemenu.active .hidemenu-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    .video-container video{
        display: none;
    }

    .trapezoid {
        background-color: transparent; 
        clip-path: none; 
        width: 100%; 
        background-image: linear-gradient(to bottom, #f8f8f8, #d3d3d3);
        
    }
    .content{
        color: black;
        text-align: center;
    }

    .content h1{
        font-size: 2.5rem;
    }

    .section-cards {
        flex-direction: column;
      }
    
      .card {
        width: 80%;
        margin-bottom: 20px;
      }
      .segments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: space-around;
      }
      .segment-item {
        width: 120px;
      }

    .syscard {
        min-width: 200px;
    }

    .syscard img{
        max-width: 200px;
    }

    .sistemas {
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
    }
    .contact-section {
        flex-direction: column;
    }

    .address, .contact-form {
        width: 100%;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .footer-logo {
        margin-bottom: 20px;
      }
    
      .footer-links, .footer-menu, .footer-contact, .footer-social {
        margin-bottom: 20px;
      }
}




/* Animações */

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotateY(-90deg); /* Começa girado */
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg); /* Fim da animação em posição normal */
    }
}

@keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(100px);
    }    
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }