/* ===== HOME PAGE CSS ===== */

/* Como trabalhamos — galeria de 3 imagens no lado direito */
.tenda-method__right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
}

.tenda-method__gallery {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tenda-method__img {
    display: block;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.tenda-method__img--tall {
    width: 230px;
    height: 414px;
}

.tenda-method__img-pair {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tenda-method__img-pair .tenda-method__img {
    width: 230px;
    height: 199px;
}

@media (max-width: 992px) {
    .tenda-method__right {
        padding: 24px;
    }

    .tenda-method__gallery {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tenda-method__img--tall {
        width: 160px;
        height: 280px;
    }

    .tenda-method__img-pair .tenda-method__img {
        width: 160px;
        height: 132px;
    }
}

@media (max-width: 600px) {
    .tenda-method__gallery {
        flex-direction: column;
        align-items: center;
    }

    .tenda-method__img--tall {
        width: 240px;
        height: auto;
        max-height: 340px;
    }

    .tenda-method__img-pair {
        flex-direction: row;
    }

    .tenda-method__img-pair .tenda-method__img {
        width: 116px;
        height: 100px;
    }
}

/* Blog cards — imagem em cima, texto embaixo (sem sobreposição) */
.tenda-blog-card {
    background: var(--tenda-white);
    border-radius: var(--tenda-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tenda-blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tenda-blog-card__image {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.tenda-blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tenda-blog-card__content {
    padding: 24px;
    color: var(--tenda-brown);
    flex-grow: 1;
}

.tenda-blog-card__content h3 {
    font-family: var(--tenda-font-title);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.tenda-blog-card__content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.85;
    line-height: 1.5;
}

/* Referências — imagem estática gerada para a home */
.tenda-references__visual {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(90, 46, 31, 0.25);
    box-shadow: 0 22px 70px rgba(90, 46, 31, 0.28);
}

.tenda-references__visual img {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.tenda-references__panel {
    grid-template-columns: minmax(0, 1fr);
}

.tenda-references__cta {
    display: inline-flex;
    width: max-content;
    margin-top: 1rem;
}

/* Galeria de serviços — carrossel compartilhado com a página /servicos/ */
.tenda-services-gallery {
    margin: 56px 0 8px;
}
