/* ==========================================================================
   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, rgba(0, 191, 99, 0.18) 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: rgba(0, 191, 99, 0.14);
    color: var(--apexpy-green, #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, #00BF63, #00E676);
    color: #0A1F12;
    box-shadow: 0 6px 26px rgba(0, 191, 99, 0.3);
}

.btn-wl-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 38px rgba(0, 191, 99, 0.44);
}

.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, #00BF63);
    color: var(--apexpy-green-light, #00E676);
}

/* ---------- visual: marcas orbitando o mesmo core ---------- */

.wl-visual {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-core {
    position: relative;
    z-index: 2;
    width: 156px;
    height: 156px;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(24, 21, 22, 0.92);
    border: 1px solid rgba(0, 191, 99, 0.35);
    box-shadow: 0 0 60px rgba(0, 191, 99, 0.22);
}

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

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

/* Cards ficam nas faixas de topo e base; o core ocupa a faixa central
   sozinho, então nunca se sobrepõem. */
.wl-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 47%;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(35, 31, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    animation: wl-float 6s ease-in-out infinite;
}

.wl-card--a { top: 0; left: 0; animation-delay: 0s; }
.wl-card--b { top: 0; right: 0; animation-delay: 2s; }

.wl-card--c {
    bottom: 0;
    left: 50%;
    max-width: 72%;
    animation: wl-float-center 6s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes wl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes wl-float-center {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-9px); }
}

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

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

.wl-card-dots {
    display: flex;
    gap: 4px;
    margin-left: 6px;
}

.wl-card-dots i {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    display: block;
}

@media (max-width: 1024px) {
    .wl-inner { grid-template-columns: 1fr; }
    .wl-visual { min-height: 300px; margin-top: 12px; }
    .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-visual { min-height: 320px; }
    .wl-card { padding: 9px 11px; gap: 8px; }
    .wl-card-name { font-size: 0.74rem; }
    .wl-card-dots { display: none; }
    .wl-core { width: 132px; height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
    .wl-card { animation: none; }
    .wl-card--c { transform: translateX(-50%); }
}
