/* Estilos específicos para a página Termos de Uso */

/* Navegação Ativa */
.nav-links a.active {
    color: #9d4edd;
}

.nav-links a.active::after {
    width: 100%;
}

/* Hero da página de termos */
.terms-hero {
    background: linear-gradient(135deg, rgba(26, 17, 66, 0.9) 0%, rgba(61, 18, 95, 0.9) 100%);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.terms-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(78, 221, 152, 0.6);
    background: linear-gradient(to right, #9d4edd, #4edd98);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.terms-hero p {
    font-size: 1.2rem;
    color: #d1c7e2;
    max-width: 700px;
    margin: 0 auto;
}

/* Conteúdo da página de termos */
.terms-content {
    padding: 80px 0;
    background-color: rgba(12, 10, 29, 0.7);
}

.content-wrapper {
    background: rgba(26, 17, 66, 0.5);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(157, 78, 221, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.last-updated {
    text-align: right;
    color: #9d4edd;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.intro-text {
    margin-bottom: 30px;
    color: #e2d8f3;
    line-height: 1.7;
}

/* Navegação dos termos */
.terms-nav {
    background: rgba(26, 17, 66, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.terms-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.terms-nav li {
    margin-bottom: 10px;
}

.terms-nav a {
    color: #d1c7e2;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    background: rgba(157, 78, 221, 0.1);
}

.terms-nav a:hover {
    color: #fff;
    background: rgba(157, 78, 221, 0.3);
    transform: translateY(-2px);
}

.terms-nav a.active {
    background: rgba(78, 221, 152, 0.2);
    color: #4edd98;
    border-left: 3px solid #4edd98;
}

/* Seções de termos */
.term-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px; /* Espaço para navegação por âncora */
}

.term-section:last-child {
    margin-bottom: 0;
}

.term-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 0 8px rgba(78, 221, 152, 0.4);
    position: relative;
    padding-bottom: 15px;
}

.term-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #9d4edd, #4edd98);
}

.term-section h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: #9d4edd;
}

.term-section p {
    color: #e2d8f3;
    line-height: 1.7;
    margin-bottom: 20px;
}

.term-section ul, 
.term-section ol {
    margin: 0 0 20px 25px;
    color: #e2d8f3;
    line-height: 1.7;
}

.term-section li {
    margin-bottom: 10px;
}

.term-section a {
    color: #4edd98;
    text-decoration: none;
    transition: color 0.3s;
}

.term-section a:hover {
    color: #9d4edd;
    text-decoration: underline;
}

.contact-info {
    background: rgba(26, 17, 66, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Texto em caixa alta para disclaimers */
.term-section#disclaimers p,
.term-section#limitacao p {
    font-size: 0.9rem;
}

/* Botão de voltar ao topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9d4edd 0%, #4edd98 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 100;
    font-size: 1.5rem;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.6);
}

/* Destacando a seção ativa */
.term-section.active h2 {
    color: #4edd98;
}

/* Efeitos especiais */
.term-section#disclaimers,
.term-section#limitacao {
    background: rgba(157, 78, 221, 0.05);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid rgba(157, 78, 221, 0.1);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.term-section {
    animation: fadeIn 0.5s ease-out forwards;
}

.term-section:nth-child(2) {
    animation-delay: 0.1s;
}

.term-section:nth-child(3) {
    animation-delay: 0.2s;
}

.term-section:nth-child(4) {
    animation-delay: 0.3s;
}

/* Footer */
footer {
    background: rgba(26, 17, 66, 0.7);
    padding: 60px 0 20px;
    color: #d1c7e2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #9d4edd, #4edd98);
}

.footer-column p {
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #d1c7e2;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #4edd98;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #d1c7e2;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #4edd98;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #d1c7e2;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #9d4edd;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #4edd98;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 1200px) {
    .terms-hero h1 {
        font-size: 2.5rem;
    }
    
    .term-section h2 {
        font-size: 1.6rem;
    }
    
    .term-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .terms-content {
        padding: 60px 0;
    }
    
    .content-wrapper {
        padding: 30px;
    }
    
    .terms-nav ul {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .terms-hero {
        padding: 120px 0 50px;
    }
    
    .terms-hero h1 {
        font-size: 2.2rem;
    }
    
    .terms-hero p {
        font-size: 1rem;
    }
    
    .terms-nav {
        overflow-x: auto;
        padding: 15px;
    }
    
    .terms-nav ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
    }
    
    .terms-nav a {
        white-space: nowrap;
        padding: 8px 12px;
    }
    
    .term-section h2 {
        font-size: 1.5rem;
    }
    
    .term-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .terms-hero {
        padding: 100px 0 40px;
    }
    
    .terms-hero h1 {
        font-size: 1.8rem;
    }
    
    .content-wrapper {
        padding: 20px;
    }
    
    .terms-nav {
        margin-bottom: 30px;
    }
    
    .term-section {
        margin-bottom: 40px;
    }
    
    .term-section h2 {
        font-size: 1.4rem;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }
    
    .term-section ul, 
    .term-section ol {
        margin-left: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 375px) {
    .terms-hero h1 {
        font-size: 1.6rem;
    }
    
    .terms-hero p {
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        padding: 15px;
    }
    
    .term-section h2 {
        font-size: 1.3rem;
    }
}