:root {
    --c-bg: #ffffff;
    --c-bg-surface: #f4f4f4;
    --c-bg-surface-hover: #eaeaea;
    --c-text-main: #111111;
    --c-text-muted: #444444;
    --c-text-dark: #000000;
    --c-accent-primary: #fcb017;
    --c-accent-secondary: #1f334a;
    --c-accent-success: #69f0ae;
    /* Light Green for dark backgrounds */
    --c-gradient-main: linear-gradient(135deg, #fcb017 0%, #e89100 50%, #cc7a00 100%);
    --font-heading: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1320px;
    --header-height: 90px;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    font-size: 16px;
    width: 100%;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll on body */
    position: relative;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}

/* Accessibility: Focus styles */
:focus-visible {
    outline: 2px solid var(--c-accent-primary);
    outline-offset: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

a:hover {
    color: #e69000;
    /* Darker orange for hover */
}

/* Fix specific low contrast areas */
.internal-links a,
.post-content a {
    color: #d48800;
    /* Darker orange compliant with AA large text, readable on white */
    text-decoration: underline;
    text-underline-offset: 4px;
    word-wrap: break-word;
}

ul {
    list-style: none;
}

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

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    margin-left: -4px;
    /* Half of dot width */
    margin-top: -4px;
    will-change: transform;
}

@media (max-width: 991px) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}


.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-accent-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: width 0.2s, height 0.2s, background-color 0.2s, margin-left 0.2s, margin-top 0.2s, border-color 0.2s;
    margin-left: -20px;
    margin-top: -20px;
}

.cursor-outline.cursor-hover {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    margin-left: -30px;
    margin-top: -30px;
}

/* Reading Progress Bar */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--c-gradient-main);
    z-index: 99999;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

.text-gradient {
    background: var(--c-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-lg {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-wrap: balance;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--c-text-muted);
    max-width: 600px;
    letter-spacing: 0.01em;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 7rem 0;
        /* Fixed lack of spacing on desktop */
    }
}

/* Reusable Noise Background Effect */
.section-with-noise {
    position: relative;
    background-color: var(--c-bg);
}

.section-with-noise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.4"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    filter: invert(1);
}

@media (max-width: 991px) {
    .section-with-noise::before {
        opacity: 0.05; /* Reduce noise opacity on mobile for better rendering */
    }
}


.section-with-noise>.container,
.section-with-noise>.trust-bar-content {
    position: relative;
    z-index: 1;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.site-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    /* Use padding to effectively size the logo: 90px header - 20px padding = 70px logo */
    padding: 10px 0;
    text-decoration: none;
    box-sizing: border-box;
    /* Accessibility: Clear focus indicator */
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    /* Ensure it behaves as a block */
}

.btn-header {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out-expo);
    border: 2px solid #000;
}

.btn-header:hover {
    background: transparent;
    color: #000;
}


.menu-toggle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
    /* Ensure pointer cursor */
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: #000;
    transition: 0.3s;
}

.menu-toggle:hover span {
    width: 40px;
    background: var(--c-accent-primary);
}

.lang-switcher {
    position: relative;
    margin-right: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.current-lang {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-weight: 700;
    color: #000;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    display: none;
    flex-direction: column;
    min-width: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 99999;
    /* Ensure maximum visibility above everything */
}

.lang-dropdown.active {
    display: flex;
}

.lang-dropdown a {
    padding: 0.5rem 1rem;
    text-align: center;
    color: #000;
    text-decoration: none;
    transition: 0.2s;
}

.lang-dropdown a:hover {
    background: var(--c-bg-surface);
    color: #e69000;
    /* Darker orange for better contrast */
}

.off-canvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    /* Mobile Scroll Fix Real - Safari */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Suporte Apple/Older */
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.6s var(--ease-out-expo);
    visibility: hidden;
    /* Hide from screen readers when off-screen */
}

.off-canvas-menu.active {
    right: 0;
    visibility: visible;
}

.menu-nav ul {
    text-align: center;
}

.menu-nav a {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    display: block;
    color: rgba(0, 0, 0, 0.6);
    transition: 0.4s;
    margin: 0.5rem 0;
}

.menu-nav a:hover,
.menu-nav a:focus {
    color: #000;
    transform: translateX(20px);
    outline: none;
    /* Focus handled by color change */
}

.hero-manifesto {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-manifesto h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-manifesto .line {
    display: block;
}

@media (max-width: 768px) {
    .hero-manifesto .line+.line {
        margin-top: 0.5rem;
    }
}

.hero-footer {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    color: var(--c-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-bg-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.4"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    filter: invert(1);
}

p {
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: #000;
    color: #fff;
    margin-top: 30px;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s var(--ease-out-expo);
    border: 2px solid #000;
}

.btn-primary:hover {
    background: transparent;
    color: #000;
    transform: translateY(-5px);
}

.btn-outline {
    background: transparent;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s var(--ease-out-expo);
    border: 2px solid #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
    transform: translateY(-5px);
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-outline {
    margin-top: 0;
}

@media (max-width: 991px) {
    .d-none-mobile {
        display: none !important;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-ctas a {
        width: 100%;
        text-align: center;
    }
}

.btn-giant {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    background-color: var(--c-accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(252, 176, 23, 0.3);
    border: none;
    transition: 0.4s;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(252, 176, 23, 0.3); }
    50% { box-shadow: 0 10px 50px rgba(252, 176, 23, 0.6); }
}

.btn-giant:hover {
    background-color: #e69000;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(252, 176, 23, 0.5);
    color: #fff;
    animation: none;
}

.btn-primary {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(252, 176, 23, 0.3);
}

.marquee-section {
    background: var(--c-accent-primary);
    color: #000;
    /* Contrast check: Black on Orange (Good) */
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    /* Fixed width to prevent overflow issues */
    width: 100%;
    transform: rotate(-2deg) scale(1.05);
    /* Safe overlap calculation */
    width: 102%;
    left: -1%;
    margin-left: 0;
    margin-bottom: 4rem;
    /* Fix: Evitar sobreposição massiva do rodapé da Hero rotacionado com o H2 da próxima seção */
    z-index: 10;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.marquee-content:hover {
    animation-play-state: paused;
}

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

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

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 992px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }

    .capabilities-grid>.capability-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

.capability-card {
    background: var(--c-bg-surface);
    padding: 3rem;
    border-radius: var(--radius-md);
    transition: 0.4s var(--ease-out-expo);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.capability-card:hover {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
    border-color: var(--c-accent-primary);
}

.cap-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    display: block;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.capability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.capability-card p {
    color: var(--c-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.cap-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cap-tags li {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.segments-section {
    background: var(--c-bg-surface);
}

.segments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .segments-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.segment-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: 0.4s var(--ease-out-expo);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.segment-card.featured {
    border-color: var(--c-accent-primary);
    box-shadow: 0 8px 30px rgba(252, 176, 23, 0.15);
}

.segment-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--c-accent-primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.segment-icon {
    color: var(--c-accent-primary);
    margin-bottom: 1.5rem;
}

.segment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.segment-subtitle {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.segment-features {
    margin-top: auto;
}

.segment-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--c-text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.segment-features li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--c-accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.diferenciais-section {
    background: #fff;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .diferenciais-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.diferencial-card {
    background: var(--c-bg-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: 0.4s var(--ease-out-expo);
    border: 1px solid transparent;
}

.diferencial-card:hover {
    border-color: var(--c-accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.diferencial-icon {
    color: var(--c-accent-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(252, 176, 23, 0.1);
    border-radius: 12px;
}

.diferencial-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.diferencial-card p {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.approach-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.stat-item {
    background: var(--c-bg-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    color: #d48800;
    /* Use darker orange for text */
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* FAQ Accordion UI */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    gap: 1.5rem;
}

.faq-question h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--c-accent-secondary);
    transition: color 0.3s;
}

.faq-question:hover h3 {
    color: var(--c-accent-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s var(--ease-out-expo);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 2px;
    height: 100%;
}

.faq-icon::after {
    width: 100%;
    height: 2px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo), padding 0.3s;
    color: var(--c-text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

.clients-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0.5;
}

.client-name {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Portfolio Section */
.portfolio-section {
    background: var(--c-bg-surface);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-card {
    background: #fff;
    width: 220px;
    height: 160px;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--c-accent-primary);
}

.portfolio-card img {
    max-width: 80%;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
    object-fit: contain;
}

.portfolio-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.main-footer {
    padding: 8rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-wrapper {
    text-align: center;
    margin-bottom: 8rem;
    padding: 0 1rem;
}

.cta-wrapper h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    line-height: 1.1;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    color: #4a4a4a;
    transition: 0.3s;
}

.footer-col ul li:hover {
    color: #000;
    transform: translateX(10px);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s var(--ease-out-expo) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero-manifesto h1 {
        font-size: 3rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .grid-2-col,
    .footer-bottom {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-col {
        width: 100%;
        text-align: left;
    }

    .btn-header {
        display: none;
        /* Hide on mobile to prevent overlapping with hamburger UI, or reduce padding */
    }

    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .capability-card {
        padding: 1.5rem;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    /* Brute Force Mobile Scroll Fix - FIXED */
    /* Removed !important overwrite for overflow-x on html/body */

    /* Ensure body doesn't overflow */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Mobile Layout Fixes */
    .hero-manifesto {
        flex-direction: column;
        justify-content: center;
        padding-top: calc(var(--header-height) + 4rem);
        padding-bottom: 4rem;
        height: auto;
        min-height: 100vh;
    }

    .hero-footer {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 3rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .hero-manifesto h1 {
        font-size: 2.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .site-header,
    .off-canvas-menu {
        width: 100%;
        max-width: 100vw;
    }

    /* Mobile Layout Fixes */
    .approach-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .clients-logos {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

html.lenis,
html.lenis body {
    height: auto;
}

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

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

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

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

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 60px;
    height: 60px;
    background: var(--c-accent-primary);
    mask: url('../vorbi-2026.svg') no-repeat center / contain;
    -webkit-mask: url('../vorbi-2026.svg') no-repeat center / contain;
    animation: pulseLoader 1.5s infinite ease-in-out;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-content img {
    width: 80px;
    animation: float 2s ease-in-out infinite;
}

@keyframes pulseLoader {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.article-thumb {
    width: 100%;
    height: 250px;
    background-color: #eee;
    overflow: hidden;
    position: relative;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.exit-popup {
    position: fixed;
    bottom: -100%;
    right: 20px;
    width: 100%;
    max-width: 450px;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease-out-expo);
}

.exit-popup.active {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}

.exit-popup-backdrop {
    display: none;
    /* Removed the backdrop for B2B Slide Banner */
}

.exit-popup-content {
    position: relative;
    background: #fff;
    width: 100%;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: left;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.exit-popup.active .exit-popup-content {
    transform: scale(1) translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.exit-content-inner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.exit-content-inner p {
    color: var(--c-text-muted);
    margin-bottom: 2rem;
}

.btn-text {
    display: block;
    margin-top: 1rem;
    background: none;
    border: none;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
}

.btn-text:hover {
    color: #000;
}

.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.mobile-sticky-cta.active {
    transform: translateY(0);
}

.sticky-whatsapp-btn {
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }

    .whatsapp-float {
        display: none !important;
    }
}

/* Utilities (keeping them as is but ensuring no issues) */
.d-block {
    display: block;
}

.text-decoration-none {
    text-decoration: none;
}

.cursor-default {
    cursor: default;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-8 {
    margin-top: 8rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.w-100 {
    width: 100%;
}

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

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.min-h-60vh {
    min-height: 60vh;
}

.text-accent-primary {
    color: var(--c-accent-primary);
}

.text-accent-secondary {
    color: var(--c-accent-secondary);
}

.text-muted {
    color: var(--c-text-muted);
}

.text-white {
    color: #fff;
}

.text-black {
    color: #000;
}

.text-sm {
    font-size: 0.9rem;
}

/* Utility Classes */
.mb-2 {
    margin-bottom: 2rem !important;
}

/* Blog Post Styles */
.post-header {
    padding: 180px 0 60px;
    text-align: center;
    background: var(--c-bg);
    max-width: 800px;
    margin: 0 auto;
}

.post-meta {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.post-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.post-content {
    max-width: 740px;
    margin: 0 auto;
    padding: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lead {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: #555;
    border-left: 4px solid var(--c-accent-primary);
    padding-left: 1.5rem;
}

.back-link {
    position: fixed;
    top: 100px;
    left: 2rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid #eee;
    font-weight: 600;
    display: none;
}

@media(min-width: 1200px) {
    .back-link {
        display: block;
    }
}

/* Blog Listing Styles */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: var(--c-bg);
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.blog-filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.btn-primary:hover, .btn-giant:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(252, 176, 23, 0.3);
    background: var(--c-accent-primary);
    filter: brightness(1.1);
}

.btn-giant {
    animation: pulse-vibrant 3s infinite;
}

@keyframes pulse-vibrant {
    0% { box-shadow: 0 0 0 0 rgba(252, 176, 23, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(252, 176, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(252, 176, 23, 0); }
}

.capability-card, .article-card, .portfolio-card {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s;
    will-change: transform;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--c-accent-primary);
}

.article-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--c-text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.article-link {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.placeholder-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
}

@media(max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

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

/* Fix for Dark Sections and Speed Card (Invisible Text Fix) */
.dark-bg,
.section-separator-bg {
    background-color: transparent;
    color: var(--c-text-main);
    position: relative;
    overflow: hidden;
}

.dark-bg p,
.section-separator-bg p {
    color: var(--c-text-muted);
}

.dark-bg .section-title-lg,
.section-separator-bg .section-title-lg {
    color: var(--c-text-main);
}

/* Speed Card - Dark Text Variant */
.speed-card {
    background: var(--c-bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    color: var(--c-text-main);
    backdrop-filter: blur(10px);
}

.speed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.progress-container {
    background: rgba(0, 0, 0, 0.1);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-fill {
    background: #00c853;
    /* Darker green for white bg */
    height: 100%;
    width: 95%;
}

.speed-metrics {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

/* --- UTILITY CLASSES (Consolidação de Inline Styles) --- */
.u-d-none {
    display: none !important;
}

.u-d-block {
    display: block !important;
}

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

.u-fw-bold {
    font-weight: bold;
}

.u-fw-600 {
    font-weight: 600;
}

.u-fw-700 {
    font-weight: 700;
}

.u-fw-900 {
    font-weight: 900;
}

.u-text-underline {
    text-decoration: underline;
}

.u-color-accent-primary {
    color: var(--c-accent-primary);
}

.u-color-primary {
    color: var(--c-primary);
}

.u-color-success {
    color: #00c853;
}

.u-color-slate {
    color: #475569;
}

.u-color-gray-888 {
    color: #888;
}

.u-color-blue-dark {
    color: #0369a1;
}

.u-flex-center {
    display: flex;
    align-items: center;
}

.u-flex-center-vh {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.u-flex-wrap-center {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.u-justify-center {
    justify-content: center;
}

.u-items-center {
    align-items: center;
}

.u-gap-05 {
    gap: 0.5rem;
}

.u-gap-1 {
    gap: 1rem;
}

.u-mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.u-ml-0 {
    margin-left: 0;
}

.u-mt-0 {
    margin-top: 0;
}

.u-mt-1 {
    margin-top: 1rem;
}

.u-mt-4 {
    margin-top: 4rem;
}

.u-mt-6 {
    margin-top: 6rem;
}

.u-mb-1 {
    margin-bottom: 1rem;
}

.u-mb-1-5 {
    margin-bottom: 1.5rem;
}

.u-mb-3 {
    margin-bottom: 3rem;
}

.u-pb-15 {
    padding-bottom: 15px;
}

.u-p-1 {
    padding: 1rem;
}

.u-p-20 {
    padding: 20px;
}

.u-order-1 {
    order: 1;
}

.u-order-2 {
    order: 2;
}

.u-border-t {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.u-border-b {
    border-bottom: 1px solid #cbd5e1;
}

.u-border {
    border: 1px solid #e2e8f0;
}

.u-rounded-md {
    border-radius: var(--radius-md);
}

.u-w-full {
    width: 100%;
}

.u-h-auto {
    height: auto;
}

.u-min-h-50vh {
    min-height: 50vh;
}

.u-min-h-60vh {
    min-height: 60vh;
}

.u-fs-sm {
    font-size: 0.8rem;
}

.u-fs-xl {
    font-size: 1.5rem;
}

.u-bg-surface {
    background: var(--c-bg-surface);
}

.u-bg-slate-50 {
    background: #f8fafc;
}

.u-card-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.u-grid-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.u-grid-auto-400 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.u-placeholder-box {
    background: #eee;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.u-card-box {
    background: var(--c-bg-surface);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.u-lead-text {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--c-text-muted);
}

.u-title-clamp {
    font-size: clamp(2rem, 5vw, 3rem);
}

.u-hero-404 {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--c-accent-primary);
}

.u-tag-accent-primary {
    font-size: 0.9rem;
    color: var(--c-accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.u-tag-accent-secondary {
    font-size: 0.9rem;
    color: var(--c-accent-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.u-link-blue {
    color: #0284c7;
    text-decoration: underline;
}

.u-alert-blue {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    padding: 20px;
    margin: 3rem 0;
    border-radius: 4px;
}

/* --- B2B INTERNAL PAGES NEW UTILITIES --- */
.badge-outline-light {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9rem;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
}

.container-narrow {
    max-width: 900px;
    font-size: 1.15rem;
}

.box-highlight-accent {
    background: rgba(234, 179, 8, 0.05);
    border-left: 4px solid var(--c-accent-primary);
    /* Uses existing variable */
    padding: 30px;
    border-radius: 0 8px 8px 0;
}

.box-cta-light {
    background: #f8fafc;
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cap-icon-md {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.u-max-w-700 {
    max-width: 700px;
}

.u-max-w-800 {
    max-width: 800px;
}

.u-p-card {
    padding: 40px 30px;
}

/* --- MOBILE STICKY CTA & THUMB-FRIENDLY UX --- */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--c-accent-primary);
        color: #1f334a;
        text-align: center;
        padding: 18px 20px;
        font-weight: 900;
        font-size: 1.15rem;
        z-index: 10001;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15);
        text-decoration: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Blog Global Overrides (To fix inline CSS issues) */
    .article-body {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .breadcrumb {
        font-size: 1rem !important;
    }

    @media (min-width: 768px) {
        .breadcrumb .container {
            padding-left: 2rem !important;
            padding-right: 2rem !important;
        }
    }

    .mobile-sticky-cta:active {
        background: #eab308;
    }

    body {
        padding-bottom: 70px !important;
        /* Space for the sticky CTA */
    }

    /* Thumb-friendly optimizations */
    .btn-primary,
    .btn-action,
    .mobile-sticky-cta {
        min-height: 54px;
        /* Minimum thumb touch target 48px, using 54px */
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }

    .d-mobile-only {
        display: block !important;
    }
    .d-desktop-only {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .d-mobile-only {
        display: none !important;
    }
    .d-desktop-only {
        display: block !important;
    }
}