/* Guia Oficial da Arena — estilos exclusivos (importa styles.css) */

html {
    scroll-behavior: smooth;
}

.guia-page {
    padding-bottom: 3rem;
}

/* Sticky nav — abaixo do header fixo (altura em --arena-header-h) */
.guia-sticky-nav {
    position: sticky;
    top: var(--arena-header-h, 80px);
    z-index: 99;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
}
.guia-sticky-nav__inner {
    display: flex;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 1200px;
    margin: 0 auto;
}
.guia-sticky-nav__inner::-webkit-scrollbar {
    display: none;
}
.guia-sticky-nav a {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    transition: all 0.2s;
}
.guia-sticky-nav a:hover,
.guia-sticky-nav a.active {
    color: #fff;
    background: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.25);
}

/* Sections */
.guia-section {
    padding: 3.5rem 0;
    scroll-margin-top: calc(var(--arena-header-h, 80px) + var(--guia-sticky-nav-h, 48px) + 12px);
}
.guia-section--alt {
    background: rgba(255, 255, 255, 0.02);
}
.guia-section__title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 900;
    margin: 0 0 0.75rem;
}
.guia-section__subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.55;
}
.guia-section__lead {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 640px;
}
.guia-prose-justify .guia-section__lead {
    text-align: justify;
    text-justify: inter-word;
}

/* Hero */
.guia-hero {
    position: relative;
    min-height: min(88vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1rem 4rem;
    overflow: hidden;
}
.guia-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 58, 237, 0.22), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.12), transparent);
    pointer-events: none;
}
.guia-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.guia-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 900;
    margin: 0 0 1rem;
    line-height: 1.1;
}
.guia-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}
.guia-hero__actions a {
    text-decoration: none;
}

/* Feature cards */
.guia-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.guia-feature-card {
    padding: 1.25rem;
    text-align: center;
    border-radius: 16px;
}
.guia-feature-card__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
.guia-feature-card h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}
.guia-feature-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.45;
}

/* Two col */
.guia-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.guia-visual-box {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.guia-visual-box__big {
    font-size: 4rem;
    line-height: 1;
}

/* Steps */
.guia-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.guia-step-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    align-items: start;
}
.guia-step-card__num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    color: #fff;
    flex-shrink: 0;
}
.guia-step-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}
.guia-step-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Who can play */
.guia-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.guia-who-card {
    padding: 1.5rem;
}
.guia-who-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}
.guia-who-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    font-size: 0.95rem;
}
.guia-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 1.5rem;
    text-align: center;
}

/* Temas */
.guia-temas-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}
.guia-temas-filtros button {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.guia-temas-filtros button.active,
.guia-temas-filtros button:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
    color: #fff;
}
.guia-temas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.guia-tema-card {
    padding: 1.1rem;
    transition: transform 0.25s, box-shadow 0.25s;
}
.guia-tema-card:hover {
    transform: translateY(-4px);
}
.guia-tema-card[data-dificuldade='Fácil']:hover {
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
}
.guia-tema-card[data-dificuldade='Médio']:hover {
    box-shadow: 0 8px 24px rgba(234, 179, 8, 0.2);
}
.guia-tema-card[data-dificuldade='Difícil']:hover {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}
.guia-tema-card[data-dificuldade='Muito Difícil']:hover {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}
.guia-tema-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.guia-tema-card__head h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}
.badge-dificuldade {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    text-transform: uppercase;
}
.badge-facil {
    background: #166534;
    color: #86efac;
    border: 1px solid #22c55e;
}
.badge-medio {
    background: #713f12;
    color: #fde68a;
    border: 1px solid #eab308;
}
.badge-dificil {
    background: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #ef4444;
}
.badge-muito-dificil {
    background: #581c87;
    color: #e9d5ff;
    border: 1px solid #a855f7;
}
.guia-tema-card__desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.45;
    margin: 0 0 0.65rem;
}
.guia-tema-card__ex-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neon-cyan);
    display: block;
    margin-bottom: 0.35rem;
}
.guia-tema-card__exemplos ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}
.guia-tema-card__exemplos li {
    margin-bottom: 0.15rem;
}

/* Tables */
.guia-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.guia-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.guia-table th,
.guia-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.guia-table th {
    background: rgba(168, 85, 247, 0.12);
    color: var(--neon-cyan);
    font-weight: 700;
}
.guia-table tbody tr:last-child td {
    border-bottom: none;
}
.guia-callout {
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.08);
    border-left: 3px solid var(--neon-purple);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    margin: 1rem 0;
}

/* Patentes */
.guia-patentes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}
.guia-patente-card {
    text-align: center;
    padding: 1rem 0.5rem;
    border: 2px solid color-mix(in srgb, var(--patente-cor) 55%, transparent);
    transition: transform 0.2s, box-shadow 0.2s;
}
.guia-patente-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px color-mix(in srgb, var(--patente-cor) 35%, transparent);
}
.guia-patente-card__icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.35rem;
}
.guia-patente-card h3 {
    margin: 0;
    font-size: 0.82rem;
}
.guia-patente-card__faixa {
    margin: 0.25rem 0 0;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Contrib / conduta */
.guia-highlight-block {
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.06));
}
.guia-list {
    margin: 1rem 0;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}
.guia-list li {
    margin-bottom: 0.35rem;
}
.guia-punish-step {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}
.guia-punish-step strong {
    color: var(--neon-cyan);
}

/* FAQ */
.guia-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.guia-faq-item {
    overflow: hidden;
    border-radius: 12px;
}
.guia-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}
.guia-faq-chevron {
    flex-shrink: 0;
    font-size: 0.65rem;
    transition: transform 0.3s;
    opacity: 0.6;
}
.guia-faq-item.is-open .guia-faq-chevron {
    transform: rotate(180deg);
}
.guia-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s;
    opacity: 0;
}
.guia-faq-item.is-open .guia-faq-panel {
    opacity: 1;
}
.guia-faq-panel p {
    margin: 0;
    padding: 0 1.15rem 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* CTA final */
.guia-cta-final {
    text-align: center;
    padding: 4rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(37, 99, 235, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
}

/* Footer */
.guia-footer {
    margin-top: 3rem;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.guia-footer__logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.guia-footer__links {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.guia-footer__links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.guia-footer__links a:hover {
    color: var(--neon-cyan);
}
.guia-footer__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Reveal */
.guia-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.guia-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .guia-temas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .guia-patentes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .guia-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .guia-section {
        padding: 2.5rem 0;
    }
    .guia-two-col,
    .guia-who-grid {
        grid-template-columns: 1fr;
    }
    .guia-temas-grid {
        grid-template-columns: 1fr;
    }
    .guia-patentes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .guia-hero__actions .btn {
        width: 100%;
    }
}
