/* ========================================
   Landing Page — Defesa Empresarial
   Estilos específicos da campanha Google Ads
   ======================================== */
/* --- Prevenir linha horizontal na transição do Navbar --- */
#main-header,
#main-header.glass {
    border: none !important;
    outline: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#legal-banner {
    max-height: 200px;
    opacity: 1;
    overflow: hidden !important;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, border 0.4s ease !important;
}
#legal-banner.banner-hidden {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    border-bottom: none !important;
    border: none !important;
    margin: 0 !important;
    pointer-events: none !important;
}

/* --- Hero — Background animado --- */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 25% 45%, rgba(135, 19, 30, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 45%);
    animation: lp-bg-shift 25s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes lp-bg-shift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(3%, -2%) scale(1.02); }
    100% { transform: translate(-2%, 3%) scale(1); }
}

/* --- Elemento decorativo geométrico do Hero --- */
.lp-hero-geo {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 1;
}

.lp-hero-geo::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(135, 19, 30, 0.12);
    transform: rotate(45deg);
    animation: lp-geo-rotate 30s linear infinite;
}

.lp-hero-geo::after {
    content: '';
    position: absolute;
    inset: 60px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transform: rotate(-15deg);
    animation: lp-geo-rotate 40s linear infinite reverse;
}

@keyframes lp-geo-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* --- Linha animada decorativa --- */
.lp-line-accent {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #87131e, #d4af37);
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.lp-line-accent.active {
    width: 120px;
}

/* --- Reveal animations (prefixo lp- para não conflitar) --- */
.lp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease-out;
}

.lp-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cards de Risco --- */
.lp-risk-card {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.lp-risk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #87131e, #d4af37);
    transition: height 0.6s ease;
}

.lp-risk-card:hover {
    border-color: rgba(135, 19, 30, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lp-risk-card:hover::before {
    height: 100%;
}

/* --- Cards de Serviço --- */
.lp-service-card {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
}

.lp-service-card .lp-card-number {
    position: absolute;
    top: -15px;
    right: -5px;
    font-size: 6rem;
    line-height: 1;
    font-family: 'Cinzel', serif;
    color: rgba(135, 19, 30, 0.05);
    transition: all 0.6s ease;
    pointer-events: none;
}

.lp-service-card:hover {
    background: #1a1a1a;
    border-color: rgba(135, 19, 30, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lp-service-card:hover .lp-card-number {
    color: rgba(135, 19, 30, 0.12);
    transform: scale(1.1) translateX(-10px);
}

/* --- Timeline de Metodologia --- */
.lp-step {
    position: relative;
    padding-left: 4.5rem;
    padding-bottom: 3rem;
}

.lp-step::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 3rem;
    width: 2px;
    height: calc(100% - 2rem);
    background: linear-gradient(180deg, rgba(135, 19, 30, 0.4), transparent);
}

.lp-step:last-child::before {
    display: none;
}

.lp-step:last-child {
    padding-bottom: 0;
}

.lp-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(135, 19, 30, 0.12);
    border: 2px solid #87131e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #d4af37;
    transition: all 0.4s ease;
}

.lp-step:hover .lp-step-number {
    background: #87131e;
    color: #fff;
    transform: scale(1.1);
}

/* --- Badge OAB --- */
.lp-oab-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #d4af37;
}

/* --- Seção CTA Final --- */
.lp-cta-section {
    position: relative;
    overflow: hidden;
}

.lp-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(135, 19, 30, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* --- Pulso sutil no CTA principal --- */
@keyframes lp-pulse-border {
    0%   { box-shadow: 0 0 0 0 rgba(135, 19, 30, 0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(135, 19, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(135, 19, 30, 0); }
}

.lp-cta-pulse {
    animation: lp-pulse-border 2.5s infinite;
}

/* --- Contador animado --- */
.lp-counter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #87131e;
    line-height: 1;
    font-weight: 600;
}

/* --- Gradiente de texto --- */
.lp-text-gradient {
    background: linear-gradient(135deg, #87131e 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Separador decorativo entre seções --- */
.lp-section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(135, 19, 30, 0.3), rgba(212, 175, 55, 0.15), transparent);
}

/* --- Responsivo --- */
@media (max-width: 768px) {
    .lp-hero-geo {
        width: 250px;
        height: 250px;
        right: -15%;
        opacity: 0.4;
    }

    .lp-service-card {
        min-height: auto;
        padding: 2rem;
    }

    .lp-service-card .lp-card-number {
        font-size: 4rem;
    }

    .lp-counter {
        font-size: 2.25rem;
    }

    .lp-risk-card {
        padding: 2rem;
    }
}
