/* =============================================================
   POLÍTICA DE PRIVACIDADE — VALE IMÓVEIS
   Valores finais da cascata do site antigo (.privacy-* do style.css + tema Quarter + Bootstrap 5.0.2).
   ============================================================= */

/* TOPO: DEGRADÊ AVERMELHADO CLARO. NO ANTIGO UM ::before ATRÁS SOMAVA MAIS 3% DE VERMELHO (A SEGUNDA CAMADA). */
.pp-topo {
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(223, 2, 9, .1) 0%, rgba(251, 65, 42, .05) 100%), rgba(223, 2, 9, .03);
}

.pp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pp-topo h1 {
    position: relative;
    display: inline-block;
    margin: 0 0 1.5rem;
    color: var(--cor-site-1);
    font-family: var(--fonte);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.pp-topo h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--cor-site-2);
    border-radius: 2px;
}

/* p.lead */
.pp-topo__texto {
    max-width: 800px;
    margin: 0 0 2rem;
    color: var(--cor-site-7);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
}

.pp-secao {
    padding: 60px 0;
}

.pp-secao:nth-child(even) {
    background-color: rgba(250, 252, 252, .7);
}

.pp-secao:nth-child(odd) {
    background-color: rgba(255, 255, 255, .9);
}

/* CARTÕES: ENTRAM SUBINDO (fadeIn). COMO A ANIMAÇÃO TERMINA PRESA (forwards), NO HOVER SÓ MUDAM A SOMBRA E A BORDA,
   IGUAL AO ANTIGO. */
.pp-cartao {
    margin-bottom: 30px;
    padding: 30px;
    background: #fff;
    border-left: 4px solid var(--cor-site-8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(4, 17, 19, .05);
    opacity: 0;
    transition: transform .3s ease, box-shadow .3s ease;
    animation: ppEntra .6s ease forwards;
}

.pp-cartao:hover {
    border-left-color: var(--cor-site-1);
    box-shadow: 0 10px 25px rgba(4, 17, 19, .1);
    transform: translateY(-5px);
}

.pp-cartao:nth-child(1) { animation-delay: .1s; }
.pp-cartao:nth-child(2) { animation-delay: .2s; }
.pp-cartao:nth-child(3) { animation-delay: .3s; }
.pp-cartao:nth-child(4) { animation-delay: .4s; }
.pp-cartao:nth-child(5) { animation-delay: .5s; }
.pp-cartao:nth-child(6) { animation-delay: .6s; }

@keyframes ppEntra {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pp-cartao h2 {
    position: relative;
    margin: 0 0 1rem;
    padding-bottom: 10px;
    color: var(--cor-site-1);
    font-family: var(--fonte);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.pp-cartao h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--cor-site-2);
    border-radius: 3px;
}

.pp-cartao h3 {
    position: relative;
    margin: 1.5rem 0 1rem;
    padding-left: 15px;
    color: var(--cor-site-7);
    font-family: var(--fonte);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
}

.pp-cartao h3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--cor-site-2);
    border-radius: 50%;
    transform: translateY(-50%);
}

.pp-cartao p {
    margin: 0 0 1rem;
    color: var(--cor-site-6);
    font-size: 1rem;
    line-height: 1.5;
}

.pp-cartao a {
    position: relative;
    color: var(--cor-site-1);
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease 0s;
}

.pp-cartao a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-site-2);
    transition: width .3s ease;
}

.pp-cartao a:hover {
    color: var(--cor-site-2);
}

.pp-cartao a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .pp-topo h1 {
        font-size: 2rem;
    }

    .pp-cartao {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-cartao {
        opacity: 1;
        animation: none;
    }
}
