* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --text-color: #0f172a;
    font-family: "Inter", sans-serif;
}

header {
    background-color: #152139;
    height: 2.5rem;
    padding: 2rem;
    justify-content: space-between;
    align-items: center;
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

a {
    width: 9rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; 
    font-size: 1rem; 
    border: 1.5px solid #fff; 
    cursor: pointer; 
    transition: background-color 0.3s;
    text-decoration: none;
}

a:hover {
    background-color: #ffffffe1 
}

header > img {
    width: 14rem;
    height: 6rem;
    padding: 1.2rem;
}

main {
    background-color: #243a4d;
    padding: 2rem;
    display: flex;
    margin-top: 2rem; 
    justify-content: space-around;
}

main > img {
    width: 30rem;
}

.text a {
    margin-top: 2rem;
}

.cell{
    display: flex;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    max-width: 50rem;
}

.card {
    width: 15rem;
    height: 17rem;
    margin: 3px;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #152139;
}

.card h5 {
    font-size: 16px;
    margin: 0;
}

.card h6 {
    font-size: 0.7rem;
    margin: 0.1rem;
}

img {
    width: 45rem;
    margin-top: 0.4rem;
    max-height:  35rem;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 50rem;
    padding: 2rem;
    font-size: 1.5rem;
    color: #fff;
}
.text > h1 {
    padding-bottom: 1rem;
}
.text > button {
    margin-top: 2.5rem;
    color: #fff;
    padding: 0.5rem;
    width:  12rem;
    height: 2.5rem;
    background-color: #152139;
    border: 0.1rem solid white;
    border-radius: 50rem;
}

.assistencia {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.assistencia > h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    color: #152139;
    font-weight: bold;
}

.content {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
}   

.content > img {
    width: 20rem;
    margin-right: 6rem;
}

.planos {
    padding: 2rem;
}

h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.cards-planos {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.card-planos {
    background-color: #fff;
    border-radius: 10px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Adicionado para centralizar conteúdo verticalmente */
    align-items: center; 
}

.card-planos:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 0.5rem;
}

.card-planos > a {
    background-color: #152139;
    color: #fff;
    border: none;
    margin-top: 2rem;
    padding: 0.75rem 2.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

a:hover {
    background-color: #243a4d;
}

footer {
    display: 'flex';
    align-items: center;
    justify-content: space-between;
    background-color: #152139;
    color: #fff;
    padding: 0.2rem;
    display: flex;
    height: 13.5rem;
}

footer div {
    text-align: center;
    margin-top: 1rem; 
    margin-bottom: 1rem;
}

footer > img {
    width: 14rem;
    height: 6rem;
    padding: 1rem;
}

.politic {
    display: flex;
    padding-left: 2rem;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
}

.politic a {
    background-color: #152139;
    color: #fff;
    font-size: 0.8rem;
    border: none;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color: #152139;
}

.social-icons a {
    display: inline-block;
    color: #fff;
    background-color: #152139;
    font-size: 24px;
    border: none;
}


@media screen and (max-width: 768px) {
    header {
        width: 100vw;
    }
    header > img {
        width: 9rem;
        height: auto;
    }
    main {
        flex-direction: column;
        padding: 1.5rem;
        width: 100%;
    }
    main > img {
        width: 100%;
        margin-bottom: 2rem;
    }
    .text {
        padding: 1rem;
        font-size: 1.2rem;
    }
    .text > button {
        margin-top: 2rem;
        width: 100%;
    }

    .cell{
        display: flex;
        flex-direction: column;
    }
    .cards {
        max-width: 100%;
    }
    .card {
        width: 100%;
        margin: 5px;
        padding: 1.5rem;
    }
    img {
        width: 100%;
        max-height: none;
    }
    .content {
        flex-direction: column;
        padding: 1rem;
    }
    .content > img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
    }
   
    .cards-planos {
        flex-direction: column;
        align-items: center;
    }

    .card-planos {
        width: 90%;
        margin: 5px; 
    }

    footer {
        padding: 0.5rem;
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    footer > img {
        width: 10rem;
        height: auto;
    }
    .politic {
        padding-left: 1rem;
    }
    .social-icons {
        flex-direction: column;
    }
}
