:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #10b981;
    --gradient-start: #10b981;
    --gradient-end: #22c55e;
    --dark: #666;
    --text-gray: #4b5563;
    --text-medium: #4b5563;
    --bg-light: #f0fdf4;
    --bg-alt: #1f2937;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
    color: #0f172a;
}

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

/* .lp-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
} */

/* .lp-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
} */

/* .lp-header__logo img {
    display: block;
}

.lp-header__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lp-header__link {
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-header__link:hover,
.lp-header__link:focus {
    color: var(--primary);
} */

/* .lp-header__cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
} */

/* .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.75rem 1.8rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
} */

/* .btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
} */

/* .btn-primary:hover {
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(34, 197, 94, 0.35);
} */

/* .btn-outline {
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--primary);
    background: transparent;
} */

/* .btn-outline:hover {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary);
} */

.btn-white {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-white:hover {
    color: var(--primary-dark);
    border-color: #fff;
}

.btn-green {
    background: linear-gradient(135deg, var(--secondary), #059669);
    color: #fff;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
    background: linear-gradient(135deg, #059669, var(--secondary));
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(16, 185, 129, 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: #6ee7b7;
    margin-right: 0.5rem;
}

/* Hero Consulta CT-e - INÍCIO */
.hero-consulta-cte {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    position: relative;
    overflow: hidden;
}

.hero-consulta-cte::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(4, 120, 87, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-consulta-cte-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Conteúdo Principal */
.hero-consulta-cte-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-cte-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-primary {
    color: #6ee7b7;
}

.highlight-secondary {
    color: #a7f3d0;
}

.highlight-accent {
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* Área Visual */
.hero-consulta-cte-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-consulta-cte-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Mockup de Consulta CT-e */
.consulta-cte-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, #047857 0%, #065f46 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, #047857, #065f46);
    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(4, 120, 87, 0.3);
}

.btn-sefaz:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 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: #d1fae5;
}

.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: #10b981;
    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 Consulta */
.consulta-resultado {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid #22c55e20;
}

.resultado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.autorizada {
    background: #10b981;
    color: white;
}

.cte-numero {
    font-size: 0.85rem;
    font-weight: 700;
    color: #047857;
}

.resultado-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
}

.info-value {
    font-size: 0.85rem;
    color: #212529;
    font-weight: 700;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    animation: float 3s ease-in-out infinite;
}

.elem-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.elem-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
}

.elem-3 {
    bottom: 10%;
    right: -5%;
    animation-delay: 2s;
}

.floating-element i {
    color: #047857;
    font-size: 1rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-consulta-cte-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-consulta-cte-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-consulta-cte-content h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-consulta-cte {
        padding: 5rem 0 4rem;
    }

    .hero-consulta-cte-content h1 {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .mockup-content {
        padding: 1rem;
    }

    .btn-sefaz {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.875rem 1.5rem;
    }

    .hero-cta-benefits {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}
/* Hero Consulta CT-e - FIM */

/* 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 {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: #fff;
}

.lp-section--alt {
    background: var(--bg-light);
}

.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(16, 185, 129, 0.35), transparent 55%),
                radial-gradient(circle at 80% 40%, rgba(34, 197, 94, 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(--primary);
    background: rgba(34, 197, 94, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

.lp-section--gradient .lp-section__eyebrow {
    background: rgba(34, 197, 94, 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(--text-medium);
    font-size: 1.25rem;
    line-height: 1.6;
}

.lp-section--gradient .lp-section__subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.lp-article p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* 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-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(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    text-align: center;
    transition: all 0.3s ease;
}

.lp-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.lp-step__number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    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(34, 197, 94, 0.3);
}

.lp-step__icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.lp-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.lp-step p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsividade para Steps */
@media (max-width: 768px) {
    .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-step h3 {
        font-size: 1.2rem;
    }
}

.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(34, 197, 94, 0.1), rgba(16, 185, 129, 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;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.lp-benefit p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsividade para Benefits */
@media (max-width: 768px) {
    .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 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
}

.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(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6ee7b7;
}

.lp-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.lp-feature p {
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.65;
}

.lp-section__cta {
    margin-top: 3rem;
    text-align: center;
}

/* Responsividade para Features */
@media (max-width: 768px) {
    .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;
    }
    
    .lp-feature h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
}

.faq {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.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(34, 197, 94, 0.05);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-question i {
    color: var(--primary);
    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: var(--text-medium);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 1100px) {
    .lp-header__nav {
        display: none;
    }

    .hero-consulta__grid {
        grid-template-columns: 1fr;
    }

    .hero-consulta__card {
        order: -1;
    }
}

@media (max-width: 768px) {
    .lp-header__container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .lp-header__cta {
        width: 100%;
        justify-content: flex-end;
    }

    .hero-consulta {
        padding: 6rem 0 3rem;
    }

    .lp-section {
        padding: 3.5rem 0;
    }

    .lead-form {
        padding: 1.6rem;
    }
}

@media (max-width: 560px) {
    .lp-header__cta {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }

    .hero-consulta__card,
    .lead-form {
        padding: 1.5rem;
    }

    .hero-consulta__actions {
        align-items: stretch;
    }

    .hero-consulta__trust {
        text-align: center;
    }
}