html {
    color-scheme: light;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.background-corporativo {
    width: 100%;
    position: relative;
    aspect-ratio: 2592 / 864;
    overflow: hidden;
}

.background-corporativo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background picture {
    display: block;
    width: 100%;
    height: 100%;
}

.bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diferenciais {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 24px;
    padding: 24px;
    width: 98%;
    margin: auto;
    margin-top: 40px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card-diferenciais {
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: #1e2f97;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-diferenciais:hover {
    transition: 0.3s ease;
    transform: translateY(-5px);
}


/* IMAGEM */

.card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30, 47, 151, 0) 40%, rgba(30, 47, 151, 1) 100%);
}


/* CONTEÚDO CARDS*/
.card-content {
    padding: 25px;
    color: white;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.open-modal {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
}

.open-modal:hover {
    text-decoration: underline;
}


/* BOTÃO */

.card-footer {
    background-color: #0a1a5e;
    padding: 15px;
    text-align: center;
}

.card-footer button {
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.card-footer button:hover {
    opacity: 0.8;
}


/* EXPLICAÇÃO DE PLANOS MODAIS*/

.modal-aberto .card-diferenciais:hover {
    transform: none !important;
    transition: none !important;
}

.modal-overlay {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(10, 25, 50, 0.65);
    font-family: 'Poppins', sans-serif;
    z-index: 99999;
}

.modal-overlay.ativo {
    display: flex;
}

.modal {
    background-color: #fffffff6;
    color: #000000;
    padding: 35px;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-in-out;
}


/* Header */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.modal-header button {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #000000;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}


/* Conteúdo */

.modal-content {
    text-align: left;
    color: #444444;
}

.modal-content p {
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 14px;
    opacity: 0.9;
}


/* Animação */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* MARCAS */

.marcas {
    margin-top: 70px;
}

.marcas-conteiner {
    display: flex;
    flex-direction: row;
    gap: 70px;
}

.marcas-conteudo {
    max-width: 50%;
    text-align: left;
    margin-left: 55px;
    padding: 10px;
}

.marcas-conteudo span {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.marcas-imagens {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 40%;
}


/* Confianca */

.confianca {
    padding: 30px 5%;
    background: linear-gradient(135deg, #1e00a8, #2e00ff);
    text-align: center;
    color: white;
    margin-top: 60px;
    margin-bottom: 80px;
}

.confianca-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.confianca-header h2 {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 60px auto;
    opacity: 0.9;
}

.swiper {
    padding-bottom: 60px;
    width: 70%;
}

.swiper-slide {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    background: transparent;
}

.swiper-slide img {
    width: 210px;
    border-radius: 25px;
}


/* CONTATO */

#contato {
    scroll-margin-top: 200px;
}

#tecnologias {
    scroll-margin-top: 200px;
}

.contato-geral {
    width: 95%;
    margin: auto
}

.titulo-form {
    color: #444;
    font-size: 1.1rem;
    max-width: 100%;
    margin-left: 10px;
}

.titulo-form h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #8bff1e;
    text-shadow: 0 0 20px rgba(124, 255, 0, 0.3);
}

.contato {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    padding: 40px 20px 20px 20px;
    padding-bottom: 60px;
    min-height: 200px;
    align-items: center;
}

.box-form {
    max-width: 500px;
    max-height: 800px;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 255, 0, 0.482);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.box-form h3 {
    color: #1800ad;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.box-form:hover {
    border-color: rgba(124, 255, 0, 0.5);
    box-shadow: 0 8px 40px rgba(124, 255, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(124, 255, 0, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

form input::placeholder,
form textarea::placeholder {
    color: rgba(0, 0, 0, 0.674);
}

form input:focus,
form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #7CFF00;
    box-shadow: 0 0 12px rgba(124, 255, 0, 0.4);
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

form button {
    background: #7CFF00;
    color: #050f28;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(124, 255, 0, 0.3);
}

form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 255, 0, 0.5);
}

form button:active {
    transform: translateY(0);
}

.maps {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(124, 255, 0, 0.2);
    width: 100%;
    height: 490px;
}

.contato .maps iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    border: 0;
}

@media (max-width: 1024px) {
    .background-corporativo {
        aspect-ratio: 1024 / 1536;

    }

    .cards {
        display: flex;
        flex-direction: column;
    }

    .marcas {
        width: 100%;
    }

    .marcas-header img {
        width: 95%;
        height: auto;
    }

    .marcas-conteiner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;

        width: 100%;
        
    }

    .marcas-conteudo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 85%;
        
        margin: auto;
       
    }

    .marcas-conteudo span {
        align-items: center;
        justify-content: center;
        padding: 0;


    }

    .marcas-imagens {
        margin: auto;
    }

    .titulo-form img {
        width: 95%;
        height: auto;
    }

    /*CONTATO*/
    .titulo-form img {
        width: 100%;
    }

    .contato {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}