/* Estilos Globais */
* {
    box-sizing: border-box;
    /* Inclui padding e borda na largura/altura total */
}

:root {
    --Primary-Pressed---500: #204551;
    --Primary-Desabled---100: #BDCCD1;

}


body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: auto;
    position: relative;
}

/* Estilo do Container */
.container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 110px;
    padding-bottom: 0;
    background-color: #BDCCD1;
    overflow: hidden;
}

/* SVG da onda */
.wave-svg {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -1px;
    background-color: #F3F4F6;
}

/* Estilos do Cabeçalho */
.header-illustration {
    display: flex;
    height: 100%;
    align-items: center;
    width: 100%;
    z-index: 2;
    justify-content: center;
    margin-top: -140px;
    position: relative;
    padding-bottom: 85px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
    /* Acima do SVG */
}

/* Títulos */
.Titulo-saude-mental {
    width: 523px;
    align-self: stretch;
    font-family: "Wix Madefor Display";
    font-size: 64px;
    font-weight: 700;
    line-height: 125%;
    margin-top: -20px;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #265361 0%, #234C59 51.01%, #204551 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    /* Garante que o z-index funcione */
    z-index: 10;
    /* Menor que o z-index do dropdown */
}

/* Texto */
.Texto-saude-mental {
    width: 513px;
    color: var(--Primary-Pressed---500, #204551);
    font-family: 'Roboto';
    font-size: 24px;
    font-weight: 400;
    line-height: 27px;
    margin-top: -20px;
}

/* Estilos do Botão */
.teste-button {
    display: inline-flex;
    padding: 16px 28px;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid var(--Primary-Pressed---500, #204551);
    background: var(--Primary-Pressed---500, #204551);
    font-family: 'Poppins';
    font-size: 19.2px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.teste-button:hover {
    background-color: #265361;
}

/* Estilo da Ilustração */
.illustration {
    max-width: 700px;
    margin-top: 10px;
    width: 100%;
    height: 700px;
}


.bem-estar-container {
    display: flex;
    height: 123px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 92px;
    background: #F3F4F6;
    width: 100%;
    position: relative;
    z-index: 0;
}

.bem-estar {
    width: 124px;
    height: 6px;
    transform: rotate(-90deg);
    border-radius: 4px;
    background: #F8B490;
}

.frase-bem-estar {
    display: flex;
    width: 1249px;
    height: 133px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--4, 32px);
    flex-shrink: 0;
}

.titulo-bem-estar {
    height: 41px;
    flex-shrink: 0;
    align-self: stretch;
    color: var(--Primary-Pressed---500, #204551);
    font-family: 'Mulish';
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.subtitulo-bem-estar {
    color: var(--Primary-Pressed---500, #204551);
    font-family: 'Roboto';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.15px;
    align-self: stretch;
}

.cards {
    display: flex;
    align-items: center;
    gap: var(--spacing-spacing-4-spacing-6, 24px);
    align-self: stretch;
    padding: 79px 92px;
    justify-content: center;
}

.card {
    display: flex;
    width: 302px;
    height: 435px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

.ilustracao-card {
    margin-bottom: 15px;
    width: 302px;
    height: 226px;
    border-radius: 12px;
    background: rgba(76, 76, 76, 0.22);
}

.card-image {
    display: flex;
    width: 303px;
    height: 222px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 29px;
    flex-shrink: 0;
}

.texto-card {
    display: flex;
    width: 255px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px;
}

.titulo-card {
    width: 252px;
    color: #000;
    font-family: 'Roboto';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.15px;
}

.subtitulo-card {
    color: #000;

    /* Typography/Body/body2 */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 143%;
    /* 20.02px */
    letter-spacing: 0.17px;
    align-self: stretch;
}

.action-button {

    color: #204551;
    font-family: 'Roboto';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 143%;
    /* 20.02px */
    letter-spacing: 0.17px;
    align-self: stretch;
    text-decoration: none;
}

@media (max-width: 1280px) {
    .bem-estar-container {
        flex-direction: column;
        /* Se você quiser empilhar os itens verticalmente em telas menores */
        align-items: center;
        /* Centraliza os itens verticalmente */
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
        /* Cartões ocupam 100% em telas menores */
    }
}

/* Adiciona um container para todo o conteúdo após o SVG */
.content-after-wave {
    background: #BDCCD1;
    width: 100%;
    position: relative;
    z-index: 0;
    padding-top: 1px;
}

@media (max-width: 1024px) {
    .Titulo-saude-mental {
        font-size: 42px;
        width: 100%;
        max-width: 400px;
        text-align: left;
    }

    .Texto-saude-mental {
        font-size: 18px;
        width: 100%;
        max-width: 400px;
        line-height: 24px;
    }

    .titulo-bem-estar {
        font-size: 32px;
    }

    .subtitulo-bem-estar {
        font-size: 16px;
    }

    .teste-button {
        font-size: 16px;
        padding: 12px 24px;
    }

    .texto-card {
        font-size: 14px;
    }

    .titulo-card {
        font-size: 18px;
    }

    .illustration {
        max-width: 450px;
        height: 450px;
        margin-top: 20px;
    }

    .header-illustration {
        gap: 20px;
        margin-top: -80px;
    }
}

@media (max-width: 550px) {
    .container {
        padding: 40px 0 0;
        text-align: center;
    }

    .header-illustration {
        flex-direction: column;
        padding: 0 15px 30px;
        margin-top: 0;
        align-items: center;
    }

    .header {
        width: 100%;
        text-align: center;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .Titulo-saude-mental {
        font-size: 26px;
        width: 100%;
        max-width: 100%;
        line-height: 115%;
        margin: 0 auto 10px;
        letter-spacing: -0.3px;
        padding: 0 15px;
        word-wrap: break-word;
        text-align: center;
    }

    .Texto-saude-mental {
        font-size: 15px;
        width: 100%;
        max-width: 260px;
        line-height: 130%;
        margin: 10px auto;
        text-align: center;
    }

    .teste-button {
        margin: 15px auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
        align-self: center;
    }

    .illustration {
        width: 240px;
        height: 240px;
        margin: 15px auto;
        display: block;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 30px 0 0;
    }

    .Titulo-saude-mental {
        font-size: 24px;
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    .Texto-saude-mental {
        font-size: 14px;
        max-width: 240px;
        padding: 0 10px;
        text-align: center;
    }

    .illustration {
        width: 220px;
        height: 220px;
    }

    .teste-button {
        font-size: 14px;
        padding: 10px 18px;
        margin: 15px auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
        align-self: center;
    }
}

.sua-vida-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 80px 80px 200px;
    background: #FEFEFE;
    position: relative;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.wave-bottom-container {
    position: absolute;
    width: 100%;
    height: 168px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.wave-svg-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #F3F4F6;
}

.wave-svg-bottom path {
    fill: #FEFEFE;
}

.sua-vida-texto {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.sua-vida-titulo {
    color: #204551;
    text-align: center;
    font-family: 'Mulish';
    font-size: 40px;
    font-weight: 600;
    line-height: 120%;
    position: relative;
    padding-bottom: 32px;
    margin-bottom: 32px;
    width: 100%;
}

.sua-vida-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 111px;
    height: 6px;
    background-color: #F8B490;
    border-radius: 4px;
}

.sua-vida-subtitulo {
    color: #000;
    text-align: center;
    font-family: 'Nunito';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.15px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.card-vida {
    display: flex;
    padding: 24px;
    align-items: center;
    gap: 32px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 4px 25px 0px rgba(141, 141, 141, 0.05);
    height: 120px;
}

.card-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background-image: url('../images/icon-background.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.card-icon {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-title {
    color: #000;
    font-family: 'Nunito';
    font-size: 18px;
    font-weight: 600;
    line-height: 133%;
    margin: 0;
}

.card-text {
    width: 100%;
    color: #1F0802;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .sua-vida-container {
        padding: 80px 40px 220px;
    }

    .wave-bottom-container {
        height: 180px;
    }

    .sua-vida-texto {
        margin-bottom: 80px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sua-vida-subtitulo {
        padding: 0;
    }

    .grey-section {
        padding: 80px 0;
    }
    
    .grey-section-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .sua-vida-container {
        padding: 60px 20px 180px;
    }

    .cards-grid {
        padding: 0 16px;
    }
    
    .card-vida {
        padding: 20px;
        height: auto;
        min-height: 100px;
    }

    .wave-bottom-container {
        height: 120px;
    }

    .sua-vida-titulo {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .sua-vida-subtitulo {
        font-size: 18px;
        padding: 0;
    }

    .sua-vida-texto {
        margin-bottom: 60px;
    }

    .grey-section {
        padding: 30px 0;
        gap: 30px;
    }
    
    .grey-section-content {
        padding: 0 15px;
    }
}

@media screen and (min-width: 1440px) {
    .sua-vida-container {
        padding: 80px calc((100% - 1280px) / 2) 240px;
    }

    .sua-vida-texto,
    .cards-grid {
        padding: 0;
    }

    .grey-section {
        padding: 120px calc((100% - 1280px) / 2);
    }
    
    .grey-section-content {
        padding: 0;
    }
}

.grey-section {
    width: 100%;
    background-color: #F3F4F6;
    padding: 46px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 46px;
}

.grey-section-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}