/* ===============================================
   CARTÃO VISITA.AO - MODERN STYLE CSS
   Design moderno e profissional para 2025
   =============================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Modern Design */
:root {
    /* Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Modern Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--bg-gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
}

/* Modern Navigation */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.navbar-nav a {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.navbar-nav a:hover {
    color: var(--primary-color);
    background: var(--gray-50);
}

/* Hero Section - Background HTML Dinâmico Melhorado */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: heroGradientMove 20s ease infinite;
    z-index: -3;
}

/* Decoração do Hero */
.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Círculos Flutuantes do Hero */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    filter: blur(40px);
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -50px;
    animation: heroFloat1 25s ease-in-out infinite;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -30px;
    animation: heroFloat2 20s ease-in-out infinite reverse;
    background: radial-gradient(circle, rgba(246, 211, 101, 0.3) 0%, rgba(246, 211, 101, 0.05) 100%);
}

.hero-circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 20%;
    animation: heroFloat3 18s ease-in-out infinite;
}

@keyframes heroFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -80px) scale(1.1); }
    66% { transform: translate(-30px, -100px) scale(0.9); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-80px, 50px) rotate(180deg); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -60px); }
}

/* Formas Geométricas do Hero */
.hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 15%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: heroSpin 30s linear infinite;
}

.hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 10%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 50%);
    animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.9; }
}

/* Ondas SVG do Hero */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: -1;
    animation: heroWaveMove 15s ease-in-out infinite;
}

@keyframes heroWaveMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(200px); }
}

@keyframes heroGradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Destaque no Título */
.hero-title-highlight {
    color: #fbbf24;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.5), 0 0 60px rgba(251, 191, 36, 0.3);
    animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { text-shadow: 0 0 30px rgba(251, 191, 36, 0.5), 0 0 60px rgba(251, 191, 36, 0.3); }
    100% { text-shadow: 0 0 50px rgba(251, 191, 36, 0.8), 0 0 100px rgba(251, 191, 36, 0.5); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-8);
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
    font-weight: 800;
    margin-bottom: var(--space-6);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: heroTitleSlide 1s ease-out;
}

@keyframes heroTitleSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: 400;
    margin-bottom: var(--space-8);
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features-section {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
}

.feature-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: var(--text-3xl);
    color: white;
    box-shadow: var(--shadow-lg);
}

.feature-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
    padding: var(--space-24) 0;
    background: white;
}

.portfolio-filters {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-3) var(--space-6);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--gray-600);
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.portfolio-item {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Portfolio Preview Styles */
.portfolio-preview {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-preview svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(1) contrast(1.1) saturate(1.1);
}

.portfolio-item:hover .portfolio-preview svg {
    transform: scale(1.05);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: var(--space-6);
}

.portfolio-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.portfolio-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--primary-color);
    color: white;
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

/* About Section */
.about-section {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-text h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    color: var(--gray-900);
}

.about-text p {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.about-image {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Stats Section - Background HTML Dinâmico */
.stats-section {
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
}

.stat-item {
    padding: var(--space-6);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-2);
    display: block;
}

.stat-label {
    font-size: var(--text-lg);
    opacity: 0.9;
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.pricing-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Mais Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
}

.pricing-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.pricing-price {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.pricing-period {
    color: var(--gray-500);
    font-size: var(--text-base);
}

.pricing-features {
    list-style: none;
    margin: var(--space-8) 0;
}

.pricing-features li {
    padding: var(--space-2) 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.pricing-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: white;
}

.form-input {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-section h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-2);
}

.footer-section a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--space-8);
    text-align: center;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-4);
    }
    
    .feature-card,
    .pricing-card {
        padding: var(--space-6);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Bootstrap Compatibility - apenas container, sem sobrescrever grid do Bootstrap */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Navigation Modern Styles */
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    z-index: 1000;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-button span {
    width: 100%;
    height: 3px;
    background: var(--gray-700);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }
}

/* Portfolio Actions */
.portfolio-actions {
    margin-top: var(--space-4);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
    font-weight: 500;
    background: var(--gray-200);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    margin-left: var(--space-2);
}

/* Additional Utility Classes */
.w-full { width: 100%; }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: white;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Loading Spinner - forçamos oculto por padrão */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all var(--transition-normal) !important;
}

#loader.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-6);
}

.form-control {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Contact Section */
.contact-section {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: white;
}

.form-input {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* =====================================
   Fixes: Galeria, Novidades & Parceiros
   ===================================== */

/* Modern Testimonials - Background HTML Dinâmico */
.testimonial-section-modern {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.testimonial-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    z-index: -2;
}

.testimonial-section-modern::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(246, 211, 101, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Elementos Decorativos Dinâmicos */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

/* Círculos Flutuantes */
.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0.6;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: floatCircle 15s ease-in-out infinite;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation: floatCircle 20s ease-in-out infinite reverse;
}

.decoration-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 15%;
    animation: floatCircle 12s ease-in-out infinite;
}

@keyframes floatCircle {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(20px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

/* Hexágonos Flutuantes */
.hexagon {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    opacity: 0.4;
}

.decoration-4 {
    top: 15%;
    right: 15%;
    animation: rotateHexagon 25s linear infinite;
}

@keyframes rotateHexagon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Triângulos */
.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.3;
}

.decoration-4.triangle {
    border-width: 0 60px 120px 60px;
    border-color: transparent transparent rgba(255, 255, 255, 0.15) transparent;
    top: 40%;
    left: 10%;
    animation: spinTriangle 18s linear infinite;
}

@keyframes spinTriangle {
    0% { transform: rotate(0deg) translateX(0); }
    100% { transform: rotate(360deg) translateX(50px); }
}

/* Ondas */
.wave {
    position: absolute;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    opacity: 0.4;
}

.decoration-3.wave {
    bottom: 0;
    animation: waveMove 10s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(100px); }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: var(--space-6);
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.testimonial-author {
    margin-top: auto;
}

.author-name {
    font-weight: 600;
    font-size: var(--text-lg);
    color: white;
    margin-bottom: var(--space-2);
}

.author-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-base);
}

@media (max-width: 991px) {
    .testimonial-card {
        margin-bottom: var(--space-6);
    }
}

/* Latest News - 3 colunas responsivas */
#latest-news .latest-post {
    margin-bottom: var(--space-6);
}

/* Partners Grid - 4 colunas responsivas */
#partner .row .col-md-3 {
    margin-bottom: var(--space-4);
}

/* Portfolio Modal Styles - Novo Design Simplificado */
.portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.portfolio-modal-container {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 95%;
    max-height: 85vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.portfolio-modal-overlay.active .portfolio-modal-container {
    transform: scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gray-700);
    transition: all 0.2s ease;
    z-index: 1001;
}

.portfolio-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.portfolio-modal-content {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

/* Demo Content Styles - Simplificado */
.modal-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.modal-demo-preview {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
}

.modal-demo-preview h4 {
    margin-bottom: 20px;
    color: var(--gray-900);
    font-size: 18px;
}

.card-preview-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-preview {
    width: 280px;
    height: 160px;
    border-radius: 12px;
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.card-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.card-info {
    flex: 1;
}

.card-name {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: 0;
}

.card-body {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.contact-item i {
    width: 16px;
    text-align: center;
    opacity: 0.8;
}

.card-footer {
    margin-top: var(--space-4);
}

.social-links {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
}

.social-links a {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Demo Details Styles */
.modal-demo-details h3 {
    color: var(--gray-900);
    margin-bottom: 10px;
    font-size: 24px;
}

.modal-demo-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.modal-demo-description {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
}

.modal-demo-features-title {
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.modal-demo-features {
    list-style: none;
    margin-bottom: 30px;
}

.modal-demo-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.modal-demo-features li i {
    color: var(--success-color);
    font-weight: bold;
}

.modal-demo-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-demo-actions .btn {
    flex: 1;
    min-width: 220px;
}

/* Modal Open Body Style */
body.modal-open {
    overflow: hidden;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .portfolio-modal-container {
        width: 98%;
        max-height: 90vh;
        margin: 10px;
    }
    
    .portfolio-modal-content {
        padding: 25px;
    }
    
    .modal-demo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .card-preview {
        width: 100%;
        max-width: 300px;
        height: 140px;
    }
    
    .modal-demo-actions {
        flex-direction: column;
    }
    
    .modal-demo-actions .btn {
        min-width: auto;
        width: 100%;
    }
    
    .portfolio-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

