/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo do cabeçalho */
.header {
    background:	#4B0082;
    color: #fff;
    padding: 1rem 0;
}

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

.header .logo {
    width: 200px;
}

.navbar-nav {
    display: flex;
    gap: 1.5rem;
}

.navbar-nav .nav-link {
    color: #ffd341;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    text-decoration: none;
    background-color:gold;
    color: maroon;
    border-radius: 5px;
    border-style: none;
    transition: 0.3s;
}

/* Menu responsivo */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Seção Hero */
.hero {
    background: linear-gradient(#4B0082, white);
    color: #fff;
    padding: 2rem 0;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.hero img {
    width: 600px;
    height: auto;
    object-fit: cover;
}

.hero .text-content {
    text-align: left;
    max-width: 50%;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    background: #4B0082 !important;
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #ffbe30 !important;
    color: #000000 !important;
}


/* Seção Finalidade */
.finalidade {
    padding: 2rem 0;
    text-align: center;
}

.finalidade h2 {
    font-size: 2rem;
    margin: 0; /* Remove margens externas */
}


.finalidade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.finalidade-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.finalidade-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.finalidade-item img {
    width: 260px;
    border-radius: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.finalidade .faixa {
    width: 100px;
}

/* Ajuste para o cabeçalho (título e imagens) */
.finalidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permite quebra em telas menores */
    gap: 10px; /* Espaçamento entre os itens */
    margin-bottom: 1.5rem; /* Espaçamento entre o título e o grid */
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .finalidade .faixa {
        width: 70px; /* Reduz o tamanho das imagens */
    }

    .finalidade h2 {
        font-size: 1.5rem; /* Reduz o tamanho do texto */
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .finalidade .faixa {
        width: 50px; /* Reduz ainda mais o tamanho das imagens */
    }

    .finalidade h2 {
        font-size: 1.2rem; /* Reduz ainda mais o tamanho do texto */
    }

    .text-content p{
        color: #000000;
    }
}




/* Seção Funcionalidades */
.features {
    padding: 2rem 0;
    text-align: center;
    margin-top: 40px;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
}

.features h2 {
    font-size: 2rem;
    margin: 0; /* Remove margens externas */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.7) ;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.icones {
    margin-bottom: 20px;

}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permite quebra em telas menores */
    gap: 10px; /* Espaçamento entre os itens */
    margin-bottom: 1.5rem; /* Espaçamento entre o título e o grid */
}

.feature-item:hover {
    transform: scale(1.05);
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .features .faixa {
        width: 70px; /* Reduz o tamanho das imagens */
    }

    .features h2 {
        font-size: 1.8rem; /* Reduz o tamanho do texto */
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .features .faixa {
        width: 50px; /* Reduz ainda mais o tamanho das imagens */
    }

    .features h2 {
        font-size: 1.8rem; /* Reduz ainda mais o tamanho do texto */
    }
}


/* Seção Planos */
.planos {
    padding: 2rem 0;
    text-align: center;
    margin-top: 40px;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
}

.planos h2 {
    font-size: 2rem;
    margin: 0; /* Remove margens externas */
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.planos-item {
    background: rgba(255, 255, 255, 0.7) ;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.planos-item h3 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.planos-item h3 .currency {
    font-size: 1.5rem; /* Ajuste para o tamanho menor do "R$" */
    margin-right: 5px;
}

.planos-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permite quebra em telas menores */
    gap: 10px; /* Espaçamento entre os itens */
    margin-bottom: 1.5rem; /* Espaçamento entre o título e o grid */
}

.planos h6{
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .planos .faixa {
        width: 70px; /* Reduz o tamanho das imagens */
    }

    .planos h2 {
        font-size: 1.8rem; /* Reduz o tamanho do texto */
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .planos .faixa {
        width: 50px; /* Reduz ainda mais o tamanho das imagens */
    }

    .planos h2 {
        font-size: 1.8rem; /* Reduz ainda mais o tamanho do texto */
    }
}

.assinar {
    background: #4B0082 !important;
    color: #fff !important;
    padding: 0.5rem 4.0rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 20px;
}

.assinar:hover {
    background: darkred !important;
    color: white !important;
}


/* Seção Como funciona */
.funciona {
    padding: 2rem 0;
    text-align: center;
    margin-top: 40px;
}

.funciona h2 {
    font-size: 2rem;
    margin: 0; /* Remove margens externas */
}

.funciona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.funciona-item {
    background: #fff;
    padding: 1.5rem;
}


.funciona-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.funciona-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permite quebra em telas menores */
    gap: 10px; /* Espaçamento entre os itens */
    margin-bottom: 1.5rem; /* Espaçamento entre o título e o grid */
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .funciona .faixa {
        width: 70px; /* Reduz o tamanho das imagens */
    }

    .funciona h2 {
        font-size: 1.8rem; /* Reduz o tamanho do texto */
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .funciona .faixa {
        width: 50px; /* Reduz ainda mais o tamanho das imagens */
    }

    .funciona h2 {
        font-size: 1.8rem; /* Reduz ainda mais o tamanho do texto */
    }
}

.botao-exemplo {
    padding: 2rem 0;
    text-align: center;
    margin-top: -15px;
}

.botao-exemplo img {
    background-color:rgb(198, 151, 204);
    padding: 5px 50px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);    
}

.botao-exemplo img:hover {
    background-color:rgb(172, 67, 185);
}



/* Seção Contato */
.contact {
    background: #f9f9f9;
    padding: 2rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin: 0; /* Remove margens externas */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    align-self: center;
    width: fit-content;
}

/* Rodapé */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}


/* Responsividade */
@media (max-width: 768px) {
    /* Ajustar o cabeçalho */
    .header .logo {
        width: 150px; /* Reduzir tamanho do logo */
    }

    .navbar {
        justify-content: space-between;
    }

    /* Ajustar a seção Hero */
    .hero {
        flex-direction: column; /* Colocar os elementos em coluna */
        text-align: center; /* Centralizar o texto */
        height: auto; /* Ajustar altura */
        padding: 2rem 1rem;
    }

    .hero .container {
        flex-direction: column; /* Centralizar elementos em stack */
    }

    .hero .text-content {
        text-align: center;
        max-width: 100%; /* Deixar o texto ocupar toda a largura */
        margin-bottom: 1rem; /* Espaço entre texto e imagem */
    }

    .hero .text-content h2{
        text-align: center;
        max-width: 100%; /* Deixar o texto ocupar toda a largura */
        margin-bottom: 1rem; /* Espaço entre texto e imagem */
        font-size: 23px;;
        font-weight:bold;
    }
    
    .hero .text-content p {
        text-align: center;
        max-width: 100%; /* Deixar o texto ocupar toda a largura */
        margin-bottom: 1rem; /* Espaço entre texto e imagem */
        font-size: 14px;
        font-weight: 600;
    }
    .hero img {
        order: -1; /* Colocar a imagem antes do texto */
        width: 100%; /* Tornar a imagem responsiva */
        max-width: 600px;
        height: auto;
        margin-bottom: 1rem;
    }

    .navbar-collapse {
        justify-content: center; /* Centraliza os itens do menu */
    }

    .navbar-nav {
        flex-direction: column; /* Empilha os itens verticalmente */
        align-items: center; /* Centraliza os itens no eixo horizontal */
        gap: 0rem; /* Reduz o espaçamento entre os itens */
        margin-top: 25px;
    }

    .nav-item {
        margin: 0; /* Remove margens adicionais */
    }

    .nav-link {
        padding: 0.5rem 1rem; /* Ajusta o espaçamento interno dos links */
        font-size: 1rem; /* Tamanho de fonte mais proporcional */
    }

    /* Ajustar funcionalidades */
    .features-grid {
        grid-template-columns: 1fr; /* Colocar itens em uma única coluna */
    }

    .footer {
     font-size: 14px;
    }
}





.faq {
    max-width: 800px; /* Largura máxima da seção */
    margin: 0 auto; /* Centraliza a seção */
    padding: 0 1rem; /* Adiciona espaço lateral para telas pequenas */
    margin-bottom: 50px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3{
    font-size: 1.3rem;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.faq-answer {
    display: none;
    padding-top: 0.5rem;
    font-size: 1rem;
    color: #666;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permite quebra em telas menores */
    gap: 10px; /* Espaçamento entre os itens */
    margin-bottom: 60px; /* Espaçamento entre o título e o grid */
    margin-top: 30px;
}

/* Responsividade */
@media (max-width: 768px) {

    .faq-question h3{
        font-size: 1.0rem;
    }
    
    .faq-toggle {
        font-size: 1.2rem;
    }
    
    .faq-answer {
        font-size: 1rem;
    }

}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .faq .faixa {
        width: 50px; /* Reduz ainda mais o tamanho das imagens */
    }

    .faq h2 {
        font-size: 1.1rem; /* Reduz ainda mais o tamanho do texto */
    }
}