/* --- Global Styles & Fonts --- */
body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.btn-primary {
    background-color: #007BFF;
    border-color: #007BFF;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-outline-light {
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* --- Header --- */
#header {
    transition: top 0.4s ease-out;
    z-index: 997;
    padding: 10px 0;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #007BFF !important;
}

/* --- Hero Section --- */
#hero {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 86, 179, 0.95)), url('https://images.unsplash.com/photo-1551434678-e076c223a692?q=80&w=2070&auto=format&fit=crop') center center no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 80px;
}

/* --- Features Section --- */
.feature-icon {
    font-size: 2rem;
    color: #007BFF;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background-color: #e6f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#features .card:hover .feature-icon {
    background-color: #007BFF;
    color: #fff;
}

#features .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#features .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* --- Plans Section --- */
#planos .plan-card {
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#planos .plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

#planos .plan-card .btn-primary {
    background-color: #007BFF;
}

#planos .plan-card:nth-child(2) .btn-primary {
    box-shadow: 0px 5px 15px rgba(0, 123, 255, 0.4);
}

.plan-popular {
    border: 2px solid #007BFF;
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: -45px;
    background-color: #007BFF;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-feature-list li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
}

.plan-feature-list i {
    width: 20px;
}


/* --- Portfolio Section --- */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 86, 179, 0.85), rgba(0, 123, 255, 0.7));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    font-weight: 700;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-title {
    transform: translateY(0);
}

.portfolio-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
    opacity: 0;
}

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

.portfolio-slider .swiper-slide {
    padding-bottom: 50px; /* Space for pagination */
    display: flex;
}

.portfolio-slider .swiper-slide .card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.portfolio-slider .swiper-slide .card .card-body {
    flex-grow: 1;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    opacity: 1;
}

/* --- Swiper General Styles --- */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    opacity: 1;
    transition: background-color 0.3s, width 0.3s;
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 6px;
    background-color: #007BFF;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007BFF;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #007BFF;
    color: #fff;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- Testimonials Section --- */
.testimonial-card {
    background-color: #fff;
    border-radius: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 3rem;
    color: #007BFF;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid #e6f2ff;
}

.author-name {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-title {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
}

.testimonials-slider .swiper-slide {
    padding: 10px 0 50px 0; /* Space for pagination and hover effect */
    height: stretch; /* Make slides equal height */
    display: flex;
}

.testimonials-pagination {
    bottom: 10px !important;
}

/* --- Development Timeline Section --- */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background: #e6f2ff;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 60px;
}

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

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: #007BFF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 4px solid #e6f2ff;
    z-index: 1;
}

.timeline-content p {
    margin-bottom: 0;
}

/* --- FAQ Section --- */
#faq .accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#faq .accordion-button {
    font-weight: 600;
    color: #444;
    background-color: #fff;
}

#faq .accordion-button:not(.collapsed) {
    color: #007BFF;
    background-color: #e6f2ff;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

#faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

#faq .accordion-body {
    background-color: #f8f9fa;
}

/* --- CTA Section --- */
#cta {
    background: linear-gradient(135deg, #007BFF, #0056b3);
}

.social-links-cta a {
    width: 150px;
}

/* --- Footer --- */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}
footer .social-icon i {
    transition: color 0.3s ease;
}
footer .social-icon:hover i {
    color: #007BFF;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

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

/* -- Scroll Reveal Animation --- */
.reveal-up, .reveal-down, .reveal-left, .reveal-right {
    visibility: hidden;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    #hero {
        text-align: center;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}
