.faq-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.faq-header {
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    color: #1E3250;
    margin: 5px;
    padding: 5px;
    etter-spacing: 1.5px;
}

.faq-header p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(76 107 139);
    margin: 5px;
    padding: 5px;
}

.badge-faq {
    background: #E8EAED;
    color: #1E3250;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 20px 40px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Item do FAQ */
.faq-item {
    border-bottom: 1px solid #edf2f7;
    padding: 20px 0;
    transition: color 0.3s, font-weight 0.3s;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Título da pergunta */
.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1D304D;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.5rem;
    transition: color 0.3s;
}


.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: #317a65;
}

.faq-item summary:hover .faq-icon {
    border-color: #317a65;
}

/* Ícone */
.faq-icon {
    min-width: 20px;
    min-height: 20px;
    color: #cbd5e1;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
    border: 1px solid #cbd5e1;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: #ffffff;
    background: #297D6D;
}

.faq-content {
    opacity: 4;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    height: auto;
    padding-top: 0;
}

.faq-content p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(76 107 139);
}

.faq-item[open] .faq-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding-top: 15px;
}


/* Tablet */
@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    .faq-container {
        padding: 20px;
        border-radius: 16px;
    }

    .faq-item summary {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .faq-section {
        padding: 60px 15px;
    }

    .faq-header h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .faq-header p {
        font-size: 0.9rem;
    }

    .faq-container {
        padding: 15px;
    }

    .faq-item {
        padding: 15px 0;
    }

    .faq-item summary {
        font-size: 15px;
        line-height: 1.4rem;
    }

    .faq-content p {
        font-size: 0.9rem;
    }
}