:root {
    /* Colors */
    --clr-primary: #2563ff;
    --clr-primary-hover: #1d4ed8;
    --clr-dark: #0f172a;
    --clr-dark-alt: #1e293b;
    --clr-white: #ffffff;
    --clr-bg: #f5f5f7; /* Off-white/light gray */
    --clr-gray-100: #f8fafc;
    --clr-gray-200: #e2e8f0;
    --clr-gray-400: #94a3b8;
    --clr-gray-600: #475569;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1100px; /* More boxed */
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--clr-gray-600);
    line-height: 1.6;
    background-color: var(--clr-bg);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Removed global grainy texture overlay as it creates ugly noise on dark backgrounds */

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-blue { color: var(--clr-primary); }
.text-white { color: var(--clr-white); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 255, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-small {
    font-size: 0.875rem;
    color: var(--clr-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-small::after {
    content: '→';
    transition: transform 0.2s;
}

.btn-small:hover::after {
    transform: translateX(4px);
}
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--clr-dark);
    letter-spacing: -0.5px;
    white-space: nowrap;
    z-index: 10;
}

.logo span {
    color: var(--clr-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: var(--transition);
}

.mobile-cta-item {
    display: none;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-gray-700);
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--clr-primary);
    background: transparent;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 255, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 255, 0.35);
    transform: translateY(-1px);
}

.btn-whatsapp {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--clr-white);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.menu-toggle {
    display: none;
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--clr-dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 60px;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 255, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--clr-dark);
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--clr-gray-600);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.15rem;
    border-radius: 100px;
}

.btn-pulse {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 100px;
    border: 2px solid var(--clr-primary);
    animation: pulse-ring 2s infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
}

.hero-dashboard-wrapper {
    margin-top: 80px;
    position: relative;
    width: 1500px;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
    transform-origin: center top;
}

.hero-connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-connections-svg path {
    animation: connection-flow 25s linear infinite;
}

@keyframes connection-flow {
    to {
        stroke-dashoffset: -36;
    }
}

.hero-badges-col {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 310px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 2;
}

.hero-badges-col.left {
    left: 0;
    align-items: flex-start;
}

.hero-badges-col.right {
    right: 0;
    align-items: flex-end;
}

.hero-float-card {
    background: var(--clr-white);
    padding: 20px 28px;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    width: 310px;
    box-sizing: border-box;
    transition: var(--transition);
    z-index: 2;
    animation: float-card 6s ease-in-out infinite;
}

.hero-badges-col.left .hero-float-card:nth-child(1) { animation-delay: 0s; }
.hero-badges-col.left .hero-float-card:nth-child(2) { animation-delay: 1.5s; }
.hero-badges-col.left .hero-float-card:nth-child(3) { animation-delay: 3s; }
.hero-badges-col.right .hero-float-card:nth-child(1) { animation-delay: 0.5s; }
.hero-badges-col.right .hero-float-card:nth-child(2) { animation-delay: 2s; }
.hero-badges-col.right .hero-float-card:nth-child(3) { animation-delay: 3.5s; }

@keyframes float-card {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

.hero-float-card:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    flex-shrink: 0;
}

.icon-box i {
    width: 26px;
    height: 26px;
}

.card-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.card-text-wrapper strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.2;
}

.card-text-wrapper span {
    font-size: 1.0rem;
    font-weight: 400;
    color: var(--clr-gray-600);
    margin-top: 2px;
}

.hero-laptop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 830px;
    z-index: 2;
}

.hero-laptop::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 85%;
    background: radial-gradient(circle, rgba(37, 99, 255, 0.45) 0%, rgba(37, 99, 255, 0.1) 50%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: pulse-glow 5s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.laptop-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.25));
    border-radius: 12px;
}

/* Sections Global */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-dark);
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    margin-top: 16px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section (Dark New) */
.about {
    background-color: #050508; /* Dark premium UI background */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 255, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.about-grid-new {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Column */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(37, 99, 255, 0.2);
    background: rgba(37, 99, 255, 0.05);
    color: var(--clr-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.about-badge i {
    width: 14px;
    height: 14px;
}

.about-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--clr-white);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.about-subtext {
    color: #9ca3af;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.about-subtext strong {
    color: #ffffff;
}

.about-benefits {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
    font-size: 0.88rem;
    font-weight: 500;
}

.benefit-item i {
    width: 18px;
    height: 18px;
    color: var(--clr-primary);
}

.benefit-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.15);
}

.about-cta-wrapper {
    display: flex;
    align-items: center;
}

.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #2563ff;
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 24px rgba(37, 99, 255, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.btn-whatsapp-premium:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 255, 0.45);
    color: #ffffff;
}

.btn-whatsapp-premium svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-whatsapp-premium i {
    width: 18px;
    height: 18px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-whatsapp-premium:hover i {
    transform: translateX(4px);
}

/* Right Column Cards */
.about-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-card-minimal {
    background: #090a0f;
    border: 1px solid #141722;
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card-minimal:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 255, 0.1);
}

.card-icon-blue {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 255, 0.3);
    background: rgba(37, 99, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563ff;
    margin-bottom: 8px;
    flex-shrink: 0;
}

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

.about-card-minimal h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.about-card-minimal p {
    color: #8a8d98;
    font-size: 0.88rem;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
}

.card-line-blue {
    width: 24px;
    height: 2px;
    background-color: #2563ff;
    border-radius: 1px;
    margin-top: 8px;
}

/* Faixa Horizontal Premium */
.about-faixa-premium {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #07080c 0%, #0c0d14 100%);
    border: 1px solid rgba(37, 99, 255, 0.2);
    border-radius: 16px;
    padding: 24px 32px;
    margin-top: 80px;
    gap: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 255, 0.05);
    z-index: 1;
}

.faixa-icon-left {
    flex-shrink: 0;
}

.faixa-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 255, 0.3);
    background: rgba(37, 99, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563ff;
}

.faixa-icon-wrap i {
    width: 24px;
    height: 24px;
}

.faixa-divider {
    width: 1px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.08);
}

.faixa-text-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.faixa-text-center span {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.faixa-text-center strong {
    color: #2563ff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.faixa-radar-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.radar-waves {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.radar-waves i {
    color: #2563ff;
    width: 20px;
    height: 20px;
    z-index: 2;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 99, 255, 0.15);
    animation: radar-pulse 2.5s infinite linear;
    opacity: 0;
    z-index: 1;
}

.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 0.8s; }
.wave-3 { animation-delay: 1.6s; }

@keyframes radar-pulse {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}


/* Services Section (New Layout) */
.services-new {
    padding: 120px 0;
    background-color: var(--clr-white);
}

.services-new-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 255, 0.08);
    border-radius: 100px;
    color: var(--clr-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.services-badge i {
    width: 14px;
    height: 14px;
}

.services-new-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-dark);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.services-new-subtitle {
    color: var(--clr-gray-500);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
}

.services-new-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.service-new-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-200);
    border-radius: 16px;
    padding: 40px 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-new-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(37, 99, 255, 0.2);
}

.service-new-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 255, 0.05);
    border: 1px solid rgba(37, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    margin-bottom: 24px;
}

.service-new-icon i {
    width: 22px;
    height: 22px;
}

.service-new-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.service-new-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-dark);
    margin-bottom: 12px;
}

.service-new-card p {
    color: var(--clr-gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-new-line {
    width: 32px;
    height: 3px;
    background: var(--clr-primary);
    border-radius: 2px;
    margin-top: auto;
}

.service-cta-card {
    background: var(--clr-primary);
    border: none;
}

.service-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(37, 99, 255, 0.2);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-white);
    color: var(--clr-primary);
    font-weight: 700;
    border-radius: 100px;
    padding: 12px 24px;
    transition: var(--transition);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: var(--clr-primary);
}

.services-footer-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #f8fafc;
    border: 1px solid var(--clr-gray-200);
    border-radius: 16px;
    padding: 24px;
}

.sf-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sf-item i {
    color: var(--clr-primary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.sf-item span {
    font-size: 0.85rem;
    color: var(--clr-gray-600);
    line-height: 1.4;
}

/* Results Section - Infinite Marquee */
.results {
    background-color: #050508;
    padding: 100px 0;
    overflow: hidden;
}

.results-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.results-header .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #ffffff; /* Forced white to fix visibility issue */
}

.results-subtitle {
    color: rgba(255, 255, 255, 0.75); /* Brighter gray for better contrast */
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 650px;
}

    .marquee-wrapper {
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        margin: 0;
        overflow-x: hidden;
        padding: 20px 0;
    }

/* Gradient fades on the edges for a smooth entrance/exit */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #050508 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #050508 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

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

.marquee-item {
    width: 560px;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Image scroll wrapper — inserted by JS */
.img-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

.img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 255, 0.15); /* Toque de azul padrão */
    mix-blend-mode: overlay;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.marquee-item:hover .img-wrapper::after {
    opacity: 0;
}

.print-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 4s ease-in-out, filter 0.4s ease;
    transform: translateY(0);
    filter: saturate(0.6) brightness(0.9);
}

.marquee-item:hover .print-img {
    /* Scrolls image upward — calc(-100% + visibleHeight) */
    transform: translateY(calc(-100% + 332px));
    filter: saturate(1) brightness(1);
}

/* Hover overlay - Visitar Site */
.site-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(37,99,255,0.95) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    pointer-events: none;
}

.site-overlay i {
    width: 18px;
    height: 18px;
}

.marquee-item:hover .site-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Browser Chrome Bar */
.browser-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #1e1e2e;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.browser-chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.browser-chrome span:nth-child(1) { background: #ff5f57; }
.browser-chrome span:nth-child(2) { background: #febc2e; }
.browser-chrome span:nth-child(3) { background: #28c840; }

.print-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--clr-gray-500);
    text-align: center;
    padding: 24px;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #0d0f14, #050508);
}

.print-placeholder i {
    width: 32px;
    height: 32px;
    color: var(--clr-gray-600);
    opacity: 0.5;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 16px)); } /* 16px is half the gap (32px / 2) */
}

/* Final CTA */
.final-cta {
    padding: var(--section-padding);
    padding-bottom: 120px; /* Extra breathing room for the footer */
    background: var(--clr-gray-100);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center; /* Center them perfectly */
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 620px; /* Increased to match the actual calendar overflow height */
}

.cta-text-group {
    margin-bottom: 40px; /* Space Line 2: between subtitle and analysis card */
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--clr-dark);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0;
}

/* CTA Subtitle */
.cta-subtitle {
    font-size: 1.05rem;
    color: var(--clr-gray-500);
    line-height: 1.5;
    margin-top: 24px; /* Space Line 1: between title and subtitle */
    margin-bottom: 0;
}

/* Analysis Card */
.cta-analysis-card {
    background: var(--clr-white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    width: 100%;
    box-sizing: border-box;
}

.analysis-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--clr-dark);
    margin-bottom: 20px;
    margin-top: 0;
}

.analysis-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--clr-gray-600);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.analysis-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.analysis-list i {
    width: 18px;
    height: 18px;
    color: var(--clr-primary);
    background: rgba(37,99,255,0.1);
    border-radius: 50%;
    padding: 3px;
}

/* Consultant Mini Card */
.consultant-mini {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--clr-gray-200);
    border-radius: 100px;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    margin-top: auto; /* Space Line 3: Pushes the card to the absolute bottom of the container */
}

.consultant-mini img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
}

.c-mini-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.c-mini-info strong {
    font-size: 0.95rem;
    color: var(--clr-dark);
}

.c-mini-info span {
    font-size: 0.85rem;
    color: var(--clr-gray-500);
    font-style: italic;
}

/* Calendar Widget Styles */
/* Calendar Widget Wrapper and Flip Effect */
.calendar-widget-wrapper {
    perspective: 1500px;
    width: 100%;
    max-width: 440px;
    height: 620px; /* Locked explicit height to match right column */
    margin: 0 auto;
}

.calendar-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.calendar-widget-wrapper.flipped .calendar-card-inner {
    transform: rotateY(180deg);
}

.calendar-front, .calendar-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    border: 1px solid var(--clr-gray-200);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    background: var(--clr-white);
    padding: 24px; /* Reduzido de 32px para ter mais espaço de respiro interno */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.calendar-back {
    transform: rotateY(180deg);
    background: var(--clr-white);
}

/* Form Styles inside Calendar Back */
.cw-lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    margin-top: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-group label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--clr-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background-color: var(--clr-gray-100);
    border: 1px solid var(--clr-gray-200);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--clr-dark);
    font-family: var(--font-main);
    transition: var(--transition);
    width: 100%; /* IMPEDE QUE O INPUT VÁ PARA FORA DO CONTAINER */
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 255, 0.1);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}

.btn-back-to-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--clr-gray-200);
    color: var(--clr-gray-600);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-back-to-calendar:hover {
    background: var(--clr-gray-100);
    color: var(--clr-dark);
    border-color: var(--clr-gray-400);
}

.btn-submit-lead {
    flex-grow: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 10px 16px;
}

.cw-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px; /* Reduzido de 24px */
    padding-bottom: 16px; /* Reduzido de 24px */
    border-bottom: 1px solid var(--clr-gray-200);
}

.cw-icon {
    width: 44px; /* Reduzido de 48px */
    height: 44px; /* Reduzido de 48px */
    background: rgba(37, 99, 255, 0.1);
    color: var(--clr-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-title-group h3 {
    font-size: 1.15rem; /* Reduzido de 1.25rem */
    color: var(--clr-dark);
    font-weight: 700;
}

.cw-title-group p {
    font-size: 0.85rem; /* Reduzido de 0.9rem */
    color: var(--clr-gray-500);
    margin-top: 2px;
}

.cw-month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cw-month strong {
    font-size: 1.1rem;
    color: var(--clr-dark);
}

.cw-nav {
    color: var(--clr-primary);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.cw-nav.disabled {
    color: var(--clr-gray-300);
    cursor: not-allowed;
}

.cw-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-gray-400);
    margin-bottom: 8px;
}

.cw-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    margin-bottom: 24px;
}

.cw-days span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.cw-days span.empty {
    background: transparent;
}

.cw-days span.past {
    color: var(--clr-gray-300);
    text-decoration: line-through;
}

.cw-days span.available {
    color: var(--clr-dark);
    cursor: pointer;
}

.cw-days span.available:hover {
    background: var(--clr-gray-100);
}

.cw-days span.active {
    background: var(--clr-primary);
    color: var(--clr-white);
    font-weight: 700;
}

.cw-times p {
    font-size: 0.9rem;
    color: var(--clr-gray-600);
    margin-bottom: 12px;
}

.cw-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.cw-time {
    padding: 8px 0;
    text-align: center;
    border: 1px solid var(--clr-gray-200);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-dark);
    cursor: pointer;
    transition: var(--transition);
}

.cw-time:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.cw-time.selected {
    background: rgba(37, 99, 255, 0.1);
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.cw-btn {
    box-shadow: 0 4px 12px rgba(37, 99, 255, 0.2);
}

.cta-mockup {
    margin-top: 40px;
    background: var(--clr-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background-color: var(--clr-gray-50);
    padding: 100px 0 40px;
    border-top: 1px solid var(--clr-gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer-brand .logo {
    font-size: 1.8rem;
}

.footer-brand p {
    margin-top: 24px;
    max-width: 300px;
    color: var(--clr-gray-500);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-title {
    color: var(--clr-dark);
    margin-bottom: 32px;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    margin-top: 0;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--clr-primary);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links a, .footer-contact a, .footer-contact span {
    color: var(--clr-gray-500);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--clr-primary);
}

.footer-contact i {
    width: 18px;
    height: 18px;
    color: var(--clr-primary);
}

.footer-divider {
    height: 1px;
    background-color: var(--clr-gray-200);
    margin: 80px 0 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--clr-gray-500);
}

.footer-bottom p {
    margin: 0;
}
/* Zoom scaling for intermediate viewports to prevent squeezing or overlap */
@media (max-width: 1550px) and (min-width: 1025px) {
    .hero-dashboard-wrapper {
        zoom: 0.9;
    }
}
@media (max-width: 1400px) and (min-width: 1025px) {
    .hero-dashboard-wrapper {
        zoom: 0.8;
    }
}
@media (max-width: 1250px) and (min-width: 1025px) {
    .hero-dashboard-wrapper {
        zoom: 0.7;
    }
}
@media (max-width: 1120px) and (min-width: 1025px) {
    .hero-dashboard-wrapper {
        zoom: 0.62;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-dashboard-wrapper {
        width: 100%;
        flex-direction: column;
        gap: 40px;
        padding-bottom: 40px;
        height: auto;
    }
    .hero-connections-svg {
        display: none;
    }
    .hero-badges-col {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }
    .hero-float-card {
        flex-grow: 1;
        width: auto;
        max-width: 280px;
    }
    .hero-laptop {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 600px;
    }
    .about-grid-new, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-title { font-size: 2.8rem; }
    .services-grid, .services-new-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .services-footer-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .services-footer-bar {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    /* Hide desktop-specific button */
    .nav-right .btn-primary {
        display: none;
    }

    /* Tighten right spacing and gap */
    .nav-right {
        gap: 8px;
    }

    /* Standardize and balance WhatsApp and Menu toggle icons */
    .btn-whatsapp, .menu-toggle {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: var(--clr-white) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
        color: var(--clr-dark) !important;
        cursor: pointer;
        padding: 0 !important;
        transition: var(--transition);
    }

    .btn-whatsapp {
        color: var(--clr-primary) !important;
    }

    .btn-whatsapp svg, .menu-toggle svg, .btn-whatsapp i, .menu-toggle i {
        width: 20px !important;
        height: 20px !important;
    }

    .btn-whatsapp:hover {
        color: #25d366 !important;
        transform: translateY(-2px);
    }

    .menu-toggle:hover {
        transform: translateY(-2px);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 24px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        z-index: 999;
        border-radius: 0 0 16px 16px;
        margin-top: 12px;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a:not(.mobile-cta) {
        font-size: 1.1rem;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        display: block;
    }
    .menu-toggle {
        display: flex;
    }
    
    /* Style and center the mobile CTA button inside dropdown */
    .mobile-cta-item {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--clr-gray-200);
    }

    .mobile-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: 280px;
        padding: 12px 24px !important;
        border-radius: 100px !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        background-color: var(--clr-primary) !important;
        color: var(--clr-white) !important;
        box-shadow: 0 4px 14px rgba(37, 99, 255, 0.2) !important;
        text-align: center;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-badges-col {
        display: none; /* Hide floating badges on mobile for a cleaner look */
    }
    .btn-pulse::after {
        display: none; /* Remove distorted oval animation on mobile */
    }
    .services-grid, .services-new-grid, .testimonials-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
    .service-new-card {
        padding: 24px 20px; /* Make cards more compact on mobile */
    }
    .map-visual { flex-direction: column; }
    .map-connector { width: 2px; height: 40px; }
    
    /* About section mobile overrides */
    .about-benefits {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin: 24px 0 32px;
    }
    .benefit-divider {
        display: none;
    }
    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .about-faixa-premium {
        flex-direction: column;
        text-align: center;
        padding: 32px 20px;
        gap: 16px;
    }
    .faixa-divider {
        display: none;
    }
}

/* Floating WhatsApp Widget */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--clr-white);
    border-radius: 100px;
    padding: 6px 20px 6px 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--clr-gray-200);
    text-decoration: none;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(100px) scale(0.5);
    opacity: 0;
    pointer-events: none;
}

.floating-wa.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.floating-wa:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    transform: translateY(-5px) scale(1.02);
}

.wa-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

.wa-avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #25D366;
    padding: 2px;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background-color: #25D366;
    border: 2px solid var(--clr-white);
    border-radius: 50%;
    animation: wa-dot-pulse 2s infinite;
}

.wa-info {
    display: flex;
    flex-direction: column;
}

.wa-info strong {
    font-size: 0.95rem;
    color: var(--clr-dark);
    line-height: 1.2;
}

.wa-info span {
    font-size: 0.8rem;
    color: #25D366;
    font-weight: 600;
}

@keyframes wa-dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        padding: 5px 16px 5px 5px;
    }
    .wa-avatar-wrapper {
        width: 40px;
        height: 40px;
    }
    .wa-info strong {
        font-size: 0.9rem;
    }
}
