/* ===============================================
   HERO CONSULTA NFC-E
   =============================================== */

.hero-consulta-nfce {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #38bdf8 100%);
    position: relative;
    overflow: hidden;
}

.hero-consulta-nfce::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-consulta-nfce-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-consulta-nfce-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-consulta-nfce h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-primary {
    color: #a5f3fc;
}

.highlight-secondary {
    color: #bfdbfe;
}

.highlight-accent {
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.hero-cta {
    margin-top: 2.5rem;
    text-align: center;
}

.btn-green {
    background: linear-gradient(135deg, #2ed8b6, #25b894);
    color: #fff;
    box-shadow: 0 10px 30px rgba(46, 216, 182, 0.3);
}

.btn-green:hover {
    background: linear-gradient(135deg, #25b894, #2ed8b6);
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(46, 216, 182, 0.35);
}

.hero-cta-benefits {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta-benefits .check {
    color: #a5f3fc;
    margin-right: 0.5rem;
}

/* ===============================================
   MOCKUP NFC-E
   =============================================== */

.visual-consulta-nfce-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.consulta-nfce-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mockup-header {
    background: linear-gradient(135deg, #374151, #4b5563);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mockup-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #ef4444;
}

.control.yellow {
    background: #3b82f6;
}

.control.green {
    background: #10b981;
}

.mockup-title {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-content {
    padding: 24px;
}

/* Formulário de Consulta NFC-e */
.nfce-search-form {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #e0f2fe;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.btn-consultar-nfce {
    width: 100%;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-consultar-nfce:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-1px);
}

/* Resultado da Consulta */
.nfce-result {
    background: white;
    border: 2px solid #e0f2fe;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.result-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-autorizada {
    background: #dcfce7;
    color: #166534;
}

.nfce-number {
    font-weight: 600;
    color: #374151;
}

.result-details {
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child {
    border-bottom: none;
}

.label {
    color: #6b7280;
    font-size: 14px;
}

.value {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.result-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #bfdbfe;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-action:hover {
    background: #e0f2fe;
    transform: translateY(-1px);
}

/* Indicadores de Performance */
.performance-indicators {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

.indicator {
    text-align: center;
    flex: 1;
}

.indicator-value {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 4px;
}

.indicator-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* ===============================================
   ELEMENTOS FLUTUANTES
   =============================================== */

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 9999;
}

.floating-card i {
    color: #60a5fa;
}

.card-instant {
    top: 80px;
    right: -20px;
    animation: float 3s ease-in-out infinite;
}

.card-automated {
    top: 200px;
    right: 40px;
    animation: float 3s ease-in-out infinite 1s;
}

.card-secure {
    top: 320px;
    right: -10px;
    animation: float 3s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===============================================
   RESPONSIVIDADE
   =============================================== */

@media (max-width: 768px) {
    .hero-consulta-nfce {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-consulta-nfce-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-consulta-nfce h1 {
        font-size: 32px;
    }

    .visual-consulta-nfce-container {
        height: 500px;
    }

    .floating-card {
        display: none;
    }

    .result-actions {
        flex-direction: column;
    }

    .performance-indicators {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-consulta-nfce h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .mockup-content {
        padding: 16px;
    }

    .nfce-search-form,
    .nfce-result {
        padding: 16px;
    }
}

/* ===============================================
   SEÇÕES PADRÃO NFC-E - TEMA AMARELO
   =============================================== */

/* Variáveis para NFC-e - Paleta Azul Clara */
:root {
    --nfce-primary: #3b82f6;
    --nfce-primary-dark: #2563eb;
    --nfce-secondary: #60a5fa;
    --nfce-gradient-start: #60a5fa;
    --nfce-gradient-end: #3b82f6;
    --nfce-dark: #1e293b;
    --dark: #666;
    --nfce-text-gray: #475569;
    --nfce-text-medium: #64748b;
    --nfce-bg-light: #f1f5f9;
    --nfce-bg-alt: #0f172a;
}

/* Seções principais */
.lp-section {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: #fff;
}

.lp-section--alt {
    background: var(--nfce-bg-light);
}

.lp-section--gradient {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.lp-section--gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.35), transparent 55%),
        radial-gradient(circle at 80% 40%, rgba(59, 130, 246, 0.25), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.lp-section__narrow {
    max-width: 860px;
    margin-inline: auto;
}

.lp-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.lp-section__header--light {
    color: #fff;
}

.lp-section__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--nfce-primary);
    background: rgba(96, 165, 250, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

.lp-section--gradient .lp-section__eyebrow {
    background: rgba(96, 165, 250, 0.25);
    color: #fff;
}

.lp-section__title {
    margin-top: 1rem;
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
}

.lp-section--gradient .lp-section__title {
    color: #fff;
}

.lp-section__subtitle {
    margin-top: 0.75rem;
    color: var(--nfce-text-medium);
    font-size: 1.25rem;
    line-height: 1.6;
}

.lp-section--gradient .lp-section__subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.lp-article p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--nfce-text-medium);
}

.lp-article h2 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Seção de background com lupa (similar às outras páginas) */
#introducao {
    position: relative;
    overflow: hidden;
}

#introducao::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/background/fundo.png') no-repeat center left;
    background-size: 20%;
    opacity: 0.08;
    z-index: 1;
}

.lp-article {
    position: relative;
    z-index: 2;
}

/* Steps (Como funciona) */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.lp-step {
    position: relative;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.lp-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(96, 165, 250, 0.18);
    border-color: #93c5fd;
}

.lp-step__number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--nfce-primary), var(--nfce-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.4);
}

.lp-step__icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto 1.5rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #60a5fa;
}

.lp-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #374151;
    font-weight: 700;
}

.lp-step p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
}

/* Benefits (Benefícios) */
.lp-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.lp-benefit {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: #fff;
    box-shadow: 0 18px 35px rgba(59, 130, 246, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.lp-benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(96, 165, 250, 0.15);
    border-color: #93c5fd;
}

.lp-benefit__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #60a5fa;
}

.lp-benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #374151;
    font-weight: 700;
}

.lp-benefit p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
}

/* Feature Grid (Recursos) */
.lp-feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
}

.lp-feature {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(147, 197, 253, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.9rem;
    border: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.lp-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(96, 165, 250, 0.25);
    border-color: rgba(96, 165, 250, 0.4);
}

.lp-feature__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--nfce-primary), var(--nfce-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
}

.lp-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #374151;
    font-weight: 700;
}

.lp-feature p {
    color: #6b7280;
    line-height: 1.65;
}

.lp-section__cta {
    margin-top: 3rem;
    text-align: center;
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 12px 35px rgba(96, 165, 250, 0.12);
    border-color: #93c5fd;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.faq-question:hover {
    background: rgba(96, 165, 250, 0.05);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #666;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-question i {
    color: #60a5fa;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.8rem 1.8rem;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* Botões específicos da NFC-e */
.btn-white {
    background: #fff;
    color: var(--nfce-dark);
    border: 2px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
}

.btn-white:hover {
    background: var(--nfce-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
    color: var(--nfce-dark);
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .lp-section__title {
        font-size: 2.2rem;
    }

    .lp-article h2 {
        font-size: 2.2rem;
    }

    .lp-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lp-step {
        padding: 2rem 1.5rem;
    }

    .lp-step__icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin: 0.8rem auto 1.2rem;
    }

    .lp-step__number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -12px;
    }

    .lp-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lp-benefit {
        padding: 2rem 1.5rem;
    }

    .lp-benefit__icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin: 0 auto 1.2rem;
    }

    .lp-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lp-feature {
        padding: 1.5rem;
        text-align: center;
    }

    .lp-feature__icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto 1.2rem;
    }

    #introducao::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .lp-section {
        padding: 3rem 0;
    }

    .lp-section__title {
        font-size: 1.8rem;
    }

    .lp-article h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 1.4rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.4rem 1.4rem;
    }
}