/* ===========================
   PÁGINA POLÍTICA DE PRIVACIDADE
=========================== */

/* ── HERO ── */
.politica-hero {
    background: var(--navy);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Gradientes radiais */
.politica-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 8% 60%,  rgba(201,141,35,.10) 0%, transparent 55%),
        radial-gradient(ellipse 45% 65% at 92% 20%, rgba(201,141,35,.07) 0%, transparent 50%);
    pointer-events: none;
}

/* Linha reta dourada no rodapé do hero */
.politica-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,141,35,.45) 25%, rgba(201,141,35,.6) 50%, rgba(201,141,35,.45) 75%, transparent 100%);
}

/* Grade de pontos decorativa */
.politica-hero__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201,141,35,.16) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 75%);
    pointer-events: none;
}

/* ── HERO GRID (texto + visual) ── */
.politica-hero__inner {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}


.politica-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(201,141,35,.13);
    border: 1px solid rgba(201,141,35,.36);
    border-radius: 100px;
    padding: 7px 18px 7px 14px;
    margin-bottom: 28px;
    animation: polFadeUp .5s cubic-bezier(.22,1,.36,1) .05s both;
    backdrop-filter: blur(4px);
}

.politica-hero__badge svg { color: var(--gold); flex-shrink: 0; }

.politica-hero__badge span {
    font-family: var(--font-title);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
}

.politica-hero__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin: 0 0 18px;
    letter-spacing: -.02em;
    animation: polFadeUp .6s cubic-bezier(.22,1,.36,1) .15s both;
}

.politica-hero__title span {
    color: var(--gold);
    position: relative;
}

.politica-hero__title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    border-radius: 2px;
    transform-origin: left;
    animation: polLineGrow .7s cubic-bezier(.22,1,.36,1) .55s both;
}

.politica-hero__meta {
    font-family: var(--font);
    font-size: .82rem;
    color: rgba(255,255,255,.4);
    margin: 0;
    letter-spacing: .03em;
    animation: polFadeUp .5s cubic-bezier(.22,1,.36,1) .28s both;
}

/* ── VISUAL ORBITAL ── */
.politica-hero__visual {
    position: relative;
    width: 460px;
    height: 460px;
    flex-shrink: 0;
    animation: polFadeUp .9s cubic-bezier(.22,1,.36,1) .2s both;
}

/* SVG dos anéis */
.pol-rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Arco luminoso externo — gira horário */
.pol-arc--lg {
    animation: arcCW 22s linear infinite;
    transform-origin: 230px 230px;
}

/* Arco luminoso interno — gira anti-horário */
.pol-arc--sm {
    animation: arcCCW 14s linear infinite;
    transform-origin: 230px 230px;
}

/* ── ÓRBITAS (containers que giram) ── */
.pol-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
}

/* Órbita grande: raio 200px → diâmetro 400px */
.pol-orbit--lg {
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
    animation: orbitCW 22s linear infinite;
}

/* Órbita pequena: raio 124px → diâmetro 248px */
.pol-orbit--sm {
    width: 248px;
    height: 248px;
    margin-top: -124px;
    margin-left: -124px;
    animation: orbitCCW 14s linear infinite;
    animation-delay: -6s;
}

/* Cards posicionados no topo de cada órbita */
.pol-orbit__card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201,141,35,.28);
    border-radius: 100px;
    padding: 7px 16px;
    white-space: nowrap;
    box-shadow:
        0 4px 20px rgba(3,36,70,.22),
        0 1px 4px rgba(3,36,70,.12),
        inset 0 1px 0 rgba(255,255,255,.9);
    animation: counterCW 22s linear infinite;
}

/* Card da órbita pequena contra-gira */
.pol-orbit--sm .pol-orbit__card {
    animation: counterCCW 14s linear infinite;
    animation-delay: -6s;
}

.pol-orbit__card svg { flex-shrink: 0;     border-color: rgba(34,197,94,.35);
 color: #22c55e; }

.pol-orbit__card span {
    font-family: var(--font-title);
    font-size: .7rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .04em;
}

/* Card "100% Seguro" — verde */
.pol-orbit__card--safe {
    border-color: rgba(34,197,94,.35);
    background: rgba(240,253,244,.97);
}

.pol-orbit__card--safe svg { color: #22c55e; }

.pol-orbit__card--safe span { color: #166534; }

/* ── ESCUDO CENTRAL ── */
.pol-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pulso 1 */
.pol-shield__pulse {
    position: absolute;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,141,35,.16) 0%, transparent 70%);
    animation: shieldPulse 3.2s ease-out infinite;
}

/* Pulso 2 (defasado) */
.pol-shield__pulse--delay {
    animation-delay: -1.6s;
}

.pol-shield__svg {
    width: 140px;
    height: auto;
    position: relative;
    z-index: 1;
    filter:
        drop-shadow(0 12px 48px rgba(3,36,70,.6))
        drop-shadow(0 2px 10px rgba(34,197,94,.2));
    animation: shieldFloat 5s ease-in-out infinite;
}

/* ── KEYFRAMES ── */
@keyframes polFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes polLineGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes orbitCW {
    to { transform: rotate(360deg); }
}

@keyframes orbitCCW {
    to { transform: rotate(-360deg); }
}

@keyframes counterCW {
    from { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    to   { transform: translateX(-50%) translateY(-50%) rotate(-360deg); }
}

@keyframes counterCCW {
    from { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    to   { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

@keyframes arcCW {
    to { transform: rotate(360deg); }
}

@keyframes arcCCW {
    to { transform: rotate(-360deg); }
}

@keyframes shieldPulse {
    0%   { transform: scale(.8);  opacity: .7; }
    80%  { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes shieldFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-9px); }
}

/* ── LAYOUT CONTEÚDO ── */
.politica-content {
    padding: 72px 0 112px;
    background: var(--gray-lt);
}

.politica-content__inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
}

/* ── CORPO DO TEXTO ── */
.politica-body {
    align-self: start;
    background: var(--white);
    border-radius: 24px;
    padding: 56px 60px;
    box-shadow:
        0 2px 8px rgba(3,36,70,.05),
        0 8px 40px rgba(3,36,70,.08);
    animation: polFadeUp .7s cubic-bezier(.22,1,.36,1) .1s both;
}

/* ── SEÇÕES ── */
.politica-section {
    position: relative;
    padding-bottom: 52px;
    margin-bottom: 52px;
}

.politica-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dde4ef 20%, #dde4ef 80%, transparent);
}

.politica-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.politica-section__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.politica-section__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: #ffff;
    font-family: var(--font-title);
    font-size: .65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .03em;
    box-shadow: 0 0 0 4px rgba(201,141,35,.15), 0 2px 8px rgba(3,36,70,.18);
    margin-top: 1px;
}

.politica-section h2 {
    font-family: var(--font-title);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px;
    line-height: 1.25;
}

.politica-section h2::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    border-radius: 2px;
    margin-top: 10px;
}

.politica-section p {
    font-family: var(--font);
    font-size: .94rem;
    line-height: 1.88;
    color: var(--gray);
    margin: 0 0 14px;
}

.politica-section p:last-child { margin-bottom: 0; }

.politica-section strong { color: var(--navy); font-weight: 600; }

/* ── LISTAS ── */
.politica-section ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e8edf5;
    overflow: hidden;
}

.politica-section ul li {
    font-family: var(--font);
    font-size: .9rem;
    line-height: 1.7;
    color: var(--gray);
    padding: 13px 20px 13px 50px;
    position: relative;
    border-bottom: 1px solid #e8edf5;
    transition: background .15s, color .15s;
}

.politica-section ul li:last-child { border-bottom: none; }

.politica-section ul li:hover {
    background: #eff3f8;
    color: var(--navy);
}

.politica-section ul li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: rgba(201,141,35,.11);
    border-radius: 50%;
    border: 1.5px solid rgba(201,141,35,.32);
}

.politica-section ul li::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 50%;
    transform: translateY(-56%) rotate(45deg);
    width: 5px;
    height: 8px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
}

/* ── GRID DIREITOS ── */
.politica-direitos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 22px 0 18px;
}

.politica-direito {
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    transition: box-shadow .22s, transform .22s, background .22s;
}

.politica-direito::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-lt));
    border-radius: 3px 0 0 3px;
}

.politica-direito::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,141,35,.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .3s, transform .3s;
    transform: scale(.5);
}

.politica-direito:hover {
    box-shadow: 0 8px 32px rgba(3,36,70,.1), 0 2px 8px rgba(3,36,70,.06);
    transform: translateY(-3px);
    background: var(--white);
}

.politica-direito:hover::after {
    opacity: 1;
    transform: scale(1);
}

.politica-direito h3 {
    font-family: var(--font-title);
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 9px;
    padding-left: 4px;
}

.politica-direito p {
    margin: 0 !important;
    font-size: .86rem !important;
    line-height: 1.68 !important;
    color: #64748b !important;
    padding-left: 4px;
}

/* ── SAC ── */
.politica-sac {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px !important;
    font-size: .9rem !important;
    color: var(--gray) !important;
    background: rgba(201,141,35,.07);
    border: 1px solid rgba(201,141,35,.2);
    border-left: 3px solid var(--gold);
    border-radius: 10px;
    padding: 14px 20px !important;
    line-height: 1.6 !important;
}

.politica-sac a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(201,141,35,.35);
    transition: color .2s, border-color .2s;
}

.politica-sac a:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

/* ── AVISO FINAL ── */
.politica-section--aviso {
    background: linear-gradient(135deg, #f0f4f9 0%, #e6ecf5 100%);
    border-radius: 16px;
    border: 1px solid #d8e2ef !important;
    padding: 32px 36px !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

.politica-section--aviso::after { content: none; }

.politica-section--aviso p {
    font-size: .87rem !important;
    color: #64748b !important;
    line-height: 1.85 !important;
    margin: 0 !important;
}

/* ── SIDEBAR NAV ── */
.politica-nav {
    /* sticky no próprio item do grid: transform no ancestral não quebra o sticky */
    position: sticky;
    top: 96px;
    align-self: start;
    height: fit-content;
    animation: polFadeUp .7s cubic-bezier(.22,1,.36,1) .22s both;
}

.politica-nav__inner {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 2px 8px rgba(3,36,70,.05), 0 8px 40px rgba(3,36,70,.08);
}

.politica-nav__label {
    font-family: var(--font-title);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 16px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.politica-nav__label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(201,141,35,.3), transparent);
}

.politica-nav nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 20px;
}

.politica-nav nav a {
    font-family: var(--font);
    font-size: .82rem;
    color: #64748b;
    text-decoration: none;
    padding: 9px 10px 9px 14px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: background .18s, color .18s, padding-left .2s, border-color .18s;
    line-height: 1.35;
}

.politica-nav nav a:hover,
.politica-nav nav a.is-active {
    background: rgba(3,36,70,.05);
    color: var(--navy);
    padding-left: 20px;
    border-left-color: var(--gold);
    font-weight: 500;
}

.politica-nav nav a.is-active {
    background: rgba(201,141,35,.08);
}

.politica-nav__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dde4ef 20%, #dde4ef 80%, transparent);
    margin: 0 0 20px;
}

.politica-nav__cta {
    width: 100%;
    text-align: center;
    display: block;
    font-size: .84rem !important;
    padding: 12px 16px !important;
    position: relative;
    overflow: hidden;
}

.politica-nav__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%);
    transform: translateX(-100%);
    transition: transform .55s ease;
}

.politica-nav__cta:hover::before { transform: translateX(100%); }

/* ── RESPONSIVO ── */
@media (max-width: 1200px) {
    .politica-hero__inner {
        grid-template-columns: 1fr 400px;
        gap: 32px;
    }
    .politica-hero__visual {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 1020px) {
    .politica-hero__inner {
        grid-template-columns: 1fr 340px;
        gap: 24px;
    }
    .politica-hero__visual {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 860px) {
    .politica-hero {
        padding: 100px 0 64px;
    }

    .politica-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .politica-hero__badge {
        justify-content: center;
    }

    .politica-hero__visual {
        display: none; /* esconde em tablet/mobile */
    }

    .politica-content__inner {
        grid-template-columns: 1fr;
    }

    .politica-nav { order: -1; }

    .politica-nav__inner {
        position: static;
        padding: 20px 18px;
    }

    .politica-nav nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 0;
    }

    .politica-nav nav a {
        background: #f0f4f9;
        font-size: .77rem;
        padding: 6px 14px;
        border-left: none;
        border-radius: 100px;
        border: 1px solid #e0e8f0;
    }

    .politica-nav nav a:hover,
    .politica-nav nav a.is-active {
        background: var(--navy);
        color: var(--white);
        padding-left: 14px;
        border-left: none;
        border-color: var(--navy);
        font-weight: 600;
    }

    .politica-nav__divider,
    .politica-nav__cta {
        display: none;
    }
}

@media (max-width: 640px) {
    .politica-body {
        padding: 32px 22px;
    }

    .politica-section {
        padding-bottom: 36px;
        margin-bottom: 36px;
    }

    .politica-section h2 {
        font-size: 1.05rem;
    }

    .politica-direitos-grid {
        grid-template-columns: 1fr;
    }

    .politica-section--aviso {
        padding: 22px 18px !important;
    }
}
