/* LPM STUDIO - V26 (COM FAQ) */

:root {
    --bg-body: #050505;
    --bg-surface: #0f0f0f;
    --primary: #deff05;        
    --text-main: #ffffff;
    --text-secondary: #a1a1aa;
    --border: rgba(255,255,255,0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; color: #fff; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; padding: 0; margin: 0; }

/* LAYOUT */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; }
.section { padding: 100px 0; border-bottom: 1px solid var(--border); }
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* HEADER */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgb(5 5 5 / 85%); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); padding: 15px 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

/* LOGO */
.logo { display: flex; align-items: center; font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.eclipse-icon {
    position: relative; width: 28px; height: 28px;
    background-color: var(--primary); border-radius: 50%;
    box-shadow: 0 0 15px rgba(222, 255, 5, 0.3); margin-right: 12px;
}
.eclipse-icon::after {
    content: ''; position: absolute; width: 28px; height: 28px;
    background-color: #1f1f1f; border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-80%, -50%); 
}

/* NAV LINKS */
.nav-links { display: flex; gap: 40px; }
.nav-links a { 
    font-size: 0.95rem; font-weight: 600; color: var(--text-secondary); 
    position: relative; padding: 5px 0; overflow: hidden;
}
.nav-links a::before {
    content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 2px;
    background: var(--primary); transform: translate3d(-101%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::before { transform: translate3d(0, 0, 0); }

/* BOTÃO NEON */
.btn {
    padding: 14px 35px; background: var(--primary); color: #000; 
    font-weight: 800; font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: 0.3s; font-size: 0.9rem;
}
.btn:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 0 30px rgba(222, 255, 5, 0.4); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: transparent; }

/* HERO */
.hero { height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
.hero-video-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; filter: grayscale(100%) contrast(1.1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-body) 5%, rgba(5,5,5,0.6) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 5; max-width: 900px; }
.hero h1 { font-size: clamp(3rem, 6vw, 4rem); margin-bottom: 25px; line-height: 1; letter-spacing: -2px; }
.hero p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; }
.hero-tag { display: inline-block; padding: 6px 16px; border: 1px solid var(--primary); color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; }

/* STATS */
.stats-bar { display: flex; gap: 60px; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.stat h4 { font-size: 2.5rem; color: #fff; margin: 0; }
.stat p { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; margin-top: 5px; }

/* SERVICES */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-card { background: var(--bg-surface); padding: 50px 40px; transition: 0.3s; position: relative; }
.service-card:hover { background: #161616; }
.service-card::before { content: ''; position: absolute; left: 0; bottom: 0; width: 4px; height: 0; background: var(--primary); transition: 0.3s; }
.service-card:hover::before { height: 100%; }
.service-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* WEB SECTION */
.web-section { position: relative; overflow: hidden; background: #080808; }
.web-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.web-content h2 { font-size: 3rem; line-height: 1.1; margin-bottom: 25px; }
.web-list { margin: 30px 0; display: flex; flex-direction: column; gap: 15px; }
.web-list li { display: flex; align-items: center; gap: 15px; color: #fff; font-weight: 600; font-size: 1.05rem; }
.web-list i { color: var(--primary); background: rgba(222, 255, 5, 0.1); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem; }
.web-showcase { position: relative; height: 650px; display: flex; justify-content: center; align-items: center; width: 100%; }
.w-card {
    position: absolute;
    width: 315px; 
    height: 560px; 
    border-radius: 35px;
    background: #000;
    overflow: hidden;
    box-shadow: 
        0 0 0 8px #1a1a1a,
        0 0 0 9px #333,
        0 30px 60px rgba(0,0,0,0.8);
    transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center center;
}
/* Classic Notch - less intrusive than Dynamic Island */
.w-card::after {
    content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 22px; background: #1a1a1a; border-radius: 0 0 12px 12px; z-index: 10;
}

.w-card video { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }

.w-card:nth-child(1) { transform: translateX(-220px) translateY(30px) rotate(-8deg) scale(0.85); z-index: 1; filter: brightness(0.5); }
.w-card:nth-child(2) { transform: translateX(220px) translateY(-30px) rotate(8deg) scale(0.85); z-index: 1; filter: brightness(0.5); }
.w-card:nth-child(3) { transform: translateX(0) scale(1); z-index: 2; filter: brightness(1); border: 1px solid rgba(255,255,255,0.05); }

.web-showcase:hover .w-card:nth-child(1) { transform: translateX(-260px) rotate(-12deg) scale(0.9); filter: brightness(0.8); }
.web-showcase:hover .w-card:nth-child(2) { transform: translateX(260px) rotate(12deg) scale(0.9); filter: brightness(0.8); }
.web-showcase:hover .w-card:nth-child(3) { transform: translateY(-15px) scale(1.05); box-shadow: 0 0 0 8px #1a1a1a, 0 0 0 10px var(--primary), 0 40px 80px rgba(0,0,0,0.9); }

/* METHOD & BRANDING */
.method-section { background: var(--bg-surface); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.steps-list { display: flex; flex-direction: column; gap: 40px; margin-top: 40px;}
.step-item { display: flex; gap: 20px; }
.step-number { font-family: 'Space Grotesk', sans-serif; font-size: 6rem; color: var(--border); font-weight: 700; line-height: 1; }
.step-item:hover .step-number { color: var(--primary); transition: 0.3s; }
.branding-list li { margin-bottom: 20px; display:flex; align-items:center; gap:15px; color:#fff; font-weight:600; }
.branding-list i { color: var(--primary); font-size:1.2rem; }

/* EVOLUTION CHART */
.evolution-chart {
    background: linear-gradient(145deg, #111 0%, #080808 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    margin-top: 40px;
}
.chart-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; font-size: 0.85rem; color: var(--text-secondary);
    font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.chart-header .dot {
    display: inline-block; width: 8px; height: 8px; background: var(--primary);
    border-radius: 50%; margin-right: 10px; box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}
.roi-badge {
    background: rgba(222, 255, 5, 0.1); color: var(--primary);
    padding: 8px 16px; border-radius: 50px; font-weight: 800;
    border: 1px solid rgba(222, 255, 5, 0.3); font-size: 0.9rem;
}
.chart-area {
    display: flex; align-items: flex-end; justify-content: space-between;
    height: 220px; position: relative; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.chart-area .bar {
    width: 14%; background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.08); border-bottom: none;
    border-radius: 6px 6px 0 0; transition: 1s ease-out; position: relative; z-index: 1;
    transform-origin: bottom; transform: scaleY(0);
}
.reveal.active .chart-area .bar {
    animation: scaleUpBar 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.reveal.active .chart-area .bar:nth-child(1) { animation-delay: 0.1s; }
.reveal.active .chart-area .bar:nth-child(2) { animation-delay: 0.2s; }
.reveal.active .chart-area .bar:nth-child(3) { animation-delay: 0.3s; }
.reveal.active .chart-area .bar:nth-child(4) { animation-delay: 0.4s; }
.reveal.active .chart-area .bar:nth-child(5) { animation-delay: 0.5s; }

.chart-area .bar.highlight {
    background: linear-gradient(to top, rgba(222, 255, 5, 0.05), rgba(222, 255, 5, 0.25));
    border-color: rgba(222, 255, 5, 0.5); box-shadow: 0 0 40px rgba(222, 255, 5, 0.15);
}
.trend-line { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.trend-path {
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 8px var(--primary));
}
.reveal.active .trend-path {
    animation: drawLine 3s ease-out forwards 0.5s; 
}
.trend-dot-html { 
    position: absolute; left: 95%; top: 10%; transform: translate(-50%, -50%);
    width: 14px; height: 14px; border-radius: 50%; background: var(--primary);
    opacity: 0; 
    box-shadow: 0 0 15px var(--primary), 0 0 30px var(--primary); z-index: 3;
}
.reveal.active .trend-dot-html {
    animation: fadeInDot 0.5s ease-out forwards 3.2s; 
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeInDot { to { opacity: 1; } }
@keyframes scaleUpBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } 100% { transform: scale(1); opacity: 1; } }
.chart-footer {
    display: flex; justify-content: space-between; margin-top: 20px; font-size: 0.75rem;
    color: #666; text-transform: uppercase; font-weight: 800; letter-spacing: 1px;
}

.branding-list li { margin-bottom: 20px; display:flex; align-items:center; gap:15px; color:#fff; font-weight:600; }
.branding-list i { color: var(--primary); font-size:1.2rem; }

/* BENTO WORK GRID */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 24px; }
.bento-item { position: relative; border-radius: 24px; overflow: hidden; background: #111; border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); cursor: pointer; }
.bento-item:hover { border-color: rgba(222, 255, 5, 0.4); box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(222, 255, 5, 0.1); transform: translateY(-5px); z-index: 5; }
.bento-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); filter: brightness(0.85); }
.bento-item:hover .bento-img { transform: scale(1.05); filter: brightness(0.6); }
.bento-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%); z-index: 2; transform: translateY(15px); opacity: 0.9; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); display: flex; justify-content: space-between; align-items: flex-end; }
.bento-item:hover .bento-overlay { transform: translateY(0); opacity: 1; }
.bento-info { flex: 1; }
.bento-cat { color: var(--primary); font-size: 0.7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; display: inline-block; padding: 4px 10px; background: rgba(222, 255, 5, 0.1); border-radius: 4px; border: 1px solid rgba(222, 255, 5, 0.2); }
.bento-title { font-size: 1.6rem; color: #fff; line-height: 1.2; font-family: 'Space Grotesk', sans-serif; }
.bento-icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; transition: all 0.4s ease; border: 1px solid rgba(255,255,255,0.2); transform: rotate(-45deg); flex-shrink: 0; margin-left: 15px; }
.bento-item:hover .bento-icon { background: var(--primary); color: #000; border-color: var(--primary); transform: rotate(0deg); }

.item-mhr { grid-column: span 8; grid-row: span 2; }
.item-mhr .bento-title { font-size: 2.5rem; }
.item-ard { grid-column: span 4; grid-row: span 1; }
.item-bioclin { grid-column: span 4; grid-row: span 1; }
.item-asas { grid-column: span 5; grid-row: span 2; }
.item-aristocrata { grid-column: span 7; grid-row: span 1; }
.item-chami { grid-column: span 7; grid-row: span 1; }
.item-robinho { grid-column: span 12; grid-row: span 1; }

/* CAROUSEL */
.carousel-wrapper { position: relative; padding: 0 0px; overflow:hidden; }
.carousel-track-container { overflow: hidden; width: 100%; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; gap: 30px; margin: 0; padding: 0; }
.carousel-slide { min-width: calc(33.333% - 20px); max-width: calc(33.333% - 20px); flex: 0 0 calc(33.333% - 20px); list-style: none; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 15px; margin-bottom: 30px; }
.carousel-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.carousel-btn:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.gallery-card { height: 350px; overflow: hidden; position: relative; border: 1px solid var(--border); display: block; transition: all 0.3s ease; }
.gallery-card:hover { border-color: var(--primary); transform: translateY(0px); }
.gallery-img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); opacity: 1; }
.gallery-title { color: #fff; font-weight: 700; font-size: 1.1rem; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot { width: 8px; height: 8px; background: var(--border); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary); width: 24px; border-radius: 10px; }

/* FAQ SECTION */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; width: 100%; text-align: left; background: none; border: none; }
.faq-question h3 { font-size: 1.1rem; margin: 0; font-weight: 600; color: #fff; transition: 0.3s; font-family: 'Space Grotesk', sans-serif; }
.faq-question:hover h3 { color: var(--primary); }
.faq-icon { color: var(--primary); font-size: 1.2rem; transition: transform 0.4s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer p { color: var(--text-secondary); padding-bottom: 30px; margin: 0; font-size: 1rem; line-height: 1.7; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-answer { max-height: 500px; }

/* NOVO: LEAD FORM CSS */
.lead-section { background: #050505; padding: 100px 0;}
.lead-box { max-width: 900px; margin: 0 auto; background: var(--bg-surface); padding: 50px; border: 1px solid var(--border); border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.form-group { margin-bottom: 20px; }
.form-input { width: 100%; padding: 15px 20px; background: #050505; border: 1px solid var(--border); color: #fff; font-family: 'Manrope', sans-serif; outline: none; transition: 0.3s; border-radius: 4px; }
.form-input:focus { border-color: var(--primary); }

/* NOVO: FOOTER 4 COLUNAS */
footer { background: #0b0b0b; padding: 80px 0 30px; border-top: 1px solid var(--border-glass); font-size: 0.9rem; color: #666; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h5 { color: #fff; margin-bottom: 20px; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }
.footer-col a { display: block; color: var(--text-secondary); margin-bottom: 12px; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.social-links a { font-size: 1.5rem; margin-right: 15px; color: #fff; opacity: 0.7; }
.social-links a:hover { opacity: 1; color: var(--primary); }

/* NOVO: COOKIE POPUP */
.cookie-popup {
    position: fixed; bottom: 30px; left: 30px; width: 350px; background: #fff; color: #000;
    padding: 25px; border-radius: 12px; z-index: 9999;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); border-left: 5px solid var(--primary);
    transform: translateY(150%); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-popup.show { transform: translateY(0); }
.cookie-btn {
    background: #000; color: #fff; padding: 10px 20px; border: none; border-radius: 6px; 
    font-weight: 700; cursor: pointer; margin-top: 15px; width: 100%; transition: 0.3s;
}
.cookie-btn:hover { background: var(--primary); color: #000; }

/* PÁGINA INTERNA */
.page-content-wrapper { padding-top: 160px; padding-bottom: 80px; min-height: 80vh; }
h1.post-title { font-size: 3rem; text-align: center; margin-bottom: 40px; color: #fff; display:none; }
.post-body { font-family: 'Manrope', sans-serif; font-size: 1.15rem; line-height: 1.8; color: #e0e0e0; max-width: 800px; margin: 0 auto; }
.post-body p, .post-body span, .post-body div { color: #e0e0e0; }
.post-body strong, .post-body b { color: #fff !important; }
.post-body a { color: var(--primary); }
.post-body img { max-width: 100%; height: auto; margin: 30px 0; }

@media (max-width: 900px) {
    .hero h1 { font-size: 3rem; }
    .method-grid, .web-grid, .footer-content, .lead-box { grid-template-columns: 1fr; }
    .bento-grid { display: flex; flex-direction: column; }
    .bento-item { height: 350px; }
    .item-mhr { height: 450px; }
    .nav-links { display: none; }
    .stats-bar { flex-wrap: wrap; gap: 30px; }
    .carousel-slide { min-width: 100%; max-width: 100%; flex: 0 0 100%; }
    .hero-content { padding-top: 100px; }
    .hero { height: auto; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
    .hero-video-wrapper { height: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; }
    
    .web-showcase { position: relative; height: 500px; margin-top: 40px; display: flex; justify-content: center; align-items: center; overflow: visible; padding: 0; }
    .w-card { position: absolute; width: 240px; height: 440px; box-shadow: 0 0 0 6px #1a1a1a, 0 0 0 7px #333, 0 20px 40px rgba(0,0,0,0.6); border-radius: 25px; }
    .w-card::after { width: 80px; height: 15px; top: -1px; border-radius: 0 0 10px 10px; }
    .w-card:nth-child(1) { transform: translateX(-90px) translateY(20px) rotate(-6deg) scale(0.85); }
    .w-card:nth-child(2) { transform: translateX(90px) translateY(-20px) rotate(6deg) scale(0.85); }
    .w-card:nth-child(3) { transform: translateX(0) scale(1); }
    .w-card video { opacity: 1; filter: brightness(1); }
    .w-card:nth-child(1) video, .w-card:nth-child(2) video { filter: brightness(0.6); }
    .lead-box { padding: 30px; }
    .chart-footer { font-size: 0.5rem; letter-spacing: 0; }
    .roi-badge { white-space: nowrap; font-size: 0.7rem; padding: 6px 10px; }
    .chart-header { font-size: 0.7rem; }
}

/* BLOG MOSAICO E FILTROS */
.blog-header-section { text-align: center; margin-bottom: 40px; }

/* Menu de Filtros */
.filter-nav { 
    display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; 
}
.filter-link {
    padding: 10px 24px; 
    border: 1px solid var(--border); 
    border-radius: 50px;
    color: var(--text-secondary); 
    font-size: 0.9rem; 
    font-weight: 600; 
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(255,255,255,0.02);
}
.filter-link:hover {
    border-color: #fff;
    color: #fff;
}
.filter-link.active {
    background: var(--primary); 
    color: #000; 
    border-color: var(--primary); 
    box-shadow: 0 0 20px rgba(222, 255, 5, 0.2);
}

/* Grid Mosaico */
.posts-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-bottom: 60px;
}
.post-card {
    background: var(--bg-surface); 
    border: 1px solid var(--border); 
    border-radius: 16px;
    overflow: hidden; 
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    display: flex; 
    flex-direction: column;
    height: 100%;
}
.post-card:hover { 
    transform: translateY(-10px); 
    border-color: rgba(255,255,255,0.2); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
}
.post-thumb-wrapper { 
    height: 240px; 
    width: 100%;
    overflow: hidden; 
    position: relative; 
}
.post-thumb { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease; 
}
.post-card:hover .post-thumb { 
    transform: scale(1.1); 
}
.post-content { 
    padding: 30px; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start;
}
.post-tag {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
}
.post-card-title { 
    font-size: 1.25rem; 
    margin-bottom: 20px; 
    line-height: 1.4; 
    color: #fff;
}
.post-card-title a { color: #fff; }

.read-more-btn {
    margin-top: auto;
    font-size: 0.85rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    color: #fff; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    transition: 0.3s;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
}
.read-more-btn i { color: var(--primary); transition: 0.3s; }
.post-card:hover .read-more-btn { color: var(--primary); border-color: var(--primary); }
.post-card:hover .read-more-btn i { transform: translateX(5px); }

/* Responsivo Blog */
@media (max-width: 900px) {
    .posts-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .filter-nav { 
        display: grid;                
        grid-template-columns: 1fr 1fr; 
        gap: 10px;                    
        padding-bottom: 30px;
    }
    
    .filter-link { 
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;          
        padding: 12px 5px;           
    }

    .filter-link:first-child {
        grid-column: span 2;
        background: rgba(255,255,255,0.05); 
        color:var(--text-secondary);
    }
    
    .blog-header-section { margin-bottom: 30px; }
}

/* --- ESTILO DO CHATBOT IA --- */
.chatbot-toggler {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: var(--primary); border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    border: none; outline: none; transition: all 0.2s ease;
    z-index: 9999;
}
.chatbot-toggler:hover { transform: scale(1.1); }
.show-chatbot .chatbot-toggler { background: #333; }
.show-chatbot .chatbot-toggler i { color: var(--primary); }
.chatbot-toggler i { font-size: 1.5rem; color: #000; }

.chatbot {
    position: fixed; right: 35px; bottom: 100px;
    width: 350px; 
    background: #121212; border: 1px solid var(--border);
    border-radius: 15px; 
    opacity: 0; pointer-events: none;
    transform: scale(0.5); transform-origin: bottom right;
    transition: all 0.1s ease;
    z-index: 9998;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow: hidden;
}

.show-chatbot .chatbot { opacity: 1; pointer-events: auto; transform: scale(1); }

.chatbot header {
    background: #1a1a1a; padding: 15px 20px; text-align: center; position: relative;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.chatbot header h2 { color: #fff; font-size: 1.1rem; margin:0; display: flex; align-items:center; justify-content:center; gap:8px;}

.chatbot header span {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-secondary); 
    cursor: pointer; 
    display: flex; 
    align-items: center; justify-content: center;
    width: 40px; height: 40px; 
    font-size: 1.5rem; 
    transition: 0.3s;
}
.chatbot header span:hover { color: var(--primary); }

.chatbot .chatbox {
    overflow-y: auto; 
    padding: 20px;
    background: #0f0f0f;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #0f0f0f;
    flex: 1; 
    height: auto;
}

.chatbox .chat { display: flex; list-style: none; margin-bottom: 15px; }
.chatbox .chat p {
    white-space: pre-wrap; padding: 10px 15px; border-radius: 10px 10px 10px 0;
    max-width: 85%; font-size: 0.9rem;
    background: #2a2a2a; color: #fff;
    line-height: 1.5;
}
.chatbox .outgoing { justify-content: flex-end; }
.chatbox .outgoing p {
    background: var(--primary); color: #000; border-radius: 10px 10px 0 10px; font-weight: 600;
}
.chatbox .incoming span {
    width: 32px; height: 32px; color: #000; align-self: flex-end;
    background: var(--primary); text-align: center; line-height: 32px; border-radius: 50%; margin: 0 10px 7px 0;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.chatbot .chat-input {
    display: flex; gap: 5px; padding: 10px 20px; border-top: 1px solid var(--border);
    background: #1a1a1a;
    flex-shrink: 0;
}
.chat-input textarea {
    height: 45px; width: 100%; border: none; outline: none; resize: none;
    max-height: 100px; padding: 12px 0px 12px 0; font-size: 0.95rem;
    background: transparent; color: #fff; font-family: 'Manrope', sans-serif;
}
.chat-input span {
    align-self: flex-end; color: var(--primary); cursor: pointer; height: 45px;
    display: flex; align-items: center; justify-content: center; width: 40px;
    font-size: 1.2rem; transition: 0.2s;
}
.chat-input span:hover { opacity: 0.8; }

/* AJUSTES MOBILE CHATBOT */
@media (max-width: 490px) {
    .chatbot { 
        right: 0; bottom: 0; width: 100%; 
        height: 100dvh; 
        max-height: none; 
        border-radius: 0; 
        z-index: 99999;
    }
    .chatbot header span {
        position: absolute; 
        right: 15px; 
        top: 50%; 
        transform: translateY(-50%);
        color: var(--text-secondary); 
        cursor: pointer; 
        display: flex; 
        align-items: center; 
        justify-content: center;
        width: 40px; height: 40px; 
        transition: 0.3s;
        z-index: 10;
    }
    .chatbot header span i {
        font-size: 1.5rem; 
    }
    .chatbot header span:hover { 
        color: var(--primary); 
        transform: translateY(-50%) scale(1.1); 
    }
}

/* --- PROJECT PORTFOLIO MODAL --- */
.project-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.project-modal-overlay.active {
    opacity: 1; pointer-events: auto;
}

.project-modal-container {
    width: 100%; max-width: 1200px;
    height: 95vh;
    background: #050505;
    border-radius: 20px 20px 0 0;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.8);
}

.project-modal-overlay.active .project-modal-container {
    transform: translateY(0);
}

.project-modal-close {
    position: absolute;
    top: 30px; right: 30px;
    background: transparent; border: none;
    color: var(--text-secondary);
    font-size: 2rem; cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
.project-modal-close:hover { color: #fff; transform: scale(1.1); }

.project-modal-header {
    padding: 40px 50px 25px 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.project-modal-tag {
    color: var(--primary);
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 2px;
}

.project-modal-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin: 10px 0 25px 0;
    line-height: 1;
}

.project-modal-meta {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 30px;
}

.meta-col { display: flex; flex-direction: column; }

.meta-label {
    color: var(--primary);
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.meta-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
}

.project-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    background: #050505;
}

.pm-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
    padding: 20px 40px 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pm-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #111;
}

.pm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.pm-gallery-item:hover .pm-img {
    transform: scale(1.05);
}

/* Layout Classes */
.pm-layout-1 { grid-column: span 8; grid-row: span 2; }
.pm-layout-2 { grid-column: span 4; grid-row: span 1; }
.pm-layout-3 { grid-column: span 4; grid-row: span 1; }
.pm-layout-4 { grid-column: span 6; grid-row: span 2; }
.pm-layout-5 { grid-column: span 6; grid-row: span 1; }
.pm-layout-6 { grid-column: span 6; grid-row: span 1; }
.pm-layout-7 { grid-column: span 12; grid-row: span 2; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .project-modal-header { padding: 30px 20px 20px 20px; }
    .project-modal-title { font-size: 2.5rem; margin-bottom: 20px; }
    .project-modal-meta { grid-template-columns: 1fr; gap: 15px; }
    .project-modal-close { top: 20px; right: 20px; font-size: 1.5rem; }
    
    .pm-gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .pm-layout-1, .pm-layout-2, .pm-layout-3, .pm-layout-4, .pm-layout-5, .pm-layout-6, .pm-layout-7 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Custom Scrollbar for Modal Body */
.project-modal-body {
    scrollbar-width: thin;
    scrollbar-color: #333 #000;
}
.project-modal-body::-webkit-scrollbar {
    width: 6px;
}
.project-modal-body::-webkit-scrollbar-track {
    background: #000;
}
.project-modal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
.project-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
