/* ===============================================
   EQUILÍBRIO AMBIENTAL - Modern Website Styles
   =============================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Brand Colors (Logo) */
    --primary-50: #e6e9f5;
    --primary-100: #ccd3eb;
    --primary-200: #99a7d7;
    --primary-300: #667bc3;
    --primary-400: #334faf;
    --primary-500: #000045;
    --primary-600: #00003a;
    --primary-700: #00002e;
    --primary-800: #000023;
    --primary-900: #000017;

    /* Blue Colors - Accent */
    --blue-50: #e6f2ff;
    --blue-100: #cce5ff;
    --blue-200: #99cbff;
    --blue-300: #66b1ff;
    --blue-400: #3397ff;
    --blue-500: #007bff;
    --blue-600: #0062cc;
    --blue-700: #004a99;
    --blue-800: #003366;
    --blue-900: #001b33;

    /* Neutral Colors */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #000045 0%, #003366 100%);
    --gradient-blue: linear-gradient(135deg, #007bff 0%, #0062cc 100%);
    --gradient-dark: linear-gradient(180deg, #000045 0%, #000023 100%);
    --gradient-hero: linear-gradient(135deg, #000045 0%, #007bff 50%, #003366 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 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 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--neutral-800);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header - Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 69, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: all var(--transition-normal);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all var(--transition-normal);
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color var(--transition-normal);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #000045, #007bff);
}

.btn-acesso-sigma {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #000045, #007bff);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 69, 0.3);
}

.btn-acesso-sigma:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 69, 0.4);
    background: linear-gradient(135deg, #007bff, #000045);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--neutral-800);
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000045 0%, #007bff 50%, #003366 100%);
    opacity: 0.08;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-xl);
    color: var(--neutral-900);
}

.title-line {
    display: block;
}

.title-line:first-child {
    background: linear-gradient(135deg, #000045, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line:last-child {
    background: linear-gradient(135deg, #999, #000045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--primary-600);
    color: white;
}

.hero-video {
    animation: fadeInRight 1s ease;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: #000;
    height: 315px; /* Mesma altura do site oficial */
}

.video-player {
    width: 100%;
    height: 315px; /* Mesma altura do site oficial */
    display: block;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.video-wrapper:hover .video-info {
    opacity: 1;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
}

.video-author {
    font-size: 0.875rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--neutral-600);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--neutral-400);
    border-radius: var(--radius-full);
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--neutral-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* Statistics Section */
.stats-section {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 69, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 123, 255, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: white;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-500);
    margin-bottom: var(--spacing-sm);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 1rem;
    color: var(--neutral-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Styles */
.section {
    padding: var(--spacing-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.section-title.animate-in::after {
    width: 100%;
}

.title-decoration {
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.section-header.animate-in .title-decoration {
    width: 80px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-top: var(--spacing-md);
}

/* News Feed - Instagram Style */
.news-feed-wrapper {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-md) 0;
}

.news-grid {
    display: flex;
    gap: var(--spacing-xl);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: var(--spacing-md) var(--spacing-sm);
}

.news-grid::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 400px;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    scroll-snap-align: start;
    border: 1px solid rgba(0, 0, 69, 0.05);
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 69, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.news-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 69, 0.02), rgba(0, 123, 255, 0.02));
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.95);
}

.news-card:hover .news-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4));
    opacity: 0.7;
    transition: opacity var(--transition-normal);
}

.news-card:hover .news-overlay {
    opacity: 0.3;
}

/* Feed Navigation */
.feed-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
    color: var(--primary-500);
}

.feed-nav:hover {
    background: var(--primary-500);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 69, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.feed-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.feed-nav.prev {
    left: -24px;
}

.feed-nav.next {
    right: -24px;
}

.feed-nav svg {
    width: 24px;
    height: 24px;
}

/* Feed Progress Indicator */
.feed-progress {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neutral-300);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.progress-dot:hover {
    background: var(--neutral-400);
    transform: scale(1.2);
}

.progress-dot.active {
    background: var(--primary-500);
    width: 24px;
    border-radius: var(--radius-full);
}

/* Instagram-like interaction effects */
.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.news-card:active::after {
    opacity: 1;
}

/* Smooth cursor change for draggable feed */
.news-grid {
    cursor: grab;
    user-select: none;
}

.news-grid:active {
    cursor: grabbing;
}

.news-content {
    padding: var(--spacing-xl);
    position: relative;
}

.news-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--spacing-xl);
    width: 40px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: all var(--transition-normal);
}

.news-card:hover .news-content::before {
    opacity: 1;
    width: 60px;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
    line-height: 1.4;
    transition: color var(--transition-normal);
}

.news-card:hover .news-content h3 {
    color: var(--primary-500);
}

.news-content p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-link {
    color: #007bff;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color var(--transition-normal);
}

.news-link:hover {
    color: #000045;
}

.news-date {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* Empresa Section */
.empresa {
    background: linear-gradient(to bottom, white, var(--neutral-50));
}

.empresa-text {
    max-width: 900px;
    margin: 0 auto;
}

.empresa-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--neutral-700);
    margin-bottom: var(--spacing-lg);
}

.empresa-list {
    list-style: none;
    margin: var(--spacing-xl) 0;
}

.empresa-list li {
    display: flex;
    align-items: start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.empresa-list svg {
    width: 24px;
    height: 24px;
    color: #007bff;
    flex-shrink: 0;
    margin-top: 2px;
}

.empresa-list span {
    font-size: 1rem;
    color: var(--neutral-700);
}

.empresa-mission {
    background: linear-gradient(135deg, rgba(0, 0, 69, 0.05), rgba(0, 123, 255, 0.05));
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border-left: 4px solid #000045;
    margin: var(--spacing-xl) 0;
}

.empresa-crea {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.empresa-crea svg {
    width: 24px;
    height: 24px;
    color: #000045;
}

.empresa-crea span {
    font-weight: 600;
    color: var(--neutral-800);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.service-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: #007bff;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--spacing-md);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* Special Services */
.special-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.special-service-card {
    position: relative;
    min-height: 350px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    transition: all var(--transition-normal);
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.special-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25), 0 0 0 2px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.4);
}

.special-service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.special-service-card:hover .special-service-bg {
    transform: scale(1.05);
}

.special-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(16, 185, 129, 0.05) 0%,
            rgba(16, 185, 129, 0.1) 40%,
            rgba(0, 0, 69, 0.3) 80%,
            rgba(0, 0, 69, 0.65) 100%);
    transition: all var(--transition-normal);
}

.special-service-card:hover .special-service-overlay {
    background: linear-gradient(180deg,
            rgba(16, 185, 129, 0.15) 0%,
            rgba(0, 123, 255, 0.2) 40%,
            rgba(0, 0, 69, 0.4) 80%,
            rgba(0, 0, 69, 0.75) 100%);
}

.special-service-content {
    padding: var(--spacing-2xl) var(--spacing-xl);
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
    background: linear-gradient(to top,
            rgba(0, 0, 69, 0.25) 0%,
            rgba(16, 185, 129, 0.15) 50%,
            transparent 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.special-service-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(16, 185, 129, 0.3);
    letter-spacing: -0.02em;
}

.special-service-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* SIGMA Section */
.sigma-section {
    background: var(--gradient-dark);
    color: white;
    padding: var(--spacing-4xl) 0;
}

.sigma-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.sigma-map {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.sigma-map img {
    width: 100%;
    height: auto;
}

.sigma-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.sigma-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--neutral-700);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-xl);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: white;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.portfolio-info p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Portfolio Modal */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.portfolio-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: var(--spacing-3xl);
    border-radius: var(--radius-2xl);
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-image {
    width: 40%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 0 auto var(--spacing-lg);
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    max-height: 200px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    font-size: 2rem;
    font-weight: 300;
    color: var(--neutral-600);
    cursor: pointer;
    transition: color var(--transition-normal);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-500);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--spacing-md);
    padding-right: var(--spacing-3xl);
    background: linear-gradient(135deg, #000045, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--neutral-700);
}

/* Project Info Styles */
.project-info {
    max-height: 400px;
    overflow-y: auto;
    padding-right: var(--spacing-sm);
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--neutral-700);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--neutral-200);
}

.project-metadata {
    background: var(--neutral-50);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.project-metadata h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.project-metadata p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: var(--spacing-xs) 0;
    color: var(--neutral-800);
}

.project-metadata strong {
    color: var(--neutral-900);
    font-weight: 600;
}

.project-details {
    margin-top: var(--spacing-md);
}

.project-details p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--neutral-700);
    margin: var(--spacing-xs) 0;
    padding-left: var(--spacing-sm);
}

/* Clientes */
.clientes {
    background: var(--neutral-50);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.cliente-logo {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.cliente-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cliente-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-placeholder {
    font-weight: 600;
    color: var(--neutral-600);
    text-align: center;
}

/* Aceleração */
.aceleracao-content {
    max-width: 900px;
    margin: 0 auto var(--spacing-3xl);
}

.aceleracao-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--neutral-700);
    margin-bottom: var(--spacing-lg);
    text-align: justify;
}

.aceleracao-logos {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    flex-wrap: wrap;
}

.aceleracao-logo {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aceleracao-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Equipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.team-member {
    text-align: center;
}

.member-photo {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    background: linear-gradient(135deg, rgba(0, 0, 69, 0.05), rgba(0, 123, 255, 0.05));
}

.team-member:hover .member-photo {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 69, 0.2), 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.team-member:hover .member-overlay {
    opacity: 0.2;
}

.team-member h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--spacing-sm);
}

.member-role {
    font-size: 0.9375rem;
    color: #007bff;
    font-weight: 500;
}

/* Contato */
.contato {
    background: linear-gradient(to bottom, white, var(--neutral-50));
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
}

.contato-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--spacing-xl);
}

.info-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: #007bff;
    flex-shrink: 0;
}

.info-item p {
    font-size: 0.9375rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.contato-form {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contato-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contato-form button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.contato-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: var(--spacing-2xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-left p {
    font-size: 0.9375rem;
    opacity: 0.8;
}

.footer-right {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.footer-right a {
    font-size: 0.9375rem;
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

.footer-right a:hover {
    opacity: 1;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(12px);
    }
}

/* Responsive Design */

/* ========================================
   TABLET STYLES (max-width: 968px)
   ======================================== */
@media (max-width: 968px) {

    /* Container adjustments */
    .container {
        padding: 0 var(--spacing-md);
    }

    /* Navigation */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-2xl);
        display: none;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        padding: var(--spacing-md);
        opacity: 0;
        transform: translateY(20px);
        animation: navLinkFadeIn 0.4s ease forwards;
    }

    .nav.active .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav.active .nav-link:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav.active .nav-link:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav.active .nav-link:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav.active .nav-link:nth-child(5) {
        animation-delay: 0.3s;
    }

    .nav.active .nav-link:nth-child(6) {
        animation-delay: 0.35s;
    }

    .nav.active .nav-link:nth-child(7) {
        animation-delay: 0.4s;
    }

    .nav.active .nav-link:nth-child(8) {
        animation-delay: 0.45s;
    }

    @keyframes navLinkFadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .btn-acesso-sigma {
        font-size: 1rem;
        padding: 1rem 2rem;
        margin-top: var(--spacing-lg);
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

    .mobile-toggle span {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero Section */
    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: var(--spacing-3xl);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-video {
        order: 2;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

    /* Sections */
    .section {
        padding: var(--spacing-3xl) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-2xl);
    }

    .sigma-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .sigma-text h3 {
        font-size: 1.75rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .section-title {
        font-size: 2rem;
    }

    .special-services {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .special-service-card {
        min-height: 300px;
    }

    /* Team */
    .team-grid {
        gap: var(--spacing-xl);
    }

    .member-photo {
        width: 200px;
        height: 200px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .footer-right {
        justify-content: center;
    }
}

/* ========================================
   MOBILE STYLES (max-width: 640px)
   ======================================== */
@media (max-width: 640px) {

    /* Root adjustments for mobile */
    html {
        font-size: 15px;
    }

    /* Header */
    .header .container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .logo-img {
        height: 40px;
    }

    /* Hero */
    .hero {
        padding-top: 65px;
        padding-bottom: var(--spacing-2xl);
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        /* Touch-friendly minimum height */
        min-height: 48px;
    }

    /* Sections spacing */
    .section {
        padding: var(--spacing-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-card h3 {
        font-size: 1.125rem;
    }

    .service-card p {
        font-size: 0.875rem;
    }

    /* Special Services */
    .special-services {
        margin-top: var(--spacing-2xl);
    }

    .special-service-card {
        min-height: 250px;
    }

    .special-service-content {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .special-service-content h3 {
        font-size: 1.25rem;
    }

    .special-service-content p {
        font-size: 0.8125rem;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .portfolio-filters {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-xl);
    }

    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
        min-height: 40px;
    }

    .portfolio-item {
        aspect-ratio: 16/10;
    }

    /* News Feed Mobile */
    .news-card {
        flex: 0 0 300px;
    }

    .news-image {
        height: 280px;
    }

    .news-content {
        padding: var(--spacing-lg);
    }

    .feed-nav {
        width: 36px;
        height: 36px;
    }

    .feed-nav svg {
        width: 20px;
        height: 20px;
    }

    .feed-nav.prev {
        left: 8px;
    }

    .feed-nav.next {
        right: 8px;
    }

    .news-content h3 {
        font-size: 1.0625rem;
        margin-bottom: var(--spacing-sm);
    }

    .news-content p {
        font-size: 0.875rem;
    }

    .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    /* Empresa */
    .empresa-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .empresa-list li {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .empresa-list svg {
        width: 20px;
        height: 20px;
    }

    .empresa-list span {
        font-size: 0.9375rem;
    }

    .empresa-mission {
        padding: var(--spacing-lg);
    }

    .empresa-crea {
        padding: var(--spacing-md);
    }

    .empresa-crea svg {
        width: 20px;
        height: 20px;
    }

    .empresa-crea span {
        font-size: 0.9375rem;
    }

    /* SIGMA */
    .sigma-section {
        padding: var(--spacing-2xl) 0;
    }

    .sigma-text h3 {
        font-size: 1.5rem;
    }

    .sigma-text p {
        font-size: 1rem;
    }

    /* Clientes */
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .cliente-logo {
        padding: var(--spacing-lg);
        min-height: 100px;
    }

    .cliente-logo img {
        max-height: 60px;
    }

    /* Aceleração */
    .aceleracao-content p {
        font-size: 0.9375rem;
    }

    .aceleracao-logos {
        gap: var(--spacing-xl);
    }

    .aceleracao-logo {
        min-width: 200px;
        padding: var(--spacing-xl);
    }

    .aceleracao-logo img {
        max-height: 70px;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .team-member h3 {
        font-size: 1rem;
    }

    .member-role {
        font-size: 0.8125rem;
    }

    .member-photo {
        width: 140px;
        height: 140px;
    }

    /* Contato */
    .contato-info h3 {
        font-size: 1.25rem;
    }

    .info-item {
        gap: var(--spacing-md);
    }

    .info-item svg {
        width: 20px;
        height: 20px;
    }

    .info-item p {
        font-size: 0.875rem;
    }

    .contato-form {
        padding: var(--spacing-xl);
    }

    .contato-form input,
    .contato-form textarea {
        padding: var(--spacing-md);
        font-size: 1rem;
        /* Touch-friendly */
        min-height: 48px;
    }

    .contato-form textarea {
        min-height: 120px;
    }

    .contato-form button {
        min-height: 52px;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0;
    }

    .footer-left p {
        font-size: 0.8125rem;
    }

    .footer-right {
        gap: var(--spacing-md);
    }

    .footer-right a {
        font-size: 0.8125rem;
    }

    /* Scroll to top */
    .scroll-top {
        width: 44px;
        height: 44px;
        right: var(--spacing-md);
        bottom: var(--spacing-md);
    }

    .scroll-top svg {
        width: 20px;
        height: 20px;
    }

    /* Modal */
    .modal-content {
        padding: var(--spacing-xl);
        margin: var(--spacing-md);
        width: calc(100% - var(--spacing-2xl));
    }

    .modal-content h3 {
        font-size: 1.375rem;
        padding-right: var(--spacing-2xl);
    }

    .modal-content p {
        font-size: 1rem;
    }

    .modal-image {
        max-height: 250px;
    }

    .modal-close {
        top: var(--spacing-md);
        right: var(--spacing-md);
        font-size: 1.5rem;
    }
}

/* ========================================
   SMALL MOBILE STYLES (max-width: 400px)
   ======================================== */
@media (max-width: 400px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-photo {
        width: 180px;
        height: 180px;
    }

    .clientes-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        flex: 0 0 280px;
    }

    .news-image {
        height: 240px;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects for touch devices */
    .service-card:hover,
    .portfolio-item:hover,
    .news-card:hover,
    .special-service-card:hover,
    .team-member:hover .member-photo,
    .cliente-logo:hover {
        transform: none;
    }

    /* Always show portfolio overlay on touch */
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    }

    /* Enhance touch feedback */
    .btn-primary:active,
    .btn-secondary:active,
    .filter-btn:active,
    .feed-nav:active,
    .nav-link:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* Increase touch targets */
    .filter-btn {
        min-height: 44px;
    }

    .nav-link {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .news-link {
        padding: var(--spacing-sm);
        margin: calc(-1 * var(--spacing-sm));
    }
}

/* ========================================
   LANDSCAPE MOBILE ORIENTATION
   ======================================== */
@media (max-width: 968px) and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        display: none;
    }

    .nav {
        padding: var(--spacing-lg);
    }

    .nav-link {
        font-size: 1.125rem;
    }
}

/* ========================================
   HIGH DPI / RETINA DISPLAYS
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Ensure crisp borders and shadows */
    .service-card,
    .news-card,
    .portfolio-item,
    .contato-form {
        border-width: 0.5px;
    }
}

/* ========================================
   REDUCED MOTION PREFERENCE
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Uncomment below to enable dark mode */
    /*
    :root {
        --neutral-50: #1a1a2e;
        --neutral-100: #16213e;
        --neutral-200: #1f3a5f;
        --neutral-700: #e2e8f0;
        --neutral-800: #f1f5f9;
        --neutral-900: #f8fafc;
    }
    
    body {
        background-color: #0f0f23;
        color: #f8fafc;
    }
    */
}