:root {
    --cb-purple: #7c3aed;
    --cb-purple-light: #a78bfa;
    --cb-blue: #3b82f6;
    --cb-blue-dark: #2563eb;
    --cb-green: #14b87a;
    --cb-green-dark: #0d9662;
    --cb-green-light: rgba(20, 184, 122, 0.12);
    --cb-gradient: linear-gradient(135deg, var(--cb-purple) 0%, var(--cb-blue) 58%, var(--cb-green) 100%);
    --cb-gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.07) 0%, rgba(59, 130, 246, 0.08) 55%, rgba(20, 184, 122, 0.07) 100%);
    --cb-dark: #1e293b;
    --cb-muted: #64748b;
    --cb-light: #f8fafc;
    --cb-border: #e2e8f0;
    --cb-radius: 1rem;
    --cb-shadow: 0 4px 24px rgba(30, 41, 59, 0.08);
    --cb-shadow-lg: 0 12px 40px rgba(30, 41, 59, 0.12);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
    color: var(--cb-dark);
    background: #fff;
}

.text-gradient {
    background: var(--cb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: var(--cb-gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover,
.btn-gradient:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28), 0 4px 12px rgba(20, 184, 122, 0.18);
}

.btn-outline-brand {
    border: 2px solid var(--cb-border);
    color: var(--cb-dark);
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: #fff;
}

.btn-outline-brand:hover {
    border-color: var(--cb-green);
    color: var(--cb-green-dark);
    background: #fff;
}

/* Navbar */
.navbar-conectabid {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cb-border);
    padding: 0.75rem 0;
}

.navbar-conectabid .navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-conectabid .nav-link {
    color: var(--cb-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
}

.navbar-conectabid .nav-link:hover,
.navbar-conectabid .nav-link.active {
    color: var(--cb-blue-dark);
}

.navbar-conectabid .nav-link:hover {
    color: var(--cb-green-dark);
}

/* Hero */
.hero-section {
    padding: 5rem 0 4rem;
    background: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 45%),
                radial-gradient(ellipse at 70% 85%, rgba(20, 184, 122, 0.09) 0%, transparent 42%),
                var(--cb-light);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--cb-border);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: var(--cb-muted);
    margin-bottom: 1.5rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cb-gradient);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--cb-muted);
    max-width: 540px;
    line-height: 1.7;
}

.hero-visual {
    position: relative;
}

.hero-card-stack {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.hero-card {
    background: #fff;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow-lg);
    padding: 1.5rem;
    border: 1px solid var(--cb-border);
}

.hero-card-with-photo {
    padding: 0;
    overflow: hidden;
}

.hero-card-photo {
    height: 150px;
    overflow: hidden;
}

.hero-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.hero-card-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
}

.hero-card-floating {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    box-shadow: var(--cb-shadow);
    font-size: 0.85rem;
    border: 1px solid var(--cb-border);
    border-left: 3px solid var(--cb-green);
    z-index: 2;
}

.hero-carousel {
    position: relative;
    padding-bottom: 2rem;
}

.hero-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.hero-carousel-indicators {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
}

.hero-carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: var(--cb-border);
    opacity: 1;
    margin: 0 4px;
}

.hero-carousel-indicators .active {
    background: var(--cb-gradient);
}

/* Insight callout — empresa de tecnologia */
.insight-callout {
    display: grid;
    grid-template-columns: 140px 52px 1fr;
    gap: 1.25rem;
    align-items: start;
    text-align: left;
    background: var(--cb-gradient-soft);
    border: 1px solid var(--cb-border);
    border-left: 4px solid var(--cb-green);
    border-radius: var(--cb-radius);
    padding: 1.5rem;
    overflow: hidden;
}

.insight-photo {
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    min-height: 120px;
}

.insight-photo img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    display: block;
}

.insight-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--cb-gradient);
    color: #fff;
}

.insight-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.insight-text {
    color: var(--cb-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .insight-callout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .insight-photo {
        max-height: 180px;
    }
}

/* Empresa photo panel */
.empresa-photo-panel {
    position: relative;
    min-height: 320px;
}

.empresa-photo-main {
    width: 78%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow-lg);
    display: block;
}

.empresa-photo-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--cb-radius);
    border: 4px solid #fff;
    box-shadow: var(--cb-shadow);
}

.segment-photo-wide {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow);
}

/* Sections */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cb-purple);
    margin-bottom: 0.75rem;
}

.section-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cb-green);
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--cb-muted);
    font-size: 1.05rem;
    max-width: 640px;
    line-height: 1.7;
}

.section-padding {
    padding: 5rem 0;
}

.bg-soft {
    background: var(--cb-light);
}

/* About cards */
.about-card {
    background: #fff;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.about-card:hover {
    box-shadow: var(--cb-shadow);
    transform: translateY(-2px);
}

.about-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    background: var(--cb-gradient);
    color: #fff;
}

.about-card-v2 {
    padding: 0;
    overflow: hidden;
}

.about-card-photo {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.about-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-card-photo-icon {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--cb-green-dark);
    font-size: 1rem;
    box-shadow: var(--cb-shadow);
}

.about-card-v2 > .about-icon {
    margin: 1.5rem 1.5rem 0;
}

.about-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

/* Product cards */
.product-card {
    background: #fff;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
    box-shadow: var(--cb-shadow-lg);
    transform: translateY(-4px);
}

.product-card-v2 {
    padding: 0;
    overflow: hidden;
}

.product-card-photo {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.product-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.product-card-v2:hover .product-card-photo img {
    transform: scale(1.04);
}

.product-badge-photo {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.product-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0;
}

.product-card.em-breve {
    opacity: 0.85;
}

.product-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.product-logo-placeholder.mail {
    background: rgba(59, 130, 246, 0.12);
    color: var(--cb-blue);
}

.product-logo-placeholder.nexor {
    background: rgba(124, 58, 237, 0.12);
    color: var(--cb-purple);
}

.product-logo-placeholder.stream {
    background: var(--cb-green-light);
    color: var(--cb-green);
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--cb-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cb-blue-dark);
    margin-bottom: 0.15rem;
}

.product-price-label {
    font-size: 0.8rem;
    color: var(--cb-muted);
    margin-bottom: 1rem;
}

.product-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.badge-disponivel {
    background: var(--cb-green-light);
    color: var(--cb-green-dark);
}

.badge-breve {
    background: rgba(100, 116, 139, 0.12);
    color: var(--cb-muted);
}

/* Steps */
.step-item {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cb-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-item h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--cb-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA */
.cta-section {
    background: var(--cb-gradient);
    border-radius: calc(var(--cb-radius) * 1.5);
    padding: 3.5rem 2rem;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-section p {
    opacity: 0.9;
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

.btn-cta-white {
    background: #fff;
    color: var(--cb-blue-dark);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    border: none;
}

.btn-cta-white:hover {
    background: #f1f5f9;
    color: var(--cb-green-dark);
}

.footer-conectabid a:hover {
    color: var(--cb-green);
}

/* Footer */
.footer-conectabid {
    background: var(--cb-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer-conectabid a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-conectabid .footer-logo {
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

.legal-doc h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-doc p, .legal-doc li {
    font-size: 0.92rem;
    color: var(--cb-muted);
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin-top: 2.5rem;
    }
}

.pwd-rules li {
    color: var(--cb-muted);
    margin-bottom: 0.25rem;
}

.pwd-rules li i {
    font-size: 0.55rem;
    vertical-align: middle;
    margin-right: 0.35rem;
}

.pwd-rules li.pwd-rule-ok {
    color: var(--cb-green-dark);
}

.pwd-rules li.pwd-rule-ok i::before {
    content: "\f26b";
}

.pwd-rules li.pwd-rule-pending {
    color: #b45309;
}

.pwd-rules li.pwd-rule-ok i {
    color: var(--cb-green);
}

.password-toggle-wrap {
    position: relative;
}

.password-toggle-wrap .form-control {
    padding-right: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--cb-muted);
    border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
    cursor: pointer;
    padding: 0;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: var(--cb-dark);
    outline: none;
}

