/**
 * Landing Page CTV - Centralcomm
 * Estilos específicos para LP de TV Conectada
 */

/* Hero */
.lp-ctv .hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.lp-ctv .gradient-text {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 50%, #F9A825 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-ctv .tv-glow {
    box-shadow: 0 0 60px rgba(76, 175, 80, 0.3), 0 0 120px rgba(76, 175, 80, 0.1);
}

/* Form */
.lp-ctv .form-input {
    transition: all 0.3s ease;
}
.lp-ctv .form-input:focus {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

/* Stat Card */
.lp-ctv .stat-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}
.lp-ctv .stat-card:hover {
    border-color: rgba(76, 175, 80, 0.5);
    transform: translateY(-5px);
}

/* Benefit Card */
.lp-ctv .benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.lp-ctv .benefit-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Platform Logo */
.lp-ctv .platform-logo {
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.5;
    transition: all 0.3s ease;
}
.lp-ctv .platform-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Success Icon */
.lp-ctv .success-icon {
    animation: lpCtvCheckmark 0.5s ease forwards;
}
@keyframes lpCtvCheckmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Animations */
@keyframes lpCtvFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.lp-ctv .float-animation {
    animation: lpCtvFloat 4s ease-in-out infinite;
}

@keyframes lpCtvPulseGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(76, 175, 80, 0.3); }
    50% { box-shadow: 0 0 60px rgba(76, 175, 80, 0.5); }
}
.lp-ctv .pulse-glow {
    animation: lpCtvPulseGlow 3s ease-in-out infinite;
}

/* Scroll animations — base */
.lp-ctv .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-ctv .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directional variants */
.lp-ctv .animate-on-scroll[data-anim="fade-left"] {
    transform: translateX(-40px);
}
.lp-ctv .animate-on-scroll[data-anim="fade-left"].visible {
    transform: translateX(0);
}

.lp-ctv .animate-on-scroll[data-anim="fade-right"] {
    transform: translateX(40px);
}
.lp-ctv .animate-on-scroll[data-anim="fade-right"].visible {
    transform: translateX(0);
}

.lp-ctv .animate-on-scroll[data-anim="scale"] {
    transform: scale(0.9);
}
.lp-ctv .animate-on-scroll[data-anim="scale"].visible {
    transform: scale(1);
}

.lp-ctv .animate-on-scroll[data-anim="fade-down"] {
    transform: translateY(-30px);
}
.lp-ctv .animate-on-scroll[data-anim="fade-down"].visible {
    transform: translateY(0);
}

/* ===========================
   CTA Pulse/Attention
   =========================== */
@keyframes lpCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--cta-glow, rgba(255,255,255,0.4)); }
    50% { box-shadow: 0 0 0 12px transparent; }
}
@keyframes lpCtaShine {
    0% { left: -75%; }
    100% { left: 125%; }
}

.lp-cta-highlight {
    position: relative;
    overflow: hidden;
    animation: lpCtaPulse 2.5s ease-in-out infinite;
}
.lp-cta-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    animation: lpCtaShine 4s ease-in-out infinite;
    pointer-events: none;
}
.lp-cta-highlight:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cta-glow, rgba(255,255,255,0.25));
    transition: all 0.3s ease;
}
.lp-cta-highlight:hover::after {
    animation: none;
    opacity: 0;
}

/* Acessibilidade: respeitar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .lp-ctv .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .lp-cta-highlight {
        animation: none !important;
    }
    .lp-cta-highlight::after {
        animation: none !important;
    }
}

/* ===========================
   LP CANAL - Hero com BG Image
   =========================== */

/* Hero title - escala harmonizada */
.lp-canal .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
@media (min-width: 1024px) {
    .lp-canal .hero-title {
        font-size: clamp(2.75rem, 5vw, 4rem);
        line-height: 1;
        letter-spacing: -0.03em;
    }
}

/* Logo container desktop */
.lp-canal .hero-logo-container {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.lp-canal .hero-logo-container:hover {
    transform: scale(1.03);
}

/* Stats */
.lp-canal .hero-stats .stat-card {
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.lp-canal .hero-stats .stat-card:hover {
    transform: translateY(-3px);
}

/* Section dividers */
.lp-canal .section-divider {
    height: 1px;
    border: 0;
}

/* Parallax para secoes que ainda usam */
.lp-parallax-bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .lp-parallax-bg { background-attachment: scroll; }
}
