/* ==========================================================================
   Granafy Corban - Dedicated Styles
   Visual identity for commercial partners, Corbans and credit resellers.
   Extends style.css without touching /cliente page.
   ========================================================================== */

/* ---- Corban Hero Accent Badge ---- */
.corban-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: linear-gradient(135deg, #054C1D 0%, #0a7a30 100%);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #32E934;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(50, 233, 52, 0.2);
}

.corban-hero-badge i {
    font-size: 1rem;
    color: #32E934;
}

/* ---- Corban Feature Items (dark-green toned, differentiating from cliente) ---- */
.corban-page .feature-item {
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
    border: 1px solid #BBF7D0;
    color: #054C1D;
    font-weight: 600;
}

.corban-page .feature-item i {
    color: #054C1D;
}

/* ---- Button Alignment Fix (all buttons in corban page) ---- */
.corban-page .btn,
.corban-page .cta-button,
.corban-page button[type="submit"],
.corban-page .whatsapp-button,
.corban-page .btn-primary,
.corban-page .btn-outline,
.corban-page .btn-large,
.corban-page .btn-full,
.corban-page .cta-btn,
.corban-page .btn-step-final,
.corban-page .btn-why-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px;
}

/* ---- Benefit Cards - Corban Differentiation ---- */
/* Top accent line on cards to signal B2B/commercial */
.corban-page .benefit-card {
    border-top: 3px solid transparent;
    border-top-color: rgba(50, 233, 52, 0.4);
    position: relative;
}

.corban-page .benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-neon-main) 0%, transparent 100%);
    border-radius: 3px 3px 0 0;
}

/* Small "partner" tag on benefit cards */
.corban-page .benefit-card .card-icon {
    background: linear-gradient(135deg, #054C1D 0%, #0a7a30 100%);
    border: 1px solid rgba(50, 233, 52, 0.3);
    color: #32E934;
}

.corban-page .benefit-card:hover .card-icon {
    background: linear-gradient(135deg, #0a7a30 0%, #054C1D 100%);
    color: #32E934;
}

/* ---- Commercial Seals / Mini-badges on benefit cards ---- */
.corban-benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #054C1D;
    background: rgba(50, 233, 52, 0.15);
    border: 1px solid rgba(50, 233, 52, 0.3);
    border-radius: 20px;
    padding: 3px 10px;
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Steps Section - Commercial Connector ---- */
.corban-page .steps-container::before {
    border-top: 2px dashed rgba(5, 76, 29, 0.25);
}

.corban-page .step-number {
    background: linear-gradient(135deg, #054C1D 0%, #0a7a30 100%);
    border-color: #32E934;
    color: #32E934;
}

/* ---- Why Choose Section - B2B Visual ---- */
.corban-page .check-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(5, 76, 29, 0.06);
}

.corban-page .check-list li:last-child {
    border-bottom: none;
}

/* ---- Authority Section - Corban Specific Stats ---- */
.corban-page .stat-box {
    border-left: 3px solid var(--color-neon-main);
    text-align: left;
    padding-left: 20px;
}

.corban-page .stat-box i {
    font-size: 2rem;
    display: block;
    text-align: left;
}

/* ---- Corban KPI Banner (between hero and benefits) ---- */
.corban-kpi-bar {
    background: linear-gradient(135deg, #054C1D 0%, #073d17 100%);
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}

.corban-kpi-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(50, 233, 52, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 233, 52, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.corban-kpi-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.corban-kpi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 40px;
    border-right: 1px solid rgba(50, 233, 52, 0.15);
    position: relative;
    z-index: 1;
}

.corban-kpi-item:last-child {
    border-right: none;
}

.corban-kpi-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #32E934;
    line-height: 1;
    margin-bottom: 4px;
}

.corban-kpi-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
}

/* ---- Form - Two Column Desktop Layout ---- */
.corban-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.corban-form-grid .form-group {
    margin-bottom: 0;
}

.corban-form-full {
    grid-column: 1 / -1;
}

/* Override global form-row (keep single column inside it for select fields) */
.corban-page .contact-form-wrapper .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.corban-page .contact-form-wrapper textarea {
    min-height: 90px;
    resize: vertical;
}

/* ---- Form Header inside card ---- */
.corban-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(50, 233, 52, 0.15);
}

.corban-form-header .form-header-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #054C1D, #0a7a30);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #32E934;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.corban-form-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin: 0;
}

.corban-form-header p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 2px 0 0 0;
}

/* ---- Section Commercial Differentiator Badge ---- */
.corban-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.corban-section-badge.badge-partner {
    background: rgba(5, 76, 29, 0.06);
    color: #054C1D;
    border: 1px solid rgba(5, 76, 29, 0.15);
}

.corban-section-badge.badge-commercial {
    background: rgba(50, 233, 52, 0.08);
    color: #054C1D;
    border: 1px solid rgba(50, 233, 52, 0.2);
}

/* ---- Hero Floating Card - Corban Styled ---- */
.corban-page .hero-floating-card {
    background: linear-gradient(135deg, #054C1D 0%, #0a7a30 100%);
    border: 1px solid rgba(50, 233, 52, 0.3);
    color: #FFFFFF;
}

.corban-page .hero-floating-card .floating-icon {
    background: rgba(50, 233, 52, 0.2);
    color: #32E934;
}

.corban-page .hero-floating-card .floating-text strong {
    color: #FFFFFF;
}

.corban-page .hero-floating-card .floating-text span {
    color: rgba(255, 255, 255, 0.75);
}

/* ---- Solutions Cards - Corban Tag ---- */
.corban-page .solution-card {
    border-top: 2px solid rgba(50, 233, 52, 0.25);
    position: relative;
}

/* ---- Why Choose - Image Container ---- */
.corban-page .why-visual::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80%;
    height: 80%;
    border: 2px solid rgba(50, 233, 52, 0.15);
    border-radius: 24px;
    z-index: 0;
    pointer-events: none;
}

/* ---- Corban Commercial Highlight Strip (in Why Choose section) ---- */
.corban-highlight-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-bottom: 24px;
}

.corban-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #054C1D;
}

.corban-highlight-pill i {
    color: #32E934;
    font-size: 0.9rem;
}

/* ---- Accordion - Corban specific left bar ---- */
.corban-page .accordion-item.active {
    border-left: 4px solid var(--color-neon-main);
}

/* ---- CTA Final - Corban Elevated ---- */
.corban-page .cta-box {
    background: linear-gradient(160deg, #FFFFFF 0%, #F0FDF4 40%, #FFFFFF 100%);
    border: 1px solid rgba(50, 233, 52, 0.2);
}

.corban-page .cta-trust-line {
    font-size: 0.82rem;
    color: #054C1D;
    font-weight: 600;
}

/* ---- Footer Contact - Nav override for corban ---- */
.corban-page .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.corban-page .footer-nav a {
    color: #B8C8C0;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.corban-page .footer-nav a:hover {
    color: #32E934;
    padding-left: 5px;
}

/* ---- Responsive - Mobile Form (1 column) ---- */
@media (max-width: 768px) {
    .corban-kpi-inner {
        gap: 0;
    }

    .corban-kpi-item {
        padding: 12px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(50, 233, 52, 0.15);
        width: 50%;
    }

    .corban-kpi-item:nth-child(2n) {
        border-right: none;
    }

    .corban-kpi-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .corban-form-grid {
        grid-template-columns: 1fr;
    }

    .corban-form-full {
        grid-column: 1;
    }

    .corban-page .contact-form-wrapper .form-row {
        grid-template-columns: 1fr;
    }

    .corban-page .btn-step-final {
        min-width: 0;
        width: auto;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .corban-page .why-visual::after {
        display: none;
    }

    .corban-highlight-strip {
        justify-content: center;
    }


    /* Floating card: tratado pelo bloco inline no <head> do corban.php */

}

@media (max-width: 480px) {
    .corban-kpi-item {
        width: 100%;
        border-bottom: 1px solid rgba(50, 233, 52, 0.15);
        border-right: none;
    }

    .corban-kpi-item:last-child {
        border-bottom: none;
    }

    .corban-form-header h3 {
        font-size: 1rem;
    }
}
