* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    font-family: "Inter", sans-serif;
}

:root {
    --color-primary: #112259;
    --color-secondary: #F0F8FF;
    --color-tertiary: #4C6B87;
    --text-color: #f5f5f5;
}

body {
    background-color: var(--color-tertiary);
}

a {
    all: unset;
    cursor: pointer;

    & .fa-instagram {

        font-size: 30px;
        background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

section.app {
    max-width: 448px;
    margin-inline: auto;
    padding: 3rem 1rem;
}

section.app header {
    display: grid;
    justify-content: center;
}

header {
    text-align: center;
}

header h1+p {
    text-align: center;
}

header p {
    margin-top: 8px;
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 0.875rem;
    & strong {
        color: var(--color-secondary);
    }
}

header div.img {
    width: 6rem;
    height: 6rem;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    /* padding: 6px; */
    border: 4px solid var(--color-secondary);
    border-radius: 50%;
}

div.img img {
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.content {
    margin-top: 2rem;
}

.carousel-container {
    width: 100%;
    background: var(--color-primary);
    padding: 20px 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.271);
}

.carousel-container h2 {
    font-weight: bold;
    margin: 5px 0;
}

.carousel-container p {
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.tag {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;

    & span:nth-child(2) {
        color: var(--border-color);
        font-weight: bold;
    }
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}


/* Indicaes */
.dots {
    position: relative;
    text-align: center;
    margin-top: 40px;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 4px;
    background-color: var(--color-tertiary);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-secondary);
}

/* Botões de navegação */
.prev,
.next {
    position: absolute;
    top: -13px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.content .links {
    display: grid;
    gap: 10px;
}

.links .card-link {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.271);
    border: 2px solid var(--color-primary);
    transition: 0.5s;

    &:hover {
        background-color: var(--color-primary);

        & h3,
        & p {
            color: var(--color-secondary);
        }

        & i:nth-child(3) {
            color: var(--color-secondary);
            transform: scale(1.02);
        }
    }
}

.links .whatsapp {
    background-color: #25D366;
    border: 2px solid var(--color-primary);

}

.links .whatsapp:hover {
    background-color: #25D366;
}

.card-link h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.card-link p {
    font-size: 12px;
    margin-top: 6px;
    color: var(--color-primary);
}

.card-link i {
    color: var(--color-tertiary);
}

.card-link div:nth-child(2) {
    margin-left: 10px;
}

.card-link i:nth-child(3) {
    margin-left: auto;
    color: var(--color-primary);
}

.card-bg-color {
    background-color: var(--color-secondary);
}

.professionals {
    margin-top: 2.5rem;

    & h2 {
        text-align: center;
        font-size: 24px;
    }
}

.professionals-cards {
    position: relative;
    margin-top: 1rem;
    display: grid;
    gap: 10px;
    border: 3px solid var(--text-color);
    border-radius: 24px;
    background-color: rgb(94, 94, 94);
    transition: all 0.3s;
    overflow: hidden;
    opacity: 0;

    &:hover {
        scale: 1.03;
    }

    & a {
        position: absolute;
        top: 40px;
        right: 40px;
        z-index: 2;

        & i {
            transition: 0.5s;
            font-size: 3rem;

            &:hover {
                scale: 1.2;
            }
        }
    }
}

.professionals-cards.animar {
    animation: aparecerCard 1s ease forwards;
}

.img-profissionals {
    height: 20rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;

    & img {
        width: 100%;
        height: 16 0px;
        object-fit: cover;
        object-position: top center;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        border: transparent;

        &:hover {
            height: 100%;
        }
    }
}

.img-profissionals::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgb(94, 94, 94), transparent);
}

.about-professionals {
    text-align: center;
    transform: translateY(-50px);

    & h3 {
        font-size: 2rem;
        text-align: center;
    }

    & h3,
    & p {
        color: var(--text-color);
    }

    & .tags {

        color: var(--text-color);
        margin-top: 1rem;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.tags span {
    padding: 6px 12px;
    background-color: var(--color-primary);
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 12px;
}

.location {
    margin-top: 2.5rem;
}

.container-map {
    margin-block: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-inline-end: 10px;
    padding-block-end: 10px;
    overflow-x: scroll;
}

.map {
    width: 340px;
    border-radius: 1rem;
    border: 3px solid var(--text-color);
    overflow-y: hidden;
}

.google-map {
    background-color: var(--color-secondary);
}

.info-location {
    display: grid;
    gap: 10px;
    padding: 1rem;
    background-color: var(--color-secondary);
}

.info-address {
    display: flex;
    gap: 10px;
}

.info-address i {
    font-size: 1.5rem;
    color: var(--color-tertiary);
}

.info-address h3 {
    font-size: 1rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    color: var(--color-primary);
}

.info-address p {
    color: var(--color-tertiary);
    font-size: 0.875rem;
    margin-top: 4px;
    margin-bottom: 10px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.info-address a {
    width: 100%;
    border-radius: 12px;
    color: var(--color-tertiary);
    border: 2px solid var(--color-primary);
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
    background-color: white;
    transition: 0.2s;

    &:hover {
        background-color: var(--color-primary);
        color: var(--color-secondary);
    }
}

.container-img-assessment {
    overflow: hidden;
    width: 100%;
    height: 125px;
}

.slide-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(250px * 16);
}

.container-img-assessment img {
    width: 250px;
    height: auto;
    margin-right: 10px;
    border-radius: 8px;
}

.assessment>div:nth-child(2) {
    width: 70%;
    margin-inline: auto;
    margin-top: 6px;
    animation: pulsar 1.5s infinite ease-in-out;
}

.assessment a {
    display: flex;
    justify-content: center;
    padding: 10px 16px;
    background-color: var(--color-secondary);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 12px;
    font-weight: 600;
}


@keyframes pulsar {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes aparecerCard {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}