﻿/* ==========================================================================
   CSS VANGUARD - Landing Page Institucional Premium
   ========================================================================== */

        /* --- 1. VARIABLES (Design System) --- */
        :root {
            /* Colors */
            --color-primary: #0f172a;
            /* Dark Blue/Slate */
            --color-primary-light: #1e293b;
            --color-accent: #2563eb;
            /* Royal Blue */
            --color-accent-hover: #1d4ed8;
            --color-secondary: #f8fafc;
            /* Off white bg */
            --color-text: #334155;
            /* Base text */
            --color-title: #0f172a;
            /* Headings */
            --color-white: #ffffff;
            --color-border: #e2e8f0;

            /* Typography */
            --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
            --font-heading: 'Outfit', 'Inter', sans-serif;

            /* Spacings */
            --space-xs: 0.5rem;
            /* 8px */
            --space-sm: 1rem;
            /* 16px */
            --space-md: 1.5rem;
            /* 24px */
            --space-lg: 2.5rem;
            /* 40px */
            --space-xl: 4rem;
            /* 64px */
            --space-xxl: 6rem;
            /* 96px */

            /* Transitions & Shadows */
            --transition-fast: 0.2s ease;
            --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

            /* Border Radius */
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1.5rem;
        }

        /* --- 2. RESET & BASE --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            color: var(--color-text);
            background-color: var(--color-white);
            line-height: 1.6;
            font-size: 16px;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-heading);
            color: var(--color-title);
            line-height: 1.2;
            font-weight: 700;
        }

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

        ul {
            list-style: none;
        }

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

        /* --- 3. UTILITIES & LAYOUT --- */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--space-md);
        }

        .section-padding {
            padding: var(--space-xxl) 0;
        }

        .text-center {
            text-align: center;
        }

        .text-white {
            color: var(--color-white) !important;
        }

        .text-light {
            color: #cbd5e1 !important;
        }

        .bg-light {
            background-color: var(--color-secondary);
        }

        .bg-dark {
            background-color: var(--color-primary);
        }

        .mt-4 {
            margin-top: var(--space-lg);
        }

        /* --- 4. COMPONENTS - BUTTONS --- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-md);
            font-weight: 500;
            cursor: pointer;
            transition: all var(--transition-normal);
            border: 2px solid transparent;
        }

        .btn-large {
            padding: 1rem 2rem;
            font-size: 1.125rem;
            min-height: 48px;
        }

        .btn-primary {
            background-color: var(--color-accent);
            color: var(--color-white);
        }

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

        .btn-secondary {
            background-color: var(--color-primary-light);
            color: var(--color-white);
        }

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

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

        .btn-outline.border-white {
            border-color: var(--color-white);
        }

        .btn-outline.hover-light:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--color-white);
            transform: translateY(-2px);
        }

        /* --- 5. HEADER (Sticky) --- */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid transparent;
            transition: all var(--transition-normal);
        }

        .header.scrolled {
            border-bottom: 1px solid var(--color-border);
            padding: var(--space-xs) 0;
            box-shadow: var(--shadow-sm);
        }

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

        .logo-text {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-primary);
        }

        .logo-dot {
            color: var(--color-accent);
        }
        .site-logo {
            display: block;
            width: auto;
            object-fit: contain;
        }

        .header-logo {
            height: 53px;
        }

        .footer-logo {
            height: 34px;
            filter: brightness(0) invert(1);
        }

        .methodology-logo {
            display: inline-block;
            height: 1.22em;
            margin-left: 0.28em;
            vertical-align: -0.06em;
            transform: translateY(8px);
        }

        .nav-list {
            display: flex;
            gap: var(--space-md);
        }

        .nav-link {
            color: var(--color-text);
            font-weight: 500;
            font-size: 0.95rem;
            position: relative;
        }

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

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: var(--color-accent);
            transition: width var(--transition-fast);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--color-primary);
        }

        /* --- 6. HERO SECTION --- */
        .hero {
            padding-top: 140px;
            /* Account for sticky header */
            padding-bottom: var(--space-xxl);
            background: var(--color-primary);
            position: relative;
            overflow: hidden;
        }

        /* Fullscreen video background */
        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            pointer-events: none;
        }

        /* Dark overlay for readability */
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 20, 40, 0.72);
            z-index: 1;
        }

        .hero-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-xl);
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .kpi-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background-color: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(8px);
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
            box-shadow: var(--shadow-sm);
            margin-bottom: var(--space-md);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .badge-icon {
            width: 16px;
            height: 16px;
            color: var(--color-accent);
        }

        .hero-title {
            font-size: 4rem;
            letter-spacing: -0.02em;
            margin-bottom: var(--space-md);
            color: var(--color-white);
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: var(--space-lg);
            max-width: 540px;
        }

        .hero-actions {
            display: flex;
            gap: var(--space-sm);
            flex-wrap: wrap;
        }

        .hero-actions .btn {
            padding: 0.65rem 1.35rem;
            min-height: 42px;
            font-size: 1rem;
        }

        .hero-actions .btn-large {
            padding: 0.75rem 1.5rem;
            min-height: 40px;
            font-size: 1rem;
        }

        /* Hero Abstract Image / Card */
        .hero-image-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .abstract-shape {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            z-index: 1;
        }

        .shape-1 {
            width: 300px;
            height: 300px;
            background-color: rgba(37, 99, 235, 0.2);
            top: 10%;
            right: 10%;
        }

        .shape-2 {
            width: 200px;
            height: 200px;
            background-color: rgba(15, 23, 42, 0.1);
            bottom: 20%;
            left: 20%;
        }

        .glass-card {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: var(--radius-lg);
            width: 80%;
            box-shadow: var(--shadow-xl);
        }

        .glass-header {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.85rem 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        }

        .glass-header .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .dot.red {
            background-color: #ef4444;
        }

        .dot.yellow {
            background-color: #facc15;
        }

        .dot.green {
            background-color: #22c55e;
        }

        .glass-body {
            padding: var(--space-md);
        }

        .chart-bar {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.75rem;
            align-items: end;
            height: 120px;
            margin-bottom: var(--space-md);
        }

        .chart-bar .bar {
            width: 100%;
            border-radius: var(--radius-md);
            background: linear-gradient(180deg, rgba(37, 99, 235, 0.7), rgba(59, 130, 246, 0.2));
        }

        .chart-bar .bar-1 {
            height: 40%;
        }

        .chart-bar .bar-2 {
            height: 65%;
        }

        .chart-bar .bar-3 {
            height: 80%;
        }

        .chart-bar .bar-4 {
            height: 95%;
            background: linear-gradient(180deg, #22c55e, rgba(34, 197, 94, 0.2));
            box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
        }

        .glass-stats {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .stat-circle {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(37, 99, 235, 0.12);
            color: var(--color-accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            box-shadow: inset 0 0 12px rgba(37, 99, 235, 0.2);
        }

        .stat-text {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-primary);
        }

        .stat-label {
            color: var(--color-text);
        }


        /* --- 7. CLIENTS LOGOS (Marquee style) --- */
        .clients {
            padding: var(--space-xl) 0;
            border-bottom: 1px solid var(--color-border);
            background-color: var(--color-white);
        }

        .clients-carousel-container {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding: 1rem 0;
        }

        .clients-carousel {
            overflow: hidden;
            position: relative;
            width: 100%;
        }

        .clients-carousel::before,
        .clients-carousel::after {
            content: '';
            position: absolute;
            top: 0;
            width: 150px;
            height: 100%;
            z-index: 2;
        }

        .clients-carousel::before {
            left: 0;
            background: linear-gradient(to right, white, transparent);
        }

        .clients-carousel::after {
            right: 0;
            background: linear-gradient(to left, white, transparent);
        }

        .logo-track {
            display: flex;
            width: max-content;
            will-change: transform;
        }

        .carousel-right-left .logo-track {
            animation: scrollLogosRightLeft 35s linear infinite;
        }

        .carousel-left-right .logo-track {
            animation: scrollLogosLeftRight 35s linear infinite;
        }

        .client-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 0.9rem;
            width: 124px;
            height: 52px;
            flex: 0 0 auto;
            transition: transform var(--transition-normal);
        }

        .client-logo img {
            width: 102px;
            height: 34px;
            object-fit: contain;
            opacity: 0.72;
            filter: grayscale(100%) brightness(0.92);
            transition: transform var(--transition-normal), filter var(--transition-normal), opacity var(--transition-normal);
        }

        .client-logo:hover {
            transform: scale(1.08);
        }

        .client-logo:hover img {
            opacity: 1;
            filter: grayscale(0%) brightness(0.45);
            transform: scale(1.18);
        }

         .client-logo.logo-gerdau img {
            width: 126px;
            height: 40px;
            opacity: 0.72;
            filter: grayscale(100%) brightness(0.92);
        }

        .client-logo.logo-schmersal img {
            width: 112px;
            height: 30px;
            opacity: 0.88;
            filter: grayscale(100%) brightness(0.18);
        }

        .client-logo.logo-gerdau:hover img {
            filter: none;
            opacity: 1;
            transform: scale(1.14);
        }

        .client-logo.logo-schmersal:hover img {
            filter: grayscale(0%) brightness(0.08);
            opacity: 1;
            transform: scale(1.14);
        }

        @keyframes scrollLogosRightLeft {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes scrollLogosLeftRight {
            0% {
                transform: translateX(-50%);
            }

            100% {
                transform: translateX(0);
            }
        }

        /* --- 8. SOLUTIONS --- */
        .section-header {
            max-width: 600px;
            margin: 0 auto var(--space-xl);
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: var(--space-sm);
        }

        .section-desc {
            font-size: 1.125rem;
            color: var(--color-text);
        }

        .solutions-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--space-md);
        }

        .solution-card {
            background-color: var(--color-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--color-border);
            transition: transform var(--transition-normal), box-shadow var(--transition-normal);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .solution-card.modern {
            border: none;
            box-shadow: var(--shadow-md);
        }

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

        .card-image-header {
            height: 200px;
            background-size: cover;
            background-position: center;
            width: 100%;
        }

        .card-content {
            padding: var(--space-lg);
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            background: var(--color-white);
        }

        .card-icon-wrapper {
            width: 64px;
            height: 64px;
            background-color: var(--color-secondary);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: var(--space-md);
            color: var(--color-accent);
        }

        .card-icon-wrapper.mini {
            width: 48px;
            height: 48px;
            background-color: var(--color-accent);
            color: var(--color-white);
            position: absolute;
            top: -24px;
            right: 32px;
            border: 4px solid var(--color-white);
            border-radius: 50%;
            box-shadow: var(--shadow-sm);
        }

        .card-icon-wrapper.mini i {
            width: 20px;
            height: 20px;
        }

        .card-icon {
            width: 32px;
            height: 32px;
        }

        .card-title {
            font-size: 1.5rem;
            margin-bottom: var(--space-sm);
            margin-top: 0.5rem;
        }

        .card-text {
            margin-bottom: var(--space-md);
            color: #475569;
            flex-grow: 1;
        }

        .card-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            margin-top: auto;
        }

        .card-link:hover {
            gap: 0.75rem;
        }

        /* --- 9. METHODOLOGY --- */
        .methodology {
            border-top: 1px solid var(--color-border);
            border-bottom: 1px solid var(--color-border);
        }

        .centered-timeline {
            width: 100%;
        }

        .timeline-row {
            display: flex;
            justify-content: space-between;
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            padding: var(--space-md) 0;
        }

        .timeline-row::before {
            content: '';
            position: absolute;
            top: 36px;
            /* align with dot center */
            left: 40px;
            right: 40px;
            height: 3px;
            background: linear-gradient(90deg, transparent 0%, var(--color-border) 10%, var(--color-border) 90%, transparent 100%);
            z-index: 1;
        }

        .timeline-item {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            width: 180px;
        }

        .timeline-dot {
            width: 48px;
            height: 48px;
            background-color: var(--color-white);
            border: 3px solid var(--color-accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: var(--space-sm);
            font-weight: 700;
            color: var(--color-accent);
            font-size: 1.125rem;
            box-shadow: 0 0 0 4px var(--color-secondary);
            transition: all var(--transition-normal);
        }

        .timeline-item:hover .timeline-dot {
            background-color: var(--color-accent);
            color: var(--color-white);
            transform: scale(1.1);
        }

        .timeline-content h4 {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
            color: var(--color-primary);
        }

        .timeline-content p {
            font-size: 0.9rem;
            color: #64748b;
            line-height: 1.4;
        }

        .frameworks-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--space-md);
            margin-top: var(--space-xl);
        }

        .framework-card {
            background-color: var(--color-white);
            padding: var(--space-md);
            border-radius: var(--radius-md);
            border: 1px solid var(--color-border);
            text-align: center;
            transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
            transform-origin: center center;
        }

        .framework-card:hover {
            transform: scale(1.06);
            box-shadow: var(--shadow-lg);
            border-color: rgba(37, 99, 235, 0.35);
        }

        .fw-icon {
            display: inline-flex;
            padding: 0.75rem;
            background-color: rgba(37, 99, 235, 0.1);
            color: var(--color-accent);
            border-radius: 50%;
            margin-bottom: var(--space-sm);
        }

        .text-link {
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .text-link:hover {
            text-decoration: underline;
        }

        /* --- 10. TECH, DATA & AI --- */
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--space-md);
        }

        .tech-card {
            background-color: var(--color-primary-light);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            transition: transform var(--transition-fast);
        }

        .modern-tech .visual-card {
            position: relative;
            overflow: hidden;
            min-height: 420px;
            border: none;
            display: flex;
            align-items: flex-end;
            height: auto;
        }

        .modern-tech .visual-card:hover {
            transform: translateY(-10px);
        }

        .tech-bg-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 1;
            transition: transform 0.5s ease;
        }

        .visual-card:hover .tech-bg-img {
            transform: scale(1.05);
        }

        .tech-content-overlay {
            position: relative;
            z-index: 2;
            width: 100%;
            padding: var(--space-lg);
            background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0) 100%);
        }

        .tech-icon {
            color: #60a5fa;
            margin-bottom: var(--space-sm);
            display: inline-flex;
            padding: 12px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 12px;
        }

        .tech-card svg {
            width: 32px;
            height: 32px;
        }

        .tech-title {
            color: var(--color-white);
            margin-bottom: var(--space-xs);
            font-size: 1.5rem;
        }

        .tech-text {
            color: #cbd5e1;
        }

        .tech-feature-list {
            margin-top: var(--space-sm);
            display: grid;
            gap: 0.35rem;
        }

        .tech-feature-list li {
            list-style: none;
            font-size: 0.95rem;
            color: #e2e8f0;
            display: flex;
            gap: 0.35rem;
            align-items: flex-start;
        }

        .tech-feature-list li::before {
            content: "•";
            color: #60a5fa;
            font-weight: 700;
            line-height: 1;
            margin-top: 2px;
        }


        /* --- 11. TESTIMONIALS --- */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: var(--space-lg);
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.32s ease, transform 0.32s ease;
            will-change: opacity, transform;
        }

        .testimonials-grid.is-fading {
            opacity: 0;
            transform: translateY(8px);
        }

        .testimonials-rotator {
            position: relative;
        }

        .testimonials-controls {
            display: flex;
            justify-content: flex-end;
            gap: var(--space-sm);
            margin-bottom: var(--space-md);
        }

        .testimonial-arrow {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            border: 1px solid var(--color-border);
            background: var(--color-white);
            color: var(--color-primary);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all var(--transition-fast);
            box-shadow: var(--shadow-sm);
        }

        .testimonial-arrow:hover {
            background: var(--color-accent);
            color: var(--color-white);
            border-color: var(--color-accent);
            transform: translateY(-1px);
        }

        .testimonial-arrow svg {
            width: 18px;
            height: 18px;
        }

        @keyframes testimonialFade {
            from {
                opacity: 0;
                transform: translateY(4px);
            }

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

        .testimonial-card {
            background-color: var(--color-white);
            padding: var(--space-lg);
            border-radius: var(--radius-lg);
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid var(--color-border);
            box-shadow: var(--shadow-sm);
            transition: transform var(--transition-normal);
        }

        .testimonial-card.is-hidden {
            display: none;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .quote-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: var(--space-md);
        }

        .quote-icon {
            color: rgba(37, 99, 235, 0.15);
        }

        .quote-icon svg {
            width: 48px;
            height: 48px;
        }

        .testimonial-photo {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--color-secondary);
            box-shadow: var(--shadow-sm);
        }

        .testimonial-text {
            font-style: italic;
            font-size: 1.125rem;
            margin-bottom: var(--space-lg);
            color: #475569;
            flex-grow: 1;
            line-height: 1.7;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            border-top: 1px solid var(--color-border);
            padding-top: var(--space-md);
        }

        .author-info h4 {
            margin-bottom: 2px;
            font-size: 1.125rem;
            color: var(--color-primary);
        }

        .author-info span {
            font-size: 0.875rem;
            color: #64748b;
            font-weight: 500;
        }

        /* --- 12. CTA FINAL --- */
        .cta-final {
            background-color: var(--color-white);
        }

        .cta-box {
            background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a8a 100%);
            border-radius: var(--radius-xl);
            padding: var(--space-xl);
            text-align: center;
            color: var(--color-white);
            box-shadow: var(--shadow-xl);
        }

        .cta-title {
            color: var(--color-white);
            font-size: 2.5rem;
            margin-bottom: var(--space-sm);
        }

        .cta-desc {
            font-size: 1.25rem;
            color: #e2e8f0;
            margin-bottom: var(--space-lg);
        }

        .cta-actions {
            display: flex;
            justify-content: center;
            gap: var(--space-md);
            flex-wrap: wrap;
            margin-top: var(--space-sm);
        }

        .cta-form {
            max-width: 760px;
            margin: 0 auto;
        }

        .cta-form-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: var(--space-md);
            margin-bottom: var(--space-sm);
        }

        .cta-field {
            text-align: left;
        }

        .cta-field label {
            display: block;
            margin-bottom: 0.35rem;
            font-size: 0.95rem;
            color: #dbeafe;
            font-weight: 600;
        }

        .cta-field input {
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(255, 255, 255, 0.16);
            color: var(--color-white);
            border-radius: var(--radius-md);
            padding: 0.8rem 0.95rem;
            outline: none;
            transition: border-color var(--transition-fast), background var(--transition-fast);
        }

        .cta-field input::placeholder {
            color: #cbd5e1;
        }

        .cta-field input:focus {
            border-color: rgba(255, 255, 255, 0.85);
            background: rgba(255, 255, 255, 0.24);
        }

        .cta-form-note {
            color: #dbeafe;
            font-size: 0.98rem;
            margin-top: 0.35rem;
            margin-bottom: var(--space-sm);
        }
        .modal-overlay {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: var(--space-md);
            background: rgba(2, 6, 23, 0.66);
            z-index: 1500;
        }

        .modal-overlay.active {
            display: flex;
        }

        .schedule-modal {
            width: min(560px, 100%);
            background: var(--color-white);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
            padding: var(--space-lg);
            position: relative;
            animation: fadeSlideIn 0.24s ease;
        }

        .schedule-modal-title {
            color: var(--color-primary);
            margin-bottom: 0.4rem;
            font-size: 1.6rem;
        }

        .schedule-modal-desc {
            color: #475569;
            margin-bottom: var(--space-md);
        }

        .schedule-modal-close {
            position: absolute;
            top: 0.7rem;
            right: 0.7rem;
            width: 34px;
            height: 34px;
            border: none;
            border-radius: 999px;
            background: #e2e8f0;
            color: #0f172a;
            font-size: 1.25rem;
            line-height: 1;
            cursor: pointer;
        }

        .schedule-form {
            display: grid;
            gap: 0.8rem;
        }

        .schedule-field {
            display: grid;
            gap: 0.35rem;
        }

        .schedule-field label {
            font-size: 0.92rem;
            font-weight: 600;
            color: #1e293b;
        }

        .schedule-field input,
        .schedule-field textarea {
            width: 100%;
            border: 1px solid #cbd5e1;
            border-radius: var(--radius-md);
            padding: 0.72rem 0.88rem;
            font-size: 0.96rem;
            color: var(--color-text);
            background: #ffffff;
            outline: none;
            transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        }

        .schedule-field input:focus,
        .schedule-field textarea:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
        }

        .schedule-field textarea {
            resize: vertical;
            min-height: 110px;
        }

        .schedule-form-error {
            display: none;
            color: #dc2626;
            font-size: 0.92rem;
            font-weight: 600;
            margin-top: 0.1rem;
        }

        .schedule-form-error.active {
            display: block;
        }
        
        .schedule-form-success {
            display: none;
            color: #16a34a;
            font-size: 0.92rem;
            font-weight: 600;
            margin-top: 0.1rem;
        }

        .schedule-form-success.active {
            display: block;
        }

        body.modal-open {
            overflow: hidden;
        }

        @keyframes fadeSlideIn {
            from {
                opacity: 0;
                transform: translateY(10px) scale(0.98);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* --- 13. FOOTER --- */
        .footer {
            background-color: var(--color-primary);
            color: #cbd5e1;
            padding-top: var(--space-xl);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: var(--space-lg);
            margin-bottom: var(--space-xl);
            align-items: start;
        }

        .footer-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .brand-col .logo {
            margin-bottom: var(--space-sm);
        }

        .brand-col .footer-text {
            max-width: 340px;
            margin: 0 auto;
        }

        .footer h4 {
            color: var(--color-white);
            margin-bottom: var(--space-md);
            font-size: 1.125rem;
        }

        .footer-links li {
            margin-bottom: var(--space-sm);
        }

        .footer-links a {
            color: #cbd5e1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

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

        .footer-icon {
            width: 18px;
            height: 18px;
            color: var(--color-accent);
        }

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

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: var(--color-primary-light);
            color: var(--color-white);
            border-radius: 50%;
            transition: background-color var(--transition-fast);
        }

        .social-links a:hover {
            background-color: var(--color-accent);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: var(--space-md) 0;
            text-align: center;
            font-size: 0.875rem;
        }

        /* --- 14. RESPONSIVE QUERIES --- */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 3rem;
            }

            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-subtitle {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-actions {
                justify-content: center;
            }

            .timeline {
                display: flex;
                flex-direction: column;
                padding-left: 20px;
            }

            .timeline::before {
                left: 38px;
                /* Center of dot */
                top: 0;
                bottom: 0;
                height: 100%;
                width: 2px;
                transform: none;
            }

            .timeline-item {
                width: 100%;
                display: flex;
                align-items: flex-start;
                text-align: left;
                margin-bottom: var(--space-md);
            }

            .timeline-dot {
                margin: 0 var(--space-md) 0 0;
                flex-shrink: 0;
            }

            .timeline-content {
                padding-top: 8px;
                /* align text with dot horizontally */
            }

            .solutions-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .tech-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .testimonials-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }



            .footer-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

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

            .mobile-toggle {
                display: block;
            }

            .nav-menu {
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: var(--color-white);
                box-shadow: var(--shadow-md);
                display: none;
                /* Hide by default on mobile, js will toggle */
                flex-direction: column;
                padding: var(--space-md);
                border-top: 1px solid var(--color-border);
            }

            .nav-menu.active {
                display: flex;
            }

            .nav-list {
                flex-direction: column;
                gap: var(--space-sm);
            }

            .nav-link {
                display: block;
                padding: 0.5rem 0;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .solutions-grid {
                grid-template-columns: 1fr;
            }

            .tech-grid {
                grid-template-columns: 1fr;
            }

            .cta-form-row {
                grid-template-columns: 1fr;
            }

            .cta-actions {
                flex-direction: column;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            body {
                font-size: 15px;
            }

            .container {
                padding: 0 var(--space-sm);
            }

            .header {
                padding: var(--space-xs) 0;
            }

            .header-container {
                flex-wrap: wrap;
                gap: var(--space-sm);
                height: auto;
                min-height: 70px;
            }

            .logo-text {
                font-size: 1.25rem;
            }
            .header-logo {
                height: 45px;
            }

            .footer-logo {
                height: 30px;
            }

            .nav-menu {
                top: 70px;
            }

            .hero {
                padding-top: 120px;
                padding-bottom: var(--space-xl);
            }

            .hero-video {
                object-position: 62% center;
                transform: scale(1.14);
                transform-origin: center center;
            }

            .hero-container {
                gap: var(--space-lg);
            }

            .modern-tech .visual-card {
                min-height: 360px;
            }

            .hero-content {
                text-align: center;
            }

            .kpi-badge {
                font-size: 0.8rem;
                flex-wrap: wrap;
                justify-content: center;
                gap: 0.35rem;
            }

            .hero-title {
                font-size: 2.15rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .hero-image-wrapper {
                order: 2;
                margin-top: var(--space-lg);
            }

            .abstract-shape {
                display: none;
            }

            .glass-card {
                transform: scale(0.92);
                padding: var(--space-md);
                margin: 0 auto;
            }

            .hero-actions {
                flex-direction: column;
                width: 100%;
            }

            .hero-actions .btn {
                width: 100%;
            }


            .clients-carousel-container {
                gap: var(--space-md);
            }

            .client-logo {
                margin: 0 0.6rem;
                width: 104px;
                height: 46px;
            }

            .client-logo img {
                width: 88px;
                height: 30px;
            }

            .client-logo.logo-gerdau img {
                width: 106px;
                height: 34px;
            }

            .solutions-grid {
                grid-template-columns: 1fr;
            }

            .timeline-row {
                flex-direction: column;
                gap: var(--space-md);
            }

            .timeline-row::before {
                display: none;
            }

            .timeline-item {
                width: 100%;
                align-items: flex-start;
                text-align: left;
            }

            .timeline-dot {
                margin-bottom: 0;
            }

            .frameworks-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                gap: var(--space-sm);
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .cta-box {
                text-align: center;
            }

            .cta-actions {
                width: 100%;
                gap: var(--space-sm);
            }

            .cta-actions .btn {
                width: 100%;
            }

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

        @media (max-width: 420px) {
            .hero-title {
                font-size: 1.9rem;
            }

            .hero-subtitle {
                font-size: 0.95rem;
            }

            .hero-actions .btn {
                padding: 0.65rem 1.15rem;
            }

            .client-logo {
                width: 94px;
                height: 42px;
            }

            .client-logo img {
                width: 78px;
                height: 27px;
            }

            .client-logo.logo-gerdau img {
                width: 94px;
                height: 30px;
            }

            .testimonial-card {
                padding: var(--space-md);
            }

            .cta-box {
                padding: var(--space-lg) var(--space-md);
            }
        }














