:root {
    --primary: #5B35D5;
    --primary-dark: #4A2CB5;
    --accent: #FF8A1F;
    --text-main: #111E4F;
    --text-light: #64748b;
    --bg-page: #FAF8FF;
    --bg-card: #FFFFFF;
    --lavender: #F4F0FD;
    --pink-extra-light: #f9f6fa;
    --radius: 12px;
    --shadow: 0 10px 25px rgba(91, 53, 213, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page) !important;
    color: var(--text-main);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

span.tag {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo img {
    max-width: 280px;
    height: auto;
    object-fit: contain;
    margin-left: -70px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btns {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary:hover {
    background: #e67a1a;
    transform: translateY(-2px);
}

.btn-purple {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.2s, background 0.3s;
}

.btn-purple:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

.btn-ghost {
    color: var(--primary);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    z-index: 1100;
}

/* botao hamburguer atualizado*/
/* ==========================================================================
   BOTÃO HAMBÚRGUER (TRANSFORMAÇÃO EM "X")
   ========================================================================== */
.menu-toggle {
    display: none;
    /* Oculto no desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999;
    /* Garante que fica acima do menu aberto */
    position: relative;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary, #6C3EF4);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Animação para transformar as 3 linhas em "X" ao adicionar a classe .active */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ==========================================================================
   MENU MOBILE CENTRALIZADO (ESTILO E REVELAÇÃO)
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 75px;
    right: 20px;
    width: 260px;
    height: auto;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eae5f7;
    z-index: 9998;
    padding: 20px;

    /* Estado inicial: Escondido */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Quando o menu é ativado */
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Alinhamento dos itens internos */
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.mobile-menu-logo {
    display: none;
    /* Ocultei o logo porque ele já aparece no header, deixando espaço apenas para os botões */
}

/* Links de navegação verticais */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav-links a:hover {
    color: #6C3EF4;
}

/* Botões de Ação na parte inferior */
.mobile-menu .nav-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
}

.mobile-menu .btn-ghost,
.mobile-menu .btn-primary {
    width: 100%;
    padding: 12px;
    text-align: center;
}

/* Hero */
.hero {
    padding: 120px 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 40px;
    min-height: 100vh;
}

.hero-highlight {
    color: var(--primary);
    display: inline;
    align-items: center;
    gap: 6px;
}

.sparkle-icon {
    width: 42px;
    height: auto;
    color: #6C3EF4;
    /* currentColor herda isso */
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    top: -12px;
    /* ajuste fino de alinhamento vertical */
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 80px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 2.7rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 25px;
    white-space: nowrap;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-content {
    max-width: 520px;
}

.btn-primary-lg {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(91, 53, 213, 0.3);
    transition: all 0.3s;
}

.btn-primary-lg:hover {
    transform: scale(1.05);
    background: var(--primary-dark);
}

.hero-features {
    margin-top: 40px;
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-light);
    white-space: nowrap;
}

.hero-features span svg {
    color: var(--primary);
    /* ícones no roxo */
    flex-shrink: 0;

}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 65%;
    height: 80%;
    max-width: 480px;
    background-color: #fceeffe5;
    border-radius: 50%;
    z-index: -2;
    top: 55%;
    left: 68%;
    transform: translate(-50%, -50%);
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 55%;
    aspect-ratio: 1 / 1;
    max-width: 300px;
    background-color: #f2e8f5e5;
    border-radius: 50%;
    z-index: -1;
    top: 40%;
    left: 35%;
    transform: translate(-50%, -50%);
}

.hero-image img {
    width: 110%;
    transform: translateX(50px);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.301));
}

/* Features Grid */
.features {
    padding: 70px 20px;
}

.features-container {
    background: var(--lavender);
    padding: 80px 0;
    position: relative;
    /* necessário para o canvas ficar dentro */
    overflow: hidden;
}



.features-container .container {
    position: relative;
    z-index: 1;
    /* cards ficam acima das partículas */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 1rem;
    color: var(--text-light);
}

.nowrap-desktop {
    white-space: nowrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.feature-card-header {
    display: contents;
}

.feature-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    /* remove margin padrão do h3 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    margin-bottom: 0;
    /* remove o margin antigo */
    line-height: 0;
    /* remove espaço fantasma abaixo do SVG */
    line-height: 0;
    flex-shrink: 0;
}

.icon-box svg {
    width: 56px;
    height: 56px;
}

.center-btn {
    text-align: center;
    margin-top: 50px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    background: linear-gradient(to bottom, white 50%, var(--primary) 50%);
    background-size: 100% 200%;
    background-position: 0 100%;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background-position: 0 0;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(100, 61, 228, 0.342);
}

/* Implementation Wrapper para fundo total */
.implementation-wrapper {
    background-color: white;
    width: 100%;
    padding: 70px 0;
}

.implementation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    font-size: 1.2rem;
}

.impl-image {
    width: 600px;
    /* Círculo maior, igual à imagem conceito */
    height: 490px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.impl-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 550px;
    height: 540px;
    background-color: #fceeffe5;
    border-radius: 50%;
    z-index: -1;
}

.impl-image img {
    width: 990px;
    /* A imagem da atendente é consideravelmente maior que o círculo */
    max-width: none !important;
    /* ISSO É O QUE FALTAVA: Força a imagem a ignorar bloqueios globais de tamanho */
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: 1px;
    /* Puxa um pouco para baixo para disfarçar qualquer linha */
    left: 50%;
    transform: translateX(calc(-50% - 29px));
    z-index: 1;
    /* Máscara que corta apenas a base no formato do círculo (raio 280px) */
    -webkit-mask-image:
        linear-gradient(black, black),
        radial-gradient(circle at center, black 280px, transparent 280.5px);
    mask-image:
        linear-gradient(black, black),
        radial-gradient(circle at center, black 280px, transparent 280.5px);
    -webkit-mask-size: 100% calc(100% - 280px), 560px 560px;
    mask-size: 100% calc(100% - 280px), 560px 560px;
    -webkit-mask-position: top center, bottom center;
    mask-position: top center, bottom center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}



.impl-items {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.impl-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
    position: relative;
}

.impl-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(108, 62, 244, 0.15);
}

.impl-icon {
    width: 56px;
    height: 56px;
    background: #EDE9FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impl-icon svg {
    width: 32px;
    height: 32px;
    stroke: #6C3EF4;
}

.impl-icon .rocket-icon {
    transform: scale(1.6);
    justify-items: center;
    /* Escala de 40% a mais no foguete para compensar o viewBox */
}

.impl-item h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-main);
    white-space: nowrap;
}

.impl-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.impl-content {
    max-width: 600px;
    text-align: left;
}

.impl-content h2 {
    text-align: left;
    max-width: 450px;
}

.impl-content h2 span {
    color: var(--primary);
}

.impl-content p {
    max-width: 550px;
    margin-bottom: 0;
    font-size: 0.90rem;
    line-height: 1.6;
}

/* Testimonials Wrapper para fundo total */
.testimonials-wrapper {
    background-color: var(--lavender);
    width: 100%;
    padding: 70px 0 80px;
}

.testimonials {
    /* Padding horizontal vem do .container */
}

.testimonials .section-header {
    max-width: 100%;
}

.testimonials .section-header h2 {
    white-space: nowrap;
}

.testimonials-carousel-wrapper {
    position: relative;
    padding: 0 45px;
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 20px;
    /* shadow clipping fix */
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

.testi-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.testi-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.plan-price-box {
    margin: 20px 0 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 105px;
    text-align: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 54px;
    height: 54px;
    background: #eee;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.35);
    transform-origin: center;
}

.carousel-arrow {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    width: 44px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-arrow:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: #ccc;
    box-shadow: none;
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
}

/* CTA */


.cta-section {
    padding: 80px 0;
    background-color: var(--pink-extra-light);
}

.cta-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
}

.cta-text h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px
}

.cta-text h2 span {
    color: var(--primary);
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.cta-action span {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

/* Footer */
footer {
    background: white;
    padding: 20px 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 0;
    background-color: white;
    padding: 50px 0 30px;
    border-radius: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand img {
    max-width: 250px;
    height: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-top: -70px;
    margin-left: -57px;
    margin-bottom: -55px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.social-links a {
    color: var(--primary);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background-color: #e2ddf3;
    width: 35px;
    height: 35px;
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;

}

.footer-contact {
    border-left: 1px solid #eaeaea;
    padding-left: 30px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid #eaeaea;
    margin-top: 0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    nav {
        justify-content: center;
        position: relative;
    }

    .logo img {
        max-width: 250px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-image img {
        transform: none;
        width: 100%;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
    }

    .hero-image::before {
        top: 50%;
        left: 55%;
        width: 80vw;
        max-width: 400px;
    }

    .hero-image::after {
        top: 40%;
        left: 40%;
        width: 50vw;
        max-width: 250px;
    }

    .hero p {
        margin: 0 auto 35px;
    }

    .hero-features {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .implementation-wrapper,
    .testimonials-wrapper {
        padding: 80px 0;
    }

    .testi-card {
        flex: 0 0 calc(50% - 15px);
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .testimonials .section-header h2 {
        white-space: normal;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nowrap-desktop {
        white-space: normal;
    }

    header {
        position: fixed;
    }

    nav {
        justify-content: center;
        position: relative;
    }

    .logo img {
        max-width: 250px;
        margin-left: 0;
    }

    nav .nav-links,
    nav .nav-btns {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }

    .side-drawer .nav-links,
    .side-drawer .nav-btns {
        display: flex;
    }

    .hero {
        padding: 100px 20px 40px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(1.4rem, 7vw, 2.1rem);
        white-space: normal;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .sparkle-icon {
        width: 32px;
        top: -8px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card h3 {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .testimonials-carousel-wrapper {
        padding: 0 35px;
    }

    .testi-card {
        flex: 0 0 100%;
    }

    .implementation-wrapper,
    .testimonials-wrapper {
        padding: 50px 0;
    }

    .implementation {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .impl-image {
        width: 320px;
        height: 320px;
        justify-self: center;
        /* Centraliza a div no grid */
    }

    .impl-image::before {
        width: 305px;
        height: 320px;
    }

    .impl-image img {
        width: 650px;
        bottom: 1px;
        transform: translateX(calc(-50% - 17px));
        -webkit-mask-image:
            linear-gradient(black, black),
            radial-gradient(circle at center, black 160px, transparent 160.5px);
        mask-image:
            linear-gradient(black, black),
            radial-gradient(circle at center, black 160px, transparent 160.5px);
        -webkit-mask-size: 100% calc(100% - 160px), 320px 320px;
        mask-size: 100% calc(100% - 160px), 320px 320px;
    }

    .impl-items {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .impl-item:not(:last-child)::after {
        display: none;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-box {
        gap: 30px;
        padding: 0;
    }

    .cta-action {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 40px 0px;
        gap: 30px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-brand img {
        align-self: center;
        margin: 0;
        margin-top: -30px;
        margin-bottom: -10px;
    }
}

/* Whiteboard / Product Screens */
.whiteboard-wrapper {
    background-color: white;
    width: 100%;
    padding: 70px 0;
}

.whiteboard {
    max-width: 1180px;
    margin: 0 auto;
}

.wb-tabs-wrapper {
    margin: 0 auto 28px;
    width: fit-content;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid #eae5f7;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.wb-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 10px 14px;
    overflow-x: auto;
    /* Adiciona opacidade suave nas bordas direita e esquerda de forma dinâmica */
    --mask-start: transparent;
    --mask-start-stop: black 50px;
    --mask-end-stop: black calc(100% - 50px);
    --mask-end: transparent;
    -webkit-mask-image: linear-gradient(to right, var(--mask-start), var(--mask-start-stop), var(--mask-end-stop), var(--mask-end));
    mask-image: linear-gradient(to right, var(--mask-start), var(--mask-start-stop), var(--mask-end-stop), var(--mask-end));
}

.wb-tabs::-webkit-scrollbar {
    height: 6px;
}

.wb-tabs::-webkit-scrollbar-track {
    background-color: transparent;
}

.wb-tabs::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

.wb-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 18px 10px;
    border-radius: 10px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #b9b4c9;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: color 0.2s ease, background 0.2s ease;
}

.wb-tab svg {
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.wb-tab:hover {
    color: var(--text-main);
    background: var(--lavender);
}

.wb-tab.active {
    color: var(--primary);
    background: transparent;
}

.wb-tab.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--primary);
}

.wb-screen-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}


.wb-url {
    margin-left: 12px;
    background: white;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 0.78rem;
    color: var(--text-light);
    flex-grow: 1;
    max-width: 260px;
}

.wb-screens {
    position: relative;
    width: 100%;
    background: transparent;
}

.wb-screen-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.wb-screen-img.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .wb-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 10px;
    }

    .wb-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .wb-tabs::-webkit-scrollbar-thumb {
        background-color: #e5e7eb;
        border-radius: 10px;
    }

    .wb-tab {
        padding: 10px 14px 8px;
        font-size: 0.72rem;
    }
}

.wb-url {
    display: none;
}

/* ==========================================================================
   LIGHTBOX (FULL-SCREEN IMAGES)
   ========================================================================== */
.lightbox {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 27, 27, 0.384);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.lightbox.show {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease, max-width 0.3s ease, max-height 0.3s ease;
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    z-index: 100000;
}

.lightbox-close:hover {
    color: #a78bfa;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-prev svg,
.lightbox-next svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    color: #a78bfa;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-2px) scale(1.05);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(2px) scale(1.05);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

.wb-screen-img {
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }

    .lightbox-prev:hover {
        transform: translateY(-50%) translateX(-1px) scale(1.02);
    }

    .lightbox-next:hover {
        transform: translateY(-50%) translateX(1px) scale(1.02);
    }
}

/* Arrow Hover Animation for Buttons */
.btn-primary,
.btn-primary-lg,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.btn-primary::after,
.btn-primary-lg::after,
.btn-secondary::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: 18px 18px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
    mask-size: 18px 18px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
}

.btn-primary:hover::after,
.btn-primary-lg:hover::after,
.btn-secondary:hover::after {
    opacity: 1;
    width: 18px;
    transform: translateX(0);
    margin-left: 8px;
}