/* termos.css - VERSÃO SIMPLIFICADA - apenas animações que funcionam */

/* termos.css - VERSÃO FINAL (apenas gradiente, sem imagem) */

.terms-hero {
    position: relative;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(26,77,76,0.9) 0%, rgba(196,93,66,0.9) 100%), url('../img/localidade/0ed7ef57-2fa2-464a-bea2-fb8d7cf713b3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin: 20px 20px 0;
    border: 3px solid var(--deep-teal);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.terms-hero:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-hover);
}

.terms-hero-content {
    max-width: 700px;
    z-index: 2;
}

.terms-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    line-height: 1.2;
}

.terms-hero p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
    line-height: 1.6;
}

/* Layout Principal */
main {
    max-width: var(--max-width);
    margin: 80px auto 100px;
    padding: 0 30px;
}

/* Layout com sidebar */
.terms-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* Sidebar de navegação - SIMPLIFICADO */
.terms-sidebar {
    position: sticky;
    top: 120px;
    background: white;
    border: 3px solid var(--deep-teal);
    padding: 30px;
    transition: all 0.3s ease;
}

.terms-sidebar:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.terms-sidebar h3 {
    color: var(--deep-teal);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--clay-red);
}

.terms-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.terms-nav a {
    color: var(--stone-gray);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 0;
    display: block;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    padding-left: 15px;
    font-weight: 400;
}

.terms-nav a:hover {
    color: var(--clay-red);
    border-left-color: var(--clay-red);
    padding-left: 20px;
    background: rgba(196, 93, 66, 0.03);
}

.terms-nav a.active {
    color: var(--deep-teal);
    border-left-color: var(--deep-teal);
    font-weight: 600;
}

/* Conteúdo principal - SIMPLIFICADO */
.terms-content {
    background: white;
    border: 3px solid var(--deep-teal);
    padding: 50px;
    transition: all 0.3s ease;
}

.terms-content:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--off-white);
    border: 2px solid var(--deep-teal);
    margin-bottom: 40px;
}

.last-updated-icon {
    width: 40px;
    height: 40px;
    background: var(--clay-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid white;
    box-shadow: 2px 2px 0 var(--deep-teal);
}

.last-updated-text p {
    margin: 0;
    color: var(--stone-gray);
    font-size: 0.95rem;
}

.last-updated-text strong {
    color: var(--deep-teal);
    font-weight: 600;
}

/* Secções de termos - SIMPLIFICADO */
.terms-section {
    margin-bottom: 50px;
    scroll-margin-top: 120px;
}

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

.terms-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.terms-section-number {
    width: 50px;
    height: 50px;
    background: var(--deep-teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 4px 4px 0 var(--clay-red);
    transition: all 0.3s ease;
}

.terms-section:hover .terms-section-number {
    transform: translate(-2px, -2px) scale(1.05);
    background: var(--clay-red);
    box-shadow: 6px 6px 0 var(--deep-teal);
}

.terms-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.terms-section:hover .terms-section-title {
    color: var(--deep-teal);
}

.terms-section-content {
    padding-left: 70px;
}

.terms-section-content h3 {
    color: var(--deep-teal);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 25px 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terms-section-content h3:first-of-type {
    margin-top: 0;
}

.terms-section-content p {
    color: var(--stone-gray);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.terms-section-content ul,
.terms-section-content ol {
    margin: 15px 0 20px;
    padding-left: 20px;
}

.terms-section-content li {
    color: var(--stone-gray);
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 1rem;
}

.terms-section-content li::marker {
    color: var(--clay-red);
}

/* Destaque para notas importantes - SIMPLIFICADO */
.important-note {
    background: var(--light-clay);
    border-left: 4px solid var(--clay-red);
    padding: 20px;
    margin: 30px 0 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.important-note:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow);
}

.important-note i {
    color: var(--clay-red);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.important-note p {
    margin: 0;
    color: var(--charcoal);
    font-weight: 500;
    line-height: 1.6;
}

/* Separador decorativo */
.terms-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clay-red), transparent);
    margin: 40px 0;
    opacity: 0.3;
}

/* Badge para versão */
.version-badge {
    display: inline-block;
    background: var(--light-clay);
    border: 2px solid var(--deep-teal);
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--deep-teal);
    font-weight: 600;
    margin-left: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Language Selector */
#language-select {
    padding: 8px 16px;
    border: 2px solid var(--deep-teal);
    background: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    color: var(--deep-teal);
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-family: var(--font);
}

#language-select:hover {
    background: var(--deep-teal);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .terms-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .terms-sidebar {
        position: static;
        top: 0;
    }
    
    .terms-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .terms-hero {
        min-height: 300px;
        margin: 15px 15px 0;
    }
    
    .terms-hero h1 {
        font-size: 2.2rem;
    }
    
    .terms-hero p {
        font-size: 1rem;
    }
    
    .terms-content {
        padding: 30px;
    }
    
    .terms-section-header {
        gap: 15px;
    }
    
    .terms-section-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .terms-section-title {
        font-size: 1.4rem;
    }
    
    .terms-section-content {
        padding-left: 55px;
    }
}

@media (max-width: 600px) {
    .terms-content {
        padding: 25px;
    }
    
    .terms-section-header {
        flex-wrap: wrap;
    }
    
    .terms-section-content {
        padding-left: 0;
    }
    
    .last-updated {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .terms-hero h1 {
        font-size: 1.8rem;
    }
    
    .terms-content {
        padding: 20px;
    }
    
    .terms-section-title {
        font-size: 1.2rem;
    }
    
    .important-note {
        flex-direction: column;
        gap: 10px;
    }
}