/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Palette */
    --primary-blue: #0f172a;
    /* Slate 900 - Deep Rich Navy */
    --primary-orange: #d97706;
    /* Amber 600 - Sophisticated Gold/Orange */
    --primary-yellow: #fbbf24;
    /* Amber 400 */
    --accent-gold: #b45309;
    /* Darker Gold for depth */

    --dark-blue: #020617;
    /* Slate 950 */
    --light-blue: #3b82f6;
    /* Blue 500 - for highlights */

    --green: #059669;
    /* Emerald 600 - Richer Green */
    --purple: #7c3aed;
    /* Violet 600 */

    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f8fafc;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--gray-700);
    overflow-x: hidden;
    width: 100%;
    background-color: var(--gray-50);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Coolvetica', sans-serif;
    letter-spacing: 0.02em;
}

/* Custom Font Definition */
@font-face {
    font-family: 'Coolvetica';
    src: url('https://fonts.cdnfonts.com/s/13277/coolvetica.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s ease, 
                border-color 0.4s ease,
                backdrop-filter 0.4s ease,
                box-shadow 0.4s ease;
    will-change: transform;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

/* LOGO IMAGE - CORRIGIDO */
.logo-image {
    height: 80px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    object-fit: contain;
}

.header.scrolled .logo-image {
    filter: none;
    /* Remove o filtro quando o header tem fundo */
}

/* REMOVER ESTILOS ANTIGOS DO LOGO */
.logo-icon,
.logo-text {
    display: none;
}

.nav-desktop {
    display: none;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

/* CORREÇÃO DAS CORES DOS LINKS */
.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link:hover {
    color: var(--primary-orange);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
    filter: brightness(1.1);
}

/* Shine effect */
.btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-cta:hover::after {
    left: 100%;
}

.header-contact {
    display: none;
    gap: 16px;
}

@media (min-width: 1280px) {
    .header-contact {
        display: flex;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.header.scrolled .contact-item {
    color: var(--gray-700);
}

.contact-item svg {
    width: 16px;
    height: 16px;
    color: white;
}

.header.scrolled .contact-item svg {
    color: var(--primary-blue);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 8px;
}

.header.scrolled .menu-toggle {
    color: var(--gray-900);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 16px;
    padding: 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--primary-orange);
}

.btn-mobile-cta {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    color: white;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    margin-top: 8px;
}

.mobile-contact {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.mobile-contact .contact-item {
    margin-bottom: 8px;
    color: var(--gray-700);
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .logo-image {
        height: 50px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, #1e293b, #0f172a 60%, #020617);
}

.animated-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

.shape-1 {
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background: rgba(249, 115, 22, 0.1);
}

.shape-2 {
    top: 160px;
    right: 40px;
    width: 384px;
    height: 384px;
    background: rgba(251, 191, 36, 0.1);
    animation-delay: 1s;
}

.shape-3 {
    bottom: -32px;
    left: 80px;
    width: 320px;
    height: 320px;
    background: rgba(59, 130, 246, 0.1);
    animation-delay: 0.5s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
        radial-gradient(circle, rgba(249, 115, 22, 0.15) 1.5px, transparent 1.5px);
    background-size: 60px 60px, 30px 30px;
    background-position: 0 0, 15px 15px;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 48px 0;
}


.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    opacity: 0; /* Manteve opacity 0 para o GSAP animar do zero */
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #d97706, #b45309);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
}

.hero-cta {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    color: white;
    padding: 18px 48px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
    opacity: 0;
    letter-spacing: 0.02em;
}

.hero-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
    opacity: 1; /* Garantir visibilidade para o GSAP animar os filhos */
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.arrow-scroll {
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: scrollArrow 2s infinite;
    animation-delay: 0.2s;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.section-title.white {
    color: white;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-600);
    max-width: 768px;
    margin: 0 auto;
}

.section-subtitle.white {
    color: rgba(255, 255, 255, 0.8);
}

/* Brands Section */
.brands-section {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.brand-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.brand-card:hover .brand-icon {
    transform: scale(1.1);
}

.brand-card[data-color="red"] .brand-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.brand-card[data-color="blue"] .brand-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.brand-card[data-color="green"] .brand-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.brand-card[data-color="orange"] .brand-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.brand-card[data-color="purple"] .brand-icon {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.brand-card[data-color="gray"] .brand-icon {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.brand-card[data-color="cyan"] .brand-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.brand-card[data-color="indigo"] .brand-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.brand-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    transition: color 0.3s;
}

.brand-card:hover h3 {
    color: var(--gray-700);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.stat-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-icon.green {
    background: linear-gradient(135deg, var(--green), #059669);
}

.stat-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--gray-600);
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background: white;
}

.scroll-wrapper {
    margin-bottom: 32px;
}

.scroll-hint {
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Show ONLY on touch devices */
@media (pointer: coarse) and (max-width: 768px) {
    .scroll-hint {
        display: flex;
    }
}

.scroll-hint i {
    width: 16px;
    height: 16px;
    animation: side-to-side 2s ease-in-out infinite;
}

@keyframes side-to-side {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.solutions-tabs-container {
    position: relative;
    width: 100%;
}

.solutions-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
    width: 100%;
    justify-content: center;
}

/* ... existing styles ... */

@media (max-width: 1024px) {
    /* HERO ADJUSTMENTS */
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem); /* Smaller font for mobile */
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 16px;
    }

    .hero-container {
        padding-bottom: 80px; /* Prevent feature cards from touching border */
    }

    .hero-features {
        margin-bottom: 120px; /* Extra space for the last card */
    }

    /* SOLUTIONS TABS - ROBUST GRID ARCHITECTURE */
    .solutions-tabs {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        gap: 12px;
        overflow-x: auto !important;
        justify-content: start !important;
        padding: 4px 4px 20px 4px !important; /* Extra bottom padding for scrollbar/shadow */
        margin: 0 -24px !important; /* Negative margin to scroll edge-to-edge */
        padding-left: 24px !important; /* Restore left padding */
        padding-right: 24px !important; /* Restore right padding */
        width: calc(100% + 48px) !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        mask-image: none !important; /* Remove mask to prevent confusion */
        -webkit-mask-image: none !important;
    }
    
    .solutions-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap;
        background: white;
        border: 1px solid var(--gray-200);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        height: 48px; /* Fixed height for consistency */
    }

    /* Force text visibility on mobile */
    .tab-btn span {
        display: block !important;
        font-size: 13px !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Hide the chevron on mobile to save space if needed, or keep it */
    .tab-btn svg:last-child {
        display: none !important; /* Simplify button content on mobile */
    }

    /* LOGO/IMAGE ADJUSTMENTS */
    .solution-image {
        height: 220px; /* Smaller fixed height for mobile */
        padding: 20px;
        background: white;
        border-radius: 16px;
    }
    
    .solution-panel {
        gap: 32px;
    }
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px; /* Pill shape */
    border: 1px solid var(--gray-200);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--gray-700);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: fit-content;
}

.tab-btn span {
    display: block;
    font-size: 14px;
    overflow: visible;
    text-overflow: clip;
}

.tab-btn:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--gray-300);
}

.tab-btn.active {
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) scale(1.02);
    border: none;
}

.tab-btn.active[data-tab="epi"] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.tab-btn.active[data-tab="solda"] {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.tab-btn.active[data-tab="industrial"] {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
}

.solutions-content {
    position: relative;
    padding-top: 10px;
}

.solution-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .solution-panel {
        grid-template-columns: 1fr 1fr;
    }
    
    .solutions-tabs {
        justify-content: center; /* Center on desktop */
    }
}

.solution-panel.active {
    display: grid;
    animation: fadeInScale 0.5s ease-out forwards;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.solution-icon {
    display: inline-flex;
    padding: 12px;
    border-radius: 16px;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.solution-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.solution-icon.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.solution-icon.purple {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
}

.solution-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.solution-text p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--gray-700);
    transition: transform 0.3s;
}

.features-list li:hover {
    transform: translateX(8px);
}

.features-list svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
}

.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.solution-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.solution-cta.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.solution-cta.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.solution-cta.purple {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
}

.solution-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    width: 100%;
    background: white; /* White background for logos */
    height: 400px; /* Fixed height container for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.solution-image img {
    width: auto;
    height: auto;
    max-width: 95%; /* Increased from 80% */
    max-height: 95%; /* Increased from 80% */
    display: block;
    object-fit: contain;
    transition: transform 0.7s;
}

.solution-image:hover img {
    transform: scale(1.1);
}

.floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}


.stat-left {
    bottom: -24px;
    left: -24px;
}

.stat-right {
    top: -24px;
    right: -24px;
}

.stat-icon-small {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-icon-small.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-icon-small.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.stat-icon-small.purple {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
}

.stat-icon-small.green {
    background: linear-gradient(135deg, var(--green), #059669);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--gray-900);
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-50), white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text p {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.8;
}

.text-orange {
    color: var(--primary-orange);
}

.text-blue {
    color: var(--primary-blue);
}

.text-green {
    color: var(--green);
}

.text-purple {
    color: var(--purple);
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    margin-top: 24px;
}

.about-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.4);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    width: 100%;
    background: transparent;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.7s;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s;
}

.floating-badge:hover {
    transform: rotate(0deg) !important;
}

.badge-left {
    top: -24px;
    left: -24px;
    transform: rotate(3deg);
}

.badge-right {
    bottom: -24px;
    right: -24px;
    transform: rotate(-3deg);
}

@media (max-width: 1024px) {
    .floating-badge,
    .floating-stat {
        display: none !important;
    }
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-icon.green {
    background: linear-gradient(135deg, var(--green), #059669);
}

.badge-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.badge-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--gray-900);
}

.badge-subtitle {
    font-size: 12px;
    color: var(--gray-600);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.about-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.about-stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    transition: transform 0.3s;
}

.about-stat:hover .about-stat-icon {
    transform: scale(1.1);
}

.about-stat h3 {
    font-size: 32px;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.about-stat p {
    color: var(--gray-600);
    font-weight: 500;
}

.values-section {
    text-align: center;
}

.values-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.values-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 768px;
    margin: 0 auto 48px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.value-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.value-icon.green {
    background: linear-gradient(135deg, var(--green), #059669);
}

.value-icon.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.value-card h4 {
    font-size: 20px;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.faq-question i {
    width: 20px;
    height: 20px;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--gray-600);
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 80px 0;
    background: radial-gradient(circle at top right, #1e293b, #0f172a 60%, #020617);
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(40px);
}

.contact-shape.shape-1 {
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background: rgba(249, 115, 22, 0.1);
    animation: pulse 4s ease-in-out infinite;
}

.contact-shape.shape-2 {
    bottom: 80px;
    right: 40px;
    width: 384px;
    height: 384px;
    background: rgba(59, 130, 246, 0.1);
    animation: pulse 4s ease-in-out infinite 1s;
}

.contact-container {
    position: relative;
    z-index: 10;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.contact-form-wrapper, .contact-info-card {
    min-width: 0; /* Permite que o flexbox/grid encolha o item */
    overflow-wrap: break-word;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
}

.form-status {
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.form-status.hidden {
    display: none;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    color: var(--gray-900);
    background: white;
}

.form-group textarea {
    resize: none;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    position: relative;
    overflow: hidden;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.4);
    filter: brightness(1.1);
}

.form-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.form-submit:hover:not(:disabled)::after {
    left: 100%;
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 24px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    transition: background 0.3s;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-info-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.contact-info-icon.green {
    background: linear-gradient(135deg, var(--green), #059669);
}

.contact-info-icon.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
}

.contact-info-icon.purple {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
}

.contact-info-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.contact-info-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    height: 256px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 32px;
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--primary-orange);
    margin-bottom: 16px;
}

.map-placeholder h4 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: rgba(255, 255, 255, 0.9);
}

.map-placeholder span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Footer */
.footer {
    position: relative;
    background: var(--gray-900);
    color: white;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(40px);
}

.footer-shape.shape-1 {
    top: 0;
    left: 0;
    width: 288px;
    height: 288px;
    background: rgba(59, 130, 246, 0.1);
}

.footer-shape.shape-2 {
    bottom: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background: rgba(249, 115, 22, 0.1);
}

.footer-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    flex-shrink: 0;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: bold;
}

.footer-logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon.blue {
    background: rgba(59, 130, 246, 0.2);
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
    color: #60a5fa;
}

.footer-contact-icon.green {
    background: rgba(16, 185, 129, 0.2);
}

.footer-contact-icon.green svg {
    color: #6ee7b7;
}

.footer-contact-icon.orange {
    background: rgba(249, 115, 22, 0.2);
}

.footer-contact-icon.orange svg {
    color: #fdba74;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-services {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.hours-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
}

.hours-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.hours-icon.purple {
    background: rgba(139, 92, 246, 0.2);
}

.hours-icon svg {
    width: 16px;
    height: 16px;
    color: #c4b5fd;
}

.hours-title {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
}

.hours-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-cta {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.4);
    filter: brightness(1.1);
}

.footer-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.footer-cta:hover::after {
    left: 100%;
}

.footer-bottom {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom-left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-left p {
        text-align: left;
    }
}

.footer-small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 4px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-cert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.cert-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.scroll-top {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.scroll-top:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-top:hover svg {
    color: white;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Novas cores para os ícones de soluções */
.solution-icon.green {
    background: linear-gradient(135deg, var(--green), #059669);
}

.solution-icon.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.solution-cta.green {
    background: linear-gradient(135deg, var(--green), #059669);
}

.solution-cta.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stat-icon-small.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Estilo para os novos botões de tab */
.tab-btn.active[data-tab="consumiveis"] {
    background: linear-gradient(135deg, var(--green), #059669);
}

.tab-btn.active[data-tab="calcados"] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Animação sutil para o botão Solicitar Orçamento */
.hero-cta {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 12px 28px rgba(249, 115, 22, 0.5);
    }
}

/* Para garantir que o hover ainda funcione */
.hero-cta:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
}

/* ===================================
   FORM VALIDATION STYLES
   =================================== */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.field-error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideDown 0.3s ease-out;
}

.field-error::before {
    content: '⚠';
    font-size: 16px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   MICRO-ANIMATIONS & RIPPLE EFFECTS
   =================================== */
.btn-cta,
.hero-cta,
.solution-cta,
.form-submit,
.about-cta,
.footer-cta {
    position: relative;
    overflow: hidden;
}

.btn-cta::before,
.hero-cta::before,
.solution-cta::before,
.form-submit::before,
.about-cta::before,
.footer-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:active::before,
.hero-cta:active::before,
.solution-cta:active::before,
.form-submit:active::before,
.about-cta:active::before,
.footer-cta:active::before {
    width: 300px;
    height: 300px;
}

/* Card Hover Lift Effect */
.brand-card,
.stat-card,
.feature-card,
.value-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-card:hover,
.stat-card:hover,
.feature-card:hover,
.value-card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* ===================================
   IMPROVED RESPONSIVENESS
   =================================== */

/* Mobile optimizations */
@media (max-width: 768px) {
    *, ::before, ::after {
        max-width: 100%;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
    }

    img, svg {
        max-width: 100%;
        height: auto;
    }

    .container {
        padding: 0 15px; /* Reduzido para 15px para ganhar espaço em telas de 320px */
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 3rem; /* Aumento expressivo para visibilidade total */
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-card {
        padding: 24px 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    @media (pointer: coarse) {
        .scroll-hint {
            display: flex;
        }
    }

    .solutions-tabs-container::after {
        content: '';
        position: absolute;
        top: 0;
        right: -15px; /* Alinhado com o padding do container */
        width: 60px;
        height: 100%;
        background: linear-gradient(to right, transparent, white);
        pointer-events: none;
        z-index: 5;
    }

    .solutions-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 20px 20px 0; /* Mais padding à direita para o fade */
        margin-bottom: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .solutions-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        padding: 14px 22px;
        font-size: 13px;
    }

    .solution-panel {
        gap: 24px;
    }

    .solution-image, .about-image {
        width: 100%;
        min-height: auto !important;
    }

    .solution-image img, .about-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 400px !important;
    }

    .solution-text h3 {
        font-size: 24px;
    }

    .solution-text p {
        font-size: 16px;
    }

    .floating-stat, .floating-badge {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        top: auto;
        margin-top: 20px;
        transform: none !important;
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 16px; /* Reduzido de 20px para 16px */
        border-radius: 20px;
    }

    .contact-info-card h3 {
        font-size: 20px; /* Reduzido de 24px */
        margin-bottom: 20px;
    }

    .contact-info-item p {
        font-size: 15px;
        word-break: break-word; /* Garante que e-mails longos não quebrem o layout */
    }

    .contact-info-card {
        padding: 20px 16px; /* Reduzido de 32px para 16px nas laterais */
        border-radius: 20px;
    }

    .contact-info-item {
        padding: 12px 8px; /* Reduzido para economizar espaço horizontal */
        gap: 12px;
    }

    .contact-form {
        gap: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 0; /* Padding vertical reduzido */
    }

    /* Ajustes específicos para telas muito pequenas como iPhone SE (320px) */
    @media (max-width: 375px) {
        .container {
            padding: 0 12px;
        }

        .contact-form-wrapper, 
        .contact-info-card {
            padding: 12px;
            border-radius: 16px;
        }

        .contact-info-item {
            padding: 8px 4px;
            gap: 10px;
        }

        .contact-info-icon {
            width: 40px;
            height: 40px;
        }

        .contact-info-item p {
            font-size: 14px;
        }

        .section-title {
            font-size: 2.5rem; /* Tamanho grande mesmo em telas pequenas */
        }

        .form-submit {
            padding: 14px 20px;
            font-size: 15px;
            width: 100%; /* Botão ocupa largura total no SE */
        }

        .footer-logo h3 {
            font-size: 18px;
        }

        .footer-description {
            font-size: 14px;
        }
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-bg {
        background: #000;
    }

    .section-title,
    .hero-title {
        color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   LOADING STATES
   =================================== */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form submit loading state */
.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

/* GPU acceleration for animations */
.feature-card,
.brand-card,
.stat-card,
.value-card,
.solution-panel {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {

    .header,
    .scroll-progress,
    .scroll-top,
    .mobile-menu,
    .menu-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero-bg,
    .contact-bg,
    .footer-bg {
        background: none;
    }
}