/* --- Estilos específicos e isolados para a Secção de Soluções --- */
    #nmrec-solucoes-section {
        --nmrec-dark-blue: #081f48;
        --nmrec-card-blue: #112240;
        --nmrec-off-white: #f4f4f4;
        --nmrec-slate: #8892b0;
        --nmrec-orange: #f79e5c;
        
        font-family: 'Poppins';
        padding: 4rem 0;
        position: relative;
        width: 100%;

    }
    
    #nmrec-solucoes-section .products-molecules {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Garante que as moléculas não "vazem" */
    z-index: 0;      /* Coloca o contêiner inteiro atrás do conteúdo */
    opacity: 0.3;
}
    #nmrec-solucoes-section .products-molecules .products-back-mol-1 {
    position: absolute;
    z-index: 0; 
    top: 80px; 
    left: -160px; 
    right: auto;
    }

    #nmrec-solucoes-section .products-molecules .products-back-mol-2 {
    position: absolute;
    z-index: 0;
    bottom: 80px; 
    right: -160px; 
    left: auto;
    }


    #nmrec-solucoes-section .nmrec-solucoes-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        position: relative;
        z-index: 1;
    }

    #nmrec-solucoes-section .nmrec-solucoes-header {
        text-align: center;
        max-width: 48rem;
        margin: 0 auto 3rem auto;
    }

    #nmrec-solucoes-section .nmrec-badge {
        display: inline-block;
        padding: 0.375rem 0.75rem;
        border-radius: 9999px;
        font-size: 16px;
        font-weight: 400;
        background-color: rgba(247, 158, 92, 0.1);
        color: var(--nmrec-orange);
    }

    #nmrec-solucoes-section .nmrec-solucoes-header h2 {
        margin-top: 1rem;
        color: #081F48;
       font-size: 32px;
       font-family: "Poppins", sans-serif;
       font-weight: 500;
        letter-spacing: -0.025em;
        color: var(--nmrec-dark-blue);
    }

    #nmrec-solucoes-section .nmrec-solucoes-header p {
        margin-top: 1rem;
        font-size: 14px;
        line-height: 1.75rem;
        color: var(--nmrec-dark-blue);
    }
    

    #nmrec-solucoes-section .nmrec-solucoes-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 1280px;
        margin: 0 auto;
    }

    #nmrec-solucoes-section .nmrec-solucao-card {
        position: relative;
        border-radius: 1rem;
        overflow: hidden;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, border-color 0.3s ease;
        background-color: transparent; /* Alterado para transparente para o efeito flip */
        height: 500px; 
        width: 400px; 
        
    }

    #nmrec-solucoes-section .nmrec-solucao-card:hover {
        transform: translateY(-4px);
        border-color: var(--nmrec-orange);
    }
    
    #nmrec-solucoes-section .nmrec-solucao-card-content {
        position: relative;
        z-index: 1;
        flex-grow: 1;
    }
    
    #nmrec-solucoes-section .nmrec-solucao-card-bg-icon {
        position: absolute;
        right: -1.5rem;
        top: -1.5rem;
        width: 10rem;
        height: 10rem;
        color: rgba(247, 158, 92, 0.1);
        z-index: 0;
    }

    #nmrec-solucoes-section .nmrec-solucao-card .nmrec-badge {
        width: max-content;
    }

    #nmrec-solucoes-section .nmrec-solucao-card h3 {
        margin-top: 1rem;
        font-size: 1.5rem;
        font-weight: 400;
        color: var(--nmrec-dark-blue)
    }

    #nmrec-solucoes-section .nmrec-solucao-card p {
        margin-top: 0.75rem;
        color: var(--nmrec-dark-blue);
    }

    #nmrec-solucoes-section .nmrec-solucao-card ul {
        margin-top: 1rem;
        padding-left: 0;
        list-style: none;
        font-size: 0.875rem;
        color: var(--nmrec-card-blue);
    }
    
    #nmrec-solucoes-section .nmrec-solucao-card ul li:not(:first-child) {
        margin-top: 0.5rem;
    }

 
    #nmrec-solucoes-section .nmrec-btn {
        display: inline-flex;
        justify-content: center;
        padding: 0.5rem 1rem;
        align-items: center;
        border-radius: 9999px;
        font-weight: 300;
        transition: all 0.2s ease;
        text-decoration: none;
        border: 1px solid transparent;
        z-index:3;
    }

    #nmrec-solucoes-section .nmrec-btn-primary {
        background-color: var(--nmrec-orange);
        color: var(--nmrec-off-white);
    }

    #nmrec-solucoes-section .nmrec-btn-primary:hover {
        opacity: 0.9;
    }

    #nmrec-solucoes-section .nmrec-btn-secondary {
        border-color: var(--nmrec-off-white);
        color: var(--nmrec-card-blue);
    }

    #nmrec-solucoes-section .nmrec-btn-secondary:hover {
        background-color: var(--nmrec-off-white);
         color: var(--nmrec-card-blue);
    }

    #nmrec-solucoes-section .nmrec-micro-cta {
        margin-top: 2.5rem;
        text-align: center;
    }

    #nmrec-solucoes-section .nmrec-micro-cta a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--nmrec-orange);
        text-decoration: none;
    }

    #nmrec-solucoes-section .nmrec-micro-cta a:hover {
        color: var(--nmrec-card-blue);
    }

    #nmrec-solucoes-section .nmrec-micro-cta a span {
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-color: var(--nmrec-orange);
    }

    #nmrec-solucoes-section .nmrec-micro-cta a svg {
        width: 1rem;
        height: 1rem;
        fill: currentColor;
    }
    
    /* Regras para o efeito de virar o card */
    .nmrec-solucao-card {
      min-height: 600px;
      perspective: 1000px;
    }

    .nmrec-solucao-card .card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      text-align: left;
      transition: transform 0.8s;
      transform-style: preserve-3d;
      border-radius: 1rem;
    }

    .nmrec-solucao-card:hover .card-inner {
      transform: rotateY(180deg);
    }

    .nmrec-solucao-card .card-face {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 1rem;
      padding: 2rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
      background-color: var(--nmrec-off-white);
      display: flex;
      flex-direction: column;
    }

    .nmrec-solucao-card .card-front {
      color: var(--nmrec-dark-blue);
    }

    .nmrec-solucao-card .card-back {
      transform: rotateY(180deg);
      background-size: cover;
      background-position: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
      background-color: transparent;
      position: relative;
      padding: 2rem;
      color: var(--nmrec-off-white);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      z-index:2;
    }
    
    .nmrec-solucao-card .card-back img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 1rem;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0.4;
      z-index: 0;
    }
    .nmrec-solucao-card .card-back .nmrec-card-actions {
        position: relative;
        bottom: 0;
        left: 0;
        z-index: 3;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        padding-bottom: 2rem;
    }

    /* --- Media Queries para Responsividade --- */
    @media (min-width: 640px) {
        #nmrec-solucoes-section {
            padding-top: 4em;
            padding-bottom: 6rem;
        }
        #nmrec-solucoes-section .nmrec-solucoes-header h2 {
            font-size: 2.25rem;
        }
    }

    @media (min-width: 768px) {
        #nmrec-solucoes-section .nmrec-solucoes-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        #nmrec-solucoes-section .nmrec-solucoes-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
