@import url(reset.css);
/* =========================================================
   PRINCIPAL
========================================================= */

.principal {
    position: relative;

    width: 100%;
    height: 400px;

    margin: 60px auto 0;

    overflow: hidden;
}


/* =========================================================
   IMAGEM
========================================================= */

.principal .img {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =========================================================
   IMAGEM
========================================================= */

.principal .img img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   OVERLAY / DEGRADÊ
========================================================= */

.principal .img::after {
    content: "";

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        to bottom,
        rgba(12, 52, 73, 0.05) 0%,
        rgba(14, 27, 54, 0.9) 100%
    );

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.principal .conteudo {
    position: absolute;
    text-align: center;

    z-index: 2;

    left: 0;
    bottom: 0;

    width: 100%;

    padding: 40px 8%;

    box-sizing: border-box;

    color: var(--corBranca);
}


/* =========================================================
   TÍTULO
========================================================= */

.principal .conteudo h2 {
    margin: 0 0 5px;

    color: var(--corBranca);

    font-size: var(--esp-1);
    line-height: 1.2;

    font-weight: var(--peso-1);
}


/* =========================================================
   TEXTO
========================================================= */


.principal .conteudo p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--corBranca);

    font-size: .8rem;
    line-height: 1.3;

    font-weight: var(--peso-3);

    text-align: center;
}


/* =========================================================
   ÁREAS
========================================================= */

.areas {
    position: relative;
    width: 100%;
    overflow: hidden;

}


/* =========================================================
   CONTEÚDO SUPERIOR
========================================================= */

.areas > .conteudo {
    position: relative;
    z-index: 5;

    width: 100%;
    padding: 50px 20px 190px;

    text-align: center;
      color: var(--corPrincipal);

   
}

.areas > .conteudo h3 {
    margin: 0 0 8px;

    font-size:1.2rem;
    font-weight: var(--peso-1);
    line-height: 1.2;
}

.areas > .conteudo p {
    max-width: 750px;

    margin: 0 auto;


    font-size:var(--esp-5);
    font-weight: var(--peso-3);
    line-height: 1.3;
}


/* =========================================================
   ÁREA DA IMAGEM + CARDS
========================================================= */

.areas > .cards {
    position: relative;

    width: 100%;

    padding: 0 2% 80px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;

    background-image: url("../images/servi.png");
    background-size: cover;
    background-position: center;
}


/* =========================================================
   OVERLAY DA IMAGEM
========================================================= */

.areas > .cards::after {
    content: "";

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        to bottom,
        rgba(12, 52, 73, 0.05) 0%,
        rgba(14, 27, 54, 0.90) 100%
    );

    z-index: 0;

    pointer-events: none;
}


/* =========================================================
   IMAGEM ORIGINAL
   Como agora usamos background-image, escondemos a img
========================================================= */

.areas > .cards > img {
    display: none;
}


/* =========================================================
   CARDS
========================================================= */

.areas .card {
    position: relative;
    z-index: 2;

    margin-top: -120px;

    min-height: 300px;
    width: 250px;

    padding: 18px 12px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: #fff;

    border-radius: 8px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);

    box-sizing: border-box;
}


/* =========================================================
   ÍCONE DO CARD
========================================================= */

.areas .card > img {
    width: 58px;
    height: 58px;

    margin-bottom: 5px;

    object-fit: contain;
}


/* =========================================================
   TÍTULO
========================================================= */

.areas .card h4 {
    margin: 0 0 8px;

    color: var(--corPrincipal);

    font-size: var(--esp-5);
    font-weight: var(--peso-1);
    line-height: 1.1;
}


/* =========================================================
   TEXTO PRINCIPAL
========================================================= */

.areas .card > p {
    margin: 0 0 8px;

  color: var(--corPrincipal);
   font-weight: var(--peso-3);
    font-size: .78rem;
    line-height: 1.3;
}


/* =========================================================
   TÍTULO DENTRO DOS PARÁGRAFOS
========================================================= */

.areas .card p span {
    display: block;

    color: var(--corPrincipal);

    margin-left: 5px;

    font-weight: var(--peso-1);
}

.areas .card p span::before {
    content: "•";

    margin-right: 7px;

    font-weight: var(--peso-1);
}


/* =========================================================
   BOTÃO
========================================================= */

.areas .card button {
    margin-top: auto;

    width: 100%;

    padding: 11px 10px;

    border: none;
    border-radius: 30px;

       background: linear-gradient(
        90deg,
        #051320 0%,
        #164d75 50%,
        #051e36 100%
    );


    color: #fff;

    font-size:var(--esp-5);
    font-weight: 300;

    cursor: pointer;

    transition: 0.3s ease;
}

.areas .card button:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}


/* =========================================================
   DESAFIO
========================================================= */

.areas .desafio {
    position: relative;
    z-index: 2;

    grid-column: 1 / -1;

    margin-top: 30px;

    padding: 60px 50px 20px;

    text-align: center;
}


/* =========================================================
   TÍTULO DO DESAFIO
========================================================= */

.areas .desafio > h4 {
    margin: 0 0 30px;

    color: var(--corBranca);

    font-size: 1.2rem;
    font-weight: var(--peso-2);
}


/* =========================================================
   CONTAINER DOS DESAFIOS
========================================================= */

.areas .desaf {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    align-items: start;
}


/* =========================================================
   CADA DESAFIO
========================================================= */

.areas .desa {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* =========================================================
   ÍCONE DO DESAFIO
========================================================= */

.areas .desa > img {
    width: 75px;
    height: 75px;

    padding: 16px;

    margin-bottom: 4px;

    box-sizing: border-box;

    background: #fff;

    border-radius: 50%;

    object-fit: contain;
}


/* =========================================================
   TÍTULO DO DESAFIO
========================================================= */

.areas .desa h5 {
    margin: 0 0 2px;

    color: #fff;

    font-size: var(--esp-4);
    font-weight: var(--peso-2);
}


/* =========================================================
   TEXTO DO DESAFIO
========================================================= */

.areas .desa p {
    max-width: 220px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.85);

    font-size: .7rem;
    font-weight: var(--peso-4);
    line-height: 1.3;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.formulario {
    width: calc(100% - 180px);

    margin: 20px auto;

    padding: 15px 40px;

    box-sizing: border-box;

    background: var(--corPrincipal);

   

    min-height: 300px;
}


/* =========================================================
   TÍTULO
========================================================= */

.formulario > h2 {
    margin: 0 0 8px;

    color: #fff;

    text-align: left;

    font-size: 1.2rem;
    font-weight:var(--peso-2);
}


/* =========================================================
   CONTEÚDO
========================================================= */

.formulario > .conteudo {
    width: 100%;

    height: 340px;

    display: grid;

    grid-template-columns: 45% 55%;

    gap: 40px;

    align-items: stretch;
}


/* =========================================================
   IMAGEM
========================================================= */

.formulario .imagem {
    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 7px;
}

.formulario .imagem img {
    width: 100%;
    height: 300px;

    display: block;
     border-radius: 7px;

    object-fit: cover;
}


/* =========================================================
   FORM
========================================================= */

.formulario form {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

   
}


/* =========================================================
   LINHAS
========================================================= */
.formulario .linha {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0;
}

.formulario .campo {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.formulario input,
.formulario select,
.formulario textarea {
    box-sizing: border-box;

    width: 95%;

    outline: none;

    background: var(--corBranca);

    color: var(--corPrincipal);

    font-family: inherit;

    font-size: .7rem;

    transition: 0.3s ease;
}


.formulario .campo-completo {
    width: 100%;
}


/* =========================================================
   LABEL
========================================================= */

.formulario label {
    color: var(--corBranca);

    font-size: .7rem;
    font-weight: 300;
}




.formulario input,
.formulario select {
    height: 28px;

    padding: 0 14px;

    border-radius: 25px;
    
}


.formulario textarea {
    height: 70px;

    padding: 12px 14px;

    resize: none;

    border-radius: 15px;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.formulario input::placeholder,
.formulario textarea::placeholder {
    color: var(--corPrincipal);
}


/* =========================================================
   SELECT
========================================================= */

.formulario select {
    cursor: pointer;
}

.formulario select option {
    color:var(--corPrincipal);

    background: #fff;
}





/* =========================================================
   BOTÃO
========================================================= */

.formulario button {
    width: 30%;

    height: 38px;

    margin-top: 8px;

    border: 1px solid #fff;

    border-radius: 30px;

    background: linear-gradient(
        90deg,
        #051320 0%,
        #164d75 50%,
        #051e36 100%
    );

    color: #fff;

    font-family: inherit;

    font-size: var(--esp-5);

    font-weight: 300;

    cursor: pointer;

    transition: 0.3s ease;


}


.formulario button:hover {
    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.formulario .campo-armadilha {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.formulario .estado-solicitacao-servico {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #fff;
    color: var(--corPrincipal);
    font-size: .8rem;
    line-height: 1.4;
}

.formulario .estado-solicitacao-servico[hidden] {
    display: none;
}

.formulario .estado-solicitacao-servico.erro {
    color: #9f2525;
}

.formulario .estado-solicitacao-servico.sucesso {
    color: #176b39;
}

.formulario button:disabled {
    cursor: wait;
    opacity: .7;
}




