:root {
    --color1: #15AC21;
    --color2: #F4F4F4;
    --color3: #fff;
    --color4: #000;
}

html {
    scroll-behavior: smooth;
}

header {
    background-color: var(--color3);
    position: fixed;
    width: 100%;
    height: 65px;
    z-index: 999;
}

.container-header {
    display: flex;
    width: 95%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    color: var(--color4);
}

.barra {
    margin-left: -28px;
}

.nav1 {
    display: none;
}

.figure-logo img {
    width: 150px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--color4);
    font-size: 18px;
}

.nav-menu-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu-icons img {
    width: 28px;
}

.nav-menu-icons button {
    width: 225px;
    border: none;
    height: 40px;
    font-size: 16px;
    border-radius: 3px;
    background: var(--color4);

}

.nav-menu-icons button a {
    color: var(--color1);
}

#button-header {
    display: none;
    border-radius: 50%;
}

/* container banner */

.background-banner {
    background-image: url(img/capaMobile.jpg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 65px;
    height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 29px;
}


.div-bk-banner {
    width: 90%;
    margin: 0 auto;
}


.div-bk-banner h1 {
    font-size: 37px;
    font-weight: 700;
    line-height: 40px;
    color: white;
}

.div-bk-banner h2 {
    color: #fff;
    padding: 6px 0px 13px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    max-width: 297px;
}

.div-button button {
    width: 153px;
    height: 36px;
    border: none;
    background: chartreuse;
    border-radius: 8px;
}

.div-button button a {
    font-size: 15px;
    color: black;
    font-weight: 600;
}

/* container resultados */

:root {
    --marquee-width: 80vw;
    --marquee-height: 50px;
    --marquee-elements-displayed: 5;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
}

.marquee {
    overflow: hidden;
    position: relative;
    padding: 15px 0px;

}

.marquee:before,
.marquee:after {
    position: absolute;
    top: 0;
    width: 10rem;
    height: 100%;
    content: "";
    z-index: 1;
}

.marquee:before {
    left: 0;
    background: linear-gradient(to right, #E8E8E8 0%, transparent 100%);
}

.marquee:after {
    right: 0;
    background: linear-gradient(to left, #E8E8E8 0%, transparent 100%);
}

.marquee-content {
    list-style: none;
    height: 50px;
    display: flex;
    gap: 25px;
    animation: scrolling var(--marquee-animation-duration) linear infinite;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
    }
}

.marquee-content li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: var(--marquee-element-width);
    white-space: nowrap;
}

.marquee-content li img {
    width: 85%;
}

@media (max-width: 600px) {
    html {
        font-size: 12px;
    }

    :root {
        --marquee-width: 100vw;
        --marquee-height: 16vh;
        --marquee-elements-displayed: 3;
    }

    .marquee:before,
    .marquee:after {
        width: 5rem;
    }

    .nav-menu {
        flex-direction: column;
    }

    .container-header {
        justify-content: space-between;
        padding: 0 10px;
    }

    .mobile-header-container {
        display: flex;
    }

    .nav-menu-icons {
        margin-right: 10px;
    }

    .hamburger-menu {
        display: block;
    }

    #mobile-nav .nav-menu {
        padding: 15px 0;
    }

    #mobile-nav .button-header {
        margin-top: 10px;
    }

    #mobile-nav {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: var(--color3);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 997;
    }

    #mobile-nav.active {
        display: block;
    }

    .mobile-menu {
        list-style: none;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu li {
        margin-bottom: 15px;
    }

    .mobile-menu li a {
        color: var(--color4);
        font-size: 18px;
        text-decoration: none;
        display: block;
        padding: 8px 0;
    }
}

@media (min-width: 600px) {
    .nav1 {
        display: block;
    }

    .mobile-header-container {
        display: none;
    }

    #mobile-nav {
        display: none !important;
    }
}

/* === container principais resultados ===*/


.container-estrategia {
    padding: 7px 0px 20px;
}

.container-carroucel-ativos {
    width: 96%;
    margin: 40px auto;

}

.container-carroucel-ativos h2 {
    color: var(--color4);
    font-size: 28px;
}

.container-carroucel-ativos p {
    color: var(--color4);
    padding: 6px 0px 13px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    max-width: 297px;
    text-align: center;
    margin: 0 auto;
}

.container-estrategia-text {
    display: flex;
    justify-content: space-between;
    padding: 5px 0px 7px;
    align-items: center;
}

.container-estrategia-text h2 {
    color: var(--color4);
    font-size: 28px;
    font-weight: 400;
}

.img-estrategia {
    width: 96%;
    padding: 29px 0px 0px 9px;
}

.container-estrategia-text img {
    width: 60px;
}

.texto-estrategia {
    padding: 6px 13px 17px;
    color: var(--color4);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.texto-estrategia p {
    color: var(--color4);
    padding: 6px 0px 13px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    max-width: 297px;
    text-align: center;
    margin: 0 auto;
}

.texto-estrategia button {
    width: 260px;
    height: 33px;
    border: none;
    border-radius: 3px;
    background: var(--color1);
}

.texto-estrategia button a {
    font-size: 17px;
}

/* container boa solucao */

.container-boasolucao {
    margin: 10px 0px 50px;
}

.div-boasolucao {
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    background: white;
    flex-direction: column-reverse;
    border-radius: 8px;
    padding: 30px 13px;
    align-items: center;
}

.div-boasolucao img {
    width: 238px;
}

.div-text-boasolucao h2 {
    font-size: 25px;
    max-width: 277px;
    line-height: 35px;
}

.div-text-boasolucao p {
    color: var(--color4);
    padding: 6px 0px 13px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    max-width: 297px;
}

.div-text-boasolucao button {
    width: 200px;
    height: 36px;
    border: none;
    background: chartreuse;
    border-radius: 8px;
}


.div-text-boasolucao button a {
    font-size: 14px;
    color: black;
    font-weight: 600;
}

/* container especialidade */

.container-especialidade {
    height: auto;
    padding: 25px 0px 11px;
    margin: 25px 0px 35px;
}

.div-especialidade {
    width: 96%;
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
}

.div-especialidade figure {
    display: flex;
    justify-content: center;
    padding-bottom: 25px;
}

.div-especialidade img {
    width: 80%;
    border-radius: 3px;
}

.div-text-especialidade h2 {
    font-size: 25px;
    max-width: 277px;
    line-height: 35px;
}

.div-text-especialidade p {
    color: var(--color4);
    padding: 6px 0px 13px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    max-width: 318px;
}

.div-text-especialidade {
    padding: 5px 0px;
    width: 91%;
    margin: 0 auto;
}

.div-text-especialidade button {
    width: 200px;
    height: 36px;
    border: none;
    background: chartreuse;
    border-radius: 8px;
}

.div-text-especialidade button a {
    font-size: 15px;
    color: black;
    font-weight: 600;
}

/* container comprar disfarmoc */

.cotainer-sobre-nos {
    width: 88%;
    margin: 20px auto;
    border: 1px solid #ffffffd4;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgb(255, 255, 255);
    padding: 10px 5px;
}

.container-sobre-nos1 h2 {
    font-size: 25px;
    /* color: white; */
    line-height: 36px;
    padding: 9px 5px 5px;
}

.container-sobre-nos1 {
    padding: 15px 0px 17px;
}

.container-sobre-nos1 P {
    /* color: white; */
    padding-bottom: 10px;
    max-width: 307px;
    font-weight: 300;
    font-size: 15px;
    line-height: 23px;
    padding: 0px 8px;
}

.div-sobrenos-secund h3 {
    font-size: 19px;
    /* color: white; */
    line-height: 36px;
    padding: 9px 8px 0px;
}

.div-sobrenos-secund p {
    /* color: white; */
    padding-bottom: 10px;
    max-width: 307px;
    font-weight: 300;
    font-size: 15px;
    line-height: 23px;
    padding: 0px 8px;
}

.div-container-sobrenos-secund {
    margin-bottom: 27px;
}

/* container parceiros numero um dos médicos */

#img-clinicas {
    width: 90%;
}

/* container vitrine */

.gallery {
    width: 96%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 100vw);
    grid-template-rows: 1fr;
    grid-row-gap: 1rem;
    overflow: scroll;
    scroll-snap-type: both mandatory;
    scroll-padding: 1rem;
}

.li-gallery {
    width: 96%;
}

.div-cards-vitrine {
    width: 92%;
    border-radius: 10px;
    height: 350px;
    background: white;
    margin: 0 auto;
}

.div-cards-vitrine h2 {
    font-size: 25px;
    font-weight: 500;
    padding: 10px;
}

.div-cards-vitrine p {
    color: var(--color4);
    padding: 6px 0px 13px;
    font-size: 15px;
    line-height: 20px;
    max-width: 284px;
    padding: 0px 10px 10px;
}


.div-cards-vitrine button {
    width: 200px;
    height: 36px;
    border: none;
    background: chartreuse;
    border-radius: 8px;
    margin: 0px 10px;
}

.div-cards-vitrine button a {
    font-size: 15px;
    color: black;
    font-weight: 600;
}

.div-img-card-vitrine {
    display: flex;
}


.li-gallery img {
    width: 202px;
    margin: 15px auto;
    border-radius: 10px;
}

.active {
    scroll-snap-type: unset;
}

li {
    scroll-snap-align: center;
    display: inline-block;
    border-radius: 3px;
    font-size: 0;
}


/* container sobre nos */


#img-sobrenos {
    width: 90%;
}

#titulo-sobrenos {
    max-width: 322px;
}

#container-sobrenos {
    background: white;
}

/* container footer */


.container-footer {
    max-width: 1210px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    flex-direction: column;
}

.div-text-footer {
    padding: 20px 0px;
    width: 90%;
    margin: 0 auto;
}

.div-text-footer h2 {
    font-size: 25px;
}

.div-text-footer h3 {
    font-size: 15px;
    font-weight: 400;
    padding: 9px 0px 22px;
}

.div-text-footer p {
    color: #555555;
    padding: 7px 0px;
    font-size: 14px;
}

.local-mapa {
    display: flex;
    padding: 0px 0px 24px;
    justify-content: center;
}

.local-mapa iframe {
    width: 95%;
    height: 350px;
}

.div-img-footer {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 0px 10px;
}

.img-footer1 {
    width: 25%;
    height: 33px;
}

.img-footer2 {
    display: none;
    width: 72%;
    height: 44px;
}

.rodape p {
    text-align: center;
    padding: 5px 0px;
}



@media (min-width: 600px) {
    header {
        height: 75px;
        background: transparent;
        position: absolute;
    }

    .nav-2-header {
        display: none;
    }

    .nav1 {
        display: block;
    }

    .figure-logo img {
        width: 180px;
    }

    .container-header {
        max-width: 1100px;
        height: 75px;
    }

    .nav1 a {
        font-size: 18px;
        color: white;
    }

    .button-header {
        padding: 5px 0px;
        width: 153px;
        background: var(--color1);
        border: none;
        border-radius: 23px;
        border: 1px solid var(--color1);
    }

    .button-header span {
        color: var(--color3);
        font-size: 16px;
    }

    .nav-menu {
        align-items: center;
    }

    .nav-menu-icons img {
        width: 28px;
    }

    #button-header {
        display: block;
    }

    /* container banner */

    .background-banner {
        background-image: url(img/banner.jpg);
        height: 500px;
        padding-top: 0px;
        align-items: center;
    }

    .div-bk-banner h1 {
        max-width: 651px;
        font-size: 46px;
        font-weight: 700;
        line-height: 46px;
    }

    .div-bk-banner h2 {
        max-width: 396px;
    }

    .container-carroucel-ativos {
        max-width: 900px;
    }

    .div-bk-banner {
        max-width: 1000px;
    }

    /* container carroucel  */

    .marquee-content li img {
        width: 131px;
    }

    /* container boa solução */

    .div-boasolucao {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 70px;
    }

    .div-boasolucao {
        max-width: 1000px;
        padding: 18px 13px 30px;
    }

    .div-text-boasolucao h2 {
        font-size: 30px;
        max-width: 340px;
    }

    .div-boasolucao img {
        width: 430px;
    }

    /* container section conteudo */

    .div-especialidade {
        flex-direction: row;
        justify-content: center;
        gap: 70px;
    }

    .container-especialidade {
        padding: 10px 0px 0px;
    }

    .div-text-especialidade {
        width: 409px;
        margin: 0px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .div-text-especialidade h2 {
        font-size: 30px;
        max-width: 420px;
    }

    .div-text-especialidade p {
        max-width: 400px;
    }

    .div-especialidade img {
        width: 420px;

    }

    /* container sobre nos */

    .cotainer-sobre-nos {
        width: 890px;
        margin: 70px auto 50px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 10px 0px;
    }

    .container-sobre-nos1 h2 {
        font-size: 28px;
    }

    .container-sobre-nos1 P {
        line-height: 25px;
    }

    .div-sobrenos-secund p {
        line-height: 25px;
    }

    /* container parceiros  */

    #img-clinicas {

        width: 400px;
    }

    /* vitrine */

    .container-vitrine {
        display: none;
    }

    /* container sobre nós */

    #img-sobrenos {
        width: 58%;
        width: 400px;
    }

    #container-id-sobrenos {
        flex-direction: row-reverse;
    }

    #container-sobrenos {
        background: white;
        padding: 50px 0px 30px;
    }

    .container-footer {
        flex-direction: row;
    }

    .div-text-footer {
        width: 363px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .local-mapa {
        width: 500px;
    }

    .local-mapa iframe {
        height: 300px;
    }

    .desktop-only {
        display: block;
    }
}

.credits-section {
    background: linear-gradient(135deg, #121212 0%, #2a2a2a 100%);
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.credits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #50e3c2, #b8e986);
    animation: gradient-shift 8s linear infinite;
}

.credits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.credits-text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.credits-link {
    color: #50e3c2;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0 3px;
}

.credits-link:hover {
    color: #ffffff;
}

.credits-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #50e3c2;
    transition: width 0.3s ease;
}

.credits-link:hover::after {
    width: 100%;
}

.credits-icon {
    font-size: 16px;
    margin-right: 5px;
    display: inline-block;
    animation: sparkle 1.5s infinite;
}

.credits-icon-link {
    font-size: 14px;
    margin-left: 3px;
    opacity: 0;
    transform: translateY(3px);
    transition: all 0.3s ease;
}

.credits-link:hover .credits-icon-link {
    opacity: 1;
    transform: translateY(0);
}

.credits-highlight {
    position: relative;
    z-index: 1;
}

.credits-highlight::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(80, 227, 194, 0.2);
    z-index: -1;
    transform: scaleX(0.8);
    transition: all 0.3s ease;
}

.credits-link:hover .credits-highlight::before {
    transform: scaleX(1);
    height: 90%;
    background-color: rgba(80, 227, 194, 0.1);
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes sparkle {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .credits-text {
        font-size: 12px;
    }
}

.mobile-header-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--color4);
    transition: all 0.3s ease;
}

.hamburger-menu span.active:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu span.active:nth-child(2) {
    opacity: 0;
}

.hamburger-menu span.active:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

#mobile-nav {
    position: fixed;
    top: 65px;
    right: -100%;
    width: 100%;
    height: auto;
    background-color: white;
    z-index: 998;
    transition: right 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#mobile-nav.active {
    right: 0;
}

#mobile-nav .nav-menu {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
}

.desktop-only {
    display: none;
}

@media (min-width: 600px) {
    header {
        height: 75px;
    }

    .nav-2-header {
        display: flex;
    }

    .nav1 {
        display: block;
    }

    .desktop-only {
        display: block;
    }

    .mobile-header-container {
        display: none;
    }

    .hamburger-menu {
        display: none;
    }

    #mobile-nav {
        position: static;
        display: block;
        box-shadow: none;
        width: auto;
        height: auto;
    }

    #mobile-nav .nav-menu {
        flex-direction: row;
        padding: 0;
    }
}