/**
 * Art Tech Component Styles
 */

section.about .about-content .art-tech {
    width: 100%;
    aspect-ratio: 16/10;
    flex: 0 0 auto;
    position: relative; /* container de referência pra imagem absoluta */
}

section.about .about-content .art-tech .art-tech-container {
    width: 100%;
    aspect-ratio: 16/10;
    position: relative;
    background-color: var(--color-pink);
    overflow: hidden;
    cursor: pointer;
    z-index: 23;
    container-type: inline-size;
}

section.about .about-content .art-tech .art-tech-container.is-expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    max-height: 90dvh;
    max-width: 90vw;
    transform: translate(-50%, -50%);
    width: min(90vw, 1400px);
    z-index: 23;
}

section.about .about-content .art-tech .e-comercial {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

section.about .about-content .art-tech .e-comercial img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

section.about .about-content .art-tech .art-tech-text {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

section.about .about-content .art-tech .art-tech-text h2 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--padding-sm);
}

section.about .about-content .art-tech .art-tech-container .art {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

section.about .about-content .art-tech .art-tech-container .art .art-svg {
    width: 100%;
    height: 100%;
    display: block;
}

section.about .about-content .art-tech .art-tech-container .art .art-svg .art-image {
    width: 100%;
    height: 100%;
}

section.about .about-content .art-tech .art-tech-container .art .art-svg .mask-circle {
    will-change: r;
}

/* === Estado centrado (trigger) === */

/* Transição base para o texto do info-container */
section.about .about-content .art-tech .art-tech-container .info-container .double-text .text {
    transition: color 0.3s ease-out;
}

/* Texto do info-container fica branco quando centrado */
section.about .about-content .art-tech .art-tech-container.is-centered .info-container .double-text .text {
    color: var(--color-white);
}

section.about .about-content .art-tech .art-tech-text h2 .upper, section.about .about-content .art-tech .art-tech-text h2 .lower {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

section.about .about-content .art-tech .art-tech-text h2 span.text {
    /* font-size: var(--font-size-5xl);
    line-height: var(--line-height-xs); */
    font-size: 12.5cqw;
    line-height: 9cqw;
    font-weight: 300;
    text-transform: uppercase;
}

section.about .about-content .art-tech .art-tech-text h2 span.circle { 
    width: 7%;
    height:auto;
    flex-grow:0;
    aspect-ratio: 1/1;
    border-radius: 50%;
    max-width: 45px;
    background-color: var(--color-yellow);
    transition: background-color 0.15s ease-out;
}

section.about .about-content .art-tech .art-tech-text h2 .info { 
    border-radius: 22px;
    color: var(--color-white);
    background-color: var(--color-brown);
    font-size: 13px;
    line-height: 13px;
    font-weight: 300;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    max-width: 22px;
    overflow: hidden;
    pointer-events: none;
    transform-origin: bottom left;
    will-change: background-color, color;
    transition: transform 0.3s ease-out, background-color 0.15s ease, color 0.15s ease, max-width 0.15s ease;
}

section.about .about-content .art-tech .art-tech-text h2 .info .ico {
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

section.about .about-content .art-tech .art-tech-text h2 .info .reveal {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;

}

section.about .about-content .art-tech .art-tech-text h2 .info .reveal {
    text-transform: uppercase;
    font-size: 11px;
    line-height: 11px;
    font-weight: 400;
    white-space: nowrap;
    padding-right: 10px;
}

section.about .about-content .art-tech:hover .art-tech-container .art-tech-text h2 .info { 
    background-color: var(--color-white);
    color: var(--color-brown);
    max-width: 150px;
}

section.about .about-content .art-tech:hover .art-tech-container.is-expanding .art-tech-text h2 .info { 
    max-width: 22px;
}


section.about .about-content .art-tech:hover .art-tech-container.is-expanded .info, section.about .about-content .art-tech .art-tech-container.is-expanded .info {
    transform: translateY(200%);
}

section.about .about-content .art-tech .art-tech-text h2 .lower {
    align-items: flex-end;
}

section.about .about-content .art-tech .art-tech-text h2 .info-container {
    position:absolute;
    left: 0;
    bottom:0;
    width: 45vw;
    transform: translateY(150%);
    transition: transform 0.3s ease-out;
}

section.about .about-content .art-tech .art-tech-text h2 .info-container .double-text {
    flex-direction: column;
}

section.about .about-content .art-tech .art-tech-container.is-expanded .info-container {
    transform: translateY(0);
}

section.about .about-content .art-tech .art-tech-container .hands {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
}

section.about .about-content .art-tech .art-tech-container .hands .hand {
    width: 50%;
    /* transition: transform 0.3s ease-out; */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    position: relative;
}

section.about .about-content .art-tech .art-tech-container .hands .hand .ascii {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

section.about .about-content .art-tech .art-tech-container .hands .hand .ascii .ascii-text {
    width: 50cqw;
    height: 100%;
    font-size: 1.2cqw;
    line-height: 1.2cqw;
    font-weight: 400;
    background-color: var(--color-white);
    color: var(--color-brown);
    word-break: break-all;
    overflow: hidden;
    font-family: monospace;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Máscara para a mão esquerda */
section.about .about-content .art-tech .art-tech-container .hands .hand.hand-left .ascii .ascii-text {
    -webkit-mask-image: url('../../images/left-hand-ascii.webp');
    mask-image: url('../../images/left-hand-ascii.webp');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Máscara para a mão direita */
section.about .about-content .art-tech .art-tech-container .hands .hand.hand-right .ascii .ascii-text {
    -webkit-mask-image: url('../../images/right-hand-ascii.webp');
    mask-image: url('../../images/right-hand-ascii.webp');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

section.about .about-content .art-tech .art-tech-container .hands .hand.hand-left {
    transform: translateX(-100%);
    background-image: url('../../images/left-hand.webp');
}

section.about .about-content .art-tech .art-tech-container .hands .hand.hand-right {
    transform: translateX(100%);
    background-image: url('../../images/right-hand.webp');
}

