﻿:root {
    --primary: #2573b1;
    --primary-dark: #1c395b;
    --secondary: #5eb5e2;
    --dark: #2A2D43;
    --light: #F8F9FF;
    --gray: #8C8EA4;
    --success: #36D7B7;
    --shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FADE IN PROGRESSIVO */
body {
    animation: bodyFadeIn 0.5s ease forwards;
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animações em sequência */
.hero {
    animation-delay: 0.1s;
}

.portfolio {
    animation-delay: 0.3s;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
    color: var(--dark);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.05rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #ff4d6d;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    color: var(--primary);
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(248, 249, 255, 0.95);
    /*backdrop-filter: blur(10px);*/
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/*        header.scrolled {
            padding: 15px 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }*/

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
    position: relative;
    padding: 4px;
}

.hero-image img {
    max-width: 100%;
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    /* Mude para 1 */
    transform: translateY(0);
    /* Adicione esta linha */
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #6c63ff;
    margin-bottom: 20px;
}

/* Se não usar Animate.css, adicione: */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}


/* Portfolio Section */
.portfolio {
    background-color: #f8f9ff;
}

/*.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .filter-btn.active, .filter-btn:hover {
        background-color: var(--primary);
        color: white;
    }*/

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(42, 45, 67, 0.9), transparent);
    padding: 30px;
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}


/* Testimonials Section - Carrossel Moderno */
.testimonials {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
    /* Espaço para os controles */
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding: 40px 20px;
    position: relative;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Efeito de gradient nas bordas */
.testimonial-slider::before,
.testimonial-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonial-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.testimonial-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Mantenha esta linha */
    opacity: 0.7;
    transform: scale(0.95);
    position: relative;
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
    z-index: 1;
}

/* Efeito de "card destacado" */
.testimonial-slide.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    z-index: -1;
}

@keyframes pulseBorder {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid rgba(108, 99, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-slide.active .testimonial-avatar {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.6;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-slide.active .testimonial-author {
    color: var(--primary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
    position: relative;
    z-index: 3;
}

.slider-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.slider-btn:active {
    transform: translateY(-1px);
}

/* Indicadores de slide */
.slide-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* Responsivo */
@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 15px);
        /* 2 slides visíveis */
        min-width: 280px;
    }

    .testimonial-slider::before,
    .testimonial-slider::after {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .testimonial-slider-container {
        padding: 0 20px;
    }

    .testimonial-slide {
        flex: 0 0 85%;
        /* 1 slide visível */
        min-width: 280px;
    }

    .testimonial-slider::before,
    .testimonial-slider::after {
        width: 50px;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 120px 0;
}

.cta h2,
.cta p {
    color: white;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta .btn {
    background-color: white;
    color: var(--primary);
}

.cta .btn:hover {
    background-color: var(--light);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 60px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0 0 30px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 140px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 80px 0;
    }
}


/* SEO ------------------------------------------------------------------------------------------------------ */
.seo-hero {
    background: linear-gradient(135deg, #36D7B7 0%, #2573b1 100%);
    color: white;
    padding-top: 180px;
    position: relative;
    overflow: hidden;
}

.seo-hero h1,
.seo-hero p {
    color: white;
}

.seo-hero .section-title span {
    color: rgba(255, 255, 255, 0.9);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 10px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    z-index: 2;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.techniques-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 50px;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
}

.technique-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    width: 300px;
    height: 400px;
}

.technique-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.technique-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.metrics-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.metric-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.metric-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.seo-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #1c395b 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 80px;
}

.seo-cta h2,
.seo-cta p {
    color: white;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--success));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .process-steps::before {
        left: 25px;
    }

    .step {
        padding-left: 70px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    section {
        padding: 60px 0;
    }
}

/* Tecnologia section ----------------------------------------------------------------------------------------------------------------- */
.technologies {
    background-color: #f8f9ff;
    padding-top: 100px;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
}

.tech-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;

    width: 320px;
    max-width: 100%;
}
.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}
.tech-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* .tech-icon i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-text-fill-color: transparent;
} */
.tech-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tech-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
}

.tech-card p strong {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .technologies {
        padding: 60px 0;
    }

    .tech-card {
        width: 100%;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
.technologies .container {
    max-width: none;
}