/**
 * RESPONSIVE TERMOS CSS - ATLANTIDA DMC
 * Estilos responsivos específicos para termos-de-uso.html e terms-of-use-en.html
 * Inclui: Texto legal, seções, listas, formatação jurídica
 */

/* ===== HERO TERMOS ===== */
@media (max-width: 767px) {
    .terms-hero, .termos-hero {
        min-height: 40vh !important;
        padding: 60px 15px 30px !important;
        text-align: center !important;
    }
    
    .terms-hero-title, .termos-hero-title {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
        margin-bottom: 15px !important;
    }
    
    .terms-hero-subtitle, .termos-hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
        opacity: 0.8 !important;
    }
}

/* ===== CONTEÚDO LEGAL ===== */
@media (max-width: 767px) {
    .legal-content, .conteudo-legal {
        padding: 30px 15px !important;
        max-width: 100% !important;
    }
    
    .legal-section, .secao-legal {
        margin-bottom: 30px !important;
        background: white !important;
        padding: 20px !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1) !important;
    }
    
    .legal-title, .titulo-legal {
        font-size: 16px !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
        color: #333 !important;
        border-bottom: 2px solid var(--primary-color) !important;
        padding-bottom: 8px !important;
    }
    
    .legal-text, .texto-legal {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #555 !important;
        text-align: justify !important;
    }
    
    .legal-text p {
        margin-bottom: 12px !important;
    }
    
    .legal-list, .lista-legal {
        padding-left: 20px !important;
        margin: 15px 0 !important;
    }
    
    .legal-list li, .lista-legal li {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
        color: #555 !important;
    }
    
    .legal-highlight, .destaque-legal {
        background: #f8f9fa !important;
        padding: 15px !important;
        border-left: 4px solid var(--primary-color) !important;
        margin: 15px 0 !important;
        border-radius: 0 6px 6px 0 !important;
    }
    
    .legal-highlight p, .destaque-legal p {
        margin: 0 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #333 !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .legal-content, .conteudo-legal {
        padding: 40px 30px !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
    
    .legal-section, .secao-legal {
        padding: 25px !important;
    }
    
    .legal-title, .titulo-legal {
        font-size: 18px !important;
    }
    
    .legal-text, .texto-legal {
        font-size: 14px !important;
    }
}

/* ===== ÍNDICE/SUMÁRIO ===== */
@media (max-width: 767px) {
    .terms-index, .indice-termos {
        background: #f8f9fa !important;
        padding: 20px 15px !important;
        margin-bottom: 20px !important;
        border-radius: 8px !important;
    }
    
    .index-title, .titulo-indice {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
        color: #333 !important;
        text-align: center !important;
    }
    
    .index-list, .lista-indice {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .index-item, .item-indice {
        margin-bottom: 8px !important;
    }
    
    .index-link, .link-indice {
        display: block !important;
        padding: 8px 12px !important;
        background: white !important;
        color: var(--primary-color) !important;
        text-decoration: none !important;
        border-radius: 4px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
    }
    
    .index-link:hover, .link-indice:hover {
        background: var(--primary-color) !important;
        color: white !important;
    }
}

/* ===== SEÇÃO DE CONTACTO LEGAL ===== */
@media (max-width: 767px) {
    .legal-contact, .contacto-legal {
        background: var(--primary-color) !important;
        color: white !important;
        padding: 25px 15px !important;
        text-align: center !important;
        margin-top: 30px !important;
    }
    
    .legal-contact-title, .titulo-contacto-legal {
        font-size: 16px !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
    }
    
    .legal-contact-text, .texto-contacto-legal {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
        opacity: 0.9 !important;
    }
    
    .legal-contact-info, .info-contacto-legal {
        font-size: 13px !important;
        font-weight: 500 !important;
    }
    
    .legal-contact-info a, .info-contacto-legal a {
        color: white !important;
        text-decoration: underline !important;
    }
}

/* ===== DATA DE ATUALIZAÇÃO ===== */
@media (max-width: 767px) {
    .update-info, .info-atualizacao {
        text-align: center !important;
        padding: 20px 15px !important;
        background: #f8f9fa !important;
        margin-top: 20px !important;
        border-radius: 8px !important;
    }
    
    .update-text, .texto-atualizacao {
        font-size: 11px !important;
        color: #666 !important;
        font-style: italic !important;
    }
    
    .update-date, .data-atualizacao {
        font-weight: 500 !important;
        color: #333 !important;
    }
}

/* ===== NUMERAÇÃO DE SEÇÕES ===== */
@media (max-width: 767px) {
    .section-number, .numero-secao {
        display: inline-block !important;
        background: var(--primary-color) !important;
        color: white !important;
        width: 25px !important;
        height: 25px !important;
        border-radius: 50% !important;
        text-align: center !important;
        line-height: 25px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        margin-right: 10px !important;
        flex-shrink: 0 !important;
    }
    
    .numbered-title, .titulo-numerado {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 15px !important;
    }
}

/* ===== TABELAS (SE EXISTIREM) ===== */
@media (max-width: 767px) {
    .legal-table, .tabela-legal {
        width: 100% !important;
        overflow-x: auto !important;
        margin: 15px 0 !important;
    }
    
    .legal-table table, .tabela-legal table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 11px !important;
    }
    
    .legal-table th, .tabela-legal th,
    .legal-table td, .tabela-legal td {
        padding: 8px 6px !important;
        border: 1px solid #ddd !important;
        text-align: left !important;
    }
    
    .legal-table th, .tabela-legal th {
        background: #f8f9fa !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
}
