/* ======== Container Principal ======== */
.containerTermos {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.6s ease-out;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.containerTermos:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Responsividade para dispositivos menores */
@media (max-width: 600px) {
    .containerTermos {
        padding: 1rem !important;
    }
}

.termos-header {
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    animation: slideInUp 0.6s ease-out;
    margin-bottom: 20px !important;
    text-align: center;
}

.termos-icon {
    background: linear-gradient(135deg, #00c853, #4caf50);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
}

.termos-icon:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.termos-icon i {
    font-size: 2.2rem;
    color: #ffffff;
}

.termos-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.termos-header .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.version-tag,
.update-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: #00c853;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 200, 83, 0.3);
    backdrop-filter: blur(10px);
}

.version-tag i,
.update-tag i {
    margin-right: 8px;
}

.termos-version {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.version-tag:hover, .update-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.version-tag i, .update-tag i {
    margin-right: 0.5rem;
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    .termos-header {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .termos-header h1 {
        font-size: 2.2rem;
    }
    
    .termos-icon {
        width: 70px;
        height: 70px;
    }
    
    .termos-icon i {
        font-size: 2rem;
    }
    
    .termos-version {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .termos-header {
        padding: 1.5rem 1rem;
    }
    
    .termos-header h1 {
        font-size: 1.8rem;
    }
    
    .termos-header .subtitle {
        font-size: 1rem;
    }
}

/* ======== Cabeçalho Principal (Legado) ======== */
.titulo-principal__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 30vh;
}

.titulo-principal-mobile {
    padding: 2rem;
}

.titulo-principal__wrapper h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

/* ======== Título Principal ======== */
.termos_h1 {
    color: #ffffff !important;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Responsividade para Mobile */
@media (max-width: 576px) {
    .termos_h1 {
        font-size: 1.8rem;
        margin-top: 3rem;
    }
}

/* ======== Box de Informações Gerais ======== */
.termos_item {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 8px;
    color: #ffffff !important;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ======== Versão e Atualização ======== */
.termos_versao {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    display: flex;
    gap: 1rem;
}

/* Responsividade */
@media (max-width: 576px) {
    .termos_versao {
        font-size: 0.8rem;
        margin-bottom: 3rem;
    }
}

/* ======== Mobile Responsivo ======== */
@media (max-width: 768px) {
    .containerTermos {
        padding: 1rem;
        margin: 0 15px;
    }
    
    .titulo-principal-mobile {
        padding: 1.5rem !important;
    }
    
    .termos_h1 {
        font-size: 1.8rem !important;
    }
    
    .termos_versao {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .termos_versao p {
        margin-bottom: 0.3rem !important;
    }
}

/* ======== Seção dos Termos ======== */
.termos_secao {
    width: 100%;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ======== Títulos das Seções ======== */
.termos_h2 {
    color: #00c853 !important;
    border-left: 4px solid #00c853;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.termos_h2 i {
    margin-right: 0.5rem;
    color: #00c853 !important;
}

/* ======== Conteúdo Interno ======== */
.termos_conteudo p {
    margin: 1rem 0;
    line-height: 1.6;
    color: #ffffff !important;
    text-align: justify;
}

/* ======== Listas de Regras ======== */
.termos_ul {
    list-style: none;
    padding-left: 1rem;
}

.termos_ul li {
    align-items: center;
    gap: 0.5rem;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.termos_ul li i {
    color: #00c853 !important;
    margin-right: 0.5rem;
}

/* Links Específicos */
.link-plataforma,
.link-politica,
.link-report,
.link-certificado,
.email-link {
    color: #4ecdc4 !important;
    text-decoration: none;
}

.link-plataforma:hover,
.link-politica:hover,
.link-report:hover,
.link-certificado:hover,
.email-link:hover {
    color: #00c853 !important;
    text-decoration: underline;
}

/* ======== Ajuste de Fonte ======== */
p, li {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff !important;
}

/* Destaques dentro dos textos */
.termos_conteudo strong {
    color: #4ecdc4 !important;
}

/* ======== Estilos adicionais ======== */
.termos_tabela td {
    padding: 0.5rem;
    vertical-align: top;
    color: #ffffff !important;
}

.termos_tabela td:first-child {
    font-weight: 600;
    width: 30%;
}

.contato_bloco {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.contato_item {
    flex: 1 1 45%;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.contato_item p {
    margin: 0.5rem 0;
    color: #ffffff !important;
}

/* Estilo para subtítulos */
.termos_subtitulo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #00c853 !important;
    margin-top: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 5px solid #00c853;
    padding-left: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.termos_subtitulo i {
    font-size: 1.8rem;
    color: #f39c12 !important;
    transition: transform 0.3s ease;
}

.termos_subtitulo:hover i {
    transform: rotate(360deg);
}

/* Estilo para a seção de tutorial */
.termos_tutorial {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff !important;
}

/* Estilo para subtítulos de navegadores */
.termos_tutorial h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff !important;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.termos_tutorial h4 i {
    font-size: 1.5rem;
    color: #f39c12 !important;
}

/* Estilo para listas de passos */
.termos_tutorial ol {
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 20px;
    color: #ffffff !important;
}

.termos_tutorial ol li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #ffffff !important;
}

.termos_ul_marque {
    list-style-type: disc;
    margin-left: 40px;
    margin-top: 5px;
}

.termos_ul_marque li {
    color: #ffffff !important;
}

/* ======== Estilos para o cabeçalho moderno ======== */
.header-moderno {
    background: linear-gradient(135deg, #01335a 0%, #024b85 100%) !important;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(1, 51, 90, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    text-align: center;
}

.header-moderno::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
}

.header-moderno h1 {
    color: #ffffff !important;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.header-moderno h1 i {
    margin-right: 1rem;
    color: #4ecdc4 !important;
    font-size: 2rem;
}

.versao-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1.2rem;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-left: 4px solid #4ecdc4;
    border-right: 4px solid #4ecdc4;
    border-left-width: 0;
    justify-content: center;
    margin: 0 auto;
    max-width: 90%;
}

.versao-container p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.versao-container p i {
    margin-right: 0.8rem;
    color: #4ecdc4 !important;
    font-size: 1.1rem;
}

.versao-container p strong {
    margin-right: 0.5rem;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .header-moderno {
        padding: 1.8rem;
        border-radius: 8px;
    }
    
    .header-moderno h1 {
        font-size: 1.8rem;
    }
    
    .header-moderno h1 i {
        font-size: 1.6rem;
    }
    
    .versao-container {
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .versao-container p {
        font-size: 0.9rem;
    }
}

/* ======== Links e Ícones de Acesso ======== */
.link-plataforma, .link-nao-seguro {
    text-decoration: none;
    font-weight: 600;
    color: #4ecdc4 !important;
}

.link-plataforma:hover, .link-nao-seguro:hover {
    text-decoration: underline;
    color: #00c853 !important;
}

.seguranca-exemplos {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seguranca-subtitulo {
    font-size: 1.2rem;
    color: #00c853 !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seguro, .nao-seguro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
}

.seguro {
    background: rgba(76, 175, 80, 0.1) !important;
    border: 1px solid #4caf50;
}

.nao-seguro {
    background: rgba(244, 67, 54, 0.1) !important;
    border: 1px solid #f44336;
}

.seguro i {
    font-size: 1.5rem;
    color: #4caf50 !important;
}

.nao-seguro i {
    font-size: 1.5rem;
    color: #f44336 !important;
}

.seguro p,
.seguro strong {
    color: #ffffff !important;
}

.nao-seguro p,
.nao-seguro strong {
    color: #ffffff !important;
}

/* Animação de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
