@import "reset.css";


/* =====================================================
   ÁREA DO ASSOCIADO
===================================================== */

.caixa {

    width: 100%;

    margin: 0 0 50px;

    padding: 20px 0 0;

    box-sizing: border-box;



    font-family: var(--fonte-principal);

}


/* =====================================================
   SESSÃO PRINCIPAL
===================================================== */

.sessao-principal {

    position: relative;

    width: 100%;

    min-height: auto;

    display: flex;

    flex-direction: column;

}


/* =====================================================
   TEXTO
   FICA ANTES DA IMAGEM
===================================================== */

.texto-sessao {

    position: relative;

    width: 100%;
   padding: 0 10px 0 20px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    color: var(--azulEscuro);

    z-index: 2;

}


/* =====================================================
   TÍTULO
===================================================== */

.texto-sessao h1 {

      font-size: 1.5rem;

    line-height: 1.2;

    font-weight: 550;

    color: var(--azulEscuro);

}


/* =====================================================
   LINHA DO TÍTULO
===================================================== */

.texto-sessao h1::after {

    content: "";

    display: block;

    width: 70px;

    height: 8px;

    margin: 0 0 10px 12px;

    background: var(--laranjaForte);

}


/* =====================================================
   PARÁGRAFO
===================================================== */

.texto-sessao p {

    max-width: 400px;

    margin: 0;

    font-size: .9rem;

    line-height: 1.2;
    font-weight: 300;

    color: var(--azulEscuro);

}


/* =====================================================
   ÁREA DA IMAGEM
===================================================== */

.img-sessao {

    position: relative;

    width: 100%;

    height: 400px;

    overflow: hidden;

    margin-top: 15px;

    overflow: hidden;
}





/* =====================================================
   IMAGEM
   INCLINAÇÃO PARA A ESQUERDA
===================================================== */

.img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: bottom center;

    display: block;

    opacity: 0;

    /* clip-path: polygon(
        0 20%,
        80% 0%,
        100% 10%,
        100% 100%,
        0 100%
    ); */

    transition: opacity .8s ease;

}


/* =====================================================
   IMAGEM ATIVA
===================================================== */

.img.ativa {

    opacity: 1;

}


.img-sessao::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 90%;

    background: linear-gradient(
        to bottom,

        transparent 0%,

        rgba(29, 48, 86, .20) 25%,

        rgba(29, 48, 86, .40) 35%,

        rgba(29, 48, 86, .60) 55%,

        rgba(29, 48, 86, .80) 75%,

        #1D3056 100%
    );

    z-index: 1;

    pointer-events: none;
}



/* =====================================================
   IMAGEM ATIVA
===================================================== */

.img.ativa {

    opacity: 1;

}



/* =====================================================
   DIREITOS E DEVERES — MOBILE
===================================================== */


/* =====================================================
   SEÇÃO PRINCIPAL
===================================================== */

.direito-dever {

    position: relative;

    width: 100%;

    padding: 0 15px 30px;

    background: var(--corBranca);

    box-sizing: border-box;

}


/* =====================================================
   TÍTULO PRINCIPAL
===================================================== */

.titulo-direitos {

    margin: 0 0 0px;

    padding: 0;

    text-align: center;

    color: var(--azulEscuro);

    font-size: 1.5rem;

    font-weight: 550;

    line-height: 1.2;

}


/* =====================================================
   ÁREA DA IMAGEM
   OCUPA TODA A LARGURA
===================================================== */

.imagem-direitos {

    position: relative;

    width: calc(100% + 30px);

    height: 320px;

    margin-left: -15px;

    overflow: hidden;

    box-sizing: border-box;

}


/* =====================================================
   IMAGEM
===================================================== */

.imagem-direitos > img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

}


/* =====================================================
   CONTEÚDO SOBRE A IMAGEM
===================================================== */

.conteudo-direitos {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    padding: 55px 20px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    align-items: flex-start;

    background: linear-gradient(
        to bottom,
        rgba(29, 48, 86, .75) 0%,
        rgba(29, 48, 86, .25) 40%,
        rgba(29, 48, 86, .20) 55%,
        rgba(29, 48, 86, .85) 100%
    );

    color: var(--corBranca);

    z-index: 2;

}


/* =====================================================
   TÍTULO SOBRE A IMAGEM
===================================================== */

.conteudo-direitos h3 {

    margin: 0;

    padding: 0;

    color: var(--corBranca);

    font-size: 1.2rem;

    font-weight: 500;

    line-height: 1.2;
    width: 65%;
   

}


/* =====================================================
   TEXTO NA PARTE INFERIOR
===================================================== */

.conteudo-direitos p {

    width: 100%;

    max-width: 100%;

    margin: 0;

    padding: 0;

    color: var(--corBranca);

    font-size: .9rem;

    font-weight: 300;

    line-height: 1.2;
     width: 90%;

}


/* =====================================================
   DEVERES
   FICAM DEPOIS DA IMAGEM E ANTES DOS CARDS
===================================================== */

.conteudo-deveres {

    position: relative;

    width: 100%;

    margin: 10px 0 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    box-sizing: border-box;

}


/* =====================================================
   ITEM DEVER
===================================================== */

.item-dever {

    position: relative;

    width: 100%;

    margin: 0;

    padding: 7px 5px;

    box-sizing: border-box;

    color: var(--corTexto);

}


/* =====================================================
   LINHA INFERIOR
===================================================== */

.item-dever::before {

    content: "";

    position: absolute;

    left: 0.5px;

    bottom: 0;

    width: 20%;

    height: 1px;

    background: var(--azulEscuro);

}


/* =====================================================
   TÍTULO
===================================================== */

.item-dever h3 {

    margin: 0 0 3px;

    padding: 0;

    color: var(--corTexto);

    font-size: 1.2rem;

    font-weight: 500;

    line-height: 1.2;

}


/* =====================================================
   TEXTO
===================================================== */

.item-dever p {

    margin: 0;

    padding: 0;

    color: var(--corTexto);

    font-size: .9rem;

    font-weight: 300;

    line-height: 1.2;

}


/* =====================================================
   CARDS
===================================================== */


.cards-direitos {

    position: relative;

    left: auto;

    bottom: auto;

    transform: none;

    width: 100%;

    margin: 35px 0 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    gap: 20px;

    box-sizing: border-box;


}


/* =====================================================
   CARD
===================================================== */

.card-direito {

    width: 95%;

    min-height: auto;
    margin: 0 auto;

    flex: none;

    padding: 10px 20px;

    border-radius: 8px;

    background: var(--azulClaro);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);

    box-sizing: border-box;

    animation: animarCardMobile 8s ease-in-out infinite alternate;

}


/* =====================================================
   SEGUNDO CARD
===================================================== */

.card-direito:nth-child(2) {

    animation-delay: 1.5s;

}


/* =====================================================
TÍTULO DO CARD
===================================================== */

.card-direito h4 {

    display: block;

    margin: 0 0 2px;

    padding: 0 0 7px;

    color: var(--corBranca);

    font-size: 1.2rem;

    font-weight: 500;

    line-height: 1;

    text-align: center;
    

}


/* =====================================================
LINHA DO TÍTULO
===================================================== */

.card-direito h4::after {

    content: "";

    display: block;

    width: 100px;

    height: 2px;

    margin: 5px auto 0;

    background: var(--fundoCinza);

}

/* =====================================================
   LISTA
===================================================== */

.card-direito ul {

    margin: 0;

    padding: 0;

    list-style: none;


}


/* =====================================================
   ITEM DA LISTA
===================================================== */

.card-direito li {

    position: relative;

    margin: 0 auto 2px;

    padding: 0 0 0 18px;

    color: var(--corBranca);

    font-size: .9rem;

    font-weight: 300;
    gap: 4px;
    line-height: 1.2;

    

}


/* =====================================================
   PONTO DA LISTA
===================================================== */

.card-direito li::before {

    content: "";

    position: absolute;

    left: 0;

    top: .65em;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--corBranca);

}


/* =====================================================
   ANIMAÇÃO DOS CARDS
===================================================== */

@keyframes animarCardMobile {

    0% {

        background: var(--azulClaro);

    }

    50% {

        background: #2c79a3;

    }

    100% {

        background: var(--azulEscuro);

    }

}




/* =====================================================
   PERGUNTAS FREQUENTES — MOBILE
===================================================== */

.perguntas {

    position: relative;

    width: 100%;

    min-height: 620px;

    margin: 10px 0 40px;

    padding: 0;

    overflow: hidden;

    box-sizing: border-box;

}


/* =====================================================
   BACKGROUND
===================================================== */

.img-completo {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

}


.img-completo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: left top;

    display: block;

}


/* =====================================================
   CONTEÚDO DAS PERGUNTAS
===================================================== */

.conteudo-perguntas {

    position: relative;

    width: 70%;

    min-height: 620px;

    padding: 35px 10px 30px 10px;

    box-sizing: border-box;

    z-index: 2;

}


/* =====================================================
   TÍTULO
===================================================== */

.conteudo-perguntas h2 {

    margin: 0 0 25px;

    color: var(--azulEscuro);

    font-size: 1.5rem;

    font-weight: 550;

    line-height: 1.2;
    position: relative;
    top: 1px;
    width: 20%;

}


/* =====================================================
   LISTA
===================================================== */

.lista-perguntas {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 18px;

}


/* =====================================================
   PERGUNTA
===================================================== */

.pergunta {

    width: 100%;

    display: flex;

    align-items: flex-start;

    gap: 7px;

    cursor: pointer;

    box-sizing: border-box;

}


/* =====================================================
   NÚMERO
===================================================== */

.pergunta .numeros {

    width: 28px;

    height: 28px;

    min-width: 30px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: var(--laranjaForte);

    color: var(--corBranca);

    font-size: .9rem;

    font-weight: 500;

    transition: transform .3s ease;

}


.pergunta:hover .numeros {

    transform: scale(1.05);

}


/* =====================================================
   CONTEÚDO DA PERGUNTA
===================================================== */

.pergunta-conteudo {

    flex: 1;

    min-width: 0;

}


/* =====================================================
   TEXTO DA PERGUNTA
===================================================== */

.pergunta-conteudo p {

    margin: 0;

    color: var(--azulEscuro);

    font-size: .9rem;

    font-weight: 400;

    line-height: 1.2;

}


/* =====================================================
   RESPOSTA
===================================================== */

.pergunta .resposta {
    display: block;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    margin-top: 0;

    color: var(--azulEscuro);
    font-size: .7rem;
    font-weight: 300;
    line-height: 1.2;
    width: 85%;

    position: relative;
    z-index: 20;

    transition:
        max-height .5s ease,
        opacity .3s ease,
        margin-top .3s ease;
}


/* =====================================================
   RESPOSTA ABERTA
===================================================== */

.pergunta.ativa .resposta {
    max-height: 1000px;
    opacity: 1;
    margin-top: 6px;

    position: relative;
    z-index: 20;
}


/* =====================================================
   IMAGEM — LADO DIREITO
===================================================== */

.imagem-perguntas {
    position: absolute;

    top: 0;
    right: -235px;

    width: 300px;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    z-index: 2;

    pointer-events: none;
}


/* =====================================================
   IMAGEM
===================================================== */

.imagem-perguntas img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;
}
