* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #ce6a24;
    --gold-light: #FF4A1A;
    --black: #000000;
    --zinc-900: #18181b;
    --zinc-950: #09090b;
    --white: #e6e6e6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gold {
    color: var(--gold);
}

.font-semibold {
    font-weight: 600;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.5s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: auto;
    height: auto;
    background: null;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active {
    color: var(--gold);
}

.btn-primary {
    padding: 10px 24px;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 18px;
    padding: 8px 0;
}

.mobile-cta {
    margin-top: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5), var(--black));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1024px;
    padding: 0 24px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 98, 0.3);
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 32px;
}

.hero-title span {
    display: block;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #FFFFFF;
    max-width: 640px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.btn-white {
    padding: 16px 32px;
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s ease;
}

.btn-white:hover {
    background: var(--gold);
}

.btn-outline {
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    border-radius: 999px;
    display: inline-block;
    transition: all 0.5s ease;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 128px 0;
    background: var(--black);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    margin-top: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black), rgba(0,0,0,0.5), transparent);
}

.service-card-content {
    position: absolute;
    inset: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 24px;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background: rgba(201, 169, 98, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 448px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Featured Projects */
.featured-projects {
    padding: 128px 0;
    background: var(--zinc-950);
}

.section-header-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 64px;
}

.link-gold {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    margin-top: 24px;
    transition: gap 0.3s ease;
}

.link-gold:hover {
    gap: 16px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.project-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent);
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-play {
    opacity: 1;
}

.project-play svg {
    width: 64px;
    height: 64px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    padding: 20px;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.project-category {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 8px;
}

.project-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 4px;
}

/* Testimonials */
.testimonials {
    padding: 128px 0;
    background: var(--zinc-950);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    text-align: center;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: rgba(201, 169, 98, 0.2);
    margin: 0 auto 32px;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 169, 98, 0.2);
}

.author-name {
    font-weight: 600;
}

.author-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 32px;
    border-radius: 4px;
    background: var(--gold);
}

/* CTA Section */
.cta {
    padding: 128px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--black), rgba(0,0,0,0.8), var(--black));
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 896px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 32px;
}

.cta-title span {
    display: block;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto 48px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    border-radius: 999px;
    transition: all 0.5s ease;
}

.btn-gold:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--zinc-950);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col-large {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 448px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
}

/* Page Content */
.page-content {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 64px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 16px;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 24px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Page */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 64px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3), transparent);
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-play {
    opacity: 1;
}

.portfolio-play svg {
    width: 64px;
    height: 64px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    padding: 20px;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-play svg {
    transform: scale(1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
}

.portfolio-category {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 8px;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 4px;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201, 169, 98, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.contact-image {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 16px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: rgba(24, 24, 27, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.form-notice {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    margin-top: 16px;
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px;
    background: rgba(24, 24, 27, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    min-height: 400px;
}

.success-message.active {
    display: flex;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 24px;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.success-message p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    max-width: 400px;
}

/* Responsive */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header-flex {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    
    .link-gold {
        margin-top: 0;
    }
    
    .stat-value {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 3.5rem;
    }
    
    .cta-title {
        font-size: 3.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* === POPUP UNIVERSAL (NOVO SISTEMA) === */

.universal-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.universal-popup.active {
    display: flex;
}

.universal-popup-content {
    background: #111;
    padding: 20px;
    width: 90vw;
    max-width: 1200px;
    max-height: 90vh;
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.close-btn-universal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

#universalPopupTitle {
    margin: 0;
    font-size: 24px;
    text-align: center;
}

.universal-body {
    display: flex;
    gap: 20px;
    height: 100%;
}

.universal-sidebar {
    width: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRALIZA NA HORIZONTAL */
    gap: 10px;
    padding-right: 10px;
}


.universal-sidebar img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.universal-sidebar img:hover {
    transform: scale(1.05);
}

.universal-viewer {
    flex: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.universal-viewer iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 12px;
}

.universal-viewer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* MOBILE — layout vertical */
@media (max-width: 768px) and (orientation: portrait) {
    .universal-body {
        flex-direction: column;
    }
    .universal-sidebar {
        flex-direction: row;
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .universal-sidebar img {
        width: 120px;
        height: 70px;
    }
}

/* Evitar scroll da page quando o popup abrir */
body.no-scroll {
    overflow: hidden;
}
