/* Landing Page NFe Sistemas — modernização 2026 */

.lp-section {
    padding: 4.5rem 0;
}

.lp-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.lp-traco {
    width: 60px;
    height: 4px;
    background: var(--primary, #75d337);
    margin: 1.25rem 0 1.5rem;
}

.lp-traco-center {
    margin-left: auto;
    margin-right: auto;
}

.lp-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(34, 48, 71, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.lp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 48, 71, 0.14);
}

.lp-card .icon {
    font-size: 2rem;
}

.lp-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(117, 211, 55, 0.12);
    color: #75d337;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Reforma Tributária */
.art-reforma-tributaria {
    background: linear-gradient(135deg, #223047 0%, #1a2538 50%, #223047 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.art-reforma-tributaria::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(117, 211, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.art-reforma-tributaria .badge-reforma {
    background: #ff6d00;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.art-reforma-tributaria .lp-traco {
    background: #ff6d00;
}

.lp-selo-confianca {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Números / contadores */
.art-numeros {
    background: #f8f9fa;
}

.lp-counter {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.lp-counter-label {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Soluções */
.lp-solucao-card {
    text-align: left;
    padding: 1.75rem;
}

.lp-solucao-card h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.lp-solucao-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* FAQ */
.lp-faq .card {
    border: none;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lp-faq .card-header {
    background: #fff;
    border: none;
    padding: 0;
}

.lp-faq .btn-link {
    color: #223047;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    white-space: normal;
}

.lp-faq .btn-link:hover,
.lp-faq .btn-link:focus {
    text-decoration: none;
    color: #75d337;
}

.lp-faq .card-body {
    padding: 0 1.25rem 1.25rem;
    color: #495057;
}

/* Depoimentos */
.star-rating i {
    font-size: 1rem;
    margin: 0 2px;
}

.testimonial-date {
    font-size: 0.85rem;
    color: #6c757d;
}

/* CTAs */
.lp-cta-group .btn {
    min-height: 48px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
}

.lp-cta-group .btn + .btn {
    margin-left: 0.5rem;
}

/* Esconde WhatsApp legado do rodapé quando LP moderna inclui botão flutuante */
.whatsapp-float ~ .whatsapp {
    display: none !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float-btn:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
    text-decoration: none;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7); }
}

.whatsapp-float-agenda img {
    max-width: 140px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Blocos IA e WhatsApp CRM */
.art-ia,
.art-whatsapp-crm {
    background: #fff;
}

.art-whatsapp-crm {
    background: #f8f9fa;
}

/* LP CT-e — navegação interna e scroll */
.lp-hero [id],
article[id] {
    scroll-margin-top: 90px;
}

#menuCte .btn.btn-light {
    cursor: pointer;
}

#menuCte .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Hero — centralização vertical (LP CT-e) */
body:has(.lp-hero) {
    height: auto !important;
    min-height: 100vh;
}

.lp-hero {
    min-height: 100vh;
}

.lp-hero #particles {
    min-height: 100vh;
}

.lp-hero #intro {
    position: relative !important;
    top: auto !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.lp-hero .hero-slide-inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 11vh);
    padding: calc(11vh + 1rem) 15px 3rem;
    margin: 0 auto;
}

.lp-hero .cntd-slide {
    height: auto !important;
}

.lp-hero #carouselNFE .carousel-inner {
    display: flex;
    align-items: center;
}

.lp-hero #carouselNFE .carousel-item {
    min-height: 320px;
}

.lp-hero #carouselNFE .carousel-item.active {
    display: flex !important;
    align-items: center;
}

.lp-hero #carouselNFE .carousel-item > div {
    width: 100%;
}

@media (max-width: 767px) {
    .lp-hero .hero-slide-inner {
        min-height: calc(100vh - 70px);
        padding-top: 5rem;
        align-items: flex-start;
    }

    .lp-hero #carouselNFE .carousel-item {
        min-height: auto;
    }
}

/* Hero carousel tipografia */
.hero-slide-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-slide-subtitle {
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.6;
}

/* Destaque CT-e */
.lp-cte-badge {
    background: rgba(117, 211, 55, 0.2);
    border: 1px solid rgba(117, 211, 55, 0.45);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.4px;
}

.art-cte-destaque {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
}

.lp-whatsapp-visual {
    background: #25d366;
    color: #fff;
}

@media (max-width: 767px) {
    .lp-section {
        padding: 3rem 0;
    }

    .lp-section-title {
        font-size: 1.5rem;
    }

    .hero-slide-title {
        font-size: 1.45rem;
    }

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

    .lp-cta-group .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .lp-cta-group .btn + .btn {
        margin-left: 0;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float-btn {
        width: 54px;
        height: 54px;
        font-size: 1.75rem;
    }
}
