/* ========================================
   HERO SECTION - HOME PAGE
   Responsividade Perfeita com Mobile-First
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIÁVEIS)
   ======================================== */
:root {
    /* Hero Layout */
    --hero-padding: 2vh;
    --hero-spacing: 2.5vh;
    
    /* Typography */
    --hero-title-size: 6.5vh;
    --hero-subtitle-size: 1.8vh;
    --hero-description-size: 1.8vh;
    --kpi-number-size: 4vh;
    --kpi-label-size: 1.2vh;
    --button-font-size: 1.3vh;
    
    /* Interactive Elements */
    --button-padding: 1.5vh 3vh;
    
    /* Partners Section */
    --partners-height: 12vh;
    --partners-gap: 2vh;
}

/* ========================================
   HERO CONTAINER E LAYOUT PRINCIPAL
   ======================================== */
.hero-lugano,
.hero-ui-forge {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background: #FFFFFF;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    color: #0B1220;
    contain: layout style paint;
    z-index: 1;
    box-sizing: border-box;
}

.hero-lugano-content,
.hero-ui-forge .hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100vw;
    max-width: 50vw;
    margin: 0 auto;
    padding: var(--hero-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--hero-spacing);
    padding-top: 18vh;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .hero-ui-forge .hero-container {
        max-width: 70vw !important;
    }
}

/* ========================================
   TIPOGRAFIA E TÍTULOS
   ======================================== */

.title-row-1 {
    text-align: center;
    margin-bottom: 0.5vh;
    white-space: nowrap;
}

.title-row-2 {
    text-align: center;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hacker-text {
    position: relative;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #b3ce3a !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 1em;
    white-space: nowrap;
    text-align: left;
}

/* ========================================
   KEYFRAMES E ANIMAÇÕES
   ======================================== */

/* Animações de entrada e transição */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(4vh) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(1vh);
    }
}

@keyframes blink {
    0%, 40% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* ========================================
   RESPONSIVE BREAKPOINTS BASEADOS EM ALTURA
   ======================================== */


/* ========================================
   COMPONENTES ADICIONAIS DO HERO
   ======================================== */

.hero-welcome {
    margin-bottom: 0.5vh;
}

.welcome-text {
    font-family: 'Inter', sans-serif;
    font-size: var(--hero-subtitle-size);
    font-weight: 500;
    color: #b3ce3a;
    background: #b3ce3a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: var(--hero-title-size);
    font-weight: 900;
    line-height: 1.1;
    color: #0B1220;
    margin-bottom: var(--hero-spacing);
    letter-spacing: -0.02vh;
}

.title-highlight {
    background: #0B1220;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0B1220;
    margin-right: 1vh;
}

.title-highlight .hacker-text {
    background: linear-gradient(135deg, #345117, #b3ce3a) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    padding-bottom: 0.5vh;
    padding-right: 1vh;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: var(--hero-description-size);
    font-weight: 400;
    line-height: 1.6;
    color: #545454;
    max-width: 40vw;
    margin: 0 auto var(--hero-spacing);
    text-align: center !important;
    width: 100%;
}

/* Mobile override for hero description width - ULTRA HIGH SPECIFICITY */
@media (max-width: 480px) {
    .hero-lugano .hero-description,
    .hero-ui-forge .hero-description,
    .hero-lugano-content .hero-description,
    .hero-ui-forge .hero-container .hero-description,
    body .hero-lugano .hero-description,
    body .hero-ui-forge .hero-description {
        font-size: 1.4vh !important;
        line-height: 1.4 !important;
        max-width: 70vw !important;
        width: 70vw !important;
        margin: 0 auto var(--hero-spacing) !important;
        text-align: center !important;
        padding: 0 3vw !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        display: block !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* ========================================
   NOTA: ESTILOS GLOBAIS MIGRADOS
   ======================================== */

/* 
Os estilos de global highlight foram movidos para styles/impact/global-family.css
para melhor organização e modularidade do código.
*/

/* ========================================
   BOTÕES CTA (CALL TO ACTION)
   ======================================== */
.hero-cta-buttons {
    display: flex;
    gap: 2vh;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1vh;
    padding: 1.5vh 2vh;
    background: #000000;
    color: white;
    border: none;
    border-radius: 2vh;
    font-family: 'Inter', sans-serif;
    font-size: var(--button-font-size);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.3);
    min-width: 24vh;
    position: relative;
}

.cta-primary-btn:hover {
    transform: translateY(-0.2vh);
    box-shadow: 0 0.6vh 1.2vh rgba(0, 0, 0, 0.4);
    background: #1a1a1a;
}

.cta-primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 0.2vh 0.4vh rgba(0, 0, 0, 0.3);
    background: #333333;
}

.cta-primary-btn svg {
    width: 3vh;
    height: 3vh;
    transition: transform 0.3s ease, opacity 0.2s ease;
    background: #ffffff;
    border-radius: 50%;
    padding: 0.5vh;
    stroke: #000000 !important;
    fill: none;
    color: #000000;
}

.cta-primary-btn:hover svg {
    transform: translateX(0.4vh);
    opacity: 0.9;
}

.cta-primary-btn:active svg {
    transform: translateX(0.2vh);
    opacity: 0.8;
}

.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 1vh;
    padding: var(--button-padding);
    background: transparent;
    color: #212522;
    border: 0.2vh solid #212522;
    border-radius: 1.6vh;
    font-family: 'Inter', sans-serif;
    font-size: var(--button-font-size);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
    transform: translateY(-0.2vh);
    box-shadow: 0 0.4vh 0.8vh rgba(0, 0, 0, 0.1);
    background: rgba(33, 37, 34, 0.05);
    border-color: #0B1220;
}

.cta-secondary-btn:active {
    transform: translateY(0);
    box-shadow: 0 0.2vh 0.4vh rgba(0, 0, 0, 0.05);
    background: rgba(33, 37, 34, 0.1);
    border-color: #000000;
}

/* ========================================
   TRUSTED BY CLIENTS SECTION
   ======================================== */
.trusted-by-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5vh;
    margin-top: 0;
    padding: 0;
    border-top: none;
    width: auto;
    flex-shrink: 0;
}

.trusted-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5vh;
}

.client-avatars {
    display: flex;
    align-items: center;
    gap: -1.5vh;
}

.client-avatar {
    width: 4.5vh;
    height: 4.5vh;
    border-radius: 50%;
    border: 0.2vh solid #ffffff;
    object-fit: cover;
    object-position: 50%;
    margin-left: -0.9vh;
    transition: transform 0.3s ease;
    box-shadow: 0 0.2vh 0.8vh rgba(0, 0, 0, 0.15);
}

.client-avatar:first-child {
    margin-left: 0;
}

.client-avatar:hover {
    transform: scale(1.15);
    z-index: 10;
    position: relative;
    box-shadow: 0 0.4vh 1.2vh rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}

.client-avatar:active {
    transform: scale(1.1);
    box-shadow: 0 0.2vh 0.6vh rgba(0, 0, 0, 0.2);
}

.rating-stars {
    display: flex;
    gap: 0.2vh;
    justify-content: flex-start;
    align-items: center;
}

.star {
    width: 1.8vh;
    height: 1.8vh;
    color: #fbbf24;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.star:hover {
    transform: scale(1.1);
}

.trusted-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4vh;
    font-weight: 500;
    color: #6b7280;
    text-align: left;
    white-space: nowrap;
}

.trusted-number {
    font-weight: 700;
    color: #374151;
}

/* ========================================
   KPIs (KEY PERFORMANCE INDICATORS)
   ======================================== */
.hero-kpis {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1vh auto 3vh;
    gap: 1vh;
    width: 70%;
    max-width: 70%;
}

.kpi-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.kpi-number {
    font-family: 'Inter', sans-serif;
    font-size: var(--kpi-number-size);
    font-weight: 900;
    background: #b3ce3a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 1vh;
    letter-spacing: -0.02vh;
    opacity: 0;
    transform: translateY(1.875vh);
    animation: none;
}

.kpi-number strong,
.kpi-number b {
    font-weight: 900;
}

.kpi-number .kpi-plus {
    font-weight: 900;
}

/* Garantir que números e símbolos + sejam sempre em negrito */
.kpi-number span,
.kpi-number .kpi-number-value,
.kpi-number .kpi-plus-symbol {
    font-weight: 900;
    display: inline;
}

/* Estilo específico para o símbolo + */
.kpi-plus-symbol {
    font-weight: 900;
    font-family: 'Inter', sans-serif;
}

.kpi-number:nth-child(1) { animation-delay: 0.1s; }
.kpi-number:nth-child(2) { animation-delay: 0.2s; }
.kpi-number:nth-child(3) { animation-delay: 0.3s; }
.kpi-number:nth-child(4) { animation-delay: 0.4s; }

.kpi-label {
    font-family: 'Inter', sans-serif;
    font-size: var(--kpi-label-size);
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05vh;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(1.25vh);
    animation: none;
}

.kpi-item:nth-child(1) .kpi-label { animation-delay: 0.3s; }
.kpi-item:nth-child(2) .kpi-label { animation-delay: 0.4s; }
.kpi-item:nth-child(3) .kpi-label { animation-delay: 0.5s; }
.kpi-item:nth-child(4) .kpi-label { animation-delay: 0.6s; }

/* Animações dos KPIs com easing melhorado */
@keyframes kpiCountUp {
    0% {
        opacity: 0;
        transform: translateY(1.875vh) scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: translateY(0.5vh) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes kpiLabelFadeIn {
    0% {
        opacity: 0;
        transform: translateY(1.25vh) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estados de carregamento para elementos */
.hero-lugano-content,
.hero-ui-forge .hero-container {
    opacity: 0;
    animation: heroFadeIn 0.8s ease-out forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(2vh);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de loading para botões */
.cta-primary-btn.loading,
.cta-secondary-btn.loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

.cta-primary-btn.loading::after,
.cta-secondary-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2vh;
    height: 2vh;
    margin: -1vh 0 0 -1vh;
    border: 0.2vh solid transparent;
    border-top: 0.2vh solid currentColor;
    border-radius: 50%;
    animation: buttonSpinner 1s linear infinite;
}

@keyframes buttonSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ========================================
   RESPONSIVE BREAKPOINTS BASEADOS EM ALTURA
   ======================================== */



/* ========================================
   PARTNERS SECTION CONTAINER
   ======================================== */
.partners-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2vh;
    width: 100%;
    max-width: 50vw;
}

/* ========================================
   PARTNERS HEADER SECTION
   ======================================== */
.partners-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vh;
    width: 100%;
    max-width: 50vw;
}

.partners-header-line {
    flex: 1;
    height: 0.1vh;
    background: #d1d5db;
}

.partners-header-line:first-child {
    background: linear-gradient(to right, transparent, #d1d5db);
}

.partners-header-line:last-child {
    background: linear-gradient(to left, transparent, #d1d5db);
}

.partners-header-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.2vh;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    padding: 0 1vh;
}

/* ========================================
   PARTNERS MARQUEE
   ======================================== */
.partners-marquee {
    position: relative;
    overflow: hidden;
    max-width: 50vw;
    z-index: 2;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12vh;
    z-index: 10;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 55%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, #ffffff 55%, transparent 100%);
}

.partners-row {
    position: relative;
    height: var(--partners-height);
    overflow: visible;
    padding: 1.5vh 0;
    display: flex;
    align-items: center;
}

.partners-content {
    display: flex;
    align-items: center;
    gap: var(--partners-gap);
    animation: partnersMarquee 30s linear infinite;
    width: fit-content;
    will-change: transform;
    animation-fill-mode: both;
}

.partners-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.2;
    transition: opacity 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.partners-logo:hover {
    opacity: 1;
    transform: translateY(-0.1vh);
}

.partners-logo:active {
    transform: translateY(0);
    opacity: 0.9;
}

.partners-logo img {
    max-width: 13vh;
    max-height: 5vh;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.3s ease;
}

.partners-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.partners-logo:active img {
    transform: scale(1.02);
    filter: grayscale(0%) brightness(0.95);
}

/* Tamanhos específicos para logos Nokia, Deloitte e Capgemini */
.partners-logo:nth-child(1) img,
.partners-logo:nth-child(8) img {
    max-width: 22vh !important;
    max-height: 8vh !important;
}

.partners-logo:nth-child(2) img,
.partners-logo:nth-child(9) img {
    max-width: 38vh !important;
    max-height: 14vh !important;
}

.partners-logo:nth-child(3) img,
.partners-logo:nth-child(10) img {
    max-width: 22vh !important;
    max-height: 8vh !important;
}

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

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

/* Garantir que a animação seja sempre infinita */
.partners-content {
    animation-play-state: running !important;
}

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



/* Desktop grande (1601px+) */
@media (min-width: 1601px) {
    .partners-row {
        height: 14vh;
    }
    
    .partners-logo img {
        max-width: 16vh;
        max-height: 6vh;
    }
    
    .partners-logo:nth-child(1) img,
    .partners-logo:nth-child(8) img {
        max-width: 28vh !important;
        max-height: 9vh !important;
    }
    
    .partners-logo:nth-child(2) img,
    .partners-logo:nth-child(9) img {
        max-width: 48vh !important;
        max-height: 15vh !important;
    }
    
    .partners-logo:nth-child(3) img,
    .partners-logo:nth-child(10) img {
        max-width: 28vh !important;
        max-height: 9vh !important;
    }
    
    .partners-content {
        gap: 3vh;
    }
}

/* MacBook e laptops com resolução similar (1440px - 1600px) */
@media (min-width: 1440px) and (max-width: 1600px) {
    .partners-row {
        height: 13vh;
    }
    
    .partners-logo img {
        max-width: 15vh;
        max-height: 5.5vh;
    }
    
    .partners-logo:nth-child(1) img,
    .partners-logo:nth-child(8) img {
        max-width: 25vh !important;
        max-height: 8.5vh !important;
    }
    
    .partners-logo:nth-child(2) img,
    .partners-logo:nth-child(9) img {
        max-width: 42vh !important;
        max-height: 14vh !important;
    }
    
    .partners-logo:nth-child(3) img,
    .partners-logo:nth-child(10) img {
        max-width: 25vh !important;
        max-height: 8.5vh !important;
    }
    
    .partners-content {
        gap: 2.5vh;
    }
}

/* Laptops médios (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .partners-row {
        height: 10.5vh;
    }
    
    .partners-logo img {
        max-width: 11vh;
        max-height: 4.2vh;
    }
    
    .partners-logo:nth-child(1) img,
    .partners-logo:nth-child(8) img {
        max-width: 19vh !important;
        max-height: 7.2vh !important;
    }
    
    .partners-logo:nth-child(2) img,
    .partners-logo:nth-child(9) img {
        max-width: 34vh !important;
        max-height: 12vh !important;
    }
    
    .partners-logo:nth-child(3) img,
    .partners-logo:nth-child(10) img {
        max-width: 19vh !important;
        max-height: 7.2vh !important;
    }
    
    .partners-content {
        gap: 2.1vh;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .hero-lugano-content {
        padding: 0 1vh !important;
        max-width: 70vw !important;
    }
    
    .hero-lugano .hero-description,
    .hero-ui-forge .hero-description {
        font-size: 1.4vh !important;
        line-height: 1.4 !important;
        max-width: 80vw !important;
        width: 80vw !important;
        margin: 0 auto var(--hero-spacing) !important;
        text-align: center !important;
        padding: 0 2vw !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    .floating-dot {
        width: 0.125vh;
        height: 0.125vh;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 2vh;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .hero-cta-buttons .cta-primary-btn,
    .hero-cta-buttons .cta-secondary-btn {
        width: 100%;
        max-width: 50vw;
    }
    
    .trusted-by-section {
        justify-content: center;
        margin-top: 2vh;
    }
    
    .partners-marquee {
        margin: 0vh 0 0 0;
        padding: 0 0.8vh;
        max-width: 100vw;
        width: 100vw;
        margin-left: 0;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .partners-row {
        height: 10vh;
        overflow: hidden !important;
        position: relative !important;
        width: 100% !important;
    }
    
    .partners-content {
        gap: 2.4vh;
        animation: partnersMarquee 15s linear infinite !important;
        width: fit-content !important;
        min-width: 200% !important;
        display: flex !important;
        flex-shrink: 0 !important;
        will-change: transform !important;
        animation-fill-mode: both !important;
    }
    
    .partners-logo {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .partners-logo img {
        max-width: 9vh;
        max-height: 4vh;
    }
    
    .partners-logo:nth-child(1) img,
    .partners-logo:nth-child(8) img {
        max-width: 16vh !important;
        max-height: 6.5vh !important;
    }
    
    .partners-logo:nth-child(2) img,
    .partners-logo:nth-child(9) img {
        max-width: 26vh !important;
        max-height: 10vh !important;
    }
    
    .partners-logo:nth-child(3) img,
    .partners-logo:nth-child(10) img {
        max-width: 16vh !important;
        max-height: 6.5vh !important;
    }
    
    .partners-section {
        max-width: 95vw;
        align-items: center;
        margin: 0 auto;
        padding: 0;
    }
    
    .partners-marquee::before,
    .partners-marquee::after {
        width: 2vh;
    }
    
    .hero-kpis {
        width: 90%;
        max-width: 90%;
        gap: 4vh;
        margin: 1vh auto 2vh;
    }
    
    .kpi-number {
        font-size: 2.2vh;
    }
    
    .kpi-label {
        font-size: 0.8vh;
    }
}


/* ========================================
   OTIMIZAÇÕES DE PERFORMANCE E UX
   ======================================== */

/* Melhorar performance das animações com GPU acceleration */
.hero-lugano,
.hero-ui-forge,
.hero-lugano-content,
.hero-ui-forge .hero-container {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Otimizar animações dos KPIs para melhor performance */
.kpi-number,
.kpi-label {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Melhorar performance do marquee */
.partners-content {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

/* Reduzir animações em dispositivos com preferência por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .partners-content {
        animation: none;
    }
    
    .kpi-number,
    .kpi-label {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .cta-primary-btn,
    .cta-secondary-btn {
        transition: none;
    }
    
    .client-avatar {
        transition: none;
    }
}

/* Suporte para navegadores antigos */
@supports not (min(1vh, 1rem)) {
    .hero-lugano-content {
        padding: 2vh;
    }
    
    .hero-lugano-title {
        font-size: 4vh;
    }
    
    .hero-lugano {
        padding-top: 8vh;
    }
}

/* ========================================
   MELHORIAS DE ACESSIBILIDADE
   ======================================== */

/* Melhorar contraste em modo escuro */
@media (prefers-color-scheme: dark) {
    .hero-lugano {
        background: #0B1220;
        color: #FFFFFF;
    }
    
    .title-line:first-child,
    .title-line:last-child {
        background: linear-gradient(135deg, #b3ce3a 0%, rgba(179, 206, 58, 0.8) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .partners-marquee::before {
        background: linear-gradient(90deg, #ffffff 0%, #ffffff 55%, transparent 100%);
    }
    
    .partners-marquee::after {
        background: linear-gradient(270deg, #ffffff 0%, #ffffff 55%, transparent 100%);
    }
}

/* ========================================
   MELHORIAS DE ACESSIBILIDADE E NAVEGAÇÃO
   ======================================== */

/* Melhorar foco para navegação por teclado */
.cta-primary-btn:focus,
.cta-secondary-btn:focus {
    outline: 0.3vh solid #b3ce3a;
    outline-offset: 0.3vh;
    box-shadow: 0 0 0 0.3vh rgba(179, 206, 58, 0.3);
    transform: translateY(-0.2vh);
}

.cta-primary-btn:focus-visible,
.cta-secondary-btn:focus-visible {
    outline: 0.3vh solid #b3ce3a;
    outline-offset: 0.3vh;
    box-shadow: 0 0 0 0.3vh rgba(179, 206, 58, 0.3);
}

.partners-logo:focus,
.partners-logo:focus-visible {
    outline: 0.3vh solid #b3ce3a;
    outline-offset: 0.3vh;
    opacity: 1;
    box-shadow: 0 0 0 0.3vh rgba(179, 206, 58, 0.3);
}

/* Melhorar contraste para elementos interativos */
.cta-primary-btn:focus,
.cta-secondary-btn:focus,
.partners-logo:focus {
    filter: brightness(1.1);
}

/* Estados de foco para elementos de texto interativos */
.hacker-text:focus,
.title-highlight:focus {
    outline: 0.2vh solid #b3ce3a;
    outline-offset: 0.2vh;
    border-radius: 0.2vh;
}

/* Melhorar visibilidade dos elementos interativos */
.client-avatar:focus,
.client-avatar:focus-visible {
    outline: 0.2vh solid #b3ce3a;
    outline-offset: 0.2vh;
    transform: scale(1.15);
    z-index: 10;
    position: relative;
    box-shadow: 0 0.4vh 1.2vh rgba(0, 0, 0, 0.25);
}

/* Indicadores visuais para elementos clicáveis */
.cta-primary-btn,
.cta-secondary-btn,
.partners-logo,
.client-avatar {
    cursor: pointer;
}

/* Melhorar contraste em modo escuro para acessibilidade */
@media (prefers-color-scheme: dark) {
    .cta-primary-btn:focus,
    .cta-secondary-btn:focus,
    .partners-logo:focus {
        outline-color: #b3ce3a;
        box-shadow: 0 0 0 0.3vh rgba(179, 206, 58, 0.5);
    }
    
    .hero-lugano {
        background: #0B1220;
        color: #FFFFFF;
    }
    
    .title-line:first-child,
    .title-line:last-child {
        background: linear-gradient(135deg, #b3ce3a 0%, rgba(179, 206, 58, 0.8) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .partners-marquee::before {
        background: linear-gradient(90deg, #0B1220 0%, #0B1220 55%, transparent 100%);
    }
    
    .partners-marquee::after {
        background: linear-gradient(270deg, #0B1220 0%, #0B1220 55%, transparent 100%);
    }
}

/* ========================================
   MELHORIAS FINAIS DE UX
   ======================================== */

/* Estados de erro para elementos interativos */
.cta-primary-btn.error,
.cta-secondary-btn.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-0.2vh); }
    75% { transform: translateX(0.2vh); }
}

/* Estados de sucesso */
.cta-primary-btn.success,
.cta-secondary-btn.success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Melhorar transições entre breakpoints */
@media (max-width: 480px) {
    .hero-lugano-content,
    .hero-ui-forge .hero-container {
        transition: all 0.3s ease;
    }
    
    .partners-marquee {
        transition: all 0.3s ease;
    }
    
    .hero-cta-buttons {
        transition: all 0.3s ease;
    }
}

/* Indicadores de progresso para elementos que carregam */
.partners-marquee.loading {
    opacity: 0.6;
}

.partners-marquee.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4vh;
    height: 4vh;
    margin: -2vh 0 0 -2vh;
    border: 0.3vh solid #d1d5db;
    border-top: 0.3vh solid #b3ce3a;
    border-radius: 50%;
    animation: marqueeSpinner 1s linear infinite;
    z-index: 20;
}

@keyframes marqueeSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   OTIMIZAÇÕES E LIMPEZA
   ======================================== */

/* Reset global para evitar interferências */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Suporte para navegadores antigos */
@supports not (min(1vh, 1rem)) {
    .hero-lugano-content {
        padding: 2vh;
    }
    
    .hero-lugano-title {
        font-size: 4vh;
    }
    
    .hero-lugano {
        padding-top: 8vh;
    }
}

/* Fallback para navegadores que não suportam CSS Grid */
@supports not (display: grid) {
    .hero-lugano-content {
        display: block;
    }
}

/* Fallback para navegadores que não suportam CSS Custom Properties */
@supports not (--css: variables) {
    .hero-lugano-title {
        font-size: 8vh;
    }
    
    .hero-lugano-content {
        padding: 3vh;
        gap: 4vh;
    }
}

/* ========================================
   OTIMIZAÇÕES DA ANIMAÇÃO INFINITA
   ======================================== */

/* Garantir que a animação seja sempre infinita e suave */
.partners-content {
    animation: partnersMarquee 30s linear infinite;
    will-change: transform;
    animation-fill-mode: both;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Desktop - manter velocidade padrão de 30s */
@media (min-width: 481px) {
    .partners-content {
        animation: partnersMarquee 30s linear infinite !important;
    }
}

/* Pausar apenas no hover, mas manter infinita por defeito */
.partners-marquee:hover .partners-content {
    animation-play-state: paused !important;
}

/* Em mobile, garantir que a animação nunca pare */
@media (max-width: 480px) {
    .partners-marquee:hover .partners-content {
        animation-play-state: running !important;
    }
}

/* Garantir que não há interrupções na animação */
.partners-marquee {
    animation-play-state: running !important;
}

/* ========================================
   GARANTIA DE FADE BRANCO
   ======================================== */

/* Forçar gradiente branco em todos os contextos */
.partners-marquee::before,
.partners-marquee::after {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 55%, transparent 100%) !important;
}

/* FINAL OVERRIDE FOR MOBILE HERO DESCRIPTION */
@media (max-width: 480px) {
    .hero-description {
        max-width: 70vw !important;
        width: 70vw !important;
        margin: 0 auto var(--hero-spacing) !important;
        text-align: center !important;
        padding: 0 3vw !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        white-space: normal !important;
        display: block !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.partners-marquee::after {
    background: linear-gradient(270deg, #ffffff 0%, #ffffff 55%, transparent 100%) !important;
}

/* ========================================
   COMPATIBILIDADE E FALLBACKS
   ======================================== */

/* Fallback para navegadores que não suportam CSS Grid */
@supports not (display: grid) {
    .hero-lugano-content {
        display: block;
    }
}

/* Fallback para navegadores que não suportam CSS Custom Properties */
@supports not (--css: variables) {
    .hero-lugano-title {
        font-size: 8vh;
    }
    
    .hero-lugano-content {
        padding: 3vh;
        gap: 4vh;
    }
}

