/* ==========================================================================
   Seção White-Label — ApexPy
   ========================================================================== */

.wl-section {
    position: relative;
    padding: var(--section-py, clamp(72px, 9vw, 140px)) 0;
    background: var(--bg-secondary, #2A2A2A);
    overflow: hidden;
}

.wl-glow,
.wl-glow-2,
.wl-grid-bg {
    position: absolute;
    pointer-events: none;
}

.wl-glow {
    width: 620px;
    height: 620px;
    top: -280px;
    right: -180px;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-primary, #00BF63) 18%, transparent) 0%, transparent 66%);
}

.wl-glow-2 {
    width: 480px;
    height: 480px;
    bottom: -220px;
    left: -160px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.1) 0%, transparent 66%);
}

.wl-grid-bg {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 50%, black 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 40% 50%, black 20%, transparent 100%);
}

.wl-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.wl-title {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    color: var(--text-primary, #fff);
}

.wl-lead {
    font-size: clamp(0.98rem, 1.4vw, 1.09rem);
    line-height: 1.78;
    color: var(--text-secondary, #B0B0B0);
    max-width: 560px;
    margin-bottom: 26px;
}

.wl-lead strong {
    color: var(--text-primary, #fff);
    font-weight: 700;
}

.wl-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wl-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary, #B0B0B0);
}

.wl-list li i {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: color-mix(in srgb, var(--brand-primary, #00BF63) 14%, transparent);
    color: var(--apexpy-green, var(--brand-primary, #00BF63));
    font-size: 10px;
}

.wl-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn-wl-primary,
.btn-wl-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.97rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-wl-primary {
    background: linear-gradient(135deg, var(--brand-primary, #00BF63), var(--brand-primary-light, #00E676));
    color: #0A1F12;
    box-shadow: 0 6px 26px color-mix(in srgb, var(--brand-primary, #00BF63) 30%, transparent);
}

.btn-wl-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 38px color-mix(in srgb, var(--brand-primary, #00BF63) 44%, transparent);
}

.btn-wl-primary i:last-child {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.btn-wl-primary:hover i:last-child {
    transform: translateX(3px);
}

.btn-wl-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary, #fff);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-wl-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--apexpy-green, var(--brand-primary, #00BF63));
    color: var(--apexpy-green-light, var(--brand-primary-light, #00E676));
}

/* ---------- visual: mesmo core, sete marcas ---------- */

.wl-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    margin-left: auto;
    overflow: visible;
}

.wl-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wl-orbit {
    fill: none;
    stroke: color-mix(in srgb, var(--brand-primary, #00BF63) 20%, transparent);
    stroke-width: 1;
    stroke-dasharray: 3 7;
}

.wl-orbit--soft {
    stroke: rgba(255, 255, 255, 0.06);
    stroke-dasharray: 2 10;
}

.wl-spoke {
    stroke: color-mix(in srgb, var(--brand-primary, #00BF63) 38%, transparent);
    stroke-width: 1.25;
}

.wl-node {
    fill: var(--apexpy-green, var(--brand-primary, #00BF63));
}

.wl-core {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 132px;
    height: 132px;
    transform: translate(-50%, -50%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18)),
        rgba(22, 19, 20, 0.96);
    border: 1px solid color-mix(in srgb, var(--brand-primary, #00BF63) 40%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 10px color-mix(in srgb, var(--brand-primary, #00BF63) 5%, transparent),
        0 0 48px color-mix(in srgb, var(--brand-primary, #00BF63) 20%, transparent);
}

.wl-core-logo {
    height: 26px;
    width: auto;
}

.wl-core-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--apexpy-green, var(--brand-primary, #00BF63));
}

.wl-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 11px;
    background: rgba(28, 24, 25, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.wl-card-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.64rem;
    font-weight: 800;
    color: #fff;
}

.wl-card-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
    .wl-inner { grid-template-columns: 1fr; }
    .wl-visual { margin: 20px auto 0; }
    .wl-lead { max-width: none; }
}

@media (max-width: 640px) {
    .wl-cta { flex-direction: column; align-items: stretch; }
    .btn-wl-primary,
    .btn-wl-ghost { width: 100%; }
    .wl-card { padding: 7px 9px; gap: 6px; }
    .wl-card-name { font-size: 0.68rem; }
    .wl-core { width: 108px; height: 108px; border-radius: 20px; }
    .wl-core-logo { height: 22px; }
}
