/* Modern Enhancements - PPCI Lucrativo */

/* ===== GRADIENTES E BACKGROUNDS MODERNOS ===== */

/* Gradiente laranja/vermelho */
.gradient-orange-red {
    background: linear-gradient(135deg, #CC3355 0%, #FF0000 100%);
}

/* Gradiente com overlay */
.section-with-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 11, 15, 0.85);
    z-index: 0;
}

.section-with-bg .container {
    position: relative;
    z-index: 1;
}

/* Background com padrão de fogo/chamas */
.fire-pattern-bg {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(204, 51, 85, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
}

/* ===== CARDS MODERNOS ESTILO SCREENSHOT ===== */

/* Card principal gradiente com imagem */
.feature-card-gradient {
    background: linear-gradient(135deg, #8A374C 0%, #CC3355 50%, #D95040 100%);
    border-radius: 30px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(204, 51, 85, 0.3);
    margin: 60px auto;
    max-width: 1100px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card-gradient:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(204, 51, 85, 0.4);
}

.feature-card-gradient .image-side {
    position: relative;
}

.feature-card-gradient .image-side img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card-gradient .content-side {
    color: white;
}

.feature-card-gradient .content-side h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.feature-card-gradient .content-side .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.feature-card-gradient .checklist {
    list-style: none;
    margin: 30px 0;
}

.feature-card-gradient .checklist li {
    padding: 15px 0;
    font-size: 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-card-gradient .checklist li i {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-card-gradient .highlight-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

/* Cards pretos com ícones (grid) */
.icon-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.icon-card-black {
    background: #0a0a0f;
    border: 1px solid rgba(204, 51, 85, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-card-black::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CC3355, #FF0000);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.icon-card-black:hover::before {
    transform: scaleX(1);
}

.icon-card-black:hover {
    transform: translateY(-10px);
    border-color: #CC3355;
    box-shadow: 0 15px 40px rgba(204, 51, 85, 0.3);
}

.icon-card-black .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(204, 51, 85, 0.2), rgba(255, 0, 0, 0.2));
    font-size: 36px;
    color: #CC3355;
    transition: all 0.3s ease;
}

.icon-card-black:hover .icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, #CC3355, #FF0000);
    color: white;
}

.icon-card-black h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.icon-card-black p {
    font-size: 15px;
    color: #888;
    line-height: 1.5;
}

/* Testimonial cards com fundo vermelho */
.testimonial-section-red {
    background: linear-gradient(135deg, #8A374C 0%, #B33355 100%);
    padding: 100px 0;
    position: relative;
}

.testimonial-card-white {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-card-white:hover {
    transform: translateY(-5px);
}

.testimonial-card-white .quote-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card-white .author {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.testimonial-card-white .role {
    font-size: 14px;
    color: #666;
}

.testimonial-card-white .stars {
    color: #FF9500;
    margin: 15px 0;
    font-size: 18px;
}

.testimonial-card-white .verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #CC3355;
    font-weight: 600;
}

/* ===== TRANSIÇÕES E ANIMAÇÕES ===== */

/* Fade in ao scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

/* Parallax suave */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Transição entre seções */
.section-transition {
    position: relative;
    margin-top: -50px;
    padding-top: 50px;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, currentColor);
    pointer-events: none;
}

/* Botão scroll down animado */
.scroll-indicator {
    width: 50px;
    height: 50px;
    background: #CC3355;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: #FF0000;
    transform: scale(1.1);
}

.scroll-indicator i {
    color: white;
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* ===== OVERLAYS E EFEITOS ===== */

/* Glass morphism card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

/* Glow effect */
.glow-effect {
    box-shadow:
        0 0 20px rgba(204, 51, 85, 0.3),
        0 0 40px rgba(204, 51, 85, 0.2),
        0 0 60px rgba(204, 51, 85, 0.1);
}

/* Highlight text com background */
.text-highlight {
    background: linear-gradient(135deg, #CC3355, #FF0000);
    padding: 3px 12px;
    border-radius: 6px;
    display: inline-block;
    color: white;
    font-weight: 700;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1024px) {
    .feature-card-gradient {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .icon-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: auto !important;
        padding: 30px 0 !important;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-image {
        order: -1;
        width: 100%;
    }

    .video-wrapper-glow {
        margin: 0 auto;
        max-width: 100%;
    }

    /* Logo META mobile */
    .hero-content .logo {
        width: 120px !important;
        height: 50px !important;
        font-size: 20px !important;
        margin: 0 auto 20px !important;
    }

    /* Botão Hero mobile */
    .hero-content .btn {
        width: 100%;
        max-width: 100%;
        font-size: 16px !important;
        padding: 18px 20px !important;
    }

    /* Card Gradiente (Bloco 2) */
    .feature-card-gradient {
        padding: 30px 20px;
        gap: 30px;
    }

    .feature-card-gradient .content-side h2 {
        font-size: 28px !important;
        line-height: 1.2;
    }

    .feature-card-gradient .content-side p {
        font-size: 16px !important;
    }

    .feature-card-gradient .checklist li {
        font-size: 15px;
    }

    .feature-card-gradient .highlight-box {
        padding: 20px;
        font-size: 16px !important;
    }

    /* Cards com ícones - FORÇAR 1 COLUNA */
    .icon-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .icon-card-black {
        padding: 30px 20px;
    }

    /* Grid 3 colunas - FORÇAR 1 COLUNA */
    .grid-3 {
        grid-template-columns: 1fr !important;
    }

    /* Cards de Sistemas (SPK, Alarme, Escada) - FORÇAR 1 COLUNA */
    .sistemas-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .section-with-bg {
        background-attachment: scroll;
    }

    /* Textos menores no mobile */
    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 28px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    .lead {
        font-size: 16px !important;
    }
}
