/* Estilos para a página de Glossário */

/* Hero Section */
.glossary-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glossary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #05103C;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%2305103C' stroke-width='0.3' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cuse fill='%23242745' href='%23s' y='2'/%3E%3Cuse fill='%23242745' href='%23s' x='1' y='2'/%3E%3Cuse fill='%2333354e' href='%23s' x='2' y='2'/%3E%3Cuse fill='%2333354e' href='%23s'/%3E%3Cuse fill='%233f4055' href='%23s' x='2'/%3E%3Cuse fill='%233f4055' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23484a5c'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23484a5c'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23515263'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%2305103C'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23585a69'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='scale(19.8) translate(-949.49 -712.12)'%3E%3Cg fill='%23F60'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.glossary-hero-container {
    position: relative;
    z-index: 2;
}

.glossary-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.glossary-hero-description {
    font-size: 1.25rem;
    color: var(--light);
    max-width: 800px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.2s ease;
}

/* Campo de Busca */
.glossary-search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.glossary-search-container input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glossary-search-container input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.5);
}

.glossary-search-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.glossary-search-container button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent);
    border: none;
    color: var(--dark);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.glossary-search-container button:hover {
    background-color: var(--accent-light);
}

/* Índice Alfabético */
.glossary-index {
    padding: 50px 0 30px;
    background-color: var(--dark);
    position: sticky;
    top: 80px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alphabet-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.alphabet-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.alphabet-letter:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Conteúdo do Glossário */
.glossary-content {
    padding: 50px 0 100px;
    background-color: var(--dark);
}

.glossary-section {
    margin-bottom: 60px;
}

.glossary-letter {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glossary-term {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.glossary-term:last-child {
    border-bottom: none;
}

.glossary-term h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.glossary-term p {
    color: var(--light);
    line-height: 1.7;
}

/* Mensagem de Resultados de Busca */
.search-results-message {
    text-align: center;
    padding: 50px 0;
}

.search-results-message p {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* CTA Section */
.glossary-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glossary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-dots.png');
    opacity: 0.1;
    z-index: 1;
}

.glossary-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.glossary-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.glossary-cta-description {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 40px;
}

.glossary-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsividade */
@media (max-width: 992px) {
    .glossary-hero-title {
        font-size: 2.8rem;
    }
    
    .glossary-index {
        top: 70px;
    }
}

@media (max-width: 768px) {
    .glossary-hero {
        padding: 100px 0 60px;
    }
    
    .glossary-hero-title {
        font-size: 2.2rem;
    }
    
    .glossary-hero-description {
        font-size: 1.1rem;
    }
    
    .glossary-content,
    .glossary-cta {
        padding: 70px 0;
    }
    
    .alphabet-index {
        gap: 5px;
    }
    
    .alphabet-letter {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .glossary-letter {
        font-size: 2rem;
    }
    
    .glossary-cta-title {
        font-size: 2rem;
    }
    
    .glossary-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .glossary-hero-title {
        font-size: 1.8rem;
    }
    
    .alphabet-letter {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .glossary-term h3 {
        font-size: 1.3rem;
    }
    
    .glossary-cta-title {
        font-size: 1.8rem;
    }
}


