/* ==========================================================================
   DEMONSTRAÇÕES INTERATIVAS · EVEREX DETAIL
   ========================================================================== */


/* ==========================================================================
   ELEMENTOS COMPARTILHADOS
   ========================================================================== */

   .mini-kicker {
    display: inline-block;

    font-family: var(--mono);

    font-size: .67rem;

    letter-spacing: .14em;

    text-transform: uppercase;

    color: var(--or);
}


.demo {
    margin: 24px 32px 0;

    position: relative;

    border-radius: 6px;

    overflow: hidden;

    background: #050506;

    border:
        1px solid
        var(--line);
}


.d-ctl {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    padding: 14px 16px;

    border-top:
        1px solid
        var(--line);

    background: var(--s2);
}


.d-ctl .lbl {
    font-family: var(--mono);

    font-size: .68rem;

    letter-spacing: .1em;

    text-transform: uppercase;

    color: var(--mut);

    margin-right: 4px;
}


.d-ctl .sp {
    margin-left: auto;
}


.read {
    display: flex;

    align-items: center;

    gap: 10px;

    font-family: var(--mono);

    font-size: .78rem;

    color: var(--tx2);
}


.read b {
    font-family: var(--disp);

    font-weight: 400;

    font-size: 1.5rem;

    color: var(--or);

    letter-spacing: -.02em;
}


/* ==========================================================================
   FEYNLAB
   ========================================================================== */

.feynlab-system {
    padding: 30px 32px 0;
}


.feynlab-intro {
    max-width: 780px;
}


.feynlab-intro h4,
.heal-copy h4,
.windowblue-copy h4 {
    margin-top: 10px;

    font-size:
        clamp(
            1.55rem,
            2.5vw,
            2.25rem
        );

    font-weight: 300;

    letter-spacing: -.035em;

    line-height: 1.05;
}


.feynlab-intro h4 em,
.heal-copy h4 em,
.windowblue-copy h4 em {
    font-style: normal;

    color: var(--or);
}


.feynlab-intro p,
.heal-copy p,
.windowblue-copy > p {
    color: var(--tx2);

    margin-top: 14px;

    max-width: 68ch;

    line-height: 1.65;
}


.feynlab-intro strong,
.heal-copy strong {
    color: var(--tx);

    font-weight: 600;
}


/* ==========================================================================
   FEYNLAB · CARDS
   ========================================================================== */

.ceramic-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 10px;

    margin-top: 26px;
}


.ceramic-card {
    position: relative;

    padding: 20px;

    border:
        1px solid
        var(--line);

    border-radius: 6px;

    background:
        linear-gradient(
            160deg,
            rgba(255, 255, 255, .025),
            transparent 45%
        ),
        var(--s2);

    overflow: hidden;
}


.ceramic-card::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 2px;

    background: var(--line2);
}


.ceramic-card.flagship {
    border-color:
        rgba(
            255,
            102,
            1,
            .55
        );

    background:
        radial-gradient(
            100% 70%
            at 100% 0%,
            rgba(
                255,
                102,
                1,
                .13
            ),
            transparent 60%
        ),
        var(--s2);
}


.ceramic-card.flagship::before {
    background: var(--or);
}


.ceramic-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;
}


.ceramic-medal {
    font-size: 1.3rem;
}


.ceramic-rank {
    font-family: var(--mono);

    font-size: .66rem;

    color: var(--mut);

    letter-spacing: .1em;
}


.ceramic-card h5 {
    margin-top: 18px;

    min-height: 48px;

    font-family: var(--disp);

    font-size: 1.15rem;

    line-height: 1.08;

    font-weight: 400;

    letter-spacing: -.02em;
}


.ceramic-thickness {
    margin-top: 14px;

    padding: 8px 10px;

    border-radius: 4px;

    background:
        rgba(
            255,
            102,
            1,
            .08
        );

    color: var(--or);

    font-family: var(--mono);

    font-size: .65rem;

    line-height: 1.4;

    letter-spacing: .07em;
}


.ceramic-metrics {
    margin-top: 20px;
}


.metric {
    position: relative;
}


.metric + .metric {
    margin-top: 18px;
}


.metric > span {
    display: block;

    padding-right: 46px;

    color: var(--mut);

    font-size: .72rem;

    line-height: 1.35;
}


.metric > strong {
    position: absolute;

    right: 0;
    top: 0;

    font-family: var(--mono);

    font-size: .74rem;

    color: var(--tx);
}


.meter {
    height: 4px;

    margin-top: 8px;

    border-radius: 99px;

    overflow: hidden;

    background:
        rgba(
            255,
            255,
            255,
            .08
        );
}


.meter i {
    display: block;

    width: var(--value);

    height: 100%;

    border-radius: inherit;

    background: var(--or);
}


.ceramic-note {
    margin-top: 20px;

    padding-top: 14px;

    border-top:
        1px solid
        rgba(
            255,
            102,
            1,
            .25
        );

    color: var(--or);

    font-size: .76rem;

    font-weight: 600;

    line-height: 1.4;
}


.traditional-note {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 18px;

    margin-top: 12px;

    padding: 14px 16px;

    border:
        1px dashed
        var(--line2);

    border-radius: 5px;
}


.traditional-note > span {
    font-family: var(--mono);

    font-size: .65rem;

    letter-spacing: .1em;

    text-transform: uppercase;

    color: var(--mut);
}


.traditional-note p {
    font-size: .82rem;

    color: var(--tx2);
}


.traditional-note strong {
    color: var(--tx);
}


/* ==========================================================================
   FEYNLAB · HEAL PLUS
   ========================================================================== */

.heal-feature {
    padding: 30px 32px 0;
}


.heal-copy {
    padding: 24px 26px;

    border-left:
        2px solid
        var(--or);

    background:
        linear-gradient(
            90deg,
            rgba(
                255,
                102,
                1,
                .08
            ),
            transparent
        );
}


.heal-copy p + p {
    margin-top: 8px;
}


/* ==========================================================================
   FEYNLAB · DEMO
   ========================================================================== */

.paint {
    position: relative;

    height: 320px;

    overflow: hidden;

    background:
        radial-gradient(
            120% 60% at 20% 0%,
            rgba(
                255,
                255,
                255,
                .16
            ),
            transparent 50%
        ),
        linear-gradient(
            172deg,
            #23262c 0%,
            #0d0e11 38%,
            #17191e 62%,
            #07080a 100%
        );
}


.paint::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            105deg,
            transparent 30%,
            rgba(255, 255, 255, .10) 38%,
            transparent 44%,
            transparent 58%,
            rgba(255, 255, 255, .05) 63%,
            transparent 68%
        );
}


.paint .heat {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            40% 70% at var(--hx, 50%) 50%,
            rgba(255, 102, 1, .45),
            rgba(255, 60, 0, .12) 45%,
            transparent 70%
        );

    opacity: 0;

    mix-blend-mode: screen;
}


.paint.heating .heat {
    animation:
        heat
        1.8s
        var(--ease)
        forwards;
}


@keyframes heat {

    0% {
        opacity: 0;
        --hx: 0%;
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}


.paint svg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


.paint svg path {
    fill: none;

    stroke: #fff;

    stroke-linecap: round;

    transition:
        opacity
        1.6s
        ease
        .3s;
}


.paint .lab-tag {
    position: absolute;

    left: 16px;
    top: 14px;

    font-family: var(--mono);

    font-size: .66rem;

    letter-spacing: .1em;

    text-transform: uppercase;

    color:
        rgba(
            255,
            255,
            255,
            .6
        );
}


.paint .lab-tag.r {
    left: auto;

    right: 16px;
}


.heal-line button {
    pointer-events: none;
}


/* ==========================================================================
   WINDOW BLUE · INTRO
   ========================================================================== */

.windowblue-feature {
    padding: 30px 32px 0;
}


.windowblue-copy {
    padding: 26px;

    border-left:
        2px solid
        var(--or);

    background:
        linear-gradient(
            90deg,
            rgba(
                255,
                102,
                1,
                .08
            ),
            transparent
        );
}


.windowblue-benefits {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 8px;

    margin-top: 24px;
}


.windowblue-benefits > div {
    min-width: 0;

    padding: 16px;

    border:
        1px solid
        var(--line);

    border-radius: 5px;

    background:
        rgba(
            255,
            255,
            255,
            .018
        );
}


.windowblue-benefits span {
    display: block;

    font-family: var(--mono);

    font-size: .63rem;

    color: var(--or);
}


.windowblue-benefits strong {
    display: block;

    margin-top: 9px;

    color: var(--tx);

    font-size: .92rem;

    line-height: 1.2;
}


.windowblue-benefits p {
    margin-top: 7px;

    color: var(--mut);

    font-size: .76rem;

    line-height: 1.45;
}


/* ==========================================================================
   WINDOW BLUE · SIMULADOR
   ========================================================================== */

.glass {
    position: relative;

    height: 320px;

    background: #0b0c0e;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 24px;
}


.glass .win {
    position: relative;

    width: min(560px, 100%);

    height: 100%;

    clip-path:
        polygon(
            14% 0,
            100% 0,
            100% 100%,
            0 100%,
            0 52%
        );

    border-radius: 4px;

    overflow: hidden;
}


.glass .scene {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            #8ec5ff 0%,
            #cfe6ff 55%,
            #f1d9b6 70%,
            #8a9a7a 71%,
            #5b6b4c 100%
        );
}


.glass .sun {
    position: absolute;

    right: 16%;
    top: 14%;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #fff 0 30%,
            rgba(255, 240, 200, .8) 45%,
            rgba(255, 220, 150, 0) 70%
        );
}


.glass .hills {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 28%;

    height: 30%;

    background:
        radial-gradient(
            60% 100% at 25% 100%,
            #4f6a4b 60%,
            transparent 61%
        ),
        radial-gradient(
            50% 90% at 75% 100%,
            #3d573a 60%,
            transparent 61%
        );
}


.glass .film {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(6, 10, 16, 1),
            rgba(10, 14, 20, 1)
        );

    transition:
        opacity
        .6s
        ease;
}


.glass .refl {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(255, 255, 255, .18) 36%,
            transparent 44%
        );
}


.glass .vlt {
    position: absolute;

    right: 16px;
    top: 14px;

    font-family: var(--mono);

    font-size: .72rem;

    font-weight: 600;

    letter-spacing: .08em;

    color: #fff;

    background:
        rgba(
            0,
            0,
            0,
            .68
        );

    padding: 8px 11px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .12
        );

    border-radius: 4px;
}


/* ==========================================================================
   WINDOW BLUE · BOTÕES DE TONALIDADE
   ========================================================================== */

.windowblue-controls {
    align-items: center;

    gap: 16px;
}


.tint-options {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    flex: 1;

    gap: 7px;

    border: 0;

    border-radius: 0;

    padding: 0;
}


.tint-options button {
    height: auto;

    min-height: 62px;

    padding: 10px 12px;

    border:
        1px solid
        var(--line2);

    border-radius: 5px;

    background:
        rgba(
            255,
            255,
            255,
            .025
        );

    color: var(--tx);

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    gap: 4px;

    text-align: left;

    white-space: normal;

    transition:
        border-color
        .25s ease,
        background
        .25s ease,
        transform
        .25s ease;
}


.tint-options button:hover {
    border-color:
        rgba(
            255,
            102,
            1,
            .55
        );

    background:
        rgba(
            255,
            102,
            1,
            .055
        );
}


.tint-options button[aria-pressed="true"] {
    background:
        rgba(
            255,
            102,
            1,
            .12
        );

    border-color: var(--or);

    color: var(--tx);

    box-shadow:
        inset 0 0 0 1px
        rgba(
            255,
            102,
            1,
            .15
        );
}


.tint-options button[aria-pressed="true"]::before {
    content: "";

    position: absolute;
}


.tint-code {
    display: block;

    font-family: var(--mono);

    font-size: .9rem;

    font-weight: 700;

    letter-spacing: .04em;

    color: var(--tx);
}


.tint-name {
    display: block;

    font-size: .78rem;

    font-weight: 600;

    line-height: 1.2;

    color: var(--tx2);
}


.tint-options button[aria-pressed="true"] .tint-code {
    color: var(--or);
}


.tint-options button[aria-pressed="true"] .tint-name {
    color: var(--tx);
}


/* ==========================================================================
   WINDOW BLUE · REGRAS
   ========================================================================== */

.legal {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    border-top:
        1px solid
        var(--line);
}


.legal div {
    padding: 12px 16px;

    font-size: .8rem;

    color: var(--mut);

    border-right:
        1px solid
        var(--line);
}


.legal div:last-child {
    border-right: 0;
}


.legal b {
    display: block;

    font-weight: 600;

    color: var(--tx2);

    font-size: .84rem;
}


.legal .ok {
    color: #5fd38d;
}


.legal .no {
    color: #ff7b6b;
}


/* ==========================================================================
   PROFILM
   ========================================================================== */

.ppf {
    position: relative;

    padding: 20px 18px 8px;

    background:
        radial-gradient(
            70% 70% at 50% 60%,
            #15171b,
            #060607
        );
}


.ppf svg {
    width: 100%;

    height: auto;

    display: block;
}


.ppf .zone {
    fill: var(--or);

    opacity: 0;

    transition:
        opacity
        .5s
        ease;
}


.ppf .zone.on {
    opacity: .55;
}


.ppf .legend {
    display: flex;

    flex-wrap: wrap;

    gap: 6px 14px;

    padding: 6px 4px 10px;

    font-size: .78rem;

    color: var(--tx2);
}


.ppf .legend span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.ppf .legend span::before {
    content: "";

    width: 8px;
    height: 8px;

    border-radius: 2px;

    background: var(--or);

    opacity: .25;
}


.ppf .legend span.on::before {
    opacity: 1;
}


.ppf .legend span.on {
    color: var(--tx);
}


/* ==========================================================================
   KOCHCHEMIE
   ========================================================================== */

.wash {
    position: relative;

    height: 320px;

    overflow: hidden;
}


.wash img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: 50% 60%;

    filter: saturate(.9);
}


.wash::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 6, .95) 0%,
            rgba(5, 5, 6, .78) 42%,
            rgba(5, 5, 6, .15) 75%
        );
}


.wash ol {
    position: absolute;

    z-index: 1;

    left: 22px;
    top: 22px;
    bottom: 22px;

    width:
        min(
            320px,
            70%
        );

    margin: 0;

    padding: 0;

    list-style: none;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 4px;
}


.wash li {
    display: grid;

    grid-template-columns:
        30px
        minmax(0, 1fr);

    gap: 10px;

    padding: 10px 0;

    opacity: .38;

    transition:
        opacity
        .4s
        ease;

    cursor: pointer;
}


.wash li.on {
    opacity: 1;
}


.wash li i {
    font-style: normal;

    font-family: var(--mono);

    font-size: .72rem;

    color: var(--or);

    padding-top: 3px;
}


.wash li b {
    display: block;

    font-weight: 700;

    font-size: .95rem;
}


.wash li span {
    display: none;

    font-size: .82rem;

    color: var(--tx2);

    margin-top: 2px;
}


.wash li.cur span {
    display: block;
}


.wash .bar {
    position: absolute;

    z-index: 1;

    left: 0;
    bottom: 0;

    height: 3px;

    background: var(--or);

    width: 0;

    transition:
        width
        .6s
        var(--ease);
}


/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 1180px) {

    .ceramic-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .windowblue-benefits {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


@media (max-width: 640px) {

    .feynlab-system,
    .windowblue-feature {
        padding:
            24px
            20px
            0;
    }

    .heal-feature {
        padding:
            24px
            20px
            0;
    }

    .heal-copy,
    .windowblue-copy {
        padding: 20px;
    }

    .ceramic-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .ceramic-card h5 {
        min-height: auto;
    }

    .traditional-note {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 6px;
    }

    .windowblue-benefits {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .demo {
        margin:
            20px
            20px
            0;
    }

    .paint,
    .glass,
    .wash {
        height: 260px;
    }

    .d-ctl .sp {
        margin-left: 0;

        width: 100%;
    }

    .windowblue-controls {
        display: block;
    }

    .windowblue-controls .lbl {
        display: block;

        margin-bottom: 10px;
    }

    .tint-options {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        width: 100%;
    }

    .tint-options button {
        min-height: 68px;
    }

    .tint-code {
        font-size: .92rem;
    }

    .tint-name {
        font-size: .8rem;
    }

    .legal {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .legal div {
        border-right: 0;

        border-bottom:
            1px solid
            var(--line);
    }

}