@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* --------------- RESET CSS -------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* --------------- HEADER STYLE -------------------- */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 134px;
    background-color: #121026;
}

.logo {
    width: 280px;
}

.button-header {
    display: flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    gap: 10px;
    background: transparent;
    border-radius: 20px;
    padding: 0 10px;
    cursor: pointer;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.button-header svg {
    width: 28px;
}

/* --------------- FIRST SECTION STYLE -------------------- */

.first-section {
    background-image: url('./imgs/first-section-image.jpg');
    background-position-x: left;
    background-position-y: -480px;
    background-repeat: no-repeat;
    background-size: 130%;
    width: 100%;
    height: 750px;
    position: relative;
    overflow: hidden;
}

.first-section p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 80px;
    line-height: 72px;
    color: #FFFFFF;
    position: absolute;
    bottom: 85px;
    max-width: 570px;
    margin-left: 80px;
}

/* --------------- SECOND SECTION STYLE -------------------- */

.second-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 103px 80px;
}

.text-container {
    max-width: 620px;
    background-color: #2C1540;
    padding: 45px 51px;
    border-radius: 18px 0 0 18px;
}

.text-container h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #7B3FFF;
    margin-bottom: 34px;
}

.text-container p {
    font-family: 'DM Sans', sans-serif;
    font-style: regular;
    font-size: 18px;
    line-height: 110%;
    color: #FFFFFF;
    letter-spacing: 1px;

}

.second-section img {
    width: 666px;
    height: 529px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.button-contact {
    display: flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    gap: 10px;
    background: transparent;
    border-radius: 20px;
    padding: 5px 28px;
    cursor: pointer;
    color: #7B3FFF;
    border: 2px solid #7B3FFF;
    margin-top: 34px;
    width: fit-content;
}

/* --------------- THIRD SECTION STYLE -------------------- */

.third-section {
    background: linear-gradient(129.58deg, #2C1540 27.15%, #7B3FFF 97.81%);
    padding: 65px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tittle-third-section {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #FFFFFF;
    margin-bottom: 60px;
    max-width: 532px;
    text-align: center;
}

.cards-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.card-plan {
    background-color: #FFFFFF;
    height: 612px;
    width: 410px;
    border-radius: 8px;
}

.header-card {
    background: linear-gradient(90deg, #7B3FFF 0%, #CB6CE6 100%);
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    gap: 8px;
}

.options-card {
    padding: 20px 40px;
}

.option {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.third-card-option {
    align-items: flex-start;
    margin-bottom: 50px;
}

.third-card-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option span {
    color: #7B3FFF;
}

.container-card-option-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 85%;
}

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

.price {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #7B3FFF;
    margin-bottom: 10px;
}

.button-contract {
    display: flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    gap: 20px;
    padding: 0 30px;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    color: #7B3FFF;
    border: 2px solid #7B3FFF;
}

/* --------------- FOUR SECTION STYLE -------------------- */
.fourth-section {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 88px 0 140px 0;
}

.fourth-section .tittle-fourth-section {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 40px;
    color: #000000;
    max-width: 532px;
    text-align: center;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-btn-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
}

.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s ease;
    width: 150%;
    height: 100%;
}

.carousel-item {
    position: relative;
    flex: 0 0 33.33%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.6;
    transform: scale(0.8);
}

.carousel-item.center {
    transform: scale(1.2);
    opacity: 1;
    z-index: 2;
}

.carousel-item img {
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Botões sobre as imagens */
.carousel-btn {
    background-color: #fff;
    border: none;
    color: #fff;
    font-size: 26px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-btn svg {
    transition: transform 0.3s ease;
}

/* zoom no hover */
.carousel-btn:hover svg {
    transform: scale(1.2);
}

/* Agora ficam sobre as imagens */
.prev {
    left: 25%;
}

.next {
    right: 25%;
}

@media (max-width: 1025px) {
    .fourth-section {
        overflow: hidden;
    }
}

@media (max-width: 768px) {

    .carousel-btn-container {
        justify-content: center;
        padding: 0;
    }

    .carousel-track {
        width: 100%;
    }

      .carousel-item {
        flex: 0 0 100%;
        opacity: 1;
        transform: scale(1);
      }

      .carousel-item.center {
        transform: scale(1);
      }

      .prev {
        left: 10%;
      }

      .next {
        right: 10%;
      }
    }


/* --------------- FIVE SECTION STYLE -------------------- */

.five-section {
    display: flex;
    align-items: center;
    background-color: #E7E7E7;
    width: 100%;
}

.img-map {
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
    width: 50%;
}

.tittle-location {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #000000;
}

.icon-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    ;
}

.icon-location-icon {
    width: 18px;
    height: 25px;
}

.icon-location-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000000;
}

.infos {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: #000000;
    max-width: 500px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.infos span {
    color: #7B3FFF;
    font-weight: 700;
}

.number {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000000;
}

.strong {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.strong strong {
    font-weight: 700;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 134px;
    background-color: #000000;
}

@media screen and (max-width: 1440px) {
    .first-section {
        background-position-y: -338px;
    }
}

@media screen and (max-width: 1024px) {

    .header {
        padding: 20px 60px;
    }

    .first-section {
        background-position-y: -135px;
    }

    .cards-container {
        flex-direction: column;
    }

    .tittle-location {
        font-size: 30px;
        margin-top: 20px;
    }

    .icon-location-text {
        font-size: 15px;
    }

    .infos {
        font-size: 15px;
    }

    .footer {
        padding: 20px 60px;
    }
}

@media screen and (max-width: 1024px) {

    .first-section {
        background-position-y: 0px;
        background-size: 150%;

    }

    .first-section p {
        font-size: 50px;
        margin-left: 30px;
        max-width: 400px;
        line-height: 50px;
    }

    .img-map {
        width: 60%;
    }
}

@media screen and (max-width: 500px) {

    .header {
        flex-direction: column;
        gap: 20px;
    }

    .first-section {
        height: 400px;
        background-position-y: -2px;
        background-size: 162%;
    }

    .second-section {
        flex-direction: column;
        padding: 103px 20px;
    }

    .text-container {
        width: 80%;
        border-radius: 18px;
        padding: 45px 30px;
    }

    .text-container h2 {
        font-size: 30px;
    }

    .text-container p {
        font-size: 16px;
    }

    .second-section img {
        width: 80%;
        height: auto;
    }

    .third-section {
        padding: 40px 20px;
    }

    .card-plan {
        width: 100%;
    }

    .five-section {
        width: auto;
        justify-content: center;
    }

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

    .infos {
        align-items: center;
        text-align: center;
    }

    .img-map {
        display: none;

    }

    .footer {
        flex-direction: column;
        gap: 20px;
    }
}