
    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #0D0D0D;
    }
    ::-webkit-scrollbar-thumb {
      background: #E31E24;
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #B81419;
    }

    /* Carousel Smooth Transition */
    .carousel-slide {
      transition: opacity 0.7s ease-in-out;
      opacity: 0;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }
    .carousel-slide.active {
      opacity: 1;
      pointer-events: auto;
      position: relative;
    }

    /* Custom Tech Overlay Lines */
    .bg-tech-pattern {
      background-image: radial-gradient(rgba(227, 30, 36, 0.15) 1px, transparent 0);
      background-size: 24px 24px;
    }

    /*============== FOOTER ===============*/

.rodape {
    background: #585858;
    position: relative;
    float: left;
    width: 100%;
    padding-top: 20px;
    height: auto;
}
.rodape * {
    color: #fff !important;
}
.rodape:before {
    background: rgba(0, 0, 0, 0.5);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.rodape button {
    background: #922125;
    color: #fff;
    padding: 25px;
    border: none;
    width: 100%;
    display: block;
    font-size: 25px;
    position: relative;
    top: -37px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif !important;
    -webkit-transition: 1s All;
    transition: 1s All;
    font-weight: 700;
    letter-spacing: 5px;
}

.rodape button:hover {
    background: #922125;
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
    box-shadow: 0px 5px 21px -4px rgba(0, 0, 0, 0.75);
}

.rodape img {
    display: block;
    margin-bottom: 2em;
}

#selo-sustentavel {
    width: 200px !important;
    margin-left: 9.5em;
}

footer.rodape ul {
    width: 180px;
    margin: 0 auto;
    display: block;
}

footer.rodape li {
    margin-bottom: 15px;
}

footer.rodape a {
    text-decoration: none;
    color: #fff;
    -webkit-transition: 1s All;
    transition: 1s All;
}

footer.rodape a:hover {
    color: #e05e5f;
}

.direitos:before {
    content: "";
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    display: block;
    margin: 30px;
}

.rodape p {
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.5em;
    font-size: .9em;
}

.linkdin {
    background: #b22225;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    width: 40px;
    height: 40px;
    border-radius: 25px;
    margin: 15px 0;
    display: block;
}

.direitos p {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 480px) {
    .rodape>div div {
        overflow: hidden;
    }

    .rodape p {
        margin-bottom: 60px;
    }
    .rodape .logo-footer {
        width: 200px;
    }
}




    .cubos-direita-inverso {
      position: absolute;
      top: 0;
      right: 0;
      display: grid;
      grid-template-columns: repeat(5, 50px);
      gap: 0;
      justify-content: end;
      transform: scaleX(-1) rotate(180deg);
      contain: paint;
      z-index: -1;
      filter: opacity(0.7);
    }

    .filter-opacity {
      filter: opacity(0.7);
    }

    .cubos-direita-inverso.zindex-0 {
      z-index: 0;
    }

    .cubos-direita.left {
      left: 0 !important;
      right: auto !important;
      rotate: 90deg !important;
    }

    .cubos-direita-inverso.left {
      left: 0 !important;
      right: auto !important;
      rotate: 270deg !important;
    }

    .cubos-direita {
      position: absolute;
      bottom: 0;
      right: 0;
      display: grid;
      grid-template-columns: repeat(5, 100px);
      gap: 0;
      justify-content: end;
      overflow-x: hidden;
      contain: paint;
      filter: opacity(0.7);
    }

    .cubos-direita.zindex-99 {
      z-index: 9;
    }

    .cubos-esquerda {
      overflow-x: hidden;
      position: absolute;
      bottom: 0;
      left: 0;
      display: grid;
      grid-template-columns: repeat(5, 100px);
      gap: 0;
      justify-content: start;
      contain: paint;
      z-index: 99;
      filter: opacity(0.7);
    }

    .square {
      width: 50px;
      height: 50px;

      opacity: 0.5;
      /* Começa fora da tela à direita */
      animation-direction: reverse;

    }

    .cubos-direita.visivel .square {
      animation: entrar 0.8s ease-out forwards;
    }

    .cubos-direita-inverso.visivel .square {
      animation: entrar 0.8s ease-out forwards;
    }

    .cubos-direita .square,
    .cubos-direita-inverso .square {
      transform: translateX(400px);
      animation: sair 0.8s ease-in forwards;
      transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.8s ease-in;
    }

    .cubos-esquerda .square,
    .cubos-esquerda-inverso .square {
      transform: translateX(-400px);
      animation: sairEsquerda 0.8s ease-in forwards;
      transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.8s ease-in;
    }

    /* --- LÓGICA DO GRID (ESCADA) --- */

    /* Linha 1: O 1º quadrado pula 4 colunas para ficar na última (direita) */
    .cubos-direita .square:nth-child(1) {
      grid-column: 5;
    }

    /* Linha 2: O 2º quadrado pula 3 colunas, o 3º segue ele */
    .cubos-direita .square:nth-child(2) {
      grid-column: 4;
    }

    /* Linha 3: O 4º quadrado pula 2 colunas */
    .cubos-direita .square:nth-child(4) {
      grid-column: 3;
    }

    /* Linha 4: O 7º quadrado pula 1 coluna */
    .cubos-direita .square:nth-child(7) {
      grid-column: 2;
    }

    /* Linha 5: Do 11 ao 15 ocupam as 5 colunas naturalmente */
    .cubos-direita .square:nth-child(11) {
      grid-column: 1;
    }

    .cubos-direita-inverso .square:nth-child(1) {
      grid-column: 5;
    }

    /* Linha 2: O 2º quadrado pula 3 colunas, o 3º segue ele */
    .cubos-direita-inverso .square:nth-child(2) {
      grid-column: 4;
    }

    /* Linha 3: O 4º quadrado pula 2 colunas */
    .cubos-direita-inverso .square:nth-child(4) {
      grid-column: 3;
    }

    /* Linha 4: O 7º quadrado pula 1 coluna */
    .cubos-direita-inverso .square:nth-child(7) {
      grid-column: 2;
    }

    /* Linha 5: Do 11 ao 15 ocupam as 5 colunas naturalmente */
    .cubos-direita-inverso .square:nth-child(11) {
      grid-column: 1;
    }


    /* --- LÓGICA DA ANIMAÇÃO CASCATA --- */
    .cubos-direita .square:nth-child(1) {
      animation-delay: .1s;
    }

    .cubos-direita .square:nth-child(2) {
      animation-delay: .15s;
    }

    .cubos-direita .square:nth-child(3) {
      animation-delay: .2s;
    }

    .cubos-direita .square:nth-child(4) {
      animation-delay: .25s;
    }

    .cubos-direita .square:nth-child(5) {
      animation-delay: .3s;
    }

    .cubos-direita .square:nth-child(6) {
      animation-delay: .35s;
    }

    .cubos-direita .square:nth-child(7) {
      animation-delay: .4s;
    }

    .cubos-direita .square:nth-child(8) {
      animation-delay: .45s;
    }

    .cubos-direita .square:nth-child(9) {
      animation-delay: .5s;
    }

    .cubos-direita .square:nth-child(10) {
      animation-delay: .55s;
    }

    .cubos-direita .square:nth-child(11) {
      animation-delay: .6s;
    }

    .cubos-direita .square:nth-child(12) {
      animation-delay: .65s;
    }

    .cubos-direita .square:nth-child(13) {
      animation-delay: .7s;
    }

    .cubos-direita .square:nth-child(14) {
      animation-delay: .75s;
    }

    .cubos-direita .square:nth-child(15) {
      animation-delay: .8s;
    }


    .cubos-direita-inverso .square:nth-child(15) {
      animation-delay: 0.1s;
    }

    .cubos-direita-inverso .square:nth-child(14) {
      animation-delay: 0.15s;
    }

    .cubos-direita-inverso .square:nth-child(13) {
      animation-delay: 0.2s;
    }

    .cubos-direita-inverso .square:nth-child(12) {
      animation-delay: 0.25s;
    }

    .cubos-direita-inverso .square:nth-child(11) {
      animation-delay: 0.3s;
    }

    .cubos-direita-inverso .square:nth-child(10) {
      animation-delay: 0.35s;
    }

    .cubos-direita-inverso .square:nth-child(9) {
      animation-delay: 0.4s;
    }

    .cubos-direita-inverso .square:nth-child(8) {
      animation-delay: 0.45s;
    }

    .cubos-direita-inverso .square:nth-child(7) {
      animation-delay: 0.5s;
    }

    .cubos-direita-inverso .square:nth-child(6) {
      animation-delay: 0.55s;
    }

    .cubos-direita-inverso .square:nth-child(5) {
      animation-delay: 0.6s;
    }

    .cubos-direita-inverso .square:nth-child(4) {
      animation-delay: 0.65s;
    }

    .cubos-direita-inverso .square:nth-child(3) {
      animation-delay: 0.7s;
    }

    .cubos-direita-inverso .square:nth-child(2) {
      animation-delay: 0.75s;
    }

    .cubos-direita-inverso .square:nth-child(1) {
      animation-delay: 0.8s;
    }

    @keyframes entrar {
      from {
        opacity: 0;
        transform: translateX(400px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes sair {
      from {
        opacity: 1;
        transform: translateX(0);
      }

      to {
        opacity: 0;
        transform: translateX(400px);
      }
    }

    @keyframes sairEsquerda {
      from {
        opacity: 1;
        transform: translateX(0);
      }

      to {
        opacity: 0;
        transform: translateX(-400px);
      }
    }

    .cubos-esquerda {
      position: absolute;
      bottom: 0;
      left: 0;

      display: grid;
      grid-template-columns: repeat(5, 100px);
      gap: 0;
      justify-content: start;
    }

    /* --- LÓGICA DA ESCADA À ESQUERDA --- */

    /* Linha 1 (Topo): 1 quadrado na coluna 1 */
    .cubos-esquerda .square:nth-child(1) {
      grid-column: 1;
    }

    /* Linha 2: 2 quadrados começando na coluna 1 */
    .cubos-esquerda .square:nth-child(2) {
      grid-column: 1;
    }

    /* Linha 3: 3 quadrados começando na coluna 1 */
    .cubos-esquerda .square:nth-child(4) {
      grid-column: 1;
    }

    /* Linha 4: 4 quadrados começando na coluna 1 */
    .cubos-esquerda .square:nth-child(7) {
      grid-column: 1;
    }

    /* Linha 5 (Base): 5 quadrados começando na coluna 1 */
    .cubos-esquerda .square:nth-child(11) {
      grid-column: 1;
    }

    /* --- ANIMAÇÃO VINDO DA ESQUERDA --- */


    .cubos-esquerda.visivel .square {
      animation: entrarEsquerda 0.8s ease-out forwards;
    }

    @keyframes entrarEsquerda {
      from {
        opacity: 0;
        transform: translateX(-400px);
      }

      to {
        opacity: 0.1;
        /* Mantendo seu filtro de opacidade */
        transform: translateX(0);
      }
    }


    @media (max-width: 575.98px) {

      .cubos-direita,
      .cubos-direita-inverso,
      .cubos-esquerda,
      .cubos-esquerda-inverso {
        grid-template-columns: repeat(5, 70px);
        filter: opacity(0.7);
      }

      .square {
        width: 70px;
        height: 70px;
      }
    }


    @media (max-width: 950) {

      .cubos-direita,
      .cubos-direita-inverso,
      .cubos-esquerda,
      .cubos-esquerda-inverso {
        grid-template-columns: repeat(5, 80px);
      }

      .square {
        width: 80px;
        height: 80px;
      }
    }

    /* Estilos do Tema Claro acionados pela classe no body */
    body.theme-light {
      background-color: #FFFFFF !important;
      color: #1A1A1A !important;
    }

    body.theme-light header {
      background-color: rgba(255, 255, 255, 0.95) !important;
      border-color: #E5E7EB !important;
    }

    body.theme-light #mobileNav {
      background-color: #F9FAFB !important;
      border-color: #E5E7EB !important;
    }

    body.theme-light #trabalhe-conosco {
      background-color: #FAFAFA !important;
    }

    body.theme-light h1,
    body.theme-light .text-white {
      color: #111827 !important;
    }

    body.theme-light p,
    body.theme-light .text-gray-300 {
      color: #4B5563;
    }

    body.theme-light .btn-theme-toggle {
      background-color: #F3F4F6;
      border-color: #D1D5DB;
      color: #111827;
    }

    body.theme-light .bg-mokedCharcoal {
      background-color: #F3F4F6 !important;
    }

    body.theme-light .border-gray-700,
    body.theme-light .border-gray-800 {
      border-color: #E5E7EB !important;
    }

    body.theme-light .bg-mokedBlack\/80 {
      background-color: rgba(255, 255, 255, 0.9) !important;
    }

    /* Ajuste no botão de alternar tema para preservar contraste */
    body.theme-light a.bg-mokedRed {
      color: #FFFFFF !important;
    }

    .theme-light .tema-light-logo{
        display: block!important;
    }
    .theme-light .tema-black-logo{
        display: none;
    }