/* ═══════════════════════════════════════════════════════
   FULL VISION SECURITY - SUBPAGE SHARED CSS 2026
   Design: Futurista Dark com tons Cinza & Azul
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ═══════════════ TOKENS ═══════════════ */
:root {
    --blue-core:    #1a56db;
    --blue-bright:  #3b82f6;
    --blue-electric:#60a5fa;
    --cyan-core:    #06b6d4;
    --cyan-bright:  #22d3ee;
    --dark-abyss:   #0b0d12;
    --dark-void:    #0d1017;
    --dark-space:   #10141f;
    --dark-card:    #171d2e;
    --glass-bg2:    rgba(20, 24, 36, 0.9);
    --glass-border: rgba(59, 130, 246, 0.25);
    --text-primary: #f1f5ff;
    --text-muted:   #94a3c4;
    --text-dim:     #4a5a80;
    --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-xl:    40px;
}

/* ═══════════════ RESET ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

body {
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    background: var(--dark-abyss);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 2L18 14L11.5 15.5L8.5 22L4 2Z' fill='%2322d3ee' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E"), auto;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark-void); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue-bright), var(--cyan-core));
    border-radius: 99px;
}

/* ═══════════════ FUNDO INTERATIVO ═══════════════ */
#bg-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}
.grid-overlay {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}
.vignette-overlay {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(11, 13, 18, 0.7) 100%);
}
.global-scan-line {
    position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.global-scan-line::after {
    content: '';
    position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.35), transparent);
    animation: scanGlobal 10s linear infinite;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}
@keyframes scanGlobal { 0% { top: -5%; } 100% { top: 105%; } }

#scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0%;
    background: linear-gradient(90deg, var(--blue-bright), var(--cyan-core), var(--cyan-bright));
    z-index: 9999; transition: width 0.08s linear;
    box-shadow: 0 0 10px var(--cyan-core);
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
    position: fixed; top: 1.2rem; left: 50%; transform: translateX(-50%);
    width: 94%; max-width: 1400px; z-index: 1000; border-radius: 50px;
    background: rgba(220, 224, 230, 0.7);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all 0.5s ease;
}
.navbar.scrolled {
    background: rgba(230, 235, 240, 0.92); top: 0.6rem;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.navbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 1.8rem;
}
.navbar-logo { height: 36px; width: auto; transition: all 0.4s ease; filter: none; opacity: 1; }
.navbar.scrolled .navbar-logo { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-link {
    position: relative; padding: 0.5rem 1.1rem; color: #111827;
    font-weight: 600; font-size: 0.85rem; text-decoration: none;
    border-radius: 50px; transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.03em;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 4px; left: 50%;
    transform: translateX(-50%) scaleX(0); width: 14px; height: 1.5px;
    background: linear-gradient(90deg, var(--blue-bright), var(--cyan-core));
    border-radius: 99px; transition: transform 0.35s var(--ease-spring);
}
.nav-link:hover { color: var(--blue-core); background: rgba(61, 127, 255, 0.1); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-cta {
    background: linear-gradient(135deg, var(--blue-core), var(--blue-bright));
    color: #fff !important; padding: 0.55rem 1.5rem; border-radius: 50px;
    font-weight: 600; font-size: 0.82rem; border: none; cursor: pointer;
    transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(26, 86, 219, 0.45);
    position: relative; overflow: hidden; display: inline-flex;
    align-items: center; gap: 0.5rem; text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
}
.nav-cta::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.55s ease;
}
.nav-cta:hover::before { left: 100%; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6); }
.mobile-menu-btn {
    display: none; background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--glass-border); color: var(--text-primary);
    width: 40px; height: 40px; border-radius: 10px;
    align-items: center; justify-content: center; cursor: pointer;
    font-size: 1rem; transition: all 0.3s ease;
}
.mobile-menu-btn:hover { background: rgba(59, 130, 246, 0.2); }
#mobile-menu {
    display: none; position: fixed; top: 5.5rem; left: 3%; right: 3%;
    background: rgba(11, 13, 18, 0.97); backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border); border-radius: 26px;
    z-index: 999; padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    animation: menuSlideDown 0.3s var(--ease-spring);
}
#mobile-menu.open { display: block; }
@keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-14px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
#mobile-menu .nav-link { display: block; text-align: center; padding: 0.85rem; font-size: 1rem; margin-bottom: 0.25rem; }
.mobile-cta-btn {
    width: 100%; margin-top: 0.5rem; padding: 0.9rem;
    background: linear-gradient(135deg, var(--blue-core), var(--blue-bright));
    color: #fff; border: none; border-radius: 50px; font-weight: 600; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem;
}
@media (max-width: 768px) { .nav-links { display: none; } .mobile-menu-btn { display: flex; } }

/* ═══════════════ HERO SUBPÁGINA ═══════════════ */
.subpage-hero {
    position: relative; min-height: 52vh;
    display: flex; align-items: center; justify-content: center;
    padding: 10rem 1.5rem 5rem;
    z-index: 2; overflow: hidden;
    background: var(--dark-abyss);
    isolation: isolate;
}
.subpage-hero-orb {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
}
.subpage-hero-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.18) 0%, transparent 65%);
    top: -150px; left: -150px; filter: blur(60px);
    animation: orbFloat1 14s ease-in-out infinite;
}
.subpage-hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 65%);
    bottom: -100px; right: -100px; filter: blur(50px);
    animation: orbFloat2 17s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(50px,40px) scale(1.06);} 66%{transform:translate(-25px,60px) scale(0.94);} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-40px,-50px) scale(1.1);} }

.subpage-hero-content {
    position: relative; z-index: 10; text-align: center; max-width: 800px;
    opacity: 0; transform: translateY(30px);
    animation: heroReveal 1s var(--ease-expo) 0.2s forwards;
}
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

.subpage-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(6, 182, 212, 0.07); border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 50px; padding: 0.45rem 1.4rem;
    font-size: 0.68rem; font-weight: 700; color: var(--cyan-core);
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2rem;
    font-family: 'Orbitron', monospace;
}
.badge-dot {
    width: 7px; height: 7px; background: var(--cyan-core); border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan-core);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(0.7);} }

.subpage-hero-content h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 4rem); font-weight: 800;
    line-height: 1.1; color: #fff; letter-spacing: -0.01em; margin-bottom: 1.5rem;
}
.h1-gradient {
    background: linear-gradient(135deg, var(--blue-electric), var(--cyan-core), var(--cyan-bright));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.subpage-hero-content p {
    font-size: 1.05rem; color: rgba(241, 245, 255, 0.6);
    font-weight: 300; max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* ═══════════════ SEÇÃO PRINCIPAL ═══════════════ */
.subpage-main {
    position: relative; z-index: 2; padding: 0 1.5rem 8rem;
    background: linear-gradient(180deg, var(--dark-abyss) 0%, var(--dark-space) 50%, var(--dark-abyss) 100%);
}

.subpage-card {
    background: var(--glass-bg2); border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl); max-width: 1200px; margin: 0 auto;
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(24px); position: relative;
}
.subpage-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100px; height: 100px;
    border-top: 2px solid rgba(6, 182, 212, 0.4);
    border-left: 2px solid rgba(6, 182, 212, 0.4);
    border-radius: var(--radius-xl) 0 0 0;
    pointer-events: none; z-index: 2;
}
.subpage-card::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 100px; height: 100px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    border-right: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 0 0 var(--radius-xl) 0;
    pointer-events: none; z-index: 2;
}
@media (min-width: 768px) { .subpage-card { flex-direction: row; } }

.subpage-card-content {
    flex: 1; padding: 4rem 3.5rem;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; z-index: 1;
}

.card-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--cyan-core); margin-bottom: 0.5rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.card-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--cyan-core); }

.subpage-card-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800;
    color: var(--text-primary); letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 0.5rem;
}

.card-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--blue-bright), var(--cyan-core));
    border-radius: 99px; margin: 1.2rem 0;
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.4);
}

.subpage-card-content p {
    font-size: 1rem; color: var(--text-muted); line-height: 1.85;
    font-weight: 300; margin-bottom: 2rem;
}

.features-list { list-style: none; margin-bottom: 2.5rem; }
.features-list li {
    display: flex; align-items: flex-start; gap: 0.9rem;
    padding: 0.7rem 0; border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s ease;
}
.features-list li:last-child { border-bottom: none; }
.features-list li:hover { color: var(--text-primary); }
.features-list li i {
    color: var(--cyan-core); font-size: 0.9rem; margin-top: 2px;
    flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.5));
}

.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 0.8rem;
    background: linear-gradient(135deg, var(--blue-core), var(--blue-bright));
    color: white; font-weight: 700; font-size: 0.95rem;
    padding: 1.1rem 2.4rem; border-radius: 50px; text-decoration: none;
    transition: all 0.35s ease; box-shadow: 0 6px 25px rgba(26, 86, 219, 0.5);
    position: relative; overflow: hidden; font-family: 'Space Grotesk', sans-serif;
    width: fit-content;
}
.btn-whatsapp::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.55s ease;
}
.btn-whatsapp:hover::before { left: 100%; }
.btn-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(59, 130, 246, 0.6); }
.btn-whatsapp i { font-size: 1.2rem; }

.subpage-card-image {
    flex: 1; min-height: 350px;
    background: linear-gradient(135deg, var(--dark-card), var(--dark-space));
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.subpage-card-image::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.08), transparent);
}
.subpage-card-image img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transition: transform 0.8s ease;
}
.subpage-card-image:hover img { transform: scale(1.04); }

/* ═══════════════ GALERIA (para automação) ═══════════════ */
.gallery-section {
    position: relative; z-index: 2; padding: 5rem 1.5rem 8rem;
    background: var(--dark-void);
}
.gallery-section-title {
    text-align: center; margin-bottom: 3rem;
}
.gallery-section-title h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700;
    color: var(--text-primary); margin-bottom: 0.5rem;
}
.gallery-section-title p { color: var(--text-muted); font-size: 0.95rem; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-card {
    background: var(--glass-bg2); border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 20px; overflow: hidden;
    transition: all 0.4s ease; cursor: pointer;
    opacity: 0; transform: translateX(-40px);
}
.gallery-card.visible { opacity: 1; transform: translateX(0); }
.gallery-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(6, 182, 212, 0.06);
}
.gallery-card-img-wrapper {
    width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative;
    background: var(--dark-card);
}
.gallery-card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.55s ease;
}
.gallery-card:hover .gallery-card-img-wrapper img { transform: scale(1.08); }

.gallery-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(11,13,18,0.9) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.3s ease;
    display: flex; align-items: flex-end; padding: 1.2rem;
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-card-body { padding: 1.2rem 1.5rem; }
.gallery-card-title {
    font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem;
    font-weight: 600; color: var(--text-primary); margin-bottom: 0.3rem;
}
.gallery-card-desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.4; }

/* ═══════════════ FOOTER ═══════════════ */
.modern-footer {
    position: relative; z-index: 2;
    background: var(--dark-space); padding: 5rem 0 0;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}
.modern-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(6, 182, 212, 0.3), transparent);
}
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { max-width: 140px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-desc { font-size: 0.85rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 1.5rem; }
.social-icons { display: flex; gap: 0.75rem; }
.social-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
    color: var(--text-muted); font-size: 1rem; text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--blue-core); border-color: var(--blue-bright); color: white;
    transform: translateY(-5px); box-shadow: 0 10px 25px rgba(26, 86, 219, 0.5);
}
.footer-col h3 {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--text-primary); margin-bottom: 1.5rem;
    padding-bottom: 0.75rem; border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    position: relative; font-family: 'Orbitron', monospace;
}
.footer-col h3::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 30px; height: 1px;
    background: linear-gradient(90deg, var(--blue-bright), var(--cyan-core));
}
.footer-col ul { list-style: none; }
.footer-col ul li {
    display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.9rem;
    font-size: 0.85rem; color: var(--text-dim); line-height: 1.5;
}
.footer-col ul li i { color: var(--blue-bright); font-size: 0.82rem; margin-top: 2px; flex-shrink: 0; }
.footer-map-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--cyan-core); font-size: 0.8rem; font-weight: 600;
    text-decoration: none; transition: color 0.3s ease; margin-top: 0.5rem;
}
.footer-map-link:hover { color: var(--cyan-bright); }
.btn-footer-cta {
    width: 100%; padding: 1rem 1.2rem;
    background: linear-gradient(135deg, var(--blue-core), var(--blue-bright));
    color: white; border: none; border-radius: 10px; font-weight: 700; font-size: 0.88rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    transition: all 0.3s ease; text-decoration: none;
    box-shadow: 0 6px 25px rgba(26, 86, 219, 0.4); position: relative; overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
}
.btn-footer-cta::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-footer-cta:hover::before { left: 100%; }
.btn-footer-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(59, 130, 246, 0.55); }
.footer-bottom {
    margin-top: 4rem; padding: 1.5rem 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    display: flex; flex-direction: column; gap: 0.5rem;
    align-items: center; text-align: center; font-size: 0.78rem;
    color: var(--text-dim); max-width: 1200px; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ═══════════════ POPUP ═══════════════ */
.popup-overlay {
    display: none; position: fixed; inset: 0; background: rgba(11, 13, 18, 0.88);
    z-index: 9000; backdrop-filter: blur(12px);
}
.popup-overlay.active { display: block; }
.contact-popup {
    display: none; position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -48%) scale(0.95); z-index: 9001;
    width: 90%; max-width: 440px; background: var(--glass-bg2);
    border: 1px solid var(--glass-border); border-radius: var(--radius-xl);
    padding: 2.5rem; box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    backdrop-filter: blur(30px);
}
.contact-popup.active { display: block; animation: popupReveal 0.4s var(--ease-spring) forwards; }
@keyframes popupReveal {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.9); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.popup-close {
    position: absolute; top: 1.2rem; right: 1.2rem; width: 32px; height: 32px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: var(--text-muted); display: flex;
    align-items: center; justify-content: center; cursor: pointer;
    font-size: 0.85rem; transition: all 0.3s ease;
}
.popup-close:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); color: #ef4444; }
.popup-icon-wrap {
    width: 64px; height: 64px; background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.25); border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem; font-size: 1.6rem; color: var(--cyan-core);
    box-shadow: 0 0 25px rgba(6,182,212,0.2);
}
.popup-title { text-align: center; font-size: 1.35rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; font-family: 'Orbitron', monospace; }
.popup-subtitle { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; font-weight: 300; }
.popup-btn {
    width: 100%; padding: 1rem 1.2rem; margin-bottom: 0.75rem; border-radius: 18px;
    font-weight: 600; font-size: 0.9rem; display: flex; align-items: center;
    justify-content: center; gap: 0.75rem; cursor: pointer; transition: all 0.3s ease;
    text-decoration: none; border: 1px solid transparent; position: relative; overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
}
.popup-btn.consultor { background: linear-gradient(135deg, var(--blue-core), var(--blue-bright)); color: white; box-shadow: 0 6px 20px rgba(26,86,219,0.4); }
.popup-btn.tecnico { background: rgba(6,182,212,0.08); border-color: rgba(6,182,212,0.25); color: var(--cyan-core); }
.popup-btn:hover { transform: translateY(-2px); }
.popup-btn.tecnico:hover { background: rgba(6,182,212,0.15); border-color: var(--cyan-core); color: white; }

/* ═══════════════ REVEAL ═══════════════ */
.reveal {
    opacity: 0; transform: translateX(-50px);
    transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}
.reveal.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════ RESPONSIVO ═══════════════ */
@media (max-width: 768px) {
    .subpage-card-content { padding: 2.5rem 1.8rem; }
}

/* OVERRIDES PARA O FUNDO INTERATIVO APARECER NAS SUBPÁGINAS */
.subpage-hero,
.subpage-main,
.gallery-section,
.modern-footer {
    background: transparent !important;
}
