:root {
    --bg: #080b0f;
    --panel: #11151b;
    --panel2: #151a21;
    --text: #f5f1e9;
    --muted: #9da2aa;
    --line: #2a3038;
    --accent: #c7a164;
    --accent-dark: #6d532b;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

body.modal-open {
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 16px clamp(22px,5vw,78px);
    background: rgba(8,11,15,.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text);
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--accent);
    background: #111720;
    color: var(--accent);
    font-weight: 900;
    letter-spacing: -.08em;
}

.brand strong {
    display: block;
    font-family: Georgia,serif;
    font-size: 18px;
    white-space: nowrap;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.main-nav a,
.header-cta {
    color: #dce0e6;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.main-nav a:hover {
    color: var(--accent);
}

.header-cta {
    padding: 12px 16px;
    border: 1px solid #566170;
}

.header-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
}

main {
    min-height: 60vh;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100vh - 77px);
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr);
    align-items: center;
    gap: 60px;
    padding: clamp(72px,9vw,140px) clamp(28px,9vw,160px);
    background: radial-gradient(circle at 78% 30%,rgba(199,161,100,.08),transparent 34%),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
    background-size: auto,72px 72px,72px 72px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1,
.catalog-heading h1 {
    margin: 0;
    font-family: Georgia,"Times New Roman",serif;
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}

.hero h1 {
    max-width: 870px;
    font-size: clamp(54px,7vw,110px);
}

.hero-copy>p:not(.eyebrow) {
    max-width: 720px;
    margin: 28px 0 0;
    color: #b9bec6;
    font-size: 17px;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-mode-background_image,
.hero-mode-background_video {
    grid-template-columns: minmax(0,900px);
    justify-content: start;
    align-items: center;
    background: #080b0f;
}

.hero-mode-background_image .hero-copy,
.hero-mode-background_video .hero-copy {
    max-width: 900px;
    padding: 38px 42px;
    border-left: 3px solid var(--accent);
    background: linear-gradient(90deg,rgba(5,8,12,.72),rgba(5,8,12,.24));
    backdrop-filter: blur(2px);
    box-shadow: 0 30px 90px rgba(0,0,0,.25);
}

.hero-mode-background_image h1,
.hero-mode-background_video h1 {
    text-shadow: 0 4px 30px rgba(0,0,0,.55);
}

.hero-background-media {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero-background-media img,
.hero-background-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg,rgba(4,7,10,.94) 0%,rgba(4,7,10,.70) 43%,rgba(4,7,10,.22) 75%,rgba(4,7,10,.40) 100%),linear-gradient(0deg,rgba(4,7,10,.45),transparent 55%);
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 23px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-accent {
    background: var(--accent);
    color: #090b0e;
}

.btn-accent:hover {
    background: #d6b779;
}

.btn-ghost {
    border-color: #4c545e;
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-art {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.art-window {
    position: relative;
    width: min(520px,90%);
    aspect-ratio: 1/1.04;
    border: 1px solid #343c46;
    background: #10141a;
    box-shadow: 0 50px 120px rgba(0,0,0,.42);
    padding: 26px;
}

.art-window:before,
.art-window:after {
    content: "";
    position: absolute;
    width: 64px;
    height: 64px;
}

.art-window:before {
    top: 10px;
    left: 10px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.art-window:after {
    right: 10px;
    bottom: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.art-window>span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #343b46;
}

.art-grid {
    position: relative;
    height: calc(100% - 25px);
    margin-top: 19px;
    overflow: hidden;
    background: linear-gradient(135deg,rgba(199,161,100,.2),transparent 45%),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
    background-size: auto,34px 34px,34px 34px;
    border: 1px solid #252b34;
}

.art-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.94) contrast(1.03);
    transition: transform .5s ease;
}

.hero-art:hover .art-grid img {
    transform: scale(1.025);
}

.art-grid.has-image:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg,rgba(199,161,100,.16),transparent 42%),linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
    background-size: auto,34px 34px,34px 34px;
    box-shadow: inset 0 0 55px rgba(0,0,0,.18);
}

.art-card {
    position: absolute;
    right: 1%;
    bottom: 8%;
    padding: 23px 27px;
    background: var(--accent);
    color: #101217;
    font-size: 10px;
    letter-spacing: .14em;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.art-card strong {
    display: block;
    margin-top: 6px;
    font-size: 14px;
}

.idea-section {
    display: grid;
    grid-template-columns: .65fr 1.5fr auto;
    align-items: center;
    gap: 40px;
    padding: 75px clamp(28px,9vw,160px);
    border-top: 1px solid var(--line);
    background: #0d1116;
}

.idea-section h2 {
    margin: 0;
    font: 500 clamp(38px,4vw,62px)/1 Georgia,serif;
}

.idea-section p:not(.eyebrow) {
    max-width: 700px;
    color: var(--muted);
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
    padding: 55px clamp(28px,9vw,160px);
    border-top: 1px solid var(--line);
    background: #07090c;
}

.site-footer strong {
    font: 500 22px Georgia,serif;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer span {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.catalog-page {
    padding-bottom: 100px;
}

.catalog-heading {
    padding: 85px clamp(28px,12vw,220px) 55px;
    border-bottom: 1px solid var(--line);
}

.catalog-heading h1 {
    font-size: clamp(58px,7vw,100px);
}

.catalog-heading>p:last-child {
    max-width: 780px;
    color: var(--muted);
    font-size: 16px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: clamp(32px,5vw,72px);
    padding: 70px clamp(28px,8vw,140px);
}

.project-card {
    min-width: 0;
}

.project-card-button {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.media-frame {
    position: relative;
    display: block;
    padding: 11px;
    background: linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.01)),#0e1217;
    border: 1px solid rgba(199,161,100,.43);
    box-shadow: 0 22px 65px rgba(0,0,0,.25);
    overflow: hidden;
}

.media-frame:before,
.media-frame:after {
    content: "";
    position: absolute;
    z-index: 5;
    width: 36px;
    height: 36px;
    pointer-events: none;
}

.media-frame:before {
    top: 4px;
    left: 4px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.media-frame:after {
    right: 4px;
    bottom: 4px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.media-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.1);
    transition: transform .35s ease,filter .35s ease;
}

.project-card:hover img {
    transform: scale(1.022);
    filter: contrast(1.04);
}

.card-number {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 8;
    padding: 7px 10px;
    background: #34383e;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.promo-ribbon {
    position: absolute;
    left: -8px;
    top: 22px;
    z-index: 9;
    padding: 10px 16px 9px 20px;
    background: var(--accent);
    color: #0a0c0f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.promo-ribbon:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    border-top: 8px solid var(--accent-dark);
    border-left: 8px solid transparent;
}

.project-meta {
    display: block;
    padding-top: 20px;
}

.project-meta small {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.project-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0 13px;
    border-bottom: 1px solid var(--line);
}

.project-title-line strong {
    font: 500 clamp(28px,2.3vw,42px)/1.06 Georgia,serif;
}

.project-title-line i {
    font-style: normal;
    color: var(--accent);
    font-size: 20px;
}

.project-description {
    display: block;
    margin-top: 13px;
    color: #aeb4bd;
}

.project-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 15px;
}

.price-old {
    color: #737b86;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.price-new {
    color: #f2ddbb;
    font: 700 23px Georgia,serif;
}

.empty-state {
    grid-column: 1/-1;
    padding: 60px;
    border: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.product-modal.is-open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(6px);
}

.modal-dialog {
    position: absolute;
    inset: 15px;
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(390px,.68fr);
    overflow: hidden;
    border: 1px solid #30363e;
    background: #111419;
    box-shadow: 0 35px 110px rgba(0,0,0,.68);
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid #30363e;
    background: #0d1014;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}

.modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.modal-media-panel {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0,1fr) auto auto;
    overflow: hidden;
    padding: 18px;
}

.modal-stage {
    position: relative;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #252c34;
    background: #07090c;
}

.modal-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(13,16,20,.9);
    color: #fff;
    font-size: 31px;
    cursor: pointer;
}

.gallery-arrow:hover {
    background: var(--accent);
    color: #0a0c0f;
}

.gallery-prev {
    left: 13px;
}

.gallery-next {
    right: 13px;
}

.gallery-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 0 10px;
    color: #9da2aa;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gallery-title span {
    height: 1px;
    background: #30363e;
}

.gallery-thumbs {
    display: flex;
    gap: 13px;
    min-width: 0;
    padding: 4px 3px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(199,161,100,.58) #0a0d11;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #0a0d11;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(199,161,100,.58);
    border-radius: 99px;
}

.gallery-thumb {
    position: relative;
    flex: 0 0 132px;
    width: 132px;
    height: 84px;
    padding: 5px;
    border: 1px solid rgba(199,161,100,.4);
    background: #080a0d;
    cursor: pointer;
    overflow: hidden;
}

.gallery-thumb:before,
.gallery-thumb:after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 16px;
    height: 16px;
}

.gallery-thumb:before {
    top: 2px;
    left: 2px;
    border-left: 1px solid var(--accent);
    border-top: 1px solid var(--accent);
}

.gallery-thumb:after {
    right: 2px;
    bottom: 2px;
    border-right: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 22px rgba(0,0,0,.32),inset 0 0 0 1px rgba(199,161,100,.25);
    transform: translateY(-2px);
}

.modal-text-panel {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 70px 48px 55px;
    border-left: 1px solid #292f37;
    scrollbar-gutter: stable;
}

.modal-text-panel::-webkit-scrollbar {
    width: 9px;
}

.modal-text-panel::-webkit-scrollbar-track {
    background: #101319;
}

.modal-text-panel::-webkit-scrollbar-thumb {
    background: rgba(199,161,100,.55);
    border: 2px solid #101319;
    border-radius: 99px;
}

.modal-text-panel h2 {
    margin: 0 0 22px;
    font: 500 clamp(48px,4.5vw,82px)/.96 Georgia,serif;
}

.modal-description {
    color: #aeb4bd;
    white-space: pre-line;
}

.demo-box {
    margin-top: 35px;
    padding: 18px;
    border: 1px solid #343b45;
    background: #0c0f13;
}

.demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 14px;
    border-bottom: 1px solid #2c323b;
}

.demo-head span,
.modal-price-block>span {
    color: #8d949d;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.demo-head a {
    color: var(--accent);
    text-decoration: none;
}

.demo-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.demo-credentials>div {
    padding: 13px;
    background: #090b0e;
}

.demo-credentials small {
    display: block;
    color: #7e8793;
    font-size: 9px;
}

.demo-credentials strong {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.modal-price-block {
    margin: 30px 0 20px;
}

.modal-price-block>div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 8px;
}

.modal-price-block .price-new {
    font-size: 35px;
}

.modal-buy {
    width: 100%;
}

.modal-promo-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 11px;
    background: var(--accent);
    color: #0b0d10;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer a:hover {
    color: var(--accent);
}

@media (max-width:1100px) {
    .project-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .main-nav {
        display: none;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .modal-dialog {
        grid-template-columns: minmax(0,1fr) minmax(350px,42vw);
    }
}

@media (max-width:780px) {
    .site-header {
        padding: 13px 18px;
    }

    .brand small {
        display: none;
    }

    .header-cta {
        padding: 10px;
        font-size: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 65px 25px;
    }

.hero-mode-background_image,
    .hero-mode-background_video {
        padding: 55px 22px;
    }

.hero-mode-background_image .hero-copy,
    .hero-mode-background_video .hero-copy {
        padding: 28px 24px;
    }

    .hero-art {
        min-height: 380px;
    }

    .idea-section {
        grid-template-columns: 1fr;
        padding: 60px 25px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 45px 25px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        padding: 42px 22px;
    }

    .catalog-heading {
        padding: 65px 24px 40px;
    }

    .modal-dialog {
        inset: 7px;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(260px,42vh) minmax(0,1fr);
    }

    .modal-media-panel {
        padding: 9px;
    }

    .modal-text-panel {
        padding: 44px 22px 35px;
        border-left: 0;
        border-top: 1px solid #292f37;
    }

    .modal-close {
        right: 10px;
        top: 10px;
    }

    .gallery-thumb {
        flex-basis: 104px;
        width: 104px;
        height: 68px;
    }

    .demo-credentials {
        grid-template-columns: 1fr;
    }

    .modal-text-panel h2 {
        font-size: 46px;
    }

    .gallery-title {
        padding: 8px 0 6px;
    }

    .gallery-thumbs {
        padding-bottom: 4px;
    }
}

@media (max-width:520px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero-art {
        min-height: 300px;
    }

    .art-card {
        right: -2%;
        bottom: 2%;
    }

    .project-title-line strong {
        font-size: 31px;
    }

    .promo-ribbon {
        font-size: 9px;
        max-width: 75%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ===== Atualização: logo configurável, compra no WhatsApp e experiência mobile ===== */

.brand-logo {
    display: block;
    width: auto;
    max-width: min(330px,38vw);
    height: 46px;
    object-fit: contain;
    object-position: left center;
}

.brand-fallback {
    display: block;
}

.mobile-nav-head,
.mobile-nav-cta,
.menu-toggle,
.menu-backdrop {
    display: none;
}

.project-card-button:focus-visible,
.project-buy-button:focus-visible,
.menu-toggle:focus-visible,
.mobile-nav-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.project-buy-button {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    min-height: 68px;
    padding: 13px 16px;
    border: 1px solid rgba(199,161,100,.58);
    background: linear-gradient(145deg,rgba(199,161,100,.13),rgba(199,161,100,.035)),#0d1116;
    color: var(--text);
    text-decoration: none;
    transition: transform .2s ease,border-color .2s ease,background .2s ease;
}

.project-buy-button:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: linear-gradient(145deg,rgba(199,161,100,.22),rgba(199,161,100,.06)),#0d1116;
}

.project-buy-button>span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #d5d9df;
}

.project-buy-button .project-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 9px;
    margin: 0;
}

.project-buy-button .price-new {
    font-size: 24px;
    white-space: nowrap;
}

.project-buy-button .price-old {
    font-size: 12px;
    white-space: nowrap;
}

.project-buy-button>i {
    font-style: normal;
    color: var(--accent);
    font-size: 24px;
}

.modal-buy {
    min-height: 58px;
}

.body-lock,
.nav-open,
.modal-open {
    overscroll-behavior: none;
}

body.nav-open,
body.modal-open {
    overflow: hidden;
}

@media (max-width:1100px) {
    .site-header {
        grid-template-columns: minmax(0,1fr) auto;
        gap: 14px;
        padding: 13px 20px;
    }

    .brand-logo {
        max-width: min(290px,68vw);
        height: 43px;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 103;
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        padding: 12px;
        border: 1px solid #3d4652;
        background: #10151b;
        color: #fff;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 2.5px 0;
        background: currentColor;
        transition: transform .25s ease,opacity .25s ease;
    }

    .nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        z-index: 102;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        width: min(410px,88vw);
        padding: max(22px,env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom));
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        background: linear-gradient(180deg,#11161d,#080b0f);
        border-left: 1px solid #303843;
        box-shadow: -30px 0 80px rgba(0,0,0,.5);
        transform: translateX(104%);
        visibility: hidden;
        transition: transform .28s ease,visibility .28s ease;
    }

    .nav-open .main-nav {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
        padding-bottom: 17px;
        border-bottom: 1px solid #2d343d;
        color: var(--accent);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .mobile-nav-close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid #3a424d;
        background: #0b0f14;
        color: #fff;
        font-size: 27px;
        cursor: pointer;
    }

    .main-nav>a {
        display: flex;
        align-items: center;
        min-height: 58px;
        padding: 13px 4px;
        border-bottom: 1px solid #252c34;
        font: 500 clamp(24px,7vw,34px)/1 Georgia,serif;
        letter-spacing: 0;
        color: #f2f4f7;
    }

    .main-nav>a:after {
        content: "→";
        margin-left: auto;
        color: var(--accent);
        font: 400 20px/1 system-ui;
    }

    .main-nav .mobile-nav-cta {
        display: flex;
        justify-content: center;
        margin-top: 28px;
        padding: 0 18px;
        border: 1px solid var(--accent);
        background: var(--accent);
        color: #090b0e;
        font: 900 11px/1 system-ui;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .main-nav .mobile-nav-cta:after {
        display: none;
    }

    .menu-backdrop {
        position: fixed;
        z-index: 101;
        inset: 0;
        display: block;
        border: 0;
        background: rgba(0,0,0,.68);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease,visibility .25s ease;
        cursor: pointer;
    }

    .nav-open .menu-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .project-grid {
        gap: 44px 28px;
    }

    .project-buy-button {
        min-height: 72px;
    }
}

@media (max-width:780px) {
    .site-header {
        position: sticky;
        padding: 10px 14px;
    }

    .brand-logo {
        max-width: calc(100vw - 88px);
        height: 40px;
    }

    .brand-fallback strong {
        font-size: 17px;
    }

    .brand-fallback small {
        display: none;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
    }

    .hero {
        min-height: auto;
        gap: 38px;
        padding: 54px 20px 62px;
    }

.hero-mode-background_image,
    .hero-mode-background_video {
        min-height: calc(100svh - 67px);
        padding: 34px 16px;
    }

.hero-mode-background_image .hero-copy,
    .hero-mode-background_video .hero-copy {
        padding: 25px 20px;
    }

    .hero h1 {
        font-size: clamp(44px,13vw,67px);
        line-height: 1;
    }

    .hero-copy>p:not(.eyebrow) {
        margin-top: 22px;
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 54px;
    }

    .hero-art {
        min-height: 290px;
    }

    .art-window {
        width: 100%;
        padding: 17px;
    }

    .art-card {
        right: 0;
        bottom: -7px;
        padding: 17px 19px;
    }

    .idea-section {
        gap: 22px;
        padding: 52px 20px;
    }

    .idea-section .btn {
        width: 100%;
        min-height: 54px;
    }

    .site-footer {
        gap: 28px;
        padding: 42px 20px;
    }

    .catalog-heading {
        padding: 50px 20px 34px;
    }

    .catalog-heading h1 {
        font-size: clamp(48px,15vw,72px);
    }

    .catalog-heading>p:last-child {
        font-size: 15px;
    }

    .project-grid {
        padding: 36px 16px 68px;
        gap: 48px;
    }

    .media-frame {
        padding: 7px;
    }

    .project-meta {
        padding-top: 16px;
    }

    .project-title-line {
        padding-top: 6px;
    }

    .project-title-line strong {
        font-size: clamp(30px,10vw,42px);
    }

    .project-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .project-buy-button {
        grid-template-columns: 1fr auto;
        grid-template-areas: "label arrow" "price price";
        gap: 7px 12px;
        min-height: 82px;
        padding: 14px 16px;
    }

    .project-buy-button>span {
        grid-area: label;
    }

    .project-buy-button>.project-price {
        grid-area: price;
        justify-content: flex-start;
    }

    .project-buy-button>i {
        grid-area: arrow;
    }

    .project-buy-button .price-new {
        font-size: 27px;
    }

    .modal-dialog {
        inset: 0;
        grid-template-rows: minmax(220px,38svh) minmax(0,1fr);
        border: 0;
    }

    .modal-media-panel {
        padding: 8px 8px 0;
    }

    .modal-stage {
        border-radius: 0;
    }

    .modal-text-panel {
        padding: 38px 18px max(30px,env(safe-area-inset-bottom));
        scrollbar-gutter: auto;
    }

    .modal-text-panel h2 {
        margin-bottom: 17px;
        font-size: clamp(38px,12vw,52px);
    }

    .modal-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .modal-close {
        right: 8px;
        top: 8px;
        width: 46px;
        height: 46px;
        background: rgba(7,9,12,.94);
    }

    .gallery-arrow {
        width: 44px;
        height: 44px;
    }

    .gallery-prev {
        left: 7px;
    }

    .gallery-next {
        right: 7px;
    }

    .gallery-title {
        font-size: 9px;
    }

    .gallery-thumbs {
        gap: 8px;
    }

    .gallery-thumb {
        flex-basis: 94px;
        width: 94px;
        height: 62px;
    }

    .demo-box {
        margin-top: 25px;
    }

    .modal-price-block {
        margin: 24px 0 16px;
    }

    .modal-buy {
        position: sticky;
        bottom: 0;
        z-index: 3;
        width: 100%;
        min-height: 60px;
        box-shadow: 0 -12px 30px #111419;
    }
}

@media (max-width:420px) {
    .site-header {
        padding-inline: 11px;
    }

    .brand-logo {
        height: 37px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .hero {
        padding-inline: 17px;
    }

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

    .hero-art {
        min-height: 245px;
    }

    .art-card {
        font-size: 8px;
    }

    .project-grid {
        padding-inline: 12px;
    }

    .catalog-heading {
        padding-inline: 17px;
    }

    .promo-ribbon {
        top: 16px;
        padding: 8px 12px 8px 17px;
    }

    .card-number {
        right: 13px;
        top: 13px;
    }

    .modal-dialog {
        grid-template-rows: minmax(200px,34svh) minmax(0,1fr);
    }
}

/* ==========================================================================
   CABEÇALHO E LOGO — TAMANHOS DEFINITIVOS
   Altere somente as variáveis abaixo para mudar o tamanho da logo.
   ========================================================================== */

:root {
    --header-desktop-height: 104px;
    --logo-desktop-height: 90px;
    --logo-desktop-max-width: 560px;

    --header-tablet-height: 84px;
    --logo-tablet-height: 70px;

    --header-mobile-height: 78px;
    --logo-mobile-height: 64px;
}

.site-header {
    min-height: var(--header-desktop-height);
    padding-top: 6px;
    padding-bottom: 6px;
}

.brand {
    max-width: 100%;
    overflow: hidden;
}

.brand-logo {
    display: block;
    width: auto;
    height: var(--logo-desktop-height);
    max-height: var(--logo-desktop-height);
    max-width: min(var(--logo-desktop-max-width), 48vw);
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1100px) {
    .site-header {
        min-height: var(--header-tablet-height);
        padding: 6px 16px;
        background: #080b0f;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .brand-logo {
        height: var(--logo-tablet-height);
        max-height: var(--logo-tablet-height);
        max-width: calc(100vw - 94px);
    }

    .main-nav {
        top: 0;
        right: 0;
        bottom: auto;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        isolation: isolate;
    }

    body.nav-open .main-nav {
        display: flex;
        visibility: visible;
        transform: translateX(0);
    }

    body.nav-open .main-nav > a,
    body.nav-open .mobile-nav-head {
        display: flex;
    }

    .menu-backdrop {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
    }
}

@media (max-width: 780px) {
    .site-header {
        min-height: var(--header-mobile-height);
        padding: 5px 12px;
    }

    .brand-logo {
        height: var(--logo-mobile-height);
        max-height: var(--logo-mobile-height);
        max-width: calc(100vw - 82px);
    }

    .main-nav {
        width: min(390px, 92vw);
        padding: 18px 20px max(28px, env(safe-area-inset-bottom));
    }

    .mobile-nav-head {
        margin-bottom: 20px;
    }

    .main-nav > a {
        min-height: 56px;
        font-size: clamp(23px, 7.5vw, 32px);
    }
}

@media (max-width: 420px) {
    .site-header {
        min-height: 72px;
        padding: 4px 9px;
    }

    .brand-logo {
        height: 58px;
        max-height: 58px;
        max-width: calc(100vw - 74px);
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
    }
}

/* ========================================================================== 
   PORTFÓLIO
   ========================================================================== */
.portfolio-card .project-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.portfolio-visit-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 62px;
    margin-top: 18px;
    padding: 15px 18px;
    border: 1px solid rgba(199,161,100,.55);
    background: rgba(199,161,100,.07);
    color: var(--text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .2s ease,color .2s ease,border-color .2s ease;
}

.portfolio-visit-button i {
    color: var(--accent);
    font-style: normal;
    font-size: 20px;
}

.portfolio-visit-button:hover,
.portfolio-visit-button:focus-visible {
    border-color: var(--accent);
    background: var(--accent);
    color: #090b0e;
}

.portfolio-visit-button:hover i,
.portfolio-visit-button:focus-visible i {
    color: #090b0e;
}

.portfolio-modal-text {
    display: flex;
    flex-direction: column;
}

.portfolio-modal-text .modal-description {
    margin-bottom: 34px;
}

.portfolio-modal-visit {
    margin-top: auto;
    min-height: 58px;
}

@media (max-width:780px) {
    .portfolio-visit-button {
        min-height: 58px;
        margin-top: 14px;
    }

    .portfolio-modal-text {
        display: block;
    }

    .portfolio-modal-visit {
        margin-top: 28px;
    }
}

/* ========================================================================== 
   INDICAÇÕES DE HOSPEDAGEM
   ========================================================================== */
.hosting-page {
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%, rgba(199,161,100,.08), transparent 27%),
        var(--bg);
}

.hosting-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(340px,.7fr);
    align-items: center;
    gap: clamp(42px,7vw,110px);
    min-height: 610px;
    padding: clamp(70px,8vw,118px) clamp(28px,9vw,160px);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
    background-size: 72px 72px;
}

.hosting-hero:after {
    content: "";
    position: absolute;
    right: clamp(28px,9vw,160px);
    bottom: 0;
    width: 190px;
    height: 3px;
    background: var(--accent);
}

.hosting-hero-copy h1 {
    margin: 0;
    max-width: 900px;
    font: 500 clamp(58px,8vw,118px)/.9 Georgia,"Times New Roman",serif;
    letter-spacing: -.05em;
}

.hosting-hero-copy > p:not(.eyebrow) {
    max-width: 780px;
    margin: 30px 0 0;
    color: #b9bec6;
    font-size: clamp(16px,1.4vw,19px);
}

.hosting-hero-copy > p strong {
    color: var(--text);
}

.hosting-hero-copy > p span {
    color: #ead7b8;
    white-space: nowrap;
}

.hosting-hero-copy .hosting-disclaimer {
    margin-top: 16px;
    padding-left: 18px;
    border-left: 2px solid var(--accent);
    color: var(--muted);
    font-size: 14px;
}

.hosting-hero-card {
    position: relative;
    display: grid;
    gap: 1px;
    padding: 1px;
    border: 1px solid rgba(199,161,100,.42);
    background: rgba(199,161,100,.18);
    box-shadow: 0 35px 90px rgba(0,0,0,.33);
}

.hosting-hero-card > div {
    min-height: 188px;
    padding: 35px 34px;
    background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.008)),#0e1217;
}

.hosting-card-number {
    position: absolute;
    top: -18px;
    right: -18px;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    background: var(--accent);
    color: #090b0e;
    font-weight: 950;
}

.hosting-hero-card small {
    display: block;
    margin-bottom: 11px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.hosting-hero-card strong {
    display: block;
    font: 500 34px/1 Georgia,serif;
}

.hosting-hero-card p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.hosting-content {
    display: grid;
    gap: 42px;
    padding: clamp(58px,7vw,104px) clamp(28px,8vw,140px) clamp(80px,9vw,130px);
}

.hosting-provider {
    position: relative;
    overflow: hidden;
    border: 1px solid #303741;
    background: linear-gradient(145deg,rgba(255,255,255,.026),transparent 44%),#0d1116;
    box-shadow: 0 25px 85px rgba(0,0,0,.19);
}

.hosting-provider:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 145px;
    height: 2px;
    background: var(--accent);
}

.hosting-provider-featured {
    border-color: rgba(199,161,100,.48);
}

.provider-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 40px clamp(24px,4vw,54px) 32px;
}

.provider-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

.provider-header h2,
.domain-copy h2 {
    margin: 0;
    font: 500 clamp(42px,5vw,68px)/1 Georgia,serif;
}

.provider-header p {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--muted);
}

.provider-chip {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(199,161,100,.38);
    background: rgba(199,161,100,.075);
    color: #e9d4b0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hosting-table-wrap {
    margin: 0 clamp(24px,4vw,54px);
    overflow: hidden;
    border: 1px solid #2c333c;
}

.hosting-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.hosting-table th,
.hosting-table td {
    padding: 19px 20px;
    text-align: left;
    border-right: 1px solid #2c333c;
    border-bottom: 1px solid #2c333c;
}

.hosting-table th:last-child,
.hosting-table td:last-child {
    border-right: 0;
}

.hosting-table tbody tr:last-child td {
    border-bottom: 0;
}

.hosting-table th {
    background: #161b22;
    color: #8f97a2;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hosting-table td {
    background: rgba(8,11,15,.62);
    color: #d8dce2;
    font-variant-numeric: tabular-nums;
}

.hosting-table tbody tr:hover td {
    background: rgba(199,161,100,.055);
}

.hosting-table td strong {
    color: var(--text);
    font-size: 16px;
}

.provider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px clamp(24px,4vw,54px) 40px;
}

.provider-footer p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
}

.provider-button,
.domain-button {
    flex: 0 0 auto;
    gap: 12px;
    white-space: nowrap;
}

.provider-button span,
.domain-button span {
    font-size: 17px;
}

.domain-recommendation {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 38px clamp(24px,4vw,54px);
    border: 1px solid #303741;
    background: linear-gradient(90deg,rgba(199,161,100,.09),transparent 50%),#0d1116;
}

.domain-icon {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(199,161,100,.5);
    color: var(--accent);
    font: 700 26px/1 Georgia,serif;
}

.domain-copy .eyebrow {
    margin-bottom: 8px;
}

.domain-copy h2 {
    font-size: clamp(36px,4vw,54px);
}

.domain-copy > p:last-child {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .hosting-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hosting-hero-card {
        grid-template-columns: 1fr 1fr;
    }

    .hosting-hero-card > div {
        min-height: 170px;
    }

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

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

    .domain-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 780px) {
    .hosting-hero {
        gap: 45px;
        padding: 54px 20px 66px;
    }

    .hosting-hero:after {
        right: 20px;
        width: 110px;
    }

    .hosting-hero-copy h1 {
        font-size: clamp(51px,17vw,76px);
        line-height: .94;
    }

    .hosting-hero-copy > p:not(.eyebrow) {
        margin-top: 24px;
        font-size: 16px;
    }

    .hosting-hero-card {
        grid-template-columns: 1fr;
    }

    .hosting-card-number {
        top: -13px;
        right: -5px;
        width: 54px;
        height: 54px;
    }

    .hosting-hero-card > div {
        min-height: auto;
        padding: 29px 25px;
    }

    .hosting-content {
        gap: 28px;
        padding: 46px 14px 72px;
    }

    .provider-header {
        display: block;
        padding: 30px 20px 24px;
    }

    .provider-chip {
        display: inline-flex;
        margin-top: 22px;
    }

    .hosting-table-wrap {
        margin: 0 14px;
        overflow: visible;
        border: 0;
    }

    .hosting-table,
    .hosting-table tbody,
    .hosting-table tr,
    .hosting-table td {
        display: block;
        width: 100%;
    }

    .hosting-table {
        table-layout: auto;
    }

    .hosting-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .hosting-table tbody {
        display: grid;
        gap: 14px;
    }

    .hosting-table tr {
        overflow: hidden;
        border: 1px solid #2f3741;
        background: #0a0d11;
    }

    .hosting-table td {
        display: grid;
        grid-template-columns: minmax(110px,.8fr) minmax(0,1fr);
        align-items: center;
        gap: 16px;
        min-height: 52px;
        padding: 13px 16px;
        border-right: 0;
        border-bottom: 1px solid #29313a;
        text-align: right;
    }

    .hosting-table td:before {
        content: attr(data-label);
        color: #858d97;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .1em;
        text-align: left;
        text-transform: uppercase;
    }

    .hosting-table td:last-child {
        border-bottom: 0;
    }

    .hosting-table td:first-child {
        background: rgba(199,161,100,.08);
    }

    .provider-footer {
        gap: 20px;
        padding: 24px 20px 30px;
    }

    .provider-button {
        width: 100%;
        white-space: normal;
    }

    .domain-recommendation {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 20px;
    }

    .domain-icon {
        width: 78px;
        height: 78px;
    }

    .domain-button {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .hosting-hero {
        padding-inline: 16px;
    }

    .hosting-content {
        padding-inline: 10px;
    }

    .provider-header h2 {
        font-size: 44px;
    }

    .hosting-table td {
        grid-template-columns: 103px minmax(0,1fr);
        padding-inline: 13px;
    }
}

/* ==========================================================================
   STUDIO MARTINS — AJUSTE FINAL DE CABEÇALHO, LOGO E LINKS AMIGÁVEIS
   ========================================================================== */
.site-header {
    min-height: 122px;
    padding: 10px clamp(26px, 5.2vw, 96px);
    gap: clamp(28px, 3vw, 54px);
}

.brand {
    width: clamp(330px, 27vw, 555px);
    overflow: visible;
    flex: 0 0 auto;
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: 94px;
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    gap: clamp(24px, 2.2vw, 38px);
}

.main-nav a,
.header-cta {
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .025em;
}

.main-nav a[aria-current="page"] {
    color: var(--accent);
}

.header-cta {
    min-height: 48px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.project-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-card-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.site-footer > div:nth-child(2) a,
.site-footer > div:nth-child(3) a {
    display: inline-block;
    margin-top: 5px;
}

/* Páginas detalhadas e breadcrumbs */
.detail-page {
    padding-bottom: 100px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 28px clamp(26px, 7vw, 126px);
    border-bottom: 1px solid var(--line);
    color: #858d97;
    font-size: 12px;
}

.breadcrumbs a {
    color: #c8cdd4;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(380px, .72fr);
    gap: clamp(42px, 5vw, 88px);
    align-items: start;
    padding: 64px clamp(26px, 7vw, 126px);
}

.detail-gallery {
    min-width: 0;
}

.detail-main-image {
    display: grid;
    place-items: center;
    min-height: min(68vh, 760px);
    padding: 18px;
    border: 1px solid #2c333c;
    background: #07090c;
    box-shadow: 0 28px 90px rgba(0,0,0,.38);
}

.detail-main-image img {
    display: block;
    max-width: 100%;
    max-height: min(68vh, 730px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.detail-thumbs {
    display: flex;
    gap: 12px;
    padding: 16px 2px 4px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(199,161,100,.62) #0a0d11;
}

.detail-thumb {
    flex: 0 0 124px;
    width: 124px;
    height: 78px;
    padding: 4px;
    border: 1px solid #313842;
    background: #080b0f;
    cursor: pointer;
}

.detail-thumb.active,
.detail-thumb:hover {
    border-color: var(--accent);
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-copy {
    position: sticky;
    top: 145px;
    min-width: 0;
}

.detail-copy h1,
.portfolio-detail-hero h1,
.error-page h1 {
    margin: 0;
    font: 500 clamp(48px, 5vw, 82px)/.98 Georgia, "Times New Roman", serif;
    letter-spacing: -.035em;
}

.detail-lead {
    margin: 24px 0 0;
    color: #d4d8dd;
    font-size: 18px;
    line-height: 1.65;
}

.detail-description {
    margin-top: 28px;
    color: #aeb4bd;
    font-size: 15px;
    line-height: 1.78;
}

.detail-demo,
.detail-price-box {
    margin-top: 30px;
    padding: 24px;
    border: 1px solid #2d343d;
    background: linear-gradient(145deg, rgba(199,161,100,.09), transparent 62%), #0d1116;
}

.detail-demo > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-demo small,
.detail-price-box > span,
.detail-credentials small {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.detail-demo > a {
    display: inline-flex;
    margin-top: 16px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.detail-demo > a:hover {
    color: var(--accent);
}

.detail-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.detail-credentials span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px 15px;
    border: 1px solid #2d343d;
    background: #090c10;
    word-break: break-word;
}

.detail-price-box > div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 8px 0 20px;
}

.detail-price-box .price-new {
    font-size: clamp(30px, 3vw, 42px);
}

.detail-price-box .btn {
    width: 100%;
}

.portfolio-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
    padding: 70px clamp(26px, 9vw, 165px);
    border-bottom: 1px solid var(--line);
}

.portfolio-detail-hero p:not(.eyebrow) {
    max-width: 820px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.portfolio-detail-gallery {
    display: grid;
    gap: 26px;
    padding: 60px clamp(20px, 7vw, 126px);
}

.portfolio-detail-gallery figure {
    margin: 0;
    padding: 12px;
    border: 1px solid #2b323b;
    background: #090c10;
}

.portfolio-detail-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

.error-page {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px clamp(28px, 12vw, 220px);
}

.error-page > p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
}

@media (max-width: 1250px) {
    .site-header {
        min-height: 104px;
        gap: 24px;
        padding-inline: 28px;
    }

    .brand {
        width: clamp(290px, 28vw, 430px);
    }

    .main-nav {
        gap: 22px;
    }

    .main-nav a,
    .header-cta {
        font-size: 12.5px;
    }
}

@media (max-width: 1100px) {
    .site-header {
        min-height: 88px;
        padding: 8px 18px;
    }

    .brand {
        width: min(430px, calc(100vw - 88px));
    }

    .brand-logo {
        max-height: 72px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-copy {
        position: static;
    }
}

@media (max-width: 780px) {
    .site-header {
        min-height: 78px;
        padding: 6px 12px;
    }

    .brand {
        width: min(330px, calc(100vw - 78px));
    }

    .brand-logo {
        max-height: 62px;
    }

    .breadcrumbs {
        padding: 20px 18px;
    }

    .detail-layout {
        gap: 38px;
        padding: 36px 18px 60px;
    }

    .detail-main-image {
        min-height: 280px;
        padding: 8px;
    }

    .detail-main-image img {
        max-height: 55vh;
    }

    .detail-copy h1,
    .portfolio-detail-hero h1,
    .error-page h1 {
        font-size: clamp(45px, 14vw, 64px);
    }

    .detail-credentials {
        grid-template-columns: 1fr;
    }

    .portfolio-detail-hero {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 48px 20px;
    }

    .portfolio-detail-hero .btn {
        width: 100%;
    }

    .portfolio-detail-gallery {
        gap: 16px;
        padding: 28px 12px;
    }

    .portfolio-detail-gallery figure {
        padding: 5px;
    }
}

@media (max-width: 420px) {
    .brand {
        width: min(285px, calc(100vw - 70px));
    }

    .brand-logo {
        max-height: 56px;
    }

    .detail-thumb {
        flex-basis: 96px;
        width: 96px;
        height: 62px;
    }
}

/* BEGIN STUDIO MARTINS - LOGO TRANSPARENTE FINAL
   Estes são os valores que controlam de verdade o tamanho atual da logo.
   Para diminuir depois, altere somente as larguras e alturas deste bloco.
*/
.site-header {
    min-height: 104px !important;
}

.brand {
    width: clamp(290px, 23vw, 350px) !important;
    max-width: calc(100vw - 520px) !important;
    overflow: visible !important;
}

.brand-logo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 78px !important;
    object-fit: contain !important;
    object-position: left center !important;
    background: transparent !important;
}

@media (max-width: 1100px) {
    .site-header {
        min-height: 84px !important;
    }

    .brand {
        width: min(360px, calc(100vw - 88px)) !important;
        max-width: calc(100vw - 88px) !important;
    }

    .brand-logo {
        max-height: 64px !important;
    }
}

@media (max-width: 780px) {
    .site-header {
        min-height: 74px !important;
    }

    .brand {
        width: min(285px, calc(100vw - 78px)) !important;
        max-width: calc(100vw - 78px) !important;
    }

    .brand-logo {
        max-height: 52px !important;
    }
}

@media (max-width: 420px) {
    .brand {
        width: min(250px, calc(100vw - 70px)) !important;
        max-width: calc(100vw - 70px) !important;
    }

    .brand-logo {
        max-height: 48px !important;
    }
}
/* END STUDIO MARTINS - LOGO TRANSPARENTE FINAL */
