html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

header {
    display: flex;
    width: 100vw;
    height: 107px;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0px 5.33px 10.67px 0px rgba(171,190,209,0.4);
    background-color: #FFF;
    position: fixed;
    top: 0;
    z-index: 100;
}

.header-content {
    padding: 0 170px 0 170px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content a img {
    width: 10.1vw;
}

header ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

header ul li a {
    color: #4D4D4D;
    font-size: 1.11vw;
    font-weight: 500;
    line-height: 1.66vw;
    text-decoration: none;
}

header ul li a:hover {
    text-decoration: underline;
}

.container {
    padding: 0 170px 0 170px;
}

main {
    overflow: hidden;
    margin-top: 107px;
}

.banner-main {
    background: url(../images/bannermain.png) no-repeat;
    background-position: right 150px center;
    background-size: contain;
    background-color: #F5F7FA;
    height: 77.7vh;
    display: flex;
    align-items: center;
}

h1 {
    color: #4D4D4D;
    font-size: 3.75vw;
    font-weight: 600;
    line-height: 132.6%;
    width: 40vw;
}

h2 {
    color: #4D4D4D;
    font-size: 2.57vw;
    font-weight: 600;
    line-height: 122.2%;
    margin-bottom: 40px;
}

.h2agendas {
    font-size: 3.125vw;
}

h3 {
    color: #38A88A;
    font-size: 2.57vw;
    font-weight: 600;
    line-height: 122.2%;
    margin-bottom: 30px;
    margin-top: 30px;
}

section {
    display: flex;
    align-items: center;
}

.prontuario {
    gap: 80px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.prontuario img {
    width: 50%;
}

.prontuario div p {
    color: #717171;
    font-size: 1.04vw;
    line-height: 1.43vw;
    font-weight: 400;
}

.p1 {
    margin-bottom: 40px;
}

.agendas {
    align-items: flex-start;
    gap: 80px;
    padding-top: 100px;
    padding-bottom: 200px;
}

.agendas img {
    width: 50%;
}

.agendas div p {
    color: #18191F;
    font-size: 1.15vw;
    line-height: 1.71vw;
    font-weight: 500;
}

.agendas div ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
    position: absolute;
}

.agendas div ul li {
    color: #717171;
    font-size: 0.85vw;
    line-height: 1.19vw;
    text-align: center;
    font-weight: 600;
    background-color: #F5F7FA;
    border-radius: 6.54px;
    width: 13.5vw;
    height: 2.55vw;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 6.54px 13.08px 0px rgba(171,190,209,0.4);
}

.agendas div ul li:last-child {
    width: 20.36vw;
}

.farmacia {
    gap: 80px;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 100px !important;
}

.farmacia img {
    width: 50%;
}

.farmacia div p {
    color: #717171;
    font-size: 1.04vw;
    line-height: 1.43vw;
    font-weight: 400;
}

.faturamento {
    background-color: #F5F7FA;
    gap: 80px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.faturamento img {
    width: 50%;
}

.faturamento div p {
    color: #717171;
    font-size: 1.15vw;
    line-height: 1.71vw;
    font-weight: 500;
}

.parceiros {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 100px;
}

.parceiros span {
    color: #38A88A;
    font-size: 1.43vw;
    line-height: 2vw;
    font-weight: 600;
    margin-bottom: 50px;
}

.parceiros img {
    width: 14.63vw;
    margin-bottom: 20px;
}

.parceiros a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.parceiros a p {
    color: #717171;
    font-size: 1.04vw;
    line-height: 1.43vw;
    font-weight: 400;
    text-decoration: none;
}

footer {
    background-color: #263238;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.footer-copyright p {
    color: #FFF;
    font-size: 1.05vw;
    line-height: normal;
    font-weight: 400;
}

.footer-copyright img {
    width: 10.1vw;
    margin-bottom: 55px;
}

.footer-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-form span {
    color: #FFF;
    font-size: 1.71vw;
    font-weight: 600;
}

input {
    all: unset;
}

.footer-form div {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    padding: 18px;
    color: #D9DBE1;
    display: flex;
    align-items: center;
    width: 100%;
}

.footer-form img {
    width: 1.28vw;
}

.footer-form div input {
    background-color: rgba(255, 255, 255, 0);
    color: #D9DBE1;
    padding: 0;
    border-radius: 0;
    font-size: 1.27vw;
}

.footer-form input {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    padding: 18px;
    color: #D9DBE1;
    font-size: 1.27vw;
    width: 100%;
}

::placeholder {
    font-size: 1.27vw;
    color: #D9DBE1;
    opacity: 1;
}

.mobile-only {
    display: none;
}

/* Mobile ------------------------------------- */

@media all and (min-width:0px) and (max-width: 640px) {
    .mobile-only {
        display: block;
    }

    header {
        height: 70px;
    }

    .header-content {
        padding: 0 45px 0 45px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-content a img {
        width: 130px;
    }

    nav {
        display: none;
    }

    .container {
        padding: 0 45px 0 45px;
    }

    main {
        overflow: hidden;
        margin-top: 70px;
    }

    .banner-main {
        background-position: bottom;
        background-size: 340px ;
        height: 380px;
        align-items: flex-start;
    }

    h1 {
        font-size: 27px;
        font-weight: 600;
        /* line-height: 95.4px; */
        line-height: 31px;
        width: 100vw;
        padding-top: 55px;
    }

    h2 {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 35px;
        padding-top: 75px;
        text-align: center;
    }

    .h2agendas {
        font-size: 21px;
        margin-bottom: 30px;
    }

    h3 {
        font-size: 21px;
        line-height: 32px;
        margin-bottom: 18px;
        margin-top: 28px;
        text-align: center;
    }

    .prontuario {
        gap: 40px;
        padding-top: 0px;
        padding-bottom: 0px;
        display: flex;
        flex-direction: column-reverse;
    }
    
    .prontuario img {
        width: 100%;
    }

    .prontuario div p {
        font-size: 16px;
        line-height: 24px;
    }

    .p1 {
        margin-bottom: 30px;
    }

    .agendas {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 230px;
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    .agendas img {
        width: 100%;
    }
    
    .agendas div p {
        color: #18191F;
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        text-align: center;
    }
    
    .agendas div ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 45px 0 45px;
        position: absolute;
        left: 0;
    }
    
    .agendas div ul li {
        color: #717171;
        font-size: 11px;
        line-height: 11px;
        text-align: center;
        font-weight: 600;
        background-color: #F5F7FA;
        border-radius: 6.54px;
        width: 130px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 6.54px 13.08px 0px rgba(171,190,209,0.4);
    }

    .aviso {
        margin: auto;
    }
    
    .agendas div ul li:last-child {
        width: 250px;
        margin: auto;
    }

    .farmacia {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
        padding-top: 0px;
        padding-bottom: 100px;
        padding-left: 45px !important;
        padding-right: 45px !important;
    }
    
    .farmacia img {
        width: 100%;
    }
    
    .farmacia div p {
        color: #717171;
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
    }

    .faturamento {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
        padding-top: 0px;
        padding-bottom: 50px;
    }
    
    .faturamento img {
        width: 100%;
    }
    
    .faturamento div p {
        color: #717171;
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
    }

    .parceiros {
        padding-top: 40px;
        padding-bottom: 80px;
    }
    
    .parceiros span {
        font-size: 22px;
        line-height: 31px;
        font-weight: 600;
        margin-bottom: 35px;
    }
    
    .parceiros img {
        width: 227px;
        margin-bottom: 15px;
    }
    
    .parceiros a p {
        color: #717171;
        font-size: 16px;
        line-height: 22px;
        font-weight: 400;
        text-decoration: none;
    }

    footer {
        background-color: #263238;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 60px;
        padding-top: 50px !important;
        padding-bottom: 70px !important;
    }

    .footer-copyright {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-copyright p {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .footer-copyright img {
        width: 194px;
        margin-bottom: 40px;
    }

    .footer-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .footer-form span {
        color: #FFF;
        font-size: 30px;
        font-weight: 600;
    }
    
    input {
        all: unset;
    }
    
    .footer-form div {
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 11px;
        padding: 18px;
        color: #D9DBE1;
        display: flex;
        align-items: center;
        width: 90%;
    }
    
    .footer-form img {
        width: 24px;
    }
    
    .footer-form div input {
        background-color: rgba(255, 255, 255, 0);
        color: #D9DBE1;
        padding: 0;
        border-radius: 0;
        font-size: 22px;
    }
    
    .footer-form input {
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 11px;
        padding: 18px;
        color: #D9DBE1;
        font-size: 22px;
        width: 90%;
    }
    
    ::placeholder {
        font-size: 22px;
        color: #D9DBE1;
        opacity: 1;
    }

    /* Botão menu ----------------------- */

    .dropbtn {
        padding: 16px;
        border: none;
        cursor: pointer;
        background-color: #fff;
        background: url(../images/menu.png) no-repeat center;
    }
      
    .dropdown {
        display: inline-block;
    }
      
    .dropdown-content {
        display: none;
        padding: 60px 0px;
        position: absolute;
        text-align: center;
        top: 0;
        left: 0;
        width: 100vw;
        background-color: #fff;
        min-width: 160px;
        overflow: auto;
        box-shadow: 0px 5.33px 10.67px 0px rgba(171,190,209,0.4);
        z-index: 1;
    }
      
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: 22px;
    }
      
    .show {display: block;}

    .close {
        padding: 16px;
        border: none;
        cursor: pointer;
        background-color: #fff;
        background: url(../images/close.png) no-repeat center;;
        position: absolute;
        top: 20px;
        right: 45px;
    }
}