﻿/* ==========================================
   OURWORK.CSS - COMPLETO CORRIGIDO
   Todas as modificações aplicadas
========================================== */

/* ==========================================
   BASE & RESET
========================================== */

.sd-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   PAGE HEADER COM IMAGEM DE FUNDO - CORRIGIDO
========================================== */

.sd-page-header {
    position: relative;
    padding: 9rem 0 6rem;
    overflow: hidden;
    background: #0a0a0f;
    min-height: 560px;
    display: flex;
    align-items: center;
}

/* Container da imagem de fundo */
.sd-page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

    .sd-page-header-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 35%;
        display: block;
    }

/* Overlay gradiente sobre a imagem */
.sd-header-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.7) 40%, rgba(10, 10, 15, 0.5) 60%, rgba(10, 10, 15, 0.8) 100%);
    z-index: 1;
}

/* Elementos de decoração com as cores do tema */
.sd-page-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(43, 176, 255, 0.15) 0%, transparent 60%), radial-gradient(ellipse at 30% 70%, rgba(85, 217, 140, 0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.sd-page-header-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.sd-page-header .sd-badge {
    background: rgba(43, 176, 255, 0.15);
    color: #2bb0ff;
    border: 1px solid rgba(43, 176, 255, 0.2);
    backdrop-filter: blur(10px);
}

.sd-page-header .sd-badge-dot {
    background: #2bb0ff;
    box-shadow: 0 0 20px rgba(43, 176, 255, 0.4);
}

.sd-page-title {
    margin: 1rem 0;
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #a0c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-page-description {
    max-width: 760px;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   BOTÕES ESTILIZADOS
========================================== */

.sd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1vw, 1rem);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    min-height: 52px;
}

.sd-btn-primary {
    background: linear-gradient(135deg, #2bb0ff, #1a7bc4);
    color: #fff;
    box-shadow: 0 4px 20px rgba(43, 176, 255, 0.3);
}

    .sd-btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
        width: 200%;
    }

    .sd-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(43, 176, 255, 0.5);
        background: linear-gradient(135deg, #3bb8ff, #2a8ad4);
    }

        .sd-btn-primary:hover::before {
            left: 100%;
        }

    .sd-btn-primary:active {
        transform: translateY(0px);
        box-shadow: 0 4px 15px rgba(43, 176, 255, 0.3);
    }

.sd-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

    .sd-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

.sd-btn-success {
    background: linear-gradient(135deg, #55d98c, #2ea86a);
    color: #fff;
    box-shadow: 0 4px 20px rgba(85, 217, 140, 0.3);
}

    .sd-btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(85, 217, 140, 0.5);
        background: linear-gradient(135deg, #65e99c, #3eb87a);
    }

.sd-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.sd-btn:hover .sd-btn-icon {
    transform: translateX(4px);
}

.sd-btn-outline {
    background: transparent;
    color: #2bb0ff;
    border: 2px solid #2bb0ff;
}

    .sd-btn-outline:hover {
        background: rgba(43, 176, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(43, 176, 255, 0.2);
    }

.sd-btn-glow {
    animation: btn-glow-pulse 3s ease-in-out infinite;
}

@keyframes btn-glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(43, 176, 255, 0.3);
    }

    50% {
        box-shadow: 0 4px 40px rgba(43, 176, 255, 0.6);
    }
}

/* ==========================================
   SECTION
========================================== */

.sd-section {
    padding: 2rem 0 5rem;
}

    .sd-section.sd-soft {
        background: linear-gradient(180deg, transparent 0%, rgba(43, 176, 255, 0.02) 100%);
    }

.sd-section-head {
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.sd-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.sd-section-head h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #8ab8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-section-head p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
}

/* ==========================================
   INTRO HIGHLIGHT
========================================== */

.sd-intro-highlight {
    margin: 2rem 0 3rem;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(43, 176, 255, 0.15);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(43, 176, 255, 0.05), rgba(85, 217, 140, 0.03));
    position: relative;
    overflow: hidden;
}

    .sd-intro-highlight::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 50%, rgba(43, 176, 255, 0.05), transparent 60%);
        pointer-events: none;
    }

    .sd-intro-highlight p {
        margin: 0;
        max-width: 850px;
        color: rgba(255, 255, 255, 0.82);
        line-height: 1.7;
        font-size: clamp(0.95rem, 1.2vw, 1.1rem);
        position: relative;
        z-index: 1;
    }

/* ==========================================
   WORK GRID
========================================== */

.sd-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.sd-work-card {
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

    .sd-work-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(43, 176, 255, 0.03) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        border-radius: 28px;
        pointer-events: none;
    }

    .sd-work-card:hover::before {
        opacity: 1;
    }

    .sd-work-card.sd-work-card-animate {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .sd-work-card.sd-work-card-visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .sd-work-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        border-color: rgba(43, 176, 255, 0.2);
    }

.sd-work-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    position: relative;
}

    .sd-work-card-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
        pointer-events: none;
    }

    .sd-work-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.sd-work-card:hover .sd-work-card-image img {
    transform: scale(1.05);
}

.sd-work-card-content {
    padding: clamp(1rem, 2vw, 1.5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sd-work-tag {
    display: inline-flex;
    margin-bottom: 0.9rem;
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    color: #2bb0ff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    background: rgba(43, 176, 255, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    align-self: flex-start;
    border: 1px solid rgba(43, 176, 255, 0.1);
}

.sd-work-card h3 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.2;
}

    .sd-work-card h3 a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .sd-work-card h3 a:hover {
            color: #2bb0ff;
        }

.sd-work-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.65;
    font-size: clamp(0.9rem, 1vw, 1rem);
    flex: 1;
}

.sd-work-features {
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
}

    .sd-work-features li {
        margin: 0.45rem 0;
        color: rgba(255, 255, 255, 0.82);
        font-size: clamp(0.85rem, 0.9vw, 0.95rem);
        display: flex;
        align-items: center;
        gap: 0.55rem;
    }

        .sd-work-features li::before {
            content: "✓";
            color: #55d98c;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            background: rgba(85, 217, 140, 0.1);
            border-radius: 50%;
            flex-shrink: 0;
        }

/* ==========================================
   LINK / READ MORE ESTILIZADO - CORRIGIDO
   Nome alterado para evitar conflito com navbar
========================================== */

.sd-work-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2bb0ff;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 1vw, 1rem);
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(43, 176, 255, 0.08);
    border: 1px solid rgba(43, 176, 255, 0.1);
}

    .sd-work-readmore::after {
        content: "→";
        transition: transform 0.3s ease;
    }

    .sd-work-readmore:hover {
        gap: 0.75rem;
        background: rgba(43, 176, 255, 0.15);
        border-color: rgba(43, 176, 255, 0.2);
        transform: translateX(2px);
    }

        .sd-work-readmore:hover::after {
            transform: translateX(4px);
        }

/* ==========================================
   PROJECT DETAIL PAGE
========================================== */

.sd-work-detail-hero {
    padding: 7rem 0 4rem;
    position: relative;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.5) 0%, transparent 100%);
}

.sd-work-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: clamp(0.9rem, 1vw, 1rem);
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

    .sd-work-back:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(-4px);
    }

    .sd-work-back::before {
        content: "←";
        transition: transform 0.3s ease;
    }

    .sd-work-back:hover::before {
        transform: translateX(-4px);
    }

.sd-work-detail-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.sd-work-detail-copy .sd-work-tag {
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    background: rgba(43, 176, 255, 0.12);
    padding: 0.3rem 1rem;
    margin-bottom: 1.2rem;
}

.sd-work-detail-copy h1 {
    margin: 1rem 0;
    font-size: clamp(1.8rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #8ab8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-work-detail-copy > p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
}

.sd-work-detail-highlights {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

    .sd-work-detail-highlights li {
        margin: 0.75rem 0;
        color: rgba(255, 255, 255, 0.9);
        font-size: clamp(0.9rem, 1vw, 1rem);
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .sd-work-detail-highlights li::before {
            content: "✓";
            margin-right: 0.6rem;
            color: #55d98c;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background: rgba(85, 217, 140, 0.1);
            border-radius: 50%;
            flex-shrink: 0;
        }

.sd-work-detail-image {
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

    .sd-work-detail-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.sd-work-section-list {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.sd-work-section-item {
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

    .sd-work-section-item:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(43, 176, 255, 0.08);
    }

    .sd-work-section-item .sd-kicker {
        color: #2bb0ff;
    }

    .sd-work-section-item h2 {
        margin: 0.5rem 0 1rem;
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        line-height: 1.1;
    }

    .sd-work-section-item p {
        max-width: 900px;
        color: rgba(255, 255, 255, 0.78);
        line-height: 1.9;
        font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    }

.sd-work-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: 2rem;
}

.sd-work-metric-card {
    padding: clamp(1.25rem, 2vw, 2rem);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .sd-work-metric-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(43, 176, 255, 0.05), rgba(85, 217, 140, 0.02));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sd-work-metric-card:hover::before {
        opacity: 1;
    }

    .sd-work-metric-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
        border-color: rgba(43, 176, 255, 0.15);
    }

    .sd-work-metric-card span {
        display: block;
        margin-bottom: 0.5rem;
        color: rgba(255, 255, 255, 0.65);
        font-size: clamp(0.8rem, 0.9vw, 0.9rem);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        position: relative;
        z-index: 1;
    }

    .sd-work-metric-card strong {
        display: block;
        margin-bottom: 0.8rem;
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        font-weight: 700;
        background: linear-gradient(135deg, #2bb0ff, #55d98c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
        z-index: 1;
    }

    .sd-work-metric-card p {
        margin: 0;
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.6;
        font-size: clamp(0.85rem, 0.9vw, 0.95rem);
        position: relative;
        z-index: 1;
    }

.sd-work-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-left: 5px solid #2bb0ff;
    background: linear-gradient(135deg, rgba(43, 176, 255, 0.05), rgba(85, 217, 140, 0.02));
    border-radius: 24px;
    border-left-color: #2bb0ff;
    border: 1px solid rgba(43, 176, 255, 0.1);
    border-left-width: 5px;
    transition: all 0.3s ease;
}

    .sd-work-quote:hover {
        background: linear-gradient(135deg, rgba(43, 176, 255, 0.08), rgba(85, 217, 140, 0.04));
        border-color: rgba(43, 176, 255, 0.2);
        border-left-width: 5px;
    }

    .sd-work-quote span {
        display: block;
        margin-bottom: 1rem;
        font-weight: 600;
        color: #2bb0ff;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: clamp(0.75rem, 0.8vw, 0.85rem);
    }

    .sd-work-quote p {
        margin: 0;
        font-size: clamp(1rem, 2vw, 1.5rem);
        line-height: 1.8;
        font-style: italic;
        color: rgba(255, 255, 255, 0.9);
    }

.sd-work-metrics-image {
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

    .sd-work-metrics-image img {
        width: 100%;
        display: block;
    }

/* ==========================================
   FINAL CTA
========================================== */

.sd-work-final-cta {
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(43,176,255,.14), rgba(85,217,140,.10));
    border: 1px solid rgba(255,255,255,.12);
    text-align: center;
}

    .sd-work-final-cta h2 {
        max-width: 760px;
        margin: .5rem auto 1rem;
        font-size: clamp(1.8rem, 4vw, 3.2rem);
        line-height: 1.1;
    }

    .sd-work-final-cta p {
        max-width: 720px;
        margin: 0 auto 2rem;
        color: rgba(255,255,255,.78);
        line-height: 1.8;
    }

/* ==========================================
   METRICS IMAGE - VISIBILIDADE GARANTIDA
========================================== */

.sd-work-metrics-image {
    display: block !important;
    width: 100%;
    margin: 2rem 0 2.5rem;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    position: relative;
    z-index: 2;
}

    .sd-work-metrics-image img {
        display: block !important;
        width: 100%;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
    }

/* ==========================================
   RESPONSIVE BREAKPOINTS
========================================== */

@media (max-width: 1024px) {
    .sd-work-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sd-work-detail-image {
        order: -1;
        aspect-ratio: 16 / 9;
    }

    .sd-work-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 820px) {
    .sd-page-header {
        padding: 5rem 0 3rem;
        min-height: 320px;
    }

    .sd-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sd-work-card-content {
        padding: 1.25rem;
    }

    .sd-work-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sd-shell {
        padding: 0 1rem;
    }

    .sd-page-header {
        padding: 4rem 0 2.5rem;
        min-height: 280px;
    }

    .sd-page-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .sd-page-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .sd-section {
        padding: 1.5rem 0 3rem;
    }

    .sd-work-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .sd-work-card {
        border-radius: 20px;
    }

    .sd-work-card-image {
        aspect-ratio: 16 / 9;
    }

    .sd-work-card-content {
        padding: 1rem;
    }

    .sd-work-card h3 {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }

    .sd-work-detail-hero {
        padding: 4rem 0 2.5rem;
    }

    .sd-work-detail-grid {
        gap: 1.5rem;
    }

    .sd-work-detail-copy h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .sd-work-detail-image {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .sd-work-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sd-work-metric-card {
        padding: 1rem 1.25rem;
    }

    .sd-work-quote {
        padding: 1.25rem;
        border-left-width: 4px;
        border-radius: 16px;
    }

        .sd-work-quote p {
            font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        }

    .sd-work-section-list {
        gap: 2rem;
    }

    .sd-work-section-item {
        padding: 1.25rem;
    }

    .sd-intro-highlight {
        padding: 1rem;
        border-radius: 16px;
        margin: 1.5rem 0 2rem;
    }

    .sd-section-head h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .sd-work-features li {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    .sd-btn {
        padding: 0.7rem 1.5rem;
        min-height: 44px;
        font-size: clamp(0.85rem, 2vw, 0.95rem);
    }

    .sd-work-readmore {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 400px) {
    .sd-shell {
        padding: 0 0.75rem;
    }

    .sd-page-header {
        padding: 3rem 0 2rem;
        min-height: 240px;
    }

    .sd-page-title {
        font-size: clamp(1.5rem, 7vw, 1.8rem);
    }

    .sd-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.7rem;
    }

    .sd-work-card {
        border-radius: 16px;
    }

    .sd-work-card-content {
        padding: 0.75rem;
    }

    .sd-work-card h3 {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .sd-work-card p {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
}

@media (min-width: 1600px) {
    .sd-shell {
        padding: 0 2rem;
    }

    .sd-work-grid {
        gap: 2rem;
    }

    .sd-work-card-content {
        padding: 2rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .sd-page-header {
        padding: 3rem 0 1.5rem;
        min-height: 200px;
    }

    .sd-page-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .sd-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-work-card-image {
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================
   PREFERÊNCIAS DE MOVIMENTO - CORRIGIDO
========================================== */

@media (prefers-reduced-motion: reduce) {
    .sd-work-card {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

        .sd-work-card.sd-work-card-animate {
            opacity: 1 !important;
            transform: none !important;
        }

    .sd-work-card-image img {
        transition: none !important;
    }

    .sd-work-card:hover {
        transform: none !important;
    }

        .sd-work-card:hover .sd-work-card-image img {
            transform: none !important;
        }

    .sd-work-readmore {
        transition: none !important;
    }

        .sd-work-readmore::after {
            transition: none !important;
        }

    .sd-work-metric-card {
        transition: none !important;
    }

    .sd-badge-dot {
        animation: none !important;
    }

    .sd-btn {
        transition: none !important;
    }

        .sd-btn::before {
            display: none !important;
        }

    .sd-btn-glow {
        animation: none !important;
    }
}
