:root {
    --bg: #0b0d10;
    --bg-elev: #111417;
    --text: #e8eaed;
    --muted: #aab0b7;
    --surface: rgba(255, 255, 255, .05);
    --surface-2: rgba(255, 255, 255, .06);
    --border: rgba(255, 255, 255, .12);
    --glass: rgba(255, 255, 255, .06);
    --gold-1: #f3d37a;
    --gold-2: #c79a2e;
    --gold-3: #a47c1b;
    --brand-gradient: linear-gradient(135deg, #f7e7a5 0%, #f3d37a 20%, #d8b651 45%, #c79a2e 65%, #a47c1b 85%, #f7e7a5 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --radius-xxl: 24px;
    --radius-xl: 18px;
    --radius-lg: 14px;
    --radius-md: 12px;
    --radius-sm: 10px;
}

html,
body {
    background: linear-gradient(180deg, #080a0c, #0d1116);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

.navbar {
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    background: linear-gradient(180deg, rgba(12, 14, 18, .65), rgba(12, 14, 18, .35));
    border-bottom: 1px solid var(--border);
}

.brand-gold {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: .3px;
}

.btn-gold {
    background-image: var(--brand-gradient);
    color: #0a0a0a;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.2rem;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 8px 20px rgba(199, 154, 46, .28);
}

.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    color: #0a0a0a;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-1);
    border: 1px solid rgba(243, 211, 122, .6);
    border-radius: 999px;
    padding: .75rem 1.1rem;
    font-weight: 600;
}

.btn-outline-gold:hover {
    background: rgba(243, 211, 122, .06);
    color: var(--gold-1);
    border-color: rgba(243, 211, 122, .85);
}

.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    box-shadow: var(--shadow);
}

.hero {
    position: relative;
    min-height: 70vh;
    border-radius: 0 0 var(--radius-xxl) var(--radius-xxl);
    overflow: clip;
    isolation: isolate;
}

.hero .bg {
    position: absolute;
    inset: 0;
    background: url('<?php echo htmlspecialchars($project["cover"]); ?>') center/cover no-repeat;
    transform: scale(1.1);
    animation: kenburns 18s ease-in-out infinite alternate;
    filter: saturate(105%) contrast(105%) brightness(85%);
}

@keyframes kenburns {
    from {
        transform: scale(1.08) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.18) translate3d(0, -1%, 0);
    }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 70% at 70% 30%, rgba(0, 0, 0, .2), rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .75) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
    padding-bottom: 3.5rem;
}

.breadcrumb {
    --bs-breadcrumb-divider-color: var(--muted);
    --bs-breadcrumb-item-active-color: var(--text);
}

.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--border);
    padding: .6rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    font-weight: 500;
}

.icon-gold {
    color: var(--gold-1);
}

.section {
    padding: 72px 0;
}

.section-title {
    font-weight: 800;
    letter-spacing: .2px;
}

.lead-muted {
    color: var(--muted);
}

.meta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-card i {
    font-size: 1.25rem;
    color: var(--gold-1);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease, filter .4s ease;
    display: block;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35));
    opacity: 0;
    transition: opacity .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(.85) saturate(105%);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    background: rgba(0, 0, 0, .45);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    padding: 6px 10px;
    font-size: .9rem;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all .3s ease;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

.cta-final {
    border-radius: var(--radius-xxl);
    background: radial-gradient(120% 120% at 100% -10%, rgba(243, 211, 122, .12), transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
    padding: 40px 28px;
}

footer {
    background: linear-gradient(180deg, rgba(12, 14, 18, 1), rgba(12, 14, 18, .92));
    border-top: 1px solid var(--border);
    margin-top: 64px;
}

.social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: var(--text);
    transition: transform .2s ease, background .2s ease;
}

.social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .1);
}

/* Barra fixa de CTA no mobile */
.cta-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: rgba(12, 14, 18, .75);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border-top: 1px solid var(--border);
    padding: .75rem .9rem;
}

@media (min-width: 768px) {
    .cta-mobile {
        display: none;
    }

    .hero {
        min-height: 78vh;
    }
}


.mm-logo {
    width: 40px;
    height: 40px;
}

.mm-logo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}