/* ==========================================================================
        IMPORTAÇÃO DE FONTES (SISTEMA 360)
        ========================================================================== */
        @font-face{
            font-family: 'Lemon Milk';
            src: url('/fontes/lemonmilk-bold.woff2') format('woff2');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }

        @font-face{
            font-family: 'Lemon Milk';
            src: url('/fontes/lemonmilk-regular.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }

        @font-face{
            font-family: 'Ekster';
            src: url('/fontes/ekster-regular.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }

        @font-face{
            font-family: 'Ekster';
            src: url('/fontes/ekster-medium.woff2') format('woff2');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }

        @font-face{
            font-family: 'Ekster';
            src: url('/fontes/ekster-bold.woff2') format('woff2');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }

        /* ==========================================================================
        SISTEMA DE DESIGN (SISTEMA 360) - SCOPED TO #rn3-section
        ========================================================================== */
        #block-numeros #rn3-section{
            --navy: #253064;
            --gold: #D89A14;
            --white: #FFFFFF;
            --cor-texto-escuro: #000000;
            --fonte-titulo: 'Lemon Milk';
            --fonte-corpo: 'Ekster';
            --padding-lateral-conteudo: 220px;

            font-family: var(--fonte-corpo), sans-serif;
            background: var(--white);
            overflow: hidden;
            position: relative;
            width: 100%;
            min-height: 50vh;
            /* Gradiente em loop suave navy */
            background: linear-gradient(-45deg, #1a234e, #253064, #2c3a7a, #253064);
            background-size: 400% 400%;
            animation: numeros__rn3-gradientMovement 12s ease-in-out infinite;
            display: flex;
            align-items: center;
            justify-content: center;
            /* Espaçamento aumentado no topo para afastar o texto do divisor/notch */
            padding: 150px 0 100px;
        }

        @keyframes numeros__rn3-gradientMovement{
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* Reset interno */
        #block-numeros #rn3-section *,
#block-numeros #rn3-section *::before,
#block-numeros #rn3-section *::after{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Notch superior */
        #block-numeros #rn3-section .rn3-notch{
            position: absolute;
            top: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 302px;
            height: 71px;
            z-index: 10;
            display: flex;
            justify-content: center;
            pointer-events: none;
        }

        #block-numeros #rn3-section .rn3-notch img{
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        #block-numeros #rn3-section .rn3-container{
            width: 100%;
            /* AREA QUE FICA O CONTEUDO: Respeitando a área ampla original */
            padding: 0 var(--padding-lateral-conteudo);
            display: grid;
            grid-template-columns: 46% 54%;
            gap: 40px;
            align-items: center;
        }

        /* LADO ESQUERDO: FRASE */
        #block-numeros #rn3-section .rn3-phrase-box{
            opacity: 0;
            transform: translate3d(0, 30px, 0);
            filter: blur(10px);
            transition:
                opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.8s ease;
            will-change: transform, opacity, filter;
            width: fit-content;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        #block-numeros #rn3-section .rn3-phrase-box.is-visible{
            opacity: 1;
            transform: translate3d(0, 0, 0);
            filter: blur(0);
        }

        #block-numeros #rn3-section .rn3-phrase-box h2{
            font-family: var(--fonte-titulo), sans-serif;
            font-weight: 700;
            /* BOLD CONFORME PEDIDO */
            font-size: clamp(24px, 2.6vw, 34px);
            line-height: 1.15;
            color: var(--white);
            text-transform: uppercase;
        }

        #block-numeros #rn3-section .rn3-glow-hover{
            color: #fff;
            transition: all 0.4s ease;
            cursor: default;
        }

        #block-numeros #rn3-section .rn3-glow-hover:hover,
#block-numeros #rn3-section .rn3-glow-hover.flash-active{
            text-shadow:
                0 0 7px #fff,
                0 0 14px rgba(255, 255, 255, 0.5),
                0 0 25px rgba(44, 58, 122, 0.9);
        }

        @keyframes numeros__rn3-flash-lamp{

            0%,
            100% {
                text-shadow: none;
            }

            50% {
                text-shadow:
                    0 0 7px #fff,
                    0 0 14px rgba(255, 255, 255, 0.5),
                    0 0 25px rgba(44, 58, 122, 0.9);
            }
        }

        #block-numeros #rn3-section .rn3-flash-trigger{
            animation: numeros__rn3-flash-lamp 0.6s ease-in-out;
        }

        #block-numeros #rn3-section .rn3-highlight{
            position: relative;
            padding: 4px 18px;
            /* Padding extra para sustentar o Bold */
            display: inline-block;
            margin-bottom: 2px;
            background: transparent;
            color: var(--white);
            z-index: 1;
        }

        #block-numeros #rn3-section .rn3-highlight::before{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: var(--rn3-hl-width, 0%);
            background: var(--gold);
            z-index: -1;
            transition: width 0.1s ease-out;
        }

        /* LADO DIREITO: NÚMEROS */
        #block-numeros #rn3-section .rn3-stats-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 60px 40px;
        }

        #block-numeros #rn3-section .rn3-stat-item{
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
            text-align: center;
            opacity: 0;
            transform: translate3d(0, 30px, 0);
            filter: blur(10px);
            transition:
                opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.8s ease;
            will-change: transform, opacity, filter;
        }

        #block-numeros #rn3-section .rn3-stat-item.is-visible{
            opacity: 1;
            transform: translate3d(0, 0, 0);
            filter: blur(0);
        }

        #block-numeros #rn3-section .rn3-stat-item:nth-child(1){
            transition-delay: 0s;
        }

        #block-numeros #rn3-section .rn3-stat-item:nth-child(2){
            transition-delay: 0.1s;
        }

        #block-numeros #rn3-section .rn3-stat-item:nth-child(3){
            grid-column: 1 / -1;
            transition-delay: 0.2s;
        }

        #block-numeros #rn3-section .rn3-stat-number{
            font-family: var(--fonte-titulo), sans-serif;
            font-weight: 700;
            font-size: clamp(28px, 3.2vw, 40px);
            color: var(--white);
            line-height: 1;
        }

        #block-numeros #rn3-section .rn3-stat-title{
            font-size: 18px;
            font-weight: 700;
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        #block-numeros #rn3-section .rn3-stat-desc{
            font-size: 18px;
            font-weight: 500;
            color: var(--white);
            line-height: 1.6;
            max-width: 260px;
        }

        /* MOBILE */
        @media (max-width: 1024px){
            #block-numeros #rn3-section{
                padding: 130px 0 90px;
                min-height: auto;
            }

            #block-numeros #rn3-section .rn3-container{
                grid-template-columns: 1fr;
                gap: 70px;
                padding: 0 30px;
            }

            #block-numeros #rn3-section .rn3-phrase-box{
                margin: 0 auto;
            }

            #block-numeros #rn3-section .rn3-stats-grid{
                grid-template-columns: 1fr;
                gap: 50px;
            }

            #block-numeros #rn3-section .rn3-stat-desc{
                margin: 0 auto;
            }
        }