html {
    font-size: 10px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 1.2;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background-menu-open {
    background-color: rgba(0, 14, 64, 0.5);
    z-index: 1000;
    /* Certifique-se de que o z-index seja alto o suficiente */
    position: fixed;
    /* Use position: fixed para cobrir toda a viewport */
    top: 5.6rem;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

@media (min-width: 350px) {
    nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0.8rem 1.6rem;
    }

    nav .logo {
        margin: 0 auto;
    }

    nav .logo a img {
        height: 4rem;
    }

    nav .menu-toggle a i {
        font-size: 2.4rem;
        color: #EB7C2C;
    }

    nav .menu-list {
        position: absolute;
        top: 7.2rem;
        z-index: 1001;
        left: 1.6rem;
        right: 1.6rem;
        display: none;
        flex-direction: column;
        align-items: center;
        list-style: none;
        text-align: center;
        gap: 2rem;
        padding: 1.6rem;
        margin: auto;
        background-color: rgba(235, 124, 44, 0.9);
        border-radius: 1.6rem;
    }

    nav .menu-list li {
        width: 100%;
        height: 3.2rem;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 1.6rem;
    }

    nav .menu-list li:last-child {
        background-color: #000E40;
        color: #fff;
    }

    nav .menu-list li:last-child a {
        color: #fff;
    }

    nav .menu-list li a {
        display: flex;
        text-decoration: none;
        color: #000E40;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    .toggle-headline {
        display: block;
        width: 10rem;
        height: 0.8rem;
        margin: 0 auto;
        margin-top: 4.8rem;
        background-color: #EB7C2C;
        border-radius: 0.4rem;
    }

    .home-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
    }

    .home-section .container-xl {
        border-radius: 1.6rem;
        width: calc(100% - 3.2rem);
        margin: 1.6rem 1.6rem;
        padding: 1.6rem 0;
        box-sizing: border-box;
    }

    .headline-box .headline {
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        padding: 0.8rem;
    }

    .headline span {
        color: #EB7C2C;
    }

    .subtitle {
        font-size: 1.2rem;
        text-align: center;
        padding: 0 1.6rem;
    }

    .subtitle-box .subtitle {
        font-size: 1.2rem;
        text-align: center;
        padding: 0;
    }

    .container-xl .carousel .carousel-inner .carousel-item img {
        width: 100%;
        max-height: 56rem;
        object-fit: cover;
        border-radius: 1.6rem;
    }

    .container-xl #carouselExample {
        padding: 0 0.85rem;
    }

    .about-us .container-xl {
        padding: 0 1.6rem;
    }

    .responsive-video {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #000;
    }

    .responsive-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .standard-buttom-mobile {
        text-align: center;
        margin: 0 auto;
        font-size: 1.2rem;
        padding: 0.8rem 1.6rem;
        background-color: #EB7C2C;
        border-radius: 1.6rem;
    }

    .standard-buttom-mobile:hover {
        background-color: #000E40;
    }

    .standard-buttom-mobile .card-link {
        text-decoration: none;
        cursor: pointer;
        color: #fff;
        font-weight: 300;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        background-color: #000E40;
        padding: 4.8rem 0 2.4rem 0;
        width: 100%;
    }

    .about-us .toggle-headline {
        margin-top: 0;
    }

    .about-us .headline,
    .about-us .subtitle {
        color: #fff;
    }

    .about-us-video {
        text-align: center;
        max-width: 100%;
        height: auto;
        margin: 4.8rem auto;
        border-radius: 1.6rem;
    }

    .aboute-us-video iframe {
        margin: 0 auto;
    }

    .about-us-text {
        text-align: center;
        padding: 0 1.6rem;
        font-size: 1.2rem;
        font-weight: 100;
        color: #fff;
        margin-bottom: 4.8rem;
    }

    .finance {
        display: flex;
        flex-direction: column;
        padding: 0 1.6rem;
    }

    .finance-cards {
        margin-top: 4.8rem;
    }

    .finance-card {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1.6rem;
        height: 10.4rem;
        background-color: #E9E9E9;
        border-radius: 1.6rem;
        padding: 0;
    }

    .finance-card-img {
        width: calc(50% - 0.8rem);
        height: 100%;
        background-image: url(../images/banner.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        border: 2px solid #000E40;
        border-radius: 1.6rem;
    }

    .finance-card-desc {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: calc(50% - 0.8rem);
        padding-right: 1.6rem;
    }

    .finance-card-title {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .finance-card-text {
        font-size: 1.2rem;
        font-weight: 100;
    }

    .finance .standard-buttom-mobile {
        margin: 2.4rem auto 4.8rem auto;
    }

    .contact {
        padding: 0 1.6rem;
        padding-top: 4.8rem;
        background-color: #EB7C2C;
        color: #fff;
    }

    .contact .toggle-headline {
        background-color: #fff;
        margin-top: 0;
    }

    .form-box {
        margin-top: 4.8rem;
    }

    .input {
        width: 100%;
        height: 4rem;
        padding: 0.8rem;
        font-weight: 200;
        color: #000;
        border: none;
        border-radius: 1.6rem;
        background-color: #fff;
        margin-bottom: 1.6rem;
    }

    .input::placeholder {
        color: grey;
        font-size: 1.2rem;
    }

    textarea::placeholder {
        color: grey;
        font-size: 1.2rem;
        font-weight: 100;
    }

    .input:focus {
        outline: none;
    }


    .action-button {
        width: 100%;
        height: 4rem;
        justify-self: center;
        /* Centraliza o botão horizontalmente dentro da área */
        align-self: center;
        border-radius: 1.6rem;
        color: #fff;
        background-color: #000E40;
        border: none;
        cursor: pointer;
        margin-bottom: 1.6rem;
        justify-content: center;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }

    .social-icons a {
        text-align: center;
        font-size: 1.6rem;
        padding: 0.8rem;
        background-color: #fff;
        color: #000E40;
        text-decoration: none;
        border-radius: 3.2rem;
        margin-bottom: 4.8rem;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.6rem;
        background-color: #fff;
        color: #000E40;
        font-size: 1rem;
        font-weight: 100;
        text-align: center;
    }

    footer p {
        padding: 0.4rem 0;
    }

    footer a {
        text-decoration: subline;
        color: #000E40;
        padding: 0 0.4rem;
    }

}

@media (min-width: 778px) {
    nav .menu-toggle a i {
        font-size: 2.4rem;
    }

    .headline-box .headline {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 1.6rem;
    }

    .subtitle-box .subtitle {
        font-size: 1.6rem;
    }

    .standard-buttom-mobile {
        font-size: 1.6rem;
    }

    .about-us-text {
        font-size: 1.6rem;
    }

    .finance-card-title {
        font-size: 1.6rem;
        font-weight: bold;
    }

    .finance-card-text {
        font-size: 1.6rem;
        font-weight: 100;
    }

    .input::placeholder {
        color: grey;
        font-size: 1.6rem;
    }

    textarea::placeholder {
        font-size: 1.6rem;
        font-weight: 100;
    }

}