

/* Central de Ajuda ShopIngressos */

.faq-page {
    max-width: 1080px;
    min-height: calc(100vh - 340px);
    box-sizing: border-box;
}

.faq-page [hidden] {
    display: none !important;
}

.faq-hero {
    padding: 40px 24px;
    text-align: center;
    background: #f4f7ff;
    border: 1px solid #e1e8f7;
    border-radius: 16px;
    margin-bottom: 36px;
}

.faq-hero-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #e5edff;
    color: var(--brand, #305ce3);
    border-radius: 18px;
}

.faq-hero h1 {
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 38px);
}

.faq-hero p {
    margin: 0 auto 25px;
    max-width: 560px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.faq-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin: auto;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #dbe2ee;
    border-radius: 10px;
    color: #64748b;
    box-sizing: border-box;
}

.faq-search:focus-within {
    border-color: var(--brand, #305ce3);
    box-shadow: 0 0 0 3px rgba(48,92,227,.08);
}

.faq-search svg {
    flex-shrink: 0;
}

.faq-search input {
    width: 100%;
    min-width: 0;
    padding: 16px 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
}

.faq-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.faq-heading h2 {
    margin: 0;
    font-size: 23px;
}

.faq-heading span {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e5eb;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.6;
    transition: background .2s;
}

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

.faq-item summary:hover {
    background: #f8faff;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--brand, #305ce3);
    outline-offset: -3px;
}

.faq-item summary svg {
    color: var(--brand, #305ce3);
    flex-shrink: 0;
    transition: transform .2s;
}

.faq-item[open] {
    border-color: #bfcdf3;
}

.faq-item[open] summary {
    color: var(--brand, #305ce3);
    background: #f4f7ff;
}

.faq-item[open] summary svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 20px 24px;
    border-top: 1px solid #e2e5eb;
    color: #475569;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.faq-answer p {
    margin: 0 0 14px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 24px;
    margin: 12px 0;
}

.faq-answer li {
    margin-bottom: 6px;
}

.faq-answer a {
    color: var(--brand, #305ce3);
    text-decoration: underline;
    font-weight: 600;
}

.faq-answer strong {
    color: #252b36;
}

.faq-answer table {
    width: 100%;
    border-collapse: collapse;
}

.faq-answer td,
.faq-answer th {
    padding: 8px;
    border: 1px solid #e2e5eb;
}

.faq-empty {
    text-align: center;
    padding: 35px 20px;
    border: 1px dashed #dbe2ee;
    border-radius: 12px;
    color: #64748b;
}

.faq-contact {
    text-align: center;
    margin-top: 36px;
    padding: 32px 24px;
    border: 1px solid #e2e5eb;
    border-radius: 14px;
    background: #fff;
}

.faq-contact-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    color: var(--brand, #305ce3);
    background: #eef3ff;
    border-radius: 14px;
}

.faq-contact h2 {
    margin: 0 0 10px;
    font-size: 23px;
}

.faq-contact p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 20px;
}

.faq-whatsapp {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    background: #16834a;
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
}

.faq-whatsapp:hover {
    background: #126d3e;
    color: #fff;
}

.faq-hours {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 24px;
    font-size: 13px;
    color: #64748b;
}

.faq-hours strong {
    color: #252b36;
}

.faq-return {
    margin: 25px 0 10px;
    text-align: center;
}

.faq-return a {
    color: var(--brand, #305ce3);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 640px) {

    .faq-hero {
        padding: 28px 16px;
        margin-bottom: 25px;
    }

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

    .faq-answer {
        padding: 16px;
    }

    .faq-heading h2 {
        font-size: 19px;
    }

    .faq-contact {
        padding: 24px 16px;
    }

    .faq-whatsapp {
        width: 100%;
    }

}
