.team-section {
           margin: 120px auto;
           overflow: hidden;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .section-header h1 {
          
        }

        .view-all {
           margin-left: 15px;
        }

        .team-controls {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .indicators {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .indicator {
            width: 100px;
            height: 6px;
            background: #98999a;
            transition: background 0.3s;
            border-radius: 20px;
        }

        .indicator.active {
            background: #243f51;
        }

        .nav-buttons {
            display: flex;
            gap: 8px;
        }

        .prev, .next {
            width: 36px;
            height: 36px;
            background: #99999b;
            color: #fff;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s;
            line-height: 0;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .prev:disabled,
        .next:disabled {
            background: #adadad;
            color: #8a8787;
            cursor: not-allowed;
            opacity: 0.6;
            box-shadow: none;
        }

        .prev:disabled svg,
        .next:disabled svg {
            stroke: #cccccc;
        }

        .prev svg {
            transform: rotate(-180deg);
        }

        .prev:hover, .next:hover {
            background: #88898b;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            width: 100%;
        }

        .member-container {
            position: relative;
            height: 445px;
            transition: height 0.4s ease-out;
            overflow: hidden;
            border-radius: 8px;
            min-width: 0; /* Prevents overflow in grid */
        }

        .member-container:hover {
             height: 445px; /* 445px + 50px */
             
        }

        .member-image {
            position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 445px; /* Cobrirá até a área expandida */
        background-size: cover;
        background-position: center;
        z-index: 1;
         border-radius: 8px;
        }

        .member-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 445px;
            padding: 20px;
            background: var(--hover-color);
            color: var(--white);
            opacity: 0;
            transition: opacity 0.4s ease-out;
            z-index: 2;
            display: flex;
            flex-direction: column;
            /*justify-content: center;  Centraliza verticalmente */
            /* align-items: center; Centraliza horizontalmente */
            text-align: left; /* Texto centralizado */
            color: #fff; border-radius: 8px;
            overflow-y: scroll;
        }

        .member-container:hover .member-content {
            opacity: 0.8;
            background:#162c36;
            color: #fff;
             border-radius: 8px;
        }

        .member-arrow {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
          border:1px solid #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3; /* Garante que fique acima de tudo */
            transition: all 0.3s;
             transform: rotate(-90deg);
             padding: 5px;  

        }

        .member-arrow svg {
            width: 30px;
            height: 30px;
            transform: rotate(45deg);
            stroke: #fff;
            stroke-width: 2;
        }

        .member-container:hover .member-arrow {
            top: auto;
            bottom: 15px;
            transform: rotate(-180deg);
            background: var(--white); /* Mantém visível */
        }

        .member-container:hover .member-arrow svg {
            stroke: #fff;
        }

        /* Texto centralizado */
        .member-content h2 {
            font-size: 1.3rem;
            margin-bottom: 8px;
            margin-left: 0 !important;
            margin-top: 5px;
        }

        .member-content .position {
            margin-bottom: 10px;
            font-size: 0.9rem;
        }

        .member-content .bio {
            font-size: 0.85rem;
            line-height: 1.6;
            margin-bottom: 10px;
            margin-top: 20px;
            text-align: justify;
            font-weight: 300 !important;
        }

        .member-content .since {
            font-size: 0.8rem;
            font-style: italic;
           margin-top: 30px;
            color: #59aec5;
        }

        @media (max-width: 1200px) {
            .team-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 992px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .team-controls {
                width: 100%;
                justify-content: space-between;
            }
        }

        @media (max-width: 768px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .indicator {
                width: 60px;
            }
        }

        @media (max-width: 480px) {
            .team-grid {
                grid-template-columns: 1fr;
            }
            
            .team-controls {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .indicators {
                width: 100%;
                justify-content: center;
            }
            
            .nav-buttons {
                width: 100%;
                justify-content: center;
                margin-top: 10px;
            }
        }