@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* SEÇÃO DEPOIMENTOS */
.depoimentos {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: 0 auto; /* GARANTE A CENTRALIZAÇÃO DA SEÇÃO */
    padding: 40px 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    overflow: visible;
}

.depoimentos h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    padding: 0 30px; 
    color: #000;
    width: 100%; /* Garante que o H2 ocupe e se alinhe */
    box-sizing: border-box;
}

/* SWIPER CONTAINER (Elemento com a classe '.container' no HTML) */
.swiper {
    position: relative;
    width: 100%;
    padding-bottom: 60px;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
   padding: 20px;
   
    
   
}

.swiper-slide {
    display: flex;
    justify-content: center; /* Garante o card centralizado */
      width: 80%; 
  -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    /* Garante que ele não seja escondido acidentalmente */
    opacity: 1 !important; 
    padding: 0; /* Garante que não haja padding indesejado */
    margin: 0; 
    visibility: visible !important;
     overflow: visible !important;
}

/* CARD DO DEPOIMENTO */
.card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    /* max-width reduzido para visualização de 1.2 e 2.5 slides */
    max-width: 280px; 
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    overflow: hidden;
    /* Garante que o card esteja centralizado no slide, embora o Swiper já faça isso */
    margin: 0 auto; 
}
.card::-webkit-scrollbar {
  display: none;
}

/* Faixa superior azul */
.card::before {
    content: "";
    position: absolute;
    height: 40%;
    width: 100%;
    background: #06a7e0; 
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* IMAGEM DE PERFIL */
.card .image {
    height: 120px; 
    width: 120px; 
    border-radius: 50%;
    padding: 30px;
    background: #06a7e0;
    margin-bottom: 10px;
    overflow-y: hidden;
}

.card .image img {
    max-height: 100%;
    width: 95%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
}

/* **REMOVIDO:** .media-icons (ícones sociais) */
/* **REMOVIDO:** .rating (estrelas) */
/* **REMOVIDO:** .button (botões "About Me") */

/* NOME E TEXTO DO DEPOIMENTO */
.name-profession {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    color: black;
    text-align: center;
}

.name-profession .name {
    font-size: 18px; 
    font-weight: 600;
    margin-bottom: 5px;
}

.name-profession .profession {
    /* Este é o texto do depoimento */
    font-size: 15px; 
    font-weight: 500; /* Mantenha 500 para texto que é um pouco mais curto */
    line-height: 1.5;
}


/* NAVEGAÇÃO SWIPER (Setas e Paginação) */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    color: #06a7e0; /* Unificado com a cor tema */
    z-index: 10;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.swiper-button-next { right: 0px; } /* Ajustado para a borda */
.swiper-button-prev { left: 0px; } /* Ajustado para a borda */

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(255, 255, 255, 1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    height: 7px;
    width: 26px;
    border-radius: 25px;
    background: #06a7e0; /* Unificado com a cor tema */
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .depoimentos {
        padding: 10px 0;
    }
    
    
    .swiper-slide {
       display: flex;
        justify-content: center;
        max-width:97.8%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px; 
        height: 30px;
        right: 5px;
        left: 5px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px; 
    }
}


