@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

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

body {
    color: #06357A;
    background-color: #F3F8FF;
    font-family: "Nunito", sans-serif;
}

.btn-zap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-zap:hover {
    background-color: #0cdf76;
    transform: scale(1.1);
    color: white;
}

.btn-zap svg {
    width: 30px;
    height: 30px;
}

header {
    color: white;
    background-color: #0C3BDD;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;

}

nav {
    width: 100%;
    max-width: 1312px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 20px;
}

nav svg {
    max-width: 98px;
}

nav path {
    fill: white;

}

.navbar-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-buttons a {
    text-decoration: none;
    color: white;
}

.nav-btn-divida {
    border-radius: 8px;
    box-sizing: border-box;
    font-weight: 700;
    font-size: 1rem;
    line-height: 130%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-decoration: none;
    color: white;
    border-width: 1px;
    border-style: solid;
    border-color: white;
    height: 40px;
}

.nav-btn-pagar {
    color: #0c3bdd !important;
    background-color: white;
    height: 40px;
    border-radius: 8px;
    box-sizing: border-box;
    font-weight: 700;
    font-size: 1rem;
    line-height: 130%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-decoration: none;
}

/* --------------------------------------------------------------------- */

.header-pag {
    min-height: 350px;
    padding: 50px 0px 128px;
    background-color: #0C3BDD;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;

}

.header-pag div {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: white;
    width: 100%;
    max-width: 1312px;
}

.header-pag h1 {
    line-height: 150%;
    font-weight: 700;
    font-size: 28px;
}

.header-pag-img {
    width: 100%;
    max-width: 350px;
    position: absolute;
    bottom: -130px;
    z-index: 2;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fatura {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 60px;
    z-index: 10;
}

.card-fatura {
    background-color: white;
    padding: 40px 50px;
    max-width: min(calc(100vw - 32px), 580px);
    box-sizing: border-box;
    border: 1px solid #cee2ff;
    border-radius: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: -80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card-fatura-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.card-fatura-header h2 {
    color: #06357a;
    font-size: 1.5rem;
}

.card-fatura-header p {
    color: #556f97;
    margin-top: 10px;
}

.card-fatura-input {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
}

.card-fatura-input label {
    color: #334156;
    font-size: .875rem;
    margin-bottom: 5px;
}

.card-fatura-input input {
    width: 100%;
    outline: none;
    height: 48px;
    border-radius: 8px;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #076bee;
    color: #334156;
    background-color: #ffffff;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    line-height: 130%;
    font-size: 1rem;
}

.card-fatura-input input:focus {
    border: 2px solid #076bee;

}

.card-fatura a {
    color: #ffffff;
    background-color: #0c3bdd;
    height: 48px;
    border-radius: 8px;
    box-sizing: border-box;
    font-weight: 700;
    font-size: 1rem;
    line-height: 130%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-decoration: none;
    width: 100%;
    transition: all 0.3s ease;
}

.card-fatura a:hover {
    background-color: #315eff;
}

.vantagens {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

.vantagens h2 {
    font-size: 2rem;
    color: #0c3bdd;
    margin-bottom: 40px;
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.vantagem-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.vantagem-item:hover {
    transform: translateY(-5px);
}

.vantagem-item svg {
    width: 60px;
    margin-bottom: 15px;
    color: #0c3bdd;

}

.vantagem-item h3 {
    color: #0c3bdd;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.vantagem-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}


.faq-section {
    padding: 60px 20px;
    background-color: #F3F8FF;
    text-align: center;
}

.faq-section h2 {
    font-size: 2rem;
    color: #0C3BDD;
    margin-bottom: 40px;
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #cee2ff;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #06357A;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 20px 24px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f6ff;
}

.faq-icon {
    font-size: 1.5rem;
    color: #0C3BDD;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: #334156;
    font-size: 1rem;
    line-height: 1.6;
}


@media (max-width: 768px) {
    header {
        padding: 16px;
        gap: 0;
    }

    nav {
        padding-top: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .navbar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .navbar-links {
        display: none;
    }

    .nav-buttons {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .nav-btn-divida,
    .nav-btn-pagar {
        flex: 1;
        min-width: 0;
        font-size: 14px;
        padding: 0 12px;
    }

    .nav-btn-divida {
        border: 1px solid white;
        background: transparent;
    }

    .nav-btn-pagar {
        background: white;
        color: #0c3bdd !important;
    }

    .header-pag {
        padding: 32px 16px 96px;
        min-height: 180px;
    }

    .header-pag div {
        padding: 0 16px;
    }

    .header-pag h1 {
        font-size: 24px;
    }

    .vantagens-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 1000px;
        margin: 0 auto;
    }

    .header-pag {
        min-height: 400px;
        justify-content: start;
        align-items: ;

    }

    .header-pag-img {
        width: 100%;
        max-width: 350px;
        position: absolute;
        bottom: -130px;
        z-index: 2;
    }
}