/* ============================================
   PÁGINA: TERMOS DE USO - DM SOLUÇÕES
   ============================================ */

.termos-body *,
.termos-body *::before,
.termos-body *::after { box-sizing: border-box; }

.termos-body {
    min-height: 100vh;
    font-family: var(--font-base, 'Inter', sans-serif);
    background: #050e22;
    color: rgba(255, 255, 255, 0.85);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* ---------- FUNDO ANIMADO (reaproveita blobs) ---------- */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, #0a2a5e 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, #1a4b8c 0%, transparent 50%),
        linear-gradient(135deg, #050e22 0%, #0a1e3f 100%);
}

.bg-animated .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 22s infinite ease-in-out;
}

.blob-1 { width: 500px; height: 500px; background: #1a4b8c; top: -150px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: #4da6ff; bottom: -120px; right: -80px; animation-delay: -7s; }
.blob-3 { width: 340px; height: 340px; background: #2563eb; top: 40%; left: 45%; animation-delay: -14s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, -40px) scale(1.08); }
    66%      { transform: translate(-40px, 50px) scale(0.95); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

/* ============================================
   LOGO REUTILIZÁVEL
   ============================================ */
.logo-mark {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, #4da6ff, #1a4b8c);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 25px rgba(77, 166, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.logo-mark span {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #fff;
}

.logo-mark i {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #0a2a5e;
    color: #4da6ff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a2a5e;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo-mark-sm {
    width: 40px;
    height: 40px;
    border-radius: 11px;
}
.logo-mark-sm span { font-size: 15px; }
.logo-mark-sm i { width: 18px; height: 18px; font-size: 9px; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #fff;
}

.logo-text small {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #4da6ff;
}

/* ============================================
   HEADER
   ============================================ */
.termos-header {
    position: relative;
    z-index: 10;
    padding: 20px 32px;
}

.termos-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.25s;
}

.header-brand:hover { opacity: 0.85; }

.header-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-link:hover {
    background: rgba(77, 166, 255, 0.15);
    border-color: rgba(77, 166, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.header-link-ghost {
    background: transparent;
}

/* ============================================
   HERO
   ============================================ */
.termos-hero {
    position: relative;
    z-index: 5;
    padding: 60px 32px 40px;
}

.termos-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(77, 166, 255, 0.12);
    border: 1px solid rgba(77, 166, 255, 0.3);
    color: #a5d5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-badge i { font-size: 11px; }

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 22px;
}

.hero-title-accent {
    background: linear-gradient(135deg, #4da6ff 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #4da6ff, #22d3ee, transparent);
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 16.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
    max-width: 680px;
    margin: 0 auto 34px;
}

.hero-subtitle strong { color: #fff; font-weight: 700; }

/* Metadados */
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    transition: all 0.3s;
}

.meta-item:hover {
    border-color: rgba(77, 166, 255, 0.4);
    background: rgba(77, 166, 255, 0.08);
}

.meta-item i {
    font-size: 18px;
    color: #4da6ff;
}

.meta-item small {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.meta-item strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

/* Ações do hero */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #1a4b8c 0%, #0a2a5e 100%);
    color: #fff;
    box-shadow:
        0 10px 25px -8px rgba(26, 75, 140, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px -8px rgba(26, 75, 140, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(77, 166, 255, 0.4);
    transform: translateY(-3px);
    color: #fff;
}

/* ============================================
   CONTEÚDO PRINCIPAL
   ============================================ */
.termos-main {
    position: relative;
    z-index: 5;
    padding: 40px 32px 80px;
}

.termos-main-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* ============================================
   SUMÁRIO (sticky)
   ============================================ */
.termos-toc {
    position: sticky;
    top: 24px;
}

.toc-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 24px 18px 18px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.toc-card::-webkit-scrollbar { width: 4px; }
.toc-card::-webkit-scrollbar-thumb {
    background: rgba(77, 166, 255, 0.3);
    border-radius: 4px;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-header i {
    color: #4da6ff;
    font-size: 14px;
}

.toc-header h3 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 2px solid transparent;
}

.toc-link:hover {
    background: rgba(77, 166, 255, 0.08);
    color: #fff;
    padding-left: 16px;
}

.toc-link.active {
    background: rgba(77, 166, 255, 0.12);
    color: #fff;
    border-left-color: #4da6ff;
    font-weight: 700;
}

.toc-num {
    font-size: 10.5px;
    font-weight: 800;
    color: rgba(77, 166, 255, 0.6);
    min-width: 20px;
    letter-spacing: 0.5px;
    transition: color 0.25s;
}

.toc-link.active .toc-num { color: #4da6ff; }

.toc-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-help {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    text-decoration: none;
    transition: all 0.3s;
}

.toc-help:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.toc-help i {
    font-size: 20px;
    color: #25d366;
}

.toc-help strong {
    display: block;
    font-size: 12.5px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.toc-help small {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================
   CONTEÚDO DOS TERMOS
   ============================================ */
.termos-content {
    max-width: 820px;
    animation: contentIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

@keyframes contentIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Alerta inicial */
.terms-alert {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.12) 0%, rgba(26, 75, 140, 0.08) 100%);
    border: 1px solid rgba(77, 166, 255, 0.3);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.terms-alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4da6ff, #1a4b8c);
}

.terms-alert > i {
    font-size: 22px;
    color: #4da6ff;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-alert strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 800;
}

.terms-alert p {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.terms-alert em {
    color: #a5d5ff;
    font-style: normal;
    font-weight: 700;
}

/* Seções */
.terms-section {
    position: relative;
    padding: 34px 32px 34px 68px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-margin-top: 100px;
}

.terms-section:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(77, 166, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -25px rgba(0, 0, 0, 0.6);
}

.section-num {
    position: absolute;
    left: 22px;
    top: 32px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #4da6ff, #1a4b8c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.85;
    font-variant-numeric: tabular-nums;
}

.terms-section h2 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.terms-subtitle {
    font-size: 14px;
    font-weight: 800;
    color: #a5d5ff;
    margin: 20px 0 8px;
    letter-spacing: 0.3px;
}

.terms-section p {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 14px;
}

.terms-section p:last-child { margin-bottom: 0; }

.terms-section strong { color: #fff; font-weight: 700; }

.terms-link {
    color: #4da6ff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(77, 166, 255, 0.4);
    transition: all 0.25s;
}

.terms-link:hover {
    color: #a5d5ff;
    border-bottom-color: #4da6ff;
}

/* Listas */
.terms-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.terms-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(77, 166, 255, 0.05);
    border: 1px solid rgba(77, 166, 255, 0.1);
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    transition: all 0.25s;
}

.terms-list li:hover {
    background: rgba(77, 166, 255, 0.09);
    border-color: rgba(77, 166, 255, 0.25);
    transform: translateX(4px);
}

.terms-list li i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    margin-top: 3px;
}

.terms-list li i.fa-check {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.terms-list-danger li {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.12);
}

.terms-list-danger li:hover {
    background: rgba(239, 68, 68, 0.09);
    border-color: rgba(239, 68, 68, 0.25);
}

.terms-list-danger li i.fa-xmark {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.terms-list li strong { color: #fff; font-weight: 700; }

/* Info box */
.info-box {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin: 18px 0;
    align-items: flex-start;
}

.info-box i {
    color: #60a5fa;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box p {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Warning box */
.warning-box {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    margin: 18px 0;
    align-items: flex-start;
}

.warning-box i {
    color: #fbbf24;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.warning-box p {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.warning-box strong { color: #fbbf24; }

/* Grid de contato */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    background: rgba(77, 166, 255, 0.1);
    border-color: rgba(77, 166, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -20px rgba(77, 166, 255, 0.5);
}

.contact-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.2), rgba(26, 75, 140, 0.35));
    border: 1px solid rgba(77, 166, 255, 0.3);
    color: #4da6ff;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-card small {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
    word-break: break-word;
}

/* Bloco de aceite final */
.terms-accept {
    display: flex;
    gap: 22px;
    padding: 30px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(77, 166, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(77, 166, 255, 0.06) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.terms-accept::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    pointer-events: none;
}

.accept-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.5);
    position: relative;
    z-index: 1;
}

.accept-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.accept-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.accept-content p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 20px;
}

.accept-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-accept {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-accept-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 10px 22px -8px rgba(16, 185, 129, 0.6);
}

.btn-accept-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -8px rgba(16, 185, 129, 0.8);
}

.btn-accept-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-accept-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.termos-footer {
    position: relative;
    z-index: 5;
    padding: 20px 32px 40px;
}

.termos-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-left p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.footer-left strong { color: #fff; font-weight: 700; }

.footer-right {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-right a {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-right a:hover { color: #4da6ff; }

/* ============================================
   BOTÃO VOLTAR AO TOPO
   ============================================ */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4b8c, #0a2a5e);
    color: #fff;
    border: 1px solid rgba(77, 166, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 15px 30px -10px rgba(26, 75, 140, 0.6);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(26, 75, 140, 0.8);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1080px) {
    .termos-main-inner {
        grid-template-columns: 260px 1fr;
        gap: 28px;
    }
    .terms-section { padding: 30px 26px 30px 60px; }
}

@media (max-width: 900px) {
    .termos-header { padding: 14px 16px; }
    .termos-hero { padding: 40px 16px 30px; }
    .termos-main { padding: 30px 16px 60px; }
    .termos-footer { padding: 16px 16px 30px; }

    .termos-main-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .termos-toc {
        position: relative;
        top: 0;
    }

    .toc-card {
        max-height: none;
    }

    .toc-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .toc-help {
        display: none;
    }

    .toc-footer { display: none; }
}

@media (max-width: 600px) {
    .termos-header { padding: 12px 10px; }
    .termos-header-inner {
        padding: 10px 14px;
        border-radius: 16px;
        gap: 10px;
    }

    .header-nav { gap: 6px; }
    .header-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    .header-link span { display: none; }
    .header-link i { font-size: 14px; }

    .logo-text strong { font-size: 13px; }
    .logo-text small { font-size: 9px; letter-spacing: 1.4px; }

    .hero-subtitle { font-size: 14.5px; }
    .hero-meta { gap: 8px; }
    .meta-item { padding: 10px 14px; flex: 1 1 calc(50% - 4px); }
    .meta-item small { font-size: 9.5px; }
    .meta-item strong { font-size: 12.5px; }

    .btn-hero {
        flex: 1 1 100%;
        justify-content: center;
        padding: 13px 20px;
    }

    .terms-section {
        padding: 26px 20px 26px 26px;
        scroll-margin-top: 80px;
    }

    .section-num {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
        font-size: 16px;
    }

    .terms-section h2 { font-size: 17px; }
    .terms-section p { font-size: 13.5px; }
    .terms-list li { font-size: 12.5px; }

    .contact-grid { grid-template-columns: 1fr; }

    .terms-accept {
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
    }

    .accept-actions { width: 100%; }
    .btn-accept {
        flex: 1 1 100%;
        justify-content: center;
    }

    .toc-nav { grid-template-columns: 1fr; }

    .termos-footer-inner {
        flex-direction: column;
        text-align: center;
        padding: 18px 18px;
    }

    .footer-right { gap: 14px; justify-content: center; }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 380px) {
    .meta-item { flex: 1 1 100%; }
    .terms-section { padding: 22px 16px 22px 20px; }
}

/* ============================================
   IMPRESSÃO
   ============================================ */
@media print {
    .bg-animated,
    .termos-header,
    .termos-toc,
    .hero-actions,
    .back-to-top,
    .terms-accept,
    .termos-footer { display: none !important; }

    .termos-body {
        background: #fff !important;
        color: #000 !important;
    }

    .termos-hero { padding: 0 0 20px; }
    .hero-title { color: #000 !important; font-size: 24pt; }
    .hero-title-accent {
        -webkit-text-fill-color: #0a2a5e;
        color: #0a2a5e;
    }
    .hero-subtitle, .hero-meta, .terms-section p,
    .terms-section h2, .terms-list li {
        color: #000 !important;
    }

    .termos-main { padding: 0; }
    .termos-main-inner { display: block; max-width: 100%; }
    .termos-content { max-width: 100%; }

    .terms-section,
    .terms-alert,
    .info-box,
    .warning-box,
    .terms-list li {
        background: #fff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        transform: none !important;
        backdrop-filter: none !important;
    }

    .section-num { color: #0a2a5e !important; }
}

/* ============================================
   ACESSIBILIDADE / MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .bg-animated .blob,
    .termos-hero-inner,
    .termos-content {
        animation: none !important;
    }
    * { transition: none !important; }
}

.btn-hero:focus-visible,
.header-link:focus-visible,
.toc-link:focus-visible,
.contact-card:focus-visible,
.terms-link:focus-visible,
.btn-accept:focus-visible,
.back-to-top:focus-visible {
    outline: 3px solid rgba(77, 166, 255, 0.5);
    outline-offset: 2px;
}


/* Variação de acento para Privacidade */
.privacidade-body .hero-title-accent {
    background: linear-gradient(135deg, #10b981 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.privacidade-body .hero-title-accent::after {
    background: linear-gradient(90deg, #10b981, #22d3ee, transparent);
}