:root {
    --primary: #4099ff;
    --primary-dark: #2b7de9;
    --secondary: #2ed8b6;
    --gradient-start: #2ed8b6;
    --gradient-end: #4099ff;
    --dark: #666;
    --text-gray: #4b5563;
    --text-medium: #4b5563;
    --bg-light: #f8fafc;
    --bg-alt: #1f2937;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
    color: #0f172a;
}

/* Hero Manifestação Destinatário - INÍCIO */
.btn-green {
    background: linear-gradient(135deg, var(--secondary), #25b894);
    color: #fff;
    box-shadow: 0 10px 30px rgba(46, 216, 182, 0.3);
}

.btn-green:hover {
    background: linear-gradient(135deg, #25b894, var(--secondary));
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(46, 216, 182, 0.35);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

/* CTA Section no Hero */
.hero-cta {
    margin-top: 2.5rem;
    text-align: center;
}

.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: #52e6c9;
    margin-right: 0.5rem;
}

.hero-consulta-nfe {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    position: relative;
    overflow: hidden;
}

.hero-consulta-nfe::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-consulta-nfe-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Conteúdo Principal */
.hero-consulta-nfe-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    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-nfe-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-primary {
    color: #66ccff;
}

.highlight-secondary {
    color: #99ddff;
}

.highlight-accent {
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Área Visual */
.hero-consulta-nfe-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-consulta-nfe-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Mockup de Manifestação */
.consulta-nfe-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mockup-header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mockup-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.mockup-title {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-content {
    padding: 1.5rem;
}

/* Barra de Busca */
.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn-sefaz {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-sefaz:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-sefaz i {
    font-size: 1.1rem;
}

/* Status de Processamento */
.processing-status {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.status-item.active {
    background: #d4edda;
}

.status-item.processing {
    background: #fff3cd;
}

.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.status-item.active .status-icon {
    background: #28a745;
    color: white;
}

.status-item.processing .status-icon {
    background: #ffc107;
    color: white;
}

.status-info {
    flex: 1;
}

.status-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.15rem;
}

.status-time {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Resultado da Manifestação */
.consulta-resultado {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid #0066cc20;
}

.resultado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.autorizada {
    background: #d4edda;
    color: #155724;
}

.nfe-numero {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0066cc;
}

.resultado-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.info-label {
    color: #6c757d;
    font-weight: 500;
}

.info-value {
    color: #212529;
    font-weight: 600;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: white;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3748;
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    color: #0066cc;
}

.floating-element.elem-1 {
    top: 15%;
    right: -15%;
    animation-delay: 0s;
}

.floating-element.elem-2 {
    bottom: 40%;
    left: -25%;
    animation-delay: 2s;
}

.floating-element.elem-3 {
    bottom: 15%;
    right: -5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Landing Page Sections */
.lp-section {
    padding: 5rem 0;
}

.lp-section--alt {
    background: var(--bg-light);
}

/* Seção Introdução com background de lupa */
#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;
    pointer-events: none;
    z-index: 0;
}

#introducao .container {
    position: relative;
    z-index: 1;
}

/* Ocultar lupa em telas menores */
@media (max-width: 768px) {
    #introducao::before {
        display: none;
    }
}

.lp-section--gradient {
    background: linear-gradient(135deg, var(--bg-alt), #1e293b);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.lp-section--gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 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: 800px;
    margin: 0 auto;
}

.lp-section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.lp-section__header--light {
    color: white;
}

.lp-section__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.lp-section__header--light .lp-section__eyebrow {
    background: rgba(59, 130, 246, 0.25);
    color: #fff;
}

.lp-section__title {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
}

.lp-section__header--light .lp-section__title {
    color: white;
}

/* Padronização de títulos h2 */
.lp-article h2 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.lp-section__subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.lp-section__header--light .lp-section__subtitle {
    color: rgba(255, 255, 255, 0.82);
}

/* Article */
.lp-article {
    text-align: center;
}

.lp-article header h2 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--dark);
}

.lp-article p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Steps */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.lp-step {
    position: relative;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.lp-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.lp-step__number {
    position: absolute;
    top: -15px;
    left: 2.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.lp-step__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.lp-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.lp-step p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Benefits */
.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(148, 163, 184, 0.18);
    background: #fff;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.lp-benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.lp-benefit__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.lp-benefit h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.lp-benefit p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
}

/* Feature Grid */
.lp-feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
    margin-bottom: 4rem;
}

.lp-feature {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 40px rgba(15, 23, 42, 0.3);
    transition: all 0.3s ease;
}

.lp-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 50px rgba(15, 23, 42, 0.4);
}

.lp-feature__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(14, 165, 233, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #66ccff;
}

.lp-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 700;
}

.lp-feature p {
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.65;
}

.lp-section__cta {
    text-align: center;
}

.btn-white {
    background: white;
    color: var(--primary);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Seção de Vídeo */
.lp-section--video {
    background: var(--bg-light);
    padding: 6rem 0;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder-content {
    position: relative;
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.video-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.video-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-consulta-nfe {
        padding: 4rem 0;
    }
    
    .hero-consulta-nfe-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-consulta-nfe-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .lp-section {
        padding: 3rem 0;
    }
    
    .lp-section__title {
        font-size: 2rem;
    }
    
    .lp-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .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-benefit h3 {
        font-size: 1.2rem;
    }
    
    .lp-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-placeholder {
        padding: 2rem 1rem;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-consulta-nfe-content h1 {
        font-size: 1.8rem;
    }
    
    .lp-section__title {
        font-size: 1.6rem;
    }
    
    .lp-step,
    .lp-feature {
        padding: 1.5rem;
    }
}