/* Estilos das páginas internas (depoimentos, sobre) — complementa main.css */

:root {
    --gb-primary: var(--tp-theme-primary, #ED2B2F);
    --gb-heading: var(--tp-heading-primary, #1A1C26);
    --gb-text: var(--tp-text-body, #4A6279);
    --gb-border: var(--tp-border-primary, #EAEBED);
    --gb-radius: 12px;
}

/* ----------------------------------------------------------------
 * Cards de depoimento (página de depoimentos e carrossel da home)
 * ---------------------------------------------------------------- */

.gb-depo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.gb-depo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(1, 15, 28, .08);
}

/* Foto em círculo à esquerda: algumas imagens já são enviadas redondas,
   então o recorte circular fica consistente para todas */
.gb-depo-photo,
.gb-depo-card .cpg-item-link {
    width: clamp(140px, 36%, 220px);
    aspect-ratio: 1;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    margin: 22px 0 22px 22px;
    flex: none;
    background: #f1f3f5;
}

.gb-depo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-depo-card .cpg-zoom-hint {
    top: auto;
    bottom: 6px;
    right: 6px;
}

.gb-depo-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

.gb-depo-rating {
    color: #F5A623;
    font-size: .85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Reset do blockquote global do template (fundo vermelho, padding 45px) */
blockquote.gb-depo-text {
    flex: 1;
    background: transparent;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    z-index: auto;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--gb-text);
}

.gb-depo-text p {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--gb-text);
    font-weight: 400;
    margin-bottom: 8px;
}

.gb-depo-text p:last-child {
    margin-bottom: 0;
}

.gb-depo-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 14px;
    border-top: 1px solid var(--gb-border);
}

/* Mobile: empilha (foto em cima, texto embaixo) */
@media (max-width: 767px) {
    .gb-depo-card {
        flex-direction: column;
        align-items: stretch;
    }

    .gb-depo-photo,
    .gb-depo-card .cpg-item-link {
        width: min(200px, 60%);
        margin: 24px auto 0;
    }

    .gb-depo-rating,
    .gb-depo-footer {
        text-align: center;
    }
}

.gb-depo-name {
    color: var(--gb-heading);
    font-size: .95rem;
    font-weight: 600;
}

.gb-depo-products {
    font-size: .78rem;
    color: var(--gb-text);
}

/* Carrossel da home: o card preenche o slide */
.carrossel-depoimentos .swiper-slide {
    height: auto;
    display: flex;
}

/* Carrossel da home usa o mesmo card vertical com foto circular */

/* "Onde usar" (home): cantos arredondados nas imagens dos cards */
.carrossel-onde-usar .tp-blog-item img {
    border-radius: var(--gb-radius);
}

/* Galeria da home: cantos arredondados e zoom suave no hover */
#home-gallery-container .home-gallery-item {
    display: block;
    border-radius: var(--gb-radius);
    overflow: hidden;
    cursor: zoom-in;
}

#home-gallery-container .home-gallery-item img {
    transition: transform .35s ease;
}

#home-gallery-container .home-gallery-item:hover img {
    transform: scale(1.05);
}

/* ----------------------------------------------------------------
 * Página Sobre — números e valores
 * ---------------------------------------------------------------- */

.numeros-single {
    border-radius: var(--gb-radius);
}

.numeros-valor {
    color: var(--gb-primary);
}

.valores-card {
    border: 1px solid var(--gb-border) !important;
    border-radius: var(--gb-radius) !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.valores-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(1, 15, 28, .08);
}

@media (prefers-reduced-motion: reduce) {
    .gb-depo-card,
    .valores-card {
        transition: none;
    }
}
