/* =========================================================
   RESET E CONFIGURAÇÕES GERAIS
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth !important;
}

body {
    margin: 0;
    background: #080808;
    color: #f5f3ed;
    font-family: Inter, Arial, sans-serif;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   CABEÇALHO DO SITE
========================================================= */

.site-header {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;

    border-bottom: 1px solid #202020;
    background: rgba(8, 8, 8, 0.88);

    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: block;
    width: 68px;
    height: 68px;

    object-fit: cover;
    border-radius: 10px;
}

.brand-mark {
    width: 42px;
    height: 42px;

    border: 2px solid #c99b3d;
    border-radius: 50%;

    display: grid;
    place-items: center;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    font-weight: 800;

    color: #d8ad54;

    background: radial-gradient(
        circle,
        #242015,
        #080808
    );
}

.brand strong {
    display: block;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 26px;
    line-height: 20px;
    letter-spacing: 1px;
}

.brand small {
    display: block;

    font-size: 9px;
    letter-spacing: 4px;
    font-weight: 700;

    color: #c99b3d;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 13px;
    font-weight: 600;
    color: #c9c9c9;
}

.site-nav a {
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: #d8ad54;
}

.nav-cta {
    padding: 11px 18px;

    border: 1px solid #a87e2d;
    border-radius: 7px;

    color: #e0b65e !important;
}

.menu-toggle {
    display: none;

    background: none;
    border: 0;

    color: #ffffff;
    font-size: 24px;
}


/* =========================================================
   HERO / BANNER PRINCIPAL
========================================================= */

.hero {
    min-height: min(760px, calc(100svh - 78px));
    min-height: max(650px, min(760px, calc(100svh - 78px)));

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 90px 8vw;

    border-bottom: 1px solid #191919;

    background:
        radial-gradient(ellipse at 78% 46%, rgba(184, 138, 50, .18), transparent 34%),
        radial-gradient(ellipse at 6% 110%, rgba(184, 138, 50, .08), transparent 42%),
        #080808;
}

.hero-video {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    pointer-events: none;
}

.hero::before {
    content: "";

    position: absolute;
    z-index: 1;
    inset: 0;

    background:
        linear-gradient(
            110deg,
            rgba(0, 0, 0, 0.85),
            transparent 65%
        ),
        repeating-linear-gradient(
            125deg,
            transparent 0 100px,
            rgba(201, 155, 61, 0.025) 101px 102px
        );
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -20%;
    bottom: -20%;
    left: -35%;
    width: 24%;
    opacity: .22;
    pointer-events: none;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(225, 184, 93, .16), transparent);
    animation: hero-scan 9s ease-in-out 1.2s infinite;
}

.hero-copy {
    position: relative;
    z-index: 2;

    max-width: 720px;
    animation: hero-copy-in .85s cubic-bezier(.2,.75,.25,1) both;
}

.eyebrow {
    display: block;

    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;

    color: #c99b3d;
}

.hero h1,
h1,
h2 {
    margin: 0;

    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    line-height: 0.9;

    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(60px, 8vw, 110px);
    letter-spacing: -2px;
}

.hero h1 em,
h2 em {
    font-style: normal;

    color: #d4a548;

    text-shadow: 0 0 30px rgba(212, 165, 72, 0.12);
}

.hero p {
    max-width: 560px;

    margin: 28px 0;

    color: #b6b6b6;

    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-actions .button-arrow {
    margin-left: 11px;
    font-size: 17px;
    transition: transform .2s ease;
}

.hero-actions .btn-gold:hover .button-arrow {
    transform: translateY(3px);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 30px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(201,155,61,.19);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: #b7ad95;
    font-size: 10px;
    letter-spacing: .15px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.hero-trust span::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(201,155,61,.14);
    color: #dcb45c;
    font-size: 10px;
    font-weight: 800;
}

.hero-trust span:hover {
    border-color: rgba(201,155,61,.4);
    background: rgba(201,155,61,.06);
    color: #e4d5b2;
}


/* =========================================================
   ELEMENTOS VISUAIS DO HERO
========================================================= */
@keyframes hero-copy-in {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hero-scan {
    0%, 18% { left: -35%; opacity: 0; }
    28% { opacity: .22; }
    66%, 100% { left: 120%; opacity: 0; }
}


/* =========================================================
   SEÇÕES GERAIS
========================================================= */

.section {
    padding: 100px 8vw;

    border-bottom: 1px solid #191919;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 35px;
}

.section h2 {
    font-size: 60px;
}

.count {
    color: #777777;
    font-size: 12px;
}


/* =========================================================
   FILTROS
========================================================= */

.filters {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 28px;
    padding: 12px;
    background: linear-gradient(110deg, #111 0%, #0b0b0b 75%);
    border: 1px solid #25231d;
    border-radius: 11px;
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.filters input {
    flex: 1;
}

.filters input,
.filters select,
.admin-content input,
.admin-content select,
.admin-content textarea {
    padding: 13px 14px;

    background: #101010;
    border: 1px solid #2b2b2b;
    border-radius: 7px;

    color: #dddddd;
    outline: none;

    transition: border-color 0.2s ease;
}

.filters input:focus,
.filters select:focus,
.admin-content input:focus,
.admin-content select:focus,
.admin-content textarea:focus {
    border-color: #9d762e;
    box-shadow: 0 0 0 3px rgba(201, 155, 61, .1);
}

.filters input,
.filters select {
    min-height: 47px;
    border-radius: 8px;
}

.filter-clear {
    min-height: 45px;
    padding: 0 15px;
    border: 1px solid #393327;
    border-radius: 8px;
    background: transparent;
    color: #c6b891;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.filter-clear:hover {
    color: #f3d58f;
    border-color: #9d762e;
    background: rgba(201, 155, 61, .08);
}


/* =========================================================
   CARDS DE CONTAS
========================================================= */

.account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.account-card {
    --card-tilt-x: 0deg;
    --card-tilt-y: 0deg;
    overflow: hidden;
    position: relative;
    background: linear-gradient(150deg, #141414, #0b0b0b 68%);
    border: 1px solid #292721;
    border-radius: 12px;
    transform: perspective(1000px) translateY(0) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y));
    transform-style: preserve-3d;
    box-shadow: 0 12px 36px rgba(0,0,0,.17);

    transition:
        border-color .3s ease,
        transform .38s cubic-bezier(.2,.75,.25,1),
        box-shadow .3s ease,
        opacity .22s ease,
        filter .22s ease;
}

.account-card:hover {
    z-index: 2;
    border-color: #8c6c2c;
    transform: perspective(1000px) translateY(-7px) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y));
    box-shadow: 0 24px 55px rgba(0,0,0,.38), 0 0 30px rgba(184,138,50,.09);
}

.account-card[hidden] {
    display: none !important;
}

.account-card.is-hiding {
    opacity: 0;
    filter: blur(3px);
    transform: perspective(1000px) translateY(12px) scale(.985);
    pointer-events: none;
}

.account-card.is-reveal-pending {
    opacity: 0;
    translate: 0 18px;
    filter: blur(4px);
    transition-delay: var(--reveal-delay, 0ms);
}

.account-card.is-revealed {
    opacity: 1;
    translate: 0 0;
    filter: none;
    transition-delay: 0ms;
}

.account-card-sold .account-image .account-image-file,
.account-card-sold .account-image .placeholder-game,
.account-card-sold .account-info {
    filter: grayscale(1);
}

.account-card-sold .account-info {
    opacity: 0.72;
}


/* =========================================================
   IMAGENS DOS CARDS
========================================================= */

.account-image {
    width: 100%;
    height: 240px;

    position: relative;
    overflow: hidden;

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

    background:
        radial-gradient(ellipse at 50% 100%, rgba(184,138,50,.14), transparent 65%),
        #111;
}

.account-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .28;
    background: linear-gradient(135deg, transparent 43%, rgba(220,181,94,.09) 50%, transparent 57%);
    transform: translateX(-110%);
    transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.account-card:hover .account-image::after {
    transform: translateX(110%);
}

.account-image-file,
.account-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #111;
    transition: transform 0.3s ease;
}

.sold-stamp {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(78%, 320px);
    height: auto;
    object-fit: contain;
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: none;
}

.account-card:hover .account-image .sold-stamp,
.main-photo:hover .sold-stamp {
    transform: translate(-50%, -50%);
}

.account-card:hover .account-image-file,
.account-card:hover .account-image img {
    transform: scale(1.05);
}


/* =========================================================
   IMAGEM PLACEHOLDER
========================================================= */

.placeholder-game,
.placeholder-large {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 110px;

    color: #6e5421;

    background: radial-gradient(
        circle,
        #30240e,
        #0b0b0b 65%
    );
}

.placeholder-large {
    font-size: 180px;
}


/* =========================================================
   BADGES
========================================================= */

.badge {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 2;

    padding: 6px 9px;

    background: #d1a344;
    color: #090909;

    border-radius: 4px;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.badge-sold {
    background: #c52f35;
    color: #ffffff;
}

.badge-available::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 6px 1px 0;
    border-radius: 50%;
    background: #1d3319;
    box-shadow: 0 0 0 0 rgba(42, 92, 37, .35);
    animation: availability-pulse 2.4s ease-out infinite;
}

@keyframes availability-pulse {
    70%, 100% { box-shadow: 0 0 0 5px rgba(42, 92, 37, 0); }
}


/* =========================================================
   INFORMAÇÕES DOS CARDS
========================================================= */

.account-info {
    padding: 20px;
}

.muted {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: #8c8c8c;
}

.account-info h3 {
    margin: 8px 0 13px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 27px;
}

.specs {
    display: flex;
    gap: 15px;

    padding-bottom: 17px;

    border-bottom: 1px solid #252525;

    color: #9c9c9c;
    font-size: 11px;
}

.price {
    display: flex;
    flex-direction: column;

    margin-top: 15px;
}

.price del {
    font-size: 11px;
    color: #666666;
}

.price strong {
    font-size: 24px;
    color: #e0b45b;
}

.card-link {
    display: flex;
    justify-content: space-between;

    margin-top: 17px;

    color: #cda04a;

    font-size: 12px;
    font-weight: 800;
    align-items: center;
    transition: color .2s ease;
}

.card-link span {
    transition: transform .2s ease;
}

.account-card:hover .card-link {
    color: #f0ce7f;
}

.account-card:hover .card-link span {
    transform: translateX(5px);
}

.empty {
    display: none;
    justify-items: center;
    gap: 8px;
    padding: 56px 24px;
    text-align: center;
    color: #aaa;
    border: 1px dashed #3a3426;
    border-radius: 12px;
    background: radial-gradient(ellipse at center, rgba(184,138,50,.07), transparent 70%);
}

.empty.is-active {
    display: grid;
    animation: empty-state-in .35s ease both;
}

.empty strong {
    color: #e8e1d0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 27px;
    letter-spacing: .3px;
}

.empty p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.empty-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
    border: 1px solid #5b4722;
    border-radius: 50%;
    color: #d1a344;
    font-size: 30px;
}

@keyframes empty-state-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================================
   COMO FUNCIONA
========================================================= */

.split-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.section[id] {
    scroll-margin-top: 100px;
}

#contato {
    scroll-margin-top: 18px;
}

.catalog-arrival .section-head > div {
    animation: catalog-arrival .9s ease both;
}

@keyframes catalog-arrival {
    0% { transform: translateY(7px); filter: drop-shadow(0 0 0 rgba(212,165,72,0)); }
    45% { transform: translateY(0); filter: drop-shadow(0 0 18px rgba(212,165,72,.28)); }
    100% { filter: drop-shadow(0 0 0 rgba(212,165,72,0)); }
}

.lead {
    max-width: 450px;

    color: #999999;
    line-height: 1.8;
}

.process-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 15px;
    border: 1px solid #745923;
    border-radius: 8px;
    color: #e0b45b;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, gap .2s ease;
}

.process-cta:hover {
    gap: 17px;
    border-color: #bd923c;
    background: rgba(201,155,61,.08);
}

.steps {
    position: relative;
    display: grid;
    gap: 12px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 35px;
    bottom: 35px;
    left: 25px;
    width: 1px;
    background: linear-gradient(#c99b3d, rgba(201,155,61,.08));
}

.step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 21px;
    min-height: 96px;
    padding: 19px 22px 19px 74px;
    border: 1px solid #292721;
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(255,255,255,.028), rgba(255,255,255,.008));
    transition: border-color .28s ease, background .28s ease, transform .28s ease, opacity .35s ease;
}

.step:hover {
    transform: translateX(5px);
    border-color: rgba(201,155,61,.48);
    background: linear-gradient(110deg, rgba(201,155,61,.09), rgba(255,255,255,.012));
}

.step.is-step-pending {
    opacity: 0;
    transform: translateY(14px);
    transition-delay: var(--step-delay, 0ms);
}

.step.is-step-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms;
}

.step > b {
    position: absolute;
    left: 0;
    top: 17px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    border: 1px solid #795e2b;
    border-radius: 50%;
    background: #14120e;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 23px;
    color: #d9ad53;
    box-shadow: 0 0 0 5px #080808;
}

.step h3 {
    margin: 0 0 5px;

    font-size: 16px;
}

.step p {
    margin: 0;

    color: #777777;
    font-size: 12px;
}


/* =========================================================
   SOBRE A EMPRESA
========================================================= */

.about {
    background: linear-gradient(
        110deg,
        #111111,
        #080808
    );
}

.about-box {
    max-width: 850px;

    padding: 65px;

    border: 1px solid #2d2d2d;

    background: linear-gradient(
        145deg,
        #141414,
        #090909
    );
}

.about h2 {
    font-size: 68px;
}

.about p {
    max-width: 700px;

    margin: 25px 0 30px;

    color: #999999;
    line-height: 1.8;
}


/* =========================================================
   BOTÕES
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 20px;

    border: 1px solid transparent;
    border-radius: 7px;

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

    transition: 0.2s ease;
}

.btn-gold {
    background: linear-gradient(
        135deg,
        #e1b85e,
        #9d7025
    );

    color: #090909;
}

.btn-gold:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: #3a3a3a;
    color: #eeeeee;
}

.btn-outline:hover {
    border-color: #c99b3d;
    color: #d9ae55;
}

.btn-references {
    border-color: #a87e2d;
    color: #e0b65e;
    animation: references-pulse 2.4s ease-in-out infinite;
}

.btn-references:hover {
    border-color: #d8ad54;
    color: #f0cb79;
}

@keyframes references-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 155, 61, 0.08);
    }
    50% {
        transform: scale(1.025);
        box-shadow: 0 0 12px 2px rgba(201, 155, 61, 0.32);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-references,
    .hero-copy,
    .hero-video,
    .hero::after,
    .account-card,
    .account-image::after,
    .badge-available::before,
    .empty.is-active,
    .main-photo img,
    .thumb-button,
    .image-viewer[open],
    .detail-contact,
    .contact-arrow,
    .step,
    .hero-trust span,
    .process-cta,
    .hero-actions .button-arrow,
    .footer-contact-card,
    .footer-contact-arrow,
    .footer-links a,
    .footer-social,
    .footer-email,
    .footer-links a span,
    .footer-social span,
    .menu-toggle,
    .site-nav {
        animation: none;
        transition: none;
    }

    .account-card.is-reveal-pending,
    .account-card.is-revealed {
        opacity: 1;
        translate: none;
        filter: none;
    }

    .step.is-step-pending,
    .step.is-step-visible {
        opacity: 1;
        transform: none;
    }

    .catalog-arrival .section-head > div {
        animation: none;
    }
}

.btn-large {
    width: 100%;
    padding: 18px;
}


/* =========================================================
   RODAPÉ
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 68px 8vw 24px;
    border-top: 1px solid #302819;
    background:
        radial-gradient(ellipse at 8% 0, rgba(184,138,50,.1), transparent 38%),
        linear-gradient(180deg, #0b0b0b, #050505 72%);
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(160px, .65fr) minmax(250px, .9fr);
    gap: clamp(32px, 6vw, 86px);
    padding-bottom: 46px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    color: #85817a;
    font-size: 12px;
    line-height: 1.8;
}

.footer-grid h4 {
    margin: 2px 0 16px;
    color: #d6aa55;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-brand .brand {
    display: inline-flex;
}

.footer-brand p {
    max-width: 330px;
    margin: 14px 0 10px;
    font-size: 13px;
}

.footer-grid .footer-signoff {
    display: block;
    color: #b8a77e;
    font-size: 10px;
    letter-spacing: .3px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a,
.footer-social,
.footer-email {
    transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-social:hover,
.footer-email:hover {
    color: #e0b45b;
}

.footer-links a span,
.footer-social span {
    display: inline-block;
    color: #b48a38;
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: opacity .2s ease, transform .2s ease;
}

.footer-links a:hover span,
.footer-social:hover span {
    opacity: 1;
    transform: translate(0, 0);
}

.footer-contact-card {
    display: flex !important;
    align-items: center;
    gap: 12px;
    max-width: 300px;
    padding: 12px 13px;
    border: 1px solid #3c3322;
    border-radius: 10px;
    background: linear-gradient(110deg, rgba(201,155,61,.1), rgba(255,255,255,.015));
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.footer-contact-card:hover {
    transform: translateY(-2px);
    border-color: #9a762f;
    background: linear-gradient(110deg, rgba(201,155,61,.16), rgba(255,255,255,.025));
}

.footer-grid .footer-contact-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    border: 1px solid #6d572b;
    border-radius: 50%;
    color: #e0b45b;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.footer-grid .footer-contact-copy {
    display: grid;
    gap: 2px;
    line-height: 1.4;
}

.footer-contact-copy strong {
    color: #eee5d2;
    font-size: 12px;
}

.footer-contact-copy small {
    color: #888177;
    font-size: 10px;
}

.footer-grid .footer-contact-arrow {
    margin-left: auto;
    color: #caa04b;
    transition: transform .2s ease;
}

.footer-contact-card:hover .footer-contact-arrow {
    transform: translate(2px, -2px);
}

.footer-grid .footer-email,
.footer-grid .footer-social {
    display: inline-block;
    margin: 9px 14px 0 0;
    font-size: 11px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid #24211a;
    color: #77716a;
    font-size: 10px;
}

.footer-bottom-note {
    color: #5f5a53;
    text-align: right;
}


/* =========================================================
   PÁGINA DE DETALHES
========================================================= */

.detail-page {
    padding: 45px 8vw 90px;
}

.detail-page-sold .main-photo > img,
.detail-page-sold .thumb-button img,
.detail-page-sold .detail-info > *:not(.detail-heading):not(.detail-contact) {
    filter: grayscale(1);
}

.detail-page-sold .detail-heading > .badge,
.detail-page-sold .detail-info > .detail-contact,
.detail-page-sold .main-photo .sold-stamp {
    filter: none;
}

.breadcrumbs {
    margin-bottom: 35px;

    color: #777777;
    font-size: 11px;
}

.breadcrumbs a {
    color: #cda04a;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.gallery {
    position: sticky;
    top: 105px;
}

.main-photo {
    height: min(66vw, 620px);
    min-height: 420px;

    position: relative;
    overflow: hidden;

    border: 1px solid #3b3221;
    border-radius: 14px;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(184,138,50,.15), transparent 65%),
        #101010;
    box-shadow: 0 28px 80px rgba(0,0,0,.34), inset 0 0 55px rgba(212,165,72,.035);
}

.main-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
    transition: opacity .22s ease, transform .5s cubic-bezier(.2,.75,.25,1);
}

.main-photo:hover img {
    transform: scale(1.025);
}

.main-photo.is-changing img {
    opacity: 0;
    transform: scale(1.04);
}

.gallery-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(215,177,91,.46);
    border-radius: 9px;
    background: rgba(8,8,8,.78);
    color: #f1d38e;
    backdrop-filter: blur(10px);
    transition: background .2s ease, transform .2s ease;
}

.gallery-zoom:hover {
    background: rgba(35,27,13,.9);
    transform: translateY(-2px);
}

.gallery-zoom span {
    font-size: 20px;
    line-height: 1;
}

.gallery-zoom small {
    font-size: 11px;
    font-weight: 700;
}

.thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 3px 2px 8px;

    margin-top: 13px;
}

.thumb-button {
    flex: 0 0 90px;
    height: 72px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #35312a;
    border-radius: 9px;
    background: #101010;
    opacity: .68;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.thumb-button img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.thumb-button:hover,
.thumb-button.is-active {
    opacity: 1;
    border-color: #c99b3d;
    box-shadow: 0 0 0 2px rgba(201,155,61,.13);
}

.thumb-button:hover {
    transform: translateY(-2px);
}

.image-viewer {
    position: fixed;
    width: min(94vw, 1300px);
    max-width: none;
    max-height: 92vh;
    padding: 14px;
    overflow: visible;
    border: 1px solid #705825;
    border-radius: 14px;
    background: #090909;
    box-shadow: 0 30px 120px rgba(0,0,0,.8);
}

.image-viewer::backdrop {
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(7px);
}

.image-viewer[open] {
    animation: viewer-appear .22s ease both;
}

.image-viewer img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 28px);
    margin: auto;
    object-fit: contain;
}

.image-viewer-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    border: 1px solid #c99b3d;
    border-radius: 50%;
    background: #15120c;
    color: #f4d994;
    font-size: 24px;
    line-height: 1;
}

@keyframes viewer-appear {
    from { opacity: 0; transform: scale(.97); }
    to { opacity: 1; transform: scale(1); }
}

.detail-info h1 {
    margin: 12px 0;

    font-size: 65px;
}

.detail-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid #2c2922;
    border-radius: 15px;
    background: linear-gradient(150deg, rgba(20,20,20,.96), rgba(10,10,10,.98));
    box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.detail-heading {
    display: grid;
    justify-items: start;
}

.detail-heading .badge {
    position: static;
    display: inline-flex;
    align-items: center;
    margin-bottom: 17px;
}

.detail-heading .eyebrow {
    margin-bottom: 8px;
}

.detail-heading h1 {
    overflow-wrap: anywhere;
}

.detail-panel {
    padding: 18px 20px;
    border: 1px solid #29261f;
    border-radius: 10px;
    background: rgba(255,255,255,.018);
}

.detail-price {
    margin: 0;
}

.detail-price-panel {
    padding: 19px 20px;
    border: 1px solid rgba(184,138,50,.32);
    border-radius: 10px;
    background: linear-gradient(105deg, rgba(184,138,50,.13), rgba(184,138,50,.025) 76%);
}

.detail-price strong {
    font-size: 42px;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));

    gap: 16px;
}

.detail-specs small,
.detail-specs b {
    display: block;
}

.detail-specs small {
    margin-bottom: 6px;

    color: #666666;

    font-size: 10px;
    text-transform: uppercase;
}

.detail-specs b {
    font-size: 13px;
}

.description h3 {
    font-size: 18px;
}

.description h4 {
    margin-bottom: 4px;

    color: #d3a64e;

    font-size: 12px;
    text-transform: uppercase;
}

.description p {
    color: #929292;

    font-size: 13px;
    line-height: 1.8;
}

.description h3 {
    margin: 0 0 10px;
}

.description p:last-child {
    margin-bottom: 0;
}

.account-video {
    margin: 30px 0;
}

.account-video h3 {
    margin-bottom: 14px;
    font-size: 18px;
}

.account-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #332919;
    border-radius: 8px;
    background: #080808;
}

.account-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-admin-list {
    display: grid;
    gap: 12px;
}

.video-admin-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) minmax(220px, 1.5fr) auto;
    align-items: end;
    gap: 16px;
    padding: 16px;
    border: 1px solid #272727;
    border-radius: 8px;
    background: #111111;
}

.video-admin-account,
.video-admin-url {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.video-admin-account small,
.video-admin-url span {
    color: #888888;
    font-size: 11px;
}

.video-admin-url input {
    width: 100%;
}

@media (max-width: 700px) {
    .video-admin-row {
        grid-template-columns: 1fr;
    }
}

.legal-note {
    color: #555555;

    font-size: 10px;
    line-height: 1.6;
}

.detail-contact {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 11px;
    box-shadow: 0 12px 35px rgba(193,148,51,.14);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.detail-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(193,148,51,.24);
    filter: brightness(1.06);
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(20,30,12,.28);
    border-radius: 50%;
    font-size: 20px;
}

.contact-copy {
    display: grid;
    gap: 4px;
    text-align: left;
}

.contact-copy strong {
    font-size: 14px;
}

.contact-copy small {
    font-size: 10px;
    font-weight: 500;
    opacity: .72;
}

.contact-arrow {
    margin-left: auto;
    font-size: 22px;
    transition: transform .2s ease;
}

.detail-contact:hover .contact-arrow {
    transform: translate(3px,-3px);
}


/* =========================================================
   PAINEL ADMINISTRATIVO
========================================================= */

.admin-body {
    background: #0a0a0a;
}

.admin-shell {
    min-height: 100vh;

    display: flex;
}


/* =========================================================
   SIDEBAR ADMINISTRATIVA
========================================================= */

.sidebar {
    width: 240px;

    position: fixed;
    top: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;

    padding: 25px 18px;

    background: #070707;
    border-right: 1px solid #252525;
}

.brand-admin {
    margin: 0 10px 45px;
}

.brand-admin .brand-logo {
    width: 82px;
    height: 82px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar nav a,
.logout {
    padding: 13px 14px;

    border-radius: 6px;

    color: #888888;

    font-size: 12px;
    font-weight: 700;

    transition: 0.2s ease;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: #17130b;
    color: #d5a84e;
}

.logout {
    margin-top: auto;

    padding-top: 20px;

    border-top: 1px solid #222222;
}


/* =========================================================
   ÁREA PRINCIPAL ADMIN
========================================================= */

.admin-main {
    width: calc(100% - 240px);

    margin-left: 240px;
}

.admin-top {
    height: 105px;

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

    padding: 0 45px;

    border-bottom: 1px solid #242424;
}

.admin-top h1 {
    font-size: 38px;
}

.admin-content {
    padding: 35px 45px;
}


/* =========================================================
   INDICADORES KPI
========================================================= */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.kpi {
    padding: 22px;

    border: 1px solid #272727;
    border-radius: 8px;

    background: #111111;
}

.kpi span {
    color: #777777;

    font-size: 10px;
    text-transform: uppercase;
}

.kpi strong {
    display: block;

    margin-top: 8px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 42px;

    color: #d5a84e;
}


/* =========================================================
   TABELAS ADMINISTRATIVAS
========================================================= */

.admin-table {
    width: 100%;

    border-collapse: collapse;

    background: #101010;
    border: 1px solid #272727;
}

.admin-table th,
.admin-table td {
    padding: 14px;

    border-bottom: 1px solid #242424;

    text-align: left;
    font-size: 11px;
}

.admin-table th {
    color: #777777;

    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   STATUS
========================================================= */

.status {
    padding: 5px 7px;

    border-radius: 4px;

    background: #222222;
    color: #bbbbbb;

    font-size: 9px;
    font-weight: 800;
}

.status-disponivel {
    background: #28200e;
    color: #d7ad55;
}

.status-vendida {
    color: #888888;
}


/* =========================================================
   AÇÕES ADMINISTRATIVAS
========================================================= */

.admin-actions {
    display: flex;
    gap: 6px;
}

.small-btn {
    padding: 7px 9px;

    border: 1px solid #333333;
    border-radius: 5px;

    color: #bbbbbb;
    font-size: 10px;

    transition: 0.2s ease;
}

.small-btn:hover {
    border-color: #a67b2c;
    color: #d6a94e;
}


/* =========================================================
   FORMULÁRIOS ADMINISTRATIVOS
========================================================= */

.form-card {
    max-width: 1000px;

    padding: 28px;

    border: 1px solid #272727;
    border-radius: 8px;

    background: #111111;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: #777777;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 10px;

    margin-top: 25px;
}

.admin-note {
    padding: 14px;
    margin-bottom: 20px;

    border: 1px solid #493817;

    background: #17130b;
    color: #aa8a50;

    font-size: 11px;
}


/* =========================================================
   LOGIN ADMINISTRATIVO
========================================================= */

.login-page {
    min-height: 100vh;

    display: grid;
    place-items: center;

    background: radial-gradient(
        circle at 50% 35%,
        #2a210f,
        #080808 55%
    );
}

.login-box {
    width: min(420px, 92vw);

    padding: 40px;

    border: 1px solid #332919;
    border-radius: 10px;

    background: #101010;
}

.login-box .brand-logo {
    width: 150px;
    height: 150px;

    border-radius: 14px;
}

.login-box h1 {
    margin: 25px 0;

    font-size: 48px;
}

.login-box .field {
    margin-bottom: 15px;
}

.login-box input {
    width: 100%;
}

.login-box .btn {
    width: 100%;

    margin-top: 8px;
}

.error {
    padding: 10px;
    margin-bottom: 15px;

    border: 1px solid #572b2b;
    border-radius: 5px;

    background: #241313;
    color: #e28d8d;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVIDADE — TABLETS
========================================================= */

@media (max-width: 1000px) {

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

    .split-section,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        position: relative;
        top: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

}


/* =========================================================
   RESPONSIVIDADE — CELULARES
========================================================= */

@media (max-width: 700px) {

    /* Cabeçalho */

    .site-header {
        padding: 0 20px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 1px solid #382f1e;
        border-radius: 10px;
        background: linear-gradient(145deg, #17140e, #0c0c0c);
        color: #e0b45b;
        font-size: 23px;
        transition: border-color .2s ease, background .2s ease, transform .2s ease;
    }

    .menu-toggle:hover,
    .menu-toggle[aria-expanded="true"] {
        border-color: #9d762e;
        background: #17130b;
    }

    .menu-toggle:focus-visible,
    .site-nav a:focus-visible {
        outline: 2px solid #d4a548;
        outline-offset: 3px;
    }

    .site-nav {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        z-index: 20;

        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        padding: 12px 20px 20px;
        border: 1px solid #302819;
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: rgba(9,9,9,.97);
        box-shadow: 0 24px 50px rgba(0,0,0,.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px) scale(.99);
        transform-origin: top center;
        transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    }

    .site-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition: opacity .22s ease, transform .22s ease, visibility 0s;
    }

    .site-nav a {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 12px 14px;
        border: 1px solid transparent;
        border-radius: 8px;
        color: #d5d0c6;
        font-size: 14px;
        transition: color .18s ease, border-color .18s ease, background .18s ease;
    }

    .site-nav a:hover {
        border-color: #302819;
        background: rgba(201,155,61,.07);
        color: #f1d38e;
    }

    .site-nav .nav-cta {
        justify-content: center;
        min-height: 52px;
        margin-top: 7px;
        border: 1px solid #99732c;
        background: linear-gradient(120deg, rgba(201,155,61,.16), rgba(201,155,61,.06));
        color: #f0ce7f !important;
        font-weight: 800;
    }


    /* Hero */

    .hero {
        min-height: 620px;
        min-height: max(620px, calc(100svh - 78px));

        padding: 70px 22px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }


    /* Seções */

    .section {
        padding: 65px 22px;
    }

    .split-section {
        gap: 34px;
    }

    .section-head {
        align-items: flex-start;
        gap: 10px;
    }

    .section h2 {
        font-size: 48px;
    }


    /* Filtros */

    .filters {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
    }

    .filter-clear { width: 100%; }


    /* Cards */

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-image {
        height: 240px;
    }


    /* Sobre */

    .about-box {
        padding: 30px;
    }

    .about h2 {
        font-size: 48px;
    }


    /* Rodapé */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .footer-bottom-note {
        text-align: left;
    }

    .footer-contact-card {
        max-width: none;
    }


    /* Detalhes */

    .detail-page {
        padding: 30px 22px;
    }

    .detail-grid {
        gap: 30px;
    }

    .main-photo {
        height: 360px;
        min-height: 360px;
    }

    .detail-info {
        padding: 24px;
    }

    .detail-info h1 {
        font-size: 50px;
    }

    .detail-specs {
        gap: 15px;
    }


    /* Painel administrativo */

    .admin-shell {
        display: block;
    }

    .sidebar {
        position: static;

        width: 100%;
        height: auto;
    }

    .sidebar nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .sidebar nav a {
        white-space: nowrap;
    }

    .logout {
        margin-top: 10px;
    }

    .admin-main {
        width: 100%;
        margin: 0;
    }

    .admin-top {
        height: auto;
        padding: 20px;
    }

    .admin-content {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-table {
        display: block;
        overflow-x: auto;
    }

}

/* =========================================================
   AJUSTES EXTRAS PARA TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 420px) {

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand strong {
        font-size: 22px;
    }

    .brand small {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .section h2,
    .about h2 {
        font-size: 42px;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .detail-specs {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .main-photo {
        height: 300px;
        min-height: 300px;
    }

}



/* =========================================
   CARD VENDIDO — FOTO ORIGINAL EM PRETO E BRANCO
========================================= */

/* Mantém exatamente a área de imagem dos outros cards */
.account-card-sold .account-image {
    width: 100%;
    height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(184,138,50,.14), transparent 65%),
        #111;
}

/* Foto da conta */
.account-card-sold .account-image img.account-image-file {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
    opacity: 1;
    visibility: visible;
    filter: grayscale(100%);
    transition: none;
}

/* Etiqueta por cima da foto */
.account-card-sold .account-image img.sold-stamp {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: min(78%, 320px);
    height: auto;
    max-height: 75%;
    display: block;
    object-fit: contain;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 0;
    box-shadow: none;
    filter: none;
    pointer-events: none;
}

/* Impede o hover de esconder ou ampliar a foto */
.account-card-sold:hover .account-image img.account-image-file {
    transform: none;
}

.account-card-sold:hover .account-image img.sold-stamp {
    transform: translate(-50%, -50%);
}
