/**
 * Document Page CSS - Inteligência Brasil
 * Estilos para páginas de documentos (termos, políticas)
 * v1.0.0
 */

/* ========================================
   NAVBAR NAVY BLUE THEME
   ======================================== */
.navbar-custom {
    background: rgba(13, 30, 56, 0.95) !important;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(20px);
}

.navbar-custom.top-nav-collapse {
    background: rgba(10, 22, 40, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-custom .nav-link {
    color: #F1F5F9 !important;
}

.navbar-custom .nav-link:hover {
    color: #60A5FA !important;
}

/* ========================================
   SPINNER NAVY
   ======================================== */
.spinner-wrapper {
    background: #0D1E38 !important;
}

.spinner > div {
    background: #60A5FA !important;
}

/* ========================================
   PRIVACY/DOCUMENT PAGE HERO
   ======================================== */
.privacy-hero {
    background: linear-gradient(135deg, rgba(13, 30, 56, 0.98) 0%, rgba(10, 22, 40, 0.99) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
}

.privacy-hero .container {
    position: relative;
    z-index: 1;
}

.privacy-hero h1 {
    color: #FFFFFF;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.privacy-hero h1 i {
    color: #60A5FA;
    margin-right: 15px;
}

.privacy-hero p {
    color: #94A3B8;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.privacy-hero .badge-servico {
    display: inline-block;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #60A5FA;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* ========================================
   PRIVACY/DOCUMENT CONTENT SECTION
   ======================================== */
.privacy-content {
    background: #0D1E38;
    padding: 80px 0;
}

.privacy-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.privacy-nav a {
    color: #60A5FA;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privacy-nav a:hover {
    color: #93C5FD;
}

.privacy-nav span {
    color: #64748B;
}

/* ========================================
   PRIVACY SECTION CARDS
   ======================================== */
.privacy-section {
    background: rgba(15, 32, 53, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.privacy-section h2 {
    color: #60A5FA;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-section h2 i {
    width: 40px;
    height: 40px;
    background: rgba(96, 165, 250, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.privacy-section h3 {
    color: #F1F5F9;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.75rem 0 0.75rem;
}

.privacy-section p {
    color: #94A3B8;
    line-height: 1.85;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.privacy-section ul {
    padding-left: 0;
    margin: 1rem 0;
    list-style: none;
}

.privacy-section li {
    color: #94A3B8;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
}

.privacy-section li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #60A5FA;
    font-size: 0.75rem;
}

.privacy-section a {
    color: #60A5FA;
    text-decoration: none;
    transition: 0.3s;
}

.privacy-section a:hover {
    color: #93C5FD;
    text-decoration: underline;
}

.privacy-section strong {
    color: #F1F5F9;
}

/* ========================================
   HIGHLIGHT BOX
   ======================================== */
.highlight-box {
    background: rgba(96, 165, 250, 0.15);
    border-left: 4px solid #60A5FA;
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #F1F5F9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box h3 i {
    color: #60A5FA;
}

.highlight-box p {
    color: #CBD5E1;
    margin-bottom: 0;
    line-height: 1.8;
}

/* ========================================
   LAST UPDATE
   ======================================== */
.last-update {
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}

/* ========================================
   RELATED LINKS
   ======================================== */
.related-links {
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.related-links h3 {
    color: #F1F5F9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.related-links h3 i {
    color: #60A5FA;
    margin-right: 10px;
}

.related-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94A3B8;
    text-decoration: none;
    margin-right: 2rem;
    margin-bottom: 0.5rem;
    padding: 8px 16px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 8px;
    transition: 0.3s;
}

.related-links a:hover {
    background: rgba(96, 165, 250, 0.2);
    color: #60A5FA;
}

.related-links a i {
    color: #60A5FA;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 767.98px) {
    .navbar-collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, opacity 0.3s ease;
        opacity: 0;
    }

    .navbar-collapse.collapsing {
        max-height: 0;
        opacity: 0;
    }

    .navbar-collapse.show {
        max-height: 400px;
        opacity: 1;
        transition: max-height 0.4s ease-in, opacity 0.3s ease;
    }

    .privacy-hero h1 {
        font-size: 2rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }
}
