/* 
* MV Gestão Web - Design Concept v4
* Theme: Modern Pro Dark (Premium, Deep, Glass)
* Focus: Depth, Subtle Gradients, Clean Layout
*/

:root {
    /* Palette - Deep & Premium */
    --bg-void: #0B0F19;
    /* Deepest Blue/Black */
    --bg-surface: #111827;
    /* Slightly lighter for sections */
    --bg-glass: rgba(17, 24, 39, 0.7);
    --bg-card: rgba(255, 255, 255, 0.03);

    --text-main: #F9FAFB;
    /* White-ish */
    --text-body: #CBD5E1;
    /* Grey 300 - Better Contrast */
    --text-muted: #94A3B8;
    /* Grey 400 - Better Contrast */

    --accent-primary: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --container: 1280px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Easings */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-void);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-void);
    font-weight: 600;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
}

/* Refinements v4.1 */

/* Neon Green Glow */
.glow-text {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

/* Animated Chart */
.chart-container {
    margin: 1.5rem 0;
    height: 60px;
    position: relative;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-chart 2s ease-out forwards;
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
}

@keyframes draw-chart {
    to {
        stroke-dashoffset: 0;
    }
}

/* Improved Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    /* Slightly more visible */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    /* White text for contrast */
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-outline-nav {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-main);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline-nav:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-main);
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-body);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-main);
}

/* Background Effects */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 60vw;
    height: 60vw;
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    background: #3B82F6;
    top: -20%;
    left: -10%;
}

.blob-2 {
    background: #8B5CF6;
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(11, 15, 25, 0.85), rgba(11, 15, 25, 0.95)),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60A5FA;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 3rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Visual Card - Glass */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.stat-delta {
    color: #34D399;
    /* Green */
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(52, 211, 153, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.card-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    display: block;
}

/* Section 2 - Contrast */
.section-feature {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-surface) 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.feature-lead {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.feature-text {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero {
        padding-top: 140px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* =========================================
   Refinement A: Rhythm (Section 2 - High Contrast/Tech)
   ========================================= */
.section-feature,
.section-pilares,
.section-faq {
    background: #F1F5F9 !important;
    /* Slightly Darker Slate (Slate 100) */
    color: var(--bg-void) !important;
    position: relative;
    border-top: 1px solid #CBD5E1;
    border-bottom: 1px solid #CBD5E1;
}

/* Make Cases Section WHITE to create rhythm (Grey -> White -> Grey) */
.section-cases {
    background: #FFFFFF !important;
    color: var(--bg-void) !important;
    position: relative;
    border-top: 1px solid #CBD5E1;
    border-bottom: 1px solid #CBD5E1;
}

/* Tech Grid pattern for Cases (lighter/cleaner on white) */
.section-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(100, 116, 139, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 116, 139, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* Subtle Tech Grid pattern for Grey sections */
.section-feature::before,
.section-pilares::before,
.section-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(100, 116, 139, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 116, 139, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Tighter grid */
    opacity: 0.6;
    /* More visible */
    pointer-events: none;
    z-index: 0;
}

.feature-lead,
.bento-title,
.error-card h3 {
    color: #0F172A;
    /* Slate 900 - Darkest */
    position: relative;
    z-index: 1;
}

.feature-text,
.bento-desc,
.error-card p {
    color: #334155;
    /* Slate 700 */
    position: relative;
    z-index: 1;
}

/* =========================================
   Refinement B: Typography (Light Sections H3)
   ========================================= */
.error-card h3,
.bento-title {
    font-family: var(--font-display);
    font-weight: 700;
    /* Bold */
    font-size: 1.5rem;
    /* Increased size */
    color: var(--bg-void);
    letter-spacing: -0.02em;
}

/* =========================================
   Refinement C: Icons (Error Section)
   ========================================= */
.error-icon {
    font-size: 3.5rem;
    /* Much larger */
    color: var(--bg-void);
    /* Black/Dark */
    opacity: 1;
    /* Solid */
    margin-bottom: 1.5rem;
}

/* =========================================
   Refinement D: Form CTA (Dark Mode + Clear Inputs)
   ========================================= */
.cta-box {
    background: #0F172A;
    /* Slate 900 */
    border: 1px solid rgba(52, 211, 153, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
}

.cta-box h2 {
    color: #fff;
    font-size: 2.5rem;
}

.cta-box p {
    color: #CBD5E1;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Clearer Inputs */
.cta-box form input {
    background: #1E293B !important;
    border: 1px solid #475569 !important;
    color: #fff !important;
    font-size: 1rem;
    padding: 1.25rem !important;
    transition: all 0.3s ease;
    height: 60px;
    /* Fixed height for consistency */
    box-sizing: border-box;
}

.cta-box form input::placeholder {
    color: #94A3B8;
}

.cta-box form input:focus {
    background: #0F172A !important;
    border-color: #34D399 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

/* =========================================
   Refinement E: Hero Depth (Orbs)
   ========================================= */
/* Glow behind the main card */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

/* Additional ambient orb */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
}

/* Fix Intl-Tel-Input styling */
.iti {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
}

.iti__country-list {
    color: #000;
    z-index: 100 !important;
    border-radius: var(--radius-md);
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Input styling - Higher specificity to override general padding */
.cta-box form .iti input,
.iti input {
    height: 60px !important;
    width: 100% !important;
    background: #1E293B !important;
    border: 1px solid #475569 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 85px !important;
}

.iti__selected-flag {
    border-radius: 8px 0 0 8px !important;
    padding-left: 12px !important;
}

.iti__selected-flag:hover {
    background: #334155 !important;
}

.cta-box button.btn-primary {
    background: #34D399;
    /* Neon Green */
    color: #064E3B;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.125rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

.cta-box button.btn-primary:hover {
    background: #10B981;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.5);
    transform: translateY(-2px);
}

/* =========================================
   Refinement F: Footer (Dark Mode)
   ========================================= */
.footer {
    background: var(--bg-void) !important;
    /* Match Hero */
    color: #94A3B8;
    border-top: 1px solid var(--border-subtle);
}

.footer h4,
.footer .brand {
    color: #fff !important;
}

.footer-copy {
    border-top: 1px solid var(--border-subtle);
    color: #64748B;
}

.footer a:hover {
    color: #34D399;
    /* Neon Green Hover */
}

/* =========================================
   Floating Actions
   ========================================= */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    align-items: flex-end;
}

/* Animation Keyframes */
@keyframes floatVibration {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(1);
    font-family: var(--font-body);
    /* Continuous Animation */
    animation: floatVibration 3s ease-in-out infinite;
}

/* Stagger animation for natural feel */
.call-btn {
    animation-delay: 0s;
}

.whatsapp-btn {
    animation-delay: 1.5s;
    /* Add extra pulse to WhatsApp */
    animation: floatVibration 3s ease-in-out infinite, pulseGlow 2s infinite;
}

.float-btn i {
    font-size: 1.5rem;
}

.float-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
}

/* Hover pauses/enlarges */
.whatsapp-btn:hover,
.call-btn:hover {
    animation-play-state: paused;
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-btn:hover {
    background: #20BA56;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Call Button */
.call-btn {
    background: #0F172A;
    /* Dark Navy */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.call-btn:hover {
    background: #1E293B;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
}

/* Mobile Adjustments for Floating Buttons */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 15px;
        right: 15px;
        left: 15px;
        /* Full width container interaction area if needed, but keeping right aligned is cleaner */
        align-items: flex-end;
    }

    .float-text {
        font-size: 0.85rem;
    }

    .float-btn {
        padding: 10px 16px;
    }
}

/* =========================================
   Section 3: O Erro (Diagnóstico)
   ========================================= */
.section-error {
    background-color: #F8FAFC;
    padding: var(--space-xl) 0;
    color: var(--bg-void);
    /* Invert text for light bg */
}

.error-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.error-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.error-card:hover {
    opacity: 1;
    /* Removed opacity reduction, maybe add border color change */
    border-color: var(--bg-void);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.error-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.error-card h3 {
    color: var(--bg-void);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.error-card p {
    color: #64748B;
    font-size: 1rem;
}

/* Broken grid effect - offset second column */
.error-grid>div:nth-child(2),
.error-grid>div:nth-child(4) {
    transform: translateY(2rem);
}

@media (max-width: 768px) {
    .error-grid {
        grid-template-columns: 1fr;
    }

    .error-grid>div:nth-child(2),
    .error-grid>div:nth-child(4) {
        transform: none;
    }
}

/* =========================================
   Section 4: Os 4 Pilares (Bento Grid)
   ========================================= */
.section-pilares {
    padding: var(--space-xl) 0;
    background-color: #FFFFFF;
    color: var(--bg-void);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: var(--accent-primary);
    transform: scale(1.01);
    box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.15);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.bento-icon {
    font-size: 48px;
    color: #64748B;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.bento-card:hover .bento-icon {
    color: var(--accent-primary);
}

.bento-num {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 700;
    color: #000;
    opacity: 0.03;
    line-height: 1;
    pointer-events: none;
}

.bento-title {
    font-size: 1.5rem;
    color: var(--bg-void);
    margin-bottom: 1rem;
}

.bento-desc {
    color: #475569;
    font-size: 1rem;
    max-width: 90%;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-2 {
        grid-column: span 1;
    }
}

/* =========================================
   Section 5: Cases (Relatório Executivo)
   ========================================= */
.section-cases {
    padding: var(--space-xl) 0;
    background-color: #FFFFFF;
    color: var(--bg-void);
    border-top: 1px solid #E2E8F0;
}

.cases-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 0.5fr;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #475569;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.case-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 0.5fr;
    padding: 2rem 0;
    border-bottom: 1px solid #E2E8F0;
    align-items: center;
    transition: background 0.2s;
}

.case-row:hover {
    background: #F8FAFC;
}

.case-name {
    font-weight: 600;
    color: var(--bg-void);
}

.case-role {
    font-size: 0.875rem;
    color: #64748B;
    display: block;
}

.case-stat {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--bg-void);
}

.case-stat.positive {
    color: #059669;
}

/* Emerald 600 */
.case-stat.blue {
    color: #2563EB;
}

.case-quote {
    font-size: 1rem;
    color: #475569;
    font-style: italic;
    padding-right: 2rem;
}

.case-link {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .cases-header {
        display: none;
    }

    .case-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .case-stat {
        margin: 0.5rem 0;
    }

    .case-quote {
        padding-right: 0;
    }
}

/* =========================================
   Section 6: Manifesto
   ========================================= */
.section-manifesto {
    padding: var(--space-xl) 0;
    background-color: var(--bg-void);
    color: #fff;
    text-align: center;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-highlight {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    color: #fff;
    margin: 3rem 0;
    line-height: 1.2;
}

.manifesto-text {
    font-size: 1.25rem;
    color: #9CA3AF;
    line-height: 1.8;
}

/* =========================================
   Section 7: Filtro (Para Quem É)
   ========================================= */
.section-filtro {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.filtro-col {
    padding: var(--space-xl) var(--space-md);
    display: flex;
    justify-content: center;
}

.filtro-content {
    max-width: 500px;
    width: 100%;
}

.col-sim {
    background: #FFFFFF;
    color: var(--bg-void);
}

.col-nao {
    background: #F1F5F9;
    color: var(--bg-void);
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.icon-check {
    color: #2563EB;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-cross {
    color: #EF4444;
    /* Red */
    font-size: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .section-filtro {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Section 8: FAQ & CTA
   ========================================= */
.section-faq {
    padding: var(--space-xl) 0;
    background: #FFFFFF;
    color: var(--bg-void);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--bg-void);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #475569;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* arbitrary large num */
    padding-bottom: 1.5rem;
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA Final */
.cta-box {
    margin-top: 6rem;
    background: var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.btn-white {
    background: #fff;
    color: var(--accent-primary);
    margin-top: 2rem;
}

.btn-white:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Section 9: Footer
   ========================================= */
.footer {
    padding: 4rem 0;
    background: #FFFFFF;
    color: #64748B;
    border-top: 1px solid #E2E8F0;
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer h4 {
    color: var(--bg-void);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: var(--accent-primary);
}

.footer-copy {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   Section 10: Localização (Modern Split)
   ========================================= */
.section-map {
    background: #FFFFFF;
    padding: var(--space-xl) 0;
    border-top: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Text Column */
.location-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--bg-void);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.location-content p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.location-contacts {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--bg-void);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.contact-item:hover {
    color: var(--accent-primary);
}

/* Map Column */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
    height: 400px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    /* Subtle tech filter */
    filter: grayscale(1) contrast(1.1);
    transition: filter 0.5s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0) contrast(1);
}

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .location-content h2 {
        font-size: 2.25rem;
    }

    .map-wrapper {
        height: 300px;
    }
}

/* =========================================
   Section: Metodologia
   ========================================= */
.section-method {
    padding: var(--space-xl) 0;
    background: #F8FAFC;
    position: relative;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.method-features {
    list-style: none;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-features li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.method-features i {
    font-size: 2rem;
    color: var(--accent-primary);
    background: #E0F2FE;
    padding: 1rem;
    border-radius: var(--radius-md);
}

.method-features strong {
    display: block;
    font-size: 1.25rem;
    color: var(--bg-void);
    margin-bottom: 0.5rem;
}

.method-features p {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.6;
}

.method-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.method-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.method-image-frame:hover .method-img {
    transform: scale(1.05);
}

.method-accent {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: var(--accent-secondary);
    z-index: -1;
    filter: blur(40px);
    opacity: 0.3;
}

@media (max-width: 900px) {
    .method-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .method-visual {
        order: -1;
    }
}

/* =========================================
   Section: O Estrategista
   ========================================= */
.section-expert {
    padding: var(--space-xl) 0;
    background: #0F172A;
    /* Dark theme contrast */
    color: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.expert-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.expert-frame {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.expert-img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1) contrast(1.05);
}

.expert-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

.expert-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.expert-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #94A3B8;
    margin-bottom: 1.5rem;
}

.expert-content strong {
    color: #34D399;
    /* Neon highlight */
}

.expert-signature {
    margin-top: 3rem;
    padding-left: 2rem;
    border-left: 2px solid #34D399;
}

.expert-signature span {
    display: block;
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.expert-signature small {
    color: #64748B;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 900px) {
    .expert-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .expert-signature {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #34D399;
        padding-top: 1.5rem;
        display: inline-block;
    }

    .expert-content h2 {
        font-size: 2.25rem;
    }
}

/* =========================================
   Section: Blog index
   ========================================= */
.blog-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(rgba(10, 11, 20, 0.7), rgba(10, 11, 20, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    margin-bottom: -60px;
}

.blog-hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.blog-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
    padding: 100px 0;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(52, 211, 153, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.blog-card:hover {
    transform: translateY(-12px);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.blog-card-content .badge-tech {
    margin-bottom: 1rem;
    align-self: flex-start;
}

.blog-card-title {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.25;
    font-weight: 700;
}

.blog-card-desc {
    color: #94A3B8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.blog-card-link {
    margin-top: auto;
    color: #34D399;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero h1 {
        font-size: 2.75rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        padding: 60px 0;
    }
}