/**
 * Política de Privacidade CSS — iDLock AuthN 2FA
 * Herda variáveis e padrões da landing.css
 * Mobile-first, tema claro/escuro, acessível
 */

/* ===== Skip link (acessibilidade) ===== */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    background: var(--accent, #2563eb);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ===== Reset e variáveis (copiadas da landing) ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root,
[data-theme="light"] {
    --bg-primary:    #ffffff;
    --bg-secondary:  #f8fafc;
    --bg-tertiary:   #f1f5f9;
    --bg-hero:       linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    --bg-card:       #ffffff;
    --text-primary:  #0f172a;
    --text-secondary:#475569;
    --text-tertiary: #94a3b8;
    --text-inverse:  #ffffff;
    --border-color:  #e2e8f0;
    --accent:        #2563eb;
    --accent-hover:  #1d4ed8;
    --accent-light:  #dbeafe;
    --success:       #16a34a;
    --success-light: #dcfce7;
    --danger:        #dc2626;
    --warning:       #f59e0b;
    --warning-light: #fef9c3;
    --info-light:    #dbeafe;
    --shadow-sm:     0 1px 2px rgba(0,0,0,0.05);
    --shadow-md:     0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg:     0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     16px;
    --radius-full:   9999px;
    --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition:    0.2s ease;
}

[data-theme="dark"] {
    --bg-primary:    #0f172a;
    --bg-secondary:  #1e293b;
    --bg-tertiary:   #334155;
    --bg-hero:       linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    --bg-card:       #1e293b;
    --text-primary:  #f1f5f9;
    --text-secondary:#94a3b8;
    --text-tertiary: #64748b;
    --text-inverse:  #ffffff;
    --border-color:  #334155;
    --accent:        #3b82f6;
    --accent-hover:  #60a5fa;
    --accent-light:  #1e3a5f;
    --success:       #22c55e;
    --success-light: #14532d;
    --danger:        #ef4444;
    --warning:       #f59e0b;
    --warning-light: #451a03;
    --info-light:    #1e3a5f;
    --shadow-sm:     0 1px 2px rgba(0,0,0,0.3);
    --shadow-md:     0 4px 6px rgba(0,0,0,0.4);
    --shadow-lg:     0 10px 15px rgba(0,0,0,0.5);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

/* ===== Navegação (igual landing) ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav__logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav__brand {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botão de tema */
.btn-theme {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color var(--transition);
    line-height: 1;
}
.btn-theme:hover { border-color: rgba(255,255,255,0.5); }
.btn-theme__icon--dark  { display: none; }
[data-theme="dark"] .btn-theme__icon--light { display: none; }
[data-theme="dark"] .btn-theme__icon--dark  { display: inline; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn--sm  { padding: 8px 20px; font-size: 14px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

/* ===== Hero da página ===== */
.priv-hero {
    background: var(--bg-hero);
    padding: 120px 24px 64px;
    text-align: center;
}

.priv-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.priv-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.priv-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.priv-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.priv-hero__date {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===== Cards de destaque ===== */
.priv-highlights {
    background: var(--bg-secondary);
    padding: 48px 24px;
    border-bottom: 1px solid var(--border-color);
}

.priv-highlights__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.priv-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border-left: 4px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.priv-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.priv-card--green  { border-left-color: var(--success); }
.priv-card--blue   { border-left-color: var(--accent); }
.priv-card--purple { border-left-color: #7c3aed; }

.priv-card__icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.priv-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.priv-card__text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Conteúdo principal ===== */
.priv-content {
    padding: 48px 24px 80px;
}

.priv-content__inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

/* Sumário lateral */
.priv-toc {
    position: sticky;
    top: 88px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.priv-toc__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.priv-toc__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    counter-reset: none;
}

.priv-toc__list li { list-style: none; }

.priv-toc__list a {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    line-height: 1.4;
}

.priv-toc__list a:hover,
.priv-toc__list a.active {
    background: var(--accent-light);
    color: var(--accent);
}

/* Seções */
.priv-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.priv-section {
    scroll-margin-top: 88px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.priv-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.priv-section__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.priv-section__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.priv-section__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.priv-section__body p { margin: 0; }

/* Lista */
.priv-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.priv-list li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
}

.priv-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 12px;
    top: 2px;
}

.priv-list--sub {
    margin-top: 8px;
    padding-left: 8px;
    gap: 6px;
}

.priv-list--sub li::before { content: '·'; color: var(--text-tertiary); }

/* Callouts */
.priv-callout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid transparent;
}

.priv-callout span { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.priv-callout p { margin: 0; }

.priv-callout--info {
    background: var(--info-light);
    border-color: rgba(37,99,235,0.2);
    color: var(--text-primary);
}

.priv-callout--warning {
    background: var(--warning-light);
    border-color: rgba(245,158,11,0.3);
    color: var(--text-primary);
}

.priv-callout--success {
    background: var(--success-light);
    border-color: rgba(22,163,74,0.3);
    color: var(--text-primary);
}

/* Código inline */
code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent);
}

/* Tabela de cookies */
.priv-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.priv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.priv-table thead {
    background: var(--bg-secondary);
}

.priv-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.priv-table td {
    padding: 10px 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.priv-table tr:last-child td { border-bottom: none; }

.priv-table tr:hover td {
    background: var(--bg-secondary);
}

/* Contato */
.priv-contact {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.priv-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.priv-contact__icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }

.priv-contact__item strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.priv-update {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 12px 0 0;
    border-top: 1px solid var(--border-color);
    line-height: 1.6;
}

/* ===== Footer (igual landing) ===== */
.footer {
    background: #0f172a;
    padding: 24px;
    text-align: center;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__copy {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 4px;
}

.footer__tech {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
    .priv-hero       { padding: 100px 20px 48px; }
    .priv-highlights { padding: 32px 20px; }
    .priv-content    { padding: 32px 20px 60px; }

    .priv-content__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Sumário vira scroll horizontal no mobile */
    .priv-toc {
        position: static;
        overflow-x: auto;
    }

    .priv-toc__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .priv-toc__list a {
        white-space: nowrap;
        background: var(--bg-tertiary);
    }

    .priv-section__title { font-size: 1rem; }

    .nav__inner { padding: 12px 16px; }

    .priv-contact { gap: 10px; }
}

@media (max-width: 480px) {
    .priv-highlights__inner {
        grid-template-columns: 1fr;
    }

    .priv-hero__title { font-size: 1.75rem; }
}

/* ===== iDLock 2026 dark corporate refresh ===== */
:root,
[data-theme="light"],
[data-theme="dark"]{
    --bg-primary:#202020;
    --bg-secondary:#252528;
    --bg-tertiary:#2c2c30;
    --bg-card:rgba(255,255,255,.045);
    --text-primary:#dadada;
    --text-secondary:#8a8a8e;
    --text-tertiary:#606065;
    --text-inverse:#ffffff;
    --border-color:rgba(255,255,255,.09);
    --accent:#6b89b8;
    --accent-hover:#8ba3c7;
    --accent-light:rgba(107,137,184,.12);
    --success:#10b981;
    --success-light:rgba(16,185,129,.1);
    --danger:#ef4444;
    --warning:#f59e0b;
    --warning-light:rgba(245,158,11,.1);
    --info-light:rgba(107,137,184,.1);
    --shadow-sm:0 1px 0 rgba(255,255,255,.04) inset,0 8px 24px rgba(0,0,0,.24);
    --shadow-md:0 1px 0 rgba(255,255,255,.05) inset,0 16px 48px rgba(0,0,0,.34);
    --shadow-lg:0 1px 0 rgba(255,255,255,.06) inset,0 24px 70px rgba(0,0,0,.45);
    --radius-sm:8px;
    --radius-md:10px;
    --radius-lg:14px;
    --radius-full:12px;
    --font:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
}
body{
    background:
        radial-gradient(circle at 50% -10%,rgba(107,137,184,.16),transparent 30rem),
        radial-gradient(circle at 90% 10%,rgba(59,130,246,.1),transparent 24rem),
        #202020;
}
body::before{
    content:'';
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
    background-size:72px 72px;
    mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 78%);
}
a{color:#8ba3c7}
a:hover{color:#cbd5e1}
.nav{
    background:rgba(32,32,32,.9);
    border-bottom:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(20px) saturate(1.35);
    -webkit-backdrop-filter:blur(20px) saturate(1.35);
}
.nav__inner{max-width:1180px;padding:12px 24px}
.nav__logo-img{border-radius:10px;box-shadow:0 0 24px rgba(107,137,184,.18)}
.nav__brand{
    color:#fff;
    background:linear-gradient(90deg,#fff,#a1a1aa);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.btn{border-radius:12px}
.btn--primary{
    background:rgba(107,137,184,.1);
    color:#fff;
    border:1px solid rgba(139,163,199,.46);
    box-shadow:0 0 0 1px rgba(59,130,246,.12) inset,0 0 22px rgba(107,137,184,.12);
}
.btn--primary:hover{
    background:rgba(107,137,184,.16);
    border-color:rgba(147,197,253,.72);
    box-shadow:0 0 0 1px rgba(147,197,253,.22) inset,0 0 28px rgba(107,137,184,.22);
}
.priv-hero{
    background:
        linear-gradient(180deg,rgba(32,32,32,.1),#202020 92%),
        radial-gradient(circle at 22% 12%,rgba(107,137,184,.18),transparent 30rem),
        radial-gradient(circle at 76% 18%,rgba(59,130,246,.12),transparent 24rem),
        #202020;
    padding:118px 24px 58px;
}
.priv-hero__badge{
    border-radius:10px;
    background:rgba(107,137,184,.11);
    border-color:rgba(139,163,199,.24);
    color:#cbd5e1;
    text-transform:uppercase;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
}
.priv-hero__title{
    color:#fff;
    letter-spacing:-.055em;
}
.priv-hero__subtitle{color:#a1a1aa}
.priv-hero__date{color:#71717a}
.priv-highlights{
    background:#202020;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.priv-card,
.priv-toc,
.priv-contact,
.priv-section,
.priv-table-wrap{
    background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.09);
    box-shadow:var(--shadow-sm);
}
.priv-card{border-left:0;border-radius:14px}
.priv-card:hover{box-shadow:var(--shadow-md);border-color:rgba(139,163,199,.3)}
.priv-card__icon{
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    border-radius:12px;
    background:rgba(107,137,184,.1);
    color:#e5e7eb;
    margin-bottom:14px;
}
.priv-card__icon svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.priv-card__title,
.priv-section__title{color:#f4f4f5}
.priv-card__text,
.priv-section__body,
.priv-list li,
.priv-table td{color:#a1a1aa}
.priv-content{padding-top:52px;background:#202020}
.priv-toc{top:84px;border-radius:14px}
.priv-toc__title{color:#71717a}
.priv-toc__list a:hover,
.priv-toc__list a.active{
    background:rgba(107,137,184,.12);
    color:#cbd5e1;
}
.priv-section{
    padding:26px;
    border-radius:14px;
    scroll-margin-top:92px;
    overflow:visible;
}
.priv-section#menores{padding-bottom:34px}
.priv-section__num{
    background:rgba(107,137,184,.14);
    color:#cbd5e1;
    border:1px solid rgba(139,163,199,.24);
    border-radius:9px;
}
.priv-list li::before{
    content:'';
    width:5px;
    height:5px;
    top:11px;
    border-radius:50%;
    background:#8ba3c7;
}
.priv-callout{
    border-radius:10px;
    border-color:rgba(255,255,255,.09);
    background:rgba(255,255,255,.035);
    color:#dadada;
}
code{
    background:#2c2c30;
    border-color:rgba(255,255,255,.09);
    color:#cbd5e1;
}
.priv-table thead{background:#2c2c30}
.priv-table th{color:#71717a}
.priv-table tr:hover td{background:rgba(255,255,255,.025)}
.priv-contact__icon{
    display:inline-grid;
    place-items:center;
    min-width:32px;
    height:32px;
    border-radius:9px;
    background:rgba(107,137,184,.1);
    color:#cbd5e1;
    font-size:11px;
    font-weight:800;
}
.footer{
    background:#202020;
    border-top:1px solid rgba(255,255,255,.08);
}
@media (max-width:768px){
    .priv-section{padding:20px}
    .priv-toc__list a{background:#2c2c30}
}
