* { font-family: 'Inter', system-ui, sans-serif; }

::selection {
    color: #FFFFFF;
    background-color: #2A3547;
}

/* Pill badge */
.pill {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
    width: fit-content;
    cursor: default;
    border-radius: 0.375rem;
    background-color: rgba(59, 142, 255, 0.2);
    padding: 0.375rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
    text-transform: uppercase;
    color: #0F1219;
}

@media (min-width: 1024px) {
    .pill {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
}

/* Base button */
.btn {
    display: inline-flex;
    height: 2.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5715;
    font-weight: 500;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: color 150ms, background-color 150ms, border-color 150ms, text-decoration-color 150ms, fill 150ms, stroke 150ms;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: #3b8eff;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: rgba(59, 142, 255, 0.9);
}

.btn-white {
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #2A3547;
}

.btn-white:hover {
    border-color: #d1d5db;
    background-color: rgba(247, 247, 247, 0.5);
}

/* Marquee (logo carousel) */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-wrapper {
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 6rem;
    transition: opacity 0.3s ease;
}

.marquee-item:hover {
    opacity: 0.7;
}

.marquee-item img {
    width: auto;
    height: 40px;
    max-width: 150px;
    object-fit: contain;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (hover: hover) {
    .marquee-track:hover {
        animation-play-state: paused;
    }
}

.marquee-spacer {
    flex-shrink: 0;
    width: 14rem;
    margin-right: 0;
}

/* Scroll animations */
.animate-on-scroll {
    will-change: transform, opacity;
}
.animate-on-scroll.js-hidden {
    opacity: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f7f7f7; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Counter animation (keep for metric cards) */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float 6s ease-in-out 2s infinite; }
.animate-float-slow { animation: float 8s ease-in-out 1s infinite; }

/* Feature icon hover */
.feature-icon {
    transition: all 0.3s ease;
}
.group:hover .feature-icon,
.card-hover:hover .feature-icon {
    transform: scale(1.1);
}

/* FAQ Accordion */
.faq-item .faq-answer {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.faq-item.active .faq-answer {
    height: auto;
    opacity: 1;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Mobile-only SVG zoom for "Depois" view */
@media (max-width: 767px) {
    #view-depois .max-w-3xl {
        overflow: visible;
    }
    #view-depois svg {
        transform: scale(1.3);
        transform-origin: center center;
    }
}
