* {
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
}

.section1 {
    background: url('/img/docBanner1.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    text-align: center;
    padding-top: 10em;
    height: 500px;
}

.section1 div h1 {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    color: #FDFBD6;
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 70px;
    text-align: center;
    text-shadow: 1px 2px 2px black;
}

.section2 {
    margin-bottom: 90px;
}

.section2 .box {
    background-color: #fdfbd6fd;
    margin: 30px 100px;
    padding: 13px;
    border-radius: 7px;
    width: 65%;
}


.section2 p {
    margin: 12px;
    text-align: justify;
    font-size: 18px;
}

.section2 #box-global {
    flex-direction: column;
    margin: 0;
}

.section2 #section2-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section2 #imgSec2 {
    width: 70%;
}

.section2 img {
    width: 405px;
    height: 414px;
}

.section3 #content3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin: 0 50px;
}

.section3 .box2 {
    width: 47%;
    float: right;
    padding: 10px;
}

.section3 h2 {
    color: #1535B5;
    text-align: center;
    font-size: 32px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.section3 p {
    font-size: 20px;
    text-align: justify;
    margin-left: 50px;
    margin-top: 12px;
}

.section3 img {
    width: 630px;
    height: 390px;
}

.section3 #box3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.section3 #box3 #barra {
    margin-left: 70px;
    margin-bottom: 47px;
    transform: translate(50%, 50%);
    width: 9px;
    height: 85px;
    background-color: #0033cc;
    border-radius: 10px;
    color: #0033cc;
}

#box3 p {
    width: 70%;
    margin-top: 40px;
    margin-left: 20px;
}

.section3 a {
    color: black;
    font-weight: 700;
    text-decoration: underline;
}

.section3 h3 {
    color: #1535B5;
    font-size: 32px;
    margin: 10px;
}

.section3 ol li {
    line-height: 2;
    font-size: 20px;
    margin-left: 30px;
}

.section3 #lista {
    margin: 80px;
}

.section3 #box4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.section3 #box4 p {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 180px;
    line-height: 1.5;
}

.section3 #box4 img {
    width: 78px;
    height: 70px;
    margin-top: 10px;
    margin-left: 180px;
}


.section3 #card {
    background-color: #D9D9D9;
    padding: 20px;
    margin: 70px;
    width: 38%;
    padding-top: 25px;
    border-radius: 7px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: #1535B5 -9px 9px;
}

.section3 #card strong {
    text-align: left;
    color: #1535B5;
    font-size: 24px;
}

.section3 #card ul li {
    list-style-type: square;
    line-height: 2;
    font-size: 20px;
    font-weight: 600;
    margin-left: 35px;
}

.section3 #card ul li a {
    text-decoration: none;
    font-weight: 600;
}

.section4 h2 {
    color: #1535B5;
    font-size: 34px;
    text-align: center;
}

.section4 #barra {
    width: 9px;
    height: 90px;
    background-color: #0033cc;
    color: #0033cc;
    border-radius: 10px;
    margin-top: 30px;
}

.section4 #muni-geral p {
    font-size: 20px;
    text-align: justify;
    margin-top: 40px;
}

.section4 .p-CMIA1 {
    width: 48%;
    margin-left: 90px;
    margin-right: 15px;
}

.section4 .p-CMIA2 {
    width: 48%;
    margin-right: 90px;
    margin-left: 15px;
}

.section4 #muni-geral {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section4 a,
.section5 a {
    color: black;
}

.section4 #emissao {
    margin-left: 90px;
}

.section4 #emissao h2,
h3 {
    text-align: left;
    margin-top: 60px;
}

.section4 #emissao p,
.section5 #cartao-defis p {
    margin-top: 15px;
    font-size: 20px;
    text-align: justify;
    width: 43%;
}

.section4 #emissao h3 {
    margin-top: 30px;
    font-size: 24px;
    margin-left: 0;
}

.section4 #emissao ol li {
    width: 44%;
    line-height: 2;
    font-size: 20px;
    margin-left: 30px;
}

.section4 #emissao img {
    float: right;
    width: 460px;
    height: 310px;
    margin-right: 90px;
    margin-top: 100px;
}

.section5 {
    overflow: hidden;
}

#quebraCabeca {
    margin: 70px auto;
    width: 100%;
}

.section5 h2 {
    margin-left: 12px;
    color: #1535B5;
    font-size: 34px;
    text-align: left;
}

.section5 #imgCartao {
    float: right;
    width: 510px;
    height: 360px;
    margin-top: 40px;
    margin-right: 90px;
}

.section5 #celular,
.section5 .celular-img {
    display: none;
}

.section5 #cartao-defis p {
    margin-left: 125px;
}

.section5 h2,
h3 {
    text-align: left;
    margin-top: 25px;
    margin-bottom: 10px;
    margin-left: 125px;
}

.section5 #solicitar-cartao p {
    font-size: 20px;
    margin-left: 125px;
    width: 45%;
    margin-top: 10px;
}

.section5 #emissao-defis p {
    font-size: 20px;
}

.section5 #emissao-defis h3 {
    font-size: 24px;
}

.section5 #solicitar-cartao h5 {
    font-weight: 500;
    margin-left: 125px;
    margin-top: 8px;
    font-size: 20px;
}

.section5 #solicitar-cartao #loc-end {
    margin-bottom: 25px;
}

.section5 .horario {
    display: flex;
}

.section5 .horario #contato {
    margin-left: 210px;
}

.section5 .horario #ctt {
    margin-right: 400px;
}

.section5 #emissao-defis ol li {
    width: 80%;
    line-height: 2;
    font-size: 20px;
    margin-left: 150px;
}

.section5 #laudo {
    background-color: #fdfbd6fd;
    border-radius: 50px;
    margin-left: 120px;
    padding: 18px;
    margin-top: 30px;
    width: 710px;
}

.section5 #emissao-defis a {
    font-size: 20px;
    text-decoration: none;
    font-weight: 600;
}

.section5 .prazo {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}

.section5 .prazo p {
    line-height: 1.5;
    margin-top: 30px;
    margin-left: 0;
    margin-right: 170px;
}

.section5 .prazo .img-seta img {
    margin-left: 190px;
    margin-top: 20px;
    width: 78px;
    height: 70px;
}

.section5 {
    margin-bottom: 80px;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-color: #1535B5;
  border-radius: 100px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn::after {
  content: "↑";
  font-size: 25px;
  font-weight: bold;
  color: aliceblue;
}

.btn:hover {
  background-color: #142e96;
}

.btn.show {
  opacity: 1;
}


@media screen and (max-width: 1024px) {
    .section1 div h1 {
        width: 90%;
        font-size: 32px;
    }

    .section2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section2 img,
    #imgSec2 {
        display: none;
    }

    .section3 #content3 {
        display: flex;
        flex-direction: column-reverse;
        margin: 30px 20px;
    }

    .section3 .box2 {
        width: 100%;
        float: none;
        padding: 10px;
    }

    .section3 img {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .section3 #box3 {
        width: 90%;
        margin: 0 auto;
    }

    #box3 p {
        margin-left: 0;
    }

    .section3 #barra {
        display: none;
    }

    .section3 #lista {
        margin: 30px;
    }

    .section3 #lista p,
    .section3 #lista ol {
        margin-left: 0;
    }

    .section3 #lista img {
        display: none;
    }

    .section3 #card {
        width: 90%;
        margin: 30px auto;
    }

    .section4,
    .section5 {
        padding: 0 20px;
    }

    .section4 img,
    .section5 img {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .section4 #municipal p,
    .section4 #emissao p {
        width: 90%;
        margin: 20px auto;
        font-size: 16px;
    }

    .section4 #emissao h2,
    .section4 #emissao h3,
    .section5 h2,
    .section5 h3 {
        text-align: center;
        margin-left: 0;
    }

    .section5 #emissao-defis ol li,
    .section4 #emissao ol li {
        font-size: 16px;
        width: 90%;
        margin-left: 20px;
    }

    .section5 .horario {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section5 .horario #contato,
    .section5 .horario #ctt {
        flex-direction: column;
        margin: 0;
    }

    .section5 #solicitar-cartao p {
        top: 50px;
    }

    .section5 #emissao-defis a {
        left: 0;
        margin-left: 20px;
        top: 20px;
    }

    .section5 #cartao-defis p {
        margin: 20px auto;
        width: 90%;
        font-size: 16px;
    }

    .section5 .prazo img {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .section1 {
        padding-top: 3em;
        padding-bottom: 50px;
        height: 200px;
    }

    .section1 div h1 {
        font-size: 22px;
        width: 90%;
        margin-top: 15px;
    }

    .section2 .box {
        width: 90%;
        margin: 12px;
        padding: 10px;
    }

    .section2 #box-global {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }

    .section2 p {
        font-size: 16px;
    }

    .section3 #p-box3 {
        width: 95%;
    }

    .section3 #imgSec3 {
        margin-top: 20px;
    }

    .section3 h2,
    .section3 h3,
    .section4 h2,
    .section5 h2,
    .section5 h3 {
        font-size: 24px;
        text-align: center;
    }

    .section3 p,
    .section3 ol li,
    .section5 #solicitar-cartao p {
        text-align: justify;
        font-size: 16px;
        width: 90%;
        margin: 0 auto;
    }

    .section5 #solicitar-cartao #loc-end {
        margin: 10px auto;

    }

    .section4 h2,
    .section4 h3 {
        text-align: center;
    }

    .section4 #muni-geral {
        display: block;
        flex-direction: column;
    }

    .section4 .p-CMIA1,
    .section4 .p-CMIA2 {
        width: 90%;
        margin-left: 10px;
        margin-right: 0;
    }

    .section4 #barra {
        margin: 20px 10px;
        width: 330px;
        height: 8px;
    }

    .section4 #emissao {
        margin: 10px;
    }


    .section4 #emissao p,
    .section4 #emissao ol li {
        font-size: 16px;
    }
    
    .section4 #emissao img {
        width: 280px;
        height: 230px;
        margin-right: 35px;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .section5 #laudo {
        margin-left: 0;
        padding: 0px;
        margin-top: 20px;
        width: 360px;
    }

    #quebraCabeca,
    .section5 #computador {
        display: none;
    }

    .section5 .computador-img {
        display: none;
    }

    .section5 #celular,
    .section5 .celular-img {
        display: block;
    }
    
    .section5 #celular #contato {
        display: none;
    }

    .section3 h2 {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .section3 #lista p,
    .section5 #emissao-defis .prazo p {
        margin-left: 30px;
        text-align: justify;
        width: 90%;
        font-size: 16px;
        margin-right: 0;
    }

    #box3 p {
        margin: 0;
        width: 90%;
    }

    .section3 #lista ol {
        padding-left: 20px;
    }

    .section3 #card {
        width: 80%;
        padding: 10px;
    }

    .section3 #card strong,
    .section3 #card ul li {
        font-size: 16px;
    }


    .section5 .horario h5,
    .section5 .horario p {
        font-size: 15px;
    }

    .section5 .horario {
        flex-direction: column;
    }

    .section5 #solicitar-cartao h5 {
        margin-left: 17px;
    }

    .section5 .horario #contato {
        margin-top: 10px;
        margin-left: 18px;
    }

    .section5 .horario #ctt {
        margin-top: 35px;
        margin-left: 15px;
        margin-right: 0;
    }

    .section5 #solicitar-cartao h2 {
        margin-top: 40px;
        font-size: 22px;
    }

    .section5 .celular-img #img-Cartao {
        width: 310px;
        height: 200px;
        margin-bottom: 0;
    }

    .section5 #emissao-defis a {
        padding: 12px;
        font-size: 16px;
        text-align: center;
        display: block;
        width: 90%;
        margin: 20px auto;
    }
}