/* ==========================================================================
   section-sketch.css - Seção Ilustração / Esboço Artístico
   Design System Fiel ao Figma · 100% Mobile-First com clamp()
   Container: 1280px Fill × 416.41px Hug · Imagem 320px × 336.41px
   ========================================================================== */

.section-sketch {
    position: relative;
    width: 100%;
    background-color: var(--color-base-papel, #F6F1E8);
    padding: clamp(24px, 4vw, 40px) 0;
    box-sizing: border-box;
    overflow: hidden;
}

.section-sketch__container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4.5vw, 64px);
    padding-right: clamp(20px, 4.5vw, 64px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Moldura / Figura do Esboço: 320px × 336.41px fiel ao Figma */
.section-sketch__figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    height: clamp(280px, 26.28vw, 336.41px);
    box-sizing: border-box;
    opacity: 1;
    transform: rotate(0deg);
}

.section-sketch__img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 100%;
    max-height: 336.41px;
    object-fit: contain;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

/* Skeleton Placeholder para quando a imagem não for cadastrada no ACF */
.section-sketch__skeleton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 320px;
    max-height: 336.41px;
    background: linear-gradient(135deg, rgba(232, 226, 214, 0.5) 25%, rgba(251, 250, 247, 0.8) 50%, rgba(232, 226, 214, 0.5) 75%);
    background-size: 200% 100%;
    animation: sketchSkeletonShimmer 2.5s infinite ease-in-out;
    border: 1px dashed var(--color-neutral-400, #D8D2C8);
    border-radius: var(--radius-sm, 2px);
    box-sizing: border-box;
}

@keyframes sketchSkeletonShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.section-sketch__skeleton-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-neutral-600, #8E887E);
    padding: 16px;
    text-align: center;
}

.section-sketch__skeleton-icon {
    stroke: var(--color-neutral-500, #B5AFA4);
    opacity: 0.85;
}

.section-sketch__skeleton-text {
    font-family: var(--font-sans, 'Source Sans 3', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-neutral-600, #8E887E);
}
