:root {
    --color-turquoise: rgb(0, 242, 182);
    --color-turquoise-hover: rgb(164, 255, 237);
    --color-gray: rgb(138, 145, 152);
    --color-white: #efefef;
    --color-light-blue: rgb(0, 97, 253);
    --color-blue: #00f;
    --color-dark-blue: rgb(4, 18, 65);
    --divider-gradient: linear-gradient(
        to right,
        rgb(0, 17, 63),
        rgb(0, 99, 255)
    );
    --input-gradient: linear-gradient(
        to right,
        rgb(0, 71, 182),
        rgb(0, 81, 216)
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'GeologicaRegular';
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--color-turquoise);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--color-dark-blue);
}

.btn-want-more {
    background-color: var(--color-dark-blue) !important;
    color: var(--color-turquoise) !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    letter-spacing: 2px;
}

.btn-more {
    background-color: rgb(101, 104, 109) !important;
    color: var(--color-white) !important;
    font-weight: 900 !important;
    letter-spacing: 2px;
    text-wrap: nowrap;
    font-size: 1rem !important;
}

html,
body {
    width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

nav {
    background-color: var(--color-dark-blue);
    max-width: 100vw;
}

nav > div a img:not(.flag) {
    max-width: 120px !important;
}

nav > div > button + div a {
    text-transform: uppercase;
    color: var(--color-turquoise) !important;
}

nav > div form#change-lang > label {
    max-width: 22px;
}

nav > div form#change-lang > label > .flag:hover {
    cursor: pointer;
    opacity: 0.7;
}

nav .flag {
    width: 1.75rem;
}

nav > div > button + div a + ul > li > ul > li a {
    text-transform: capitalize;
    color: var(--color-dark-blue) !important;
}

nav > div > button + div a:hover {
    color: var(--color-turquoise) !important;
}

nav > div > div a + ul.dropdown-menu {
    position: absolute;
    inset: 0px auto auto 0px;
    margin: 0px;
    transform: translate(-15%, 0%);
}

input:not(#avisoModal input),
select {
    border-radius: 0.65rem !important;
}

input:not(#avisoModal input),
select {
    color: white !important;
    background: var(--input-gradient) !important;
    font-size: 0.9rem !important;
    border: 0 !important;
    text-align: center;
    font-family: 'GeologicaLight', sans-serif !important;
}

input:focus,
select:focus {
    outline: 1px solid var(--color-turquoise) !important;
    box-shadow: 0 0 10px var(--color-turquoise) !important;
}

input::placeholder {
    color: var(--color-white) !important;
    opacity: 0.7 !important;
}

section .gradient button,
section#map button {
    color: var(--color-turquoise);
    height: 83px;
    width: 100%;
    border: 2px solid var(--color-light-blue) !important;
    border-radius: 0.65rem !important;
}

section .gradient button:hover,
section#map button:hover {
    color: var(--color-turquoise-hover) !important;
    border: 2px solid rgb(37, 121, 255) !important;
    background-color: rgb(37, 121, 255) !important;
}

section .gradient button:active,
section#map button:active {
    background-color: var(--color-light-blue) !important;
}

section:has(+ .index) {
    width: 100vw;
}

section:has(+ .index) > div > div {
    width: auto;
    height: 230px;
    border-radius: 0.65rem;
    padding: 2px;
    margin: 32px 0;
    box-shadow: 0 6px 12px rgba(133, 133, 133, 0.203);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    overflow: hidden;
}

section:has(+ .index) > div > div::before {
    content: '';
    position: absolute;
    z-index: 1;
    min-width: 200%;
    min-height: 200%;
    top: 50%;
    left: 50%;
    aspect-ratio: 1/1;
    background: linear-gradient(
        45deg,
        white 58%,
        var(--color-turquoise),
        rgb(50, 129, 255) 70%
    );
    border-radius: 0.75rem;
    transform: translate(-50%, -50%) rotate(0deg);
}

section:has(+ .index) > div > div:first-of-type:before {
    background: linear-gradient(
        30deg,
        white 56%,
        var(--color-turquoise),
        rgb(50, 129, 255) 70%
    );
}

section:has(+ .index) > div > div:hover::before {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

section:has(+ .index) > div > div > div {
    background-color: white;
    border-radius: inherit;
    padding: 1rem;
    aspect-ratio: 1/1;
    position: relative;
    z-index: 2;
    height: calc(100%);
    width: calc(100%);
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

section:has(+ .index) > div > div > div > p {
    font-family: 'GeologicaBlack', sans-serif;
    margin-bottom: 0;
}

section:has(+ .index) > div > div > div > p span {
    font-family: 'GeologicaExtraLight', sans-serif;
    color: var(--color-light-blue);
}

section:has(+ .index) > div > div > div > h3 {
    font-family: 'GeologicaBlack', sans-serif;
    position: relative;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    text-wrap: nowrap;
}

section:has(+ .index) > div > div > div > h3::after {
    font-family: 'GeologicaBlack', sans-serif;
    content: '';
    white-space: pre;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        var(--color-light-blue),
        var(--color-turquoise)
    ); /* Define o degradê */
    -webkit-background-clip: text;
    color: transparent;
}

section:has(+ .index) > div > div:first-of-type > div {
    width: calc(400px - 4px);
}

section:has(+ .index) > div > div:first-of-type > div > p {
    font-size: 1.7rem;
    line-height: 2rem;
}

section:has(+ .index) > div > div:nth-child(2) > div > h3::after {
    content: '+ de 500' !important;
}

section:has(+ .index) > div > div:nth-child(3) > div > h3::after {
    content: '+ de 120' !important;
}

section:has(+ .index) #more {
    background: url('../assets/imgs/pattern_divider.png') no-repeat;
}

section {
    width: 100vw;
}

main section > div.hidden {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-99%);
    transition: all 1.5s;
}

main section > div.bg-light-gray.hidden {
    transform: translateX(-99%);
}

main section > div.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) !important;
    transition: all 1.5s;
}

main section .container {
    width: 60% !important;
}

main section > div div > p {
    font-family: 'GeologicaRegular', sans-serif;
    font-size: 1.1rem;
    text-align: start !important;
}

main section > div > div > div > div > img {
    width: 75%;
}

main section > div > div > div > img {
    width: 35%;
}

main.index section > div div :is(h3, ul > li) {
    font-family: 'GeologicaLight', sans-serif;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

main section > div div > h3 {
    color: var(--color-turquoise);
}

main.index section > div div ul {
    color: var(--color-gray);
    line-height: 0.9rem;
}

.gradient {
    background-image: var(--divider-gradient);
}

.gradient > div {
    width: 50%;
}

.bg-light-gray {
    background-color: rgb(240, 247, 255);
}

main section footer > div > div > p {
    color: var(--color-turquoise);
    font-size: 1.6rem;
    line-height: 1.8rem;
}

main section footer > div > div > p b {
    font-family: 'GeologicaBlack', sans-serif;
}

main section:last-child footer.gradient > div > div > p {
    color: var(--color-turquoise);
    font-size: 3rem;
    line-height: 2.75rem;
    font-family: 'GeologicaBlack', sans-serif;
    text-transform: uppercase;
}

main section:last-child footer.gradient {
    z-index: 2 !important;
}

main section footer > div > form > div > button {
    color: var(--color-turquoise) !important;
    height: 85px;
    width: 100%;
    border: 2px solid var(--color-light-blue) !important;
}

main section footer > div > form > div > button:hover {
    color: var(--color-turquoise-hover) !important;
    border: 2px solid rgb(37, 121, 255) !important;
    background-color: rgb(37, 121, 255) !important;
}

main section footer > div > form > div > button:active {
    background-color: var(--color-light-blue) !important;
}

main ~ section#map > div > h2 {
    font-family: 'GeologicaExtraBold', sans-serif;
    font-size: 2.5rem !important;
    margin-bottom: 0;
    color: var(--color-dark-blue);
}

main ~ section#map > div > div.container {
    width: 82%;
}

main ~ section#map > div {
    background: url('../assets/imgs/bg_mapa.png') no-repeat;
    max-width: 100%;
    height: auto;
}

main ~ section#map > div > div div#mapa {
    z-index: 1;
}

main ~ section#map > div > div > div :has(div#regionsMapCarousel) {
    margin-top: 80px !important;
    background-color: var(--color-turquoise);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-bottom: 80px;
    overflow: hidden;
}

main ~ section#map > div > div div#regionsMapCarousel {
    height: 470px;
}

main ~ section#map > div > div div#regionsMapCarousel > div {
    height: 400px;
    overflow-y: scroll;
}

main ~ section#map > div > div div#regionsMapCarousel p {
    color: var(--color-blue);
    font-family: 'GeologicaRegular', sans-serif;
    font-size: 1.1rem !important;
    margin: 1rem 0 0;
}

main ~ section#map > div > div :has(div#regionsMapCarousel) + a {
    z-index: 1;
    top: 87%;
    left: 50%;
    transform: translate(-25%, -50%);
}

main ~ section#map > div > div :has(div#regionsMapCarousel) + a > img {
    width: 75%;
}

main ~ section#map > div:last-child {
    background: url('../assets/imgs/bg_form.png');
    max-width: 100%;
    height: auto;
    background-position: -190px 0;
}

main ~ section#map > div:last-child > div {
    width: 60% !important;
}

main ~ section#map > div:last-child > div p {
    color: var(--color-dark-blue);
    font-size: 3.5rem;
    line-height: 2.75rem;
    font-family: 'GeologicaBlack', sans-serif;
}

main ~ section#map > div:last-child > div p:last-child {
    color: var(--color-blue);
    font-size: 2rem;
    line-height: 2.75rem;
    font-family: 'GeologicaSemiBold', sans-serif;
}

main ~ section#map > div:last-child > div form > div > :where(input, select) {
    text-align: left;
}

main
    ~ section#map
    > div:last-child
    > div
    form
    > div
    > :where(input, select):focus {
    box-shadow: 0 0 10px var(--color-blue) !important;
}

main ~ section#map > div:last-child > div form > div > select > option {
    color: var(--color-dark-blue);
}

main ~ section#map > div:last-child > div form > div > select > option:checked {
    background-color: var(--color-turquoise-hover);
}

main ~ section#map > div:last-child > div form > div > button {
    color: var(--color-light-blue) !important;
    height: auto !important;
}

main ~ section#map > div:last-child > div form > div > button:hover {
    color: var(--color-turquoise-hover) !important;
}

footer#contact > div > div {
    width: 60% !important;
}

footer#contact > div > div a {
    width: 50px;
    text-decoration: none;
}

footer#contact .social-media-icons {
    width: 50px;
}

footer#contact div > div a.hidden {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-100%);
    transition: all 1s;
}

footer#contact div > div a.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) !important;
    transition: all 0.5s;
}

footer#contact div > div a.show:nth-child(2) {
    transition-delay: 200ms;
}

footer#contact div > div a.show:nth-child(3) {
    transition-delay: 400ms;
}

footer#contact div > div a.show:nth-child(4) {
    transition-delay: 600ms;
}

footer#contact div > div a.show:nth-child(5) {
    transition-delay: 800ms;
}

footer#contact > div > div > div p {
    color: var(--color-white);
    font-family: 'GeologicaExtraLight', sans-serif;
}

footer#contact > div > div p + div > img {
    width: 50%;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: var(--color-white);
}

/* tela desktop (monitor) */
@media screen and (min-width: 1600px) {
    main ~ section#map > div > div.container {
        width: 65%;
    }

    main ~ section#map > div:last-child {
        background-position: -4px 0;
    }

    main ~ section#map > div:last-child > div {
        width: 50% !important;
    }

    section + footer > div > div {
        width: 50%;
    }
}

/* tela mobile & tablet */
@media screen and (max-width: 992px) {
    *::-webkit-scrollbar {
        width: 6px;
    }

    section:has(+ .index) {
        width: 100vw;
    }

    nav > div > div > img {
        width: 50%;
    }

    nav > div > div > img {
        width: 100%;
        max-width: 100px !important;
    }

    nav > div > div a + ul.dropdown-menu {
        transform: translate(0%, 0%);
    }

    section:has(+ .index) > div > img {
        width: 25%;
    }

    section:has(+ .index) #more > a > img {
        width: 30% !important;
    }

    main section > div div > p {
        font-size: 1rem;
        line-height: 1.5rem;
        margin-bottom: 0.5rem;
        text-align: start !important;
    }

    main.index section > div div :is(h3, ul > li) {
        font-family: 'GeologicaLight', sans-serif;
        font-size: 0.85rem !important;
        margin-bottom: 0 !important;
    }

    main section footer > div > div > p {
        color: var(--color-turquoise);
        font-size: 1.2rem !important;
        line-height: 1.8rem;
        text-align: center;
    }

    main section footer > div > div > p br {
        display: none;
    }

    main section footer > div > form > div > button {
        height: 76px;
    }

    main section:last-child footer > div > div > p {
        font-size: 1.5rem !important;
    }

    main ~ section#map > div > div div#regionsMapCarousel p {
        font-size: 1rem !important;
        margin: 1rem 0 0;
    }

    main ~ section#map > div > div div#regionsMapCarousel p:first-child {
        margin: 0;
    }

    main ~ section#map > div:last-child > div {
        width: 100% !important;
    }

    main ~ section#map > div:last-child > div p {
        font-size: 2rem;
        line-height: 2rem;
        text-align: center;
    }

    main ~ section#map > div:last-child > div p:last-child {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    main ~ section#map > div > div :has(div#regionsMapCarousel) + a {
        z-index: 1;
        top: 94%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    main ~ section#map > div > div :has(div#regionsMapCarousel) + a > img {
        width: 100%;
    }

    footer#contact > div > div {
        width: 100% !important;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
        font-size: 24px;
    }
}

/* tela mobile */
@media screen and (max-width: 576px) {
    .btn-want-more {
        font-size: 0.65rem !important;
        letter-spacing: 1px;
    }

    .btn-more {
        letter-spacing: 1.5px;
        font-size: 0.6rem !important;
    }

    /* section:has(+ .index) {
        padding-top: 56px;
    }

    section:has(+ .index) > .img-fluid:first-child {
        height: 160px;
        object-fit: cover;
    } */

    section:has(+ .index) > div:first-of-type {
        padding: 20px 40px;
    }

    section:has(+ .index) > div > div {
        width: auto;
        height: 120px;
        margin: 0;
    }

    section:has(+ .index) > div > div:not(:first-of-type) {
        width: 47%;
    }

    section:has(+ .index) > div > div > div > h3 {
        font-size: 1.25rem;
    }

    section:has(+ .index) > div > div > div > p {
        font-size: 1rem !important;
        line-height: 1.25rem !important;
    }

    main section > div.hidden {
        transition: all 1s;
    }

    main section .container {
        width: 95% !important;
    }

    .gradient > div {
        width: 100%;
    }

    main section > div.bg-light-gray div > p {
        text-align: end !important;
    }

    main section > div div ul > li {
        margin-bottom: 0.5rem !important;
    }

    main + section#history > div {
        background: radial-gradient(
            var(--color-turquoise),
            var(--color-dark-blue) 70%
        );
    }

    main ~ section#map > div > h2 {
        font-size: 1.25rem !important;
        margin-top: 1rem;
    }

    main ~ section#map > div > div div#mapa {
        left: 50% !important;
        top: 0 !important;
        transform: translate(-50%, -50%) !important;
    }

    main ~ section#map > div > div > div :has(div#regionsMapCarousel) {
        margin: 10rem 0 10px !important;
        border-radius: 30px;
        overflow: hidden;
        padding-top: 4rem !important;
    }

    main ~ section#map > div > div div#regionsMapCarousel {
        height: 450px;
    }

    main ~ section#map > div > div div#regionsMapCarousel > div {
        height: 400px;
    }

    main ~ section#map > div > div :has(div#regionsMapCarousel) + a {
        top: 98% !important;
        width: 60%;
    }

    main ~ section#map > div:last-child {
        background-position: 40% 0 !important;
    }

    footer#contact > div > div a {
        width: 30px;
        text-decoration: none;
    }

    footer#contact .social-media-icons {
        /* width: 50% !important; */
        width: 30px;
    }

    footer#contact > div > div p + div > img {
        width: 50%;
    }
}

/* Tela tablet */
@media (min-width: 576px) and (max-width: 992px) {
    .btn-want-more {
        font-size: 1rem !important;
        letter-spacing: 1.5px;
    }

    .btn-more {
        font-size: 0.6rem !important;
    }

    nav div#menu > ul::-webkit-scrollbar {
        width: 4px;
    }

    nav div#menu > ul::-webkit-scrollbar-track {
        background: transparent;
    }

    nav div#menu > ul::-webkit-scrollbar-thumb {
        background-color: var(--color-turquoise);
        border-radius: 20px;
    }

    section:has(+ .index) > div > div {
        width: auto;
        height: 180px;
        margin: 24px 0;
    }

    section:has(+ .index) > div > div > div > h3 {
        font-size: 2rem;
    }

    section:has(+ .index) > div > div:first-of-type > div > p {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .gradient > div {
        width: 60%;
    }

    main ~ section#map > div > h2 {
        margin-top: 2rem;
    }

    main ~ section#map > div > div > div:has(div#mapa) {
        padding: 1rem !important;
    }

    main ~ section#map > div > div div#mapa {
        bottom: 10% !important;
    }

    main ~ section#map > div > div > div :has(div#regionsMapCarousel) {
        margin-top: 2rem !important;
        margin-bottom: 40px !important;
        border-radius: 0 30px 30px 0;
        padding: 2rem 0 !important;
    }

    main ~ section#map > div > div div#regionsMapCarousel {
        height: 320px;
    }

    main ~ section#map > div > div div#regionsMapCarousel > div {
        height: 300px;
    }

    main ~ section#map > div > div :has(div#regionsMapCarousel) + a {
        left: 65%;
        top: 88% !important;
        width: 40%;
    }

    main ~ section#map > div:last-child {
        background-position: 45% 0 !important;
    }

    main ~ section#map > div:last-child > div {
        width: 80% !important;
    }

    footer#contact > div > div {
        width: 60% !important;
    }

    footer#contact > div > div a {
        width: 100px;
        text-decoration: none;
    }

    footer#contact .social-media-icons {
        /* width: 50% !important; */
        width: 100px;
    }

    footer#contact > div > div img {
        width: 30% !important;
    }
}
