/* ============================
   GLOSSÁRIO
   ============================ */

.glossario-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 0 80px 0;
}

.glossario-content h1 {
    font-size: clamp(24px, 5.5vw, 32px);
    margin-bottom: 12px;
}

.glossario-intro {
    text-align: left;
    max-width: none;
    color: #555;
    font-size: 17px;
    margin-bottom: 30px;
}

.glossario-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 12px;
    margin-bottom: 40px;
}

.glossario-toc a {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.glossario-toc a:hover {
    background: #eafaf0;
    border-color: #00A651;
    color: #00A651;
}

.termo {
    padding: 22px 0;
    border-bottom: 1px solid #eaeaea;
    scroll-margin-top: 90px;
}

.termo:last-child {
    border-bottom: none;
}

.termo h2 {
    font-size: 19px;
    margin-bottom: 8px;
}

.termo p {
    text-align: left;
    max-width: none;
    margin: 0;
    color: #444;
}

.termo p a {
    color: #00A651;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .glossario-content {
        padding: 30px 0 50px 0;
    }

    .glossario-toc {
        padding: 14px;
        margin-bottom: 24px;
    }
}
