* {
    margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
    box-sizing: border-box;
}

body {
    /* Melhora renderização de texto */
    -webkit-font-smoothing: antialiased;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #FFFFFF;
    color: #053048;
    background-image: url(../img/background-solucoes.png);
    background-size: 210%;
    background-position: 40% 0;
    background-repeat: no-repeat;
}

.div-menu #pesquisa {
    background-color: transparent;
    border: solid #053048 1px;
    color: #053048;
}

.div-menu-itens .links {
    color: #053048;
}

.div-menu-itens .links::before {
    background: #053048;
}

.img-icone {
    height: 30px;
}


h1, h2 {
    font-weight: 200;
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 1.4rem;
}

.fontw-900 {
    font-weight: 900;
}

.fontw-700 {
    font-weight: 700;
}

.fontw-600 {
    font-weight: 600;
}

.fontw-300 {
    font-weight: 300;
}

.fontw-200 {
    font-weight: 200;
}

.hamburger {
    margin-top: -5px;
    border: none;
    background: none;
    cursor: pointer;
    margin-left: 15px; /* Espaço entre o menu desktop e o ícone */
    z-index: 1001; /* Garante que fique acima do menu que vai abrir */
}

.logo-aliada {
    height: 130px;
    margin-top: 10px;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: #053048;
    margin: 6px 0;
    transition: transform 0.4s ease-in-out;
}

/* Animação do Hambúrguer para "X" */
.hamburger.active::before {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active::after {
    transform: translateY(-10.2px) rotate(-45deg);
}

.hamburger.active span {
    opacity: 0; 
}

/* --- Menu do Hambúrguer (Escondido por padrão) --- */
.nav-hamburger-content {
    position: absolute;
    top: 70%; /* Começa logo abaixo do header */
    right: 0;
    width: 250px;
    background-color: #053048;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;

    /* Lógica para esconder/mostrar com transição suave */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    color: #053048;
    z-index: 1000;
}

.nav-hamburger-content h2{
    padding-left: 1.5rem;
    color: #053048;
    letter-spacing: -0.5px !important;
}

.hamburguer-links {
    padding-left: 1.5rem;
    color: #053048;
}

.nav-hamburger-content button {
    margin-left: 0.5rem;
    color: #053048;
    background-color: #fff;
    margin-right: 5px;
    padding: 5px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
}

.nav-hamburger-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}








.meia-imagem {
    position: absolute;
    width: 50vw;
    height: 100vh;
    background-image: url('../img/aliada-sem-titulo.png');
    background-size: cover;
    background-position: center;
    float: left;
}



section {
    display: flex;
    margin: 100px auto 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 75%;
}

.grid-container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    
}
.card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 40px 20px 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 100%;
}

.card-text {
    margin-left: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid #053048;
    padding-bottom: 60px;
}


.card-text h2 {
    font-size: 2rem;
}

.card-text p {
    font-size: 1.3rem;
}

.card img {
    height: 100px;
    width: 100px;
}


.solucao-final {
    margin: 0 auto;
    height: 100%;
    width: 85%;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.solucao-final .card {
    width: 35%;
}

.cta-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
    background-color: #0530484D;
    color: #053048;
    padding: 50px 30px;
    border-radius: 35px;
    text-align: center;
    width: 70%;
}

.cta-box h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #ddd;
}

.cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #cfd6da;
    color: #0d1c25;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    height: 70px;
    text-align: center;
    width: 30%;
}

.cta-btn:hover {
  background-color: #b8c2c7;
}

footer {
    margin-top: 100px;
}

@media (max-width: 1399px) { 
    .principal {
        margin: 50px auto 0;
    }
}

@media(max-width: 1199px) {
    .principal {
        margin: 50px auto 0;
    }

    section {
        width: 90%;
    }

    .grid-container {
        gap: 20px;
    }

    .card {
        padding-right: 20px 40px 20px 20px;
    }
    .cta-box {
        height: 300px;
    }

    .cta-box h1 {
        font-size: 2.5rem;
    }

    .cta-btn {
        width: 200px;
    }
}

@media(max-width: 999px) {
    .card img {
        height: 100px;
        width: 100px;
    }

    .card-text {
        padding-bottom: 40px;
        margin-left: 30px;
    }
}


@media(max-width: 855px) {

    .principal {
        margin: 50px auto 0;
    }

    .cta-box h1 {
        font-size: 2rem;
    }
}


@media(max-width: 799px) {
    .principal {
        padding-top: 0;
    }

    .card {
        padding: 20px;
    }

    h4, .principal h1 {
        text-align: center;
    }

    .logo-aliada {
        width: 120px;
    }

    .grid-container {
        gap: 0;
        margin-top: 80px;
        width: 90vw;
    }



    .solucao-final {
        margin: 0 auto;
        width: 90vw;
        gap: 0;
    }

    .solucao-final .card {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .logo-aliada {
        width: auto;
    }

    .img-icone {
        height: 20px;
    }

    .card img {
        height: 80px;
        width: 80px;
    }
}



@media(max-width: 699px) {
    .logo-aliada {
        width: 50px;
    }

    .div-menu #pesquisa {
        width: 80%;
    }

    .div-icones ul li img {
        width: 1.5rem;
    }

    .img-icone {
        height: 18px;
    }

    .card {
        gap: 10px;
    }

    .card img {
        width: 70px;
        height: 70px;
    }


}

@media(max-width: 549px) {
    .principal {
        margin-top: 20px;
    }

    .principal h1 {
        font-size: 2.5rem;
    }

    .cta-box {
        height: 200px;
    }

    .cta-box h1 {
        font-size: 1.5rem;
    }

    .cta-btn {
        width: 150px;
    }

    .grid-container {
        margin-top: 40px;
    }

    .card-text {
        gap: 15px;
        padding-bottom: 25px;
    }

    .card h2 {
        font-size: 1.5rem;
    }

    .card p {
        font-size: 1rem;
    }

}

@media(max-width: 450px) {
    .card-text p, .card p {
        font-size: 8px;
    }
    
    .cta-box h1 {
        font-size: 1.2rem;
    }
    .card h2 {
        font-size: 12px;
    }

    .card img {
        width: 50px;
        height: 50px;
    }
}
