.tc-testimonials-section {
    padding: 50px 0px;
    background: #fff;
    position: relative;
}

/* centraliza o conteúdo da secção */
.tc-testimonials {
    text-align: center;
}


/* ============================================================
   2. TÍTULOS (DENTRO da secção, EM CIMA)
   ============================================================ */
.tc-main-title {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
	letter-spacing: 4px;
    color: #666;
	margin-bottom: 8px;
}

.tc-sub-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    color: #111;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 30px;
}


/* ============================================================
   3. SWIPER (DENTRO da secção, DEBAIXO dos títulos)
   ============================================================ */
.tc-swiper {
    max-width: 900px;      /* não ataca os cantos do browser */
    margin: 0 auto 20px;
    padding-bottom: 40px;
	padding-left: 2rem;   /* afasta o cartão da margem esquerda */
    padding-right: 2rem;  /* afasta o cartão da margem direita */
}


/* swiper slides */
.tc-swiper .swiper-slide {
    min-height: 270px;     /* não quebra em mobile */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* desktop / tablet – responsivo mas com margem extra */
.swiper-button-prev {
    left: calc(0%) !important;
}
.swiper-button-next {
    right: calc(0%) !important;
}


/* ============================================================
   4. CARTÃO (dentro do slide – altura e layout)
   ============================================================ */
.tc-card {
    max-width: 500px;
	min-width: 250px;
    margin: auto;
    background: #fff;
    padding: 45px 40px 30px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 250px;      
    overflow: hidden;
}

.tc-text-wrapper {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}

/* texto do testemunho – dentro do cartão */
.tc-text {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-left: 35px;
    text-indent: -5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.tc-text:before {
    content: "❝";
    font-size: 50px;
    position: absolute;
    top: -20px;
    left: -2px;
    color: #e5e5e5;
}


/* divisor entre texto e autor */
.tc-divider {
    position: relative;
    border-top: 1px solid #eee;
    margin-bottom: 30px;
}

.tc-pointer {
    position: absolute;
    left: 50%;
    top: -1px;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #eee;
}


/* footer do cartão (autor + imagem) */
.tc-footer {
    margin-top: auto;
}

.tc-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 60px;
}

.tc-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.tc-author-info strong {
    text-align: left;
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.tc-author-info span {
    font-size: 13px;
    color: #777;
}
/* tablet */
@media (max-width: 992px) {
    .tc-swiper {
        max-width: 800px;
    }
}

/* telemóvel */
@media (max-width: 768px) {
    .tc-swiper {
        max-width: 90%;
    }
    .tc-card {
        padding: 35px 30px 25px;
    }
}

/* telemóvel pequeno */
@media (max-width: 576px) {
    .tc-swiper {
        max-width: 95%;
    }
    .tc-card {
        padding: 30px 20px 20px;
    }
}
