/* =================================================================
   NEXRUMO - EMPRESA & PROPRIETARIO PAGES
   Estilos específicos para páginas de conversão PJ e PF
   ================================================================= */

/* ============================================
   HERO EMPRESA
   ============================================ */

.hero-empresa {
    padding: calc(var(--header-height) + 80px) 0 80px;
    background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--bg-white) 100%);
    position: relative;
}

.hero-empresa .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 24px;
    background: var(--warning);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-small);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-4);
    animation: pulse 2s infinite;
}

.hero-empresa h1 {
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin: var(--space-6) 0;
    padding: var(--space-5);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: var(--fw-bold);
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--font-small);
    color: var(--text-secondary);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
    font-size: var(--font-small);
    color: var(--text-secondary);
}

.hero-trust p {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin: 0;
}

.hero-trust i {
    color: var(--success);
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* ============================================
   PAIN POINTS EMPRESA
   ============================================ */

.pain-points-empresa {
    padding: var(--section-spacing) 0;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
}

.pain-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all var(--transition-base);
}

.pain-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pain-icon {
    font-size: 48px;
    margin-bottom: var(--space-3);
}

.pain-title {
    font-size: 20px;
    margin-bottom: var(--space-2);
}

.pain-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.pain-solution {
    display: flex;
    gap: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
}

.solution-icon {
    color: var(--success);
    font-size: 24px;
    flex-shrink: 0;
}

.pain-solution p {
    margin: 0;
    font-size: var(--font-small);
}

/* ============================================
   HOW IT WORKS - CORRIGIDO
   ============================================ */

.how-it-works {
    background: var(--bg-light);
    padding: var(--section-spacing) 0;
}

.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--space-3);
}

.step-item {
    flex: 1;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-4);
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: var(--space-3);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content p {
    font-size: var(--font-small);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.step-arrow {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 var(--space-1);
}

@media (max-width: 992px) {
    .steps-container {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .step-item {
        flex: 1 1 calc(50% - var(--space-4));
        min-height: 240px;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }

    .step-item {
        flex: 1 1 100%;
        min-height: auto;
        padding: var(--space-4);
    }

    .step-content h3 {
        min-height: auto;
    }
}

/* ============================================
   CASE STUDIES
   ============================================ */

.case-studies {
    padding: var(--section-spacing) 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4);
}

.case-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.case-company {
    margin-bottom: var(--space-4);
}

.case-icon {
    font-size: 48px;
    margin-bottom: var(--space-2);
}

.case-company h3 {
    font-size: 20px;
    margin-bottom: var(--space-1);
}

.case-location {
    font-size: var(--font-small);
    color: var(--text-muted);
}

.case-result {
    background: var(--primary-ultra-light);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    margin-bottom: var(--space-4);
    text-align: center;
}

.result-metric {
    font-size: 36px;
    font-weight: var(--fw-bold);
    color: var(--success);
    margin-bottom: var(--space-1);
}

.case-result p {
    margin: 0;
    font-size: var(--font-small);
    color: var(--text-secondary);
}

.case-quote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-3);
    border-left: 4px solid var(--primary);
    padding-left: var(--space-3);
}

.case-author {
    font-size: var(--font-small);
    color: var(--text-muted);
}

/* ============================================
   FEATURES EMPRESA
   ============================================ */

.features-empresa {
    background: var(--bg-light);
    padding: var(--section-spacing) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.feature-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-ultra-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
}

.feature-icon i {
    font-size: 24px;
}

.feature-item h3 {
    font-size: 16px;
    margin-bottom: var(--space-2);
}

.feature-item p {
    font-size: var(--font-small);
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   APP DO MOTORISTA - NOVA SEÇÃO
   ============================================ */

.driver-app-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    overflow: hidden;
}

.driver-app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.driver-app-text {
    padding-right: var(--space-4);
}

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 16px;
    background: var(--warning);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-small);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-4);
}

.pro-badge i {
    width: 16px;
    height: 16px;
}

.driver-app-section h2 {
    color: var(--bg-white);
    margin-bottom: var(--space-3);
}

.driver-app-subtitle {
    font-size: 20px;
    color: var(--bg-white);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.driver-app-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.driver-feature {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.driver-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.driver-feature-icon i {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.driver-feature-content h4 {
    font-size: 16px;
    margin-bottom: var(--space-1);
    color: var(--bg-white);
}

.driver-feature-content p {
    font-size: var(--font-small);
    color: var(--bg-white);
    margin: 0;
    line-height: 1.5;
}

/* Carrossel de Screenshots do App */
.driver-app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshots-carousel {
    position: relative;
    width: 280px;
    height: 560px;
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.app-screenshot.active {
    opacity: 1;
}

.app-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.carousel-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--bg-white);
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
    .driver-app-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .driver-app-text {
        padding-right: 0;
        text-align: center;
    }

    .driver-feature {
        text-align: left;
    }

    .app-screenshots-carousel {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .app-screenshots-carousel {
        width: 200px;
        height: 400px;
    }
}

/* ============================================
   PLAN COMPARISON
   ============================================ */

.plan-comparison {
    padding: var(--section-spacing) 0;
}

/* Melhoria na Tabela Responsiva */
.comparison-table-full {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    /* Suaviza o scroll no mobile */
    -webkit-overflow-scrolling: touch;
    /* Adiciona sombra lateral para indicar scroll */
    background: linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
        linear-gradient(to right, rgba(255, 255, 255, 0), white 70%) 0 100%,
        radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)),
        radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 0 100%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-position: 0 0, 100%, 0 0, 100%;
    background-attachment: local, local, scroll, scroll;
    padding-bottom: var(--space-2);
    /* Espaço para barra de rolagem */
}

/* Garante que a primeira coluna (labels) não fique muito estreita no mobile */
.comparison-table-full td:first-child,
.comparison-table td:first-child {
    min-width: 160px;
    text-align: left;
    padding-left: var(--space-4);
}

/* Centraliza os ícones nas outras colunas */
.comparison-table-full td:not(:first-child),
.comparison-table td:not(:first-child) {
    min-width: 120px;
}

.comparison-table-full table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table-full th {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: var(--space-4);
    text-align: center;
    font-weight: var(--fw-semibold);
}

.featured-col {
    background: var(--primary);
}

.price-tag {
    display: block;
    font-size: var(--font-small);
    opacity: 0.9;
    margin-top: var(--space-1);
}

.comparison-table-full td {
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.comparison-table-full td:first-child {
    text-align: left;
    font-weight: var(--fw-medium);
}

.comparison-table-full tr:hover {
    background: var(--bg-light);
}

.highlight-row {
    background: var(--primary-ultra-light);
}

.comparison-table-full i[data-lucide="check"] {
    color: var(--success);
}

.comparison-table-full i[data-lucide="x"] {
    color: var(--text-muted);
}

/* ============================================
   ROI CALCULATOR EMPRESA
   ============================================ */

.roi-calculator-empresa {
    background: var(--bg-light);
    padding: var(--section-spacing) 0;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.calculator-result {
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.result-breakdown {
    margin: var(--space-4) 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
}

.result-label {
    font-size: var(--font-small);
    color: var(--text-secondary);
}

.result-value {
    font-size: 20px;
    font-weight: var(--fw-bold);
    color: var(--primary);
}

.result-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-3) 0;
}

.result-item.total {
    background: var(--primary-ultra-light);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

.result-item.total .result-value {
    font-size: 28px;
    color: var(--success);
}

.result-disclaimer {
    font-size: var(--font-tiny);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    text-align: center;
}

@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FORM SECTION
   ============================================ */

.form-section {
    padding: var(--section-spacing) 0;
}

.form-header {
    margin-bottom: var(--space-6);
}

.form-empresarial {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.form-disclaimer {
    font-size: var(--font-small);
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-3);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FINAL CTA EMPRESA
   ============================================ */

.final-cta-empresa {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: var(--section-spacing) 0;
}

.final-cta-empresa h2 {
    color: var(--bg-white);
}

.final-cta-empresa p {
    color: var(--bg-white);
}

.final-cta-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
    margin-top: var(--space-4);
}

.final-cta-trust p {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--font-small);
    margin: 0;
    color: var(--bg-white);
}

.final-cta-trust i {
    color: var(--bg-white);
}

@media (max-width: 768px) {
    .final-cta-trust {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.mt-5 {
    margin-top: var(--space-10);
}

.btn-block {
    width: 100%;
}



/* ============================================
   FEATURE ITEM DESTACADO
   ============================================ */

.feature-item.featured {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--bg-white);
    border: 2px solid #e94560;
    position: relative;
    overflow: hidden;
}

.feature-item.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.feature-item.featured .feature-icon {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
}

.feature-item.featured h3 {
    color: var(--bg-white);
}

.feature-item.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.feature-item.featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(233, 69, 96, 0.3);
}

.feature-tag {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: 4px 10px;
    background: #e94560;
    color: white;
    font-size: 10px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

/* ============================================
   FORMULÁRIO MELHORADO
   ============================================ */

.form-empresarial .form-row {
    margin-bottom: var(--space-3);
}

.form-empresarial .form-group {
    margin-bottom: 0;
}

.form-empresarial select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

/* Destacar campos novos */
.form-empresarial .form-group:has(#qtdVeiculos),
.form-empresarial .form-group:has(#segmento) {
    position: relative;
}

/* ============================================
   TABELA DE COMPARAÇÃO - LINHA BLOQUEIO
   ============================================ */

.comparison-table-full tr td:first-child:contains("Bloqueio") {
    font-weight: var(--fw-semibold);
}
/* =================================================================
   AJUSTES DE BOTÕES (Adicionar ao final do arquivo)
   ================================================================= */

/* Forçar estilo do botão outline dentro do CTA Final escuro */
.final-cta-empresa .btn-outline {
    color: var(--bg-white) !important;
    border-color: var(--bg-white) !important;
}

.final-cta-empresa .btn-outline:hover {
    background-color: var(--bg-white) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
}
/* ============================================
   DIFERENCIAIS PJ
   ============================================ */

.diferenciais-pj {
    padding: var(--section-spacing) 0;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.diferencial-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    transition: all var(--transition-base);
}

.diferencial-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.diferencial-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-ultra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    color: var(--primary);
}

.diferencial-icon i {
    font-size: 32px;
}

.diferencial-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-2);
}

.diferencial-card p {
    font-size: var(--font-small);
    color: var(--text-secondary);
    margin: 0;
}