:root {
    --primary-color: #6f42c1;
    --secondary-color: #25293C;
    --white-color: #fff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, #6f42c1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #25293C 0%, #374151 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
.navbar {
    background: var(--white-color) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--medium-gray) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--medium-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
        background: rgba(255,255,255,0.1);
        transform: translateY(-2px);
    }

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

    .btn-primary-custom:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        color: var(--white-color);
    }

.btn-contratar {
    background: var(--gradient-secondary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

    .btn-contratar:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        color: var(--white-color);
    }

/* Hero Section */
.hero {
    background: #7144C5;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('../img/topo.jpg');
    background-repeat: no-repeat;
    background-position: top right;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}

.hero-illustration {
    position: relative;
    z-index: 2;
}

.floating-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards */
.feature-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white-color);
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Adquirentes Section */
.adquirentes-section {
    background: var(--gradient-secondary);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.adquirentes-content {
    position: relative;
    z-index: 2;
}

.adquirentes-section h2 {
    color: var(--white-color);
}

.adquirentes-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* API Section */
.api-section {
    background: var(--gradient-primary);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.api-content {
    position: relative;
    z-index: 2;
}

.api-section h2 {
    color: var(--white-color);
}

.api-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.integration-list {
    list-style: none;
    padding: 0;
}

    .integration-list li {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.9);
        position: relative;
        padding-left: 2rem;
    }

.btn-secondary-custom {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .btn-secondary-custom:hover {
        background: rgba(255,255,255,0.2);
        border-color: rgba(255,255,255,0.5);
        transform: translateY(-2px);
        color: var(--white-color);
    }

/* Pricing Cards */
.pricing-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

    .pricing-card.popular {
        border: 2px solid var(--primary-color);
        transform: scale(1.05);
        box-shadow: var(--shadow-lg);
    }

        .pricing-card.popular::before {
            content: 'Mais Popular';
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--gradient-primary);
            color: var(--white-color);
            padding: 0.5rem 2rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
        }

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card.popular:hover {
        transform: scale(1.05) translateY(-5px);
    }

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-period {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

    .pricing-features li {
        padding: 0.5rem 0;
        color: var(--medium-gray);
        position: relative;
        padding-left: 1.5rem;
    }

        .pricing-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #10b981;
            font-size: 0.9rem;
        }

/* Contact Section */
.contact-section {
    background: var(--gradient-secondary);
    color: var(--white-color);
}

    .contact-section h2 {
        color: var(--white-color);
    }

    .contact-section .section-subtitle {
        color: rgba(255,255,255,0.8);
    }

/* Footer */
.footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.8);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-card.popular {
        transform: none;
        margin-top: 2rem;
    }

        .pricing-card.popular:hover {
            transform: translateY(-5px);
        }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* Imagens Section */
.imagens-section {
    position: relative;
    overflow: hidden;
}

.carousel-control-prev-icon,
.carousel-control-next-icon, .yBoxPrev, .yBoxNext {
    filter: invert(1); /* inverte a cor branca para preta */
}

.carousel-limitado {
    max-width: 900px; /* limite de largura */
    max-height: 550px; /* limite de altura */
    margin: 0 auto; /* centraliza o carousel */
    background: #000; /* opcional: fundo para quando a imagem não preencher tudo */
    border: 1px solid #eee;
}

    .carousel-limitado img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* mantém proporção e mostra toda a imagem */
    }

@media (max-width:1400px) {
    .hero {
        min-height: 90vh;
    }
}

@media (max-width:1000px) {
    .hero {
        min-height: 100vh;
        background-position: top left;
    }
}
