/* ============================================================
   Página: Kits Prontos para Coberturas e Telhados
   Complemento ao eucalipto-tratado.css (classes base compartilhadas)
   ============================================================ */

/* ==========================================================
   GRADE DE FOTOS — 4 COLUNAS (Kit Cobertura: 7 fotos)
   ========================================================== */
.photos-grid--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.photos-grid--4 .photos-row__item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    display: block;
    position: relative;
}

.photos-grid--4 .photos-row__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(32,17,1,0);
    transition: background 0.3s ease;
    pointer-events: none;
    border-radius: 10px;
}

.photos-grid--4 .photos-row__item:hover::after {
    background: rgba(32,17,1,0.18);
}

.photos-grid--4 .photos-row__item:hover img {
    transform: scale(1.06);
}

.photos-grid--4 .photos-row__item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================
   BLOCO TEXTO + FOTO (Pergolado de Pinus)
   ========================================================== */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-split__text {}

.content-split__photo {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    position: relative;
}

.content-split__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(32,17,1,0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.content-split__photo:hover::after {
    background: rgba(32,17,1,0.15);
}

.content-split__photo:hover img {
    transform: scale(1.04);
}

.content-split__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* ==========================================================
   LINK INLINE
   ========================================================== */
.inline-link {
    color: #AF8656;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.inline-link:hover { color: #CD9C3D; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 768px) {
    .photos-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-split__photo {
        order: -1;
    }

    /* Botões do corpo — coluna única, texto centralizado */
    .content-block__cta { justify-content: stretch; }
    .btn-content {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.8rem;
    }

    .cta-actions { flex-direction: column; align-items: stretch; }
    .btn-cta-whatsapp,
    .btn-cta-phone {
        justify-content: center;
        text-align: center;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .photos-grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero__actions { flex-direction: column; align-items: stretch; }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.9rem;
    }
}
