/*
Theme Name: AE3D STUDIO
Theme URI: https://ae3dstudio.com.br
Author: AE3D STUDIO
Description: Tema customizado oficial da AE3D STUDIO.
Version: 1.3.1
Text Domain: ae3d-studio
*/

:root {
    --black: #050505;
    --panel: #090909;

    --gold: #f6c64f;
    --gold-bright: #ffda67;
    --gold-light: #ffe9a8;

    --white: #f7f7f7;
    --gray: #c8c8c8;

    --max: 1440px;

    --ease: .35s ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--black);

    color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

section {
    scroll-margin-top: 82px;
}


/* =========================================================
   HEADER
   ========================================================= */

.ae3d-header {
    position: fixed;

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

    z-index: 999;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.97),
            rgba(0,0,0,.84)
        );

    border-bottom:
        1px solid rgba(246,198,79,.13);

    backdrop-filter: blur(16px);
}

.ae3d-header-inner {
    width: min(94%,var(--max));

    height: 80px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.ae3d-brand {
    display: flex;
    align-items: center;

    gap: 11px;
}

.ae3d-logo {
    width: 60px;
    height: 60px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 8px
            rgba(255,207,75,.36)
        );
}

.ae3d-brand-text {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.ae3d-brand-text strong {
    color: var(--gold-bright);

    font-size: 15px;

    letter-spacing: .12em;
}

.ae3d-brand-text span {
    color: #aaa;

    font-size: 9px;

    letter-spacing: .16em;
}

.ae3d-nav {
    display: flex;

    align-items: center;

    gap:
        clamp(
            14px,
            1.5vw,
            27px
        );
}

.ae3d-nav a {
    color: #e7e7e7;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .07em;

    transition: var(--ease);
}

.ae3d-nav a:hover {
    color: var(--gold-bright);
}


/* =========================================================
   HERO
   HUD REMOVIDO
   ========================================================= */

.ae3d-hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #000;
}

.ae3d-hero-bg {
    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;
}

.ae3d-hero-bg img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;
}

.ae3d-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.91) 0%,
            rgba(0,0,0,.70) 34%,
            rgba(0,0,0,.20) 68%,
            rgba(0,0,0,.03) 100%
        ),
        linear-gradient(
            0deg,
            #050505 0%,
            transparent 21%
        );
}


/* GARANTE QUE HUD ANTIGO/NOVO NÃO APAREÇA */

.ae3d-hud-focus,
.ae3d-hero::after {
    display: none !important;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.ae3d-hero-content {
    position: relative;

    z-index: 3;

    width: min(90%,var(--max));

    margin: 0 auto;

    padding-top: 100px;
}

.ae3d-hero-copy {
    width: min(720px,100%);
}

.ae3d-hero h1 {
    margin-bottom: 15px;

    font-size:
        clamp(
            48px,
            5.7vw,
            88px
        );

    line-height: .96;

    letter-spacing: -.045em;
}

.ae3d-hero h1 span {
    color: var(--gold-bright);

    text-shadow:
        0 0 18px
        rgba(255,203,61,.16);
}


/* FRASE */

.ae3d-hero-manifesto {
    margin-top: 5px;

    margin-bottom: 16px;

    color: var(--gold-bright);

    font-size:
        clamp(
            14px,
            1.25vw,
            18px
        );

    font-weight: 700;

    font-style: italic;

    letter-spacing: .035em;

    text-shadow:
        0 0 12px
        rgba(255,204,64,.14);
}


/* DESCRIÇÃO */

.ae3d-hero-description {
    width: min(550px,100%);

    margin-bottom: 0;

    color: #ddd;

    font-size:
        clamp(
            18px,
            1.45vw,
            22px
        );

    line-height: 1.5;
}


/* BOTÕES MAIS BAIXOS */

.ae3d-hero-actions {
    margin-top: 31px;

    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.ae3d-btn {
    min-height: 49px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .08em;

    transition: var(--ease);
}

.ae3d-btn-gold {
    color: #050505;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold),
            #dc9b23
        );

    box-shadow:
        0 0 22px
        rgba(255,198,50,.16);
}

.ae3d-btn-gold:hover {
    transform: translateY(-2px);
}

.ae3d-btn-outline {
    border:
        1px solid
        rgba(255,214,104,.52);

    color: var(--gold-light);

    background:
        rgba(0,0,0,.22);
}


/* =========================================================
   AE3D VIEWER 360°
   ========================================================= */

.ae3d-viewer-section {
    position: relative;
    padding: 96px 0 88px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(246,198,79,.055),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #050505 0%,
            #080808 55%,
            #050505 100%
        );

    border-top: 1px solid rgba(246,198,79,.12);
    border-bottom: 1px solid rgba(246,198,79,.12);
}

.ae3d-viewer-inner {
    position: relative;
    z-index: 1;

    width: min(90%,var(--max));
    margin: 0 auto;
}

.ae3d-viewer-heading {
    max-width: 1180px;
    margin: 0 auto 38px;
    text-align: center;
}

.ae3d-viewer-eyebrow {
    display: block;
    margin-bottom: 13px;

    color: var(--gold-bright);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

#ae3d-viewer-title,
.ae3d-viewer-callout {
    margin: 0 0 18px;

    color: var(--white);

    white-space: nowrap;
    text-align: center;

    font-size: clamp(24px,3.2vw,52px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.02em;
}

.ae3d-viewer-callout strong {
    color: var(--gold-bright);
    font-weight: 800;
}

.ae3d-viewer-heading p {
    width: 100%;
    max-width: none;
    margin: 0 auto;

    color: #bfbfbf;

    white-space: nowrap;
    text-align: center;

    font-size: clamp(15px,1.25vw,18px);
    line-height: 1.65;
}

.ae3d-viewer-frame {
    position: relative;

    width: min(1180px,100%);
    margin: 0 auto;
    padding: 8px;

    border: 1px solid rgba(246,198,79,.50);
    background: #020202;

    box-shadow:
        0 26px 80px rgba(0,0,0,.62),
        0 0 28px rgba(246,198,79,.055);
}

.ae3d-viewer {
    position: relative;

    width: 100%;
    min-height: 420px;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(246,198,79,.07),
            transparent 30%
        ),
        #030303;

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

    cursor: grab;
}

.ae3d-viewer.is-dragging {
    cursor: grabbing;
}

.ae3d-viewer canvas {
    display: block;

    width: 100% !important;
    height: 100% !important;
}

.ae3d-viewer-placeholder {
    position: absolute;
    inset: 0;
    z-index: 4;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    color: #8d8d8d;
    text-align: center;
    letter-spacing: .16em;

    background: rgba(3,3,3,.76);

    transition:
        opacity var(--ease),
        visibility var(--ease);
}

.ae3d-viewer.is-ready .ae3d-viewer-placeholder {
    opacity: 0;
    visibility: hidden;
}

.ae3d-viewer-placeholder span {
    color: #ddd;

    font-size: 13px;
    font-weight: 700;
}

.ae3d-viewer-placeholder strong {
    color: var(--gold-bright);

    font-size: 30px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ae3d-viewer-ui {
    position: absolute;

    top: 16px;
    left: 16px;
    right: 16px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: space-between;

    pointer-events: none;
}

.ae3d-viewer-badge {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 0 12px;

    border: 1px solid rgba(246,198,79,.42);
    background: rgba(0,0,0,.52);

    color: var(--gold-bright);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ae3d-viewer-fullscreen {
    min-width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(246,198,79,.42);
    background: rgba(0,0,0,.58);

    color: var(--gold-bright);

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
    pointer-events: auto;
}

.ae3d-viewer-instruction {
    margin-top: 22px;

    color: var(--gold-bright);

    text-align: center;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .28em;
}

/* Impede a faixa de benefícios de subir sobre o Viewer */
.ae3d-viewer-section + .ae3d-features {
    margin-top: 0;
}


/* =========================================================
   FEATURES
   ========================================================= */

.ae3d-features {
    width: min(92%,var(--max));

    margin: -48px auto 0;

    position: relative;

    z-index: 10;

    display: grid;

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

    background:
        rgba(8,8,8,.96);

    border:
        1px solid
        rgba(246,198,79,.14);

    box-shadow:
        0 24px 65px
        rgba(0,0,0,.62);
}

.ae3d-feature {
    min-height: 118px;

    padding: 24px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-right:
        1px solid
        rgba(246,198,79,.10);
}

.ae3d-feature:last-child {
    border-right: none;
}

.ae3d-feature strong {
    margin-bottom: 6px;

    color: var(--gold-bright);

    font-size: 12px;

    letter-spacing: .065em;
}

.ae3d-feature span {
    color: #aaa;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   SERVICES
   ========================================================= */

.ae3d-services {
    padding:
        118px 0
        130px;
}

.ae3d-section-heading {
    width: min(90%,var(--max));

    margin:
        0 auto
        45px;
}

.ae3d-section-heading h2 {
    margin: 0;

    font-size:
        clamp(
            36px,
            4.7vw,
            62px
        );

    line-height: 1.02;

    letter-spacing: -.035em;
}


/* =========================================================
   CARDS
   ========================================================= */

.ae3d-card-grid {
    width: min(90%,var(--max));

    margin: 0 auto;

    display: grid;

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

    gap: 18px;

    align-items: stretch;
}

.ae3d-card {
    position: relative;

    width: 100%;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #080808;

    isolation: isolate;

    transition:
        transform var(--ease),
        box-shadow var(--ease);
}

.ae3d-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 22px 56px
        rgba(0,0,0,.70);
}

.ae3d-card-image {
    position: absolute;

    inset: 0;

    z-index: 0;
}

.ae3d-card-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    filter:
        brightness(.96)
        contrast(1.02)
        saturate(1.03);
}

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

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.94) 0%,
            rgba(0,0,0,.86) 24%,
            rgba(0,0,0,.50) 41%,
            rgba(0,0,0,.08) 61%,
            rgba(0,0,0,.35) 100%
        );
}

.ae3d-card-content {
    position: relative;

    z-index: 2;

    width: 100%;

    height: 100%;

    padding:
        clamp(22px,2vw,31px)
        clamp(20px,1.7vw,27px)
        clamp(23px,1.8vw,29px);

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.ae3d-card-number {
    position: absolute;

    top: 21px;

    right: 21px;

    color:
        rgba(255,218,103,.23);

    font-size: 10px;

    font-weight: 800;
}

.ae3d-card-icon {
    width: 58px;

    height: 58px;

    flex: 0 0 58px;

    margin-bottom: 19px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--gold-bright);

    border:
        1px solid
        rgba(255,215,101,.42);

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

    font-size: 26px;
}

.ae3d-card h3 {
    width: 100%;

    min-height: 92px;

    margin:
        0 0
        14px;

    color: var(--gold-bright);

    font-size:
        clamp(
            27px,
            2.15vw,
            39px
        );

    font-weight: 800;

    line-height: .97;

    letter-spacing: -.035em;

    text-transform: uppercase;
}

.ae3d-card h3 span {
    display: block;

    margin-bottom: 4px;

    color: #fff;
}

.ae3d-gold-line {
    position: relative;

    width: 80%;

    height: 1px;

    margin-bottom: 17px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold-bright)
        );
}

.ae3d-gold-line::after {
    content: "";

    position: absolute;

    top: 50%;

    right: -3px;

    width: 6px;

    height: 6px;

    transform:
        translateY(-50%);

    border-radius: 50%;

    background: var(--gold-bright);

    box-shadow:
        0 0 10px
        rgba(255,208,76,.82);
}

.ae3d-card p {
    width: 100%;

    min-height: 82px;

    margin: 0;

    color: #efefef;

    font-size:
        clamp(
            13px,
            1vw,
            17px
        );

    line-height: 1.48;

    text-shadow:
        0 2px 7px
        rgba(0,0,0,.88);
}

.ae3d-card-link {
    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 11px;

    color: var(--gold-bright);

    font-size:
        clamp(
            14px,
            1.15vw,
            18px
        );

    font-weight: 800;
}

.ae3d-card-link span {
    font-size: 1.22em;
}


/* =========================================================
   ABOUT
   ========================================================= */

.ae3d-about {
    padding:
        105px 0;

    background:
        radial-gradient(
            circle at 30% 50%,
            rgba(246,198,79,.045),
            transparent 24%
        ),
        #080808;
}

.ae3d-about-inner {
    width: min(88%,1150px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(220px,.65fr)
        minmax(380px,1.35fr);

    align-items: center;

    gap:
        clamp(
            40px,
            6vw,
            80px
        );
}

.ae3d-about-mark {
    display: flex;

    justify-content: center;
}

.ae3d-about-mark img {
    width: min(320px,100%);

    filter:
        drop-shadow(
            0 0 17px
            rgba(255,195,43,.16)
        );
}

.ae3d-about-copy h2 {
    margin-bottom: 20px;

    font-size:
        clamp(
            36px,
            4.2vw,
            60px
        );

    line-height: 1.01;
}

.ae3d-about-copy p {
    max-width: 620px;

    color: #c8c8c8;

    font-size: 16px;

    line-height: 1.68;
}

.ae3d-signature {
    margin-top:
        21px !important;

    color:
        var(--gold-bright) !important;

    font-size:
        12px !important;

    font-weight: 700;

    letter-spacing: .19em;
}


/* =========================================================
   CONTACT
   ========================================================= */

.ae3d-contact {
    padding:
        105px 0;

    background:
        linear-gradient(
            135deg,
            #070707,
            #020202
        );
}

.ae3d-contact-inner {
    width: min(88%,1150px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0,1.35fr)
        minmax(220px,.65fr);

    gap: 60px;

    align-items: center;
}

.ae3d-contact-copy > span {
    color: var(--gold-bright);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .20em;
}

.ae3d-contact h2 {
    margin:
        12px 0
        18px;

    font-size:
        clamp(
            38px,
            4.5vw,
            64px
        );

    line-height: .98;
}

.ae3d-contact p {
    color: #bcbcbc;

    font-size: 16px;
}

.ae3d-contact-actions {
    margin-top: 29px;

    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}

.ae3d-contact-item {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #eee;

    font-size: 10px;

    font-weight: 800;
}

.ae3d-contact-item img {
    width: 40px;

    height: 40px;

    object-fit: contain;
}

.ae3d-contact-qr {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 11px;
}

.ae3d-contact-qr img {
    width: min(215px,100%);

    padding: 7px;

    background: #fff;
}

.ae3d-contact-qr span {
    color: #aaa;

    text-align: center;

    font-size: 11px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.ae3d-footer {
    padding:
        30px 0;

    background: #020202;
}

.ae3d-footer-inner {
    width: min(90%,var(--max));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap: 20px;

    color: #777;

    font-size: 10px;
}

.ae3d-footer img {
    width: 48px;

    height: 48px;

    object-fit: contain;
}

.ae3d-footer-inner > div:nth-child(2) {
    display: flex;

    flex-direction: column;
}

.ae3d-footer strong {
    color: var(--gold-bright);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1100px) {

    .ae3d-nav {
        display: none;
    }

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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:800px) {

    .ae3d-header-inner {
        height: 70px;
    }

    .ae3d-logo {
        width: 48px;

        height: 48px;
    }

    .ae3d-hero {
        min-height: 820px;

        align-items: flex-end;
    }

    .ae3d-hero-bg img {
        object-position: center top;
    }

    .ae3d-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.05) 0%,
                rgba(0,0,0,.20) 35%,
                rgba(0,0,0,.80) 73%,
                #050505 100%
            );
    }

    .ae3d-hero-content {
        padding-top: 120px;

        padding-bottom: 72px;
    }

    .ae3d-hero-actions {
        margin-top: 25px;
    }

    .ae3d-viewer-section {
        padding: 76px 0 70px;
    }

    .ae3d-viewer-inner {
        width: min(92%,var(--max));
    }

    #ae3d-viewer-title,
    .ae3d-viewer-callout {
        font-size: clamp(16px,4.6vw,30px);
    }

    .ae3d-viewer-heading p {
        font-size: clamp(10px,2.1vw,15px);
    }

    .ae3d-viewer {
        min-height: 320px;
        aspect-ratio: 16 / 10;
    }

    .ae3d-features {
        margin-top: 0;

        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

    .ae3d-card-grid {
        width: min(92%,560px);

        grid-template-columns: 1fr;
    }

    .ae3d-about-inner,
    .ae3d-contact-inner {
        grid-template-columns: 1fr;
    }

    .ae3d-about-mark img {
        width: min(270px,72%);
    }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width:520px) {

    .ae3d-brand-text span {
        display: none;
    }

    .ae3d-hero {
        min-height: 760px;
    }

    .ae3d-hero h1 {
        font-size:
            clamp(
                36px,
                10.5vw,
                52px
            );
    }

    .ae3d-hero-manifesto {
        font-size: 13px;
    }

    .ae3d-hero-description {
        font-size: 15px;
    }

    .ae3d-hero-actions {
        margin-top: 24px;

        flex-direction: column;
    }

    .ae3d-btn {
        width: 100%;
    }

    .ae3d-viewer-section {
        padding: 64px 0 58px;
    }

    .ae3d-viewer-inner {
        width: 94%;
    }

    #ae3d-viewer-title,
    .ae3d-viewer-callout {
        font-size: clamp(12px,4vw,21px);
        letter-spacing: -.03em;
    }

    .ae3d-viewer-heading p {
        font-size: clamp(8px,2.7vw,12px);
        letter-spacing: -.01em;
    }

    .ae3d-viewer-frame {
        padding: 5px;
    }

    .ae3d-viewer {
        min-height: 245px;
        aspect-ratio: 4 / 3;
    }

    .ae3d-viewer-ui {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .ae3d-viewer-badge {
        min-height: 30px;
        padding: 0 10px;
        font-size: 9px;
    }

    .ae3d-viewer-fullscreen {
        min-width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .ae3d-viewer-instruction {
        margin-top: 17px;
        font-size: 9px;
        letter-spacing: .20em;
    }

    .ae3d-features {
        width: 100%;

        grid-template-columns: 1fr;
    }

    .ae3d-card-grid {
        width: 94%;
    }

    .ae3d-services,
    .ae3d-about,
    .ae3d-contact {
        padding:
            82px 0;
    }

    .ae3d-footer-inner {
        grid-template-columns: 1fr;

        text-align: center;

        justify-items: center;
    }

}


/* =========================================================
   AE3D VIEWER — VISUALIZAÇÃO DO CLIENTE
   ========================================================= */

.ae3d-viewer-client {
    width: min(1180px,100%);
    margin: 20px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px 16px;

    text-align: center;
}

.ae3d-viewer-upload-input {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0,0,0,0);
    white-space: nowrap;

    border: 0;
}

.ae3d-viewer-upload-button {
    min-height: 42px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(246,198,79,.58);

    background:
        linear-gradient(
            180deg,
            rgba(255,218,103,.08),
            rgba(0,0,0,.24)
        );

    color: var(--gold-bright);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;

    cursor: pointer;

    transition: var(--ease);
}

.ae3d-viewer-upload-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 0 18px
        rgba(246,198,79,.13);
}

.ae3d-viewer-upload-help {
    max-width: 620px;

    color: #909090;

    font-size: 10px;

    line-height: 1.5;
}


@media (max-width:520px) {

    .ae3d-viewer-client {
        margin-top: 16px;

        flex-direction: column;
    }

    .ae3d-viewer-upload-button {
        width: 100%;
    }

    .ae3d-viewer-upload-help {
        max-width: 92%;

        font-size: 9px;
    }

}


/* =========================================================
   AE3D VIEWER — NAVEGAÇÃO POR AMBIENTES
   ========================================================= */

.ae3d-project-nav {
    width: min(1180px,100%);

    margin: 34px auto 0;

    text-align: center;
}

.ae3d-project-nav h3 {
    margin:
        0 0
        18px;

    color: var(--gold-bright);

    font-size:
        clamp(
            18px,
            1.8vw,
            28px
        );

    font-weight: 800;

    letter-spacing: .035em;
}

.ae3d-project-nav-grid {
    display: grid;

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

    gap: 12px;
}

.ae3d-project-nav-button {
    min-height: 54px;

    padding: 0 16px;

    border:
        1px solid
        rgba(246,198,79,.28);

    background:
        linear-gradient(
            180deg,
            rgba(255,218,103,.045),
            rgba(0,0,0,.28)
        );

    color: #d9d9d9;

    font: inherit;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .09em;

    cursor: pointer;

    transition: var(--ease);
}

.ae3d-project-nav-button:hover,
.ae3d-project-nav-button.is-active {
    border-color:
        rgba(246,198,79,.72);

    color: var(--gold-bright);

    background:
        linear-gradient(
            180deg,
            rgba(255,218,103,.12),
            rgba(0,0,0,.32)
        );

    box-shadow:
        0 0 18px
        rgba(246,198,79,.08);
}

.ae3d-project-nav-button.is-unavailable {
    opacity: .52;
}

.ae3d-project-nav-status {
    min-height: 18px;

    margin:
        12px 0
        0;

    color: #888;

    font-size: 10px;

    line-height: 1.4;
}

@media (max-width:800px) {

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

}

@media (max-width:520px) {

    .ae3d-project-nav {
        margin-top: 28px;
    }

    .ae3d-project-nav h3 {
        font-size: 17px;
    }

    .ae3d-project-nav-grid {
        grid-template-columns: 1fr;
    }

    .ae3d-project-nav-button {
        min-height: 50px;
    }

}
