/* ==========================================================================
   BLOCO 1: CONFIGURAÇÕES GLOBAIS E GALERIA (ESTILO 1)
   ========================================================================== */

:root {
    --bg-dark: #0a0a0a;
    --gold: #c5a059;
    --card-bg: #111111;
    --text-gray: #888888;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--bg-dark); color: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* HEADER (Padronizado) */
.main-header {
    background-color: #000; height: 80px; display: flex; justify-content: space-between;
    align-items: center; padding: 0 40px; position: fixed; width: 100%; top: 0; z-index: 9999; border-bottom: 1px solid #222;
}
.logo-circle { width: 45px; height: 45px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.logo-circle img { width: 80%; }
.main-nav ul { list-style: none; display: flex; gap: 20px; }
.main-nav ul li a { color: #fff; font-size: 13px; font-weight: 600; }
.main-nav ul li a.active { color: var(--gold); }

/* SECTION TITLE */
.gallery-hero { padding: 140px 8% 40px; text-align: center; }
.gallery-hero h1 { font-size: 2.5rem; text-transform: uppercase; font-weight: 800; letter-spacing: 2px; }
.gallery-hero h1 span { color: var(--gold); }

/* FILTROS */
.filter-container { margin: 30px 0 50px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-btn {
    background: transparent; border: 1px solid #333; color: #fff; padding: 10px 25px;
    border-radius: 30px; cursor: pointer; font-weight: 600; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--gold); }

/* GRELHA DE PORTFÓLIO */
.portfolio-grid { 
    padding: 0 8% 80px; 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 25px; 
}

.portfolio-item {
    position: relative; border-radius: 12px; overflow: hidden;
    height: 400px; cursor: pointer; transition: 0.4s;
    display: block; /* Para o JS filtrar */
}

.portfolio-item img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: 0.6s; filter: grayscale(30%);
}

.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px; opacity: 1;
}

.portfolio-item:hover img { transform: scale(1.1); filter: grayscale(0%); }
.portfolio-item:hover { transform: translateY(-5px); }

.item-category { color: var(--gold); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.item-title { font-size: 1.4rem; font-weight: 600; margin-top: 5px; }

/* FOOTER CTA */
.footer-cta { text-align: center; padding: 100px 8%; border-top: 1px solid #222; background: #000; }
.btn-gold-large { 
    background: var(--gold); color: #fff; padding: 20px 45px; border-radius: 5px; 
    font-weight: 800; display: inline-block; text-transform: uppercase; font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .gallery-hero h1 { font-size: 1.8rem; }
}


/* ==========================================================================
   BLOCO 2: CONFIGURAÇÕES ESTILO TRIEF (VARIÁVEIS E MENU)
   ========================================================================== */

:root {
    --bg-color: #0a0a0a;
    --text-light: #f4f4f4;
    --accent-color: #00e5ff;
    --gold-color: #c5a059; /* Dourado TRIEF oficial */
    --dark-gray: #151515;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* NOVO MENU PRINCIPAL (ESTILO TRIEF) */
.main-header {
    background-color: #000000;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #111;
}

.header-left { display: flex; align-items: center; }
.logo-circle {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.logo-circle img { width: 80%; height: auto; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.main-nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    transition: 0.3s;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--gold-color); }

.header-right { display: flex; align-items: center; gap: 20px; }
.lang-selector { color: #fff; font-size: 12px; display: flex; align-items: center; gap: 5px; cursor: pointer; }

.btn-budget {
    background-color: var(--gold-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
}

/* HERO & SECTIONS */
.hero {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    padding: 0 5%; margin-top: 80px;
}
.hero img { max-width: 320px; margin-bottom: 2rem; }
.hero h1 { font-size: 3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 4px; }

.btn { padding: 12px 28px; border-radius: 50px; font-weight: 700; text-transform: uppercase; display: inline-block; }
.btn-blue { background: linear-gradient(45deg, var(--accent-color), #0077ff); color: #fff; }
.btn-gold { background: linear-gradient(45deg, var(--gold-color), #aa8018); color: #fff; }

section { padding: 100px 8%; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 15px; color: var(--gold-color); text-transform: uppercase; }
.section-subtitle { text-align: center; font-size: 1rem; color: #888; margin-bottom: 60px; max-width: 700px; margin: 0 auto 60px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--dark-gray); padding: 40px; border-radius: 15px; border: 1px solid #222; transition: 0.4s; }

.duo-box { display: flex; flex-wrap: wrap; gap: 40px; background: #111; padding: 50px; border-radius: 20px; align-items: center; border-left: 6px solid var(--gold-color); }
.pricing-card { background: #111; padding: 50px 30px; border-radius: 20px; border: 1px solid #222; text-align: center; position: relative; }
.pricing-card.featured { border: 2px solid var(--gold-color); transform: scale(1.05); }
.price { font-size: 2.5rem; font-weight: 800; margin: 20px 0; color: var(--gold-color); }

footer { background: #000; padding: 60px 8%; text-align: center; border-top: 1px solid #222; }
.footer-logo { max-width: 180px; margin-bottom: 20px; }

@media (max-width: 1024px) { .main-nav { display: none; } }


/* ==========================================================================
   BLOCO 3: RODAPÉ DETALHADO (FOOTER COMPLETO)
   ========================================================================== */

:root {
    --footer-bg: #0d0d0d;
    --footer-text: #888;
    --gold: #c5a059;
}

.pm-footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Secção CTA */
.footer-cta {
    text-align: center;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
    margin-bottom: 60px;
}
.footer-cta h2 { font-size: 2.5rem; margin-bottom: 15px; }
.footer-cta p { color: var(--footer-text); margin-bottom: 30px; }

.cta-buttons { display: flex; justify-content: center; gap: 15px; }

.btn-footer-gold {
    background-color: var(--gold);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-footer-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
}

/* Colunas do Rodapé */
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--footer-text); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }

.brand-col { max-width: 300px; }
.brand-col p { font-size: 0.9rem; color: var(--footer-text); line-height: 1.6; }

.footer-logo { font-size: 1.5rem; margin-bottom: 20px; }
.footer-logo span { color: var(--gold); font-weight: 300; }

/* Barra Inferior */
.footer-bottom {
    background-color: #000;
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid #111;
}
.footer-bottom .footer-container { flex-direction: row; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: #555; }
.footer-legal a { font-size: 0.8rem; color: #555; margin-left: 20px; }

@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: center; }
    .cta-buttons { flex-direction: column; }
    .footer-bottom .footer-container { flex-direction: column; gap: 10px; }
}


/* ==========================================================================
   BLOCO 4: PÁGINA DE SERVIÇOS E NAVIGATION SECUNDÁRIA
   ========================================================================== */

:root {
    --bg-dark: #0a0a0a;
    --gold: #c5a059;
    --card-bg: #111111;
    --text-gray: #888888;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--bg-dark); color: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* NAVIGATION */
.main-header {
    background-color: #000; height: 80px; display: flex; justify-content: space-between;
    align-items: center; padding: 0 40px; position: fixed; width: 100%; top: 0; z-index: 9999; border-bottom: 1px solid #222;
}
.logo-circle { width: 50px; height: 50px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.logo-circle img { width: 80%; }
.main-nav ul { list-style: none; display: flex; gap: 20px; }
.main-nav ul li a { color: #fff; font-size: 13px; font-weight: 600; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--gold); }
.btn-budget-nav { background: var(--gold); color: #fff; padding: 10px 20px; border-radius: 5px; font-weight: bold; font-size: 13px; }

/* HERO SECTION */
.hero-services { padding: 160px 8% 60px; text-align: center; background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%); }
.hero-services span { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; font-weight: 800; }
.hero-services h1 { font-size: 3rem; text-transform: uppercase; margin-top: 10px; font-weight: 800; }
.hero-services h1 span { color: var(--gold); }
.hero-services p { color: var(--text-gray); max-width: 700px; margin: 20px auto; font-size: 1.1rem; }

/* SERVICES GRID */
.services-grid { padding: 60px 8%; display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.service-card { 
    background: var(--card-bg); border-radius: 20px; overflow: hidden; 
    border: 1px solid #222; transition: 0.4s ease; display: flex; flex-direction: column;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

.service-img { width: 100%; height: 260px; background-size: cover; background-position: center; position: relative; }
.service-img::after { content: ''; position: absolute; bottom: 0; width: 100%; height: 60%; background: linear-gradient(to top, var(--card-bg), transparent); }

.service-content { padding: 40px; flex-grow: 1; }
.service-content h3 { font-size: 1.8rem; margin-bottom: 15px; letter-spacing: 1px; }
.service-content p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; }

.service-list { list-style: none; margin-bottom: 30px; border-top: 1px solid #222; padding-top: 20px; }
.service-list li { font-size: 0.9rem; color: #ccc; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.service-list li::before { content: '✓'; color: var(--gold); font-weight: bold; }

/* BUDGET BUTTON */
.btn-card-action {
    display: inline-flex; align-items: center; gap: 10px; background: transparent; 
    border: 1px solid var(--gold); color: var(--gold); padding: 12px 25px; 
    border-radius: 8px; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; transition: 0.3s;
}
.service-card:hover .btn-card-action { background: var(--gold); color: #fff; }

/* FINAL CTA SECTION */
.budget-footer-section {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://images.unsplash.com/photo-1514525253361-bee8718a74a2?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; background-attachment: fixed;
    padding: 120px 8%; text-align: center; border-top: 2px solid var(--gold);
}
.budget-footer-section h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 20px; }
.budget-footer-section h2 span { color: var(--gold); }
.budget-footer-section p { color: #ccc; max-width: 600px; margin: 0 auto 40px; font-size: 1.1rem; }

.btn-epic-budget {
    background: var(--gold); color: white; padding: 22px 50px; font-size: 1.2rem; 
    font-weight: 900; border-radius: 50px; display: inline-block; transition: 0.4s;
    text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}
.btn-epic-budget:hover { background: #fff; color: #000; transform: scale(1.05); }
.btn-wa-link { display: block; margin-top: 20px; color: var(--gold); font-weight: 600; font-size: 0.9rem; text-decoration: underline; }

/* FOOTER SIMPLES */
.pm-footer-simple { background: #000; padding: 60px 8% 30px; border-top: 1px solid #111; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-info h3 { color: var(--gold); margin-bottom: 15px; }
.footer-links h4 { margin-bottom: 15px; text-transform: uppercase; font-size: 0.8rem; color: #555; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; font-size: 0.9rem; color: #888; }
.copyright { text-align: center; border-top: 1px solid #111; padding-top: 30px; font-size: 0.75rem; color: #444; }

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero-services h1 { font-size: 2rem; }
    .budget-footer-section h2 { font-size: 2rem; }
    .btn-epic-budget { padding: 18px 30px; font-size: 1rem; }
}


/* ==========================================================================
   BLOCO 5: REPETIÇÃO ESTILO TRIEF (DUPLICADO CONFORME PEDIDO)
   ========================================================================== */

:root {
    --bg-color: #0a0a0a;
    --text-light: #f4f4f4;
    --accent-color: #00e5ff;
    --gold-color: #c5a059; /* Dourado TRIEF oficial */
    --dark-gray: #151515;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* NOVO MENU PRINCIPAL (ESTILO TRIEF) */
.main-header {
    background-color: #000000;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #111;
}

.header-left { display: flex; align-items: center; }
.logo-circle {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.logo-circle img { width: 80%; height: auto; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.main-nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    transition: 0.3s;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--gold-color); }

.header-right { display: flex; align-items: center; gap: 20px; }
.lang-selector { color: #fff; font-size: 12px; display: flex; align-items: center; gap: 5px; cursor: pointer; }

.btn-budget {
    background-color: var(--gold-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
}

/* HERO & SECTIONS */
.hero {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    padding: 0 5%; margin-top: 80px;
}
.hero img { max-width: 320px; margin-bottom: 2rem; }
.hero h1 { font-size: 3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 4px; }

.btn { padding: 12px 28px; border-radius: 50px; font-weight: 700; text-transform: uppercase; display: inline-block; }
.btn-blue { background: linear-gradient(45deg, var(--accent-color), #0077ff); color: #fff; }
.btn-gold { background: linear-gradient(45deg, var(--gold-color), #aa8018); color: #fff; }

section { padding: 100px 8%; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 15px; color: var(--gold-color); text-transform: uppercase; }
.section-subtitle { text-align: center; font-size: 1rem; color: #888; margin-bottom: 60px; max-width: 700px; margin: 0 auto 60px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--dark-gray); padding: 40px; border-radius: 15px; border: 1px solid #222; transition: 0.4s; }

.duo-box { display: flex; flex-wrap: wrap; gap: 40px; background: #111; padding: 50px; border-radius: 20px; align-items: center; border-left: 6px solid var(--gold-color); }
.pricing-card { background: #111; padding: 50px 30px; border-radius: 20px; border: 1px solid #222; text-align: center; position: relative; }
.pricing-card.featured { border: 2px solid var(--gold-color); transform: scale(1.05); }
.price { font-size: 2.5rem; font-weight: 800; margin: 20px 0; color: var(--gold-color); }

footer { background: #000; padding: 60px 8%; text-align: center; border-top: 1px solid #222; }
.footer-logo { max-width: 180px; margin-bottom: 20px; }

@media (max-width: 1024px) { .main-nav { display: none; } }


/* ==========================================================================
   BLOCO 6: REPETIÇÃO RODAPÉ (DUPLICADO CONFORME PEDIDO)
   ========================================================================== */

:root {
    --footer-bg: #0d0d0d;
    --footer-text: #888;
    --gold: #c5a059;
}

.pm-footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Secção CTA */
.footer-cta {
    text-align: center;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
    margin-bottom: 60px;
}
.footer-cta h2 { font-size: 2.5rem; margin-bottom: 15px; }
.footer-cta p { color: var(--footer-text); margin-bottom: 30px; }

.cta-buttons { display: flex; justify-content: center; gap: 15px; }

.btn-footer-gold {
    background-color: var(--gold);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-footer-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
}

/* Colunas do Rodapé */
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--footer-text); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }

.brand-col { max-width: 300px; }
.brand-col p { font-size: 0.9rem; color: var(--footer-text); line-height: 1.6; }

.footer-logo { font-size: 1.5rem; margin-bottom: 20px; }
.footer-logo span { color: var(--gold); font-weight: 300; }

/* Barra Inferior */
.footer-bottom {
    background-color: #000;
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid #111;
}
.footer-bottom .footer-container { flex-direction: row; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: #555; }
.footer-legal a { font-size: 0.8rem; color: #555; margin-left: 20px; }

@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: center; }
    .cta-buttons { flex-direction: column; }
    .footer-bottom .footer-container { flex-direction: column; gap: 10px; }
}
/* Forçar o botão a aparecer no mobile */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex !important; /* FORÇA A EXIBIÇÃO */
        position: relative;
        width: 40px;
        height: 30px;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 99999;
        margin-left: auto; /* Empurra para a direita */
    }

    .menu-toggle .bar {
        width: 100% !important;
        height: 4px !important;
        background-color: #c5a059 !important; /* Dourado */
        display: block !important;
        border-radius: 2px;
    }
    
    /* Esconde a navegação normal */
    .header-right.desktop-only {
        display: none !important;
    }
}