/**
 * Prophetique - Stylesheet Principal
 * Design minimalista profissional corporativo
 * Paleta de cores extraída da logo fornecida
 */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais da logo */
    --color-navy-dark: #1a2332;
    --color-navy: #2d3e50;
    --color-gold: #c9a961;
    --color-gold-light: #d4b76f;
    --color-gray-light: #e8eaed;
    --color-white: #ffffff;
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 0 20px rgba(201, 169, 97, 0.3);
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-navy-dark);
    color: var(--color-gray-light);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
#custom-cursor,
#custom-cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

#custom-cursor {
    width: 10px;
    height: 10px;
    background-color: var(--color-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

#custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    z-index: 9998;
    transition: width 0.1s ease;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    position: relative;
    text-align: center;
}

.loading-logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.1));
    animation: loadingPulse 2s ease-in-out infinite;
}

.loading-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 2px solid #1a2332;
    border-radius: 50%;
    opacity: 0;
    animation: pulseExpand 2s ease-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

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

a:hover {
    color: var(--color-gold-light);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(26, 35, 50, 0.06);
    padding: var(--spacing-sm) 0;
}

#main-header.hidden {
    transform: translateY(-100%);
}

#main-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-md);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu li a {
    color: #1a2332;
    font-weight: 600;
    font-size: 0.95rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-menu li a:hover {
    color: #c9a961;
    background-color: rgba(201, 169, 97, 0.08);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1a2332;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: #ffffff;
}

.hero-white-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.hero-geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(30deg, #1a2332 12%, transparent 12.5%, transparent 87%, #1a2332 87.5%, #1a2332),
        linear-gradient(150deg, #1a2332 12%, transparent 12.5%, transparent 87%, #1a2332 87.5%, #1a2332),
        linear-gradient(30deg, #1a2332 12%, transparent 12.5%, transparent 87%, #1a2332 87.5%, #1a2332),
        linear-gradient(150deg, #1a2332 12%, transparent 12.5%, transparent 87%, #1a2332 87.5%, #1a2332);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.hero-gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-gradient-orbs::before,
.hero-gradient-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-gradient-orbs::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #c9a961, transparent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-gradient-orbs::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #1a2332, transparent);
    bottom: -100px;
    left: -100px;
    animation-delay: 10s;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: var(--spacing-md);
}

.hero-logo-container {
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 1s ease-out;
}

.hero-main-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
    animation: logoFloat 6s ease-in-out infinite;
}

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

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-main-text {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: #1a2332;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-secondary-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #5a6c7d;
    font-weight: 500;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}.hero-cta-dark {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #1a2332, #2d3e50);
    color: #ffffff;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(26, 35, 50, 0.2);
    text-decoration: none;
    border: 2px solid transparent;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 35, 50, 0.3);
    border-color: #c9a961;
    background: linear-gradient(135deg, #2d3e50, #1a2332);
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(26, 35, 50, 0.05);
    border: 1px solid rgba(26, 35, 50, 0.1);
    border-radius: var(--radius-md);
    color: #2d3e50;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.trust-badge:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: #c9a961;
    transform: translateY(-2px);
}

.trust-badge svg {
    color: #c9a961;
}ransform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.button-arrow {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.hero-cta:hover .button-arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.scroll-arrow {
    color: var(--color-gold);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========================================
   SECTION STYLES
   ======================================== */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-white), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: var(--spacing-lg);
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-gray-light);
    font-weight: 500;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    background-color: var(--color-navy-dark);
    padding: 0;
    overflow: hidden;
    margin-top: 150px; /* Adiciona espaçamento superior para separar da seção anterior */
}

.services-section .container {
    padding: 0;
}

.services-section .section-header {
    padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-4xl) var(--spacing-xl); /* Aumenta o padding inferior para maior espaçamento */
    text-align: center;
    background: linear-gradient(180deg, var(--color-navy-dark) 0%, rgba(26, 35, 50, 0.95) 100%);
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}

.services-section .section-title {
    font-size: 2.8rem;
    margin-bottom: var(--spacing-md);
}

.services-section .section-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Services Slider Wrapper */
.services-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto; /* Remove margin-top, o espaçamento será controlado pelo padding do header */
    padding: 0;
}

/* Services Slider Container */
.services-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* Individual Service Slide */
.service-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

/* Service Image with Diagonal Clip */
.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 1;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.7), rgba(45, 62, 80, 0.8));
    z-index: 1;
}

/* Service Content Wrapper */
.service-content-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    z-index: 2;
    background: linear-gradient(90deg, transparent 0%, var(--color-navy-dark) 15%, var(--color-navy-dark) 100%);
}

/* Service Content */
.service-content {
    max-width: 600px;
    padding: var(--spacing-xl);
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    text-align: left;
}

.service-description {
    color: var(--color-gray-light);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: left;
    opacity: 0.95;
}

/* Service Navigation Arrows - Minimalist Style */
.service-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 100;
    color: var(--color-gold);
    opacity: 0.8;
}

.service-arrow svg {
    width: 50px;
    height: 50px;
    stroke-width: 1.5;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all var(--transition-fast);
}

.service-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}

.service-arrow:hover svg {
    filter: drop-shadow(0 4px 12px rgba(201, 169, 97, 0.6));
}

.service-arrow-prev {
    left: 30px;
}

.service-arrow-next {
    right: 30px;
}

/* Service Line Indicators - Elegant Style */
.service-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 100;
}

.service-dot {
    width: 50px;
    height: 2px;
    border-radius: 0;
    background: rgba(201, 169, 97, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.service-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-dot:hover {
    background: rgba(201, 169, 97, 0.5);
}

.service-dot.active {
    background: var(--color-gold);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.8);
}

.service-dot.active::before {
    width: 100%;
}



/* ========================================
   INDUSTRIES SECTION
   ======================================== */

.industries-section {
    background-color: var(--color-navy-dark);
    padding: var(--spacing-xl) 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.industry-card {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid rgba(201, 169, 97, 0.2);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.92) 0%, rgba(45, 62, 80, 0.88) 100%);
    transition: all var(--transition-normal);
    z-index: 1;
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(45, 62, 80, 0.75) 100%);
}

.industry-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.15);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    color: var(--color-gold);
    transition: all var(--transition-normal);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(201, 169, 97, 0.25);
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.4);
}

.industry-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 50px rgba(201, 169, 97, 0.3);
}

.industry-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.industry-description {
    font-size: 1rem;
    color: var(--color-gray-light);
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   DIFFERENTIALS SECTION
   ======================================== */

.differentials-section {
    background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.differential-card {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(201, 169, 97, 0.15);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
}

.differential-card:hover {
    border-color: var(--color-gold);
    background: rgba(201, 169, 97, 0.08);
    box-shadow: 0 10px 40px rgba(201, 169, 97, 0.2);
    transform: translateY(-8px);
}

.differential-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    filter: grayscale(0) brightness(1.1);
}

.differential-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.differential-card p {
    color: var(--color-gray-light);
    line-height: 1.7;
    opacity: 0.9;
    text-align: center;
    font-size: 0.95rem;
}

/* ========================================
   CASES SECTION
   ======================================== */

.cases-section {
    background-color: var(--color-navy-dark);
    padding: var(--spacing-xl) 0;
}

/* Slider Wrapper */
.cases-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: var(--spacing-xl) auto 0;
    padding: 0 80px;
}

/* Slider Container */
.cases-slider {
    position: relative;
    width: 100%;
    min-height: 550px;
    overflow: hidden;
}

/* Individual Slide */
.case-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out;
}

.case-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

/* Case Card */
.case-card {
    position: relative;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(45, 62, 80, 0.5));
    border-radius: var(--radius-lg);
    border: 2px solid rgba(201, 169, 97, 0.3);
    overflow: hidden;
    min-height: 500px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(201, 169, 97, 0.15);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
    color: var(--color-gold);
}

.slider-arrow:hover {
    background: rgba(201, 169, 97, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.4);
}

.slider-arrow-prev {
    left: 0;
}

.slider-arrow-next {
    right: 0;
}

/* Dots Indicator */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.3);
    border: 2px solid rgba(201, 169, 97, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(201, 169, 97, 0.5);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: scale(1.3);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.92), rgba(45, 62, 80, 0.88));
    z-index: 1;
    transition: opacity var(--transition-normal);
}

.case-card:hover .case-overlay {
    opacity: 0.95;
}

.case-content-wrapper {
    position: relative;
    z-index: 2;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.case-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--color-gold);
    color: var(--color-navy-dark);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.case-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.case-section {
    position: relative;
}

.case-label {
    font-size: 0.9rem;
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.case-text {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    line-height: 1.6;
}

.case-result {
    padding: var(--spacing-sm);
    background: rgba(201, 169, 97, 0.1);
    border-left: 3px solid var(--color-gold);
    border-radius: var(--radius-sm);
}



/* ========================================
   EXCLUSIVE SECTION
   ======================================== */

.exclusive-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-navy-dark) 0%, #0a0e1a 100%);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.exclusive-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.exclusive-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--color-gold), transparent),
        radial-gradient(2px 2px at 60% 70%, var(--color-gold), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--color-gold), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--color-gold), transparent),
        radial-gradient(2px 2px at 90% 60%, var(--color-gold), transparent);
    background-size: 200% 200%;
    animation: particlesFloat 20s ease-in-out infinite;
}

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

.exclusive-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.15), transparent 70%);
    filter: blur(80px);
    animation: glowPulse 8s ease-in-out infinite;
}

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

.exclusive-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-lg);
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-md);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(201, 169, 97, 0); }
}

.exclusive-badge svg {
    animation: lockShake 2s ease-in-out infinite;
}

@keyframes lockShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.exclusive-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.exclusive-title .highlight {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.exclusive-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.exclusive-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-gray-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exclusive-description strong {
    color: var(--color-gold);
    font-weight: 600;
}

.exclusive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.exclusive-card {
    position: relative;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.exclusive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.exclusive-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 8px 32px rgba(201, 169, 97, 0.3);
}

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

.card-lock {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.1);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    color: var(--color-gold);
    transition: all var(--transition-normal);
}

.exclusive-card:hover .card-lock {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}

.exclusive-card h3 {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.exclusive-card p {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.card-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.85rem;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

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

.exclusive-cta-wrapper {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.4) 0%, rgba(26, 35, 50, 0.2) 100%);
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.exclusive-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
}

.stat-value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(201, 169, 97, 0.4);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(201, 169, 97, 0.5), transparent);
    border-radius: 2px;
}
.exclusive-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.exclusive-disclaimer svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.exclusive-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.4);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.exclusive-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.exclusive-cta:hover::before {
    left: 100%;
}

.exclusive-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.exclusive-cta svg {
    transition: transform var(--transition-fast);
}

.exclusive-cta:hover svg {
    transform: translateX(5px);
}

/* ========================================
   FOOTER
   ======================================== */

#main-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(26, 35, 50, 0.08);
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-company-label {
    font-size: 0.65rem;
    color: #8a9ba8;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-logo {
    max-width: 120px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: #2d3e50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 35, 50, 0.05);
    color: #2d3e50;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-gold);
    color: #ffffff;
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 35, 50, 0.05);
    border: 1px solid rgba(26, 35, 50, 0.2);
    border-radius: 50%;
    color: #2d3e50;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: #1a2332;
    color: #ffffff;
    border-color: #1a2332;
    transform: translateY(-3px);
}.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
    font-size: 0.8rem;
    color: #8a9ba8;
}

.footer-bottom p {
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-badges span {
    font-size: 0.7rem;
    color: #8a9ba8;
    padding: 4px 10px;
    background: rgba(26, 35, 50, 0.04);
    border-radius: 4px;
    font-weight: 500;
}

.footer-legal a {
    color: var(--color-gray-light);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-gold);
}

/* ========================================
   MAGNETIC BUTTON EFFECT
   ======================================== */

.magnetic-button {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    /* Services Slider Mobile Adjustments */
    .service-image {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 85%);
    }
    
    .service-content-wrapper {
        width: 100%;
        top: auto;
        bottom: 0;
        height: 40%;
        background: linear-gradient(180deg, transparent 0%, var(--color-navy-dark) 20%, var(--color-navy-dark) 100%);
        padding: var(--spacing-md);
    }
    
    .service-content {
        padding: var(--spacing-md);
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    /* Services Section Header Mobile */
    .services-section .section-header {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .services-section .section-title {
        font-size: 2rem;
    }
    
    .services-section .section-subtitle {
        font-size: 1rem;
    }
    
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    

}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    :root {
        --spacing-xs: 0.4rem;
        --spacing-sm: 0.8rem;
        --spacing-md: 1.2rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    html {
        font-size: 15px;
    }
    
    body {
        cursor: auto;
    }
    
    #custom-cursor,
    #custom-cursor-follower {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(26, 35, 50, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-section {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        padding: var(--spacing-xl) 0; /* Volta ao padding original, vamos ajustar a logo individualmente */
    }
    
    .hero-content {
        padding: var(--spacing-lg) var(--spacing-md); /* Aumenta o padding geral do conteúdo da hero */
    }
    
    .hero-main-logo {
        max-width: 240px;
        margin-top: -40px; /* Sobe a logo para o header, aproveitando a transparência */
    }
    
    .hero-logo-container {
        margin-bottom: var(--spacing-lg); /* Aumenta o espaçamento abaixo da logo */
    }
    
    .hero-main-text {
        font-size: clamp(1.6rem, 6.5vw, 2.6rem); /* Aumenta um pouco o título principal */
        margin-bottom: var(--spacing-sm);
        text-align: center;
    }
    
    .hero-secondary-text {
        font-size: clamp(0.85rem, 2.7vw, 1.05rem); /* Reduz ainda mais o tamanho da fonte */
        text-align: center;
        padding: 0 var(--spacing-md); /* Aumenta o padding para mais espaço nas laterais */
    }
    
    .hero-cta,
    .submit-button,
    .nav-menu li a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .case-card {
        min-height: 400px;
    }
    
    .differential-card,
    .industry-card {
        padding: var(--spacing-md);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    /* Services Slider Mobile */
    .service-arrow {
        width: 45px;
        height: 45px;
    }
    
    .service-arrow-prev {
        left: 15px;
    }
    
    .service-arrow-next {
        right: 15px;
    }
    
    .service-dots {
        bottom: 20px;
    }
    
    .service-dot {
        width: 10px;
        height: 10px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    /* About Section Mobile */
    .about-section {
        padding: var(--spacing-2xl) 0; /* Ajusta o padding da seção 'Sobre' */
        margin-top: -2px; /* Remove a linha aparente do corte diagonal */
    }
    
    .about-section .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }
    
    .about-section .section-text {
        font-size: clamp(1rem, 3vw, 1.1rem);
        line-height: 1.7;
    }
    
    /* Services Section Mobile */
    .services-section {
        margin-top: 80px; /* Reduz o espaçamento superior no mobile */
    }
    
    .services-section .section-header {
        padding: var(--spacing-lg) var(--spacing-md) var(--spacing-xl) var(--spacing-md);
    }
    
    .services-section .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .services-section .section-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    .service-content {
        padding: var(--spacing-lg);
    }
    
    .service-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .service-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.6;
    }
    
    .cases-slider-wrapper {
        padding: 0 60px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .cases-slider {
        min-height: 480px;
    }
    
    .case-card {
        min-height: 400px;
        padding: var(--spacing-lg);
    }
    
    /* Mobile Slider Adjustments */
    .cases-slider-wrapper {
        padding: 0 50px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .slider-dots {
        margin-top: var(--spacing-md);
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Exclusive section mobile */
    .exclusive-grid {
        grid-template-columns: 1fr;
    }
    
    .exclusive-stats {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1px auto auto 1px auto auto;
        gap: var(--spacing-sm);
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
        grid-column: 1;
    }
    
    .stat-value {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .exclusive-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* Desktop Wide (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* ========================================
   LAZY LOADING & PERFORMANCE
   ======================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"]:not(.footer-logo) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.footer-logo {
    opacity: 1 !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   ANIMATIONS & UTILITIES
   ======================================== */

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
}

.slide-up.animate {
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Print Styles */
@media print {
    #loading-screen,
    #scroll-progress,
    #custom-cursor,
    #custom-cursor-follower,
    #main-header,
    .scroll-indicator {
        display: none;
    }
}




/* ========================================
   MOBILE-SPECIFIC ENHANCEMENTS
   ======================================== */

/* Touch-friendly interactions */
@media (max-width: 767px) {
    /* Prevent text selection on interactive elements */
    .differential-card,
    .case-card,
    button,
    a {
        -webkit-tap-highlight-color: rgba(201, 169, 97, 0.2);
        -webkit-touch-callout: none;
    }
    
    /* Improve scroll performance */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better mobile typography */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Mobile-optimized sections */
    section {
        padding: var(--spacing-lg) 0;
    }
    
    /* Larger touch targets for form inputs */
    input,
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
    
    /* Optimize images for mobile */
    .hero-background {
        background-attachment: scroll; /* Better performance than fixed */
        background-size: cover;
    }
    
    /* Simplify animations on mobile */
    .differential-card:hover,
    .case-card:hover {
        transform: translateY(-4px); /* Reduced movement */
    }
    
    /* Mobile-friendly cards */
    .differential-card,
    .industry-card {
        margin-bottom: var(--spacing-sm);
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .industry-card {
        min-height: 280px;
    }
    
    .industry-icon {
        width: 64px;
        height: 64px;
    }
    
    .industry-name {
        font-size: 1.3rem;
    }
    
    .industry-description {
        font-size: 0.95rem;
    }
    
    /* Improve readability */
    .about-paragraph,
    .service-description,
    .differential-description,
    .case-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Mobile hero adjustments */
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        line-height: 1.4;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-md);
    }
    
    /* Mobile CTA buttons */
    .hero-cta,
    .submit-button {
        width: 100%;
        max-width: 320px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
    
    /* Mobile stats */
    .stat-number {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Mobile footer */
    .footer-grid {
        text-align: center;
    }
    
    .footer-brand,
    .footer-column {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Hide particles on mobile for performance */
    #particles-canvas {
        display: none;
    }
    
    /* Simplify grid pattern animation */
    .grid-pattern {
        animation: none;
        opacity: 0.5;
    }
}

/* Small mobile devices (< 375px) */
@media (max-width: 374px) {
    :root {
        --spacing-xs: 0.3rem;
        --spacing-sm: 0.6rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-main-logo {
        max-width: 200px;
    }
    
    .stat-card {
        padding: var(--spacing-md);
    }
}

/* Landscape mobile orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}




/* Wave Transitions */
.hero-wave-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 5;
    line-height: 0;
}

.hero-wave-transition svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-wave-transition {
    position: relative;
    width: 100%;
    height: 120px;
    line-height: 0;
    margin-top: -1px;
}

.footer-wave-transition svg {
    width: 100%;
    height: 100%;
    display: block;
}



