* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #2B3031;
}

body {
    background-color: #F9F9F9;
}

.side-space {
    width: 1280px;
    margin: 0 auto;

    padding: 0 30px 0 30px;
}
 
.banner {
   height: 600px;
   background-image: url("img10 - Cancelamento unilateral de plano de saúde.jpg");
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;

   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 20px;

   margin-bottom: 80px;

   position: relative; /* Necessário para posicionar o pseudo-elemento */
   overflow: hidden; /* Garante que o filtro não ultrapasse os limites */
}

.banner::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5); /* Cor cinza com transparência */
   z-index: 1; /* Coloca o filtro atrás do conteúdo do banner */
}

.banner > * {
   position: relative; /* Garante que o conteúdo do banner esteja acima do filtro */
   z-index: 2;
}

.text-banner {
    width: 1280px;
}

.text-banner h1 {
    width: 847px;
    font-size: 56px;
    color: white;
    font-family: "IBM Plex Serif", serif;
    font-weight: 400;
}

.text-banner div {
    width: 120px;
    height: 8px;
    background-color: white;
    border-radius: 100px;
}

/* Titulo 1 */

.titulo-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
}

.titulo-1 h2 {
    font-family: "IBM Plex Serif", serif;
    font-size: 34px;
    text-align: center;

}

.titulo-1 div{
    width: 100px;
    height: 5px;
    background-color: #36B69C;
    border-radius: 25px;
}

/* Cards */

.card-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;

    margin: 100px auto;

}

.card-1 {
    width: 300px;
    height: auto;
    padding: 20px;
    border: 1px solid white;

    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.5s;
    
    &:hover {
        transform: scale(1.01);
        border: 1px solid #0A2F37;
    }
}

.card-1 h2 {
    font-size: 24px;
    font-weight: 500;
    color: #4E4E4E;

    padding-top: 20px;
}

.card-sub h3{
    font-size: 18px;
    font-weight: 500;
    color: #4E4E4E;
    padding-top: 20px;

}

.card-sub p {
    color: #7E7E7E;
}

.card-1 > div > img {
    width: 80px;
}

.whatsapp-card {
    background-color: #25D366;
    border-radius: 8px;
    margin-top: 25px;
}

.whatsapp-card:hover {
    background-color: #0b421f;
    transition: 0.5s;
}

.whatsapp-card a {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
    gap: 15px;
    padding: 10px 15px;
    font-size: 16px;
}


/* chamada de atenção */

.chamada-01 {
    background-color: #0A2F37;
    padding: 70px 20px;
}

.chamada-01 div {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
}

.chamada-01 img{
    width: 230px;
}

.chamada-01 p {
    color: white;
    text-align: center;
}

.chamada-01 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 340px;
    height: 50px;
    background-color: white;
    color: #0A2F37;
    font-family: "IBM Plex Serif", serif;

    border-radius: 5px;
}

.chamada-01 a:hover {
    background-color: #0A2F37;
    color: white;
    border: 1px solid white;
    transition: 0.5s;
}

.chamada-01 b {
    color: white;
}

/* Paragrafo */

.paragrafo-1 {
    margin-top: 50px;
    text-align: center;
    padding: 0px 200px;
}

.paragrafo-1 a {
    color: #25D366;
}

/* Cards 2 */

.card-2 {
    background-color: #0A2F37;
    width: 850px;
    padding: 30px;
    border-radius: 10px;
    margin: auto;
    margin-top: 50px;
}

.card-2 .card-topic {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.card-2 > div img {
    width: 170px;
}

.card-2 h3 {
    font-size: 24px;
    color: white;
    font-family: "IBM Plex Serif", serif;
    margin-bottom: 10px;
}

.card-2 li {
    color: white;
    list-style: circle;
    margin-left: 20px;
}

/* Tittle text */

.tittle-text {
    width: 900px;
    margin: auto;
    margin-top: 80px;

}

.tittle-text h2 {
    width: 600px;
    font-family: "IBM Plex Serif", serif;
    font-size: 34px;
}

/* Cards 3 */

.card-3 {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;

    margin-top: 60px;
}

.sub-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-color: #0A2F37;
    width: 280px;
    height: 290px;
    transition: 0.5;
    
    &:hover {
        transform: scale(1.05);
    }

}

.sub-card-1 {
    padding-top: 50px;
}

.sub-card-2 {
    padding-top: 60px;
}

.sub-card-3 {
    padding-top: 70px;
}

.sub-card-4 {
    padding-top: 57px;
}

.sub-card .top-line img {
    margin: auto;
}

.sub-card .top-line p {
    color: white;
    text-align: center;
    padding: 0 40px;
    margin-top: 20px;
}

.card-3 .line {
    height: 10px;
    background-color: #36B69C;
}







/* footer */

footer {
    margin-top: 100px;
    background-color: white;
}

.whatsapp-2 {
    width: auto;
}



@media(max-width: 1290px) {

    .side-space {
        width: auto;
    }

    .contato-01 div {
        flex-direction: column;
        width: none;
    }

    .text-sm {
        width: auto;
    }

    .text-lg {
        width: auto;
    }

    header .navbar ul {
        gap: 30px;
    }

    .contato-01 div {
        justify-content: center;
        gap: 40px;
        height: 400px;
        padding: 0 20px;
    }

    .contato-01 h2 {
        font-size: 32px;
        text-align: center;
    }

    .area-whatsapp p {
        text-align: start;
    }
    
    .paragrafo-1 {
        padding: 0;
    }


    

}


@media(max-width: 910px) {


    .text-banner h1{
        width: auto;
        font-size: 40px;
    }

    p, h2 {
        width: auto;
    }

    .list-01 {
        width: auto;
    }

    .area-whatsapp {
        width: auto;
    }

    .area-whatsapp p {
        width: auto;
    }

    .whatsapp-1 p {
        width: 400px;
    }

    .area-whatsapp p:first-child {
        width: auto;
    }

    table {
        margin: 0 auto;
    }

    .card-2 {
        width: auto;
    }

    .card-2 .card-topic {
        flex-direction: column;
        gap: 20px;
        align-items: start;
    }

    .card-2 > div img {
        width: 100px;
    }

    .card-topic li {
        margin-bottom: 10px;
    }

    .tittle-text {
        width: auto;
    }

    .tittle-text h2 {
        width: auto;
    }


}


/* chamada de ação WHATSAPP */

.area-whatsapp {
    background-color: white;
    width: 850px;
    padding: 50px;
}

.area-whatsapp p:first-child {
    width: 750px;
}

.area-whatsapp p:nth-child(2) {
    font-family: "IBM Plex Serif", serif;

}

.area-whatsapp a {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    width: 200px;
    padding: 10px 20px;
    margin-top: 35px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}


.cookie-banner {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;

    p {
        display: block;
        color: #fff;
        margin: 0px;
        font-size: 12pt;
    }
}

.cookie-banner a {
    color: #4caf50;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 16px;
}

.cookie-banner button:hover {
    background-color: #45a049;
}