/* Accordion Premium Hover */
.accordion-item {
    transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.accordion-item:hover {
    transform: translateX(6px);
}

.accordion-icon {
    transition: transform 0.35s ease;
}

body {
    background-color: #EAEAE5;
    color: #1c1917;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.noise {
    position: fixed;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.text-reveal-wrapper {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    padding-bottom: 0.15em;
}


.text-reveal-content {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.loaded .text-reveal-content {
    transform: translateY(0);
    opacity: 1;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Custom UI details */
.btn-hover-fx {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-fx::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #1c1917;
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hover-fx:hover::after {
    transform: translateY(0);
}

.btn-hover-fx:hover {
    color: white;
}

/* Grid Background Pattern */
.bg-grid {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

#hero-video {
    will-change: transform, current-time;
}

@keyframes shimmer {
    from {
        transform: translateX(-100%) skewX(-15deg);
    }

    to {
        transform: translateX(200%) skewX(-15deg);
    }
}

html {
    scroll-behavior: smooth;
}

.accordion-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

/* =========================
INTRO CINEMÁTICA - DESIGN
========================= */

.unna-design-intro {
    position: relative;
    z-index: 3;
}

.design-word {
    display: block;
}

.design-word-nada {
    opacity: 1;
    transform: translateY(18px);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s ease;
}


.design-word-rest {
    display: block;
    margin-top: 0.05em;
}

.design-line {
    display: block;
    opacity: 0;
    transform: translateY(32px);
    filter: blur(10px);
    transition:
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#design .design-reveal-target {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(12px);
    transition:
        opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

#design.design-intro-active .design-word-nada {
    transform: translateY(0);
}

#design.design-intro-active .design-line {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

#design.design-intro-active .design-line:nth-child(1) {
    transition-delay: 0.1s;
}

#design.design-intro-active .design-line:nth-child(2) {
    transition-delay: 0.24s;
}

#design.design-intro-active .design-reveal-target {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

#design.design-intro-active .design-reveal-target.design-left {
    transition-delay: 0.45s;
}

#design.design-intro-active .design-reveal-target.design-right {
    transition-delay: 0.62s;
}

/* =========================
COLEÇÃO V2 — AJUSTE FINAL
========================= */

.collection-v2 {
    position: relative;
    background: #eaeae5;
    overflow: hidden;
}

.collection-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(28, 25, 23, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(28, 25, 23, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.35;
}

.collection-v2>* {
    position: relative;
    z-index: 2;
}

.collection-v2-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #78716c;
}

.collection-v2-panel {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(28, 25, 23, 0.08);
    box-shadow: 0 18px 45px rgba(28, 25, 23, 0.04);
}

.collection-v2-square {
    border-radius: 0.5rem;
}

.collection-v2-media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #d9d8d3;
    border: 1px solid rgba(28, 25, 23, 0.08);
}

.collection-v2-media-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
        opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s ease;
    will-change: opacity, transform, filter;
}

.collection-v2-media-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    will-change: transform;
}

/* imagem inicial */
.collection-v2-media-base {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    filter: saturate(1.03) contrast(1.01);
}

/* segunda imagem */
.collection-v2-media-hover {
    opacity: 0;
    z-index: 2;
    transform: scale(1.02);
    filter: saturate(1.02) contrast(1.01);
}

/* estado ativo = segunda imagem entra suavemente */
.collection-v2-media.is-second-active .collection-v2-media-hover {
    opacity: 1;
    transform: scale(1);
}

.collection-v2-media.is-second-active .collection-v2-media-base {
    opacity: 0;
    transform: scale(0.985);
}

.collection-v2-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    padding: 1.75rem;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.04) 35%, transparent 65%);
    pointer-events: none;
}

.collection-v2-media-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.collection-v2-media-chips {
    position: absolute;
    left: 1.75rem;
    bottom: 1.2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 4;
    pointer-events: none;
}

.collection-v2-media-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.18);
}

.collection-v2-info {
    min-height: 520px;
}

.collection-v2-copy p {
    color: #78716c;
    line-height: 1.75;
    font-size: 0.96rem;
}

.collection-v2-card {
    border: 1px solid rgba(28, 25, 23, 0.08);
    transition:
        background-color 0.4s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.collection-v2-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    border-color: rgba(28, 25, 23, 0.12);
    box-shadow: 0 18px 35px rgba(28, 25, 23, 0.05);
}

.collection-v2-card-dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 25%),
        linear-gradient(145deg, #111111 0%, #1a1a1a 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        filter 0.45s ease;
}

.collection-v2-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(28, 25, 23, 0.10);
    filter: brightness(1.03);
}

.collection-v2-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(28, 25, 23, 0.08);
    background: rgba(255, 255, 255, 0.42);
    color: #57534e;
    transition: background-color 0.35s ease, transform 0.35s ease;
}

.collection-v2-chip:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.collection-v2-chip-dark {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.72);
}

.collection-v2-chip-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.collection-v2-actions a,
.collection-v2-actions button {
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.collection-v2-actions a:hover,
.collection-v2-actions button:hover {
    transform: translateY(-2px);
}

.collection-v2-big-quote {
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.collection-v2-soft {
    color: #b0aba5;
}

@media (max-width: 1024px) {

    .collection-v2-media,
    .collection-v2-info {
        min-height: unset;
    }
}

@media (max-width: 768px) {
    .collection-v2-media {
        min-height: 420px;
    }

    .collection-v2-media-overlay {
        padding: 1.25rem;
    }

    .collection-v2-media-chips {
        left: 1.25rem;
        bottom: 1rem;
    }
}

/* === Popup Original Works === */
.popup-hero-btn {
    position: relative;
    overflow: hidden;
}

.popup-hero-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 35%,
            rgba(255, 255, 255, 0.28) 50%,
            rgba(255, 255, 255, 0.08) 65%,
            transparent 100%);
    transform: skewX(-20deg);
    animation: popupShimmer 3.8s linear infinite;
}

@keyframes popupShimmer {
    0% {
        left: -120%;
    }

    100% {
        left: 140%;
    }
}

.popup-studio-btn {
    position: relative;
    overflow: hidden;
}

.popup-studio-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 35%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0.08) 65%,
            transparent 100%);
    transform: skewX(-20deg);
    animation: popupStudioShimmer 3.8s linear infinite;
}

@keyframes popupStudioShimmer {
    0% {
        left: -120%;
    }

    100% {
        left: 140%;
    }
}