:root {
            --primary-gold: #E0A82E;
            --secondary-gold: #C8961E;
            --gradient-gold: linear-gradient(135deg, #F4C752, #C8961E);
            --bg-deep: #03070F;
            --bg-card: #0A1524;
            --bg-light-gray: #060D18;
            --navy-border: #142239;
            --text-white: #FFFFFF;
            --text-gray: #B5B5B5;
            --transition: all 0.3s ease;
        }

        /* RESET & BASE */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-deep);
            color: var(--text-white);
            line-height: 1.6;
            overflow-x: hidden;
        }
        body.modal-open { overflow: hidden; } /* Trava scroll da home */

        img { max-width: 100%; display: block; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        section { padding: 80px 5%; overflow: hidden; }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 28px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: var(--transition);
            gap: 10px;
        }
        .btn-gold { background: var(--gradient-gold); color: #000; position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 15px rgba(224,168,46,0.25); }
        .btn-gold:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 28px rgba(224,168,46,0.45); }
        .btn-gold:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(0,0,0,0.25), 0 2px 8px rgba(224,168,46,0.2); }
        .btn-outline { border: 1px solid var(--primary-gold); color: var(--primary-gold); background: transparent; position: relative; overflow: hidden; }
        .btn-outline:hover { background: var(--primary-gold); color: #000; }
        .btn-outline:active { transform: translateY(1px); }

        /* HEADER */
        header {
            position: fixed; top: 0; width: 100%; z-index: 1000;
            background: rgba(3, 7, 15, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 15px 5%;
            display: flex; justify-content: space-between; align-items: center;
        }
        .logo { display: flex; align-items: center; gap: 12px; }
        .logo img { height: 48px; width: auto; }
        .logo-name { font-weight: 800; font-size: 1.35rem; letter-spacing: 1px; color: #fff; line-height: 1; white-space: nowrap; }
        .logo-name span { color: var(--primary-gold); }
        nav ul { display: flex; gap: 25px; }
        nav ul li a { font-size: 0.9rem; font-weight: 500; color: var(--text-gray); }
        nav ul li a:hover { color: var(--primary-gold); }

       /* HAMBÚRGUER */
        .menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100; }
        .menu-toggle span { width: 26px; height: 3px; background: var(--primary-gold); border-radius: 2px; transition: 0.3s; }
        .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
        .menu-toggle.active span:nth-child(2) { opacity: 0; }
        .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } 
       

        /* HERO */
        #inicio {
            height: 100vh;
            display: flex; align-items: center;
            background-image: linear-gradient(rgba(3,7,15,0.78), rgba(3,7,15,0.78)), url('assets/img/hero.jpg');
            background-size: cover;
            background-position: center right;
            background-repeat: no-repeat;
            position: relative;
        }
        .hero-content { max-width: 800px; position: relative; z-index: 1; }
        .hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
        .selo-hero { display: inline-block; padding: 5px 12px; background: rgba(224, 168, 46, 0.1); border: 1px solid var(--primary-gold); color: var(--primary-gold); font-size: 0.8rem; border-radius: 20px; margin-bottom: 20px; }

        /* SECTION HEADER (restaurado) */
        .section-header { text-align: center; margin-bottom: 50px; }
        .section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
        .section-header p { color: var(--text-gray); }

        /* SERVICES GRID (HOME) */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        .service-card {
            background: var(--bg-card);
            border-radius: 15px;
            border: 1px solid rgba(255,255,255,0.05);
            transition: transform 0.45s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            will-change: transform;
        }
        .service-card:hover { transform: translateY(-10px); border-color: var(--primary-gold); box-shadow: 0 20px 50px rgba(224,168,46,0.12), 0 0 0 1px rgba(224,168,46,0.25); }
        /* Área de foto do card com gradiente que funde no fundo */
        .card-media {
            position: relative;
            height: 170px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
            padding: 20px;
        }
        .card-media::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(3,7,15,0.15) 0%, rgba(10,21,36,0.75) 65%, var(--bg-card) 100%);
        }
        .card-media svg {
            position: relative;
            z-index: 2;
            width: 44px;
            height: 44px;
            fill: var(--primary-gold);
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
        }
        .card-content { padding: 22px 30px 30px; }
        .card-link { color: var(--primary-gold); font-weight: 600; }
        /* cards de "Por que escolher" não têm foto: mantêm o padding antigo */
        .why-grid .service-card { padding: 35px; }
        .service-card h3 { margin-bottom: 15px; }
        .service-card p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 20px; }

        /* INSTALAÇÃO X MANUTENÇÃO (restaurado) */
        .dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1200px; margin: 0 auto; }
        .cta-box {
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            padding: 50px; border-radius: 20px; text-align: center;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .cta-box::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.75));
            pointer-events: none;
        }
        .cta-box > * {
            position: relative;
            z-index: 1;
        }
        .cta-box h3 { margin-bottom: 12px; }
        .cta-box p { color: var(--text-gray); margin-bottom: 22px; }
        @media (max-width: 768px) { .dual-cta { grid-template-columns: 1fr; } }

        /* POR QUE ESCOLHER + STATS (restaurado) */
        .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 50px; }
        .stat-item { text-align: center; }
        .stat-number { display: block; font-size: 3rem; font-weight: 700; color: var(--primary-gold); }
        .stat-label { color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }

       /* CARROSSEL DE MARCAS */
.brands-slider { 
    width: 100%; 
    overflow: hidden; 
    background: rgba(3,7,15,0.15); 
    padding: 40px 0; 
    position: relative; 
}
.brands-track { 
    display: flex; 
    width: max-content;
    animation: scroll-brands 25s linear infinite; 
    align-items: center; 
}
.brands-track img { 
    width: 160px; 
    height: 70px;
    object-fit: contain;
    margin: 0 40px; 
    filter: grayscale(1) opacity(0.7); 
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease; 
}
.brands-track img:hover { 
    filter: grayscale(0) opacity(1); 
    transform: scale(1.1); 
}
@keyframes scroll-brands { 
    0%   { transform: translateX(0); } 
    100% { transform: translateX(-33.333%); } /* move 1/3 — pois são 3 grupos de 6 */
}
        /* AREAS (restaurado) */
        .areas-container { text-align: center; }
        .areas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
        .area-chip { padding: 8px 18px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; font-size: 0.9rem; color: var(--text-gray); }
        .area-chip:hover { border-color: var(--primary-gold); color: var(--text-white); }

        /* =========================================
           ESTILOS TELA CHEIA (SERVICE OVERLAY)
        ========================================= */
        #service-overlay {
            position: fixed; inset: 0; width: 100vw; height: 100vh;
            background: var(--bg-deep); z-index: 2000;
            overflow-y: auto; visibility: hidden; opacity: 0;
            transform: scale(0.97);
            filter: blur(4px);
            transition: opacity 0.45s ease, visibility 0.45s, transform 0.45s ease, filter 0.45s ease;
        }
        #service-overlay.active { visibility: visible; opacity: 1; transform: scale(1); filter: blur(0); }

        .service-nav {
            position: sticky; top: 0; width: 100%; background: rgba(3,7,15,0.9);
            backdrop-filter: blur(10px); padding: 15px 5%;
            display: flex; justify-content: space-between; align-items: center; z-index: 2010;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .btn-back { display: flex; align-items: center; gap: 8px; color: var(--primary-gold); font-weight: 600; cursor: pointer; }

        .service-hero-full {
            height: 70vh; display: flex; align-items: center; padding: 0 5%;
            background-size: cover; background-position: center; position: relative;
        }
        .service-hero-full::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(3,7,15,0.92), rgba(3,7,15,0.45)); }
        .service-hero-content { position: relative; z-index: 2; max-width: 800px; }
        .service-tag { color: var(--primary-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
        .service-hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }

        .service-body { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
        .service-description { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 50px; }

        .gallery-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px; margin-bottom: 60px;
        }
        .gallery-item { height: 200px; border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform 0.35s ease, box-shadow 0.35s ease; }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
        .gallery-item:hover { transform: scale(1.03); box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(224,168,46,0.2); }
        .gallery-item:hover img { transform: scale(1.08); }

        .benefits-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 60px; }
        .benefit-item { display: flex; align-items: center; gap: 15px; background: var(--bg-card); padding: 20px; border-radius: 10px; }
        .benefit-item svg { width: 24px; fill: var(--primary-gold); flex-shrink: 0; }

        .service-cta-box {
            background: var(--bg-card); padding: 50px; border-radius: 20px; text-align: center;
            border: 1px solid var(--primary-gold); margin-top: 40px;
        }

        /* LIGHTBOX */
        #lightbox {
            position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000;
            display: none; align-items: center; justify-content: center; padding: 40px;
        }
        #lightbox img { max-height: 90vh; max-width: 90vw; object-fit: contain; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
        .close-lightbox { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 40px; cursor: pointer; }

        /* REUTILIZADOS DA HOME */
        .diff-bar { background: var(--bg-card); padding: 30px 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
        .diff-item { display: flex; align-items: center; gap: 15px; }
        .diff-item svg { width: 30px; fill: var(--primary-gold); }

        .faq-list { max-width: 800px; margin: 0 auto; }
        .faq-item { background: var(--bg-card); margin-bottom: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
        .faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
        .faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.3s; color: var(--text-gray); }
        .faq-item.active .faq-answer { padding-bottom: 20px; max-height: 300px; }
        .faq-item.active svg { transform: rotate(180deg); }

        /* FOOTER (restaurado) */
        footer { padding: 60px 5% 30px; border-top: 1px solid var(--navy-border); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; max-width: 1200px; margin-left: auto; margin-right: auto; }
        .footer-logo h2 { color: var(--primary-gold); margin-bottom: 15px; }
        .footer-logo p { color: var(--text-gray); font-size: 0.95rem; }
        .footer-links h4 { margin-bottom: 20px; color: var(--primary-gold); }
        .footer-links ul li { margin-bottom: 10px; font-size: 0.9rem; color: var(--text-gray); }
        .footer-copy { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: #555; font-size: 0.8rem; }

        .wa-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 999; animation: pulse 2s infinite; }
        @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

@media (max-width: 768px) {
            .menu-toggle { display: flex; }
            nav {
                position: fixed; top: 70px; right: 0;
                width: 72%; max-width: 300px; height: calc(100vh - 70px);
                background: rgba(3,7,15,0.98); backdrop-filter: blur(10px);
                border-left: 1px solid var(--navy-border);
                transform: translateX(100%); transition: transform 0.35s ease;
                padding: 25px;
            }
            nav.active { transform: translateX(0); }
            nav ul { flex-direction: column; gap: 0; }
            nav ul li { border-bottom: 1px solid rgba(255,255,255,0.06); }
            nav ul li a { display: block; padding: 16px 4px; font-size: 1rem; }

            .service-hero-full { height: 50vh; }
            .service-body { padding: 40px 5%; }
            .service-nav .btn-gold { display: none; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .section-header h2 { font-size: 2rem; }
            .service-body .dual-inner { grid-template-columns: 1fr !important; }

            header { padding: 12px 4%; }
            .logo img { height: 36px; }
            .logo-name { font-size: 0.95rem; }
            .nav-btn { display: none; }
        }
        /* =========================================
           PREMIUM VISUAL EFFECTS
        ========================================= */

        /* --- Logo glow pulsante --- */
        @keyframes logo-glow {
            0%, 100% { filter: drop-shadow(0 0 3px rgba(224,168,46,0.45)); }
            50%       { filter: drop-shadow(0 0 10px rgba(224,168,46,0.85)) drop-shadow(0 0 22px rgba(224,168,46,0.35)); }
        }
        .logo img { animation: logo-glow 3s ease-in-out infinite; }

        /* --- Service card: brilho interno no hover --- */
        .service-card::after {
            content: '';
            position: absolute; inset: 0;
            border-radius: 15px;
            background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 55%);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .service-card:hover::after { opacity: 1; }

        /* --- Botões: faixa de brilho deslizante --- */
        .btn-gold::before,
        .btn-outline::before {
            content: '';
            position: absolute; top: 0; left: -100%;
            width: 60%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
            transform: skewX(-20deg);
            transition: left 0.55s ease;
            pointer-events: none;
        }
        .btn-gold:hover::before,
        .btn-outline:hover::before { left: 150%; }

        /* --- Stats: animação de erguer 3D --- */
        .stat-item {
            opacity: 0;
            transform: translateY(30px) scale(0.94);
            transition: opacity 0.65s ease, transform 0.65s ease;
        }
        .stat-item.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        @keyframes stat-number-glow {
            0%, 100% { text-shadow: 0 0 8px rgba(224,168,46,0.3); }
            50%       { text-shadow: 0 0 22px rgba(224,168,46,0.75), 0 0 45px rgba(224,168,46,0.3); }
        }
        .stat-item.visible .stat-number { animation: stat-number-glow 2.5s ease-in-out infinite; }

        /* --- Scroll Reveal global --- */
        .reveal {
            opacity: 0;
            transform: translateY(32px) scale(0.965);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* --- Backdrop blur para service overlay --- */
        #backdrop-blur {
            position: fixed; inset: 0;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            background: rgba(3,7,15,0.45);
            z-index: 1999;
            opacity: 0; pointer-events: none;
            transition: opacity 0.45s ease;
        }
        #backdrop-blur.active { opacity: 1; }

        /* --- Desativar tilt em mobile (pointer:coarse) --- */
        @media (hover: none) {
            .service-card { transform-style: flat; }
        }

        /* =========================================
           GALERIA DE PROJETOS (HOME)
        ========================================= */
        .gallery-section-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        .gallery-card {
            position: relative;
            height: 220px;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            background-size: cover;
            background-position: center;
            border: 1px solid rgba(255,255,255,0.05);
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
        }
        .gallery-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(3,7,15,0.1) 0%, rgba(3,7,15,0.6) 100%);
            pointer-events: none;
        }
        .gallery-card:hover {
            border-color: var(--primary-gold);
            box-shadow: 0 0 0 1px rgba(224,168,46,0.25), 0 14px 40px rgba(0,0,0,0.5);
            transform: scale(1.03);
        }
        .gallery-card-label {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            padding: 10px 16px;
            z-index: 2;
            color: var(--text-white);
            font-size: 0.85rem;
            font-weight: 600;
        }
        @media (max-width: 900px) {
            .gallery-section-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 600px) {
            .gallery-section-grid { grid-template-columns: 1fr; }
        }