/* ==========================================================================
   NOSSOS CLIENTES — Customer showcase section
   ========================================================================== */

.nossos-clientes-section {
    background: #dbeafe;
    position: relative;
    z-index: 3;
}

/* -------------------------------------------------------------------------
   HEADER WITH HEART (mirrors conheca-header-with-logo pattern)
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-header-with-heart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
}

.nossos-clientes-section .nc-content .nc-header-with-heart .nc-heart-icon {
    width: 50px;
    height: 50px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.nossos-clientes-section .nc-content .nc-header-with-heart .nc-header-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.nossos-clientes-section .nc-content .nc-header-with-heart .nc-header-text .section-title {
    color: var(--color-ink);
}

.nossos-clientes-section .nc-content .nc-header-with-heart .nc-header-text .section-subtitle {
    color: var(--color-muted);
    margin: 10px auto 0;
    max-width: 520px;
}

/* -------------------------------------------------------------------------
   STADIUM JUMBOTRON SCOREBOARD
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-scorecard {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    margin: 50px auto -80px;
    position: relative;
    z-index: 5;
}

/* FRAME — DARK METALLIC HOUSING */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2a3041 0%, #1a1f2e 40%, #252b3d 70%, #1e2435 100%);
    border-radius: 25px;
    padding: 10px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nossos-clientes-section .nc-content .nc-scorecard.nc-scoreboard-visible .nc-scoreboard-frame {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* CORNER RIVETS (TOP-LEFT AND TOP-RIGHT) */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame::before,
.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #5a6275, #2a3041 60%, #1a1f2e);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame::before {
    top: 10px;
    left: 10px;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame::after {
    top: 10px;
    right: 10px;
}

/* -------------------------------------------------------------------------
   STADIUM LIGHTS — TOP AND BOTTOM ROWS
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 10px 0;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6f3c;
    box-shadow: 0 0 6px rgba(255, 111, 60, 0.6), 0 0 12px rgba(255, 111, 60, 0.3);
    animation: ncLightBlink 2s ease-in-out infinite;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light:nth-child(2) { animation-delay: 0.3s; }

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light:nth-child(3) { animation-delay: 0.6s; }

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light:nth-child(4) { animation-delay: 0.9s; }

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light:nth-child(5) { animation-delay: 1.2s; }

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light:nth-child(6) { animation-delay: 1.5s; }

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light:nth-child(7) { animation-delay: 1.8s; }

@keyframes ncLightBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255, 111, 60, 0.6), 0 0 12px rgba(255, 111, 60, 0.3); }
    50% { opacity: 0.4; box-shadow: 0 0 3px rgba(255, 111, 60, 0.3); }
}

/* -------------------------------------------------------------------------
   LED DISPLAY PANEL
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 25px 10px;
    background:
        radial-gradient(circle, rgba(28, 145, 228, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, #0a0e17 0%, #0f1520 50%, #0a0e17 100%);
    background-size: 8px 8px, 100% 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* SCANNING LIGHT BAR */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(79, 190, 254, 0.4) 30%, rgba(79, 190, 254, 0.8) 50%, rgba(79, 190, 254, 0.4) 70%, transparent 100%);
    animation: ncScanBar 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes ncScanBar {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* -------------------------------------------------------------------------
   GLOWING LED DIGITS
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-scoreboard-digit {
    font-size: 80px;
    font-weight: var(--font-bold);
    font-variant-numeric: tabular-nums;
    color: #4fbefe;
    line-height: 1;
    text-shadow:
        0 0 10px rgba(79, 190, 254, 0.8),
        0 0 25px rgba(79, 190, 254, 0.5),
        0 0 50px rgba(79, 190, 254, 0.3),
        0 0 80px rgba(28, 145, 228, 0.2);
    letter-spacing: 0.05em;
    animation: ncDigitGlow 2s ease-in-out infinite alternate;
}

@keyframes ncDigitGlow {
    0% {
        text-shadow:
            0 0 10px rgba(79, 190, 254, 0.6),
            0 0 25px rgba(79, 190, 254, 0.4),
            0 0 50px rgba(79, 190, 254, 0.2);
    }
    100% {
        text-shadow:
            0 0 10px rgba(79, 190, 254, 1),
            0 0 25px rgba(79, 190, 254, 0.7),
            0 0 50px rgba(79, 190, 254, 0.4),
            0 0 80px rgba(28, 145, 228, 0.3);
    }
}

/* DIGIT SLOT (CREATED BY JS SLOT-MACHINE ANIMATION) */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-digit-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-digit-slot .nc-digit-display {
    font-size: 80px;
    font-weight: var(--font-bold);
    font-variant-numeric: tabular-nums;
    color: #4fbefe;
    line-height: 1;
    text-shadow:
        0 0 10px rgba(79, 190, 254, 0.8),
        0 0 25px rgba(79, 190, 254, 0.5),
        0 0 50px rgba(79, 190, 254, 0.3),
        0 0 80px rgba(28, 145, 228, 0.2);
    letter-spacing: 0.05em;
    animation: ncDigitGlow 2s ease-in-out infinite alternate;
    min-width: 0.65em;
    text-align: center;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-digit-slot .nc-digit-display.nc-digit-landed {
    text-shadow:
        0 0 25px rgba(79, 190, 254, 1),
        0 0 50px rgba(79, 190, 254, 0.8),
        0 0 80px rgba(79, 190, 254, 0.5),
        0 0 120px rgba(28, 145, 228, 0.4);
    transition: text-shadow 0.4s ease-out;
}

/* -------------------------------------------------------------------------
   LABEL ROW
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-label-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-label-row .nc-scoreboard-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
}

/* -------------------------------------------------------------------------
   META INFO BAR
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 25px;
    width: 100%;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-meta-bar .nc-scoreboard-meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4fbefe;
    box-shadow: 0 0 10px rgba(79, 190, 254, 0.6);
    animation: ncMetaDotPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ncMetaDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(79, 190, 254, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 4px rgba(79, 190, 254, 0.3); }
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-meta-bar .nc-scoreboard-meta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.4;
}

.nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-meta-bar .nc-scoreboard-meta-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
}

/* -------------------------------------------------------------------------
   STATIC GRID (SSR FALLBACK — VISIBLE BEFORE JS BUILDS THE MARQUEE)
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-grid .nc-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -------------------------------------------------------------------------
   LOGO MARQUEE
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-marquee-wrap {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap::before,
.nossos-clientes-section .nc-content .nc-marquee-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, #dbeafe, transparent);
}

.nossos-clientes-section .nc-content .nc-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, #dbeafe, transparent);
}

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-marquee-row {
    display: flex;
    align-items: center;
    width: max-content;
    animation: ncMarqueeLeft var(--nc-duration, 20s) linear infinite;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-marquee-row.nc-reverse {
    animation-name: ncMarqueeRight;
}

@keyframes ncMarqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes ncMarqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-marquee-row .nc-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 25px;
    list-style: none;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 90px;
    flex-shrink: 0;
    background: var(--color-surface);
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
    text-decoration: none;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap a.nc-logo-card {
    cursor: pointer;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap a.nc-logo-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap a.nc-logo-card:hover {
    filter: brightness(0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nossos-clientes-section .nc-content .nc-marquee-wrap div.nc-logo-card {
    cursor: default;
    opacity: 0.85;
}

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-logo-card .nc-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(0.7);
}

.nossos-clientes-section .nc-content .nc-marquee-wrap .nc-logo-card .nc-logo-name {
    font-weight: 600;
    color: var(--color-ink);
    text-align: center;
    line-height: 1.2;
    opacity: 0.5;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* THANKS MESSAGE — REUSES conheca-intro STYLING, OVERRIDES POSITIONING */

.nossos-clientes-section .nc-content .nc-thanks {
    top: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    text-align: center;
    font-family: 'Caveat', cursive;
    font-size: 20px;
}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */

@media (min-width: 1024px) {

    .nossos-clientes-section .nc-content .nc-header-with-heart .nc-heart-icon {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 767px) {

    /* SCOREBOARD */

    .nossos-clientes-section .nc-content .nc-scorecard {
        margin: 25px auto -50px;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame {
        max-width: 320px;
        border-radius: 10px;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-scoreboard-digit {
        font-size: 56px;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-digit-slot .nc-digit-display {
        font-size: 56px;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights {
        gap: 10px;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light {
        width: 4px;
        height: 4px;
    }

    /* MARQUEE */

    .nossos-clientes-section .nc-content .nc-marquee-wrap {
        gap: 10px;
    }

    .nossos-clientes-section .nc-content .nc-marquee-wrap::before,
    .nossos-clientes-section .nc-content .nc-marquee-wrap::after {
        width: 25px;
    }

    .nossos-clientes-section .nc-content .nc-marquee-wrap .nc-logo-card {
        width: 120px;
        height: 65px;
        padding: 10px;
        border-radius: 10px;
    }

    .nossos-clientes-section .nc-content .nc-marquee-wrap .nc-marquee-row .nc-logo-item {
        margin-right: 10px;
    }

    .nossos-clientes-section .nc-content .nc-marquee-wrap .nc-grid {
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nossos-clientes-section .nc-content .nc-marquee-wrap .nc-marquee-row {
        animation-play-state: paused;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel::after {
        animation: none;
        display: none;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-scoreboard-digit {
        animation: none;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-digit-slot .nc-digit-display {
        animation: none;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-panel .nc-scoreboard-digits .nc-digit-slot .nc-digit-display.nc-digit-landed {
        transition: none;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-lights .nc-scoreboard-light {
        animation: none;
    }

    .nossos-clientes-section .nc-content .nc-scorecard .nc-scoreboard-frame .nc-scoreboard-meta-bar .nc-scoreboard-meta-dot {
        animation: none;
    }
}

/* -------------------------------------------------------------------------
   SR-ONLY UTILITY
   ------------------------------------------------------------------------- */

.nossos-clientes-section .nc-content .nc-scorecard .nc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
