@import "./globals.css";

/* Navbar */
.navbar {
    width: 100%;
    height: 80px;
    background-color: #fff;
    position: sticky;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 100;
}

.navbar.is-stuck {
    border-bottom: 1px solid #ccc;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .navbar-logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.navbar .menu {
    display: flex;
    gap: 30px;
}

.navbar .menu li a {
    color: #0f172a;
    font-size: 16px;
    font-weight: 500;
}

.navbar .menu-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar .menu-buttons .menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #0f172a;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
}

.navbar .menu-buttons .menu-btn:nth-child(1) {
    background-color: transparent;
    border: 2px solid #346e9e;
    color: #346e9e;
    font-weight: 600;
}

.navbar .menu-buttons .menu-btn:last-child {
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    color: #fff;
}

@media screen and (max-width: 950px) {
    .navbar .menu {
        display: none;
    }

    .navbar .menu-buttons {
        display: none;
    }
}

.navbar .navbar-btn {
    display: none;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #346e9e;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

@media screen and (max-width: 950px) {
    .navbar .navbar-btn {
        display: flex;
    }
}



/* Header */

.header {
    padding: 0 0 4rem 0;
    overflow: hidden;
}

@media screen and (max-width: 950px) {
    .header {
        padding: 2rem 0 4rem 0;
    }
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.header .container .header-content {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media screen and (max-width: 750px) {
    .header .container .header-content {
        text-align: center;
        align-items: center;
    }
}

.header .container .header-content .header-subtitle {
    width: 100%;
    max-width: max-content;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #0f172a;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    background-image: linear-gradient(to right in oklab, rgba(94, 192, 58, 0.1), rgba(38, 95, 170, 0.1));
    border-radius: 5px;
}

.header .container .header-content h1 {
    color: #0f172a;
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 700;
}

.header .container .header-content h1 span {
    color: #58b94d;
}

.header .container .header-content p {
    color: #a1a1a1;
    font-size: 1.25rem;
    font-weight: 400;
}


.header .container .header-content .header-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media screen and (max-width: 450px) {
    .header .container .header-content .header-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .header .container .header-content .header-buttons .header-btn {
        width: 100%;
    }
}

.header .container .header-content .header-buttons .header-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #0f172a;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.header .container .header-content .header-buttons .header-btn:nth-child(1) {
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    color: #fff;
}

.header .container .header-content .header-buttons .header-btn:last-child {
    background-color: transparent;
    border: 2px solid #346e9e;
    color: #346e9e;
    font-weight: 600;
}

.header .container .header-image {
    max-width: 600px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .container .header-image img {
    width: 100%;
    height: 100%;
}

.header .container .header-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    z-index: -1;
    border-radius: 20px;
}

@media screen and (max-width: 950px) {
    .header .container .header-image {
        position: absolute;
        max-width: 400px;
        right: -120px;
    }
}

@media screen and (max-width: 800px) {
    .header .container .header-image {
        right: -150px;
    }
}

@media screen and (max-width: 750px) {
    .header .container {
        flex-direction: column;
        gap: 2rem;
    }

    .header .container .header-image {
        position: relative;
        right: unset;
        bottom: unset;
    }
}


/* Characteristics */

.characteristics {
    width: 100%;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.characteristics .characteristics-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.characteristics .characteristics-list .characteristics-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.characteristics .characteristics-list .characteristics-item .characteristics-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
        background-image: linear-gradient(to bottom right in oklab,
            rgba(94, 192, 58, 0.1),
            rgb(38, 96, 170, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2660aa;
}

.characteristics .characteristics-list .characteristics-item .characteristics-item-title {
    color: #0f172acc;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width: 750px) {
    .characteristics .characteristics-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Benefits */

.benefits {
    width: 100%;
    padding: 3rem 0;
    background-color: #f8fafc;
}

.benefits .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.benefits .section-title h1 {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 700;
}

.benefits .section-title p {
    font-size: 1rem;
    color: #0f172aab;
    font-weight: 400;
}

.benefits .benefits-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

@media screen and (max-width: 950px) {
    .benefits .benefits-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 750px) {
    .benefits .benefits-list {
        grid-template-columns: 1fr;
    }
}

.benefits .benefits-list .benefits-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    background-color: #fff;
    padding: 2rem;
    gap: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
}


.benefits .benefits-list .benefits-item .benefits-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
        background-image: linear-gradient(to bottom right in oklab,
            rgba(94, 192, 58, 0.1),
            rgb(38, 96, 170, 0.1));
    color: #2660aa;
}

.benefits .benefits-list .benefits-item .benefits-item-title {
    font-size: 16px;
    color: #0f172a;
    font-weight: 500;
}

.benefits .benefits-list .benefits-item .benefits-item-description {
    font-size: 14px;
    color: #0f172ab3;
    font-weight: 400;
}


/* How it works */

.how-it-works {
    width: 100%;
    padding: 3rem 0;
}

.how-it-works .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.how-it-works .section-title h1 {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 700;
}

.how-it-works .section-title p {
    font-size: 1rem;
    color: #0f172aab;
    font-weight: 400;
}

.how-it-works .how-it-works-list {
    display: flex;
    margin-top: 4rem;
    justify-content: center;
    counter-reset: item;
    gap: 1rem;
}

.how-it-works .how-it-works-list .how-it-works-item {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    gap: 1rem;
    border-radius: 20px;
    text-align: center;
    counter-increment: item;
    position: relative;
}

.how-it-works .how-it-works-list .how-it-works-item:nth-child(1)::after,
.how-it-works .how-it-works-list .how-it-works-item:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 150px;
    width: 80%;
    height: 1px;
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.25;
}



.how-it-works .how-it-works-list .how-it-works-item .how-it-works-item-icon {
    width: 96px;
    height: 96px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    color: #fff;
    position: relative;
    z-index: 2;
}

.how-it-works .how-it-works-list .how-it-works-item .how-it-works-item-icon::before {
    content: counter(item);
    position: absolute;
    font-size: 1rem;
    bottom: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #eeeff0;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2660aa;
    font-weight: 600;
}

.how-it-works .how-it-works-list .how-it-works-item .how-it-works-item-title {
    font-size: 16px;
    color: #0f172a;
    font-weight: 500;
}

.how-it-works .how-it-works-list .how-it-works-item .how-it-works-item-description {
    font-size: 14px;
    color: #0f172ab3;
    font-weight: 400;
}

@media screen and (max-width: 750px) {
    .how-it-works .how-it-works-list {
        flex-direction: column;
        gap: 2rem;
    }

    .how-it-works .how-it-works-list .how-it-works-item:nth-child(1)::after,
    .how-it-works .how-it-works-list .how-it-works-item:nth-child(2)::after {
        display: none;
    }

    .how-it-works .how-it-works-list .how-it-works-item {
        max-width: 100%;
    }
}


/* Services */

.services {
    width: 100%;
    padding: 3rem 0;
}

.services .services-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

@media screen and (max-width: 950px) {
    .services .services-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 750px) {
    .services .services-list {
        grid-template-columns: 1fr;
    }
}

.services .services-list .services-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 20px;
    gap: 2rem;
}

.services .services-list .services-item .item-content {
    display: flex;
    gap: 1rem;
}

.services .services-list .services-item .item-content .services-item-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background-image: linear-gradient(to bottom right in oklab,
            rgba(94, 192, 58, 0.1),
            rgb(38, 96, 170, 0.1));
    color: #2660aa;
}

.services .services-list .services-item .item-content .services-item-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.services .services-list .services-item .item-content .services-item-text .services-item-title {
    font-size: 16px;
    color: #0f172a;
    font-weight: 500;
}

.services .services-list .services-item .item-content .services-item-text .services-item-description {
    font-size: 14px;
    color: #0f172ab3;
    font-weight: 400;
}

.services .services-list .services-item .item-content .services-item-text .services-item-price {
    font-size: 14px;
    color: #5ec03a;
    font-weight: 500;
    margin-top: 5px;
}

.services .services-list .services-item .services-item-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
}

/* Comparison */

.comparison {
    width: 100%;
    padding: 3rem 0;
    background-image: linear-gradient(to bottom in oklab, #fff, #f8fafc);
}

.comparison .comparison-table {
    max-width: 1000px;
    width: 100%;
    border-collapse: collapse;
    margin-top: 4rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 4rem;
}

.comparison-table-head-row {
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.comparison-table-head-cell,
.comparison-table-head-cell-brand,
.comparison-table-head-cell-others {
    padding: 1rem;
    font-weight: 600;
}

.comparison-table-head-cell {
    text-align: left;
}

.comparison-table-head-cell-brand,
.comparison-table-head-cell-others {
    text-align: center;
}

.comparison-table-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    color: #fff;
    font-weight: 600;
}

.comparison-table-head-cell-others {
    color: #0f172a99;
}

.comparison-table-body-row {
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table-body-row:nth-child(odd) {
    background-color: #f8fafc;
}

.comparison-table-body-row:nth-child(even) {
    background-color: #fff;
}

.comparison-table-body-cell {
    padding: 1rem;
    color: #0f172a;
}

.comparison-table-body-cell:first-child {
    font-weight: 500;
}

.comparison-table-body-cell:nth-child(2),
.comparison-table-body-cell:nth-child(3) {
    text-align: center;
}

/* Adicionar ícones check verde */
.comparison-table-body-row td:nth-child(2)::before {
    content: "✓";
    color: #5ec03a;
    font-size: 20px;
    margin-right: 0.5rem;
}

/* Adicionar ícones X vermelho */
.comparison-table-body-row td:nth-child(3)::before {
    content: "✗";
    color: #ef4444;
    font-size: 20px;
    margin-right: 0.5rem;
}

/* Texto de "Outros serviços" mais claro */
.comparison-table-body-cell:nth-child(3) {
    color: #0f172a99;
}

@media screen and (max-width: 750px) {
    .comparison-table {
        font-size: 14px;
    }

    .comparison-table-head-cell,
    .comparison-table-body-cell {
        padding: 0.75rem 0.5rem;
    }

    .comparison-table-badge {
        padding: 0.375rem 0.75rem;
        font-size: 14px;
    }
}


/* Testimonials */

.testimonials {
    width: 100%;
    padding: 3rem 0;
    background-color: #f8fafc;
}

.testimonials-list {
    margin-top: 4rem;
    padding-bottom: 50px;
}

.testimonials-item {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    height: auto !important;
}

.testimonials-item .testimonials-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.testimonials-item .testimonials-rating img {
    width: 20px;
    height: 20px;
}

.testimonials-item .testimonials-content p {
    font-size: 14px;
    color: #0f172acc;
    font-weight: 400;
    line-height: 1.5;
}

.testimonials-item .testimonials-author {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.testimonials-item .testimonials-author .testimonials-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.testimonials-item .testimonials-author .testimonials-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonials-item .testimonials-author .testimonials-author-name {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonials-item .testimonials-author .testimonials-author-name h3 {
    font-size: 14px;
    color: #0f172a;
    font-weight: 500;
}

.testimonials-item .testimonials-author .testimonials-author-name p {
    font-size: 12px;
    color: #0f172a99;
    font-weight: 400;
}

/* Swiper Customization */
.testimonials-list .swiper-button-next,
.testimonials-list .swiper-button-prev {
    color: #2660aa;
}

.testimonials-list .swiper-pagination-bullet-active {
    background-color: #2660aa;
}

@media screen and (max-width: 750px) {
    .testimonials-list {
        padding-bottom: 60px;
    }
}


/* FAQ */

.faq {
    width: 100%;
    padding: 3rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
}

.faq-item-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.2s ease;
}

.faq-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    flex: 1;
}

.faq-item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2660aa;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-item.active .faq-item-icon {
    transform: rotate(180deg);
}

.faq-item-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-item-content {
    grid-template-rows: 1fr;
}

.faq-item-content > div {
    overflow: hidden;
}

.faq-item-description {
    padding: 0 2rem 1.5rem;
    font-size: 14px;
    color: #0f172acc;
    line-height: 1.6;
}

@media screen and (max-width: 750px) {
    .faq-item-header {
        padding: 1.25rem 1.5rem;
    }

    .faq-item-title {
        font-size: 14px;
    }

    .faq-item-description {
        padding: 0 1.5rem 1.25rem;
        font-size: 13px;
    }
}


/* Contact */

.contact {
    width: 100%;
    padding: 3rem 0;
    background-color: #f8fafc;
}

.contact .contact-list {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin: 0 auto;
    margin-top: 4rem;
}

@media screen and (max-width: 950px) {
    .contact .contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 750px) {
    .contact .contact-list {
        grid-template-columns: 1fr;
    }
}

.contact .contact-list .contact-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    text-align: center;
}

@media screen and (max-width: 950px) {
    .contact .contact-list .contact-item {
        padding: 2.5rem 1.5rem;
    }
}

.contact .contact-list .contact-item .contact-item-icon {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-image: linear-gradient(to bottom right in oklab,
            rgba(94, 192, 58, 0.1),
            rgb(38, 96, 170, 0.1));
    font-size: 1.2rem;
    color: #2660aa;
}

.contact .contact-list .contact-item .contact-item-title {
    font-size: 16px;
    color: #0f172a;
    font-weight: 500;
}

.contact .contact-list .contact-item .contact-item-description {
    font-size: 14px;
    color: #0f172aab;
    font-weight: 400;
}

.contact .contact-list .contact-item .contact-item-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    background-image: linear-gradient(to right in oklab, #5ec03a, #2660aa);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}