/* ================================================================
   GUILDA BERNÔ — PÁGINAS INSTITUCIONAIS
   FAQ, entrega, trocas, pagamentos, privacidade e termos.
   ================================================================ */

.page-institucional {
    background: var(--gb-bg, #08261c);
    color: var(--gb-text, #f8fafc);
}

.inst-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.inst-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 58px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.16);
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 215, 0, 0.08), transparent 28%),
        linear-gradient(180deg, #0c3125 0%, #08261c 100%);
}

.inst-hero::after {
    content: "GB";
    position: absolute;
    right: 5%;
    top: -48px;
    font-size: clamp(9rem, 20vw, 18rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 215, 0, 0.06);
    pointer-events: none;
}

.inst-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffd700;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.inst-hero h1 {
    max-width: 820px;
    margin: 0 0 14px;
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.inst-hero p {
    max-width: 720px;
    margin: 0;
    color: #b9c8c1;
    font-size: 1.05rem;
    line-height: 1.75;
}

.inst-section {
    padding: 56px 0 84px;
}

.inst-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.inst-main,
.inst-content {
    display: grid;
    gap: 18px;
}

.inst-nav {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid rgba(255, 215, 0, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(17, 56, 43, 0.98) 0%, rgba(11, 45, 34, 0.98) 100%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.inst-nav span {
    margin-bottom: 2px;
    color: #9eb0a8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.inst-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #d6e0da;
    text-decoration: none;
    transition: 0.2s ease;
}

.inst-nav a:hover {
    background: rgba(255, 215, 0, 0.06);
    border-color: rgba(255, 215, 0, 0.18);
    color: #fff4a5;
    transform: translateX(2px);
}

.inst-nav a.ativo {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.16), rgba(255, 215, 0, 0.08));
    border-color: rgba(255, 215, 0, 0.24);
    color: #ffd700;
    font-weight: 700;
}

.inst-support-card {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.inst-support-card strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 0.95rem;
}

.inst-support-card p {
    margin: 0 0 12px;
    color: #b9c8c1;
    font-size: 0.92rem;
    line-height: 1.55;
}

.inst-support-card a {
    justify-content: center;
    min-height: 42px;
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-weight: 700;
}

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

.faq-list details {
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 18px;
    background: linear-gradient(145deg, #0d3327, #11382b);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.faq-list details[open] {
    border-color: rgba(255, 215, 0, 0.22);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    padding: 22px 24px;
    font-weight: 800;
    font-size: 1.03rem;
    line-height: 1.45;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.08);
    color: #ffd700;
    font-size: 1.2rem;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    margin: 0;
    padding: 0 24px 24px;
    color: #c0ccc6;
    line-height: 1.78;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.inst-card {
    padding: 28px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 20px;
    background: linear-gradient(145deg, #0d3327, #11382b);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.inst-card h2 {
    margin: 0 0 10px;
    font-size: 1.22rem;
}

.inst-card p {
    margin: 0;
    color: #b9c8c1;
    line-height: 1.75;
}

.inst-tag {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 999px;
    color: #ffd700;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.inst-note {
    padding: 20px 22px;
    border: 1px solid rgba(255, 215, 0, 0.23);
    border-radius: 15px;
    background: rgba(255, 215, 0, 0.055);
    color: #d7e0db;
    line-height: 1.7;
}

.inst-note strong {
    color: #ffd700;
}

.legal-copy .inst-card {
    max-width: 920px;
}

@media (max-width: 980px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .inst-grid {
        grid-template-columns: 1fr;
    }

    .inst-nav {
        position: static;
    }
}

@media (max-width: 560px) {
    .inst-container {
        width: min(100% - 24px, 1180px);
    }

    .inst-hero {
        padding: 52px 0 42px;
    }

    .inst-section {
        padding: 36px 0 58px;
    }

    .inst-card,
    .faq-list summary,
    .faq-list p {
        padding-left: 18px;
        padding-right: 18px;
    }

    .inst-nav {
        padding: 18px;
    }
}
