:root {
    --primary-color: #0082FF;
    --secondary-color: #00C5E9;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

:root {
    --primary-color: #0082FF;
    --secondary-color: #00C5E9;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Faded Grid Background Mixin */
/* Grid Background removed per user request */

/* Soft Flowing Lines Background for Differentials */
.differentials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='2000' height='400' viewBox='0 0 2000 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 Q250 150 500 200 T1000 200 T1500 200 T2000 200' fill='none' stroke='%230082FF' stroke-width='2' stroke-opacity='0.15'/%3E%3Cpath d='M0 230 Q250 280 500 230 T1000 230 T1500 230 T2000 230' fill='none' stroke='%2300C5E9' stroke-width='1.5' stroke-opacity='0.1'/%3E%3Cpath d='M0 170 Q500 70 1000 170 T2000 170' fill='none' stroke='%230082FF' stroke-width='1' stroke-opacity='0.1'/%3E%3C/svg%3E");
    background-size: 2000px 100%;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    animation: graphFloat 50s linear infinite;
}

@keyframes graphFloat {
    from {
        background-position: 0 center;
    }

    to {
        background-position: -2000px center;
    }
}

/* Decorative Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.8;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 130, 255, 0.2) 0%, transparent 70%);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 197, 233, 0.2) 0%, transparent 70%);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header – Liquid Glass */
header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.6) inset,
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    header {
        background: rgba(255, 255, 255, 0.95);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.35rem;
    color: #18181b;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
    transition: color 0.2s;
}

.mobile-menu-btn:hover {
    color: #3f3f46;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.25rem;
    color: #18181b;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.85;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 44px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #3f3f46;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #18181b;
}

/* Botão do menu: outline, discreto, ícone WhatsApp */
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3f3f46 !important;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 9999px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-nav:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.03);
    color: #18181b !important;
}

.btn-nav-icon {
    font-size: 1.1rem;
    color: #25D366;
}

.nav-links .btn-nav {
    margin-left: 8px;
}

/* Buttons – padronizados: pill, sólido, glow sutil */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #18181b;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 20px rgba(24, 24, 29, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 36px rgba(24, 24, 29, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #18181b !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: 16px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(37, 211, 102, 0.2), 0 0 20px rgba(37, 211, 102, 0.15);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(37, 211, 102, 0.25), 0 0 32px rgba(37, 211, 102, 0.2);
    transform: translateY(-1px);
}

/* Hero Section – vídeo de fundo com blur, overlay, duas colunas */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 140px 0 100px;
    position: relative;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-bg__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

/* Mobile: vídeo não carrega – fundo estático para economizar dados e bateria */
.hero-section--no-video .hero-video-bg {
    display: none;
}

.hero-section--no-video .hero-video-overlay {
    background: #fff;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    flex: 0 1 42%;
    min-width: 0;
    max-width: 420px;
}

.hero-text {
    width: 100%;
    max-width: 100%;
    text-align: left;
}

.hero-headline {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 20px;
    display: block;
    max-width: 100%;
}

.hero-line {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
}

.hero-line-2 {
    margin-top: 0.02em;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(1em);
    will-change: transform, opacity;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 28px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    opacity: 0;
}

.hero-right {
    flex: 1 1 50%;
    min-width: 0;
    max-width: 480px;
}

.hero-solutions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cards de soluções – expandem no hover, texto sempre visível, conteúdo em moldura */
html.no-js .hero-solution-card {
    opacity: 1;
    transform: none;
}

.hero-solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    min-height: 100px; /* Mais compacto quando fechado */
    opacity: 0;
    transform: translateX(24px);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.hero-solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    pointer-events: none;
    transition: left 0.7s ease;
}

.hero-solution-card.hero-solution-card--animated {
    opacity: 1;
    transform: translateX(0);
}

.hero-solution-card:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.hero-solution-card:hover::after {
    left: 100%;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hero-solution-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    }
}

.hero-solution-card__body {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-solution-card__title {
    display: block;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #1e293b;
}

.hero-solution-card__subtitle {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    color: #64748b;
    transition: color 0.3s ease;
}

/* Conteúdo expandido */
.hero-solution-card__expanded {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-solution-card:hover .hero-solution-card__expanded {
    max-height: 260px;
    opacity: 1;
    margin-top: 20px;
}

.hero-solution-card:hover .hero-solution-card__subtitle {
    color: #475569;
}

/* Moldura Unificada com Aspect Ratio 16/9 */
.hero-solution-card__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    position: relative;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Vídeo do Onflow – cover absoluto */
.hero-solution-card__video {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-solution-card__video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%; /* Super scale para garantir cover em qualquer aspect */
    height: 200%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

/* Onswitch: uma foto por vez – imagem em cover */
.hero-solution-card__image-slot {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f1f5f9;
}

.hero-solution-card__image-single {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-solution-card__image-single.is-visible {
    opacity: 1;
}

/* Cards internos para Soluções de voz */
.hero-solution-card__inner-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    height: 100%;
    background: #f8fafc;
}

.hero-solution-card__inner-card {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.hero-solution-card:hover .hero-solution-card__inner-card {
    opacity: 1;
    transform: translateY(0);
}

.hero-solution-card__inner-card:nth-child(1) { transition-delay: 0.1s; }
.hero-solution-card__inner-card:nth-child(2) { transition-delay: 0.15s; }
.hero-solution-card__inner-card:nth-child(3) { transition-delay: 0.2s; }

.hero-solution-card__inner-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    text-align: left;
}

/* Botão hero – estilo React Bits: pill, sólido, glow sutil */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 9999px;
    opacity: 0;
    text-decoration: none;
    color: #fff;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 24px rgba(24, 24, 29, 0.25);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-cta:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 40px rgba(24, 24, 29, 0.35);
    transform: translateY(-1px);
}

.hero-cta:focus-visible {
    outline: 2px solid #18181b;
    outline-offset: 3px;
}

.btn-hero-text {
    position: relative;
    letter-spacing: 0.01em;
}

.btn-hero-icon {
    font-size: 0.8rem;
    opacity: 0.85;
    transition: transform 0.25s ease;
}

.hero-cta:hover .btn-hero-icon {
    transform: translateX(3px);
    opacity: 1;
}

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

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-background-shape {
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-right {
        max-width: 100%;
        width: 100%;
    }

    .hero-solutions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-solution-card {
        flex: 1 1 280px;
        min-height: 90px;
    }

    .hero-solution-card:hover {
        min-height: auto;
        transform: translateY(-4px) scale(1.01);
    }

    .hero-solution-card__frame {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 900px) {
    .hero-line {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-headline {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-solutions {
        flex-direction: column;
    }

    .hero-solution-card {
        flex: none;
        padding: 20px;
        min-height: 80px;
    }

    .hero-solution-card:hover {
        min-height: auto;
        transform: translateY(-2px) scale(1.01);
    }

    .hero-solution-card__expanded {
        display: none;
    }

    .hero-solution-card__frame {
        aspect-ratio: 16 / 10;
    }

    .hero-solution-card__title {
        font-size: 1.05rem;
    }

    .hero-solution-card__subtitle {
        font-size: 0.8rem;
    }

    .hero-background-shape {
        width: 300px;
        height: 300px;
        right: -80px;
    }
}

/* Services Section */
.services-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #0066cc 0%, var(--primary-color) 50%, #0055aa 100%);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
}

.curve-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.curve-divider svg {
    position: relative;
    display: block;
    width: 100%;
    transform: scale(1.02);
    /* Slight scale to prevent sub-pixel gaps without overflow */
    height: 80px;
}

.curve-divider .shape-fill {
    fill: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #475569;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Ajustes para seÃ§Ã£o services com fundo escuro */
.services-section .section-header h2 {
    color: var(--text-light);
}

.services-section .section-header p {
    color: rgba(241, 245, 249, 0.9);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}


/* Ajustes para cards na seÃ§Ã£o services (fundo azul) */
.services-section .glass-card {
    background: #ffffff;
    border: 2px solid rgba(0, 130, 255, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.services-section .glass-card h3 {
    color: var(--primary-color) !important;
}

.services-section .glass-card p {
    color: #475569 !important;
    /* Darker blue-gray for readability on white */
}

.services-section .icon-box i {
    color: var(--primary-color);
}

.services-section .icon-box {
    background: rgba(0, 130, 255, 0.08);
    border: 1px solid rgba(0, 130, 255, 0.1);
    margin-bottom: 24px;
}

.services-section .glass-card:hover {
    background: #ffffff;
    transform: translateY(-8px) scale(1.02);
    box-shadow: none;
    border-color: var(--primary-color);
}

.services-section .glass-card:hover .icon-box {
    transform: rotate(5deg) scale(1.1);
    background: rgba(0, 130, 255, 0.12);
}

.secondary-services-section {
    padding: 30px 0 80px;
    background-color: white;
    /* Matches #differentials background */
    position: relative;
    z-index: 4;
}

.secondary-services-section .glass-card {
    background: #ffffff;
    border: 2px solid rgba(0, 130, 255, 0.4);
    box-shadow: none;
}

.secondary-services-section .glass-card:hover {
    border-color: var(--primary-color);
    box-shadow: none;
}

.secondary-services-section .service-card h3 {
    color: var(--primary-color);
}

.secondary-services-section .service-card p {
    color: #475569;
}

.secondary-services-section .icon-box {
    background: rgba(0, 130, 255, 0.08);
    border: 1px solid rgba(0, 130, 255, 0.1);
}

.secondary-services-section .icon-box i {
    color: var(--primary-color);
}

.icon-box {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(0, 130, 255, 0.12) 0%, rgba(0, 197, 233, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.glass-card:hover .icon-box {
    transform: rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, rgba(0, 130, 255, 0.2) 0%, rgba(0, 197, 233, 0.2) 100%);
}

.icon-box i {
    font-size: 42px;
    color: var(--primary-color);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Ajustes para textos na seÃ§Ã£o services */
.services-section .service-card h3 {
    color: #ffffff;
}

.services-section .service-card p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card .btn-whatsapp {
    margin-top: auto;
}

/* Timeline Differentials Section */
.differentials-section {
    padding: 80px 0 40px;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.timeline-wrapper {
    margin-top: 80px;
    padding: 20px 0 40px;
    position: relative;
}

.timeline-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line-bg {
    position: absolute;
    top: 48px;
    /* Center of icon box (96px/2) */
    left: 16.66%;
    right: 16.66%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    z-index: 1;
}

.timeline-line-fill {
    position: absolute;
    top: 48px;
    left: 16.66%;
    width: 0%;
    /* Animated via JS */
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
    z-index: 2;
    transition: width 0.1s ease-out;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.timeline-icon-wrapper {
    margin-bottom: 30px;
    position: relative;
}

.timeline-icon {
    width: 96px;
    height: 96px;
    background: #f0f9ff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(0, 130, 255, 0);
    opacity: 0;
    transform: scale(0.6);
}

.timeline-item.revealed .timeline-icon {
    opacity: 1;
    transform: scale(1);
    border-color: var(--primary-color);
    background: white;
}

.timeline-item:hover .timeline-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 130, 255, 0.1);
}

.timeline-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.timeline-item.revealed .timeline-content {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.timeline-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .timeline-items {
        flex-direction: column;
        gap: 60px;
    }

    .timeline-line-bg,
    .timeline-line-fill {
        display: none;
        /* Hide horizontal line on mobile */
    }

    .timeline-item {
        padding: 0;
    }
}

/* Support Section */
.support-section {
    padding: 60px 0 100px;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.support-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.support-content {
    flex: 1.2;
}

.support-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.support-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.support-item:hover {
    background: rgba(0, 130, 255, 0.03);
    transform: translateX(10px);
}

.support-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: var(--gradient-main);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 10px 20px rgba(0, 130, 255, 0.2);
}

.support-text h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.support-text p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.support-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-image img {
    width: 100%;
    max-width: 550px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.support-image:hover img {
    transform: scale(1.02);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(0, 130, 255, 0.12) 0%, transparent 70%);
    z-index: 1;
}

.support-cta {
    background: linear-gradient(135deg, rgba(0, 130, 255, 0.08) 0%, rgba(0, 197, 233, 0.08) 100%);
    border: 1px solid rgba(0, 130, 255, 0.2);
    border-radius: 24px;
    padding: 30px 40px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.cta-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cta-text p {
    color: #64748b;
    font-size: 1.1rem;
}

.support-cta .btn-whatsapp {
    margin-top: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .support-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        margin-top: 60px;
    }
}

@media (max-width: 992px) {
    .support-layout {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .support-content .section-header {
        text-align: center !important;
    }

    .support-item {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .support-item:hover {
        background: transparent;
        transform: translateY(-5px);
    }

    .support-icon {
        margin-bottom: 12px;
    }
}

/* About Section */
.about-section {
    padding: 120px 0 80px;
    background-color: var(--light-bg);
    position: relative;
    overflow: visible;
}

/* Curve Top (Support -> About) */
.about-section::before {
    content: '';
    position: absolute;
    top: -1px;
    /* Overlap slightly to prevent gap */
    left: 0;
    width: 100%;
    height: 80px;
    /* Use background image method instead of mask for consistency */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 10;
    pointer-events: none;
    /* SVG is top-filled white (Valley), so proper placement at top covers the grey correctly */
}

/* Curve Bottom (About -> Contact) */
/* Curve Bottom (About -> Contact) */
.about-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* Overlap slightly */
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 10;
    pointer-events: none;
    transform: scaleY(-1);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

/* Partnership Styles for About Section */
.about-partnership-clean {
    text-align: center;
    margin: 60px auto 0;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.about-partnership-clean .partnership-text {
    color: #64748b;
    /* Darker gray for light background */
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-partnership-clean .partnership-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-partnership-clean .partner-logo {
    height: 60px;
    width: auto;
    filter: none;
    /* Remove white filter for light background */
    opacity: 0.8;
    transition: all 0.4s ease;
}

.about-partnership-clean .partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.about-partnership-clean .partner-logo.algar {
    height: 55px;
}

.about-stats {
    display: flex;
    gap: 80px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .about-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* Footer */
#footer {
    padding: 80px 0 30px;
    background: var(--dark-bg);
    color: var(--text-light);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.brand-col .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.brand-col .logo img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.brand-desc {
    color: #94a3b8;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-list li,
.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.privacy-link {
    color: #64748b;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.link-separator {
    color: #334155;
    font-size: 0.75rem;
    opacity: 0.5;
}

.privacy-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        padding: 24px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.04),
            0 1px 0 0 rgba(255, 255, 255, 0.6) inset;
        z-index: 1000;
        gap: 8px;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a,
    .nav-links > li .dropbtn {
        display: block;
        padding: 14px 0;
        width: 100%;
    }

    .nav-links .btn-nav {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Bar chart decoration fixed to bottom of contact block */
.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='400' viewBox='0 0 1200 400' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='300' width='30' height='100' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='50' y='200' width='30' height='200' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='90' y='250' width='30' height='150' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='130' y='280' width='30' height='120' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='170' y='180' width='30' height='220' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='210' y='320' width='30' height='80' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='250' y='260' width='30' height='140' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='290' y='150' width='30' height='250' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='330' y='340' width='30' height='60' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='370' y='210' width='30' height='190' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='410' y='290' width='30' height='110' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='450' y='170' width='30' height='230' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='490' y='310' width='30' height='90' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='530' y='190' width='30' height='210' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='570' y='270' width='30' height='130' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='610' y='160' width='30' height='240' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='650' y='330' width='30' height='70' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='690' y='220' width='30' height='180' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='730' y='300' width='30' height='100' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='770' y='180' width='30' height='220' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='810' y='260' width='30' height='140' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='850' y='150' width='30' height='250' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='890' y='340' width='30' height='60' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='930' y='210' width='30' height='190' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='970' y='290' width='30' height='110' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='1010' y='170' width='30' height='230' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='1050' y='310' width='30' height='90' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='1090' y='190' width='30' height='210' fill='%2300C5E9' fill-opacity='0.05'/%3E%3Crect x='1130' y='270' width='30' height='130' fill='%230082FF' fill-opacity='0.08'/%3E%3Crect x='1170' y='160' width='30' height='240' fill='%2300C5E9' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 1200px 400px;
    background-repeat: repeat-x;
    background-position: bottom left;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    animation: barFloat 40s linear infinite;
}

@keyframes barFloat {
    from {
        background-position: 0 bottom;
    }

    to {
        background-position: -1200px bottom;
    }
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-actions {
    margin-top: 40px;
}

.icon-btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.fade-in {
    transform: translateY(0);
    /* Override for simple fade */
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Final specificity overrides for interactions */
.glass-card:hover {
    transform: translateY(-8px) scale(1.04) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 130, 255, 0.15), 0 10px 10px -5px rgba(0, 130, 255, 0.1);
    border-color: var(--primary-color) !important;
    background: #ffffff;
}

/* Vertical Timeline */
.vertical-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.v-line-path {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #e2e8f0;
    transform: translateX(-50%);
    border-radius: 2px;
}

.v-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Animated via JS */
    background: var(--gradient-main);
    border-radius: 2px;
    transition: height 0.1s linear;
}

.v-timeline-item {
    position: relative;
    margin-bottom: 100px;
    /* Sustantial gap between items */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center items around the timeline dot */
    gap: 80px;
    /* Equal gap to support section */
}

.v-timeline-item.right {
    flex-direction: row-reverse;
}

.v-timeline-item:last-child {
    margin-bottom: 0;
}

.v-timeline-dot {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: white;
    border: 4px solid #e2e8f0;
    border-radius: 50%;
    z-index: 5;
    transform: translateX(-50%);
    transition: all 0.4s ease;
}

.v-timeline-item.revealed .v-timeline-dot {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 130, 255, 0.2);
}

/* Vertical Timeline Unified Styles */
.v-timeline-content,
.v-timeline-image {
    flex: 0 0 460px;
    /* Fixed width for perfect symmetry */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.v-timeline-item.revealed .v-timeline-content,
.v-timeline-item.revealed .v-timeline-image {
    opacity: 1;
    transform: translateY(0);
}

.v-timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.v-timeline-content p {
    color: #475569;
    line-height: 1.6;
    font-size: 1rem;
}

/* Redundant Layout Controls removed */

.v-timeline-image .image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 16 / 9;
}

.v-timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.v-timeline-item:hover .v-timeline-image img {
    transform: scale(1.05);
}

.v-timeline-image .image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 130, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.v-timeline-item:hover .image-glow {
    opacity: 1;
}

@media (max-width: 768px) {
    .v-line-path {
        left: 24px;
        transform: none;
    }

    .v-timeline-item,
    .v-timeline-item.right {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-left: 60px;
        margin-bottom: 60px;
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .v-timeline-content,
    .v-timeline-image {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .v-timeline-dot,
    .v-timeline-item.right .v-timeline-dot {
        left: 24px;
        top: 30px;
        right: auto;
        transform: translate(-50%, 0);
    }
}

.contact-section {
    padding-bottom: 30px;
    /* Reduce gap before footer on mobile */
}

/* Floating WhatsApp Button & Menu Container */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-menu {
    position: absolute;
    bottom: 90px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    overflow: hidden;
    z-index: 999;
}

.whatsapp-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-header {
    background: #075e54;
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.whatsapp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #4a4a4a;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.whatsapp-item:last-child {
    border-bottom: none;
}

.whatsapp-item:hover {
    background: #f5f5f5;
    color: #25d366;
}

.whatsapp-item i {
    color: #25d366;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Toggle Button */
.whatsapp-float {
    background-color: #25d366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
    position: relative;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float i {
    transition: all 0.3s ease;
    position: absolute;
}

.whatsapp-float .close-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
}

.whatsapp-float .my-float {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Active State for Button */
.whatsapp-float.active {
    background-color: #128c7e;
}

.whatsapp-float.active .close-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.whatsapp-float.active .my-float {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .whatsapp-menu {
        bottom: 80px;
        width: 180px;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}

.dropbtn-icon {
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropbtn-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-content li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-content li a {
    display: block;
    padding: 10px 18px;
    color: #3f3f46;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-content li a:hover {
    background: #f4f4f5;
    color: #18181b;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        top: auto;
        left: auto;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 4px 0 4px 20px;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
    }

    .dropdown:not(.active) .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content li a {
        padding: 10px 16px;
    }
}

/* Onswitch Section Styles */
.onswitch-section {
    padding: 100px 0 40px;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.onswitch-logo-title {
    height: 100px;
    max-width: 100%;
    width: auto;
    margin: 0 auto 30px auto;
    display: block;
    object-fit: contain;
    animation: logoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 130, 255, 0.15));
}

.onswitch-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #475569;
    max-width: 950px;
    margin: 0 auto;
}

.onswitch-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    pointer-events: none;
    z-index: 0;
}

.onswitch-section>.container {
    position: relative;
    z-index: 1;
}

.onswitch-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
}

.onswitch-text {
    flex: 1;
}

.onswitch-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.onswitch-features {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.onswitch-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #475569;
}

.onswitch-features li i {
    color: var(--secondary-color);
}

.onswitch-visual {
    flex: 1;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.onswitch-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease;
}

.onswitch-card h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.onswitch-card.floating {
    margin-top: 60px;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Interconexoes Section Styles */
.interconexoes-section {
    padding: 40px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .partnership-logos {
        gap: 30px;
        padding: 0 15px;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .partner-logo {
        height: auto;
        max-height: 35px;
        max-width: 100%;
        object-fit: contain;
    }

    .partner-logo.algar,
    .partner-logo.oracle {
        max-height: 50px;
    }

    .about-partnership-clean .partner-logo {
        height: auto !important;
        max-height: 50px;
        max-width: 100%;
    }
}

.interconexoes-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    pointer-events: none;
    z-index: 0;
}

.interconexoes-section .container {
    position: relative;
    z-index: 1;
}

.interconexoes-section .section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.interconexoes-section .section-header .section-description {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 950px;
    margin: 0 auto 60px auto;
}

.white-text-title {
    color: white !important;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.mini-section-title {
    text-align: center;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 80px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.inter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 80px;
}

.inter-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.inter-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.inter-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    /* Lighter background for white icon */
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.inter-card .icon-box i {
    color: white !important;
}

.inter-card:hover .icon-box {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(5deg) scale(1.1);
}

.inter-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.inter-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

.inter-cta {
    text-align: center;
    margin-top: 60px;
}

.inter-feature-showcase {
    margin-top: 80px;
    width: 100%;
}

.inter-main-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.inter-main-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.inter-main-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card-icon {
    width: 100px;
    height: 100px;
    background: rgba(0, 130, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.inter-main-feature-card:hover .feature-card-icon {
    background: var(--primary-color);
    transform: rotate(10deg) scale(1.1);
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card-content p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.inter-main-feature-card .bina-features {
    align-items: center;
    width: 100%;
}

@media (max-width: 992px) {
    .inter-main-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .inter-main-feature-card {
        padding: 30px;
    }
}

.inter-features-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.inter-feature-column-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.column-icon {
    font-size: 5rem;
    color: white;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.inter-feature-column-item:hover .column-icon {
    transform: translateY(-5px) scale(1.1);
    color: var(--primary-color);
    filter: drop-shadow(0 0 20px var(--primary-color));
}

.column-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    max-width: 400px;
}

.column-text {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 380px;
    /* Aumentado para o texto fluir melhor */
    margin-left: auto;
    margin-right: auto;
}

.column-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
    max-width: 300px;
    /* Largura fixa maior para sincronizar o ponto de partida dos ícones */
    margin: 0 auto;
}

.column-features li {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    /* Ícone alinhado ao topo do texto */
    text-align: left;
    gap: 12px;
}

.column-features li i {
    color: var(--primary-color);
    font-size: 1rem;
}

@media (max-width: 992px) {
    .inter-features-column-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .column-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .inter-feature-showcase {
        gap: 80px;
    }

    .bina-highlight-content,
    .bina-highlight-content.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

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

    .bina-text h3,
    .white-text-title {
        font-size: 1.8rem;
    }

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

@media (max-width: 600px) {

    .interconexoes-section .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .white-text-title,
    .bina-text h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .interconexoes-section .section-header .section-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .bina-text p {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }
}

/* Process Flow Styles */
.process-flow-wrapper {
    max-width: 1000px;
    margin: 20px auto 40px auto;
    /* Tightened with header */
    width: 100%;
}

.process-flow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 40px;
    min-height: 120px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    z-index: 2;
    position: relative;
}

.node-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.22rem;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.node-icon.onmai-brand {
    width: 110px;
    height: 110px;
    background: rgba(0, 130, 255, 0.12);
    border-color: rgba(0, 130, 255, 0.4);
}

.node-icon img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.flow-step:hover .node-icon {
    transform: translateY(-5px) scale(1.08);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 130, 255, 0.5);
}

.flow-path-svg {
    position: absolute;
    top: 55px;
    /* Center of 110px icon */
    left: 0;
    width: 100%;
    height: 10px;
    pointer-events: none;
    z-index: 1;
}

.path-bg {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2;
    fill: none;
}

.path-active {
    stroke: var(--primary-color);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 12, 24;
    stroke-dashoffset: 36;
    animation: flowLine 2s linear infinite;
}

@keyframes flowLine {
    to {
        stroke-dashoffset: 0;
    }
}

.flow-particle {
    filter: blur(1px) drop-shadow(0 0 8px #fff);
}

@media (max-width: 768px) {
    .process-flow-container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
        padding: 0;
    }

    .node-icon,
    .node-icon.onmai-brand {
        transform: none !important;
        width: 100px;
        height: 100px;
    }

    .flow-path-svg {
        display: none;
    }
}

@media (max-width: 992px) {
    .onswitch-content {
        flex-direction: column;
        text-align: center;
    }

    .onswitch-features {
        max-width: 500px;
        margin: 30px auto;
    }

    .onswitch-visual {
        flex-direction: column;
        align-items: center;
    }

    .onswitch-card.floating {
        margin-top: 0;
    }
}

/* Onswitch Video Styling */
.onswitch-video-container {
    max-width: 900px;
    margin: 40px auto 60px auto;
    width: 100%;
    position: relative;
}

#onswitch .onflow-feature-image-wrapper {
    background: #ffffff;
    border-color: #ffffff;
}

/* Onswitch Stats */
.onswitch-stats-container {
    text-align: center;
    max-width: 1150px;
    margin: 0 auto;
}

.onswitch-stats-container h3 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.stat-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

/* Hover effect removed per user request */

.stat-value-wrapper {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    /* Changed from baseline to center for better icon alignment */
    justify-content: center;
    gap: 5px;
}

.stat-prefix,
.stat-suffix {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.5;
    max-width: 250px;
}

.stat-icon {
    font-size: 3.5rem;
    /* Matches number size */
    color: var(--primary-color);
    /* Blue padding */
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .onswitch-stats-container h3 {
        font-size: 2rem;
    }

    .stat-value-wrapper {
        font-size: 2.8rem;
    }
}

/* Video Overlay Cards */
.video-overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.video-overlay-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-overlay-card li {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
}

.video-overlay-card li i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.video-overlay-card.top-left {
    top: 40px;
    left: -180px;
    animation-delay: 0s;
}

.video-overlay-card.bottom-right {
    bottom: 40px;
    right: -180px;
    animation-delay: 1.5s;
}

@media (max-width: 1024px) {

    /* Bring cards inside if screen is smaller but not mobile yet */
    .video-overlay-card.top-left {
        left: 20px;
    }

    .video-overlay-card.bottom-right {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .video-overlay-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        max-width: 100%;
        margin-top: 15px;
        animation: none;
        background: white;
        border: 1px solid #e2e8f0;
    }

    .onswitch-video-container {
        display: flex;
        flex-direction: column;
    }
}

/* Onswitch Tools Layout */
.onswitch-tools-section {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 60px;
}

.tool-row {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.tool-row.reverse {
    flex-direction: row-reverse;
}

.tool-content {
    flex: 1;
}

.tool-content h4 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.tool-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tool-topics li {
    font-size: 1.05rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    /* Changed to column */
    align-items: flex-start;
    gap: 8px;
    /* Reduced gap */
    line-height: 1.6;
}

.tool-topics li strong {
    display: flex;
    /* Flex to align icon */
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.tool-topics li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    background: rgba(0, 130, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-image-wrapper {
    flex: 1.2;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    padding: 10px;
}

/* Window Header (Dots) */
.tool-image-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #28c840;
    z-index: 5;
    opacity: 0.8;
}

.tool-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin-top: 30px;
    /* Space for dots */
    border-radius: 12px;
}

.tool-row:hover .tool-image-wrapper {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
}

.tool-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    gap: 15px;
}

.tool-image-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.tool-image-placeholder span {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .tool-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .tool-row.reverse {
        flex-direction: column;
    }

    .tool-topics li {
        text-align: left;
    }

    .tool-image-wrapper {
        width: 100%;
    }
}

/* Bilhetagem Section */
.bilhetagem-container {
    margin-top: 80px;
    text-align: center;
    padding-bottom: 20px;
}

.bilhetagem-container h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 700;
}

.bilhetagem-cards-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.bilhetagem-card {
    background: #ffffff;
    border: 1px solid rgba(0, 130, 255, 0.7);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bilhetagem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 130, 255, 0.2);
}

.bilhetagem-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 130, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.bilhetagem-card h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.bilhetagem-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .bilhetagem-cards-row {
        flex-direction: column;
        align-items: center;
    }

    .bilhetagem-card {
        width: 100%;
        max-width: 100%;
    }
}

#onswitch .onflow-cta-wrapper {
    padding: 60px 20px 0px;
    margin-top: 40px;
    text-align: center;
}

#onswitch .onflow-cta-text h3 {
    font-size: 3.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

#onswitch .onflow-cta-text h3 .highlight-text {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

#onswitch .onflow-cta-text p {
    color: #64748b;
    font-size: 1.2rem;
    margin: 20px auto 30px;
}

#onswitch .onflow-cta-wrapper .btn-primary {
    padding: 14px 32px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    #onswitch .onflow-cta-text h3 {
        font-size: 2.2rem;
    }

    .onswitch-logo-title {
        height: 70px;
        margin: 0 auto 20px auto;
    }
}

/* About Stats Section */
.about-stats-container {
    margin-top: 100px;
    text-align: center;
}

.about-stats-container h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-weight: 700;
}

.about-stats-container .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.about-stats-container .stat-value-wrapper {
    color: #0082FF;
    /* Using specific blue as requested/implied */
}

.about-stats-container .stat-suffix {
    margin-left: 8px;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .bilhetagem-cta h4 {
        font-size: 1.7rem;
    }
}