/* =============================================================
   RELATÓRIOS EXPRESS — CSS da Página
   ============================================================= */

: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 — Relatórios Express
--------------------------------------------------------------- */
.hero-relatorios-express {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #5b21b6 0%, #3730a3 60%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.hero-relatorios-express::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-relatorios-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-relatorios-content {
    max-width: 600px;
}

/* Reutiliza .hero-badge, .hero-cta, .hero-cta-benefits, .hero-description do consulta-nfe */
.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;
}

.btn-white {
    background: #fff;
    color: #1e3a8a;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
}

.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-relatorios-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-primary {
    color: #c4b5fd;
}

.highlight-secondary {
    color: #a5f3fc;
}

.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;
}

.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 VISUAL
--------------------------------------------------------------- */
.hero-relatorios-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-relatorios-container {
    position: relative;
    width: 100%;
    max-width: 520px;
}

/* ---------------------------------------------------------------
   MOCKUP — catálogo de relatórios
--------------------------------------------------------------- */
.relatorios-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mockup-header {
    background: linear-gradient(135deg, #5b21b6 0%, #3730a3 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.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Barra de busca do mockup */
.rex-search-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.rex-search-bar i {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Seção interna do mockup */
.rex-section {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.rex-section--vip {
    border-color: #c7d2fe;
}

.rex-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.rex-section--vip .rex-section-header {
    background: #eef2ff;
    border-bottom-color: #c7d2fe;
}

.rex-section-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.82rem;
}

.rex-section-sub {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-left: auto;
}

.rex-icon-yellow { color: #f59e0b; }
.rex-icon-blue   { color: #6366f1; }

/* Cards de relatório */
.rex-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.rex-card:last-child {
    border-bottom: none;
}

.rex-card--top {
    background: #fefce8;
}

.rex-card-icon {
    font-size: 1.1rem;
    color: #3b82f6;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.rex-card-icon--purple { color: #8b5cf6; }

.rex-card-info {
    flex: 1;
    min-width: 0;
}

.rex-card-info strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.rex-card-info span {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rex-tags {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.rex-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.rex-tag--nfe   { background: #dbeafe; color: #1d4ed8; }
.rex-tag--label { background: #f1f5f9; color: #475569; }

.rex-uses {
    font-size: 0.85rem;
    font-weight: 800;
    color: #3b82f6;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.rex-uses--gray { color: #94a3b8; }

.rex-uses small {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
}

/* Grid VIP */
.rex-vip-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rex-vip-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: #fff;
    border-bottom: 1px solid #e0e7ff;
}

.rex-vip-card:last-child {
    border-bottom: none;
}

.rex-vip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.rex-vip-icon--teal { background: #0891b2; }

.rex-vip-card > div:not(.rex-vip-icon) strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.15rem;
}

.rex-vip-card > div:not(.rex-vip-icon) span {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.35;
}

.rex-vip-badge {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    color: #7c3aed;
    background: #ede9fe;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

/* 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: 5%;
    right: -10%;
    animation-delay: 0s;
}

.elem-2 {
    bottom: 35%;
    left: -15%;
    animation-delay: 1s;
}

.elem-3 {
    bottom: 5%;
    right: -8%;
    animation-delay: 2s;
}

.floating-element i {
    color: #6366f1;
    font-size: 1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* ---------------------------------------------------------------
   RESPONSIVIDADE — Hero
--------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-relatorios-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-relatorios-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-relatorios-content h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-relatorios-express {
        padding: 5rem 0 4rem;
    }

    .hero-relatorios-content h1 {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .mockup-content {
        padding: 1rem;
    }
}

/* ---------------------------------------------------------------
   SEÇÃO INTRODUÇÃO
--------------------------------------------------------------- */
#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;
}

@media (max-width: 768px) {
    #introducao::before { display: none; }
}

/* ---------------------------------------------------------------
   SEÇÕES LP (comuns)
--------------------------------------------------------------- */
.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(99, 102, 241, 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(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

.lp-section--gradient .lp-section__eyebrow {
    background: rgba(99, 102, 241, 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-section__cta {
    margin-top: 3rem;
    text-align: center;
}

.lp-article p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.lp-article h2 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* ---------------------------------------------------------------
   STEPS
--------------------------------------------------------------- */
.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, #8b5cf6, #6366f1);
    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(99, 102, 241, 0.35);
}

.lp-step__icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6366f1;
}

.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;
}

@media (max-width: 768px) {
    .lp-steps { grid-template-columns: 1fr; gap: 1.5rem; }
    .lp-step  { padding: 2rem 1.5rem; }
}

/* ---------------------------------------------------------------
   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(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6366f1;
}

.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;
}

@media (max-width: 768px) {
    .lp-benefits { grid-template-columns: 1fr; gap: 1.5rem; }
    .lp-benefit  { padding: 2rem 1.5rem; }
}

/* ---------------------------------------------------------------
   CATEGORIAS DE RELATÓRIOS
--------------------------------------------------------------- */
.rex-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.rex-category {
    padding: 2rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.rex-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.11);
}

.rex-category__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.25rem;
}

.rex-category__icon--blue   { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.rex-category__icon--orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.rex-category__icon--green  { background: linear-gradient(135deg, #22c55e, #16a34a); }
.rex-category__icon--purple { background: linear-gradient(135deg, #a855f7, #9333ea); }
.rex-category__icon--teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.rex-category__icon--gold   { background: linear-gradient(135deg, #f59e0b, #d97706); }

.rex-category h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rex-category p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.rex-category__count {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    letter-spacing: 0.02em;
}

.rex-vip-inline {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #7c3aed;
    background: #ede9fe;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    vertical-align: middle;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .rex-categories {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ---------------------------------------------------------------
   FEATURE GRID (seção escura)
--------------------------------------------------------------- */
.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(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c4b5fd;
}

.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;
}

@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; }
}

/* ---------------------------------------------------------------
   FAQ
--------------------------------------------------------------- */
.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: #6366f1;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.975rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .faq-question   { padding: 1rem 1.25rem; }
    .faq-answer     { padding: 0 1.25rem 1rem; }
    .faq-question h3 { font-size: 0.975rem; }
}

/* ---------------------------------------------------------------
   RESPONSIVIDADE GLOBAL
--------------------------------------------------------------- */
@media (max-width: 768px) {
    .lp-section__title  { font-size: 2rem; }
    .lp-section__subtitle { font-size: 1.05rem; }
    .lp-article h2      { font-size: 2rem; }
}
