/* Termos de Uso - Estilos */

.termos-section {
    padding: 3rem 0 5rem;
    background: #fff;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Índice */
.termos-indice {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 4px solid #c8a961;
}

.termos-indice h3 {
    color: #1f3044;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.termos-indice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.termos-indice li {
    margin-bottom: 0.75rem;
}

.termos-indice a {
    color: #1f3044;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
}

.termos-indice a:hover {
    background: white;
    color: #c8a961;
    padding-left: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Introdução */
.termos-intro {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.termos-intro p {
    margin-bottom: 1rem;
}

.termos-intro p:last-child {
    margin-bottom: 0;
}

/* Seções */
.termos-secao {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.termos-secao h2 {
    color: #1f3044;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #c8a961;
}

.termos-secao h3 {
    color: #1f3044;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.termos-secao h4 {
    color: #2d4a68;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.termos-secao p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.termos-secao ul {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.termos-secao li {
    color: #333;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.termos-secao li.sub-item {
    margin-left: 2rem;
    list-style-type: circle;
    color: #666;
}

/* Definições */
.definicao-item {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 3px solid #c8a961;
}

.definicao-item strong {
    color: #1f3044;
    font-size: 1.1rem;
}

/* Avisos Importantes */
.aviso-importante {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 10px;
    text-align: center;
}

.aviso-importante p {
    color: #856404;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

/* Categorias de Proibição */
.proibicao-categoria {
    background: #fff;
    border: 2px solid #dc3545;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.proibicao-categoria h4 {
    color: #dc3545;
    margin-top: 0;
    font-size: 1.25rem;
}

.proibicao-categoria ul {
    margin-bottom: 0;
}

/* Box de Contato */
.contato-box {
    background: linear-gradient(135deg, #1f3044 0%, #2d4a68 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.contato-box p {
    margin-bottom: 0.75rem;
    color: white;
    text-align: left;
}

.contato-box p:last-child {
    margin-bottom: 0;
}

.contato-box strong {
    color: #c8a961;
}

/* Aceitação Final */
.termos-aceitacao {
    background: linear-gradient(135deg, #c8a961 0%, #a68b4d 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(200, 169, 97, 0.3);
}

.termos-aceitacao h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.termos-aceitacao p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.termos-aceitacao p:last-child {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsivo */
@media (max-width: 768px) {
    .termos-section {
        padding: 2rem 0 3rem;
    }
    
    .termos-secao h2 {
        font-size: 1.5rem;
    }
    
    .termos-indice {
        padding: 1.5rem;
    }
    
    .termos-secao p,
    .termos-secao li {
        text-align: left;
    }
    
    .contato-box {
        padding: 1.5rem;
    }
    
    .termos-aceitacao {
        padding: 1.5rem;
    }
    
    .termos-aceitacao h3 {
        font-size: 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Destaque ao clicar em links do índice */
.termos-secao:target {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% {
        background: rgba(200, 169, 97, 0.1);
    }
    100% {
        background: transparent;
    }
}
